From 41ebb7919ecc80464312b0d2400e6b8b7d8c7569 Mon Sep 17 00:00:00 2001 From: Andrea Giacobino Date: Tue, 6 Aug 2024 11:56:43 +0300 Subject: [PATCH] tyepscript API v0.3100.0 (#2896) --- typescript-api/package-lock.json | 4 +- typescript-api/package.json | 2 +- .../moonbase/interfaces/augment-api-consts.ts | 37 +- .../moonbase/interfaces/augment-api-errors.ts | 12 +- .../moonbase/interfaces/augment-api-events.ts | 21 + .../moonbase/interfaces/augment-api-query.ts | 43 +- .../moonbase/interfaces/augment-api-rpc.ts | 4 +- .../interfaces/augment-api-runtime.ts | 5 +- .../src/moonbase/interfaces/augment-api-tx.ts | 2776 +++++++++++++++-- .../src/moonbase/interfaces/lookup.ts | 840 ++--- .../src/moonbase/interfaces/registry.ts | 36 +- .../src/moonbase/interfaces/types-lookup.ts | 858 ++--- .../moonbeam/interfaces/augment-api-consts.ts | 37 +- .../moonbeam/interfaces/augment-api-errors.ts | 12 +- .../moonbeam/interfaces/augment-api-events.ts | 21 + .../moonbeam/interfaces/augment-api-query.ts | 43 +- .../interfaces/augment-api-runtime.ts | 5 +- .../src/moonbeam/interfaces/augment-api-tx.ts | 2710 ++++++++++++++-- .../src/moonbeam/interfaces/lookup.ts | 848 ++--- .../src/moonbeam/interfaces/registry.ts | 36 +- .../src/moonbeam/interfaces/types-lookup.ts | 866 ++--- .../interfaces/augment-api-consts.ts | 37 +- .../interfaces/augment-api-errors.ts | 12 +- .../interfaces/augment-api-events.ts | 21 + .../moonriver/interfaces/augment-api-query.ts | 43 +- .../interfaces/augment-api-runtime.ts | 5 +- .../moonriver/interfaces/augment-api-tx.ts | 2710 ++++++++++++++-- .../src/moonriver/interfaces/lookup.ts | 848 ++--- .../src/moonriver/interfaces/registry.ts | 36 +- .../src/moonriver/interfaces/types-lookup.ts | 866 ++--- 30 files changed, 10506 insertions(+), 3288 deletions(-) diff --git a/typescript-api/package-lock.json b/typescript-api/package-lock.json index a42c2fc91e..6945276079 100644 --- a/typescript-api/package-lock.json +++ b/typescript-api/package-lock.json @@ -1,12 +1,12 @@ { "name": "@moonbeam-network/api-augment", - "version": "0.3000.0", + "version": "0.3100.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@moonbeam-network/api-augment", - "version": "0.3000.0", + "version": "0.3100.0", "license": "GPL-3.0-only", "devDependencies": { "@polkadot/api": "^11.2.1", diff --git a/typescript-api/package.json b/typescript-api/package.json index 17175180ad..4d1035dc75 100644 --- a/typescript-api/package.json +++ b/typescript-api/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/api-augment", - "version": "0.3000.0", + "version": "0.3100.0", "type": "module", "private": true, "description": "Moonbeam types augment for @polkadot/api", diff --git a/typescript-api/src/moonbase/interfaces/augment-api-consts.ts b/typescript-api/src/moonbase/interfaces/augment-api-consts.ts index 1e06ab5ff5..8aa1f678ef 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-consts.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-consts.ts @@ -6,7 +6,7 @@ import "@polkadot/api-base/types/consts"; import type { ApiTypes, AugmentedConst } from "@polkadot/api-base/types"; -import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from "@polkadot/types-codec"; +import type { Bytes, Null, Option, Vec, u128, u16, u32, u64, u8 } from "@polkadot/types-codec"; import type { Codec, ITuple } from "@polkadot/types-codec/types"; import type { Perbill, Permill } from "@polkadot/types/interfaces/runtime"; import type { @@ -69,9 +69,17 @@ declare module "@polkadot/api-base/types/consts" { /** * The maximum number of locks that should exist on an account. Not strictly enforced, but * used for weight estimation. + * + * Use of locks is deprecated in favour of freezes. See + * `https://github.com/paritytech/substrate/pull/12951/` */ maxLocks: u32 & AugmentedConst; - /** The maximum number of named reserves that can exist on an account. */ + /** + * The maximum number of named reserves that can exist on an account. + * + * Use of reserves is deprecated in favour of holds. See + * `https://github.com/paritytech/substrate/pull/12951/` + */ maxReserves: u32 & AugmentedConst; /** Generic const */ [key: string]: Codec; @@ -117,7 +125,7 @@ declare module "@polkadot/api-base/types/consts" { /** The amount held on deposit per encoded byte for a registered identity. */ byteDeposit: u128 & AugmentedConst; /** - * Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, + * Maximum number of registrars allowed in the system. Needed to bound the complexity of, * e.g., updating judgements. */ maxRegistrars: u32 & AugmentedConst; @@ -147,6 +155,14 @@ declare module "@polkadot/api-base/types/consts" { * is slightly lower than this as defined by [`MaxMessageLenOf`]. */ heapSize: u32 & AugmentedConst; + /** + * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which + * should be provided to the message queue for servicing enqueued items `on_idle`. Useful for + * parachains to process messages at the same block they are received. + * + * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`. + */ + idleMaxServiceWeight: Option & AugmentedConst; /** * The maximum number of stale pages (i.e. of overweight messages) allowed before culling can * happen. Once there are more stale pages than this, then historical pages may be dropped, @@ -155,10 +171,11 @@ declare module "@polkadot/api-base/types/consts" { maxStale: u32 & AugmentedConst; /** * The amount of weight (if any) which should be provided to the message queue for servicing - * enqueued items. + * enqueued items `on_initialize`. * * This may be legitimately `None` in the case that you will call - * `ServiceQueues::service_queues` manually. + * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have it + * run in `on_idle`. */ serviceWeight: Option & AugmentedConst; /** Generic const */ @@ -245,6 +262,12 @@ declare module "@polkadot/api-base/types/consts" { /** Generic const */ [key: string]: Codec; }; + parachainSystem: { + /** Returns the parachain ID we are running with. */ + selfParaId: u32 & AugmentedConst; + /** Generic const */ + [key: string]: Codec; + }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. @@ -365,7 +388,7 @@ declare module "@polkadot/api-base/types/consts" { * runtime should know about the prefix in order to make use of it as an identifier of the chain. */ ss58Prefix: u16 & AugmentedConst; - /** Get the chain's current version. */ + /** Get the chain's in-code version. */ version: SpVersionRuntimeVersion & AugmentedConst; /** Generic const */ [key: string]: Codec; @@ -475,6 +498,8 @@ declare module "@polkadot/api-base/types/consts" { * The actually weight for an XCM message is `T::BaseXcmWeight + T::Weigher::weight(&msg)`. */ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; + /** The id of the RateLimiter. */ + rateLimiterId: Null & AugmentedConst; /** Self chain location. */ selfLocation: StagingXcmV4Location & AugmentedConst; /** Generic const */ diff --git a/typescript-api/src/moonbase/interfaces/augment-api-errors.ts b/typescript-api/src/moonbase/interfaces/augment-api-errors.ts index 1d52ca9614..a35d22aff4 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-errors.ts @@ -137,7 +137,7 @@ declare module "@polkadot/api-base/types/errors" { AlreadyDelegating: AugmentedError; /** * The account currently has votes attached to it and the operation cannot succeed until these - * are removed, either through `unvote` or `reap_vote`. + * are removed through `remove_vote`. */ AlreadyVoting: AugmentedError; /** The class ID supplied is invalid. */ @@ -247,8 +247,6 @@ declare module "@polkadot/api-base/types/errors" { InvalidNonce: AugmentedError; /** The signature is invalid. */ InvalidSignature: AugmentedError; - /** Invalid Transaction */ - InvalidTransaction: AugmentedError; /** Calculating total payment overflowed */ PaymentOverflow: AugmentedError; /** EVM reentrancy */ @@ -566,8 +564,6 @@ declare module "@polkadot/api-base/types/errors" { Filtered: AugmentedError; /** The unlock operation cannot succeed because there are still consumers of the lock. */ InUse: AugmentedError; - /** Invalid non-concrete asset. */ - InvalidAssetNotConcrete: AugmentedError; /** Invalid asset, reserve chain could not be determined for it. */ InvalidAssetUnknownReserve: AugmentedError; /** Invalid asset, do not support remote asset reserves with different fees reserves. */ @@ -684,6 +680,8 @@ declare module "@polkadot/api-base/types/errors" { NoTrack: AugmentedError; /** The preimage does not exist. */ PreimageNotExist: AugmentedError; + /** The preimage is stored with a different length than the one provided. */ + PreimageStoredWithDifferentLength: AugmentedError; /** The queue of the track is empty. */ QueueEmpty: AugmentedError; /** Any deposit cannot be refunded until after the decision is over. */ @@ -722,6 +720,8 @@ declare module "@polkadot/api-base/types/errors" { FailedToExtractRuntimeVersion: AugmentedError; /** The name of specification does not match between the current runtime and the new runtime. */ InvalidSpecName: AugmentedError; + /** A multi-block migration is ongoing and prevents the current code from being replaced. */ + MultiBlockMigrationsOngoing: AugmentedError; /** Suicide called when the account has non-default composite data. */ NonDefaultComposite: AugmentedError; /** There is a non-zero reference count preventing the account from being purged. */ @@ -879,6 +879,8 @@ declare module "@polkadot/api-base/types/errors" { NotCrossChainTransferableCurrency: AugmentedError; /** Not supported Location */ NotSupportedLocation: AugmentedError; + /** Asset transfer is limited by RateLimiter. */ + RateLimited: AugmentedError; /** The number of assets to be sent is over the maximum. */ TooManyAssetsBeingSent: AugmentedError; /** The message's weight could not be determined. */ diff --git a/typescript-api/src/moonbase/interfaces/augment-api-events.ts b/typescript-api/src/moonbase/interfaces/augment-api-events.ts index 38d229d75d..0e989b450a 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-events.ts @@ -1719,6 +1719,27 @@ declare module "@polkadot/api-base/types/events" { [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; + /** Cancel a retry configuration for some task. */ + RetryCancelled: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option], + { task: ITuple<[u32, u32]>; id: Option } + >; + /** + * The given task was unable to be retried since the agenda is full at that block or there was + * not enough weight to reschedule it. + */ + RetryFailed: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option], + { task: ITuple<[u32, u32]>; id: Option } + >; + /** Set a retry configuration for some task. */ + RetrySet: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8], + { task: ITuple<[u32, u32]>; id: Option; period: u32; retries: u8 } + >; /** Scheduled some task. */ Scheduled: AugmentedEvent; /** Generic event */ diff --git a/typescript-api/src/moonbase/interfaces/augment-api-query.ts b/typescript-api/src/moonbase/interfaces/augment-api-query.ts index 8a0bb1f10a..594d637d2e 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-query.ts @@ -94,6 +94,7 @@ import type { PalletRandomnessRequestState, PalletRandomnessRequestType, PalletReferendaReferendumInfo, + PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletTransactionPaymentReleases, PalletTreasuryProposal, @@ -104,10 +105,10 @@ import type { PalletXcmTransactorRemoteTransactInfoWithMaxWeight, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, - PolkadotPrimitivesV6AbridgedHostConfiguration, - PolkadotPrimitivesV6PersistedValidationData, - PolkadotPrimitivesV6UpgradeGoAhead, - PolkadotPrimitivesV6UpgradeRestriction, + PolkadotPrimitivesV7AbridgedHostConfiguration, + PolkadotPrimitivesV7PersistedValidationData, + PolkadotPrimitivesV7UpgradeGoAhead, + PolkadotPrimitivesV7UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, @@ -325,6 +326,9 @@ declare module "@polkadot/api-base/types/storage" { /** * Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, * changing and freeing a lock. + * + * Use of locks is deprecated in favour of freezes. See + * `https://github.com/paritytech/substrate/pull/12951/` */ locks: AugmentedQuery< ApiType, @@ -332,7 +336,12 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Named reserves on some account balances. */ + /** + * Named reserves on some account balances. + * + * Use of reserves is deprecated in favour of holds. See + * `https://github.com/paritytech/substrate/pull/12951/` + */ reserves: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, @@ -757,7 +766,7 @@ declare module "@polkadot/api-base/types/storage" { /** The current members of the collective. This is stored sorted (just by value). */ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of absentations. */ + /** The prime member that helps determine the default vote behavior in case of abstentions. */ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** Proposals so far. */ @@ -960,7 +969,7 @@ declare module "@polkadot/api-base/types/storage" { */ hostConfiguration: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1101,7 +1110,7 @@ declare module "@polkadot/api-base/types/storage" { */ upgradeGoAhead: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1116,7 +1125,7 @@ declare module "@polkadot/api-base/types/storage" { */ upgradeRestrictionSignal: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1136,7 +1145,7 @@ declare module "@polkadot/api-base/types/storage" { */ validationData: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1434,6 +1443,15 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; + /** Retry configurations for items to be executed, indexed by task address. */ + retries: AugmentedQuery< + ApiType, + ( + arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] + ) => Observable>, + [ITuple<[u32, u32]>] + > & + QueryableStorageEntry]>; /** Generic query */ [key: string]: QueryableStorageEntry; }; @@ -1524,6 +1542,9 @@ declare module "@polkadot/api-base/types/storage" { [u32] > & QueryableStorageEntry; + /** Whether all inherents have been applied. */ + inherentsApplied: AugmentedQuery Observable, []> & + QueryableStorageEntry; /** Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. */ lastRuntimeUpgrade: AugmentedQuery< ApiType, @@ -1609,7 +1630,7 @@ declare module "@polkadot/api-base/types/storage" { /** The current members of the collective. This is stored sorted (just by value). */ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of absentations. */ + /** The prime member that helps determine the default vote behavior in case of abstentions. */ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** Proposals so far. */ diff --git a/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts b/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts index 797ead0556..2b8daa38dd 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts @@ -614,12 +614,12 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; moon: { + /** Returns the latest synced block from Frontier's backend */ + getLatestSyncedBlock: AugmentedRpc<() => Observable>; /** Returns whether an Ethereum block is finalized */ isBlockFinalized: AugmentedRpc<(blockHash: Hash | string | Uint8Array) => Observable>; /** Returns whether an Ethereum transaction is finalized */ isTxFinalized: AugmentedRpc<(txHash: Hash | string | Uint8Array) => Observable>; - /** Returns the latest synced block from Frontier's backend */ - getLatestSyncedBlock: AugmentedRpc<() => Observable>; }; net: { /** Returns true if client is actively listening for network connections. Otherwise false. */ diff --git a/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts b/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts index a4103cf785..8a6d23f28b 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts @@ -37,6 +37,7 @@ import type { AccountId, Balance, Block, + ExtrinsicInclusionMode, H160, H256, Header, @@ -134,7 +135,7 @@ declare module "@polkadot/api-base/types/calls" { /** Generic call */ [key: string]: DecoratedCallBase; }; - /** 0xdf6acb689907609b/4 */ + /** 0xdf6acb689907609b/5 */ core: { /** Execute the given block. */ executeBlock: AugmentedCall< @@ -158,7 +159,7 @@ declare module "@polkadot/api-base/types/calls" { } | string | Uint8Array - ) => Observable + ) => Observable >; /** Returns the version of the runtime. */ version: AugmentedCall Observable>; diff --git a/typescript-api/src/moonbase/interfaces/augment-api-tx.ts b/typescript-api/src/moonbase/interfaces/augment-api-tx.ts index cfbe4e4f70..810c093a7c 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-tx.ts @@ -62,11 +62,13 @@ import type { PalletXcmTransactorTransactWeights, SpRuntimeMultiSignature, SpWeightsWeightV2Weight, + StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, XcmPrimitivesEthereumXcmEthereumXcmTransaction, XcmV2OriginKind, XcmV3WeightLimit, XcmVersionedAsset, + XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm, @@ -80,7 +82,10 @@ export type __SubmittableExtrinsicFunction = declare module "@polkadot/api-base/types/submittable" { interface AugmentedSubmittables { assetManager: { - /** See [`Pallet::change_existing_asset_type`]. */ + /** + * Change the xcm type mapping for a given assetId We also change this if the previous units + * per second where pointing at the old assetType + */ changeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -89,7 +94,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, MoonbaseRuntimeXcmConfigAssetType, u32] >; - /** See [`Pallet::destroy_foreign_asset`]. */ + /** + * Destroy a given foreign assetId The weight in this case is the one returned by the trait + * plus the db writes and reads from removing all the associated data + */ destroyForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -97,7 +105,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** See [`Pallet::register_foreign_asset`]. */ + /** Register new asset with the asset manager */ registerForeignAsset: AugmentedSubmittable< ( asset: MoonbaseRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -116,7 +124,7 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::remove_existing_asset_type`]. */ + /** Remove a given assetId -> assetType association */ removeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -124,7 +132,6 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** See [`Pallet::remove_supported_asset`]. */ removeSupportedAsset: AugmentedSubmittable< ( assetType: MoonbaseRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -132,7 +139,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbaseRuntimeXcmConfigAssetType, u32] >; - /** See [`Pallet::set_asset_units_per_second`]. */ + /** Change the amount of units we are charging per execution second for a given ForeignAssetType */ setAssetUnitsPerSecond: AugmentedSubmittable< ( assetType: MoonbaseRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -145,7 +152,26 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; assets: { - /** See [`Pallet::approve_transfer`]. */ + /** + * Approve an amount of asset for transfer by a delegated third-party account. + * + * Origin must be Signed. + * + * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account for the + * purpose of holding the approval. If some non-zero amount of assets is already approved from + * signing account to `delegate`, then it is topped up or unreserved to meet the right value. + * + * NOTE: The signing account does not need to own `amount` of assets at the point of making this call. + * + * - `id`: The identifier of the asset. + * - `delegate`: The account to delegate permission to transfer asset. + * - `amount`: The amount of asset that may be transferred by `delegate`. If there is already an + * approval in place, then this acts additively. + * + * Emits `ApprovedTransfer` on success. + * + * Weight: `O(1)` + */ approveTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -154,7 +180,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::block`]. */ + /** + * Disallow further unprivileged transfers of an asset `id` to and from an account `who`. + * + * Origin must be Signed and the sender should be the Freezer of the asset `id`. + * + * - `id`: The identifier of the account's asset. + * - `who`: The account to be unblocked. + * + * Emits `Blocked`. + * + * Weight: `O(1)` + */ block: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -162,7 +199,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::burn`]. */ + /** + * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`. + * + * Origin must be Signed and the sender should be the Manager of the asset `id`. + * + * Bails with `NoAccount` if the `who` is already dead. + * + * - `id`: The identifier of the asset to have some amount burned. + * - `who`: The account to be debited from. + * - `amount`: The maximum amount by which `who`'s balance should be reduced. + * + * Emits `Burned` with the actual amount burned. If this takes the balance to below the + * minimum for the asset, then the amount burned is increased to take it to zero. + * + * Weight: `O(1)` Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. + */ burn: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -171,7 +223,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::cancel_approval`]. */ + /** + * Cancel all of some asset approved for delegated transfer by a third-party account. + * + * Origin must be Signed and there must be an approval in place between signer and `delegate`. + * + * Unreserves any deposit previously reserved by `approve_transfer` for the approval. + * + * - `id`: The identifier of the asset. + * - `delegate`: The account delegated permission to transfer asset. + * + * Emits `ApprovalCancelled` on success. + * + * Weight: `O(1)` + */ cancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -179,12 +244,45 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::clear_metadata`]. */ + /** + * Clear the metadata for an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * Any deposit is freed for the asset owner. + * + * - `id`: The identifier of the asset to clear. + * + * Emits `MetadataCleared`. + * + * Weight: `O(1)` + */ clearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::create`]. */ + /** + * Issue a new class of fungible assets from a public origin. + * + * This new asset class has no assets initially and its owner is the origin. + * + * The origin must conform to the configured `CreateOrigin` and have sufficient funds free. + * + * Funds of sender are reserved by `AssetDeposit`. + * + * Parameters: + * + * - `id`: The identifier of the new asset. This must not be currently in use to identify an + * existing asset. + * - `admin`: The admin of this class of assets. The admin is the initial address of each member + * of the asset class's admin team. + * - `min_balance`: The minimum balance of this new asset that any single account must have. If + * an account's balance is reduced below this, then it collapses to zero. + * + * Emits `Created` event when successful. + * + * Weight: `O(1)` + */ create: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -193,22 +291,76 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, u128] >; - /** See [`Pallet::destroy_accounts`]. */ + /** + * Destroy all accounts associated with a given asset. + * + * `destroy_accounts` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. + * + * Due to weight restrictions, this function may need to be called multiple times to fully + * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * Each call emits the `Event::DestroyedAccounts` event. + */ destroyAccounts: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::destroy_approvals`]. */ + /** + * Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit). + * + * `destroy_approvals` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. + * + * Due to weight restrictions, this function may need to be called multiple times to fully + * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * Each call emits the `Event::DestroyedApprovals` event. + */ destroyApprovals: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::finish_destroy`]. */ + /** + * Complete destroying asset and unreserve currency. + * + * `finish_destroy` should only be called after `start_destroy` has been called, and the asset + * is in a `Destroying` state. All accounts or approvals should be destroyed before hand. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * Each successful call emits the `Event::Destroyed` event. + */ finishDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::force_asset_status`]. */ + /** + * Alter the attributes of a given asset. + * + * Origin must be `ForceOrigin`. + * + * - `id`: The identifier of the asset. + * - `owner`: The new Owner of this asset. + * - `issuer`: The new Issuer of this asset. + * - `admin`: The new Admin of this asset. + * - `freezer`: The new Freezer of this asset. + * - `min_balance`: The minimum balance of this new asset that any single account must have. If + * an account's balance is reduced below this, then it collapses to zero. + * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient value to + * account for the state bloat associated with its balance storage. If set to `true`, then + * non-zero balances may be stored without a `consumer` reference (and thus an ED in the + * Balances pallet or whatever else is used to control user-account state growth). + * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin instructions. + * + * Emits `AssetStatusChanged` with the identity of the asset. + * + * Weight: `O(1)` + */ forceAssetStatus: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -231,7 +383,21 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::force_cancel_approval`]. */ + /** + * Cancel all of some asset approved for delegated transfer by a third-party account. + * + * Origin must be either ForceOrigin or Signed origin with the signer being the Admin account + * of the asset `id`. + * + * Unreserves any deposit previously reserved by `approve_transfer` for the approval. + * + * - `id`: The identifier of the asset. + * - `delegate`: The account delegated permission to transfer asset. + * + * Emits `ApprovalCancelled` on success. + * + * Weight: `O(1)` + */ forceCancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -240,12 +406,44 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20] >; - /** See [`Pallet::force_clear_metadata`]. */ + /** + * Clear the metadata for an asset. + * + * Origin must be ForceOrigin. + * + * Any deposit is returned. + * + * - `id`: The identifier of the asset to clear. + * + * Emits `MetadataCleared`. + * + * Weight: `O(1)` + */ forceClearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::force_create`]. */ + /** + * Issue a new class of fungible assets from a privileged origin. + * + * This new asset class has no assets initially. + * + * The origin must conform to `ForceOrigin`. + * + * Unlike `create`, no funds are reserved. + * + * - `id`: The identifier of the new asset. This must not be currently in use to identify an + * existing asset. + * - `owner`: The owner of this class of assets. The owner has full superuser permissions over + * this asset, but may later change and configure the permissions using `transfer_ownership` + * and `set_team`. + * - `min_balance`: The minimum balance of this new asset that any single account must have. If + * an account's balance is reduced below this, then it collapses to zero. + * + * Emits `ForceCreated` event when successful. + * + * Weight: `O(1)` + */ forceCreate: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -255,7 +453,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, bool, Compact] >; - /** See [`Pallet::force_set_metadata`]. */ + /** + * Force the metadata for an asset to some value. + * + * Origin must be ForceOrigin. + * + * Any deposit is left alone. + * + * - `id`: The identifier of the asset to update. + * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. + * - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`. + * - `decimals`: The number of decimals this asset uses to represent one unit. + * + * Emits `MetadataSet`. + * + * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively. + */ forceSetMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -266,7 +479,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Bytes, Bytes, u8, bool] >; - /** See [`Pallet::force_transfer`]. */ + /** + * Move some assets from one account to another. + * + * Origin must be Signed and the sender should be the Admin of the asset `id`. + * + * - `id`: The identifier of the asset to have some amount transferred. + * - `source`: The account to be debited. + * - `dest`: The account to be credited. + * - `amount`: The amount by which the `source`'s balance of assets should be reduced and + * `dest`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the `source` balance above zero but below + * the minimum balance. Must be greater than zero. + * + * Emits `Transferred` with the actual amount transferred. If this takes the source balance to + * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * + * Weight: `O(1)` Modes: Pre-existence of `dest`; Post-existence of `source`; Account + * pre-existence of `dest`. + */ forceTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -276,7 +507,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20, Compact] >; - /** See [`Pallet::freeze`]. */ + /** + * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` must + * already exist as an entry in `Account`s of the asset. If you want to freeze an account that + * does not have an entry, use `touch_other` first. + * + * Origin must be Signed and the sender should be the Freezer of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * - `who`: The account to be frozen. + * + * Emits `Frozen`. + * + * Weight: `O(1)` + */ freeze: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -284,12 +528,34 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::freeze_asset`]. */ + /** + * Disallow further unprivileged transfers for the asset class. + * + * Origin must be Signed and the sender should be the Freezer of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * + * Emits `Frozen`. + * + * Weight: `O(1)` + */ freezeAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::mint`]. */ + /** + * Mint assets of a particular class. + * + * The origin must be Signed and the sender must be the Issuer of the asset `id`. + * + * - `id`: The identifier of the asset to have some amount minted. + * - `beneficiary`: The account to be credited with the minted assets. + * - `amount`: The amount of the asset to be minted. + * + * Emits `Issued` event when successful. + * + * Weight: `O(1)` Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. + */ mint: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -298,7 +564,16 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::refund`]. */ + /** + * Return the deposit (if any) of an asset account or a consumer reference (if any) of an account. + * + * The origin must be Signed. + * + * - `id`: The identifier of the asset for which the caller would like the deposit refunded. + * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund. + * + * Emits `Refunded` event when successful. + */ refund: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -306,7 +581,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, bool] >; - /** See [`Pallet::refund_other`]. */ + /** + * Return the deposit (if any) of a target asset account. Useful if you are the depositor. + * + * The origin must be Signed and either the account owner, depositor, or asset `Admin`. In + * order to burn a non-zero balance of the asset, the caller must be the account and should + * use `refund`. + * + * - `id`: The identifier of the asset for the account holding a deposit. + * - `who`: The account to refund. + * + * Emits `Refunded` event when successful. + */ refundOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -314,7 +600,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::set_metadata`]. */ + /** + * Set the metadata for an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * Funds of sender are reserved according to the formula: `MetadataDepositBase + + * MetadataDepositPerByte * (name.len + symbol.len)` taking into account any already reserved funds. + * + * - `id`: The identifier of the asset to update. + * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. + * - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`. + * - `decimals`: The number of decimals this asset uses to represent one unit. + * + * Emits `MetadataSet`. + * + * Weight: `O(1)` + */ setMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -324,7 +626,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Bytes, Bytes, u8] >; - /** See [`Pallet::set_min_balance`]. */ + /** + * Sets the minimum balance of an asset. + * + * Only works if there aren't any accounts that are holding the asset or if the new value of + * `min_balance` is less than the old one. + * + * Origin must be Signed and the sender has to be the Owner of the asset `id`. + * + * - `id`: The identifier of the asset. + * - `min_balance`: The new value of `min_balance`. + * + * Emits `AssetMinBalanceChanged` event when successful. + */ setMinBalance: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -332,7 +646,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, u128] >; - /** See [`Pallet::set_team`]. */ + /** + * Change the Issuer, Admin and Freezer of an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * - `issuer`: The new Issuer of this asset. + * - `admin`: The new Admin of this asset. + * - `freezer`: The new Freezer of this asset. + * + * Emits `TeamChanged`. + * + * Weight: `O(1)` + */ setTeam: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -342,12 +669,34 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20, AccountId20] >; - /** See [`Pallet::start_destroy`]. */ + /** + * Start the process of destroying a fungible asset class. + * + * `start_destroy` is the first in a series of extrinsics that should be called, to allow + * destruction of an asset class. + * + * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * The asset class must be frozen before calling `start_destroy`. + */ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::thaw`]. */ + /** + * Allow unprivileged transfers to and from an account again. + * + * Origin must be Signed and the sender should be the Admin of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * - `who`: The account to be unfrozen. + * + * Emits `Thawed`. + * + * Weight: `O(1)` + */ thaw: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -355,17 +704,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::thaw_asset`]. */ + /** + * Allow unprivileged transfers for the asset again. + * + * Origin must be Signed and the sender should be the Admin of the asset `id`. + * + * - `id`: The identifier of the asset to be thawed. + * + * Emits `Thawed`. + * + * Weight: `O(1)` + */ thawAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::touch`]. */ + /** + * Create an asset account for non-provider assets. + * + * A deposit will be taken from the signer account. + * + * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit to be taken. + * - `id`: The identifier of the asset for the account to be created. + * + * Emits `Touched` event when successful. + */ touch: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::touch_other`]. */ + /** + * Create an asset account for `who`. + * + * A deposit will be taken from the signer account. + * + * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account must + * have sufficient funds for a deposit to be taken. + * - `id`: The identifier of the asset for the account to be created. + * - `who`: The account to be created. + * + * Emits `Touched` event when successful. + */ touchOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -373,7 +752,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::transfer`]. */ + /** + * Move some assets from the sender account to another. + * + * Origin must be Signed. + * + * - `id`: The identifier of the asset to have some amount transferred. + * - `target`: The account to be credited. + * - `amount`: The amount by which the sender's balance of assets should be reduced and + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. + * + * Emits `Transferred` with the actual amount transferred. If this takes the source balance to + * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * + * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account + * pre-existence of `target`. + */ transfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -382,7 +778,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::transfer_approved`]. */ + /** + * Transfer some asset balance from a previously delegated account to some third-party account. + * + * Origin must be Signed and there must be an approval in place by the `owner` to the signer. + * + * If the entire amount approved for transfer is transferred, then any deposit previously + * reserved by `approve_transfer` is unreserved. + * + * - `id`: The identifier of the asset. + * - `owner`: The account which previously approved for a transfer of at least `amount` and from + * which the asset balance will be withdrawn. + * - `destination`: The account to which the asset balance of `amount` will be transferred. + * - `amount`: The amount of assets to transfer. + * + * Emits `TransferredApproved` on success. + * + * Weight: `O(1)` + */ transferApproved: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -392,7 +805,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20, Compact] >; - /** See [`Pallet::transfer_keep_alive`]. */ + /** + * Move some assets from the sender account to another, keeping the sender account alive. + * + * Origin must be Signed. + * + * - `id`: The identifier of the asset to have some amount transferred. + * - `target`: The account to be credited. + * - `amount`: The amount by which the sender's balance of assets should be reduced and + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. + * + * Emits `Transferred` with the actual amount transferred. If this takes the source balance to + * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * + * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account + * pre-existence of `target`. + */ transferKeepAlive: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -401,7 +831,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::transfer_ownership`]. */ + /** + * Change the Owner of an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * - `id`: The identifier of the asset. + * - `owner`: The new Owner of this asset. + * + * Emits `OwnerChanged`. + * + * Weight: `O(1)` + */ transferOwnership: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -413,7 +854,7 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; authorFilter: { - /** See [`Pallet::set_eligible`]. */ + /** Update the eligible count. Intended to be called by governance. */ setEligible: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -422,34 +863,62 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; authorInherent: { - /** See [`Pallet::kick_off_authorship_validation`]. */ + /** + * This inherent is a workaround to run code after the "real" inherents have executed, but + * before transactions are executed. + */ kickOffAuthorshipValidation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; authorMapping: { - /** See [`Pallet::add_association`]. */ + /** + * Register your NimbusId onchain so blocks you author are associated with your account. + * + * Users who have been (or will soon be) elected active collators in staking, should submit + * this extrinsic to have their blocks accepted and earn rewards. + */ addAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic] >; - /** See [`Pallet::clear_association`]. */ + /** + * Clear your Mapping. + * + * This is useful when you are no longer an author and would like to re-claim your security deposit. + */ clearAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic] >; - /** See [`Pallet::remove_keys`]. */ + /** + * Remove your Mapping. + * + * This is useful when you are no longer an author and would like to re-claim your security deposit. + */ removeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::set_keys`]. */ + /** + * Set association and session keys at once. + * + * This is useful for key rotation to update Nimbus and VRF keys in one call. No new security + * deposit is required. Will replace `update_association` which is kept now for backwards + * compatibility reasons. + */ setKeys: AugmentedSubmittable< (keys: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::update_association`]. */ + /** + * Change your Mapping. + * + * This is useful for normal key rotation or for when switching from one physical collator + * machine to another. No new security deposit is required. This sets keys to + * new_nimbus_id.into() by default. + */ updateAssociation: AugmentedSubmittable< ( oldNimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array, @@ -461,7 +930,13 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; balances: { - /** See [`Pallet::force_adjust_total_issuance`]. */ + /** + * Adjust the total issuance in a saturating way. + * + * Can only be called by root and always needs a positive `delta`. + * + * # Example + */ forceAdjustTotalIssuance: AugmentedSubmittable< ( direction: @@ -474,7 +949,11 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletBalancesAdjustmentDirection, Compact] >; - /** See [`Pallet::force_set_balance`]. */ + /** + * Set the regular balance of a given account. + * + * The dispatch origin for this call is `root`. + */ forceSetBalance: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -482,7 +961,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Compact] >; - /** See [`Pallet::force_transfer`]. */ + /** + * Exactly as `transfer_allow_death`, except the origin must be root and the source account + * may be specified. + */ forceTransfer: AugmentedSubmittable< ( source: AccountId20 | string | Uint8Array, @@ -491,7 +973,11 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Compact] >; - /** See [`Pallet::force_unreserve`]. */ + /** + * Unreserve some balance from a user by force. + * + * Can only be called by ROOT. + */ forceUnreserve: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -499,7 +985,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** See [`Pallet::transfer_all`]. */ + /** + * Transfer the entire transferable balance from the caller account. + * + * NOTE: This function only attempts to transfer _transferable_ balances. This means that any + * locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, you + * might need to prepare the account by removing any reference counters, storage deposits, etc... + * + * The dispatch origin of this call must be Signed. + * + * - `dest`: The recipient of the transfer. + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all of the + * funds the account has, causing the sender account to be killed (false), or transfer + * everything except at least the existential deposit, which will guarantee to keep the + * sender account alive (true). + */ transferAll: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -507,7 +1008,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, bool] >; - /** See [`Pallet::transfer_allow_death`]. */ + /** + * Transfer some liquid free balance to another account. + * + * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. If the + * sender's account is below the existential deposit as a result of the transfer, the account + * will be reaped. + * + * The dispatch origin for this call must be `Signed` by the transactor. + */ transferAllowDeath: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -515,7 +1024,14 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Compact] >; - /** See [`Pallet::transfer_keep_alive`]. */ + /** + * Same as the [`transfer_allow_death`][`transfer_allow_death`] call, but with a check that + * the transfer will not kill the origin account. + * + * 99% of the time you want [`transfer_allow_death`][`transfer_allow_death`] instead. + * + * [`transfer_allow_death`]: struct.Pallet.html#method.transfer + */ transferKeepAlive: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -523,7 +1039,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Compact] >; - /** See [`Pallet::upgrade_accounts`]. */ + /** + * Upgrade a specified account. + * + * - `origin`: Must be `Signed`. + * - `who`: The account to be upgraded. + * + * This will waive the transaction fee if at least all but 10% of the accounts needed to be + * upgraded. (We let some not have to be upgraded just in order to allow for the possibility of churn). + */ upgradeAccounts: AugmentedSubmittable< ( who: Vec | (AccountId20 | string | Uint8Array)[] @@ -534,7 +1058,30 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; convictionVoting: { - /** See [`Pallet::delegate`]. */ + /** + * Delegate the voting power (with some given conviction) of the sending account for a + * particular class of polls. + * + * The balance delegated is locked for as long as it's delegated, and thereafter for the time + * appropriate for the conviction's lock period. + * + * The dispatch origin of this call must be _Signed_, and the signing account must either: + * + * - Be delegating already; or + * - Have no voting activity (if there is, then it will need to be removed through `remove_vote`). + * - `to`: The account whose voting the `target` account's voting power will follow. + * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls to + * this function are required. + * - `conviction`: The conviction that will be attached to the delegated votes. When the account + * is undelegated, the funds will be locked for the corresponding period. + * - `balance`: The amount of the account's balance to be used in delegating. This must not be + * more than the account's current balance. + * + * Emits `Delegated`. + * + * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight + * is initially charged as if maximum votes, but is refunded later. + */ delegate: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -554,7 +1101,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, AccountId20, PalletConvictionVotingConviction, u128] >; - /** See [`Pallet::remove_other_vote`]. */ + /** + * Remove a vote for a poll. + * + * If the `target` is equal to the signer, then this function is exactly equivalent to + * `remove_vote`. If not equal to the signer, then the vote must have expired, either because + * the poll was cancelled, because the voter lost the poll or because the conviction period is over. + * + * The dispatch origin of this call must be _Signed_. + * + * - `target`: The account of the vote to be removed; this account must have voted for poll `index`. + * - `index`: The index of poll of the vote to be removed. + * - `class`: The class of the poll. + * + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is + * calculated for the maximum number of vote. + */ removeOtherVote: AugmentedSubmittable< ( target: AccountId20 | string | Uint8Array, @@ -563,7 +1125,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16, u32] >; - /** See [`Pallet::remove_vote`]. */ + /** + * Remove a vote for a poll. + * + * If: + * + * - The poll was cancelled, or + * - The poll is ongoing, or + * - The poll has ended such that + * - The vote of the account was in opposition to the result; or + * - There was no conviction to the account's vote; or + * - The account made a split vote ...then the vote is removed cleanly and a following call to + * `unlock` may result in more funds being available. + * + * If, however, the poll has ended and: + * + * - It finished corresponding to the vote of the account, and + * - The account made a standard vote with conviction, and + * - The lock period of the conviction is not over ...then the lock will be aggregated into the + * overall account's lock, which may involve _overlocking_ (where the two locks are combined + * into a single lock that is the maximum of both the amount locked and the time is it locked for). + * + * The dispatch origin of this call must be _Signed_, and the signer must have a vote + * registered for poll `index`. + * + * - `index`: The index of poll of the vote to be removed. + * - `class`: Optional parameter, if given it indicates the class of the poll. For polls which + * have finished or are cancelled, this must be `Some`. + * + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is + * calculated for the maximum number of vote. + */ removeVote: AugmentedSubmittable< ( clazz: Option | null | Uint8Array | u16 | AnyNumber, @@ -571,12 +1163,36 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Option, u32] >; - /** See [`Pallet::undelegate`]. */ + /** + * Undelegate the voting power of the sending account for a particular class of polls. + * + * Tokens may be unlocked following once an amount of time consistent with the lock period of + * the conviction with which the delegation was issued has passed. + * + * The dispatch origin of this call must be _Signed_ and the signing account must be currently + * delegating. + * + * - `class`: The class of polls to remove the delegation from. + * + * Emits `Undelegated`. + * + * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight + * is initially charged as if maximum votes, but is refunded later. + */ undelegate: AugmentedSubmittable< (clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** See [`Pallet::unlock`]. */ + /** + * Remove the lock caused by prior voting/delegating which has expired within a particular class. + * + * The dispatch origin of this call must be _Signed_. + * + * - `class`: The class of polls to unlock. + * - `target`: The account to remove the lock on. + * + * Weight: `O(R)` with R number of vote of target. + */ unlock: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -584,7 +1200,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, AccountId20] >; - /** See [`Pallet::vote`]. */ + /** + * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a + * vote to keep the status quo. + * + * The dispatch origin of this call must be _Signed_. + * + * - `poll_index`: The index of the poll to vote for. + * - `vote`: The vote configuration. + * + * Weight: `O(R)` where R is the number of polls the voter has voted on. + */ vote: AugmentedSubmittable< ( pollIndex: Compact | AnyNumber | Uint8Array, @@ -602,7 +1228,12 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; crowdloanRewards: { - /** See [`Pallet::associate_native_identity`]. */ + /** + * Associate a native rewards_destination identity with a crowdloan contribution. + * + * The caller needs to provide the unassociated relay account and a proof to succeed with the + * association The proof is nothing but a signature over the reward_address using the relay keys + */ associateNativeIdentity: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -617,7 +1248,13 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, U8aFixed, SpRuntimeMultiSignature] >; - /** See [`Pallet::change_association_with_relay_keys`]. */ + /** + * Change reward account by submitting proofs from relay accounts + * + * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' The + * account to be changed needs to be submitted as 'previous_account' Origin must be + * RewardAddressChangeOrigin + */ changeAssociationWithRelayKeys: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -638,14 +1275,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Vec>] >; - /** See [`Pallet::claim`]. */ + /** Collect whatever portion of your reward are currently vested. */ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::complete_initialization`]. */ + /** + * This extrinsic completes the initialization if some checks are fullfiled. These checks are: + * -The reward contribution money matches the crowdloan pot -The end vesting block is higher + * than the init vesting block -The initialization has not complete yet + */ completeInitialization: AugmentedSubmittable< (leaseEndingBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::initialize_reward_vec`]. */ + /** + * Initialize the reward distribution storage. It shortcuts whenever an error is found This + * does not enforce any checks other than making sure we dont go over funds + * complete_initialization should perform any additional + */ initializeRewardVec: AugmentedSubmittable< ( rewards: @@ -658,7 +1303,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, u128]>>] >; - /** See [`Pallet::update_reward_address`]. */ + /** Update reward address, proving that the caller owns the current native key */ updateRewardAddress: AugmentedSubmittable< (newRewardAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -671,18 +1316,18 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; emergencyParaXcm: { - /** See [`Pallet::fast_authorize_upgrade`]. */ + /** Authorize a runtime upgrade. Only callable in `Paused` mode */ fastAuthorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::paused_to_normal`]. */ + /** Resume `Normal` mode */ pausedToNormal: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; ethereum: { - /** See [`Pallet::transact`]. */ + /** Transact an Ethereum transaction. */ transact: AugmentedSubmittable< ( transaction: @@ -699,11 +1344,22 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; ethereumXcm: { - /** See `Pallet::resume_ethereum_xcm_execution`. */ + /** + * Resumes all Ethereum executions from XCM. + * + * - `origin`: Must pass `ControllerOrigin`. + */ resumeEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See `Pallet::suspend_ethereum_xcm_execution`. */ + /** + * Suspends all Ethereum executions from XCM. + * + * - `origin`: Must pass `ControllerOrigin`. + */ suspendEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See `Pallet::transact`. */ + /** + * Xcm Transact an Ethereum transaction. Weight: Gas limit plus the db read involving the + * suspension check + */ transact: AugmentedSubmittable< ( xcmTransaction: @@ -715,7 +1371,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; - /** See `Pallet::transact_through_proxy`. */ + /** + * Xcm Transact an Ethereum transaction through proxy. Weight: Gas limit plus the db reads + * involving the suspension and proxy checks + */ transactThroughProxy: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -732,7 +1391,7 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; evm: { - /** See [`Pallet::call`]. */ + /** Issue an EVM call operation. This is similar to a message call transaction in Ethereum. */ call: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -759,7 +1418,7 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** See [`Pallet::create`]. */ + /** Issue an EVM create operation. This is similar to a contract creation transaction in Ethereum. */ create: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -775,7 +1434,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>] >; - /** See [`Pallet::create2`]. */ + /** Issue an EVM create2 operation. */ create2: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -802,7 +1461,7 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** See [`Pallet::withdraw`]. */ + /** Withdraw balance from EVM into currency/balances pallet. */ withdraw: AugmentedSubmittable< ( address: H160 | string | Uint8Array, @@ -814,17 +1473,36 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; identity: { - /** See [`Pallet::accept_username`]. */ + /** + * Accept a given username that an `authority` granted. The call must include the full + * username, as in `username.suffix`. + */ acceptUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::add_registrar`]. */ + /** + * Add a registrar to the system. + * + * The dispatch origin for this call must be `T::RegistrarOrigin`. + * + * - `account`: the account of the registrar. + * + * Emits `RegistrarAdded` if successful. + */ addRegistrar: AugmentedSubmittable< (account: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::add_sub`]. */ + /** + * Add the given account to the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to + * the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + */ addSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -841,7 +1519,12 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Data] >; - /** See [`Pallet::add_username_authority`]. */ + /** + * Add an `AccountId` with permission to grant usernames with a given `suffix` appended. + * + * The authority can grant up to `allocation` usernames. To top up their allocation, they + * should just issue (or request via governance) a new `add_username_authority` call. + */ addUsernameAuthority: AugmentedSubmittable< ( authority: AccountId20 | string | Uint8Array, @@ -850,19 +1533,65 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Bytes, u32] >; - /** See [`Pallet::cancel_request`]. */ + /** + * Cancel a previous request. + * + * Payment: A previously reserved deposit is returned on success. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is no longer requested. + * + * Emits `JudgementUnrequested` if successful. + */ cancelRequest: AugmentedSubmittable< (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::clear_identity`]. */ + /** + * Clear an account's identity info and all sub-accounts and return all deposits. + * + * Payment: All reserved balances on the account are returned. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * Emits `IdentityCleared` if successful. + */ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::kill_identity`]. */ + /** + * Remove an account's identity and sub-account information and slash the deposits. + * + * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by + * `Slash`. Verification request deposits are not returned; they should be cancelled manually + * using `cancel_request`. + * + * The dispatch origin for this call must match `T::ForceOrigin`. + * + * - `target`: the account whose identity the judgement is upon. This must be an account with a + * registered identity. + * + * Emits `IdentityKilled` if successful. + */ killIdentity: AugmentedSubmittable< (target: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::provide_judgement`]. */ + /** + * Provide a judgement for an account's identity. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `reg_index`. + * + * - `reg_index`: the index of the registrar whose judgement is being made. + * - `target`: the account whose identity the judgement is upon. This must be an account with a + * registered identity. + * - `judgement`: the judgement of the registrar of index `reg_index` about `target`. + * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is provided. + * + * Note: Judgements do not apply to a username. + * + * Emits `JudgementGiven` if successful. + */ provideJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -882,29 +1611,60 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, PalletIdentityJudgement, H256] >; - /** See [`Pallet::quit_sub`]. */ + /** + * Remove the sender as a sub-account. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to + * the sender (_not_ the original depositor). + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * super-identity. + * + * NOTE: This should not normally be used, but is provided in the case that the non- + * controller of an account is maliciously registered as a sub-account. + */ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::remove_dangling_username`]. */ + /** + * Remove a username that corresponds to an account with no identity. Exists when a user gets + * a username but then calls `clear_identity`. + */ removeDanglingUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::remove_expired_approval`]. */ + /** + * Remove an expired username approval. The username was approved by an authority but never + * accepted by the user and must now be beyond its expiration. The call must include the full + * username, as in `username.suffix`. + */ removeExpiredApproval: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::remove_sub`]. */ + /** + * Remove the given account from the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to + * the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + */ removeSub: AugmentedSubmittable< (sub: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::remove_username_authority`]. */ + /** Remove `authority` from the username authorities. */ removeUsernameAuthority: AugmentedSubmittable< (authority: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::rename_sub`]. */ + /** + * Alter the associated name of the given sub-account. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + */ renameSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -921,7 +1681,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Data] >; - /** See [`Pallet::request_judgement`]. */ + /** + * Request a judgement from a registrar. + * + * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement given. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is requested. + * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: + * + * ```nocompile + * Self::registrars().get(reg_index).unwrap().fee; + * ``` + * + * Emits `JudgementRequested` if successful. + */ requestJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -929,7 +1704,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Compact] >; - /** See [`Pallet::set_account_id`]. */ + /** + * Change the account associated with a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `new`: the new account ID. + */ setAccountId: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -937,7 +1720,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::set_fee`]. */ + /** + * Set the fee required for a judgement to be requested from a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fee`: the new fee. + */ setFee: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -945,7 +1736,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Compact] >; - /** See [`Pallet::set_fields`]. */ + /** + * Set the field information for a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fields`: the fields that the registrar concerns themselves with. + */ setFields: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -953,7 +1752,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, u64] >; - /** See [`Pallet::set_identity`]. */ + /** + * Set an account's identity information and reserve the appropriate deposit. + * + * If the account already has identity information, the deposit is taken as part payment for + * the new deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * - `info`: The identity information. + * + * Emits `IdentitySet` if successful. + */ setIdentity: AugmentedSubmittable< ( info: @@ -974,12 +1784,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletIdentityLegacyIdentityInfo] >; - /** See [`Pallet::set_primary_username`]. */ + /** Set a given username as the primary. The username should include the suffix. */ setPrimaryUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_subs`]. */ + /** + * Set the sub-accounts of the sender. + * + * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned and + * an amount `SubAccountDeposit` will be reserved for each item in `subs`. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * - `subs`: The identity's (new) sub-accounts. + */ setSubs: AugmentedSubmittable< ( subs: @@ -1001,7 +1820,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec>] >; - /** See [`Pallet::set_username_for`]. */ + /** + * Set the username for `who`. Must be called by a username authority. + * + * The authority must have an `allocation`. Users can either pre-sign their usernames or + * accept them later. + * + * Usernames must: + * + * - Only contain lowercase ASCII characters or digits. + * - When combined with the suffix of the issuing authority be _less than_ the `MaxUsernameLength`. + */ setUsernameFor: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -1019,15 +1848,42 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; maintenanceMode: { - /** See [`Pallet::enter_maintenance_mode`]. */ + /** + * Place the chain in maintenance mode + * + * Weight cost is: + * + * - One DB read to ensure we're not already in maintenance mode + * - Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event + */ enterMaintenanceMode: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::resume_normal_operation`]. */ + /** + * Return the chain to normal operating mode + * + * Weight cost is: + * + * - One DB read to ensure we're in maintenance mode + * - Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event + */ resumeNormalOperation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { - /** See [`Pallet::execute_overweight`]. */ + /** + * Execute an overweight message. + * + * Temporary processing errors will be propagated whereas permanent errors are treated as + * success condition. + * + * - `origin`: Must be `Signed`. + * - `message_origin`: The origin from which the message to be executed arrived. + * - `page`: The page in the queue in which the message to be executed is sitting. + * - `index`: The index into the queue of the message to be executed. + * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution of the message. + * + * Benchmark complexity considerations: O(index + weight_limit). + */ executeOverweight: AugmentedSubmittable< ( messageOrigin: @@ -1047,7 +1903,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight] >; - /** See [`Pallet::reap_page`]. */ + /** Remove a page which has no more messages remaining to be processed or is stale. */ reapPage: AugmentedSubmittable< ( messageOrigin: @@ -1065,7 +1921,6 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; moonbeamLazyMigrations: { - /** See [`Pallet::clear_suicided_storage`]. */ clearSuicidedStorage: AugmentedSubmittable< ( addresses: Vec | (H160 | string | Uint8Array)[], @@ -1077,34 +1932,34 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; moonbeamOrbiters: { - /** See [`Pallet::add_collator`]. */ + /** Add a collator to orbiters program. */ addCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::collator_add_orbiter`]. */ + /** Add an orbiter in a collator pool */ collatorAddOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::collator_remove_orbiter`]. */ + /** Remove an orbiter from the caller collator pool */ collatorRemoveOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::orbiter_leave_collator_pool`]. */ + /** Remove the caller from the specified collator pool */ orbiterLeaveCollatorPool: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::orbiter_register`]. */ + /** Registering as an orbiter */ orbiterRegister: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::orbiter_unregister`]. */ + /** Deregistering from orbiters */ orbiterUnregister: AugmentedSubmittable< (collatorsPoolCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::remove_collator`]. */ + /** Remove a collator from orbiters program. */ removeCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1113,7 +1968,38 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; multisig: { - /** See [`Pallet::approve_as_multi`]. */ + /** + * Register approval for a dispatch to be made from a deterministic composite account if + * approved by a total of `threshold - 1` of `other_signatories`. + * + * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` + * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. + * May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not + * the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. + * - `call_hash`: The hash of the call to be executed. + * + * NOTE: If this is the final approval, you will want to use `as_multi` instead. + * + * ## Complexity + * + * - `O(S)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. + * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One encode & hash, both of complexity `O(S)`. + * - Up to one binary search and insert (`O(logS + S)`). + * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. + * - One event. + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for + * its lifetime of `DepositBase + threshold * DepositFactor`. + */ approveAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -1134,7 +2020,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, Option, U8aFixed, SpWeightsWeightV2Weight] >; - /** See [`Pallet::as_multi`]. */ + /** + * Register approval for a dispatch to be made from a deterministic composite account if + * approved by a total of `threshold - 1` of `other_signatories`. + * + * If there are enough, then dispatch the call. + * + * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` + * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. + * May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not + * the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. + * - `call`: The call to be executed. + * + * NOTE: Unless this is the final approval, you will generally want to use `approve_as_multi` + * instead, since it only requires a hash of the call. + * + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise on + * success, result is `Ok` and the result from the interior call, if it was executed, may be + * found in the deposited `MultisigExecuted` event. + * + * ## Complexity + * + * - `O(S + Z + Call)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. + * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. + * - One encode & hash, both of complexity `O(S)`. + * - Up to one binary search and insert (`O(logS + S)`). + * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. + * - One event. + * - The weight of the `call`. + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for + * its lifetime of `DepositBase + threshold * DepositFactor`. + */ asMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -1155,7 +2081,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, Option, Call, SpWeightsWeightV2Weight] >; - /** See [`Pallet::as_multi_threshold_1`]. */ + /** + * Immediately dispatch a multi-signature call using a single approval from the caller. + * + * The dispatch origin for this call must be _Signed_. + * + * - `other_signatories`: The accounts (other than the sender) who are part of the + * multi-signature, but do not participate in the approval process. + * - `call`: The call to be executed. + * + * Result is equivalent to the dispatched result. + * + * ## Complexity + * + * O(Z + C) where Z is the length of the call and C its execution weight. + */ asMultiThreshold1: AugmentedSubmittable< ( otherSignatories: Vec | (AccountId20 | string | Uint8Array)[], @@ -1163,7 +2103,30 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, Call] >; - /** See [`Pallet::cancel_as_multi`]. */ + /** + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously for + * this operation will be unreserved on success. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. + * May not be empty. + * - `timepoint`: The timepoint (block number and transaction index) of the first approval + * transaction for this dispatch. + * - `call_hash`: The hash of the call to be executed. + * + * ## Complexity + * + * - `O(S)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. + * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One encode & hash, both of complexity `O(S)`. + * - One event. + * - I/O: 1 read `O(S)`, one remove. + * - Storage: removes one item. + */ cancelAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -1177,7 +2140,32 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; openTechCommitteeCollective: { - /** See [`Pallet::close`]. */ + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is has + * enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections unless + * there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will be + * waived. Otherwise execution of the approved operation will be charged to the caller. + * + * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. + * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * ## Complexity + * + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + */ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -1191,12 +2179,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact] >; - /** See [`Pallet::disapprove_proposal`]. */ + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * + * Must be called by the Root origin. + * + * Parameters: + * + * - `proposal_hash`: The hash of the proposal that should be disapproved. + * + * ## Complexity + * + * O(P) where P is the number of max proposals + */ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::execute`]. */ + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * ## Complexity: + * + * - `O(B + M + P)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` members-count (code-bounded) + * - `P` complexity of dispatching `proposal` + */ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -1204,7 +2215,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, Compact] >; - /** See [`Pallet::propose`]. */ + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up + * for voting. + * + * ## Complexity + * + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - Branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + */ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -1213,7 +2240,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Call, Compact] >; - /** See [`Pallet::set_members`]. */ + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for weight + * estimation. + * + * The dispatch of this call must be `SetMembersOrigin`. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the + * weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful + * that the member set doesn't get out of sync with other logic managing the member set. + * + * ## Complexity: + * + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + */ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -1222,7 +2274,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, Option, u32] >; - /** See [`Pallet::vote`]. */ + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal for the + * first time and the call is successful. Subsequent vote changes will charge a fee. + * + * ## Complexity + * + * - `O(M)` where `M` is members-count (code- and governance-bounded) + */ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -1235,24 +2298,33 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; parachainStaking: { - /** See [`Pallet::cancel_candidate_bond_less`]. */ + /** Cancel pending request to adjust the collator candidate self bond */ cancelCandidateBondLess: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::cancel_delegation_request`]. */ + /** Cancel request to change an existing delegation. */ cancelDelegationRequest: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::cancel_leave_candidates`]. */ + /** + * Cancel open request to leave candidates + * + * - Only callable by collator account + * - Result upon successful call is the candidate is active in the candidate pool + */ cancelLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::candidate_bond_more`]. */ + /** Increase collator candidate self bond by `more` */ candidateBondMore: AugmentedSubmittable< (more: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** See [`Pallet::delegate`]. */ + /** + * DEPRECATED use delegateWithAutoCompound If caller is not a delegator and not a collator, + * then join the set of delegators If caller is a delegator, then makes delegation to change + * their delegation state + */ delegate: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1262,7 +2334,11 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32, u32] >; - /** See [`Pallet::delegate_with_auto_compound`]. */ + /** + * If caller is not a delegator and not a collator, then join the set of delegators If caller + * is a delegator, then makes delegation to change their delegation state Sets the + * auto-compound config for the delegation + */ delegateWithAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1274,7 +2350,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, Percent, u32, u32, u32] >; - /** See [`Pallet::delegator_bond_more`]. */ + /** Bond more for delegators wrt a specific collator candidate. */ delegatorBondMore: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1282,17 +2358,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** See [`Pallet::enable_marking_offline`]. */ + /** Enable/Disable marking offline feature */ enableMarkingOffline: AugmentedSubmittable< (value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** See [`Pallet::execute_candidate_bond_less`]. */ + /** Execute pending request to adjust the collator candidate self bond */ executeCandidateBondLess: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::execute_delegation_request`]. */ + /** Execute pending request to change an existing delegation */ executeDelegationRequest: AugmentedSubmittable< ( delegator: AccountId20 | string | Uint8Array, @@ -1300,7 +2376,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20] >; - /** See [`Pallet::execute_leave_candidates`]. */ + /** Execute leave candidates request */ executeLeaveCandidates: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1308,7 +2384,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u32] >; - /** See [`Pallet::force_join_candidates`]. */ + /** Force join the set of collator candidates. It will skip the minimum required bond check. */ forceJoinCandidates: AugmentedSubmittable< ( account: AccountId20 | string | Uint8Array, @@ -1317,18 +2393,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32] >; - /** See [`Pallet::go_offline`]. */ + /** Temporarily leave the set of collator candidates without unbonding */ goOffline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::go_online`]. */ + /** Rejoin the set of collator candidates if previously had called `go_offline` */ goOnline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::hotfix_remove_delegation_requests_exited_candidates`]. */ + /** Hotfix to remove existing empty entries for candidates that have left. */ hotfixRemoveDelegationRequestsExitedCandidates: AugmentedSubmittable< ( candidates: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::join_candidates`]. */ + /** Join the set of collator candidates */ joinCandidates: AugmentedSubmittable< ( bond: u128 | AnyNumber | Uint8Array, @@ -1336,23 +2412,27 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** See [`Pallet::notify_inactive_collator`]. */ + /** Notify a collator is inactive during MaxOfflineRounds */ notifyInactiveCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::removed_call_19`]. */ + /** REMOVED, was schedule_leave_delegators */ removedCall19: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::removed_call_20`]. */ + /** REMOVED, was execute_leave_delegators */ removedCall20: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::removed_call_21`]. */ + /** REMOVED, was cancel_leave_delegators */ removedCall21: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::schedule_candidate_bond_less`]. */ + /** Request by collator candidate to decrease self bond by `less` */ scheduleCandidateBondLess: AugmentedSubmittable< (less: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** See [`Pallet::schedule_delegator_bond_less`]. */ + /** + * Request bond less for delegators wrt a specific collator candidate. The delegation's + * rewards for rounds while the request is pending use the reduced bonded amount. A bond less + * may not be performed if any other scheduled request is pending. + */ scheduleDelegatorBondLess: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1360,17 +2440,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** See [`Pallet::schedule_leave_candidates`]. */ + /** + * Request to leave the set of candidates. If successful, the account is immediately removed + * from the candidate pool to prevent selection as a collator. + */ scheduleLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::schedule_revoke_delegation`]. */ + /** + * Request to revoke an existing delegation. If successful, the delegation is scheduled to be + * allowed to be revoked via the `execute_delegation_request` extrinsic. The delegation + * receives no rewards for the rounds while a revoke is pending. A revoke may not be performed + * if any other scheduled request is pending. + */ scheduleRevokeDelegation: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::set_auto_compound`]. */ + /** Sets the auto-compounding reward percentage for a delegation. */ setAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1380,17 +2468,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Percent, u32, u32] >; - /** See [`Pallet::set_blocks_per_round`]. */ + /** + * Set blocks per round + * + * - If called with `new` less than length of current round, will transition immediately in the next block + * - Also updates per-round inflation config + */ setBlocksPerRound: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::set_collator_commission`]. */ + /** Set the commission for all collators */ setCollatorCommission: AugmentedSubmittable< (updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** See [`Pallet::set_inflation`]. */ + /** Set the annual inflation rate to derive per-round inflation */ setInflation: AugmentedSubmittable< ( schedule: @@ -1411,17 +2504,20 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** See [`Pallet::set_parachain_bond_account`]. */ + /** Set the account that will hold funds set aside for parachain bond */ setParachainBondAccount: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::set_parachain_bond_reserve_percent`]. */ + /** Set the percent of inflation set aside for parachain bond */ setParachainBondReservePercent: AugmentedSubmittable< (updated: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Percent] >; - /** See [`Pallet::set_staking_expectations`]. */ + /** + * Set the expectations for total staked. These expectations determine the issuance for the + * round according to logic in `fn compute_issuance` + */ setStakingExpectations: AugmentedSubmittable< ( expectations: @@ -1442,7 +2538,11 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** See [`Pallet::set_total_selected`]. */ + /** + * Set the total number of collator candidates selected per round + * + * - Changes are not applied until the start of the next round + */ setTotalSelected: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -1451,7 +2551,15 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { - /** See [`Pallet::authorize_upgrade`]. */ + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * + * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec + * version and name should be verified on upgrade. Since the authorization only has a hash, it + * cannot actually perform the verification. + * + * This call requires Root origin. + */ authorizeUpgrade: AugmentedSubmittable< ( codeHash: H256 | string | Uint8Array, @@ -1459,12 +2567,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, bool] >; - /** See [`Pallet::enact_authorized_upgrade`]. */ + /** + * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. + * + * If the authorization required a version check, this call will ensure the spec name remains + * unchanged and that the spec version has increased. + * + * Note that this function will not apply the new `code`, but only attempt to schedule the + * upgrade with the Relay Chain. + * + * All origins are allowed. + */ enactAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_validation_data`]. */ + /** + * Set the current validation data. + * + * This should be invoked exactly once per block. It will panic at the finalization phase if + * the call was not invoked. + * + * The dispatch origin for this call must be `Inherent` + * + * As a side effect, this function upgrades the current validation function if the appropriate + * time has come. + */ setValidationData: AugmentedSubmittable< ( data: @@ -1480,7 +2608,6 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesParachainInherentParachainInherentData] >; - /** See [`Pallet::sudo_send_upward_message`]. */ sudoSendUpwardMessage: AugmentedSubmittable< (message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1489,7 +2616,42 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { - /** See [`Pallet::execute`]. */ + /** + * Claims assets trapped on this pallet because of leftover assets during XCM execution. + * + * - `origin`: Anyone can call this extrinsic. + * - `assets`: The exact assets that were trapped. Use the version to specify what version was + * the latest when they were trapped. + * - `beneficiary`: The location/account where the claimed assets will be deposited. + */ + claimAssets: AugmentedSubmittable< + ( + assets: + | XcmVersionedAssets + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + beneficiary: + | XcmVersionedLocation + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedAssets, XcmVersionedLocation] + >; + /** + * Execute an XCM message from a local, signed, origin. + * + * An event is deposited indicating whether `msg` could be executed completely or only partially. + * + * No more than `max_weight` will be used in its attempted execution. If this is less than the + * maximum amount of weight that the message could take to be executed, then no execution + * attempt will be made. + */ execute: AugmentedSubmittable< ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -1501,14 +2663,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedXcm, SpWeightsWeightV2Weight] >; - /** See [`Pallet::force_default_xcm_version`]. */ + /** + * Set a safe XCM version (the version that XCM should be encoded with if the most recent + * version a destination can accept is unknown). + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. + */ forceDefaultXcmVersion: AugmentedSubmittable< ( maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber ) => SubmittableExtrinsic, [Option] >; - /** See [`Pallet::force_subscribe_version_notify`]. */ + /** + * Ask a location to notify us regarding their XCM version and any changes to it. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The location to which we should subscribe for XCM version notifications. + */ forceSubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -1521,12 +2694,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::force_suspension`]. */ + /** + * Set or unset the global suspension state of the XCM executor. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `suspended`: `true` to suspend, `false` to resume. + */ forceSuspension: AugmentedSubmittable< (suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** See [`Pallet::force_unsubscribe_version_notify`]. */ + /** + * Require that a particular destination should no longer notify us regarding any XCM version changes. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The location to which we are currently subscribed for XCM version notifications + * which we no longer desire. + */ forceUnsubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -1539,7 +2723,13 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::force_xcm_version`]. */ + /** + * Extoll that a particular destination can be communicated with through a particular version of XCM. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The destination that is being described. + * - `xcm_version`: The latest version of XCM that `location` supports. + */ forceXcmVersion: AugmentedSubmittable< ( location: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, @@ -1547,7 +2737,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [StagingXcmV4Location, u32] >; - /** See [`Pallet::limited_reserve_transfer_assets`]. */ + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve. + * + * `assets` must have same reserve location and may not be teleportable to `dest`. + * + * - `assets` have local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to `dest` + * chain to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to + * mint and deposit reserve-based assets to `beneficiary`. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is + * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ limitedReserveTransferAssets: AugmentedSubmittable< ( dest: @@ -1581,7 +2799,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; - /** See [`Pallet::limited_teleport_assets`]. */ + /** + * Teleport some assets from the local chain to some destination chain. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is + * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ limitedTeleportAssets: AugmentedSubmittable< ( dest: @@ -1615,7 +2849,36 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; - /** See [`Pallet::reserve_transfer_assets`]. */ + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve. + * + * `assets` must have same reserve location and may not be teleportable to `dest`. + * + * - `assets` have local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to `dest` + * chain to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to + * mint and deposit reserve-based assets to `beneficiary`. + * + * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all + * fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + */ reserveTransferAssets: AugmentedSubmittable< ( dest: @@ -1643,7 +2906,6 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32] >; - /** See [`Pallet::send`]. */ send: AugmentedSubmittable< ( dest: @@ -1657,7 +2919,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedXcm] >; - /** See [`Pallet::teleport_assets`]. */ + /** + * Teleport some assets from the local chain to some destination chain. + * + * **This function is deprecated: Use `limited_teleport_assets` instead.** + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all + * fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + */ teleportAssets: AugmentedSubmittable< ( dest: @@ -1685,7 +2964,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32] >; - /** See [`Pallet::transfer_assets`]. */ + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve, or through teleports. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item` (hence referred to as `fees`), up to enough to pay for `weight_limit` of + * weight. If more weight is needed than `weight_limit`, then the operation will fail and the + * sent assets may be at risk. + * + * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable to + * `dest`, no limitations imposed on `fees`. + * + * - For local reserve: transfer assets to sovereign account of destination chain and forward a + * notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - For destination reserve: burn local assets and forward a notification to `dest` chain to + * withdraw the reserve assets from this chain's sovereign account and deposit them to `beneficiary`. + * - For remote reserve: burn local assets, forward XCM to reserve chain to move reserves from + * this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint and + * deposit reserve-based assets to `beneficiary`. + * - For teleports: burn local assets and forward XCM to `dest` chain to mint/teleport assets + * and deposit them to `beneficiary`. + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` + * to send from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ transferAssets: AugmentedSubmittable< ( dest: @@ -1719,31 +3028,161 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; + /** + * Transfer assets from the local chain to the destination chain using explicit transfer types + * for assets and fees. + * + * `assets` must have same reserve location or may be teleportable to `dest`. Caller must + * provide the `assets_transfer_type` to be used for `assets`: + * + * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - `TransferType::DestinationReserve`: burn local assets and forward a notification to `dest` + * chain to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` chain + * to move reserves from this chain's SA to `dest` chain's SA, and forward another XCM to + * `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically the remote + * `reserve` is Asset Hub. + * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to + * mint/teleport assets and deposit them to `beneficiary`. + * + * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to buy + * execution using transferred `assets` identified by `remote_fees_id`. Make sure enough of + * the specified `remote_fees_id` asset is included in the given list of `assets`. + * `remote_fees_id` should be enough to pay for `weight_limit`. If more weight is needed than + * `weight_limit`, then the operation will fail and the sent assets may be at risk. + * + * `remote_fees_id` may use different transfer type than rest of `assets` and can be specified + * through `fees_transfer_type`. + * + * The caller needs to specify what should happen to the transferred assets once they reach + * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which contains + * the instructions to execute on `dest` as a final step. This is usually as simple as: + * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, but + * could be something more exotic like sending the `assets` even further. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain, + * or `(parents: 2, (GlobalConsensus(..), ..))` to send from parachain across a bridge to + * another ecosystem destination. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. + * - `remote_fees_id`: One of the included `assets` to be be used to pay fees. + * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. + * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the + * transfer, which also determines what happens to the assets on the destination chain. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ + transferAssetsUsingTypeAndThen: AugmentedSubmittable< + ( + dest: + | XcmVersionedLocation + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + assets: + | XcmVersionedAssets + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + assetsTransferType: + | StagingXcmExecutorAssetTransferTransferType + | { Teleport: any } + | { LocalReserve: any } + | { DestinationReserve: any } + | { RemoteReserve: any } + | string + | Uint8Array, + remoteFeesId: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array, + feesTransferType: + | StagingXcmExecutorAssetTransferTransferType + | { Teleport: any } + | { LocalReserve: any } + | { DestinationReserve: any } + | { RemoteReserve: any } + | string + | Uint8Array, + customXcmOnDest: + | XcmVersionedXcm + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + weightLimit: + | XcmV3WeightLimit + | { Unlimited: any } + | { Limited: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [ + XcmVersionedLocation, + XcmVersionedAssets, + StagingXcmExecutorAssetTransferTransferType, + XcmVersionedAssetId, + StagingXcmExecutorAssetTransferTransferType, + XcmVersionedXcm, + XcmV3WeightLimit + ] + >; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; preimage: { - /** See [`Pallet::ensure_updated`]. */ + /** + * Ensure that the a bulk of pre-images is upgraded. + * + * The caller pays no fee if at least 90% of pre-images were successfully updated. + */ ensureUpdated: AugmentedSubmittable< (hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::note_preimage`]. */ + /** + * Register a preimage on-chain. + * + * If the preimage was previously requested, no fees or deposits are taken for providing the + * preimage. Otherwise, a deposit is taken proportional to the size of the preimage. + */ notePreimage: AugmentedSubmittable< (bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::request_preimage`]. */ + /** + * Request a preimage be uploaded to the chain without paying any fees or deposits. + * + * If the preimage requests has already been provided on-chain, we unreserve any deposit a + * user may have paid, and take the control of the preimage out of their hands. + */ requestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::unnote_preimage`]. */ + /** + * Clear an unrequested preimage from the runtime storage. + * + * If `len` is provided, then it will be a much cheaper operation. + * + * - `hash`: The hash of the preimage to be removed from the store. + * - `len`: The length of the preimage of `hash`. + */ unnotePreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::unrequest_preimage`]. */ + /** + * Clear a previously made request for a preimage. + * + * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. + */ unrequestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -1752,7 +3191,17 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; proxy: { - /** See [`Pallet::add_proxy`]. */ + /** + * Register a proxy account for the sender that is able to make calls on its behalf. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `proxy`: The account that the `caller` would like to make a proxy. + * - `proxy_type`: The permissions allowed for this proxy account. + * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + */ addProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1772,7 +3221,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonbaseRuntimeProxyType, u32] >; - /** See [`Pallet::announce`]. */ + /** + * Publish the hash of a proxy-call that will be made in the future. + * + * This must be called some number of blocks before the corresponding `proxy` is attempted if + * the delay associated with the proxy relationship is greater than zero. + * + * No more than `MaxPending` announcements may be made at any one time. + * + * This will take a deposit of `AnnouncementDepositFactor` as well as + * `AnnouncementDepositBase` if there are no other pending announcements. + * + * The dispatch origin for this call must be _Signed_ and a proxy of `real`. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `call_hash`: The hash of the call to be made by the `real` account. + */ announce: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -1780,7 +3246,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, H256] >; - /** See [`Pallet::create_pure`]. */ + /** + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and initialize + * it with a proxy of `proxy_type` for `origin` sender. + * + * Requires a `Signed` origin. + * + * - `proxy_type`: The type of the proxy that the sender will be registered as over the new + * account. This will almost always be the most permissive `ProxyType` possible to allow for + * maximum flexibility. + * - `index`: A disambiguation index, in case this is called multiple times in the same + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + * + * Fails with `Duplicate` if this has already been called in this transaction, from the same + * sender, with the same parameters. + * + * Fails if there are insufficient funds to pay for deposit. + */ createPure: AugmentedSubmittable< ( proxyType: @@ -1800,7 +3284,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbaseRuntimeProxyType, u32, u16] >; - /** See [`Pallet::kill_pure`]. */ + /** + * Removes a previously spawned pure proxy. + * + * WARNING: **All access to this account will be lost.** Any funds held in it will be inaccessible. + * + * Requires a `Signed` origin, and the sender account must have been created by a call to + * `pure` with corresponding parameters. + * + * - `spawner`: The account that originally called `pure` to create this account. + * - `index`: The disambiguation index originally passed to `pure`. Probably `0`. + * - `proxy_type`: The proxy type originally passed to `pure`. + * - `height`: The height of the chain when the call to `pure` was processed. + * - `ext_index`: The extrinsic index in which the call to `pure` was processed. + * + * Fails with `NoPermission` in case the caller is not a previously created pure account whose + * `pure` call has corresponding parameters. + */ killPure: AugmentedSubmittable< ( spawner: AccountId20 | string | Uint8Array, @@ -1822,7 +3322,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonbaseRuntimeProxyType, u16, Compact, Compact] >; - /** See [`Pallet::proxy`]. */ + /** + * Dispatch the given `call` from an account that the sender is authorised for through `add_proxy`. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. + * - `call`: The call to be made by the `real` account. + */ proxy: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -1844,7 +3354,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Option, Call] >; - /** See [`Pallet::proxy_announced`]. */ + /** + * Dispatch the given `call` from an account that the sender is authorized for through `add_proxy`. + * + * Removes any corresponding announcement(s). + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. + * - `call`: The call to be made by the `real` account. + */ proxyAnnounced: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1867,7 +3389,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Option, Call] >; - /** See [`Pallet::reject_announcement`]. */ + /** + * Remove the given announcement of a delegate. + * + * May be called by a target (proxied) account to remove a call that one of their delegates + * (`delegate`) has announced they want to execute. The deposit is returned. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `delegate`: The account that previously announced the call. + * - `call_hash`: The hash of the call to be made. + */ rejectAnnouncement: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1875,7 +3409,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, H256] >; - /** See [`Pallet::remove_announcement`]. */ + /** + * Remove a given announcement. + * + * May be called by a proxy account to remove a call they previously announced and return the deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `call_hash`: The hash of the call to be made by the `real` account. + */ removeAnnouncement: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -1883,9 +3428,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, H256] >; - /** See [`Pallet::remove_proxies`]. */ + /** + * Unregister all proxy accounts for the sender. + * + * The dispatch origin for this call must be _Signed_. + * + * WARNING: This may be called on accounts created by `pure`, however if done, then the + * unreserved fees will be inaccessible. **All access to this account will be lost.** + */ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::remove_proxy`]. */ + /** + * Unregister a proxy account for the sender. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `proxy`: The account that the `caller` would like to remove as a proxy. + * - `proxy_type`: The permissions currently enabled for the removed proxy account. + */ removeProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1909,48 +3470,109 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; randomness: { - /** See [`Pallet::set_babe_randomness_results`]. */ + /** Populates `RandomnessResults` due this epoch with BABE epoch randomness */ setBabeRandomnessResults: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; referenda: { - /** See [`Pallet::cancel`]. */ + /** + * Cancel an ongoing referendum. + * + * - `origin`: must be the `CancelOrigin`. + * - `index`: The index of the referendum to be cancelled. + * + * Emits `Cancelled`. + */ cancel: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::kill`]. */ + /** + * Cancel an ongoing referendum and slash the deposits. + * + * - `origin`: must be the `KillOrigin`. + * - `index`: The index of the referendum to be cancelled. + * + * Emits `Killed` and `DepositSlashed`. + */ kill: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::nudge_referendum`]. */ + /** + * Advance a referendum onto its next logical state. Only used internally. + * + * - `origin`: must be `Root`. + * - `index`: the referendum to be advanced. + */ nudgeReferendum: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::one_fewer_deciding`]. */ + /** + * Advance a track onto its next logical state. Only used internally. + * + * - `origin`: must be `Root`. + * - `track`: the track to be advanced. + * + * Action item for when there is now one fewer referendum in the deciding phase and the + * `DecidingCount` is not yet updated. This means that we should either: + * + * - Begin deciding another referendum (and leave `DecidingCount` alone); or + * - Decrement `DecidingCount`. + */ oneFewerDeciding: AugmentedSubmittable< (track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** See [`Pallet::place_decision_deposit`]. */ + /** + * Post the Decision Deposit for a referendum. + * + * - `origin`: must be `Signed` and the account must have funds available for the referendum's + * track's Decision Deposit. + * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be posted. + * + * Emits `DecisionDepositPlaced`. + */ placeDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::refund_decision_deposit`]. */ + /** + * Refund the Decision Deposit for a closed referendum back to the depositor. + * + * - `origin`: must be `Signed` or `Root`. + * - `index`: The index of a closed referendum whose Decision Deposit has not yet been refunded. + * + * Emits `DecisionDepositRefunded`. + */ refundDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::refund_submission_deposit`]. */ + /** + * Refund the Submission Deposit for a closed referendum back to the depositor. + * + * - `origin`: must be `Signed` or `Root`. + * - `index`: The index of a closed referendum whose Submission Deposit has not yet been refunded. + * + * Emits `SubmissionDepositRefunded`. + */ refundSubmissionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::set_metadata`]. */ + /** + * Set or clear metadata of a referendum. + * + * Parameters: + * + * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a metadata of + * a finished referendum. + * - `index`: The index of a referendum to set or clear metadata for. + * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. + */ setMetadata: AugmentedSubmittable< ( index: u32 | AnyNumber | Uint8Array, @@ -1958,7 +3580,16 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option] >; - /** See [`Pallet::submit`]. */ + /** + * Propose a referendum on a privileged action. + * + * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds available. + * - `proposal_origin`: The origin from which the proposal should be executed. + * - `proposal`: The proposal. + * - `enactment_moment`: The moment that the proposal should be enacted. + * + * Emits `Submitted`. + */ submit: AugmentedSubmittable< ( proposalOrigin: @@ -1998,18 +3629,17 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; rootTesting: { - /** See `Pallet::fill_block`. */ + /** A dispatch that will fill the block weight up to the given ratio. */ fillBlock: AugmentedSubmittable< (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** See `Pallet::trigger_defensive`. */ triggerDefensive: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; scheduler: { - /** See [`Pallet::cancel`]. */ + /** Cancel an anonymously scheduled task. */ cancel: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -2017,12 +3647,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, u32] >; - /** See [`Pallet::cancel_named`]. */ + /** Cancel a named scheduled task. */ cancelNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** See [`Pallet::schedule`]. */ + /** Removes the retry configuration of a task. */ + cancelRetry: AugmentedSubmittable< + ( + task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] + ) => SubmittableExtrinsic, + [ITuple<[u32, u32]>] + >; + /** Cancel the retry configuration of a named task. */ + cancelRetryNamed: AugmentedSubmittable< + (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, + [U8aFixed] + >; + /** Anonymously schedule a task. */ schedule: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -2037,7 +3679,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** See [`Pallet::schedule_after`]. */ + /** Anonymously schedule a task after a delay. */ scheduleAfter: AugmentedSubmittable< ( after: u32 | AnyNumber | Uint8Array, @@ -2052,7 +3694,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** See [`Pallet::schedule_named`]. */ + /** Schedule a named task. */ scheduleNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -2068,7 +3710,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; - /** See [`Pallet::schedule_named_after`]. */ + /** Schedule a named task after a delay. */ scheduleNamedAfter: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -2084,23 +3726,71 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; + /** + * Set a retry configuration for a task so that, in case its scheduled run fails, it will be + * retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * + * Tasks which need to be scheduled for a retry are still subject to weight metering and + * agenda space, same as a regular task. If a periodic task fails, it will be scheduled + * normally while the task is retrying. + * + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones + * of the original task. Their retry configuration will be derived from the original task's + * configuration, but will have a lower value for `remaining` than the original `total_retries`. + */ + setRetry: AugmentedSubmittable< + ( + task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], + retries: u8 | AnyNumber | Uint8Array, + period: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [ITuple<[u32, u32]>, u8, u32] + >; + /** + * Set a retry configuration for a named task so that, in case its scheduled run fails, it + * will be retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * + * Tasks which need to be scheduled for a retry are still subject to weight metering and + * agenda space, same as a regular task. If a periodic task fails, it will be scheduled + * normally while the task is retrying. + * + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones + * of the original task. Their retry configuration will be derived from the original task's + * configuration, but will have a lower value for `remaining` than the original `total_retries`. + */ + setRetryNamed: AugmentedSubmittable< + ( + id: U8aFixed | string | Uint8Array, + retries: u8 | AnyNumber | Uint8Array, + period: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [U8aFixed, u8, u32] + >; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; sudo: { - /** See [`Pallet::remove_key`]. */ + /** + * Permanently removes the sudo key. + * + * **This cannot be un-done.** + */ removeKey: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::set_key`]. */ + /** Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo key. */ setKey: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::sudo`]. */ + /** Authenticates the sudo key and dispatches a function call with `Root` origin. */ sudo: AugmentedSubmittable< (call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call] >; - /** See [`Pallet::sudo_as`]. */ + /** + * Authenticates the sudo key and dispatches a function call with `Signed` origin from a given account. + * + * The dispatch origin for this call must be _Signed_. + */ sudoAs: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -2108,7 +3798,13 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Call] >; - /** See [`Pallet::sudo_unchecked_weight`]. */ + /** + * Authenticates the sudo key and dispatches a function call with `Root` origin. This function + * does not check the weight of the call, and instead allows the Sudo user to specify the + * weight of the call. + * + * The dispatch origin for this call must be _Signed_. + */ sudoUncheckedWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -2120,22 +3816,49 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; system: { - /** See [`Pallet::apply_authorized_upgrade`]. */ + /** + * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. + * + * If the authorization required a version check, this call will ensure the spec name remains + * unchanged and that the spec version has increased. + * + * Depending on the runtime's `OnSetCode` configuration, this function may directly apply the + * new `code` in the same block or attempt to schedule the upgrade. + * + * All origins are allowed. + */ applyAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::authorize_upgrade`]. */ + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * + * This call requires Root origin. + */ authorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::authorize_upgrade_without_checks`]. */ + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * + * WARNING: This authorizes an upgrade that will take place without any safety checks, for + * example that the spec name remains the same and that the version number increases. Not + * recommended for normal use. Use `authorize_upgrade` instead. + * + * This call requires Root origin. + */ authorizeUpgradeWithoutChecks: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::kill_prefix`]. */ + /** + * Kill all storage items with a key that starts with the given prefix. + * + * **NOTE:** We rely on the Root origin to provide us the number of subkeys under the prefix + * we are removing to accurately calculate the weight of this function. + */ killPrefix: AugmentedSubmittable< ( prefix: Bytes | string | Uint8Array, @@ -2143,37 +3866,45 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Bytes, u32] >; - /** See [`Pallet::kill_storage`]. */ + /** Kill some items from storage. */ killStorage: AugmentedSubmittable< (keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::remark`]. */ + /** + * Make some on-chain remark. + * + * Can be executed by every `origin`. + */ remark: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::remark_with_event`]. */ + /** Make some on-chain remark and emit event. */ remarkWithEvent: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_code`]. */ + /** Set the new runtime code. */ setCode: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_code_without_checks`]. */ + /** + * Set the new runtime code without doing any checks of the given `code`. + * + * Note that runtime upgrades will not run if this is called with a not-increasing spec version! + */ setCodeWithoutChecks: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_heap_pages`]. */ + /** Set the number of pages in the WebAssembly environment's heap. */ setHeapPages: AugmentedSubmittable< (pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64] >; - /** See [`Pallet::set_storage`]. */ + /** Set some items of storage. */ setStorage: AugmentedSubmittable< ( items: @@ -2186,7 +3917,27 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; timestamp: { - /** See [`Pallet::set`]. */ + /** + * Set the current time. + * + * This call should be invoked exactly once per block. It will panic at the finalization + * phase, if this call hasn't been invoked by that time. + * + * The timestamp should be greater than the previous one by the amount specified by + * [`Config::MinimumPeriod`]. + * + * The dispatch origin for this call must be _None_. + * + * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware that + * changing the complexity of this call could result exhausting the resources in a block to + * execute any other calls. + * + * ## Complexity + * + * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) + * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in `on_finalize`) + * - 1 event handler `on_timestamp_set`. Must be `O(1)`. + */ set: AugmentedSubmittable< (now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -2195,22 +3946,102 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; treasury: { - /** See [`Pallet::approve_proposal`]. */ + /** + * Approve a proposal. + * + * ## Dispatch Origin + * + * Must be [`Config::ApproveOrigin`]. + * + * ## Details + * + * At a later time, the proposal will be allocated to the beneficiary and the original deposit + * will be returned. + * + * ### Complexity + * + * - O(1). + * + * ## Events + * + * No events are emitted from this dispatch. + */ approveProposal: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::check_status`]. */ + /** + * Check the status of the spend and remove it from the storage if processed. + * + * ## Dispatch Origin + * + * Must be signed. + * + * ## Details + * + * The status check is a prerequisite for retrying a failed payout. If a spend has either + * succeeded or expired, it is removed from the storage by this function. In such instances, + * transaction fees are refunded. + * + * ### Parameters + * + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::PaymentFailed`] if the spend payout has failed. Emits + * [`Event::SpendProcessed`] if the spend payout has succeed. + */ checkStatus: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::payout`]. */ + /** + * Claim a spend. + * + * ## Dispatch Origin + * + * Must be signed. + * + * ## Details + * + * Spends must be claimed within some temporal bounds. A spend may be claimed within one + * [`Config::PayoutPeriod`] from the `valid_from` block. In case of a payout failure, the + * spend status must be updated with the `check_status` dispatchable before retrying with the + * current function. + * + * ### Parameters + * + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::Paid`] if successful. + */ payout: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::propose_spend`]. */ + /** + * Put forward a suggestion for spending. + * + * ## Dispatch Origin + * + * Must be signed. + * + * ## Details + * + * A deposit proportional to the value is reserved and slashed if the proposal is rejected. It + * is returned once the proposal is awarded. + * + * ### Complexity + * + * - O(1) + * + * ## Events + * + * Emits [`Event::Proposed`] if successful. + */ proposeSpend: AugmentedSubmittable< ( value: Compact | AnyNumber | Uint8Array, @@ -2218,17 +4049,86 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::reject_proposal`]. */ + /** + * Reject a proposed spend. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * The original deposit will be slashed. + * + * ### Complexity + * + * - O(1) + * + * ## Events + * + * Emits [`Event::Rejected`] if successful. + */ rejectProposal: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::remove_approval`]. */ + /** + * Force a previously approved proposal to be removed from the approval queue. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * The original deposit will no longer be returned. + * + * ### Parameters + * + * - `proposal_id`: The index of a proposal + * + * ### Complexity + * + * - O(A) where `A` is the number of approvals + * + * ### Errors + * + * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the approval + * queue, i.e., the proposal has not been approved. This could also mean the proposal does + * not exist altogether, thus there is no way it would have been approved in the first place. + */ removeApproval: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::spend`]. */ + /** + * Propose and approve a spend of treasury funds. + * + * ## Dispatch Origin + * + * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount` of + * `asset_kind` in the native asset. The amount of `asset_kind` is converted for assertion + * using the [`Config::BalanceConverter`]. + * + * ## Details + * + * Create an approved spend for transferring a specific `amount` of `asset_kind` to a + * designated beneficiary. The spend must be claimed using the `payout` dispatchable within + * the [`Config::PayoutPeriod`]. + * + * ### Parameters + * + * - `asset_kind`: An indicator of the specific asset class to be spent. + * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. + * - `beneficiary`: The beneficiary of the spend. + * - `valid_from`: The block number from which the spend can be claimed. It can refer to the + * past if the resulting spend has not yet expired according to the + * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after approval. + * + * ## Events + * + * Emits [`Event::AssetSpendApproved`] if successful. + */ spend: AugmentedSubmittable< ( assetKind: Null | null, @@ -2238,7 +4138,26 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Null, Compact, AccountId20, Option] >; - /** See [`Pallet::spend_local`]. */ + /** + * Propose and approve a spend of treasury funds. + * + * ## Dispatch Origin + * + * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. + * + * ### Details + * + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary. + * + * ### Parameters + * + * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. + * - `beneficiary`: The destination account for the transfer. + * + * ## Events + * + * Emits [`Event::SpendApproved`] if successful. + */ spendLocal: AugmentedSubmittable< ( amount: Compact | AnyNumber | Uint8Array, @@ -2246,7 +4165,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::void_spend`]. */ + /** + * Void previously approved spend. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * A spend void is only possible if the payout has not been attempted yet. + * + * ### Parameters + * + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::AssetSpendVoided`] if successful. + */ voidSpend: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -2255,7 +4192,32 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; treasuryCouncilCollective: { - /** See [`Pallet::close`]. */ + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is has + * enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections unless + * there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will be + * waived. Otherwise execution of the approved operation will be charged to the caller. + * + * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. + * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * ## Complexity + * + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + */ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -2269,12 +4231,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact] >; - /** See [`Pallet::disapprove_proposal`]. */ + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * + * Must be called by the Root origin. + * + * Parameters: + * + * - `proposal_hash`: The hash of the proposal that should be disapproved. + * + * ## Complexity + * + * O(P) where P is the number of max proposals + */ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::execute`]. */ + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * ## Complexity: + * + * - `O(B + M + P)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` members-count (code-bounded) + * - `P` complexity of dispatching `proposal` + */ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -2282,7 +4267,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, Compact] >; - /** See [`Pallet::propose`]. */ + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up + * for voting. + * + * ## Complexity + * + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - Branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + */ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -2291,7 +4292,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Call, Compact] >; - /** See [`Pallet::set_members`]. */ + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for weight + * estimation. + * + * The dispatch of this call must be `SetMembersOrigin`. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the + * weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful + * that the member set doesn't get out of sync with other logic managing the member set. + * + * ## Complexity: + * + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + */ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -2300,7 +4326,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, Option, u32] >; - /** See [`Pallet::vote`]. */ + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal for the + * first time and the call is successful. Subsequent vote changes will charge a fee. + * + * ## Complexity + * + * - `O(M)` where `M` is members-count (code- and governance-bounded) + */ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -2313,7 +4350,21 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; utility: { - /** See [`Pallet::as_derivative`]. */ + /** + * Send a call through an indexed pseudonym of the sender. + * + * Filter from origin are passed along. The call will be dispatched with an origin which use + * the same filter as the origin of this call. + * + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. because + * you expect `proxy` to have been used prior in the call stack and you do not want the call + * restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` in the Multisig + * pallet instead. + * + * NOTE: Prior to version *12, this was called `as_limited_sub`. + * + * The dispatch origin for this call must be _Signed_. + */ asDerivative: AugmentedSubmittable< ( index: u16 | AnyNumber | Uint8Array, @@ -2321,21 +4372,63 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Call] >; - /** See [`Pallet::batch`]. */ + /** + * Send a batch of dispatch calls. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatched without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * + * - O(C) where C is the number of calls to be batched. + * + * This will return `Ok` in all circumstances. To determine the success of the batch, an event + * is deposited. If a call failed and the batch was interrupted, then the `BatchInterrupted` + * event is deposited, along with the number of successful calls made and the error of the + * failed call. If all were successful, then the `BatchCompleted` event is deposited. + */ batch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::batch_all`]. */ + /** + * Send a batch of dispatch calls and atomically execute them. The whole transaction will + * rollback and fail if any of the calls failed. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatched without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * + * - O(C) where C is the number of calls to be batched. + */ batchAll: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::dispatch_as`]. */ + /** + * Dispatches a function call with a provided origin. + * + * The dispatch origin for this call must be _Root_. + * + * ## Complexity + * + * - O(1). + */ dispatchAs: AugmentedSubmittable< ( asOrigin: @@ -2355,14 +4448,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbaseRuntimeOriginCaller, Call] >; - /** See [`Pallet::force_batch`]. */ + /** + * Send a batch of dispatch calls. Unlike `batch`, it allows errors and won't interrupt. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatch without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * + * - O(C) where C is the number of calls to be batched. + */ forceBatch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::with_weight`]. */ + /** + * Dispatch a function call with a specified weight. + * + * This function does not check the weight of the call, and instead allows the Root origin to + * specify the weight of the call. + * + * The dispatch origin for this call must be _Root_. + */ withWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -2374,7 +4488,6 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; whitelist: { - /** See [`Pallet::dispatch_whitelisted_call`]. */ dispatchWhitelistedCall: AugmentedSubmittable< ( callHash: H256 | string | Uint8Array, @@ -2387,17 +4500,14 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, u32, SpWeightsWeightV2Weight] >; - /** See [`Pallet::dispatch_whitelisted_call_with_preimage`]. */ dispatchWhitelistedCallWithPreimage: AugmentedSubmittable< (call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call] >; - /** See [`Pallet::remove_whitelisted_call`]. */ removeWhitelistedCall: AugmentedSubmittable< (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::whitelist_call`]. */ whitelistCall: AugmentedSubmittable< (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -2406,21 +4516,49 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; xcmpQueue: { - /** See [`Pallet::resume_xcm_execution`]. */ + /** + * Resumes all XCM executions for the XCMP queue. + * + * Note that this function doesn't change the status of the in/out bound channels. + * + * - `origin`: Must pass `ControllerOrigin`. + */ resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::suspend_xcm_execution`]. */ + /** + * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin. + * + * - `origin`: Must pass `ControllerOrigin`. + */ suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::update_drop_threshold`]. */ + /** + * Overwrites the number of pages which must be in the queue after which we drop any further + * messages from the channel. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.drop_threshold` + */ updateDropThreshold: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::update_resume_threshold`]. */ + /** + * Overwrites the number of pages which the queue must be reduced to before it signals that + * message sending may recommence after it has been suspended. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.resume_threshold` + */ updateResumeThreshold: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::update_suspend_threshold`]. */ + /** + * Overwrites the number of pages which must be in the queue for the other side to be told to + * suspend their sending. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.suspend_value` + */ updateSuspendThreshold: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -2429,12 +4567,15 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; xcmTransactor: { - /** See [`Pallet::deregister`]. */ + /** + * De-Register a derivative index. This prevents an account to use a derivative address + * (represented by an index) from our of our sovereign accounts anymore + */ deregister: AugmentedSubmittable< (index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** See [`Pallet::hrmp_manage`]. */ + /** Manage HRMP operations */ hrmpManage: AugmentedSubmittable< ( action: @@ -2462,7 +4603,15 @@ declare module "@polkadot/api-base/types/submittable" { PalletXcmTransactorTransactWeights ] >; - /** See [`Pallet::register`]. */ + /** + * Register a derivative index for an account id. Dispatchable by DerivativeAddressRegistrationOrigin + * + * We do not store the derivative address, but only the index. We do not need to store the + * derivative address to issue calls, only the index is enough + * + * For now an index is registered for all possible destinations and not per-destination. We + * can change this in the future although it would just make things more complicated + */ register: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -2470,7 +4619,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16] >; - /** See [`Pallet::remove_fee_per_second`]. */ + /** Remove the fee per second of an asset on its reserve chain */ removeFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -2483,7 +4632,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::remove_transact_info`]. */ + /** Remove the transact info of a location */ removeTransactInfo: AugmentedSubmittable< ( location: @@ -2496,7 +4645,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::set_fee_per_second`]. */ + /** Set the fee per second of an asset on its reserve chain */ setFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -2510,7 +4659,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, u128] >; - /** See [`Pallet::set_transact_info`]. */ + /** Change the transact info of a location */ setTransactInfo: AugmentedSubmittable< ( location: @@ -2545,7 +4694,13 @@ declare module "@polkadot/api-base/types/submittable" { Option ] >; - /** See [`Pallet::transact_through_derivative`]. */ + /** + * Transact the inner call through a derivative account in a destination chain, using + * 'fee_location' to pay for the fees. This fee_location is given as a multilocation + * + * The caller needs to have the index registered in this pallet. The fee multiasset needs to + * be a reserve asset for the destination transactor::multilocation. + */ transactThroughDerivative: AugmentedSubmittable< ( dest: MoonbaseRuntimeXcmConfigTransactors | "Relay" | number | Uint8Array, @@ -2572,7 +4727,13 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::transact_through_signed`]. */ + /** + * Transact the call through the a signed origin in this chain that should be converted to a + * transaction dispatch account in the destination chain by any method implemented in the + * destination chains runtime + * + * This time we are giving the currency as a currencyId instead of multilocation + */ transactThroughSigned: AugmentedSubmittable< ( dest: @@ -2603,7 +4764,11 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::transact_through_sovereign`]. */ + /** + * Transact the call through the sovereign account in a destination chain, 'fee_payer' pays for the fee + * + * SovereignAccountDispatcherOrigin callable only + */ transactThroughSovereign: AugmentedSubmittable< ( dest: @@ -2649,7 +4814,18 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; xTokens: { - /** See [`Pallet::transfer`]. */ + /** + * Transfer native currencies. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transfer: AugmentedSubmittable< ( currencyId: @@ -2676,7 +4852,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbaseRuntimeXcmConfigCurrencyId, u128, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multiasset`]. */ + /** + * Transfer `Asset`. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMultiasset: AugmentedSubmittable< ( asset: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2696,7 +4883,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedAsset, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multiassets`]. */ + /** + * Transfer several `Asset` specifying the item to be used as fee + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee_item` is index of the Assets that we want to use for payment + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMultiassets: AugmentedSubmittable< ( assets: @@ -2723,7 +4923,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedAssets, u32, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multiasset_with_fee`]. */ + /** + * Transfer `Asset` specifying the fee and amount as separate. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee` is the Asset to be spent to pay for execution in destination chain. Both fee and + * amount will be subtracted form the callers balance For now we only accept fee and asset + * having the same `Location` id. + * + * If `fee` is not high enough to cover for the execution costs in the destination chain, then + * the assets will be trapped in the destination chain + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMultiassetWithFee: AugmentedSubmittable< ( asset: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2744,7 +4962,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedAsset, XcmVersionedAsset, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multicurrencies`]. */ + /** + * Transfer several currencies specifying the item to be used as fee + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee_item` is index of the currencies tuple that we want to use for payment + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMulticurrencies: AugmentedSubmittable< ( currencies: @@ -2782,7 +5013,24 @@ declare module "@polkadot/api-base/types/submittable" { XcmV3WeightLimit ] >; - /** See [`Pallet::transfer_with_fee`]. */ + /** + * Transfer native currencies specifying the fee and amount as separate. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee` is the amount to be spent to pay for execution in destination chain. Both fee and + * amount will be subtracted form the callers balance. + * + * If `fee` is not high enough to cover for the execution costs in the destination chain, then + * the assets will be trapped in the destination chain + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferWithFee: AugmentedSubmittable< ( currencyId: diff --git a/typescript-api/src/moonbase/interfaces/lookup.ts b/typescript-api/src/moonbase/interfaces/lookup.ts index dfbbc24141..6c55124603 100644 --- a/typescript-api/src/moonbase/interfaces/lookup.ts +++ b/typescript-api/src/moonbase/interfaces/lookup.ts @@ -19,22 +19,22 @@ export default { frozen: "u128", flags: "u128", }, - /** Lookup8: frame_support::dispatch::PerDispatchClass */ + /** Lookup9: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassWeight: { normal: "SpWeightsWeightV2Weight", operational: "SpWeightsWeightV2Weight", mandatory: "SpWeightsWeightV2Weight", }, - /** Lookup9: sp_weights::weight_v2::Weight */ + /** Lookup10: sp_weights::weight_v2::Weight */ SpWeightsWeightV2Weight: { refTime: "Compact", proofSize: "Compact", }, - /** Lookup15: sp_runtime::generic::digest::Digest */ + /** Lookup16: sp_runtime::generic::digest::Digest */ SpRuntimeDigest: { logs: "Vec", }, - /** Lookup17: sp_runtime::generic::digest::DigestItem */ + /** Lookup18: sp_runtime::generic::digest::DigestItem */ SpRuntimeDigestDigestItem: { _enum: { Other: "Bytes", @@ -48,13 +48,13 @@ export default { RuntimeEnvironmentUpdated: "Null", }, }, - /** Lookup20: frame_system::EventRecord */ + /** Lookup21: frame_system::EventRecord */ FrameSystemEventRecord: { phase: "FrameSystemPhase", event: "Event", topics: "Vec", }, - /** Lookup22: frame_system::pallet::Event */ + /** Lookup23: frame_system::pallet::Event */ FrameSystemEvent: { _enum: { ExtrinsicSuccess: { @@ -84,21 +84,21 @@ export default { }, }, }, - /** Lookup23: frame_support::dispatch::DispatchInfo */ + /** Lookup24: frame_support::dispatch::DispatchInfo */ FrameSupportDispatchDispatchInfo: { weight: "SpWeightsWeightV2Weight", class: "FrameSupportDispatchDispatchClass", paysFee: "FrameSupportDispatchPays", }, - /** Lookup24: frame_support::dispatch::DispatchClass */ + /** Lookup25: frame_support::dispatch::DispatchClass */ FrameSupportDispatchDispatchClass: { _enum: ["Normal", "Operational", "Mandatory"], }, - /** Lookup25: frame_support::dispatch::Pays */ + /** Lookup26: frame_support::dispatch::Pays */ FrameSupportDispatchPays: { _enum: ["Yes", "No"], }, - /** Lookup26: sp_runtime::DispatchError */ + /** Lookup27: sp_runtime::DispatchError */ SpRuntimeDispatchError: { _enum: { Other: "Null", @@ -117,12 +117,12 @@ export default { RootNotAllowed: "Null", }, }, - /** Lookup27: sp_runtime::ModuleError */ + /** Lookup28: sp_runtime::ModuleError */ SpRuntimeModuleError: { index: "u8", error: "[u8;4]", }, - /** Lookup28: sp_runtime::TokenError */ + /** Lookup29: sp_runtime::TokenError */ SpRuntimeTokenError: { _enum: [ "FundsUnavailable", @@ -137,11 +137,11 @@ export default { "Blocked", ], }, - /** Lookup29: sp_arithmetic::ArithmeticError */ + /** Lookup30: sp_arithmetic::ArithmeticError */ SpArithmeticArithmeticError: { _enum: ["Underflow", "Overflow", "DivisionByZero"], }, - /** Lookup30: sp_runtime::TransactionalError */ + /** Lookup31: sp_runtime::TransactionalError */ SpRuntimeTransactionalError: { _enum: ["LimitReached", "NoLayer"], }, @@ -629,6 +629,16 @@ export default { id: "Option<[u8;32]>", result: "Result", }, + RetrySet: { + task: "(u32,u32)", + id: "Option<[u8;32]>", + period: "u32", + retries: "u8", + }, + RetryCancelled: { + task: "(u32,u32)", + id: "Option<[u8;32]>", + }, CallUnavailable: { task: "(u32,u32)", id: "Option<[u8;32]>", @@ -637,6 +647,10 @@ export default { task: "(u32,u32)", id: "Option<[u8;32]>", }, + RetryFailed: { + task: "(u32,u32)", + id: "Option<[u8;32]>", + }, PermanentlyOverweight: { task: "(u32,u32)", id: "Option<[u8;32]>", @@ -747,12 +761,10 @@ export default { }, }, /** Lookup68: nimbus_primitives::nimbus_crypto::Public */ - NimbusPrimitivesNimbusCryptoPublic: "SpCoreSr25519Public", - /** Lookup69: sp_core::sr25519::Public */ - SpCoreSr25519Public: "[u8;32]", - /** Lookup70: session_keys_primitives::vrf::vrf_crypto::Public */ - SessionKeysPrimitivesVrfVrfCryptoPublic: "SpCoreSr25519Public", - /** Lookup71: pallet_proxy::pallet::Event */ + NimbusPrimitivesNimbusCryptoPublic: "[u8;32]", + /** Lookup69: session_keys_primitives::vrf::vrf_crypto::Public */ + SessionKeysPrimitivesVrfVrfCryptoPublic: "[u8;32]", + /** Lookup70: pallet_proxy::pallet::Event */ PalletProxyEvent: { _enum: { ProxyExecuted: { @@ -783,7 +795,7 @@ export default { }, }, }, - /** Lookup72: moonbase_runtime::ProxyType */ + /** Lookup71: moonbase_runtime::ProxyType */ MoonbaseRuntimeProxyType: { _enum: [ "Any", @@ -796,7 +808,7 @@ export default { "IdentityJudgement", ], }, - /** Lookup74: pallet_maintenance_mode::pallet::Event */ + /** Lookup73: pallet_maintenance_mode::pallet::Event */ PalletMaintenanceModeEvent: { _enum: { EnteredMaintenanceMode: "Null", @@ -809,7 +821,7 @@ export default { }, }, }, - /** Lookup75: pallet_identity::pallet::Event */ + /** Lookup74: pallet_identity::pallet::Event */ PalletIdentityEvent: { _enum: { IdentitySet: { @@ -881,7 +893,7 @@ export default { }, }, }, - /** Lookup77: cumulus_pallet_xcmp_queue::pallet::Event */ + /** Lookup76: cumulus_pallet_xcmp_queue::pallet::Event */ CumulusPalletXcmpQueueEvent: { _enum: { XcmpMessageSent: { @@ -889,7 +901,7 @@ export default { }, }, }, - /** Lookup78: cumulus_pallet_xcm::pallet::Event */ + /** Lookup77: cumulus_pallet_xcm::pallet::Event */ CumulusPalletXcmEvent: { _enum: { InvalidFormat: "[u8;32]", @@ -897,7 +909,7 @@ export default { ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)", }, }, - /** Lookup79: staging_xcm::v4::traits::Outcome */ + /** Lookup78: staging_xcm::v4::traits::Outcome */ StagingXcmV4TraitsOutcome: { _enum: { Complete: { @@ -912,7 +924,7 @@ export default { }, }, }, - /** Lookup80: xcm::v3::traits::Error */ + /** Lookup79: xcm::v3::traits::Error */ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -957,7 +969,7 @@ export default { ExceedsStackLimit: "Null", }, }, - /** Lookup81: cumulus_pallet_dmp_queue::pallet::Event */ + /** Lookup80: cumulus_pallet_dmp_queue::pallet::Event */ CumulusPalletDmpQueueEvent: { _enum: { StartedExport: "Null", @@ -985,7 +997,7 @@ export default { }, }, }, - /** Lookup82: pallet_xcm::pallet::Event */ + /** Lookup81: pallet_xcm::pallet::Event */ PalletXcmEvent: { _enum: { Attempted: { @@ -1108,26 +1120,26 @@ export default { }, }, }, - /** Lookup83: staging_xcm::v4::location::Location */ + /** Lookup82: staging_xcm::v4::location::Location */ StagingXcmV4Location: { parents: "u8", interior: "StagingXcmV4Junctions", }, - /** Lookup84: staging_xcm::v4::junctions::Junctions */ + /** Lookup83: staging_xcm::v4::junctions::Junctions */ StagingXcmV4Junctions: { _enum: { Here: "Null", - X1: "[Lookup86;1]", - X2: "[Lookup86;2]", - X3: "[Lookup86;3]", - X4: "[Lookup86;4]", - X5: "[Lookup86;5]", - X6: "[Lookup86;6]", - X7: "[Lookup86;7]", - X8: "[Lookup86;8]", + X1: "[Lookup85;1]", + X2: "[Lookup85;2]", + X3: "[Lookup85;3]", + X4: "[Lookup85;4]", + X5: "[Lookup85;5]", + X6: "[Lookup85;6]", + X7: "[Lookup85;7]", + X8: "[Lookup85;8]", }, }, - /** Lookup86: staging_xcm::v4::junction::Junction */ + /** Lookup85: staging_xcm::v4::junction::Junction */ StagingXcmV4Junction: { _enum: { Parachain: "Compact", @@ -1157,7 +1169,7 @@ export default { GlobalConsensus: "StagingXcmV4JunctionNetworkId", }, }, - /** Lookup89: staging_xcm::v4::junction::NetworkId */ + /** Lookup88: staging_xcm::v4::junction::NetworkId */ StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", @@ -1178,7 +1190,7 @@ export default { PolkadotBulletin: "Null", }, }, - /** Lookup91: xcm::v3::junction::BodyId */ + /** Lookup90: xcm::v3::junction::BodyId */ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1193,7 +1205,7 @@ export default { Treasury: "Null", }, }, - /** Lookup92: xcm::v3::junction::BodyPart */ + /** Lookup91: xcm::v3::junction::BodyPart */ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", @@ -1214,9 +1226,9 @@ export default { }, }, }, - /** Lookup100: staging_xcm::v4::Xcm */ + /** Lookup99: staging_xcm::v4::Xcm */ StagingXcmV4Xcm: "Vec", - /** Lookup102: staging_xcm::v4::Instruction */ + /** Lookup101: staging_xcm::v4::Instruction */ StagingXcmV4Instruction: { _enum: { WithdrawAsset: "StagingXcmV4AssetAssets", @@ -1356,23 +1368,23 @@ export default { }, }, }, - /** Lookup103: staging_xcm::v4::asset::Assets */ + /** Lookup102: staging_xcm::v4::asset::Assets */ StagingXcmV4AssetAssets: "Vec", - /** Lookup105: staging_xcm::v4::asset::Asset */ + /** Lookup104: staging_xcm::v4::asset::Asset */ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetFungibility", }, - /** Lookup106: staging_xcm::v4::asset::AssetId */ + /** Lookup105: staging_xcm::v4::asset::AssetId */ StagingXcmV4AssetAssetId: "StagingXcmV4Location", - /** Lookup107: staging_xcm::v4::asset::Fungibility */ + /** Lookup106: staging_xcm::v4::asset::Fungibility */ StagingXcmV4AssetFungibility: { _enum: { Fungible: "Compact", NonFungible: "StagingXcmV4AssetAssetInstance", }, }, - /** Lookup108: staging_xcm::v4::asset::AssetInstance */ + /** Lookup107: staging_xcm::v4::asset::AssetInstance */ StagingXcmV4AssetAssetInstance: { _enum: { Undefined: "Null", @@ -1383,7 +1395,7 @@ export default { Array32: "[u8;32]", }, }, - /** Lookup111: staging_xcm::v4::Response */ + /** Lookup110: staging_xcm::v4::Response */ StagingXcmV4Response: { _enum: { Null: "Null", @@ -1394,7 +1406,7 @@ export default { DispatchResult: "XcmV3MaybeErrorCode", }, }, - /** Lookup115: staging_xcm::v4::PalletInfo */ + /** Lookup114: staging_xcm::v4::PalletInfo */ StagingXcmV4PalletInfo: { index: "Compact", name: "Bytes", @@ -1403,7 +1415,7 @@ export default { minor: "Compact", patch: "Compact", }, - /** Lookup118: xcm::v3::MaybeErrorCode */ + /** Lookup117: xcm::v3::MaybeErrorCode */ XcmV3MaybeErrorCode: { _enum: { Success: "Null", @@ -1411,28 +1423,28 @@ export default { TruncatedError: "Bytes", }, }, - /** Lookup121: xcm::v2::OriginKind */ + /** Lookup120: xcm::v2::OriginKind */ XcmV2OriginKind: { _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], }, - /** Lookup122: xcm::double_encoded::DoubleEncoded */ + /** Lookup121: xcm::double_encoded::DoubleEncoded */ XcmDoubleEncoded: { encoded: "Bytes", }, - /** Lookup123: staging_xcm::v4::QueryResponseInfo */ + /** Lookup122: staging_xcm::v4::QueryResponseInfo */ StagingXcmV4QueryResponseInfo: { destination: "StagingXcmV4Location", queryId: "Compact", maxWeight: "SpWeightsWeightV2Weight", }, - /** Lookup124: staging_xcm::v4::asset::AssetFilter */ + /** Lookup123: staging_xcm::v4::asset::AssetFilter */ StagingXcmV4AssetAssetFilter: { _enum: { Definite: "StagingXcmV4AssetAssets", Wild: "StagingXcmV4AssetWildAsset", }, }, - /** Lookup125: staging_xcm::v4::asset::WildAsset */ + /** Lookup124: staging_xcm::v4::asset::WildAsset */ StagingXcmV4AssetWildAsset: { _enum: { All: "Null", @@ -1448,18 +1460,18 @@ export default { }, }, }, - /** Lookup126: staging_xcm::v4::asset::WildFungibility */ + /** Lookup125: staging_xcm::v4::asset::WildFungibility */ StagingXcmV4AssetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup127: xcm::v3::WeightLimit */ + /** Lookup126: xcm::v3::WeightLimit */ XcmV3WeightLimit: { _enum: { Unlimited: "Null", Limited: "SpWeightsWeightV2Weight", }, }, - /** Lookup128: xcm::VersionedAssets */ + /** Lookup127: xcm::VersionedAssets */ XcmVersionedAssets: { _enum: { __Unused0: "Null", @@ -1469,26 +1481,26 @@ export default { V4: "StagingXcmV4AssetAssets", }, }, - /** Lookup129: xcm::v2::multiasset::MultiAssets */ + /** Lookup128: xcm::v2::multiasset::MultiAssets */ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup131: xcm::v2::multiasset::MultiAsset */ + /** Lookup130: xcm::v2::multiasset::MultiAsset */ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", fun: "XcmV2MultiassetFungibility", }, - /** Lookup132: xcm::v2::multiasset::AssetId */ + /** Lookup131: xcm::v2::multiasset::AssetId */ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", Abstract: "Bytes", }, }, - /** Lookup133: xcm::v2::multilocation::MultiLocation */ + /** Lookup132: xcm::v2::multilocation::MultiLocation */ XcmV2MultiLocation: { parents: "u8", interior: "XcmV2MultilocationJunctions", }, - /** Lookup134: xcm::v2::multilocation::Junctions */ + /** Lookup133: xcm::v2::multilocation::Junctions */ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -1502,7 +1514,7 @@ export default { X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", }, }, - /** Lookup135: xcm::v2::junction::Junction */ + /** Lookup134: xcm::v2::junction::Junction */ XcmV2Junction: { _enum: { Parachain: "Compact", @@ -1528,7 +1540,7 @@ export default { }, }, }, - /** Lookup136: xcm::v2::NetworkId */ + /** Lookup135: xcm::v2::NetworkId */ XcmV2NetworkId: { _enum: { Any: "Null", @@ -1537,7 +1549,7 @@ export default { Kusama: "Null", }, }, - /** Lookup138: xcm::v2::BodyId */ + /** Lookup137: xcm::v2::BodyId */ XcmV2BodyId: { _enum: { Unit: "Null", @@ -1552,7 +1564,7 @@ export default { Treasury: "Null", }, }, - /** Lookup139: xcm::v2::BodyPart */ + /** Lookup138: xcm::v2::BodyPart */ XcmV2BodyPart: { _enum: { Voice: "Null", @@ -1573,14 +1585,14 @@ export default { }, }, }, - /** Lookup140: xcm::v2::multiasset::Fungibility */ + /** Lookup139: xcm::v2::multiasset::Fungibility */ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", NonFungible: "XcmV2MultiassetAssetInstance", }, }, - /** Lookup141: xcm::v2::multiasset::AssetInstance */ + /** Lookup140: xcm::v2::multiasset::AssetInstance */ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -1592,26 +1604,26 @@ export default { Blob: "Bytes", }, }, - /** Lookup142: xcm::v3::multiasset::MultiAssets */ + /** Lookup141: xcm::v3::multiasset::MultiAssets */ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup144: xcm::v3::multiasset::MultiAsset */ + /** Lookup143: xcm::v3::multiasset::MultiAsset */ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetFungibility", }, - /** Lookup145: xcm::v3::multiasset::AssetId */ + /** Lookup144: xcm::v3::multiasset::AssetId */ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", Abstract: "[u8;32]", }, }, - /** Lookup146: staging_xcm::v3::multilocation::MultiLocation */ + /** Lookup145: staging_xcm::v3::multilocation::MultiLocation */ StagingXcmV3MultiLocation: { parents: "u8", interior: "XcmV3Junctions", }, - /** Lookup147: xcm::v3::junctions::Junctions */ + /** Lookup146: xcm::v3::junctions::Junctions */ XcmV3Junctions: { _enum: { Here: "Null", @@ -1625,7 +1637,7 @@ export default { X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", }, }, - /** Lookup148: xcm::v3::junction::Junction */ + /** Lookup147: xcm::v3::junction::Junction */ XcmV3Junction: { _enum: { Parachain: "Compact", @@ -1655,7 +1667,7 @@ export default { GlobalConsensus: "XcmV3JunctionNetworkId", }, }, - /** Lookup150: xcm::v3::junction::NetworkId */ + /** Lookup149: xcm::v3::junction::NetworkId */ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", @@ -1676,14 +1688,14 @@ export default { PolkadotBulletin: "Null", }, }, - /** Lookup151: xcm::v3::multiasset::Fungibility */ + /** Lookup150: xcm::v3::multiasset::Fungibility */ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", NonFungible: "XcmV3MultiassetAssetInstance", }, }, - /** Lookup152: xcm::v3::multiasset::AssetInstance */ + /** Lookup151: xcm::v3::multiasset::AssetInstance */ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -1694,7 +1706,7 @@ export default { Array32: "[u8;32]", }, }, - /** Lookup153: xcm::VersionedLocation */ + /** Lookup152: xcm::VersionedLocation */ XcmVersionedLocation: { _enum: { __Unused0: "Null", @@ -1704,7 +1716,7 @@ export default { V4: "StagingXcmV4Location", }, }, - /** Lookup154: pallet_assets::pallet::Event */ + /** Lookup153: pallet_assets::pallet::Event */ PalletAssetsEvent: { _enum: { Created: { @@ -1818,7 +1830,7 @@ export default { }, }, }, - /** Lookup155: orml_xtokens::module::Event */ + /** Lookup154: orml_xtokens::module::Event */ OrmlXtokensModuleEvent: { _enum: { TransferredAssets: { @@ -1829,7 +1841,7 @@ export default { }, }, }, - /** Lookup156: pallet_asset_manager::pallet::Event */ + /** Lookup155: pallet_asset_manager::pallet::Event */ PalletAssetManagerEvent: { _enum: { ForeignAssetRegistered: { @@ -1861,20 +1873,20 @@ export default { }, }, }, - /** Lookup157: moonbase_runtime::xcm_config::AssetType */ + /** Lookup156: moonbase_runtime::xcm_config::AssetType */ MoonbaseRuntimeXcmConfigAssetType: { _enum: { Xcm: "StagingXcmV3MultiLocation", }, }, - /** Lookup158: moonbase_runtime::asset_config::AssetRegistrarMetadata */ + /** Lookup157: moonbase_runtime::asset_config::AssetRegistrarMetadata */ MoonbaseRuntimeAssetConfigAssetRegistrarMetadata: { name: "Bytes", symbol: "Bytes", decimals: "u8", isFrozen: "bool", }, - /** Lookup159: pallet_migrations::pallet::Event */ + /** Lookup158: pallet_migrations::pallet::Event */ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", @@ -1896,7 +1908,7 @@ export default { }, }, }, - /** Lookup160: pallet_xcm_transactor::pallet::Event */ + /** Lookup159: pallet_xcm_transactor::pallet::Event */ PalletXcmTransactorEvent: { _enum: { TransactedDerivative: { @@ -1944,13 +1956,13 @@ export default { }, }, }, - /** Lookup161: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ + /** Lookup160: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ PalletXcmTransactorRemoteTransactInfoWithMaxWeight: { transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", transactExtraWeightSigned: "Option", }, - /** Lookup163: pallet_xcm_transactor::pallet::HrmpOperation */ + /** Lookup162: pallet_xcm_transactor::pallet::HrmpOperation */ PalletXcmTransactorHrmpOperation: { _enum: { InitOpen: "PalletXcmTransactorHrmpInitParams", @@ -1964,18 +1976,18 @@ export default { }, }, }, - /** Lookup164: pallet_xcm_transactor::pallet::HrmpInitParams */ + /** Lookup163: pallet_xcm_transactor::pallet::HrmpInitParams */ PalletXcmTransactorHrmpInitParams: { paraId: "u32", proposedMaxCapacity: "u32", proposedMaxMessageSize: "u32", }, - /** Lookup166: polkadot_parachain_primitives::primitives::HrmpChannelId */ + /** Lookup165: polkadot_parachain_primitives::primitives::HrmpChannelId */ PolkadotParachainPrimitivesPrimitivesHrmpChannelId: { sender: "u32", recipient: "u32", }, - /** Lookup167: pallet_moonbeam_orbiters::pallet::Event */ + /** Lookup166: pallet_moonbeam_orbiters::pallet::Event */ PalletMoonbeamOrbitersEvent: { _enum: { OrbiterJoinCollatorPool: { @@ -2004,7 +2016,7 @@ export default { }, }, }, - /** Lookup168: pallet_randomness::pallet::Event */ + /** Lookup167: pallet_randomness::pallet::Event */ PalletRandomnessEvent: { _enum: { RandomnessRequestedBabeEpoch: { @@ -2039,7 +2051,7 @@ export default { }, }, }, - /** Lookup169: pallet_collective::pallet::Event */ + /** Lookup168: pallet_collective::pallet::Event */ PalletCollectiveEvent: { _enum: { Proposed: { @@ -2076,14 +2088,14 @@ export default { }, }, }, - /** Lookup170: pallet_conviction_voting::pallet::Event */ + /** Lookup169: pallet_conviction_voting::pallet::Event */ PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", Undelegated: "AccountId20", }, }, - /** Lookup171: pallet_referenda::pallet::Event */ + /** Lookup170: pallet_referenda::pallet::Event */ PalletReferendaEvent: { _enum: { Submitted: { @@ -2162,7 +2174,7 @@ export default { }, }, /** - * Lookup172: frame_support::traits::preimages::Bounded */ FrameSupportPreimagesBounded: { @@ -2183,7 +2195,7 @@ export default { }, }, }, - /** Lookup174: frame_system::pallet::Call */ + /** Lookup173: frame_system::pallet::Call */ FrameSystemCall: { _enum: { remark: { @@ -2226,7 +2238,7 @@ export default { }, }, }, - /** Lookup178: pallet_utility::pallet::Call */ + /** Lookup177: pallet_utility::pallet::Call */ PalletUtilityCall: { _enum: { batch: { @@ -2252,7 +2264,7 @@ export default { }, }, }, - /** Lookup180: moonbase_runtime::OriginCaller */ + /** Lookup179: moonbase_runtime::OriginCaller */ MoonbaseRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -2304,7 +2316,7 @@ export default { OpenTechCommitteeCollective: "PalletCollectiveRawOrigin", }, }, - /** Lookup181: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ + /** Lookup180: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", @@ -2312,33 +2324,33 @@ export default { None: "Null", }, }, - /** Lookup182: pallet_ethereum::RawOrigin */ + /** Lookup181: pallet_ethereum::RawOrigin */ PalletEthereumRawOrigin: { _enum: { EthereumTransaction: "H160", }, }, - /** Lookup183: cumulus_pallet_xcm::pallet::Origin */ + /** Lookup182: cumulus_pallet_xcm::pallet::Origin */ CumulusPalletXcmOrigin: { _enum: { Relay: "Null", SiblingParachain: "u32", }, }, - /** Lookup184: pallet_xcm::pallet::Origin */ + /** Lookup183: pallet_xcm::pallet::Origin */ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV4Location", Response: "StagingXcmV4Location", }, }, - /** Lookup185: pallet_ethereum_xcm::RawOrigin */ + /** Lookup184: pallet_ethereum_xcm::RawOrigin */ PalletEthereumXcmRawOrigin: { _enum: { XcmEthereumTransaction: "H160", }, }, - /** Lookup186: pallet_collective::RawOrigin */ + /** Lookup185: pallet_collective::RawOrigin */ PalletCollectiveRawOrigin: { _enum: { Members: "(u32,u32)", @@ -2346,7 +2358,7 @@ export default { _Phantom: "Null", }, }, - /** Lookup187: moonbase_runtime::governance::origins::custom_origins::Origin */ + /** Lookup186: moonbase_runtime::governance::origins::custom_origins::Origin */ MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ "WhitelistedCaller", @@ -2356,9 +2368,9 @@ export default { "FastGeneralAdmin", ], }, - /** Lookup189: sp_core::Void */ + /** Lookup188: sp_core::Void */ SpCoreVoid: "Null", - /** Lookup190: pallet_timestamp::pallet::Call */ + /** Lookup189: pallet_timestamp::pallet::Call */ PalletTimestampCall: { _enum: { set: { @@ -2366,7 +2378,7 @@ export default { }, }, }, - /** Lookup191: pallet_balances::pallet::Call */ + /** Lookup190: pallet_balances::pallet::Call */ PalletBalancesCall: { _enum: { transfer_allow_death: { @@ -2405,11 +2417,11 @@ export default { }, }, }, - /** Lookup193: pallet_balances::types::AdjustmentDirection */ + /** Lookup192: pallet_balances::types::AdjustmentDirection */ PalletBalancesAdjustmentDirection: { _enum: ["Increase", "Decrease"], }, - /** Lookup194: pallet_sudo::pallet::Call */ + /** Lookup193: pallet_sudo::pallet::Call */ PalletSudoCall: { _enum: { sudo: { @@ -2432,7 +2444,7 @@ export default { remove_key: "Null", }, }, - /** Lookup195: cumulus_pallet_parachain_system::pallet::Call */ + /** Lookup194: cumulus_pallet_parachain_system::pallet::Call */ CumulusPalletParachainSystemCall: { _enum: { set_validation_data: { @@ -2450,35 +2462,35 @@ export default { }, }, }, - /** Lookup196: cumulus_primitives_parachain_inherent::ParachainInherentData */ + /** Lookup195: cumulus_primitives_parachain_inherent::ParachainInherentData */ CumulusPrimitivesParachainInherentParachainInherentData: { - validationData: "PolkadotPrimitivesV6PersistedValidationData", + validationData: "PolkadotPrimitivesV7PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", horizontalMessages: "BTreeMap>", }, - /** Lookup197: polkadot_primitives::v6::PersistedValidationData */ - PolkadotPrimitivesV6PersistedValidationData: { + /** Lookup196: polkadot_primitives::v7::PersistedValidationData */ + PolkadotPrimitivesV7PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", maxPovSize: "u32", }, - /** Lookup199: sp_trie::storage_proof::StorageProof */ + /** Lookup198: sp_trie::storage_proof::StorageProof */ SpTrieStorageProof: { trieNodes: "BTreeSet", }, - /** Lookup202: polkadot_core_primitives::InboundDownwardMessage */ + /** Lookup201: polkadot_core_primitives::InboundDownwardMessage */ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", msg: "Bytes", }, - /** Lookup205: polkadot_core_primitives::InboundHrmpMessage */ + /** Lookup204: polkadot_core_primitives::InboundHrmpMessage */ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", data: "Bytes", }, - /** Lookup208: pallet_evm::pallet::Call */ + /** Lookup207: pallet_evm::pallet::Call */ PalletEvmCall: { _enum: { withdraw: { @@ -2519,7 +2531,7 @@ export default { }, }, }, - /** Lookup214: pallet_ethereum::pallet::Call */ + /** Lookup213: pallet_ethereum::pallet::Call */ PalletEthereumCall: { _enum: { transact: { @@ -2527,7 +2539,7 @@ export default { }, }, }, - /** Lookup215: ethereum::transaction::TransactionV2 */ + /** Lookup214: ethereum::transaction::TransactionV2 */ EthereumTransactionTransactionV2: { _enum: { Legacy: "EthereumTransactionLegacyTransaction", @@ -2535,7 +2547,7 @@ export default { EIP1559: "EthereumTransactionEip1559Transaction", }, }, - /** Lookup216: ethereum::transaction::LegacyTransaction */ + /** Lookup215: ethereum::transaction::LegacyTransaction */ EthereumTransactionLegacyTransaction: { nonce: "U256", gasPrice: "U256", @@ -2545,20 +2557,20 @@ export default { input: "Bytes", signature: "EthereumTransactionTransactionSignature", }, - /** Lookup217: ethereum::transaction::TransactionAction */ + /** Lookup216: ethereum::transaction::TransactionAction */ EthereumTransactionTransactionAction: { _enum: { Call: "H160", Create: "Null", }, }, - /** Lookup218: ethereum::transaction::TransactionSignature */ + /** Lookup217: ethereum::transaction::TransactionSignature */ EthereumTransactionTransactionSignature: { v: "u64", r: "H256", s: "H256", }, - /** Lookup220: ethereum::transaction::EIP2930Transaction */ + /** Lookup219: ethereum::transaction::EIP2930Transaction */ EthereumTransactionEip2930Transaction: { chainId: "u64", nonce: "U256", @@ -2572,12 +2584,12 @@ export default { r: "H256", s: "H256", }, - /** Lookup222: ethereum::transaction::AccessListItem */ + /** Lookup221: ethereum::transaction::AccessListItem */ EthereumTransactionAccessListItem: { address: "H160", storageKeys: "Vec", }, - /** Lookup223: ethereum::transaction::EIP1559Transaction */ + /** Lookup222: ethereum::transaction::EIP1559Transaction */ EthereumTransactionEip1559Transaction: { chainId: "u64", nonce: "U256", @@ -2592,7 +2604,7 @@ export default { r: "H256", s: "H256", }, - /** Lookup224: pallet_parachain_staking::pallet::Call */ + /** Lookup223: pallet_parachain_staking::pallet::Call */ PalletParachainStakingCall: { _enum: { set_staking_expectations: { @@ -2722,7 +2734,7 @@ export default { }, }, }, - /** Lookup227: pallet_scheduler::pallet::Call */ + /** Lookup226: pallet_scheduler::pallet::Call */ PalletSchedulerCall: { _enum: { schedule: { @@ -2758,9 +2770,25 @@ export default { priority: "u8", call: "Call", }, + set_retry: { + task: "(u32,u32)", + retries: "u8", + period: "u32", + }, + set_retry_named: { + id: "[u8;32]", + retries: "u8", + period: "u32", + }, + cancel_retry: { + task: "(u32,u32)", + }, + cancel_retry_named: { + id: "[u8;32]", + }, }, }, - /** Lookup229: pallet_treasury::pallet::Call */ + /** Lookup228: pallet_treasury::pallet::Call */ PalletTreasuryCall: { _enum: { propose_spend: { @@ -2797,11 +2825,11 @@ export default { }, }, }, - /** Lookup231: pallet_author_inherent::pallet::Call */ + /** Lookup230: pallet_author_inherent::pallet::Call */ PalletAuthorInherentCall: { _enum: ["kick_off_authorship_validation"], }, - /** Lookup232: pallet_author_slot_filter::pallet::Call */ + /** Lookup231: pallet_author_slot_filter::pallet::Call */ PalletAuthorSlotFilterCall: { _enum: { set_eligible: { @@ -2812,7 +2840,7 @@ export default { }, }, }, - /** Lookup233: pallet_crowdloan_rewards::pallet::Call */ + /** Lookup232: pallet_crowdloan_rewards::pallet::Call */ PalletCrowdloanRewardsCall: { _enum: { associate_native_identity: { @@ -2837,21 +2865,15 @@ export default { }, }, }, - /** Lookup234: sp_runtime::MultiSignature */ + /** Lookup233: sp_runtime::MultiSignature */ SpRuntimeMultiSignature: { _enum: { - Ed25519: "SpCoreEd25519Signature", - Sr25519: "SpCoreSr25519Signature", - Ecdsa: "SpCoreEcdsaSignature", + Ed25519: "[u8;64]", + Sr25519: "[u8;64]", + Ecdsa: "[u8;65]", }, }, - /** Lookup235: sp_core::ed25519::Signature */ - SpCoreEd25519Signature: "[u8;64]", - /** Lookup237: sp_core::sr25519::Signature */ - SpCoreSr25519Signature: "[u8;64]", - /** Lookup238: sp_core::ecdsa::Signature */ - SpCoreEcdsaSignature: "[u8;65]", - /** Lookup244: pallet_author_mapping::pallet::Call */ + /** Lookup240: pallet_author_mapping::pallet::Call */ PalletAuthorMappingCall: { _enum: { add_association: { @@ -2873,7 +2895,7 @@ export default { }, }, }, - /** Lookup245: pallet_proxy::pallet::Call */ + /** Lookup241: pallet_proxy::pallet::Call */ PalletProxyCall: { _enum: { proxy: { @@ -2924,11 +2946,11 @@ export default { }, }, }, - /** Lookup247: pallet_maintenance_mode::pallet::Call */ + /** Lookup243: pallet_maintenance_mode::pallet::Call */ PalletMaintenanceModeCall: { _enum: ["enter_maintenance_mode", "resume_normal_operation"], }, - /** Lookup248: pallet_identity::pallet::Call */ + /** Lookup244: pallet_identity::pallet::Call */ PalletIdentityCall: { _enum: { add_registrar: { @@ -3011,7 +3033,7 @@ export default { }, }, }, - /** Lookup249: pallet_identity::legacy::IdentityInfo */ + /** Lookup245: pallet_identity::legacy::IdentityInfo */ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", display: "Data", @@ -3023,7 +3045,7 @@ export default { image: "Data", twitter: "Data", }, - /** Lookup285: pallet_identity::types::Judgement */ + /** Lookup281: pallet_identity::types::Judgement */ PalletIdentityJudgement: { _enum: { Unknown: "Null", @@ -3035,9 +3057,9 @@ export default { Erroneous: "Null", }, }, - /** Lookup287: account::EthereumSignature */ - AccountEthereumSignature: "SpCoreEcdsaSignature", - /** Lookup288: cumulus_pallet_xcmp_queue::pallet::Call */ + /** Lookup283: account::EthereumSignature */ + AccountEthereumSignature: "[u8;65]", + /** Lookup284: cumulus_pallet_xcmp_queue::pallet::Call */ CumulusPalletXcmpQueueCall: { _enum: { __Unused0: "Null", @@ -3063,9 +3085,9 @@ export default { }, }, }, - /** Lookup289: cumulus_pallet_dmp_queue::pallet::Call */ + /** Lookup285: cumulus_pallet_dmp_queue::pallet::Call */ CumulusPalletDmpQueueCall: "Null", - /** Lookup290: pallet_xcm::pallet::Call */ + /** Lookup286: pallet_xcm::pallet::Call */ PalletXcmCall: { _enum: { send: { @@ -3125,9 +3147,22 @@ export default { feeAssetItem: "u32", weightLimit: "XcmV3WeightLimit", }, + claim_assets: { + assets: "XcmVersionedAssets", + beneficiary: "XcmVersionedLocation", + }, + transfer_assets_using_type_and_then: { + dest: "XcmVersionedLocation", + assets: "XcmVersionedAssets", + assetsTransferType: "StagingXcmExecutorAssetTransferTransferType", + remoteFeesId: "XcmVersionedAssetId", + feesTransferType: "StagingXcmExecutorAssetTransferTransferType", + customXcmOnDest: "XcmVersionedXcm", + weightLimit: "XcmV3WeightLimit", + }, }, }, - /** Lookup291: xcm::VersionedXcm */ + /** Lookup287: xcm::VersionedXcm */ XcmVersionedXcm: { _enum: { __Unused0: "Null", @@ -3137,9 +3172,9 @@ export default { V4: "StagingXcmV4Xcm", }, }, - /** Lookup292: xcm::v2::Xcm */ + /** Lookup288: xcm::v2::Xcm */ XcmV2Xcm: "Vec", - /** Lookup294: xcm::v2::Instruction */ + /** Lookup290: xcm::v2::Instruction */ XcmV2Instruction: { _enum: { WithdrawAsset: "XcmV2MultiassetMultiAssets", @@ -3235,7 +3270,7 @@ export default { UnsubscribeVersion: "Null", }, }, - /** Lookup295: xcm::v2::Response */ + /** Lookup291: xcm::v2::Response */ XcmV2Response: { _enum: { Null: "Null", @@ -3244,7 +3279,7 @@ export default { Version: "u32", }, }, - /** Lookup298: xcm::v2::traits::Error */ + /** Lookup294: xcm::v2::traits::Error */ XcmV2TraitsError: { _enum: { Overflow: "Null", @@ -3275,14 +3310,14 @@ export default { WeightNotComputable: "Null", }, }, - /** Lookup299: xcm::v2::multiasset::MultiAssetFilter */ + /** Lookup295: xcm::v2::multiasset::MultiAssetFilter */ XcmV2MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV2MultiassetMultiAssets", Wild: "XcmV2MultiassetWildMultiAsset", }, }, - /** Lookup300: xcm::v2::multiasset::WildMultiAsset */ + /** Lookup296: xcm::v2::multiasset::WildMultiAsset */ XcmV2MultiassetWildMultiAsset: { _enum: { All: "Null", @@ -3292,20 +3327,20 @@ export default { }, }, }, - /** Lookup301: xcm::v2::multiasset::WildFungibility */ + /** Lookup297: xcm::v2::multiasset::WildFungibility */ XcmV2MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup302: xcm::v2::WeightLimit */ + /** Lookup298: xcm::v2::WeightLimit */ XcmV2WeightLimit: { _enum: { Unlimited: "Null", Limited: "Compact", }, }, - /** Lookup303: xcm::v3::Xcm */ + /** Lookup299: xcm::v3::Xcm */ XcmV3Xcm: "Vec", - /** Lookup305: xcm::v3::Instruction */ + /** Lookup301: xcm::v3::Instruction */ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -3445,7 +3480,7 @@ export default { }, }, }, - /** Lookup306: xcm::v3::Response */ + /** Lookup302: xcm::v3::Response */ XcmV3Response: { _enum: { Null: "Null", @@ -3456,7 +3491,7 @@ export default { DispatchResult: "XcmV3MaybeErrorCode", }, }, - /** Lookup308: xcm::v3::PalletInfo */ + /** Lookup304: xcm::v3::PalletInfo */ XcmV3PalletInfo: { index: "Compact", name: "Bytes", @@ -3465,20 +3500,20 @@ export default { minor: "Compact", patch: "Compact", }, - /** Lookup312: xcm::v3::QueryResponseInfo */ + /** Lookup308: xcm::v3::QueryResponseInfo */ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", maxWeight: "SpWeightsWeightV2Weight", }, - /** Lookup313: xcm::v3::multiasset::MultiAssetFilter */ + /** Lookup309: xcm::v3::multiasset::MultiAssetFilter */ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", Wild: "XcmV3MultiassetWildMultiAsset", }, }, - /** Lookup314: xcm::v3::multiasset::WildMultiAsset */ + /** Lookup310: xcm::v3::multiasset::WildMultiAsset */ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", @@ -3494,11 +3529,30 @@ export default { }, }, }, - /** Lookup315: xcm::v3::multiasset::WildFungibility */ + /** Lookup311: xcm::v3::multiasset::WildFungibility */ XcmV3MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup327: pallet_assets::pallet::Call */ + /** Lookup323: staging_xcm_executor::traits::asset_transfer::TransferType */ + StagingXcmExecutorAssetTransferTransferType: { + _enum: { + Teleport: "Null", + LocalReserve: "Null", + DestinationReserve: "Null", + RemoteReserve: "XcmVersionedLocation", + }, + }, + /** Lookup324: xcm::VersionedAssetId */ + XcmVersionedAssetId: { + _enum: { + __Unused0: "Null", + __Unused1: "Null", + __Unused2: "Null", + V3: "XcmV3MultiassetAssetId", + V4: "StagingXcmV4AssetAssetId", + }, + }, + /** Lookup325: pallet_assets::pallet::Call */ PalletAssetsCall: { _enum: { create: { @@ -3648,7 +3702,7 @@ export default { }, }, }, - /** Lookup328: orml_xtokens::module::Call */ + /** Lookup326: orml_xtokens::module::Call */ OrmlXtokensModuleCall: { _enum: { transfer: { @@ -3689,7 +3743,7 @@ export default { }, }, }, - /** Lookup329: moonbase_runtime::xcm_config::CurrencyId */ + /** Lookup327: moonbase_runtime::xcm_config::CurrencyId */ MoonbaseRuntimeXcmConfigCurrencyId: { _enum: { SelfReserve: "Null", @@ -3699,7 +3753,7 @@ export default { }, }, }, - /** Lookup330: xcm::VersionedAsset */ + /** Lookup328: xcm::VersionedAsset */ XcmVersionedAsset: { _enum: { __Unused0: "Null", @@ -3709,7 +3763,7 @@ export default { V4: "StagingXcmV4Asset", }, }, - /** Lookup333: pallet_asset_manager::pallet::Call */ + /** Lookup331: pallet_asset_manager::pallet::Call */ PalletAssetManagerCall: { _enum: { register_foreign_asset: { @@ -3743,7 +3797,7 @@ export default { }, }, }, - /** Lookup334: pallet_xcm_transactor::pallet::Call */ + /** Lookup332: pallet_xcm_transactor::pallet::Call */ PalletXcmTransactorCall: { _enum: { register: { @@ -3800,28 +3854,28 @@ export default { }, }, }, - /** Lookup335: moonbase_runtime::xcm_config::Transactors */ + /** Lookup333: moonbase_runtime::xcm_config::Transactors */ MoonbaseRuntimeXcmConfigTransactors: { _enum: ["Relay"], }, - /** Lookup336: pallet_xcm_transactor::pallet::CurrencyPayment */ + /** Lookup334: pallet_xcm_transactor::pallet::CurrencyPayment */ PalletXcmTransactorCurrencyPayment: { currency: "PalletXcmTransactorCurrency", feeAmount: "Option", }, - /** Lookup337: pallet_xcm_transactor::pallet::Currency */ + /** Lookup335: pallet_xcm_transactor::pallet::Currency */ PalletXcmTransactorCurrency: { _enum: { AsCurrencyId: "MoonbaseRuntimeXcmConfigCurrencyId", AsMultiLocation: "XcmVersionedLocation", }, }, - /** Lookup339: pallet_xcm_transactor::pallet::TransactWeights */ + /** Lookup337: pallet_xcm_transactor::pallet::TransactWeights */ PalletXcmTransactorTransactWeights: { transactRequiredWeightAtMost: "SpWeightsWeightV2Weight", overallWeight: "Option", }, - /** Lookup341: pallet_moonbeam_orbiters::pallet::Call */ + /** Lookup339: pallet_moonbeam_orbiters::pallet::Call */ PalletMoonbeamOrbitersCall: { _enum: { collator_add_orbiter: { @@ -3845,7 +3899,7 @@ export default { }, }, }, - /** Lookup342: pallet_ethereum_xcm::pallet::Call */ + /** Lookup340: pallet_ethereum_xcm::pallet::Call */ PalletEthereumXcmCall: { _enum: { transact: { @@ -3859,14 +3913,14 @@ export default { resume_ethereum_xcm_execution: "Null", }, }, - /** Lookup343: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ + /** Lookup341: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ XcmPrimitivesEthereumXcmEthereumXcmTransaction: { _enum: { V1: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV1", V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2", }, }, - /** Lookup344: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ + /** Lookup342: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ XcmPrimitivesEthereumXcmEthereumXcmTransactionV1: { gasLimit: "U256", feePayment: "XcmPrimitivesEthereumXcmEthereumXcmFee", @@ -3875,19 +3929,19 @@ export default { input: "Bytes", accessList: "Option)>>", }, - /** Lookup345: xcm_primitives::ethereum_xcm::EthereumXcmFee */ + /** Lookup343: xcm_primitives::ethereum_xcm::EthereumXcmFee */ XcmPrimitivesEthereumXcmEthereumXcmFee: { _enum: { Manual: "XcmPrimitivesEthereumXcmManualEthereumXcmFee", Auto: "Null", }, }, - /** Lookup346: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ + /** Lookup344: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ XcmPrimitivesEthereumXcmManualEthereumXcmFee: { gasPrice: "Option", maxFeePerGas: "Option", }, - /** Lookup349: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ + /** Lookup347: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ XcmPrimitivesEthereumXcmEthereumXcmTransactionV2: { gasLimit: "U256", action: "EthereumTransactionTransactionAction", @@ -3895,11 +3949,11 @@ export default { input: "Bytes", accessList: "Option)>>", }, - /** Lookup350: pallet_randomness::pallet::Call */ + /** Lookup348: pallet_randomness::pallet::Call */ PalletRandomnessCall: { _enum: ["set_babe_randomness_results"], }, - /** Lookup351: pallet_collective::pallet::Call */ + /** Lookup349: pallet_collective::pallet::Call */ PalletCollectiveCall: { _enum: { set_members: { @@ -3933,7 +3987,7 @@ export default { }, }, }, - /** Lookup352: pallet_conviction_voting::pallet::Call */ + /** Lookup350: pallet_conviction_voting::pallet::Call */ PalletConvictionVotingCall: { _enum: { vote: { @@ -3964,7 +4018,7 @@ export default { }, }, }, - /** Lookup353: pallet_conviction_voting::vote::AccountVote */ + /** Lookup351: pallet_conviction_voting::vote::AccountVote */ PalletConvictionVotingVoteAccountVote: { _enum: { Standard: { @@ -3982,11 +4036,11 @@ export default { }, }, }, - /** Lookup355: pallet_conviction_voting::conviction::Conviction */ + /** Lookup353: pallet_conviction_voting::conviction::Conviction */ PalletConvictionVotingConviction: { _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"], }, - /** Lookup357: pallet_referenda::pallet::Call */ + /** Lookup355: pallet_referenda::pallet::Call */ PalletReferendaCall: { _enum: { submit: { @@ -4021,14 +4075,14 @@ export default { }, }, }, - /** Lookup358: frame_support::traits::schedule::DispatchTime */ + /** Lookup356: frame_support::traits::schedule::DispatchTime */ FrameSupportScheduleDispatchTime: { _enum: { At: "u32", After: "u32", }, }, - /** Lookup360: pallet_preimage::pallet::Call */ + /** Lookup358: pallet_preimage::pallet::Call */ PalletPreimageCall: { _enum: { note_preimage: { @@ -4057,7 +4111,7 @@ export default { }, }, }, - /** Lookup361: pallet_whitelist::pallet::Call */ + /** Lookup359: pallet_whitelist::pallet::Call */ PalletWhitelistCall: { _enum: { whitelist_call: { @@ -4076,7 +4130,7 @@ export default { }, }, }, - /** Lookup363: pallet_root_testing::pallet::Call */ + /** Lookup361: pallet_root_testing::pallet::Call */ PalletRootTestingCall: { _enum: { fill_block: { @@ -4085,7 +4139,7 @@ export default { trigger_defensive: "Null", }, }, - /** Lookup364: pallet_multisig::pallet::Call */ + /** Lookup362: pallet_multisig::pallet::Call */ PalletMultisigCall: { _enum: { as_multi_threshold_1: { @@ -4114,12 +4168,12 @@ export default { }, }, }, - /** Lookup366: pallet_multisig::Timepoint */ + /** Lookup364: pallet_multisig::Timepoint */ PalletMultisigTimepoint: { height: "u32", index: "u32", }, - /** Lookup367: pallet_moonbeam_lazy_migrations::pallet::Call */ + /** Lookup365: pallet_moonbeam_lazy_migrations::pallet::Call */ PalletMoonbeamLazyMigrationsCall: { _enum: { __Unused0: "Null", @@ -4129,7 +4183,7 @@ export default { }, }, }, - /** Lookup370: pallet_message_queue::pallet::Call */ + /** Lookup368: pallet_message_queue::pallet::Call */ PalletMessageQueueCall: { _enum: { reap_page: { @@ -4144,7 +4198,7 @@ export default { }, }, }, - /** Lookup371: cumulus_primitives_core::AggregateMessageOrigin */ + /** Lookup369: cumulus_primitives_core::AggregateMessageOrigin */ CumulusPrimitivesCoreAggregateMessageOrigin: { _enum: { Here: "Null", @@ -4152,7 +4206,7 @@ export default { Sibling: "u32", }, }, - /** Lookup372: pallet_emergency_para_xcm::pallet::Call */ + /** Lookup370: pallet_emergency_para_xcm::pallet::Call */ PalletEmergencyParaXcmCall: { _enum: { paused_to_normal: "Null", @@ -4161,15 +4215,15 @@ export default { }, }, }, - /** Lookup373: sp_runtime::traits::BlakeTwo256 */ + /** Lookup371: sp_runtime::traits::BlakeTwo256 */ SpRuntimeBlakeTwo256: "Null", - /** Lookup375: pallet_conviction_voting::types::Tally */ + /** Lookup373: pallet_conviction_voting::types::Tally */ PalletConvictionVotingTally: { ayes: "u128", nays: "u128", support: "u128", }, - /** Lookup376: pallet_preimage::pallet::Event */ + /** Lookup374: pallet_preimage::pallet::Event */ PalletPreimageEvent: { _enum: { Noted: { @@ -4192,7 +4246,7 @@ export default { }, }, }, - /** Lookup377: pallet_whitelist::pallet::Event */ + /** Lookup375: pallet_whitelist::pallet::Event */ PalletWhitelistEvent: { _enum: { CallWhitelisted: { @@ -4207,21 +4261,21 @@ export default { }, }, }, - /** Lookup379: frame_support::dispatch::PostDispatchInfo */ + /** Lookup377: frame_support::dispatch::PostDispatchInfo */ FrameSupportDispatchPostDispatchInfo: { actualWeight: "Option", paysFee: "FrameSupportDispatchPays", }, - /** Lookup380: sp_runtime::DispatchErrorWithPostInfo */ + /** Lookup378: sp_runtime::DispatchErrorWithPostInfo */ SpRuntimeDispatchErrorWithPostInfo: { postInfo: "FrameSupportDispatchPostDispatchInfo", error: "SpRuntimeDispatchError", }, - /** Lookup382: pallet_root_testing::pallet::Event */ + /** Lookup380: pallet_root_testing::pallet::Event */ PalletRootTestingEvent: { _enum: ["DefensiveTestCall"], }, - /** Lookup383: pallet_multisig::pallet::Event */ + /** Lookup381: pallet_multisig::pallet::Event */ PalletMultisigEvent: { _enum: { NewMultisig: { @@ -4250,7 +4304,7 @@ export default { }, }, }, - /** Lookup384: pallet_message_queue::pallet::Event */ + /** Lookup382: pallet_message_queue::pallet::Event */ PalletMessageQueueEvent: { _enum: { ProcessingFailed: { @@ -4276,7 +4330,7 @@ export default { }, }, }, - /** Lookup385: frame_support::traits::messages::ProcessMessageError */ + /** Lookup383: frame_support::traits::messages::ProcessMessageError */ FrameSupportMessagesProcessMessageError: { _enum: { BadFormat: "Null", @@ -4286,11 +4340,11 @@ export default { Yield: "Null", }, }, - /** Lookup386: pallet_emergency_para_xcm::pallet::Event */ + /** Lookup384: pallet_emergency_para_xcm::pallet::Event */ PalletEmergencyParaXcmEvent: { _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"], }, - /** Lookup387: frame_system::Phase */ + /** Lookup385: frame_system::Phase */ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", @@ -4298,51 +4352,51 @@ export default { Initialization: "Null", }, }, - /** Lookup389: frame_system::LastRuntimeUpgradeInfo */ + /** Lookup387: frame_system::LastRuntimeUpgradeInfo */ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", specName: "Text", }, - /** Lookup390: frame_system::CodeUpgradeAuthorization */ + /** Lookup388: frame_system::CodeUpgradeAuthorization */ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", checkVersion: "bool", }, - /** Lookup391: frame_system::limits::BlockWeights */ + /** Lookup389: frame_system::limits::BlockWeights */ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", }, - /** Lookup392: frame_support::dispatch::PerDispatchClass */ + /** Lookup390: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", mandatory: "FrameSystemLimitsWeightsPerClass", }, - /** Lookup393: frame_system::limits::WeightsPerClass */ + /** Lookup391: frame_system::limits::WeightsPerClass */ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", reserved: "Option", }, - /** Lookup394: frame_system::limits::BlockLength */ + /** Lookup392: frame_system::limits::BlockLength */ FrameSystemLimitsBlockLength: { max: "FrameSupportDispatchPerDispatchClassU32", }, - /** Lookup395: frame_support::dispatch::PerDispatchClass */ + /** Lookup393: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", mandatory: "u32", }, - /** Lookup396: sp_weights::RuntimeDbWeight */ + /** Lookup394: sp_weights::RuntimeDbWeight */ SpWeightsRuntimeDbWeight: { read: "u64", write: "u64", }, - /** Lookup397: sp_version::RuntimeVersion */ + /** Lookup395: sp_version::RuntimeVersion */ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -4353,7 +4407,7 @@ export default { transactionVersion: "u32", stateVersion: "u8", }, - /** Lookup401: frame_system::pallet::Error */ + /** Lookup399: frame_system::pallet::Error */ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -4362,30 +4416,31 @@ export default { "NonDefaultComposite", "NonZeroRefCount", "CallFiltered", + "MultiBlockMigrationsOngoing", "NothingAuthorized", "Unauthorized", ], }, - /** Lookup402: pallet_utility::pallet::Error */ + /** Lookup400: pallet_utility::pallet::Error */ PalletUtilityError: { _enum: ["TooManyCalls"], }, - /** Lookup404: pallet_balances::types::BalanceLock */ + /** Lookup402: pallet_balances::types::BalanceLock */ PalletBalancesBalanceLock: { id: "[u8;8]", amount: "u128", reasons: "PalletBalancesReasons", }, - /** Lookup405: pallet_balances::types::Reasons */ + /** Lookup403: pallet_balances::types::Reasons */ PalletBalancesReasons: { _enum: ["Fee", "Misc", "All"], }, - /** Lookup408: pallet_balances::types::ReserveData */ + /** Lookup406: pallet_balances::types::ReserveData */ PalletBalancesReserveData: { id: "[u8;4]", amount: "u128", }, - /** Lookup412: moonbase_runtime::RuntimeHoldReason */ + /** Lookup410: moonbase_runtime::RuntimeHoldReason */ MoonbaseRuntimeRuntimeHoldReason: { _enum: { __Unused0: "Null", @@ -4435,16 +4490,16 @@ export default { Preimage: "PalletPreimageHoldReason", }, }, - /** Lookup413: pallet_preimage::pallet::HoldReason */ + /** Lookup411: pallet_preimage::pallet::HoldReason */ PalletPreimageHoldReason: { _enum: ["Preimage"], }, - /** Lookup416: pallet_balances::types::IdAmount */ + /** Lookup414: pallet_balances::types::IdAmount */ PalletBalancesIdAmount: { id: "Null", amount: "u128", }, - /** Lookup418: pallet_balances::pallet::Error */ + /** Lookup416: pallet_balances::pallet::Error */ PalletBalancesError: { _enum: [ "VestingBalance", @@ -4461,56 +4516,56 @@ export default { "DeltaZero", ], }, - /** Lookup419: pallet_sudo::pallet::Error */ + /** Lookup417: pallet_sudo::pallet::Error */ PalletSudoError: { _enum: ["RequireSudo"], }, - /** Lookup421: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ + /** Lookup419: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option", }, - /** Lookup422: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ + /** Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", umpTotalBytes: "u32", hrmpOutgoing: "BTreeMap", }, - /** Lookup424: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ + /** Lookup422: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", totalBytes: "u32", }, - /** Lookup428: polkadot_primitives::v6::UpgradeGoAhead */ - PolkadotPrimitivesV6UpgradeGoAhead: { + /** Lookup426: polkadot_primitives::v7::UpgradeGoAhead */ + PolkadotPrimitivesV7UpgradeGoAhead: { _enum: ["Abort", "GoAhead"], }, - /** Lookup429: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ + /** Lookup427: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option", }, - /** Lookup431: polkadot_primitives::v6::UpgradeRestriction */ - PolkadotPrimitivesV6UpgradeRestriction: { + /** Lookup429: polkadot_primitives::v7::UpgradeRestriction */ + PolkadotPrimitivesV7UpgradeRestriction: { _enum: ["Present"], }, - /** Lookup432: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ + /** Lookup430: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", - ingressChannels: "Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>", + ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", }, - /** Lookup433: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ + /** Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", remainingSize: "u32", }, - /** Lookup436: polkadot_primitives::v6::AbridgedHrmpChannel */ - PolkadotPrimitivesV6AbridgedHrmpChannel: { + /** Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel */ + PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", @@ -4518,8 +4573,8 @@ export default { totalSize: "u32", mqcHead: "Option", }, - /** Lookup437: polkadot_primitives::v6::AbridgedHostConfiguration */ - PolkadotPrimitivesV6AbridgedHostConfiguration: { + /** Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration */ + PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", maxUpwardQueueCount: "u32", @@ -4529,19 +4584,19 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV6AsyncBackingAsyncBackingParams", + asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams", }, - /** Lookup438: polkadot_primitives::v6::async_backing::AsyncBackingParams */ - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams: { + /** Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams */ + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", allowedAncestryLen: "u32", }, - /** Lookup444: polkadot_core_primitives::OutboundHrmpMessage */ + /** Lookup442: polkadot_core_primitives::OutboundHrmpMessage */ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", data: "Bytes", }, - /** Lookup446: cumulus_pallet_parachain_system::pallet::Error */ + /** Lookup444: cumulus_pallet_parachain_system::pallet::Error */ CumulusPalletParachainSystemError: { _enum: [ "OverlappingUpgrades", @@ -4554,11 +4609,11 @@ export default { "Unauthorized", ], }, - /** Lookup447: pallet_transaction_payment::Releases */ + /** Lookup445: pallet_transaction_payment::Releases */ PalletTransactionPaymentReleases: { _enum: ["V1Ancient", "V2"], }, - /** Lookup448: pallet_evm::CodeMetadata */ + /** Lookup446: pallet_evm::CodeMetadata */ PalletEvmCodeMetadata: { _alias: { size_: "size", @@ -4567,7 +4622,7 @@ export default { size_: "u64", hash_: "H256", }, - /** Lookup450: pallet_evm::pallet::Error */ + /** Lookup448: pallet_evm::pallet::Error */ PalletEvmError: { _enum: [ "BalanceLow", @@ -4582,11 +4637,10 @@ export default { "InvalidSignature", "Reentrancy", "TransactionMustComeFromEOA", - "InvalidTransaction", "Undefined", ], }, - /** Lookup453: fp_rpc::TransactionStatus */ + /** Lookup451: fp_rpc::TransactionStatus */ FpRpcTransactionStatus: { transactionHash: "H256", transactionIndex: "u32", @@ -4596,9 +4650,9 @@ export default { logs: "Vec", logsBloom: "EthbloomBloom", }, - /** Lookup456: ethbloom::Bloom */ + /** Lookup454: ethbloom::Bloom */ EthbloomBloom: "[u8;256]", - /** Lookup458: ethereum::receipt::ReceiptV3 */ + /** Lookup456: ethereum::receipt::ReceiptV3 */ EthereumReceiptReceiptV3: { _enum: { Legacy: "EthereumReceiptEip658ReceiptData", @@ -4606,7 +4660,7 @@ export default { EIP1559: "EthereumReceiptEip658ReceiptData", }, }, - /** Lookup459: ethereum::receipt::EIP658ReceiptData */ + /** Lookup457: ethereum::receipt::EIP658ReceiptData */ EthereumReceiptEip658ReceiptData: { statusCode: "u8", usedGas: "U256", @@ -4614,7 +4668,7 @@ export default { logs: "Vec", }, /** - * Lookup460: + * Lookup458: * ethereum::block::Block[ethereum::transaction::TransactionV2](ethereum::transaction::TransactionV2) */ EthereumBlock: { @@ -4622,7 +4676,7 @@ export default { transactions: "Vec", ommers: "Vec", }, - /** Lookup461: ethereum::header::Header */ + /** Lookup459: ethereum::header::Header */ EthereumHeader: { parentHash: "H256", ommersHash: "H256", @@ -4640,28 +4694,28 @@ export default { mixHash: "H256", nonce: "EthereumTypesHashH64", }, - /** Lookup462: ethereum_types::hash::H64 */ + /** Lookup460: ethereum_types::hash::H64 */ EthereumTypesHashH64: "[u8;8]", - /** Lookup467: pallet_ethereum::pallet::Error */ + /** Lookup465: pallet_ethereum::pallet::Error */ PalletEthereumError: { _enum: ["InvalidSignature", "PreLogExists"], }, /** - * Lookup468: + * Lookup466: * pallet_parachain_staking::types::ParachainBondConfig[account::AccountId20](account::AccountId20) */ PalletParachainStakingParachainBondConfig: { account: "AccountId20", percent: "Percent", }, - /** Lookup469: pallet_parachain_staking::types::RoundInfo */ + /** Lookup467: pallet_parachain_staking::types::RoundInfo */ PalletParachainStakingRoundInfo: { current: "u32", first: "u32", length: "u32", firstSlot: "u64", }, - /** Lookup470: pallet_parachain_staking::types::Delegator */ + /** Lookup468: pallet_parachain_staking::types::Delegator */ PalletParachainStakingDelegator: { id: "AccountId20", delegations: "PalletParachainStakingSetOrderedSet", @@ -4670,24 +4724,24 @@ export default { status: "PalletParachainStakingDelegatorStatus", }, /** - * Lookup471: + * Lookup469: * pallet_parachain_staking::set::OrderedSet> */ PalletParachainStakingSetOrderedSet: "Vec", - /** Lookup472: pallet_parachain_staking::types::Bond */ + /** Lookup470: pallet_parachain_staking::types::Bond */ PalletParachainStakingBond: { owner: "AccountId20", amount: "u128", }, - /** Lookup474: pallet_parachain_staking::types::DelegatorStatus */ + /** Lookup472: pallet_parachain_staking::types::DelegatorStatus */ PalletParachainStakingDelegatorStatus: { _enum: { Active: "Null", Leaving: "u32", }, }, - /** Lookup475: pallet_parachain_staking::types::CandidateMetadata */ + /** Lookup473: pallet_parachain_staking::types::CandidateMetadata */ PalletParachainStakingCandidateMetadata: { bond: "u128", delegationCount: "u32", @@ -4700,16 +4754,16 @@ export default { request: "Option", status: "PalletParachainStakingCollatorStatus", }, - /** Lookup476: pallet_parachain_staking::types::CapacityStatus */ + /** Lookup474: pallet_parachain_staking::types::CapacityStatus */ PalletParachainStakingCapacityStatus: { _enum: ["Full", "Empty", "Partial"], }, - /** Lookup478: pallet_parachain_staking::types::CandidateBondLessRequest */ + /** Lookup476: pallet_parachain_staking::types::CandidateBondLessRequest */ PalletParachainStakingCandidateBondLessRequest: { amount: "u128", whenExecutable: "u32", }, - /** Lookup479: pallet_parachain_staking::types::CollatorStatus */ + /** Lookup477: pallet_parachain_staking::types::CollatorStatus */ PalletParachainStakingCollatorStatus: { _enum: { Active: "Null", @@ -4717,50 +4771,50 @@ export default { Leaving: "u32", }, }, - /** Lookup481: pallet_parachain_staking::delegation_requests::ScheduledRequest */ + /** Lookup479: pallet_parachain_staking::delegation_requests::ScheduledRequest */ PalletParachainStakingDelegationRequestsScheduledRequest: { delegator: "AccountId20", whenExecutable: "u32", action: "PalletParachainStakingDelegationRequestsDelegationAction", }, /** - * Lookup484: + * Lookup482: * pallet_parachain_staking::auto_compound::AutoCompoundConfig[account::AccountId20](account::AccountId20) */ PalletParachainStakingAutoCompoundAutoCompoundConfig: { delegator: "AccountId20", value: "Percent", }, - /** Lookup486: pallet_parachain_staking::types::Delegations */ + /** Lookup484: pallet_parachain_staking::types::Delegations */ PalletParachainStakingDelegations: { delegations: "Vec", total: "u128", }, /** - * Lookup488: + * Lookup486: * pallet_parachain_staking::set::BoundedOrderedSet, S> */ PalletParachainStakingSetBoundedOrderedSet: "Vec", - /** Lookup491: pallet_parachain_staking::types::CollatorSnapshot */ + /** Lookup489: pallet_parachain_staking::types::CollatorSnapshot */ PalletParachainStakingCollatorSnapshot: { bond: "u128", delegations: "Vec", total: "u128", }, - /** Lookup493: pallet_parachain_staking::types::BondWithAutoCompound */ + /** Lookup491: pallet_parachain_staking::types::BondWithAutoCompound */ PalletParachainStakingBondWithAutoCompound: { owner: "AccountId20", amount: "u128", autoCompound: "Percent", }, - /** Lookup494: pallet_parachain_staking::types::DelayedPayout */ + /** Lookup492: pallet_parachain_staking::types::DelayedPayout */ PalletParachainStakingDelayedPayout: { roundIssuance: "u128", totalStakingReward: "u128", collatorCommission: "Perbill", }, - /** Lookup495: pallet_parachain_staking::inflation::InflationInfo */ + /** Lookup493: pallet_parachain_staking::inflation::InflationInfo */ PalletParachainStakingInflationInflationInfo: { expect: { min: "u128", @@ -4778,7 +4832,7 @@ export default { max: "Perbill", }, }, - /** Lookup496: pallet_parachain_staking::pallet::Error */ + /** Lookup494: pallet_parachain_staking::pallet::Error */ PalletParachainStakingError: { _enum: [ "DelegatorDNE", @@ -4839,7 +4893,7 @@ export default { ], }, /** - * Lookup499: pallet_scheduler::Scheduled, BlockNumber, moonbase_runtime::OriginCaller, account::AccountId20> */ @@ -4850,7 +4904,13 @@ export default { maybePeriodic: "Option<(u32,u32)>", origin: "MoonbaseRuntimeOriginCaller", }, - /** Lookup501: pallet_scheduler::pallet::Error */ + /** Lookup499: pallet_scheduler::RetryConfig */ + PalletSchedulerRetryConfig: { + totalRetries: "u8", + remaining: "u8", + period: "u32", + }, + /** Lookup500: pallet_scheduler::pallet::Error */ PalletSchedulerError: { _enum: [ "FailedToSchedule", @@ -4860,7 +4920,7 @@ export default { "Named", ], }, - /** Lookup502: pallet_treasury::Proposal */ + /** Lookup501: pallet_treasury::Proposal */ PalletTreasuryProposal: { proposer: "AccountId20", value: "u128", @@ -4868,7 +4928,7 @@ export default { bond: "u128", }, /** - * Lookup505: pallet_treasury::SpendStatus */ PalletTreasurySpendStatus: { @@ -4879,7 +4939,7 @@ export default { expireAt: "u32", status: "PalletTreasuryPaymentState", }, - /** Lookup506: pallet_treasury::PaymentState */ + /** Lookup505: pallet_treasury::PaymentState */ PalletTreasuryPaymentState: { _enum: { Pending: "Null", @@ -4889,9 +4949,9 @@ export default { Failed: "Null", }, }, - /** Lookup508: frame_support::PalletId */ + /** Lookup507: frame_support::PalletId */ FrameSupportPalletId: "[u8;8]", - /** Lookup509: pallet_treasury::pallet::Error */ + /** Lookup508: pallet_treasury::pallet::Error */ PalletTreasuryError: { _enum: [ "InsufficientProposersBalance", @@ -4908,17 +4968,17 @@ export default { "Inconclusive", ], }, - /** Lookup510: pallet_author_inherent::pallet::Error */ + /** Lookup509: pallet_author_inherent::pallet::Error */ PalletAuthorInherentError: { _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"], }, - /** Lookup511: pallet_crowdloan_rewards::pallet::RewardInfo */ + /** Lookup510: pallet_crowdloan_rewards::pallet::RewardInfo */ PalletCrowdloanRewardsRewardInfo: { totalReward: "u128", claimedReward: "u128", contributedRelayAddresses: "Vec<[u8;32]>", }, - /** Lookup513: pallet_crowdloan_rewards::pallet::Error */ + /** Lookup512: pallet_crowdloan_rewards::pallet::Error */ PalletCrowdloanRewardsError: { _enum: [ "AlreadyAssociated", @@ -4938,7 +4998,7 @@ export default { "InsufficientNumberOfValidProofs", ], }, - /** Lookup514: pallet_author_mapping::pallet::RegistrationInfo */ + /** Lookup513: pallet_author_mapping::pallet::RegistrationInfo */ PalletAuthorMappingRegistrationInfo: { _alias: { keys_: "keys", @@ -4947,7 +5007,7 @@ export default { deposit: "u128", keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", }, - /** Lookup515: pallet_author_mapping::pallet::Error */ + /** Lookup514: pallet_author_mapping::pallet::Error */ PalletAuthorMappingError: { _enum: [ "AssociationNotFound", @@ -4960,19 +5020,19 @@ export default { "DecodeKeysFailed", ], }, - /** Lookup518: pallet_proxy::ProxyDefinition */ + /** Lookup517: pallet_proxy::ProxyDefinition */ PalletProxyProxyDefinition: { delegate: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", delay: "u32", }, - /** Lookup522: pallet_proxy::Announcement */ + /** Lookup521: pallet_proxy::Announcement */ PalletProxyAnnouncement: { real: "AccountId20", callHash: "H256", height: "u32", }, - /** Lookup524: pallet_proxy::pallet::Error */ + /** Lookup523: pallet_proxy::pallet::Error */ PalletProxyError: { _enum: [ "TooMany", @@ -4985,12 +5045,12 @@ export default { "NoSelfProxy", ], }, - /** Lookup525: pallet_maintenance_mode::pallet::Error */ + /** Lookup524: pallet_maintenance_mode::pallet::Error */ PalletMaintenanceModeError: { _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"], }, /** - * Lookup527: pallet_identity::types::Registration> */ PalletIdentityRegistration: { @@ -4998,21 +5058,21 @@ export default { deposit: "u128", info: "PalletIdentityLegacyIdentityInfo", }, - /** Lookup536: pallet_identity::types::RegistrarInfo */ + /** Lookup535: pallet_identity::types::RegistrarInfo */ PalletIdentityRegistrarInfo: { account: "AccountId20", fee: "u128", fields: "u64", }, /** - * Lookup538: + * Lookup537: * pallet_identity::types::AuthorityProperties> */ PalletIdentityAuthorityProperties: { suffix: "Bytes", allocation: "u32", }, - /** Lookup541: pallet_identity::pallet::Error */ + /** Lookup540: pallet_identity::pallet::Error */ PalletIdentityError: { _enum: [ "TooManySubAccounts", @@ -5043,7 +5103,7 @@ export default { "NotExpired", ], }, - /** Lookup546: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ + /** Lookup545: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: "u32", state: "CumulusPalletXcmpQueueOutboundState", @@ -5051,21 +5111,21 @@ export default { firstIndex: "u16", lastIndex: "u16", }, - /** Lookup547: cumulus_pallet_xcmp_queue::OutboundState */ + /** Lookup546: cumulus_pallet_xcmp_queue::OutboundState */ CumulusPalletXcmpQueueOutboundState: { _enum: ["Ok", "Suspended"], }, - /** Lookup549: cumulus_pallet_xcmp_queue::QueueConfigData */ + /** Lookup548: cumulus_pallet_xcmp_queue::QueueConfigData */ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: "u32", dropThreshold: "u32", resumeThreshold: "u32", }, - /** Lookup550: cumulus_pallet_xcmp_queue::pallet::Error */ + /** Lookup549: cumulus_pallet_xcmp_queue::pallet::Error */ CumulusPalletXcmpQueueError: { _enum: ["BadQueueConfig", "AlreadySuspended", "AlreadyResumed"], }, - /** Lookup551: cumulus_pallet_dmp_queue::pallet::MigrationState */ + /** Lookup550: cumulus_pallet_dmp_queue::pallet::MigrationState */ CumulusPalletDmpQueueMigrationState: { _enum: { NotStarted: "Null", @@ -5083,7 +5143,7 @@ export default { Completed: "Null", }, }, - /** Lookup554: pallet_xcm::pallet::QueryStatus */ + /** Lookup553: pallet_xcm::pallet::QueryStatus */ PalletXcmQueryStatus: { _enum: { Pending: { @@ -5102,7 +5162,7 @@ export default { }, }, }, - /** Lookup558: xcm::VersionedResponse */ + /** Lookup557: xcm::VersionedResponse */ XcmVersionedResponse: { _enum: { __Unused0: "Null", @@ -5112,7 +5172,7 @@ export default { V4: "StagingXcmV4Response", }, }, - /** Lookup564: pallet_xcm::pallet::VersionMigrationStage */ + /** Lookup563: pallet_xcm::pallet::VersionMigrationStage */ PalletXcmVersionMigrationStage: { _enum: { MigrateSupportedVersion: "Null", @@ -5121,24 +5181,14 @@ export default { MigrateAndNotifyOldTargets: "Null", }, }, - /** Lookup567: xcm::VersionedAssetId */ - XcmVersionedAssetId: { - _enum: { - __Unused0: "Null", - __Unused1: "Null", - __Unused2: "Null", - V3: "XcmV3MultiassetAssetId", - V4: "StagingXcmV4AssetAssetId", - }, - }, - /** Lookup568: pallet_xcm::pallet::RemoteLockedFungibleRecord */ + /** Lookup566: pallet_xcm::pallet::RemoteLockedFungibleRecord */ PalletXcmRemoteLockedFungibleRecord: { amount: "u128", owner: "XcmVersionedLocation", locker: "XcmVersionedLocation", consumers: "Vec<(Null,u128)>", }, - /** Lookup575: pallet_xcm::pallet::Error */ + /** Lookup573: pallet_xcm::pallet::Error */ PalletXcmError: { _enum: [ "Unreachable", @@ -5161,14 +5211,14 @@ export default { "FeesNotMet", "LockNotFound", "InUse", - "InvalidAssetNotConcrete", + "__Unused20", "InvalidAssetUnknownReserve", "InvalidAssetUnsupportedReserve", "TooManyReserves", "LocalExecutionIncomplete", ], }, - /** Lookup576: pallet_assets::types::AssetDetails */ + /** Lookup574: pallet_assets::types::AssetDetails */ PalletAssetsAssetDetails: { owner: "AccountId20", issuer: "AccountId20", @@ -5183,22 +5233,22 @@ export default { approvals: "u32", status: "PalletAssetsAssetStatus", }, - /** Lookup577: pallet_assets::types::AssetStatus */ + /** Lookup575: pallet_assets::types::AssetStatus */ PalletAssetsAssetStatus: { _enum: ["Live", "Frozen", "Destroying"], }, - /** Lookup579: pallet_assets::types::AssetAccount */ + /** Lookup577: pallet_assets::types::AssetAccount */ PalletAssetsAssetAccount: { balance: "u128", status: "PalletAssetsAccountStatus", reason: "PalletAssetsExistenceReason", extra: "Null", }, - /** Lookup580: pallet_assets::types::AccountStatus */ + /** Lookup578: pallet_assets::types::AccountStatus */ PalletAssetsAccountStatus: { _enum: ["Liquid", "Frozen", "Blocked"], }, - /** Lookup581: pallet_assets::types::ExistenceReason */ + /** Lookup579: pallet_assets::types::ExistenceReason */ PalletAssetsExistenceReason: { _enum: { Consumer: "Null", @@ -5208,13 +5258,13 @@ export default { DepositFrom: "(AccountId20,u128)", }, }, - /** Lookup583: pallet_assets::types::Approval */ + /** Lookup581: pallet_assets::types::Approval */ PalletAssetsApproval: { amount: "u128", deposit: "u128", }, /** - * Lookup584: pallet_assets::types::AssetMetadata> */ PalletAssetsAssetMetadata: { @@ -5224,7 +5274,7 @@ export default { decimals: "u8", isFrozen: "bool", }, - /** Lookup586: pallet_assets::pallet::Error */ + /** Lookup584: pallet_assets::pallet::Error */ PalletAssetsError: { _enum: [ "BalanceLow", @@ -5249,7 +5299,7 @@ export default { "CallbackFailed", ], }, - /** Lookup587: orml_xtokens::module::Error */ + /** Lookup585: orml_xtokens::module::Error */ OrmlXtokensModuleError: { _enum: [ "AssetHasNoReserve", @@ -5271,9 +5321,10 @@ export default { "FeeNotEnough", "NotSupportedLocation", "MinXcmFeeNotDefined", + "RateLimited", ], }, - /** Lookup589: pallet_asset_manager::pallet::Error */ + /** Lookup587: pallet_asset_manager::pallet::Error */ PalletAssetManagerError: { _enum: [ "ErrorCreatingAsset", @@ -5286,11 +5337,11 @@ export default { "NonExistentLocalAsset", ], }, - /** Lookup590: pallet_migrations::pallet::Error */ + /** Lookup588: pallet_migrations::pallet::Error */ PalletMigrationsError: { _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"], }, - /** Lookup591: pallet_xcm_transactor::relay_indices::RelayChainIndices */ + /** Lookup589: pallet_xcm_transactor::relay_indices::RelayChainIndices */ PalletXcmTransactorRelayIndicesRelayChainIndices: { staking: "u8", utility: "u8", @@ -5311,7 +5362,7 @@ export default { closeChannel: "u8", cancelOpenRequest: "u8", }, - /** Lookup592: pallet_xcm_transactor::pallet::Error */ + /** Lookup590: pallet_xcm_transactor::pallet::Error */ PalletXcmTransactorError: { _enum: [ "IndexAlreadyClaimed", @@ -5343,18 +5394,18 @@ export default { "RefundNotSupportedWithTransactInfo", ], }, - /** Lookup593: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ + /** Lookup591: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ PalletMoonbeamOrbitersCollatorPoolInfo: { orbiters: "Vec", maybeCurrentOrbiter: "Option", nextOrbiter: "u32", }, - /** Lookup595: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ + /** Lookup593: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ PalletMoonbeamOrbitersCurrentOrbiter: { accountId: "AccountId20", removed: "bool", }, - /** Lookup596: pallet_moonbeam_orbiters::pallet::Error */ + /** Lookup594: pallet_moonbeam_orbiters::pallet::Error */ PalletMoonbeamOrbitersError: { _enum: [ "CollatorAlreadyAdded", @@ -5368,16 +5419,16 @@ export default { "OrbiterStillInAPool", ], }, - /** Lookup597: pallet_ethereum_xcm::pallet::Error */ + /** Lookup595: pallet_ethereum_xcm::pallet::Error */ PalletEthereumXcmError: { _enum: ["EthereumXcmExecutionSuspended"], }, - /** Lookup598: pallet_randomness::types::RequestState */ + /** Lookup596: pallet_randomness::types::RequestState */ PalletRandomnessRequestState: { request: "PalletRandomnessRequest", deposit: "u128", }, - /** Lookup599: pallet_randomness::types::Request> */ + /** Lookup597: pallet_randomness::types::Request> */ PalletRandomnessRequest: { refundAddress: "H160", contractAddress: "H160", @@ -5387,26 +5438,26 @@ export default { salt: "H256", info: "PalletRandomnessRequestInfo", }, - /** Lookup600: pallet_randomness::types::RequestInfo */ + /** Lookup598: pallet_randomness::types::RequestInfo */ PalletRandomnessRequestInfo: { _enum: { BabeEpoch: "(u64,u64)", Local: "(u32,u32)", }, }, - /** Lookup601: pallet_randomness::types::RequestType */ + /** Lookup599: pallet_randomness::types::RequestType */ PalletRandomnessRequestType: { _enum: { BabeEpoch: "u64", Local: "u32", }, }, - /** Lookup602: pallet_randomness::types::RandomnessResult */ + /** Lookup600: pallet_randomness::types::RandomnessResult */ PalletRandomnessRandomnessResult: { randomness: "Option", requestCount: "u64", }, - /** Lookup603: pallet_randomness::pallet::Error */ + /** Lookup601: pallet_randomness::pallet::Error */ PalletRandomnessError: { _enum: [ "RequestCounterOverflowed", @@ -5423,7 +5474,7 @@ export default { "RandomnessResultNotFilled", ], }, - /** Lookup605: pallet_collective::Votes */ + /** Lookup603: pallet_collective::Votes */ PalletCollectiveVotes: { index: "u32", threshold: "u32", @@ -5431,7 +5482,7 @@ export default { nays: "Vec", end: "u32", }, - /** Lookup606: pallet_collective::pallet::Error */ + /** Lookup604: pallet_collective::pallet::Error */ PalletCollectiveError: { _enum: [ "NotMember", @@ -5448,7 +5499,7 @@ export default { ], }, /** - * Lookup608: pallet_conviction_voting::vote::Voting */ PalletConvictionVotingVoteVoting: { @@ -5457,20 +5508,20 @@ export default { Delegating: "PalletConvictionVotingVoteDelegating", }, }, - /** Lookup609: pallet_conviction_voting::vote::Casting */ + /** Lookup607: pallet_conviction_voting::vote::Casting */ PalletConvictionVotingVoteCasting: { votes: "Vec<(u32,PalletConvictionVotingVoteAccountVote)>", delegations: "PalletConvictionVotingDelegations", prior: "PalletConvictionVotingVotePriorLock", }, - /** Lookup613: pallet_conviction_voting::types::Delegations */ + /** Lookup611: pallet_conviction_voting::types::Delegations */ PalletConvictionVotingDelegations: { votes: "u128", capital: "u128", }, - /** Lookup614: pallet_conviction_voting::vote::PriorLock */ + /** Lookup612: pallet_conviction_voting::vote::PriorLock */ PalletConvictionVotingVotePriorLock: "(u32,u128)", - /** Lookup615: pallet_conviction_voting::vote::Delegating */ + /** Lookup613: pallet_conviction_voting::vote::Delegating */ PalletConvictionVotingVoteDelegating: { balance: "u128", target: "AccountId20", @@ -5478,7 +5529,7 @@ export default { delegations: "PalletConvictionVotingDelegations", prior: "PalletConvictionVotingVotePriorLock", }, - /** Lookup619: pallet_conviction_voting::pallet::Error */ + /** Lookup617: pallet_conviction_voting::pallet::Error */ PalletConvictionVotingError: { _enum: [ "NotOngoing", @@ -5496,7 +5547,7 @@ export default { ], }, /** - * Lookup620: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> @@ -5512,7 +5563,7 @@ export default { }, }, /** - * Lookup621: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> @@ -5530,17 +5581,17 @@ export default { inQueue: "bool", alarm: "Option<(u32,(u32,u32))>", }, - /** Lookup622: pallet_referenda::types::Deposit */ + /** Lookup620: pallet_referenda::types::Deposit */ PalletReferendaDeposit: { who: "AccountId20", amount: "u128", }, - /** Lookup625: pallet_referenda::types::DecidingStatus */ + /** Lookup623: pallet_referenda::types::DecidingStatus */ PalletReferendaDecidingStatus: { since: "u32", confirming: "Option", }, - /** Lookup633: pallet_referenda::types::TrackInfo */ + /** Lookup631: pallet_referenda::types::TrackInfo */ PalletReferendaTrackInfo: { name: "Text", maxDeciding: "u32", @@ -5552,7 +5603,7 @@ export default { minApproval: "PalletReferendaCurve", minSupport: "PalletReferendaCurve", }, - /** Lookup634: pallet_referenda::types::Curve */ + /** Lookup632: pallet_referenda::types::Curve */ PalletReferendaCurve: { _enum: { LinearDecreasing: { @@ -5573,7 +5624,7 @@ export default { }, }, }, - /** Lookup637: pallet_referenda::pallet::Error */ + /** Lookup635: pallet_referenda::pallet::Error */ PalletReferendaError: { _enum: [ "NotOngoing", @@ -5589,9 +5640,10 @@ export default { "NoDeposit", "BadStatus", "PreimageNotExist", + "PreimageStoredWithDifferentLength", ], }, - /** Lookup638: pallet_preimage::OldRequestStatus */ + /** Lookup636: pallet_preimage::OldRequestStatus */ PalletPreimageOldRequestStatus: { _enum: { Unrequested: { @@ -5606,7 +5658,7 @@ export default { }, }, /** - * Lookup641: pallet_preimage::RequestStatus> */ PalletPreimageRequestStatus: { @@ -5622,7 +5674,7 @@ export default { }, }, }, - /** Lookup647: pallet_preimage::pallet::Error */ + /** Lookup645: pallet_preimage::pallet::Error */ PalletPreimageError: { _enum: [ "TooBig", @@ -5635,7 +5687,7 @@ export default { "TooFew", ], }, - /** Lookup648: pallet_whitelist::pallet::Error */ + /** Lookup646: pallet_whitelist::pallet::Error */ PalletWhitelistError: { _enum: [ "UnavailablePreImage", @@ -5645,14 +5697,14 @@ export default { "CallAlreadyWhitelisted", ], }, - /** Lookup652: pallet_multisig::Multisig */ + /** Lookup650: pallet_multisig::Multisig */ PalletMultisigMultisig: { when: "PalletMultisigTimepoint", deposit: "u128", depositor: "AccountId20", approvals: "Vec", }, - /** Lookup654: pallet_multisig::pallet::Error */ + /** Lookup652: pallet_multisig::pallet::Error */ PalletMultisigError: { _enum: [ "MinimumThreshold", @@ -5671,15 +5723,15 @@ export default { "AlreadyStored", ], }, - /** Lookup657: pallet_moonbeam_lazy_migrations::pallet::Error */ + /** Lookup655: pallet_moonbeam_lazy_migrations::pallet::Error */ PalletMoonbeamLazyMigrationsError: { _enum: ["LimitCannotBeZero", "AddressesLengthCannotBeZero", "ContractNotCorrupted"], }, - /** Lookup659: pallet_precompile_benchmarks::pallet::Error */ + /** Lookup657: pallet_precompile_benchmarks::pallet::Error */ PalletPrecompileBenchmarksError: { _enum: ["BenchmarkError"], }, - /** Lookup660: pallet_message_queue::BookState */ + /** Lookup658: pallet_message_queue::BookState */ PalletMessageQueueBookState: { _alias: { size_: "size", @@ -5691,12 +5743,12 @@ export default { messageCount: "u64", size_: "u64", }, - /** Lookup662: pallet_message_queue::Neighbours */ + /** Lookup660: pallet_message_queue::Neighbours */ PalletMessageQueueNeighbours: { prev: "CumulusPrimitivesCoreAggregateMessageOrigin", next: "CumulusPrimitivesCoreAggregateMessageOrigin", }, - /** Lookup664: pallet_message_queue::Page */ + /** Lookup662: pallet_message_queue::Page */ PalletMessageQueuePage: { remaining: "u32", remainingSize: "u32", @@ -5705,7 +5757,7 @@ export default { last: "u32", heap: "Bytes", }, - /** Lookup666: pallet_message_queue::pallet::Error */ + /** Lookup664: pallet_message_queue::pallet::Error */ PalletMessageQueueError: { _enum: [ "NotReapable", @@ -5719,28 +5771,28 @@ export default { "RecursiveDisallowed", ], }, - /** Lookup667: pallet_emergency_para_xcm::XcmMode */ + /** Lookup665: pallet_emergency_para_xcm::XcmMode */ PalletEmergencyParaXcmXcmMode: { _enum: ["Normal", "Paused"], }, - /** Lookup668: pallet_emergency_para_xcm::pallet::Error */ + /** Lookup666: pallet_emergency_para_xcm::pallet::Error */ PalletEmergencyParaXcmError: { _enum: ["NotInPausedMode"], }, - /** Lookup671: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ + /** Lookup669: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ FrameSystemExtensionsCheckNonZeroSender: "Null", - /** Lookup672: frame_system::extensions::check_spec_version::CheckSpecVersion */ + /** Lookup670: frame_system::extensions::check_spec_version::CheckSpecVersion */ FrameSystemExtensionsCheckSpecVersion: "Null", - /** Lookup673: frame_system::extensions::check_tx_version::CheckTxVersion */ + /** Lookup671: frame_system::extensions::check_tx_version::CheckTxVersion */ FrameSystemExtensionsCheckTxVersion: "Null", - /** Lookup674: frame_system::extensions::check_genesis::CheckGenesis */ + /** Lookup672: frame_system::extensions::check_genesis::CheckGenesis */ FrameSystemExtensionsCheckGenesis: "Null", - /** Lookup677: frame_system::extensions::check_nonce::CheckNonce */ + /** Lookup675: frame_system::extensions::check_nonce::CheckNonce */ FrameSystemExtensionsCheckNonce: "Compact", - /** Lookup678: frame_system::extensions::check_weight::CheckWeight */ + /** Lookup676: frame_system::extensions::check_weight::CheckWeight */ FrameSystemExtensionsCheckWeight: "Null", - /** Lookup679: pallet_transaction_payment::ChargeTransactionPayment */ + /** Lookup677: pallet_transaction_payment::ChargeTransactionPayment */ PalletTransactionPaymentChargeTransactionPayment: "Compact", - /** Lookup681: moonbase_runtime::Runtime */ + /** Lookup679: moonbase_runtime::Runtime */ MoonbaseRuntimeRuntime: "Null", }; diff --git a/typescript-api/src/moonbase/interfaces/registry.ts b/typescript-api/src/moonbase/interfaces/registry.ts index 05d2ded62b..04accc598f 100644 --- a/typescript-api/src/moonbase/interfaces/registry.ts +++ b/typescript-api/src/moonbase/interfaces/registry.ts @@ -246,6 +246,7 @@ import type { PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, + PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSudoCall, PalletSudoError, @@ -287,18 +288,14 @@ import type { PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, - PolkadotPrimitivesV6AbridgedHostConfiguration, - PolkadotPrimitivesV6AbridgedHrmpChannel, - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, - PolkadotPrimitivesV6PersistedValidationData, - PolkadotPrimitivesV6UpgradeGoAhead, - PolkadotPrimitivesV6UpgradeRestriction, + PolkadotPrimitivesV7AbridgedHostConfiguration, + PolkadotPrimitivesV7AbridgedHrmpChannel, + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams, + PolkadotPrimitivesV7PersistedValidationData, + PolkadotPrimitivesV7UpgradeGoAhead, + PolkadotPrimitivesV7UpgradeRestriction, SessionKeysPrimitivesVrfVrfCryptoPublic, SpArithmeticArithmeticError, - SpCoreEcdsaSignature, - SpCoreEd25519Signature, - SpCoreSr25519Public, - SpCoreSr25519Signature, SpCoreVoid, SpRuntimeBlakeTwo256, SpRuntimeDigest, @@ -313,6 +310,7 @@ import type { SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, + StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, @@ -629,6 +627,7 @@ declare module "@polkadot/types/types/registry" { PalletSchedulerCall: PalletSchedulerCall; PalletSchedulerError: PalletSchedulerError; PalletSchedulerEvent: PalletSchedulerEvent; + PalletSchedulerRetryConfig: PalletSchedulerRetryConfig; PalletSchedulerScheduled: PalletSchedulerScheduled; PalletSudoCall: PalletSudoCall; PalletSudoError: PalletSudoError; @@ -670,18 +669,14 @@ declare module "@polkadot/types/types/registry" { PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; PolkadotParachainPrimitivesPrimitivesHrmpChannelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId; - PolkadotPrimitivesV6AbridgedHostConfiguration: PolkadotPrimitivesV6AbridgedHostConfiguration; - PolkadotPrimitivesV6AbridgedHrmpChannel: PolkadotPrimitivesV6AbridgedHrmpChannel; - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams: PolkadotPrimitivesV6AsyncBackingAsyncBackingParams; - PolkadotPrimitivesV6PersistedValidationData: PolkadotPrimitivesV6PersistedValidationData; - PolkadotPrimitivesV6UpgradeGoAhead: PolkadotPrimitivesV6UpgradeGoAhead; - PolkadotPrimitivesV6UpgradeRestriction: PolkadotPrimitivesV6UpgradeRestriction; + PolkadotPrimitivesV7AbridgedHostConfiguration: PolkadotPrimitivesV7AbridgedHostConfiguration; + PolkadotPrimitivesV7AbridgedHrmpChannel: PolkadotPrimitivesV7AbridgedHrmpChannel; + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; + PolkadotPrimitivesV7PersistedValidationData: PolkadotPrimitivesV7PersistedValidationData; + PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead; + PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction; SessionKeysPrimitivesVrfVrfCryptoPublic: SessionKeysPrimitivesVrfVrfCryptoPublic; SpArithmeticArithmeticError: SpArithmeticArithmeticError; - SpCoreEcdsaSignature: SpCoreEcdsaSignature; - SpCoreEd25519Signature: SpCoreEd25519Signature; - SpCoreSr25519Public: SpCoreSr25519Public; - SpCoreSr25519Signature: SpCoreSr25519Signature; SpCoreVoid: SpCoreVoid; SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256; SpRuntimeDigest: SpRuntimeDigest; @@ -696,6 +691,7 @@ declare module "@polkadot/types/types/registry" { SpVersionRuntimeVersion: SpVersionRuntimeVersion; SpWeightsRuntimeDbWeight: SpWeightsRuntimeDbWeight; SpWeightsWeightV2Weight: SpWeightsWeightV2Weight; + StagingXcmExecutorAssetTransferTransferType: StagingXcmExecutorAssetTransferTransferType; StagingXcmV3MultiLocation: StagingXcmV3MultiLocation; StagingXcmV4Asset: StagingXcmV4Asset; StagingXcmV4AssetAssetFilter: StagingXcmV4AssetAssetFilter; diff --git a/typescript-api/src/moonbase/interfaces/types-lookup.ts b/typescript-api/src/moonbase/interfaces/types-lookup.ts index 5c0fbf2555..809d710555 100644 --- a/typescript-api/src/moonbase/interfaces/types-lookup.ts +++ b/typescript-api/src/moonbase/interfaces/types-lookup.ts @@ -58,25 +58,25 @@ declare module "@polkadot/types/lookup" { readonly flags: u128; } - /** @name FrameSupportDispatchPerDispatchClassWeight (8) */ + /** @name FrameSupportDispatchPerDispatchClassWeight (9) */ interface FrameSupportDispatchPerDispatchClassWeight extends Struct { readonly normal: SpWeightsWeightV2Weight; readonly operational: SpWeightsWeightV2Weight; readonly mandatory: SpWeightsWeightV2Weight; } - /** @name SpWeightsWeightV2Weight (9) */ + /** @name SpWeightsWeightV2Weight (10) */ interface SpWeightsWeightV2Weight extends Struct { readonly refTime: Compact; readonly proofSize: Compact; } - /** @name SpRuntimeDigest (15) */ + /** @name SpRuntimeDigest (16) */ interface SpRuntimeDigest extends Struct { readonly logs: Vec; } - /** @name SpRuntimeDigestDigestItem (17) */ + /** @name SpRuntimeDigestDigestItem (18) */ interface SpRuntimeDigestDigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; @@ -90,14 +90,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Other" | "Consensus" | "Seal" | "PreRuntime" | "RuntimeEnvironmentUpdated"; } - /** @name FrameSystemEventRecord (20) */ + /** @name FrameSystemEventRecord (21) */ interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec; } - /** @name FrameSystemEvent (22) */ + /** @name FrameSystemEvent (23) */ interface FrameSystemEvent extends Enum { readonly isExtrinsicSuccess: boolean; readonly asExtrinsicSuccess: { @@ -137,14 +137,14 @@ declare module "@polkadot/types/lookup" { | "UpgradeAuthorized"; } - /** @name FrameSupportDispatchDispatchInfo (23) */ + /** @name FrameSupportDispatchDispatchInfo (24) */ interface FrameSupportDispatchDispatchInfo extends Struct { readonly weight: SpWeightsWeightV2Weight; readonly class: FrameSupportDispatchDispatchClass; readonly paysFee: FrameSupportDispatchPays; } - /** @name FrameSupportDispatchDispatchClass (24) */ + /** @name FrameSupportDispatchDispatchClass (25) */ interface FrameSupportDispatchDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; @@ -152,14 +152,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Normal" | "Operational" | "Mandatory"; } - /** @name FrameSupportDispatchPays (25) */ + /** @name FrameSupportDispatchPays (26) */ interface FrameSupportDispatchPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: "Yes" | "No"; } - /** @name SpRuntimeDispatchError (26) */ + /** @name SpRuntimeDispatchError (27) */ interface SpRuntimeDispatchError extends Enum { readonly isOther: boolean; readonly isCannotLookup: boolean; @@ -196,13 +196,13 @@ declare module "@polkadot/types/lookup" { | "RootNotAllowed"; } - /** @name SpRuntimeModuleError (27) */ + /** @name SpRuntimeModuleError (28) */ interface SpRuntimeModuleError extends Struct { readonly index: u8; readonly error: U8aFixed; } - /** @name SpRuntimeTokenError (28) */ + /** @name SpRuntimeTokenError (29) */ interface SpRuntimeTokenError extends Enum { readonly isFundsUnavailable: boolean; readonly isOnlyProvider: boolean; @@ -227,7 +227,7 @@ declare module "@polkadot/types/lookup" { | "Blocked"; } - /** @name SpArithmeticArithmeticError (29) */ + /** @name SpArithmeticArithmeticError (30) */ interface SpArithmeticArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; @@ -235,7 +235,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Underflow" | "Overflow" | "DivisionByZero"; } - /** @name SpRuntimeTransactionalError (30) */ + /** @name SpRuntimeTransactionalError (31) */ interface SpRuntimeTransactionalError extends Enum { readonly isLimitReached: boolean; readonly isNoLayer: boolean; @@ -888,6 +888,18 @@ declare module "@polkadot/types/lookup" { readonly id: Option; readonly result: Result; } & Struct; + readonly isRetrySet: boolean; + readonly asRetrySet: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + readonly period: u32; + readonly retries: u8; + } & Struct; + readonly isRetryCancelled: boolean; + readonly asRetryCancelled: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + } & Struct; readonly isCallUnavailable: boolean; readonly asCallUnavailable: { readonly task: ITuple<[u32, u32]>; @@ -898,6 +910,11 @@ declare module "@polkadot/types/lookup" { readonly task: ITuple<[u32, u32]>; readonly id: Option; } & Struct; + readonly isRetryFailed: boolean; + readonly asRetryFailed: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + } & Struct; readonly isPermanentlyOverweight: boolean; readonly asPermanentlyOverweight: { readonly task: ITuple<[u32, u32]>; @@ -907,8 +924,11 @@ declare module "@polkadot/types/lookup" { | "Scheduled" | "Canceled" | "Dispatched" + | "RetrySet" + | "RetryCancelled" | "CallUnavailable" | "PeriodicFailed" + | "RetryFailed" | "PermanentlyOverweight"; } @@ -1056,15 +1076,12 @@ declare module "@polkadot/types/lookup" { } /** @name NimbusPrimitivesNimbusCryptoPublic (68) */ - interface NimbusPrimitivesNimbusCryptoPublic extends SpCoreSr25519Public {} + interface NimbusPrimitivesNimbusCryptoPublic extends U8aFixed {} - /** @name SpCoreSr25519Public (69) */ - interface SpCoreSr25519Public extends U8aFixed {} + /** @name SessionKeysPrimitivesVrfVrfCryptoPublic (69) */ + interface SessionKeysPrimitivesVrfVrfCryptoPublic extends U8aFixed {} - /** @name SessionKeysPrimitivesVrfVrfCryptoPublic (70) */ - interface SessionKeysPrimitivesVrfVrfCryptoPublic extends SpCoreSr25519Public {} - - /** @name PalletProxyEvent (71) */ + /** @name PalletProxyEvent (70) */ interface PalletProxyEvent extends Enum { readonly isProxyExecuted: boolean; readonly asProxyExecuted: { @@ -1100,7 +1117,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ProxyExecuted" | "PureCreated" | "Announced" | "ProxyAdded" | "ProxyRemoved"; } - /** @name MoonbaseRuntimeProxyType (72) */ + /** @name MoonbaseRuntimeProxyType (71) */ interface MoonbaseRuntimeProxyType extends Enum { readonly isAny: boolean; readonly isNonTransfer: boolean; @@ -1121,7 +1138,7 @@ declare module "@polkadot/types/lookup" { | "IdentityJudgement"; } - /** @name PalletMaintenanceModeEvent (74) */ + /** @name PalletMaintenanceModeEvent (73) */ interface PalletMaintenanceModeEvent extends Enum { readonly isEnteredMaintenanceMode: boolean; readonly isNormalOperationResumed: boolean; @@ -1140,7 +1157,7 @@ declare module "@polkadot/types/lookup" { | "FailedToResumeIdleXcmExecution"; } - /** @name PalletIdentityEvent (75) */ + /** @name PalletIdentityEvent (74) */ interface PalletIdentityEvent extends Enum { readonly isIdentitySet: boolean; readonly asIdentitySet: { @@ -1246,7 +1263,7 @@ declare module "@polkadot/types/lookup" { | "DanglingUsernameRemoved"; } - /** @name CumulusPalletXcmpQueueEvent (77) */ + /** @name CumulusPalletXcmpQueueEvent (76) */ interface CumulusPalletXcmpQueueEvent extends Enum { readonly isXcmpMessageSent: boolean; readonly asXcmpMessageSent: { @@ -1255,7 +1272,7 @@ declare module "@polkadot/types/lookup" { readonly type: "XcmpMessageSent"; } - /** @name CumulusPalletXcmEvent (78) */ + /** @name CumulusPalletXcmEvent (77) */ interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; @@ -1266,7 +1283,7 @@ declare module "@polkadot/types/lookup" { readonly type: "InvalidFormat" | "UnsupportedVersion" | "ExecutedDownward"; } - /** @name StagingXcmV4TraitsOutcome (79) */ + /** @name StagingXcmV4TraitsOutcome (78) */ interface StagingXcmV4TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: { @@ -1284,7 +1301,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Complete" | "Incomplete" | "Error"; } - /** @name XcmV3TraitsError (80) */ + /** @name XcmV3TraitsError (79) */ interface XcmV3TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -1371,7 +1388,7 @@ declare module "@polkadot/types/lookup" { | "ExceedsStackLimit"; } - /** @name CumulusPalletDmpQueueEvent (81) */ + /** @name CumulusPalletDmpQueueEvent (80) */ interface CumulusPalletDmpQueueEvent extends Enum { readonly isStartedExport: boolean; readonly isExported: boolean; @@ -1416,7 +1433,7 @@ declare module "@polkadot/types/lookup" { | "Completed"; } - /** @name PalletXcmEvent (82) */ + /** @name PalletXcmEvent (81) */ interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: { @@ -1581,13 +1598,13 @@ declare module "@polkadot/types/lookup" { | "VersionMigrationFinished"; } - /** @name StagingXcmV4Location (83) */ + /** @name StagingXcmV4Location (82) */ interface StagingXcmV4Location extends Struct { readonly parents: u8; readonly interior: StagingXcmV4Junctions; } - /** @name StagingXcmV4Junctions (84) */ + /** @name StagingXcmV4Junctions (83) */ interface StagingXcmV4Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -1609,7 +1626,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name StagingXcmV4Junction (86) */ + /** @name StagingXcmV4Junction (85) */ interface StagingXcmV4Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -1658,7 +1675,7 @@ declare module "@polkadot/types/lookup" { | "GlobalConsensus"; } - /** @name StagingXcmV4JunctionNetworkId (89) */ + /** @name StagingXcmV4JunctionNetworkId (88) */ interface StagingXcmV4JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; @@ -1693,7 +1710,7 @@ declare module "@polkadot/types/lookup" { | "PolkadotBulletin"; } - /** @name XcmV3JunctionBodyId (91) */ + /** @name XcmV3JunctionBodyId (90) */ interface XcmV3JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isMoniker: boolean; @@ -1720,7 +1737,7 @@ declare module "@polkadot/types/lookup" { | "Treasury"; } - /** @name XcmV3JunctionBodyPart (92) */ + /** @name XcmV3JunctionBodyPart (91) */ interface XcmV3JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -1745,10 +1762,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion"; } - /** @name StagingXcmV4Xcm (100) */ + /** @name StagingXcmV4Xcm (99) */ interface StagingXcmV4Xcm extends Vec {} - /** @name StagingXcmV4Instruction (102) */ + /** @name StagingXcmV4Instruction (101) */ interface StagingXcmV4Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: StagingXcmV4AssetAssets; @@ -1978,19 +1995,19 @@ declare module "@polkadot/types/lookup" { | "UnpaidExecution"; } - /** @name StagingXcmV4AssetAssets (103) */ + /** @name StagingXcmV4AssetAssets (102) */ interface StagingXcmV4AssetAssets extends Vec {} - /** @name StagingXcmV4Asset (105) */ + /** @name StagingXcmV4Asset (104) */ interface StagingXcmV4Asset extends Struct { readonly id: StagingXcmV4AssetAssetId; readonly fun: StagingXcmV4AssetFungibility; } - /** @name StagingXcmV4AssetAssetId (106) */ + /** @name StagingXcmV4AssetAssetId (105) */ interface StagingXcmV4AssetAssetId extends StagingXcmV4Location {} - /** @name StagingXcmV4AssetFungibility (107) */ + /** @name StagingXcmV4AssetFungibility (106) */ interface StagingXcmV4AssetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -1999,7 +2016,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name StagingXcmV4AssetAssetInstance (108) */ + /** @name StagingXcmV4AssetAssetInstance (107) */ interface StagingXcmV4AssetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -2015,7 +2032,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32"; } - /** @name StagingXcmV4Response (111) */ + /** @name StagingXcmV4Response (110) */ interface StagingXcmV4Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -2037,7 +2054,7 @@ declare module "@polkadot/types/lookup" { | "DispatchResult"; } - /** @name StagingXcmV4PalletInfo (115) */ + /** @name StagingXcmV4PalletInfo (114) */ interface StagingXcmV4PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; @@ -2047,7 +2064,7 @@ declare module "@polkadot/types/lookup" { readonly patch: Compact; } - /** @name XcmV3MaybeErrorCode (118) */ + /** @name XcmV3MaybeErrorCode (117) */ interface XcmV3MaybeErrorCode extends Enum { readonly isSuccess: boolean; readonly isError: boolean; @@ -2057,7 +2074,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Success" | "Error" | "TruncatedError"; } - /** @name XcmV2OriginKind (121) */ + /** @name XcmV2OriginKind (120) */ interface XcmV2OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; @@ -2066,19 +2083,19 @@ declare module "@polkadot/types/lookup" { readonly type: "Native" | "SovereignAccount" | "Superuser" | "Xcm"; } - /** @name XcmDoubleEncoded (122) */ + /** @name XcmDoubleEncoded (121) */ interface XcmDoubleEncoded extends Struct { readonly encoded: Bytes; } - /** @name StagingXcmV4QueryResponseInfo (123) */ + /** @name StagingXcmV4QueryResponseInfo (122) */ interface StagingXcmV4QueryResponseInfo extends Struct { readonly destination: StagingXcmV4Location; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name StagingXcmV4AssetAssetFilter (124) */ + /** @name StagingXcmV4AssetAssetFilter (123) */ interface StagingXcmV4AssetAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: StagingXcmV4AssetAssets; @@ -2087,7 +2104,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name StagingXcmV4AssetWildAsset (125) */ + /** @name StagingXcmV4AssetWildAsset (124) */ interface StagingXcmV4AssetWildAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -2106,14 +2123,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted"; } - /** @name StagingXcmV4AssetWildFungibility (126) */ + /** @name StagingXcmV4AssetWildFungibility (125) */ interface StagingXcmV4AssetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV3WeightLimit (127) */ + /** @name XcmV3WeightLimit (126) */ interface XcmV3WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -2121,7 +2138,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Unlimited" | "Limited"; } - /** @name XcmVersionedAssets (128) */ + /** @name XcmVersionedAssets (127) */ interface XcmVersionedAssets extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiassetMultiAssets; @@ -2132,16 +2149,16 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name XcmV2MultiassetMultiAssets (129) */ + /** @name XcmV2MultiassetMultiAssets (128) */ interface XcmV2MultiassetMultiAssets extends Vec {} - /** @name XcmV2MultiAsset (131) */ + /** @name XcmV2MultiAsset (130) */ interface XcmV2MultiAsset extends Struct { readonly id: XcmV2MultiassetAssetId; readonly fun: XcmV2MultiassetFungibility; } - /** @name XcmV2MultiassetAssetId (132) */ + /** @name XcmV2MultiassetAssetId (131) */ interface XcmV2MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: XcmV2MultiLocation; @@ -2150,13 +2167,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Concrete" | "Abstract"; } - /** @name XcmV2MultiLocation (133) */ + /** @name XcmV2MultiLocation (132) */ interface XcmV2MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV2MultilocationJunctions; } - /** @name XcmV2MultilocationJunctions (134) */ + /** @name XcmV2MultilocationJunctions (133) */ interface XcmV2MultilocationJunctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -2203,7 +2220,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name XcmV2Junction (135) */ + /** @name XcmV2Junction (134) */ interface XcmV2Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -2246,7 +2263,7 @@ declare module "@polkadot/types/lookup" { | "Plurality"; } - /** @name XcmV2NetworkId (136) */ + /** @name XcmV2NetworkId (135) */ interface XcmV2NetworkId extends Enum { readonly isAny: boolean; readonly isNamed: boolean; @@ -2256,7 +2273,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Any" | "Named" | "Polkadot" | "Kusama"; } - /** @name XcmV2BodyId (138) */ + /** @name XcmV2BodyId (137) */ interface XcmV2BodyId extends Enum { readonly isUnit: boolean; readonly isNamed: boolean; @@ -2283,7 +2300,7 @@ declare module "@polkadot/types/lookup" { | "Treasury"; } - /** @name XcmV2BodyPart (139) */ + /** @name XcmV2BodyPart (138) */ interface XcmV2BodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -2308,7 +2325,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion"; } - /** @name XcmV2MultiassetFungibility (140) */ + /** @name XcmV2MultiassetFungibility (139) */ interface XcmV2MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -2317,7 +2334,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV2MultiassetAssetInstance (141) */ + /** @name XcmV2MultiassetAssetInstance (140) */ interface XcmV2MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -2335,16 +2352,16 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32" | "Blob"; } - /** @name XcmV3MultiassetMultiAssets (142) */ + /** @name XcmV3MultiassetMultiAssets (141) */ interface XcmV3MultiassetMultiAssets extends Vec {} - /** @name XcmV3MultiAsset (144) */ + /** @name XcmV3MultiAsset (143) */ interface XcmV3MultiAsset extends Struct { readonly id: XcmV3MultiassetAssetId; readonly fun: XcmV3MultiassetFungibility; } - /** @name XcmV3MultiassetAssetId (145) */ + /** @name XcmV3MultiassetAssetId (144) */ interface XcmV3MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: StagingXcmV3MultiLocation; @@ -2353,13 +2370,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Concrete" | "Abstract"; } - /** @name StagingXcmV3MultiLocation (146) */ + /** @name StagingXcmV3MultiLocation (145) */ interface StagingXcmV3MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV3Junctions; } - /** @name XcmV3Junctions (147) */ + /** @name XcmV3Junctions (146) */ interface XcmV3Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -2406,7 +2423,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name XcmV3Junction (148) */ + /** @name XcmV3Junction (147) */ interface XcmV3Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -2455,7 +2472,7 @@ declare module "@polkadot/types/lookup" { | "GlobalConsensus"; } - /** @name XcmV3JunctionNetworkId (150) */ + /** @name XcmV3JunctionNetworkId (149) */ interface XcmV3JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; @@ -2490,7 +2507,7 @@ declare module "@polkadot/types/lookup" { | "PolkadotBulletin"; } - /** @name XcmV3MultiassetFungibility (151) */ + /** @name XcmV3MultiassetFungibility (150) */ interface XcmV3MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -2499,7 +2516,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV3MultiassetAssetInstance (152) */ + /** @name XcmV3MultiassetAssetInstance (151) */ interface XcmV3MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -2515,7 +2532,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32"; } - /** @name XcmVersionedLocation (153) */ + /** @name XcmVersionedLocation (152) */ interface XcmVersionedLocation extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiLocation; @@ -2526,7 +2543,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name PalletAssetsEvent (154) */ + /** @name PalletAssetsEvent (153) */ interface PalletAssetsEvent extends Enum { readonly isCreated: boolean; readonly asCreated: { @@ -2688,7 +2705,7 @@ declare module "@polkadot/types/lookup" { | "Blocked"; } - /** @name OrmlXtokensModuleEvent (155) */ + /** @name OrmlXtokensModuleEvent (154) */ interface OrmlXtokensModuleEvent extends Enum { readonly isTransferredAssets: boolean; readonly asTransferredAssets: { @@ -2700,7 +2717,7 @@ declare module "@polkadot/types/lookup" { readonly type: "TransferredAssets"; } - /** @name PalletAssetManagerEvent (156) */ + /** @name PalletAssetManagerEvent (155) */ interface PalletAssetManagerEvent extends Enum { readonly isForeignAssetRegistered: boolean; readonly asForeignAssetRegistered: { @@ -2746,14 +2763,14 @@ declare module "@polkadot/types/lookup" { | "LocalAssetDestroyed"; } - /** @name MoonbaseRuntimeXcmConfigAssetType (157) */ + /** @name MoonbaseRuntimeXcmConfigAssetType (156) */ interface MoonbaseRuntimeXcmConfigAssetType extends Enum { readonly isXcm: boolean; readonly asXcm: StagingXcmV3MultiLocation; readonly type: "Xcm"; } - /** @name MoonbaseRuntimeAssetConfigAssetRegistrarMetadata (158) */ + /** @name MoonbaseRuntimeAssetConfigAssetRegistrarMetadata (157) */ interface MoonbaseRuntimeAssetConfigAssetRegistrarMetadata extends Struct { readonly name: Bytes; readonly symbol: Bytes; @@ -2761,7 +2778,7 @@ declare module "@polkadot/types/lookup" { readonly isFrozen: bool; } - /** @name PalletMigrationsEvent (159) */ + /** @name PalletMigrationsEvent (158) */ interface PalletMigrationsEvent extends Enum { readonly isRuntimeUpgradeStarted: boolean; readonly isRuntimeUpgradeCompleted: boolean; @@ -2794,7 +2811,7 @@ declare module "@polkadot/types/lookup" { | "FailedToResumeIdleXcmExecution"; } - /** @name PalletXcmTransactorEvent (160) */ + /** @name PalletXcmTransactorEvent (159) */ interface PalletXcmTransactorEvent extends Enum { readonly isTransactedDerivative: boolean; readonly asTransactedDerivative: { @@ -2864,14 +2881,14 @@ declare module "@polkadot/types/lookup" { | "HrmpManagementSent"; } - /** @name PalletXcmTransactorRemoteTransactInfoWithMaxWeight (161) */ + /** @name PalletXcmTransactorRemoteTransactInfoWithMaxWeight (160) */ interface PalletXcmTransactorRemoteTransactInfoWithMaxWeight extends Struct { readonly transactExtraWeight: SpWeightsWeightV2Weight; readonly maxWeight: SpWeightsWeightV2Weight; readonly transactExtraWeightSigned: Option; } - /** @name PalletXcmTransactorHrmpOperation (163) */ + /** @name PalletXcmTransactorHrmpOperation (162) */ interface PalletXcmTransactorHrmpOperation extends Enum { readonly isInitOpen: boolean; readonly asInitOpen: PalletXcmTransactorHrmpInitParams; @@ -2889,20 +2906,20 @@ declare module "@polkadot/types/lookup" { readonly type: "InitOpen" | "Accept" | "Close" | "Cancel"; } - /** @name PalletXcmTransactorHrmpInitParams (164) */ + /** @name PalletXcmTransactorHrmpInitParams (163) */ interface PalletXcmTransactorHrmpInitParams extends Struct { readonly paraId: u32; readonly proposedMaxCapacity: u32; readonly proposedMaxMessageSize: u32; } - /** @name PolkadotParachainPrimitivesPrimitivesHrmpChannelId (166) */ + /** @name PolkadotParachainPrimitivesPrimitivesHrmpChannelId (165) */ interface PolkadotParachainPrimitivesPrimitivesHrmpChannelId extends Struct { readonly sender: u32; readonly recipient: u32; } - /** @name PalletMoonbeamOrbitersEvent (167) */ + /** @name PalletMoonbeamOrbitersEvent (166) */ interface PalletMoonbeamOrbitersEvent extends Enum { readonly isOrbiterJoinCollatorPool: boolean; readonly asOrbiterJoinCollatorPool: { @@ -2943,7 +2960,7 @@ declare module "@polkadot/types/lookup" { | "OrbiterUnregistered"; } - /** @name PalletRandomnessEvent (168) */ + /** @name PalletRandomnessEvent (167) */ interface PalletRandomnessEvent extends Enum { readonly isRandomnessRequestedBabeEpoch: boolean; readonly asRandomnessRequestedBabeEpoch: { @@ -2988,7 +3005,7 @@ declare module "@polkadot/types/lookup" { | "RequestExpirationExecuted"; } - /** @name PalletCollectiveEvent (169) */ + /** @name PalletCollectiveEvent (168) */ interface PalletCollectiveEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { @@ -3039,7 +3056,7 @@ declare module "@polkadot/types/lookup" { | "Closed"; } - /** @name PalletConvictionVotingEvent (170) */ + /** @name PalletConvictionVotingEvent (169) */ interface PalletConvictionVotingEvent extends Enum { readonly isDelegated: boolean; readonly asDelegated: ITuple<[AccountId20, AccountId20]>; @@ -3048,7 +3065,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Delegated" | "Undelegated"; } - /** @name PalletReferendaEvent (171) */ + /** @name PalletReferendaEvent (170) */ interface PalletReferendaEvent extends Enum { readonly isSubmitted: boolean; readonly asSubmitted: { @@ -3152,7 +3169,7 @@ declare module "@polkadot/types/lookup" { | "MetadataCleared"; } - /** @name FrameSupportPreimagesBounded (172) */ + /** @name FrameSupportPreimagesBounded (171) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -3168,7 +3185,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Inline" | "Lookup"; } - /** @name FrameSystemCall (174) */ + /** @name FrameSystemCall (173) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -3229,7 +3246,7 @@ declare module "@polkadot/types/lookup" { | "ApplyAuthorizedUpgrade"; } - /** @name PalletUtilityCall (178) */ + /** @name PalletUtilityCall (177) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -3267,7 +3284,7 @@ declare module "@polkadot/types/lookup" { | "WithWeight"; } - /** @name MoonbaseRuntimeOriginCaller (180) */ + /** @name MoonbaseRuntimeOriginCaller (179) */ interface MoonbaseRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -3298,7 +3315,7 @@ declare module "@polkadot/types/lookup" { | "OpenTechCommitteeCollective"; } - /** @name FrameSupportDispatchRawOrigin (181) */ + /** @name FrameSupportDispatchRawOrigin (180) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -3307,14 +3324,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Root" | "Signed" | "None"; } - /** @name PalletEthereumRawOrigin (182) */ + /** @name PalletEthereumRawOrigin (181) */ interface PalletEthereumRawOrigin extends Enum { readonly isEthereumTransaction: boolean; readonly asEthereumTransaction: H160; readonly type: "EthereumTransaction"; } - /** @name CumulusPalletXcmOrigin (183) */ + /** @name CumulusPalletXcmOrigin (182) */ interface CumulusPalletXcmOrigin extends Enum { readonly isRelay: boolean; readonly isSiblingParachain: boolean; @@ -3322,7 +3339,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Relay" | "SiblingParachain"; } - /** @name PalletXcmOrigin (184) */ + /** @name PalletXcmOrigin (183) */ interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; readonly asXcm: StagingXcmV4Location; @@ -3331,14 +3348,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Xcm" | "Response"; } - /** @name PalletEthereumXcmRawOrigin (185) */ + /** @name PalletEthereumXcmRawOrigin (184) */ interface PalletEthereumXcmRawOrigin extends Enum { readonly isXcmEthereumTransaction: boolean; readonly asXcmEthereumTransaction: H160; readonly type: "XcmEthereumTransaction"; } - /** @name PalletCollectiveRawOrigin (186) */ + /** @name PalletCollectiveRawOrigin (185) */ interface PalletCollectiveRawOrigin extends Enum { readonly isMembers: boolean; readonly asMembers: ITuple<[u32, u32]>; @@ -3348,7 +3365,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Members" | "Member" | "Phantom"; } - /** @name MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin (187) */ + /** @name MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin (186) */ interface MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin extends Enum { readonly isWhitelistedCaller: boolean; readonly isGeneralAdmin: boolean; @@ -3363,10 +3380,10 @@ declare module "@polkadot/types/lookup" { | "FastGeneralAdmin"; } - /** @name SpCoreVoid (189) */ + /** @name SpCoreVoid (188) */ type SpCoreVoid = Null; - /** @name PalletTimestampCall (190) */ + /** @name PalletTimestampCall (189) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -3375,7 +3392,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Set"; } - /** @name PalletBalancesCall (191) */ + /** @name PalletBalancesCall (190) */ interface PalletBalancesCall extends Enum { readonly isTransferAllowDeath: boolean; readonly asTransferAllowDeath: { @@ -3428,14 +3445,14 @@ declare module "@polkadot/types/lookup" { | "ForceAdjustTotalIssuance"; } - /** @name PalletBalancesAdjustmentDirection (193) */ + /** @name PalletBalancesAdjustmentDirection (192) */ interface PalletBalancesAdjustmentDirection extends Enum { readonly isIncrease: boolean; readonly isDecrease: boolean; readonly type: "Increase" | "Decrease"; } - /** @name PalletSudoCall (194) */ + /** @name PalletSudoCall (193) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -3459,7 +3476,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Sudo" | "SudoUncheckedWeight" | "SetKey" | "SudoAs" | "RemoveKey"; } - /** @name CumulusPalletParachainSystemCall (195) */ + /** @name CumulusPalletParachainSystemCall (194) */ interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { @@ -3485,40 +3502,40 @@ declare module "@polkadot/types/lookup" { | "EnactAuthorizedUpgrade"; } - /** @name CumulusPrimitivesParachainInherentParachainInherentData (196) */ + /** @name CumulusPrimitivesParachainInherentParachainInherentData (195) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV6PersistedValidationData; + readonly validationData: PolkadotPrimitivesV7PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotPrimitivesV6PersistedValidationData (197) */ - interface PolkadotPrimitivesV6PersistedValidationData extends Struct { + /** @name PolkadotPrimitivesV7PersistedValidationData (196) */ + interface PolkadotPrimitivesV7PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; readonly maxPovSize: u32; } - /** @name SpTrieStorageProof (199) */ + /** @name SpTrieStorageProof (198) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (202) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (201) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (205) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (204) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name PalletEvmCall (208) */ + /** @name PalletEvmCall (207) */ interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -3563,7 +3580,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Withdraw" | "Call" | "Create" | "Create2"; } - /** @name PalletEthereumCall (214) */ + /** @name PalletEthereumCall (213) */ interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -3572,7 +3589,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Transact"; } - /** @name EthereumTransactionTransactionV2 (215) */ + /** @name EthereumTransactionTransactionV2 (214) */ interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; @@ -3583,7 +3600,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Eip2930" | "Eip1559"; } - /** @name EthereumTransactionLegacyTransaction (216) */ + /** @name EthereumTransactionLegacyTransaction (215) */ interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -3594,7 +3611,7 @@ declare module "@polkadot/types/lookup" { readonly signature: EthereumTransactionTransactionSignature; } - /** @name EthereumTransactionTransactionAction (217) */ + /** @name EthereumTransactionTransactionAction (216) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -3602,14 +3619,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Call" | "Create"; } - /** @name EthereumTransactionTransactionSignature (218) */ + /** @name EthereumTransactionTransactionSignature (217) */ interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Transaction (220) */ + /** @name EthereumTransactionEip2930Transaction (219) */ interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -3624,13 +3641,13 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name EthereumTransactionAccessListItem (222) */ + /** @name EthereumTransactionAccessListItem (221) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name EthereumTransactionEip1559Transaction (223) */ + /** @name EthereumTransactionEip1559Transaction (222) */ interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -3646,7 +3663,7 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name PalletParachainStakingCall (224) */ + /** @name PalletParachainStakingCall (223) */ interface PalletParachainStakingCall extends Enum { readonly isSetStakingExpectations: boolean; readonly asSetStakingExpectations: { @@ -3819,7 +3836,7 @@ declare module "@polkadot/types/lookup" { | "ForceJoinCandidates"; } - /** @name PalletSchedulerCall (227) */ + /** @name PalletSchedulerCall (226) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -3860,16 +3877,40 @@ declare module "@polkadot/types/lookup" { readonly priority: u8; readonly call: Call; } & Struct; + readonly isSetRetry: boolean; + readonly asSetRetry: { + readonly task: ITuple<[u32, u32]>; + readonly retries: u8; + readonly period: u32; + } & Struct; + readonly isSetRetryNamed: boolean; + readonly asSetRetryNamed: { + readonly id: U8aFixed; + readonly retries: u8; + readonly period: u32; + } & Struct; + readonly isCancelRetry: boolean; + readonly asCancelRetry: { + readonly task: ITuple<[u32, u32]>; + } & Struct; + readonly isCancelRetryNamed: boolean; + readonly asCancelRetryNamed: { + readonly id: U8aFixed; + } & Struct; readonly type: | "Schedule" | "Cancel" | "ScheduleNamed" | "CancelNamed" | "ScheduleAfter" - | "ScheduleNamedAfter"; + | "ScheduleNamedAfter" + | "SetRetry" + | "SetRetryNamed" + | "CancelRetry" + | "CancelRetryNamed"; } - /** @name PalletTreasuryCall (229) */ + /** @name PalletTreasuryCall (228) */ interface PalletTreasuryCall extends Enum { readonly isProposeSpend: boolean; readonly asProposeSpend: { @@ -3924,13 +3965,13 @@ declare module "@polkadot/types/lookup" { | "VoidSpend"; } - /** @name PalletAuthorInherentCall (231) */ + /** @name PalletAuthorInherentCall (230) */ interface PalletAuthorInherentCall extends Enum { readonly isKickOffAuthorshipValidation: boolean; readonly type: "KickOffAuthorshipValidation"; } - /** @name PalletAuthorSlotFilterCall (232) */ + /** @name PalletAuthorSlotFilterCall (231) */ interface PalletAuthorSlotFilterCall extends Enum { readonly isSetEligible: boolean; readonly asSetEligible: { @@ -3939,7 +3980,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetEligible"; } - /** @name PalletCrowdloanRewardsCall (233) */ + /** @name PalletCrowdloanRewardsCall (232) */ interface PalletCrowdloanRewardsCall extends Enum { readonly isAssociateNativeIdentity: boolean; readonly asAssociateNativeIdentity: { @@ -3975,27 +4016,18 @@ declare module "@polkadot/types/lookup" { | "InitializeRewardVec"; } - /** @name SpRuntimeMultiSignature (234) */ + /** @name SpRuntimeMultiSignature (233) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; - readonly asEd25519: SpCoreEd25519Signature; + readonly asEd25519: U8aFixed; readonly isSr25519: boolean; - readonly asSr25519: SpCoreSr25519Signature; + readonly asSr25519: U8aFixed; readonly isEcdsa: boolean; - readonly asEcdsa: SpCoreEcdsaSignature; + readonly asEcdsa: U8aFixed; readonly type: "Ed25519" | "Sr25519" | "Ecdsa"; } - /** @name SpCoreEd25519Signature (235) */ - interface SpCoreEd25519Signature extends U8aFixed {} - - /** @name SpCoreSr25519Signature (237) */ - interface SpCoreSr25519Signature extends U8aFixed {} - - /** @name SpCoreEcdsaSignature (238) */ - interface SpCoreEcdsaSignature extends U8aFixed {} - - /** @name PalletAuthorMappingCall (244) */ + /** @name PalletAuthorMappingCall (240) */ interface PalletAuthorMappingCall extends Enum { readonly isAddAssociation: boolean; readonly asAddAssociation: { @@ -4023,7 +4055,7 @@ declare module "@polkadot/types/lookup" { | "SetKeys"; } - /** @name PalletProxyCall (245) */ + /** @name PalletProxyCall (241) */ interface PalletProxyCall extends Enum { readonly isProxy: boolean; readonly asProxy: { @@ -4093,14 +4125,14 @@ declare module "@polkadot/types/lookup" { | "ProxyAnnounced"; } - /** @name PalletMaintenanceModeCall (247) */ + /** @name PalletMaintenanceModeCall (243) */ interface PalletMaintenanceModeCall extends Enum { readonly isEnterMaintenanceMode: boolean; readonly isResumeNormalOperation: boolean; readonly type: "EnterMaintenanceMode" | "ResumeNormalOperation"; } - /** @name PalletIdentityCall (248) */ + /** @name PalletIdentityCall (244) */ interface PalletIdentityCall extends Enum { readonly isAddRegistrar: boolean; readonly asAddRegistrar: { @@ -4222,7 +4254,7 @@ declare module "@polkadot/types/lookup" { | "RemoveDanglingUsername"; } - /** @name PalletIdentityLegacyIdentityInfo (249) */ + /** @name PalletIdentityLegacyIdentityInfo (245) */ interface PalletIdentityLegacyIdentityInfo extends Struct { readonly additional: Vec>; readonly display: Data; @@ -4235,7 +4267,7 @@ declare module "@polkadot/types/lookup" { readonly twitter: Data; } - /** @name PalletIdentityJudgement (285) */ + /** @name PalletIdentityJudgement (281) */ interface PalletIdentityJudgement extends Enum { readonly isUnknown: boolean; readonly isFeePaid: boolean; @@ -4255,10 +4287,10 @@ declare module "@polkadot/types/lookup" { | "Erroneous"; } - /** @name AccountEthereumSignature (287) */ - interface AccountEthereumSignature extends SpCoreEcdsaSignature {} + /** @name AccountEthereumSignature (283) */ + interface AccountEthereumSignature extends U8aFixed {} - /** @name CumulusPalletXcmpQueueCall (288) */ + /** @name CumulusPalletXcmpQueueCall (284) */ interface CumulusPalletXcmpQueueCall extends Enum { readonly isSuspendXcmExecution: boolean; readonly isResumeXcmExecution: boolean; @@ -4282,10 +4314,10 @@ declare module "@polkadot/types/lookup" { | "UpdateResumeThreshold"; } - /** @name CumulusPalletDmpQueueCall (289) */ + /** @name CumulusPalletDmpQueueCall (285) */ type CumulusPalletDmpQueueCall = Null; - /** @name PalletXcmCall (290) */ + /** @name PalletXcmCall (286) */ interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { @@ -4356,6 +4388,21 @@ declare module "@polkadot/types/lookup" { readonly feeAssetItem: u32; readonly weightLimit: XcmV3WeightLimit; } & Struct; + readonly isClaimAssets: boolean; + readonly asClaimAssets: { + readonly assets: XcmVersionedAssets; + readonly beneficiary: XcmVersionedLocation; + } & Struct; + readonly isTransferAssetsUsingTypeAndThen: boolean; + readonly asTransferAssetsUsingTypeAndThen: { + readonly dest: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; + readonly assetsTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly remoteFeesId: XcmVersionedAssetId; + readonly feesTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly customXcmOnDest: XcmVersionedXcm; + readonly weightLimit: XcmV3WeightLimit; + } & Struct; readonly type: | "Send" | "TeleportAssets" @@ -4368,10 +4415,12 @@ declare module "@polkadot/types/lookup" { | "LimitedReserveTransferAssets" | "LimitedTeleportAssets" | "ForceSuspension" - | "TransferAssets"; + | "TransferAssets" + | "ClaimAssets" + | "TransferAssetsUsingTypeAndThen"; } - /** @name XcmVersionedXcm (291) */ + /** @name XcmVersionedXcm (287) */ interface XcmVersionedXcm extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Xcm; @@ -4382,10 +4431,10 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name XcmV2Xcm (292) */ + /** @name XcmV2Xcm (288) */ interface XcmV2Xcm extends Vec {} - /** @name XcmV2Instruction (294) */ + /** @name XcmV2Instruction (290) */ interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; @@ -4533,7 +4582,7 @@ declare module "@polkadot/types/lookup" { | "UnsubscribeVersion"; } - /** @name XcmV2Response (295) */ + /** @name XcmV2Response (291) */ interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4545,7 +4594,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Null" | "Assets" | "ExecutionResult" | "Version"; } - /** @name XcmV2TraitsError (298) */ + /** @name XcmV2TraitsError (294) */ interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -4604,7 +4653,7 @@ declare module "@polkadot/types/lookup" { | "WeightNotComputable"; } - /** @name XcmV2MultiassetMultiAssetFilter (299) */ + /** @name XcmV2MultiassetMultiAssetFilter (295) */ interface XcmV2MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV2MultiassetMultiAssets; @@ -4613,7 +4662,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name XcmV2MultiassetWildMultiAsset (300) */ + /** @name XcmV2MultiassetWildMultiAsset (296) */ interface XcmV2MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4624,14 +4673,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf"; } - /** @name XcmV2MultiassetWildFungibility (301) */ + /** @name XcmV2MultiassetWildFungibility (297) */ interface XcmV2MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV2WeightLimit (302) */ + /** @name XcmV2WeightLimit (298) */ interface XcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -4639,10 +4688,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Unlimited" | "Limited"; } - /** @name XcmV3Xcm (303) */ + /** @name XcmV3Xcm (299) */ interface XcmV3Xcm extends Vec {} - /** @name XcmV3Instruction (305) */ + /** @name XcmV3Instruction (301) */ interface XcmV3Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV3MultiassetMultiAssets; @@ -4872,7 +4921,7 @@ declare module "@polkadot/types/lookup" { | "UnpaidExecution"; } - /** @name XcmV3Response (306) */ + /** @name XcmV3Response (302) */ interface XcmV3Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4894,7 +4943,7 @@ declare module "@polkadot/types/lookup" { | "DispatchResult"; } - /** @name XcmV3PalletInfo (308) */ + /** @name XcmV3PalletInfo (304) */ interface XcmV3PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; @@ -4904,14 +4953,14 @@ declare module "@polkadot/types/lookup" { readonly patch: Compact; } - /** @name XcmV3QueryResponseInfo (312) */ + /** @name XcmV3QueryResponseInfo (308) */ interface XcmV3QueryResponseInfo extends Struct { readonly destination: StagingXcmV3MultiLocation; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name XcmV3MultiassetMultiAssetFilter (313) */ + /** @name XcmV3MultiassetMultiAssetFilter (309) */ interface XcmV3MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV3MultiassetMultiAssets; @@ -4920,7 +4969,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name XcmV3MultiassetWildMultiAsset (314) */ + /** @name XcmV3MultiassetWildMultiAsset (310) */ interface XcmV3MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4939,14 +4988,33 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted"; } - /** @name XcmV3MultiassetWildFungibility (315) */ + /** @name XcmV3MultiassetWildFungibility (311) */ interface XcmV3MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name PalletAssetsCall (327) */ + /** @name StagingXcmExecutorAssetTransferTransferType (323) */ + interface StagingXcmExecutorAssetTransferTransferType extends Enum { + readonly isTeleport: boolean; + readonly isLocalReserve: boolean; + readonly isDestinationReserve: boolean; + readonly isRemoteReserve: boolean; + readonly asRemoteReserve: XcmVersionedLocation; + readonly type: "Teleport" | "LocalReserve" | "DestinationReserve" | "RemoteReserve"; + } + + /** @name XcmVersionedAssetId (324) */ + interface XcmVersionedAssetId extends Enum { + readonly isV3: boolean; + readonly asV3: XcmV3MultiassetAssetId; + readonly isV4: boolean; + readonly asV4: StagingXcmV4AssetAssetId; + readonly type: "V3" | "V4"; + } + + /** @name PalletAssetsCall (325) */ interface PalletAssetsCall extends Enum { readonly isCreate: boolean; readonly asCreate: { @@ -5160,7 +5228,7 @@ declare module "@polkadot/types/lookup" { | "Block"; } - /** @name OrmlXtokensModuleCall (328) */ + /** @name OrmlXtokensModuleCall (326) */ interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -5213,7 +5281,7 @@ declare module "@polkadot/types/lookup" { | "TransferMultiassets"; } - /** @name MoonbaseRuntimeXcmConfigCurrencyId (329) */ + /** @name MoonbaseRuntimeXcmConfigCurrencyId (327) */ interface MoonbaseRuntimeXcmConfigCurrencyId extends Enum { readonly isSelfReserve: boolean; readonly isForeignAsset: boolean; @@ -5225,7 +5293,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SelfReserve" | "ForeignAsset" | "Erc20"; } - /** @name XcmVersionedAsset (330) */ + /** @name XcmVersionedAsset (328) */ interface XcmVersionedAsset extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiAsset; @@ -5236,7 +5304,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name PalletAssetManagerCall (333) */ + /** @name PalletAssetManagerCall (331) */ interface PalletAssetManagerCall extends Enum { readonly isRegisterForeignAsset: boolean; readonly asRegisterForeignAsset: { @@ -5281,7 +5349,7 @@ declare module "@polkadot/types/lookup" { | "DestroyForeignAsset"; } - /** @name PalletXcmTransactorCall (334) */ + /** @name PalletXcmTransactorCall (332) */ interface PalletXcmTransactorCall extends Enum { readonly isRegister: boolean; readonly asRegister: { @@ -5358,19 +5426,19 @@ declare module "@polkadot/types/lookup" { | "HrmpManage"; } - /** @name MoonbaseRuntimeXcmConfigTransactors (335) */ + /** @name MoonbaseRuntimeXcmConfigTransactors (333) */ interface MoonbaseRuntimeXcmConfigTransactors extends Enum { readonly isRelay: boolean; readonly type: "Relay"; } - /** @name PalletXcmTransactorCurrencyPayment (336) */ + /** @name PalletXcmTransactorCurrencyPayment (334) */ interface PalletXcmTransactorCurrencyPayment extends Struct { readonly currency: PalletXcmTransactorCurrency; readonly feeAmount: Option; } - /** @name PalletXcmTransactorCurrency (337) */ + /** @name PalletXcmTransactorCurrency (335) */ interface PalletXcmTransactorCurrency extends Enum { readonly isAsCurrencyId: boolean; readonly asAsCurrencyId: MoonbaseRuntimeXcmConfigCurrencyId; @@ -5379,13 +5447,13 @@ declare module "@polkadot/types/lookup" { readonly type: "AsCurrencyId" | "AsMultiLocation"; } - /** @name PalletXcmTransactorTransactWeights (339) */ + /** @name PalletXcmTransactorTransactWeights (337) */ interface PalletXcmTransactorTransactWeights extends Struct { readonly transactRequiredWeightAtMost: SpWeightsWeightV2Weight; readonly overallWeight: Option; } - /** @name PalletMoonbeamOrbitersCall (341) */ + /** @name PalletMoonbeamOrbitersCall (339) */ interface PalletMoonbeamOrbitersCall extends Enum { readonly isCollatorAddOrbiter: boolean; readonly asCollatorAddOrbiter: { @@ -5422,7 +5490,7 @@ declare module "@polkadot/types/lookup" { | "RemoveCollator"; } - /** @name PalletEthereumXcmCall (342) */ + /** @name PalletEthereumXcmCall (340) */ interface PalletEthereumXcmCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -5442,7 +5510,7 @@ declare module "@polkadot/types/lookup" { | "ResumeEthereumXcmExecution"; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransaction (343) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransaction (341) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransaction extends Enum { readonly isV1: boolean; readonly asV1: XcmPrimitivesEthereumXcmEthereumXcmTransactionV1; @@ -5451,7 +5519,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V1" | "V2"; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 (344) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 (342) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 extends Struct { readonly gasLimit: U256; readonly feePayment: XcmPrimitivesEthereumXcmEthereumXcmFee; @@ -5461,7 +5529,7 @@ declare module "@polkadot/types/lookup" { readonly accessList: Option]>>>; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmFee (345) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmFee (343) */ interface XcmPrimitivesEthereumXcmEthereumXcmFee extends Enum { readonly isManual: boolean; readonly asManual: XcmPrimitivesEthereumXcmManualEthereumXcmFee; @@ -5469,13 +5537,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Manual" | "Auto"; } - /** @name XcmPrimitivesEthereumXcmManualEthereumXcmFee (346) */ + /** @name XcmPrimitivesEthereumXcmManualEthereumXcmFee (344) */ interface XcmPrimitivesEthereumXcmManualEthereumXcmFee extends Struct { readonly gasPrice: Option; readonly maxFeePerGas: Option; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 (349) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 (347) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 extends Struct { readonly gasLimit: U256; readonly action: EthereumTransactionTransactionAction; @@ -5484,13 +5552,13 @@ declare module "@polkadot/types/lookup" { readonly accessList: Option]>>>; } - /** @name PalletRandomnessCall (350) */ + /** @name PalletRandomnessCall (348) */ interface PalletRandomnessCall extends Enum { readonly isSetBabeRandomnessResults: boolean; readonly type: "SetBabeRandomnessResults"; } - /** @name PalletCollectiveCall (351) */ + /** @name PalletCollectiveCall (349) */ interface PalletCollectiveCall extends Enum { readonly isSetMembers: boolean; readonly asSetMembers: { @@ -5529,7 +5597,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetMembers" | "Execute" | "Propose" | "Vote" | "DisapproveProposal" | "Close"; } - /** @name PalletConvictionVotingCall (352) */ + /** @name PalletConvictionVotingCall (350) */ interface PalletConvictionVotingCall extends Enum { readonly isVote: boolean; readonly asVote: { @@ -5566,7 +5634,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Vote" | "Delegate" | "Undelegate" | "Unlock" | "RemoveVote" | "RemoveOtherVote"; } - /** @name PalletConvictionVotingVoteAccountVote (353) */ + /** @name PalletConvictionVotingVoteAccountVote (351) */ interface PalletConvictionVotingVoteAccountVote extends Enum { readonly isStandard: boolean; readonly asStandard: { @@ -5587,7 +5655,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Standard" | "Split" | "SplitAbstain"; } - /** @name PalletConvictionVotingConviction (355) */ + /** @name PalletConvictionVotingConviction (353) */ interface PalletConvictionVotingConviction extends Enum { readonly isNone: boolean; readonly isLocked1x: boolean; @@ -5606,7 +5674,7 @@ declare module "@polkadot/types/lookup" { | "Locked6x"; } - /** @name PalletReferendaCall (357) */ + /** @name PalletReferendaCall (355) */ interface PalletReferendaCall extends Enum { readonly isSubmit: boolean; readonly asSubmit: { @@ -5659,7 +5727,7 @@ declare module "@polkadot/types/lookup" { | "SetMetadata"; } - /** @name FrameSupportScheduleDispatchTime (358) */ + /** @name FrameSupportScheduleDispatchTime (356) */ interface FrameSupportScheduleDispatchTime extends Enum { readonly isAt: boolean; readonly asAt: u32; @@ -5668,7 +5736,7 @@ declare module "@polkadot/types/lookup" { readonly type: "At" | "After"; } - /** @name PalletPreimageCall (360) */ + /** @name PalletPreimageCall (358) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -5698,7 +5766,7 @@ declare module "@polkadot/types/lookup" { | "EnsureUpdated"; } - /** @name PalletWhitelistCall (361) */ + /** @name PalletWhitelistCall (359) */ interface PalletWhitelistCall extends Enum { readonly isWhitelistCall: boolean; readonly asWhitelistCall: { @@ -5725,7 +5793,7 @@ declare module "@polkadot/types/lookup" { | "DispatchWhitelistedCallWithPreimage"; } - /** @name PalletRootTestingCall (363) */ + /** @name PalletRootTestingCall (361) */ interface PalletRootTestingCall extends Enum { readonly isFillBlock: boolean; readonly asFillBlock: { @@ -5735,7 +5803,7 @@ declare module "@polkadot/types/lookup" { readonly type: "FillBlock" | "TriggerDefensive"; } - /** @name PalletMultisigCall (364) */ + /** @name PalletMultisigCall (362) */ interface PalletMultisigCall extends Enum { readonly isAsMultiThreshold1: boolean; readonly asAsMultiThreshold1: { @@ -5768,13 +5836,13 @@ declare module "@polkadot/types/lookup" { readonly type: "AsMultiThreshold1" | "AsMulti" | "ApproveAsMulti" | "CancelAsMulti"; } - /** @name PalletMultisigTimepoint (366) */ + /** @name PalletMultisigTimepoint (364) */ interface PalletMultisigTimepoint extends Struct { readonly height: u32; readonly index: u32; } - /** @name PalletMoonbeamLazyMigrationsCall (367) */ + /** @name PalletMoonbeamLazyMigrationsCall (365) */ interface PalletMoonbeamLazyMigrationsCall extends Enum { readonly isClearSuicidedStorage: boolean; readonly asClearSuicidedStorage: { @@ -5784,7 +5852,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ClearSuicidedStorage"; } - /** @name PalletMessageQueueCall (370) */ + /** @name PalletMessageQueueCall (368) */ interface PalletMessageQueueCall extends Enum { readonly isReapPage: boolean; readonly asReapPage: { @@ -5801,7 +5869,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ReapPage" | "ExecuteOverweight"; } - /** @name CumulusPrimitivesCoreAggregateMessageOrigin (371) */ + /** @name CumulusPrimitivesCoreAggregateMessageOrigin (369) */ interface CumulusPrimitivesCoreAggregateMessageOrigin extends Enum { readonly isHere: boolean; readonly isParent: boolean; @@ -5810,7 +5878,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "Parent" | "Sibling"; } - /** @name PalletEmergencyParaXcmCall (372) */ + /** @name PalletEmergencyParaXcmCall (370) */ interface PalletEmergencyParaXcmCall extends Enum { readonly isPausedToNormal: boolean; readonly isFastAuthorizeUpgrade: boolean; @@ -5820,17 +5888,17 @@ declare module "@polkadot/types/lookup" { readonly type: "PausedToNormal" | "FastAuthorizeUpgrade"; } - /** @name SpRuntimeBlakeTwo256 (373) */ + /** @name SpRuntimeBlakeTwo256 (371) */ type SpRuntimeBlakeTwo256 = Null; - /** @name PalletConvictionVotingTally (375) */ + /** @name PalletConvictionVotingTally (373) */ interface PalletConvictionVotingTally extends Struct { readonly ayes: u128; readonly nays: u128; readonly support: u128; } - /** @name PalletPreimageEvent (376) */ + /** @name PalletPreimageEvent (374) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -5847,7 +5915,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Noted" | "Requested" | "Cleared"; } - /** @name PalletWhitelistEvent (377) */ + /** @name PalletWhitelistEvent (375) */ interface PalletWhitelistEvent extends Enum { readonly isCallWhitelisted: boolean; readonly asCallWhitelisted: { @@ -5868,25 +5936,25 @@ declare module "@polkadot/types/lookup" { readonly type: "CallWhitelisted" | "WhitelistedCallRemoved" | "WhitelistedCallDispatched"; } - /** @name FrameSupportDispatchPostDispatchInfo (379) */ + /** @name FrameSupportDispatchPostDispatchInfo (377) */ interface FrameSupportDispatchPostDispatchInfo extends Struct { readonly actualWeight: Option; readonly paysFee: FrameSupportDispatchPays; } - /** @name SpRuntimeDispatchErrorWithPostInfo (380) */ + /** @name SpRuntimeDispatchErrorWithPostInfo (378) */ interface SpRuntimeDispatchErrorWithPostInfo extends Struct { readonly postInfo: FrameSupportDispatchPostDispatchInfo; readonly error: SpRuntimeDispatchError; } - /** @name PalletRootTestingEvent (382) */ + /** @name PalletRootTestingEvent (380) */ interface PalletRootTestingEvent extends Enum { readonly isDefensiveTestCall: boolean; readonly type: "DefensiveTestCall"; } - /** @name PalletMultisigEvent (383) */ + /** @name PalletMultisigEvent (381) */ interface PalletMultisigEvent extends Enum { readonly isNewMultisig: boolean; readonly asNewMultisig: { @@ -5919,7 +5987,7 @@ declare module "@polkadot/types/lookup" { readonly type: "NewMultisig" | "MultisigApproval" | "MultisigExecuted" | "MultisigCancelled"; } - /** @name PalletMessageQueueEvent (384) */ + /** @name PalletMessageQueueEvent (382) */ interface PalletMessageQueueEvent extends Enum { readonly isProcessingFailed: boolean; readonly asProcessingFailed: { @@ -5949,7 +6017,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ProcessingFailed" | "Processed" | "OverweightEnqueued" | "PageReaped"; } - /** @name FrameSupportMessagesProcessMessageError (385) */ + /** @name FrameSupportMessagesProcessMessageError (383) */ interface FrameSupportMessagesProcessMessageError extends Enum { readonly isBadFormat: boolean; readonly isCorrupt: boolean; @@ -5960,14 +6028,14 @@ declare module "@polkadot/types/lookup" { readonly type: "BadFormat" | "Corrupt" | "Unsupported" | "Overweight" | "Yield"; } - /** @name PalletEmergencyParaXcmEvent (386) */ + /** @name PalletEmergencyParaXcmEvent (384) */ interface PalletEmergencyParaXcmEvent extends Enum { readonly isEnteredPausedXcmMode: boolean; readonly isNormalXcmOperationResumed: boolean; readonly type: "EnteredPausedXcmMode" | "NormalXcmOperationResumed"; } - /** @name FrameSystemPhase (387) */ + /** @name FrameSystemPhase (385) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -5976,33 +6044,33 @@ declare module "@polkadot/types/lookup" { readonly type: "ApplyExtrinsic" | "Finalization" | "Initialization"; } - /** @name FrameSystemLastRuntimeUpgradeInfo (389) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (387) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCodeUpgradeAuthorization (390) */ + /** @name FrameSystemCodeUpgradeAuthorization (388) */ interface FrameSystemCodeUpgradeAuthorization extends Struct { readonly codeHash: H256; readonly checkVersion: bool; } - /** @name FrameSystemLimitsBlockWeights (391) */ + /** @name FrameSystemLimitsBlockWeights (389) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (392) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (390) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (393) */ + /** @name FrameSystemLimitsWeightsPerClass (391) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -6010,25 +6078,25 @@ declare module "@polkadot/types/lookup" { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (394) */ + /** @name FrameSystemLimitsBlockLength (392) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (395) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (393) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (396) */ + /** @name SpWeightsRuntimeDbWeight (394) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (397) */ + /** @name SpVersionRuntimeVersion (395) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -6040,7 +6108,7 @@ declare module "@polkadot/types/lookup" { readonly stateVersion: u8; } - /** @name FrameSystemError (401) */ + /** @name FrameSystemError (399) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -6048,6 +6116,7 @@ declare module "@polkadot/types/lookup" { readonly isNonDefaultComposite: boolean; readonly isNonZeroRefCount: boolean; readonly isCallFiltered: boolean; + readonly isMultiBlockMigrationsOngoing: boolean; readonly isNothingAuthorized: boolean; readonly isUnauthorized: boolean; readonly type: @@ -6057,24 +6126,25 @@ declare module "@polkadot/types/lookup" { | "NonDefaultComposite" | "NonZeroRefCount" | "CallFiltered" + | "MultiBlockMigrationsOngoing" | "NothingAuthorized" | "Unauthorized"; } - /** @name PalletUtilityError (402) */ + /** @name PalletUtilityError (400) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly type: "TooManyCalls"; } - /** @name PalletBalancesBalanceLock (404) */ + /** @name PalletBalancesBalanceLock (402) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (405) */ + /** @name PalletBalancesReasons (403) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -6082,32 +6152,32 @@ declare module "@polkadot/types/lookup" { readonly type: "Fee" | "Misc" | "All"; } - /** @name PalletBalancesReserveData (408) */ + /** @name PalletBalancesReserveData (406) */ interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name MoonbaseRuntimeRuntimeHoldReason (412) */ + /** @name MoonbaseRuntimeRuntimeHoldReason (410) */ interface MoonbaseRuntimeRuntimeHoldReason extends Enum { readonly isPreimage: boolean; readonly asPreimage: PalletPreimageHoldReason; readonly type: "Preimage"; } - /** @name PalletPreimageHoldReason (413) */ + /** @name PalletPreimageHoldReason (411) */ interface PalletPreimageHoldReason extends Enum { readonly isPreimage: boolean; readonly type: "Preimage"; } - /** @name PalletBalancesIdAmount (416) */ + /** @name PalletBalancesIdAmount (414) */ interface PalletBalancesIdAmount extends Struct { readonly id: Null; readonly amount: u128; } - /** @name PalletBalancesError (418) */ + /** @name PalletBalancesError (416) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -6136,20 +6206,20 @@ declare module "@polkadot/types/lookup" { | "DeltaZero"; } - /** @name PalletSudoError (419) */ + /** @name PalletSudoError (417) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: "RequireSudo"; } - /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (421) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (419) */ interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (422) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (420) */ interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct { readonly umpMsgCount: u32; readonly umpTotalBytes: u32; @@ -6159,49 +6229,49 @@ declare module "@polkadot/types/lookup" { >; } - /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (424) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (422) */ interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct { readonly msgCount: u32; readonly totalBytes: u32; } - /** @name PolkadotPrimitivesV6UpgradeGoAhead (428) */ - interface PolkadotPrimitivesV6UpgradeGoAhead extends Enum { + /** @name PolkadotPrimitivesV7UpgradeGoAhead (426) */ + interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: "Abort" | "GoAhead"; } - /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (429) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (427) */ interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name PolkadotPrimitivesV6UpgradeRestriction (431) */ - interface PolkadotPrimitivesV6UpgradeRestriction extends Enum { + /** @name PolkadotPrimitivesV7UpgradeRestriction (429) */ + interface PolkadotPrimitivesV7UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: "Present"; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (432) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (430) */ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (433) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (431) */ interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct { readonly remainingCount: u32; readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV6AbridgedHrmpChannel (436) */ - interface PolkadotPrimitivesV6AbridgedHrmpChannel extends Struct { + /** @name PolkadotPrimitivesV7AbridgedHrmpChannel (434) */ + interface PolkadotPrimitivesV7AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -6210,8 +6280,8 @@ declare module "@polkadot/types/lookup" { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV6AbridgedHostConfiguration (437) */ - interface PolkadotPrimitivesV6AbridgedHostConfiguration extends Struct { + /** @name PolkadotPrimitivesV7AbridgedHostConfiguration (435) */ + interface PolkadotPrimitivesV7AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -6221,22 +6291,22 @@ declare module "@polkadot/types/lookup" { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; - readonly asyncBackingParams: PolkadotPrimitivesV6AsyncBackingAsyncBackingParams; + readonly asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; } - /** @name PolkadotPrimitivesV6AsyncBackingAsyncBackingParams (438) */ - interface PolkadotPrimitivesV6AsyncBackingAsyncBackingParams extends Struct { + /** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams (436) */ + interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } - /** @name PolkadotCorePrimitivesOutboundHrmpMessage (444) */ + /** @name PolkadotCorePrimitivesOutboundHrmpMessage (442) */ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } - /** @name CumulusPalletParachainSystemError (446) */ + /** @name CumulusPalletParachainSystemError (444) */ interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; @@ -6257,20 +6327,20 @@ declare module "@polkadot/types/lookup" { | "Unauthorized"; } - /** @name PalletTransactionPaymentReleases (447) */ + /** @name PalletTransactionPaymentReleases (445) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: "V1Ancient" | "V2"; } - /** @name PalletEvmCodeMetadata (448) */ + /** @name PalletEvmCodeMetadata (446) */ interface PalletEvmCodeMetadata extends Struct { readonly size_: u64; readonly hash_: H256; } - /** @name PalletEvmError (450) */ + /** @name PalletEvmError (448) */ interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; @@ -6284,7 +6354,6 @@ declare module "@polkadot/types/lookup" { readonly isInvalidSignature: boolean; readonly isReentrancy: boolean; readonly isTransactionMustComeFromEOA: boolean; - readonly isInvalidTransaction: boolean; readonly isUndefined: boolean; readonly type: | "BalanceLow" @@ -6299,11 +6368,10 @@ declare module "@polkadot/types/lookup" { | "InvalidSignature" | "Reentrancy" | "TransactionMustComeFromEOA" - | "InvalidTransaction" | "Undefined"; } - /** @name FpRpcTransactionStatus (453) */ + /** @name FpRpcTransactionStatus (451) */ interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; @@ -6314,10 +6382,10 @@ declare module "@polkadot/types/lookup" { readonly logsBloom: EthbloomBloom; } - /** @name EthbloomBloom (456) */ + /** @name EthbloomBloom (454) */ interface EthbloomBloom extends U8aFixed {} - /** @name EthereumReceiptReceiptV3 (458) */ + /** @name EthereumReceiptReceiptV3 (456) */ interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; @@ -6328,7 +6396,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Eip2930" | "Eip1559"; } - /** @name EthereumReceiptEip658ReceiptData (459) */ + /** @name EthereumReceiptEip658ReceiptData (457) */ interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; @@ -6336,14 +6404,14 @@ declare module "@polkadot/types/lookup" { readonly logs: Vec; } - /** @name EthereumBlock (460) */ + /** @name EthereumBlock (458) */ interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } - /** @name EthereumHeader (461) */ + /** @name EthereumHeader (459) */ interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; @@ -6362,23 +6430,23 @@ declare module "@polkadot/types/lookup" { readonly nonce: EthereumTypesHashH64; } - /** @name EthereumTypesHashH64 (462) */ + /** @name EthereumTypesHashH64 (460) */ interface EthereumTypesHashH64 extends U8aFixed {} - /** @name PalletEthereumError (467) */ + /** @name PalletEthereumError (465) */ interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: "InvalidSignature" | "PreLogExists"; } - /** @name PalletParachainStakingParachainBondConfig (468) */ + /** @name PalletParachainStakingParachainBondConfig (466) */ interface PalletParachainStakingParachainBondConfig extends Struct { readonly account: AccountId20; readonly percent: Percent; } - /** @name PalletParachainStakingRoundInfo (469) */ + /** @name PalletParachainStakingRoundInfo (467) */ interface PalletParachainStakingRoundInfo extends Struct { readonly current: u32; readonly first: u32; @@ -6386,7 +6454,7 @@ declare module "@polkadot/types/lookup" { readonly firstSlot: u64; } - /** @name PalletParachainStakingDelegator (470) */ + /** @name PalletParachainStakingDelegator (468) */ interface PalletParachainStakingDelegator extends Struct { readonly id: AccountId20; readonly delegations: PalletParachainStakingSetOrderedSet; @@ -6395,16 +6463,16 @@ declare module "@polkadot/types/lookup" { readonly status: PalletParachainStakingDelegatorStatus; } - /** @name PalletParachainStakingSetOrderedSet (471) */ + /** @name PalletParachainStakingSetOrderedSet (469) */ interface PalletParachainStakingSetOrderedSet extends Vec {} - /** @name PalletParachainStakingBond (472) */ + /** @name PalletParachainStakingBond (470) */ interface PalletParachainStakingBond extends Struct { readonly owner: AccountId20; readonly amount: u128; } - /** @name PalletParachainStakingDelegatorStatus (474) */ + /** @name PalletParachainStakingDelegatorStatus (472) */ interface PalletParachainStakingDelegatorStatus extends Enum { readonly isActive: boolean; readonly isLeaving: boolean; @@ -6412,7 +6480,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Active" | "Leaving"; } - /** @name PalletParachainStakingCandidateMetadata (475) */ + /** @name PalletParachainStakingCandidateMetadata (473) */ interface PalletParachainStakingCandidateMetadata extends Struct { readonly bond: u128; readonly delegationCount: u32; @@ -6426,7 +6494,7 @@ declare module "@polkadot/types/lookup" { readonly status: PalletParachainStakingCollatorStatus; } - /** @name PalletParachainStakingCapacityStatus (476) */ + /** @name PalletParachainStakingCapacityStatus (474) */ interface PalletParachainStakingCapacityStatus extends Enum { readonly isFull: boolean; readonly isEmpty: boolean; @@ -6434,13 +6502,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Full" | "Empty" | "Partial"; } - /** @name PalletParachainStakingCandidateBondLessRequest (478) */ + /** @name PalletParachainStakingCandidateBondLessRequest (476) */ interface PalletParachainStakingCandidateBondLessRequest extends Struct { readonly amount: u128; readonly whenExecutable: u32; } - /** @name PalletParachainStakingCollatorStatus (479) */ + /** @name PalletParachainStakingCollatorStatus (477) */ interface PalletParachainStakingCollatorStatus extends Enum { readonly isActive: boolean; readonly isIdle: boolean; @@ -6449,50 +6517,50 @@ declare module "@polkadot/types/lookup" { readonly type: "Active" | "Idle" | "Leaving"; } - /** @name PalletParachainStakingDelegationRequestsScheduledRequest (481) */ + /** @name PalletParachainStakingDelegationRequestsScheduledRequest (479) */ interface PalletParachainStakingDelegationRequestsScheduledRequest extends Struct { readonly delegator: AccountId20; readonly whenExecutable: u32; readonly action: PalletParachainStakingDelegationRequestsDelegationAction; } - /** @name PalletParachainStakingAutoCompoundAutoCompoundConfig (484) */ + /** @name PalletParachainStakingAutoCompoundAutoCompoundConfig (482) */ interface PalletParachainStakingAutoCompoundAutoCompoundConfig extends Struct { readonly delegator: AccountId20; readonly value: Percent; } - /** @name PalletParachainStakingDelegations (486) */ + /** @name PalletParachainStakingDelegations (484) */ interface PalletParachainStakingDelegations extends Struct { readonly delegations: Vec; readonly total: u128; } - /** @name PalletParachainStakingSetBoundedOrderedSet (488) */ + /** @name PalletParachainStakingSetBoundedOrderedSet (486) */ interface PalletParachainStakingSetBoundedOrderedSet extends Vec {} - /** @name PalletParachainStakingCollatorSnapshot (491) */ + /** @name PalletParachainStakingCollatorSnapshot (489) */ interface PalletParachainStakingCollatorSnapshot extends Struct { readonly bond: u128; readonly delegations: Vec; readonly total: u128; } - /** @name PalletParachainStakingBondWithAutoCompound (493) */ + /** @name PalletParachainStakingBondWithAutoCompound (491) */ interface PalletParachainStakingBondWithAutoCompound extends Struct { readonly owner: AccountId20; readonly amount: u128; readonly autoCompound: Percent; } - /** @name PalletParachainStakingDelayedPayout (494) */ + /** @name PalletParachainStakingDelayedPayout (492) */ interface PalletParachainStakingDelayedPayout extends Struct { readonly roundIssuance: u128; readonly totalStakingReward: u128; readonly collatorCommission: Perbill; } - /** @name PalletParachainStakingInflationInflationInfo (495) */ + /** @name PalletParachainStakingInflationInflationInfo (493) */ interface PalletParachainStakingInflationInflationInfo extends Struct { readonly expect: { readonly min: u128; @@ -6511,7 +6579,7 @@ declare module "@polkadot/types/lookup" { } & Struct; } - /** @name PalletParachainStakingError (496) */ + /** @name PalletParachainStakingError (494) */ interface PalletParachainStakingError extends Enum { readonly isDelegatorDNE: boolean; readonly isDelegatorDNEinTopNorBottom: boolean; @@ -6626,7 +6694,7 @@ declare module "@polkadot/types/lookup" { | "CurrentRoundTooLow"; } - /** @name PalletSchedulerScheduled (499) */ + /** @name PalletSchedulerScheduled (497) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; @@ -6635,7 +6703,14 @@ declare module "@polkadot/types/lookup" { readonly origin: MoonbaseRuntimeOriginCaller; } - /** @name PalletSchedulerError (501) */ + /** @name PalletSchedulerRetryConfig (499) */ + interface PalletSchedulerRetryConfig extends Struct { + readonly totalRetries: u8; + readonly remaining: u8; + readonly period: u32; + } + + /** @name PalletSchedulerError (500) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -6650,7 +6725,7 @@ declare module "@polkadot/types/lookup" { | "Named"; } - /** @name PalletTreasuryProposal (502) */ + /** @name PalletTreasuryProposal (501) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId20; readonly value: u128; @@ -6658,7 +6733,7 @@ declare module "@polkadot/types/lookup" { readonly bond: u128; } - /** @name PalletTreasurySpendStatus (505) */ + /** @name PalletTreasurySpendStatus (504) */ interface PalletTreasurySpendStatus extends Struct { readonly assetKind: Null; readonly amount: u128; @@ -6668,7 +6743,7 @@ declare module "@polkadot/types/lookup" { readonly status: PalletTreasuryPaymentState; } - /** @name PalletTreasuryPaymentState (506) */ + /** @name PalletTreasuryPaymentState (505) */ interface PalletTreasuryPaymentState extends Enum { readonly isPending: boolean; readonly isAttempted: boolean; @@ -6679,10 +6754,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Pending" | "Attempted" | "Failed"; } - /** @name FrameSupportPalletId (508) */ + /** @name FrameSupportPalletId (507) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (509) */ + /** @name PalletTreasuryError (508) */ interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; @@ -6711,7 +6786,7 @@ declare module "@polkadot/types/lookup" { | "Inconclusive"; } - /** @name PalletAuthorInherentError (510) */ + /** @name PalletAuthorInherentError (509) */ interface PalletAuthorInherentError extends Enum { readonly isAuthorAlreadySet: boolean; readonly isNoAccountId: boolean; @@ -6719,14 +6794,14 @@ declare module "@polkadot/types/lookup" { readonly type: "AuthorAlreadySet" | "NoAccountId" | "CannotBeAuthor"; } - /** @name PalletCrowdloanRewardsRewardInfo (511) */ + /** @name PalletCrowdloanRewardsRewardInfo (510) */ interface PalletCrowdloanRewardsRewardInfo extends Struct { readonly totalReward: u128; readonly claimedReward: u128; readonly contributedRelayAddresses: Vec; } - /** @name PalletCrowdloanRewardsError (513) */ + /** @name PalletCrowdloanRewardsError (512) */ interface PalletCrowdloanRewardsError extends Enum { readonly isAlreadyAssociated: boolean; readonly isBatchBeyondFundPot: boolean; @@ -6761,14 +6836,14 @@ declare module "@polkadot/types/lookup" { | "InsufficientNumberOfValidProofs"; } - /** @name PalletAuthorMappingRegistrationInfo (514) */ + /** @name PalletAuthorMappingRegistrationInfo (513) */ interface PalletAuthorMappingRegistrationInfo extends Struct { readonly account: AccountId20; readonly deposit: u128; readonly keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } - /** @name PalletAuthorMappingError (515) */ + /** @name PalletAuthorMappingError (514) */ interface PalletAuthorMappingError extends Enum { readonly isAssociationNotFound: boolean; readonly isNotYourAssociation: boolean; @@ -6789,21 +6864,21 @@ declare module "@polkadot/types/lookup" { | "DecodeKeysFailed"; } - /** @name PalletProxyProxyDefinition (518) */ + /** @name PalletProxyProxyDefinition (517) */ interface PalletProxyProxyDefinition extends Struct { readonly delegate: AccountId20; readonly proxyType: MoonbaseRuntimeProxyType; readonly delay: u32; } - /** @name PalletProxyAnnouncement (522) */ + /** @name PalletProxyAnnouncement (521) */ interface PalletProxyAnnouncement extends Struct { readonly real: AccountId20; readonly callHash: H256; readonly height: u32; } - /** @name PalletProxyError (524) */ + /** @name PalletProxyError (523) */ interface PalletProxyError extends Enum { readonly isTooMany: boolean; readonly isNotFound: boolean; @@ -6824,34 +6899,34 @@ declare module "@polkadot/types/lookup" { | "NoSelfProxy"; } - /** @name PalletMaintenanceModeError (525) */ + /** @name PalletMaintenanceModeError (524) */ interface PalletMaintenanceModeError extends Enum { readonly isAlreadyInMaintenanceMode: boolean; readonly isNotInMaintenanceMode: boolean; readonly type: "AlreadyInMaintenanceMode" | "NotInMaintenanceMode"; } - /** @name PalletIdentityRegistration (527) */ + /** @name PalletIdentityRegistration (526) */ interface PalletIdentityRegistration extends Struct { readonly judgements: Vec>; readonly deposit: u128; readonly info: PalletIdentityLegacyIdentityInfo; } - /** @name PalletIdentityRegistrarInfo (536) */ + /** @name PalletIdentityRegistrarInfo (535) */ interface PalletIdentityRegistrarInfo extends Struct { readonly account: AccountId20; readonly fee: u128; readonly fields: u64; } - /** @name PalletIdentityAuthorityProperties (538) */ + /** @name PalletIdentityAuthorityProperties (537) */ interface PalletIdentityAuthorityProperties extends Struct { readonly suffix: Bytes; readonly allocation: u32; } - /** @name PalletIdentityError (541) */ + /** @name PalletIdentityError (540) */ interface PalletIdentityError extends Enum { readonly isTooManySubAccounts: boolean; readonly isNotFound: boolean; @@ -6908,7 +6983,7 @@ declare module "@polkadot/types/lookup" { | "NotExpired"; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (546) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (545) */ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -6917,21 +6992,21 @@ declare module "@polkadot/types/lookup" { readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (547) */ + /** @name CumulusPalletXcmpQueueOutboundState (546) */ interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: "Ok" | "Suspended"; } - /** @name CumulusPalletXcmpQueueQueueConfigData (549) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (548) */ interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; readonly resumeThreshold: u32; } - /** @name CumulusPalletXcmpQueueError (550) */ + /** @name CumulusPalletXcmpQueueError (549) */ interface CumulusPalletXcmpQueueError extends Enum { readonly isBadQueueConfig: boolean; readonly isAlreadySuspended: boolean; @@ -6939,7 +7014,7 @@ declare module "@polkadot/types/lookup" { readonly type: "BadQueueConfig" | "AlreadySuspended" | "AlreadyResumed"; } - /** @name CumulusPalletDmpQueueMigrationState (551) */ + /** @name CumulusPalletDmpQueueMigrationState (550) */ interface CumulusPalletDmpQueueMigrationState extends Enum { readonly isNotStarted: boolean; readonly isStartedExport: boolean; @@ -6967,7 +7042,7 @@ declare module "@polkadot/types/lookup" { | "Completed"; } - /** @name PalletXcmQueryStatus (554) */ + /** @name PalletXcmQueryStatus (553) */ interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { @@ -6989,7 +7064,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Pending" | "VersionNotifier" | "Ready"; } - /** @name XcmVersionedResponse (558) */ + /** @name XcmVersionedResponse (557) */ interface XcmVersionedResponse extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Response; @@ -7000,7 +7075,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name PalletXcmVersionMigrationStage (564) */ + /** @name PalletXcmVersionMigrationStage (563) */ interface PalletXcmVersionMigrationStage extends Enum { readonly isMigrateSupportedVersion: boolean; readonly isMigrateVersionNotifiers: boolean; @@ -7014,16 +7089,7 @@ declare module "@polkadot/types/lookup" { | "MigrateAndNotifyOldTargets"; } - /** @name XcmVersionedAssetId (567) */ - interface XcmVersionedAssetId extends Enum { - readonly isV3: boolean; - readonly asV3: XcmV3MultiassetAssetId; - readonly isV4: boolean; - readonly asV4: StagingXcmV4AssetAssetId; - readonly type: "V3" | "V4"; - } - - /** @name PalletXcmRemoteLockedFungibleRecord (568) */ + /** @name PalletXcmRemoteLockedFungibleRecord (566) */ interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; readonly owner: XcmVersionedLocation; @@ -7031,7 +7097,7 @@ declare module "@polkadot/types/lookup" { readonly consumers: Vec>; } - /** @name PalletXcmError (575) */ + /** @name PalletXcmError (573) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -7053,7 +7119,6 @@ declare module "@polkadot/types/lookup" { readonly isFeesNotMet: boolean; readonly isLockNotFound: boolean; readonly isInUse: boolean; - readonly isInvalidAssetNotConcrete: boolean; readonly isInvalidAssetUnknownReserve: boolean; readonly isInvalidAssetUnsupportedReserve: boolean; readonly isTooManyReserves: boolean; @@ -7079,14 +7144,13 @@ declare module "@polkadot/types/lookup" { | "FeesNotMet" | "LockNotFound" | "InUse" - | "InvalidAssetNotConcrete" | "InvalidAssetUnknownReserve" | "InvalidAssetUnsupportedReserve" | "TooManyReserves" | "LocalExecutionIncomplete"; } - /** @name PalletAssetsAssetDetails (576) */ + /** @name PalletAssetsAssetDetails (574) */ interface PalletAssetsAssetDetails extends Struct { readonly owner: AccountId20; readonly issuer: AccountId20; @@ -7102,7 +7166,7 @@ declare module "@polkadot/types/lookup" { readonly status: PalletAssetsAssetStatus; } - /** @name PalletAssetsAssetStatus (577) */ + /** @name PalletAssetsAssetStatus (575) */ interface PalletAssetsAssetStatus extends Enum { readonly isLive: boolean; readonly isFrozen: boolean; @@ -7110,7 +7174,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Live" | "Frozen" | "Destroying"; } - /** @name PalletAssetsAssetAccount (579) */ + /** @name PalletAssetsAssetAccount (577) */ interface PalletAssetsAssetAccount extends Struct { readonly balance: u128; readonly status: PalletAssetsAccountStatus; @@ -7118,7 +7182,7 @@ declare module "@polkadot/types/lookup" { readonly extra: Null; } - /** @name PalletAssetsAccountStatus (580) */ + /** @name PalletAssetsAccountStatus (578) */ interface PalletAssetsAccountStatus extends Enum { readonly isLiquid: boolean; readonly isFrozen: boolean; @@ -7126,7 +7190,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Liquid" | "Frozen" | "Blocked"; } - /** @name PalletAssetsExistenceReason (581) */ + /** @name PalletAssetsExistenceReason (579) */ interface PalletAssetsExistenceReason extends Enum { readonly isConsumer: boolean; readonly isSufficient: boolean; @@ -7138,13 +7202,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Consumer" | "Sufficient" | "DepositHeld" | "DepositRefunded" | "DepositFrom"; } - /** @name PalletAssetsApproval (583) */ + /** @name PalletAssetsApproval (581) */ interface PalletAssetsApproval extends Struct { readonly amount: u128; readonly deposit: u128; } - /** @name PalletAssetsAssetMetadata (584) */ + /** @name PalletAssetsAssetMetadata (582) */ interface PalletAssetsAssetMetadata extends Struct { readonly deposit: u128; readonly name: Bytes; @@ -7153,7 +7217,7 @@ declare module "@polkadot/types/lookup" { readonly isFrozen: bool; } - /** @name PalletAssetsError (586) */ + /** @name PalletAssetsError (584) */ interface PalletAssetsError extends Enum { readonly isBalanceLow: boolean; readonly isNoAccount: boolean; @@ -7198,7 +7262,7 @@ declare module "@polkadot/types/lookup" { | "CallbackFailed"; } - /** @name OrmlXtokensModuleError (587) */ + /** @name OrmlXtokensModuleError (585) */ interface OrmlXtokensModuleError extends Enum { readonly isAssetHasNoReserve: boolean; readonly isNotCrossChainTransfer: boolean; @@ -7219,6 +7283,7 @@ declare module "@polkadot/types/lookup" { readonly isFeeNotEnough: boolean; readonly isNotSupportedLocation: boolean; readonly isMinXcmFeeNotDefined: boolean; + readonly isRateLimited: boolean; readonly type: | "AssetHasNoReserve" | "NotCrossChainTransfer" @@ -7238,10 +7303,11 @@ declare module "@polkadot/types/lookup" { | "AssetIndexNonExistent" | "FeeNotEnough" | "NotSupportedLocation" - | "MinXcmFeeNotDefined"; + | "MinXcmFeeNotDefined" + | "RateLimited"; } - /** @name PalletAssetManagerError (589) */ + /** @name PalletAssetManagerError (587) */ interface PalletAssetManagerError extends Enum { readonly isErrorCreatingAsset: boolean; readonly isAssetAlreadyExists: boolean; @@ -7262,7 +7328,7 @@ declare module "@polkadot/types/lookup" { | "NonExistentLocalAsset"; } - /** @name PalletMigrationsError (590) */ + /** @name PalletMigrationsError (588) */ interface PalletMigrationsError extends Enum { readonly isPreimageMissing: boolean; readonly isWrongUpperBound: boolean; @@ -7275,7 +7341,7 @@ declare module "@polkadot/types/lookup" { | "PreimageAlreadyExists"; } - /** @name PalletXcmTransactorRelayIndicesRelayChainIndices (591) */ + /** @name PalletXcmTransactorRelayIndicesRelayChainIndices (589) */ interface PalletXcmTransactorRelayIndicesRelayChainIndices extends Struct { readonly staking: u8; readonly utility: u8; @@ -7297,7 +7363,7 @@ declare module "@polkadot/types/lookup" { readonly cancelOpenRequest: u8; } - /** @name PalletXcmTransactorError (592) */ + /** @name PalletXcmTransactorError (590) */ interface PalletXcmTransactorError extends Enum { readonly isIndexAlreadyClaimed: boolean; readonly isUnclaimedIndex: boolean; @@ -7356,20 +7422,20 @@ declare module "@polkadot/types/lookup" { | "RefundNotSupportedWithTransactInfo"; } - /** @name PalletMoonbeamOrbitersCollatorPoolInfo (593) */ + /** @name PalletMoonbeamOrbitersCollatorPoolInfo (591) */ interface PalletMoonbeamOrbitersCollatorPoolInfo extends Struct { readonly orbiters: Vec; readonly maybeCurrentOrbiter: Option; readonly nextOrbiter: u32; } - /** @name PalletMoonbeamOrbitersCurrentOrbiter (595) */ + /** @name PalletMoonbeamOrbitersCurrentOrbiter (593) */ interface PalletMoonbeamOrbitersCurrentOrbiter extends Struct { readonly accountId: AccountId20; readonly removed: bool; } - /** @name PalletMoonbeamOrbitersError (596) */ + /** @name PalletMoonbeamOrbitersError (594) */ interface PalletMoonbeamOrbitersError extends Enum { readonly isCollatorAlreadyAdded: boolean; readonly isCollatorNotFound: boolean; @@ -7392,19 +7458,19 @@ declare module "@polkadot/types/lookup" { | "OrbiterStillInAPool"; } - /** @name PalletEthereumXcmError (597) */ + /** @name PalletEthereumXcmError (595) */ interface PalletEthereumXcmError extends Enum { readonly isEthereumXcmExecutionSuspended: boolean; readonly type: "EthereumXcmExecutionSuspended"; } - /** @name PalletRandomnessRequestState (598) */ + /** @name PalletRandomnessRequestState (596) */ interface PalletRandomnessRequestState extends Struct { readonly request: PalletRandomnessRequest; readonly deposit: u128; } - /** @name PalletRandomnessRequest (599) */ + /** @name PalletRandomnessRequest (597) */ interface PalletRandomnessRequest extends Struct { readonly refundAddress: H160; readonly contractAddress: H160; @@ -7415,7 +7481,7 @@ declare module "@polkadot/types/lookup" { readonly info: PalletRandomnessRequestInfo; } - /** @name PalletRandomnessRequestInfo (600) */ + /** @name PalletRandomnessRequestInfo (598) */ interface PalletRandomnessRequestInfo extends Enum { readonly isBabeEpoch: boolean; readonly asBabeEpoch: ITuple<[u64, u64]>; @@ -7424,7 +7490,7 @@ declare module "@polkadot/types/lookup" { readonly type: "BabeEpoch" | "Local"; } - /** @name PalletRandomnessRequestType (601) */ + /** @name PalletRandomnessRequestType (599) */ interface PalletRandomnessRequestType extends Enum { readonly isBabeEpoch: boolean; readonly asBabeEpoch: u64; @@ -7433,13 +7499,13 @@ declare module "@polkadot/types/lookup" { readonly type: "BabeEpoch" | "Local"; } - /** @name PalletRandomnessRandomnessResult (602) */ + /** @name PalletRandomnessRandomnessResult (600) */ interface PalletRandomnessRandomnessResult extends Struct { readonly randomness: Option; readonly requestCount: u64; } - /** @name PalletRandomnessError (603) */ + /** @name PalletRandomnessError (601) */ interface PalletRandomnessError extends Enum { readonly isRequestCounterOverflowed: boolean; readonly isRequestFeeOverflowed: boolean; @@ -7468,7 +7534,7 @@ declare module "@polkadot/types/lookup" { | "RandomnessResultNotFilled"; } - /** @name PalletCollectiveVotes (605) */ + /** @name PalletCollectiveVotes (603) */ interface PalletCollectiveVotes extends Struct { readonly index: u32; readonly threshold: u32; @@ -7477,7 +7543,7 @@ declare module "@polkadot/types/lookup" { readonly end: u32; } - /** @name PalletCollectiveError (606) */ + /** @name PalletCollectiveError (604) */ interface PalletCollectiveError extends Enum { readonly isNotMember: boolean; readonly isDuplicateProposal: boolean; @@ -7504,7 +7570,7 @@ declare module "@polkadot/types/lookup" { | "PrimeAccountNotMember"; } - /** @name PalletConvictionVotingVoteVoting (608) */ + /** @name PalletConvictionVotingVoteVoting (606) */ interface PalletConvictionVotingVoteVoting extends Enum { readonly isCasting: boolean; readonly asCasting: PalletConvictionVotingVoteCasting; @@ -7513,23 +7579,23 @@ declare module "@polkadot/types/lookup" { readonly type: "Casting" | "Delegating"; } - /** @name PalletConvictionVotingVoteCasting (609) */ + /** @name PalletConvictionVotingVoteCasting (607) */ interface PalletConvictionVotingVoteCasting extends Struct { readonly votes: Vec>; readonly delegations: PalletConvictionVotingDelegations; readonly prior: PalletConvictionVotingVotePriorLock; } - /** @name PalletConvictionVotingDelegations (613) */ + /** @name PalletConvictionVotingDelegations (611) */ interface PalletConvictionVotingDelegations extends Struct { readonly votes: u128; readonly capital: u128; } - /** @name PalletConvictionVotingVotePriorLock (614) */ + /** @name PalletConvictionVotingVotePriorLock (612) */ interface PalletConvictionVotingVotePriorLock extends ITuple<[u32, u128]> {} - /** @name PalletConvictionVotingVoteDelegating (615) */ + /** @name PalletConvictionVotingVoteDelegating (613) */ interface PalletConvictionVotingVoteDelegating extends Struct { readonly balance: u128; readonly target: AccountId20; @@ -7538,7 +7604,7 @@ declare module "@polkadot/types/lookup" { readonly prior: PalletConvictionVotingVotePriorLock; } - /** @name PalletConvictionVotingError (619) */ + /** @name PalletConvictionVotingError (617) */ interface PalletConvictionVotingError extends Enum { readonly isNotOngoing: boolean; readonly isNotVoter: boolean; @@ -7567,7 +7633,7 @@ declare module "@polkadot/types/lookup" { | "BadClass"; } - /** @name PalletReferendaReferendumInfo (620) */ + /** @name PalletReferendaReferendumInfo (618) */ interface PalletReferendaReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletReferendaReferendumStatus; @@ -7592,7 +7658,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Ongoing" | "Approved" | "Rejected" | "Cancelled" | "TimedOut" | "Killed"; } - /** @name PalletReferendaReferendumStatus (621) */ + /** @name PalletReferendaReferendumStatus (619) */ interface PalletReferendaReferendumStatus extends Struct { readonly track: u16; readonly origin: MoonbaseRuntimeOriginCaller; @@ -7607,19 +7673,19 @@ declare module "@polkadot/types/lookup" { readonly alarm: Option]>>; } - /** @name PalletReferendaDeposit (622) */ + /** @name PalletReferendaDeposit (620) */ interface PalletReferendaDeposit extends Struct { readonly who: AccountId20; readonly amount: u128; } - /** @name PalletReferendaDecidingStatus (625) */ + /** @name PalletReferendaDecidingStatus (623) */ interface PalletReferendaDecidingStatus extends Struct { readonly since: u32; readonly confirming: Option; } - /** @name PalletReferendaTrackInfo (633) */ + /** @name PalletReferendaTrackInfo (631) */ interface PalletReferendaTrackInfo extends Struct { readonly name: Text; readonly maxDeciding: u32; @@ -7632,7 +7698,7 @@ declare module "@polkadot/types/lookup" { readonly minSupport: PalletReferendaCurve; } - /** @name PalletReferendaCurve (634) */ + /** @name PalletReferendaCurve (632) */ interface PalletReferendaCurve extends Enum { readonly isLinearDecreasing: boolean; readonly asLinearDecreasing: { @@ -7656,7 +7722,7 @@ declare module "@polkadot/types/lookup" { readonly type: "LinearDecreasing" | "SteppedDecreasing" | "Reciprocal"; } - /** @name PalletReferendaError (637) */ + /** @name PalletReferendaError (635) */ interface PalletReferendaError extends Enum { readonly isNotOngoing: boolean; readonly isHasDeposit: boolean; @@ -7671,6 +7737,7 @@ declare module "@polkadot/types/lookup" { readonly isNoDeposit: boolean; readonly isBadStatus: boolean; readonly isPreimageNotExist: boolean; + readonly isPreimageStoredWithDifferentLength: boolean; readonly type: | "NotOngoing" | "HasDeposit" @@ -7684,10 +7751,11 @@ declare module "@polkadot/types/lookup" { | "NoPermission" | "NoDeposit" | "BadStatus" - | "PreimageNotExist"; + | "PreimageNotExist" + | "PreimageStoredWithDifferentLength"; } - /** @name PalletPreimageOldRequestStatus (638) */ + /** @name PalletPreimageOldRequestStatus (636) */ interface PalletPreimageOldRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -7703,7 +7771,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Unrequested" | "Requested"; } - /** @name PalletPreimageRequestStatus (641) */ + /** @name PalletPreimageRequestStatus (639) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -7719,7 +7787,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Unrequested" | "Requested"; } - /** @name PalletPreimageError (647) */ + /** @name PalletPreimageError (645) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -7740,7 +7808,7 @@ declare module "@polkadot/types/lookup" { | "TooFew"; } - /** @name PalletWhitelistError (648) */ + /** @name PalletWhitelistError (646) */ interface PalletWhitelistError extends Enum { readonly isUnavailablePreImage: boolean; readonly isUndecodableCall: boolean; @@ -7755,7 +7823,7 @@ declare module "@polkadot/types/lookup" { | "CallAlreadyWhitelisted"; } - /** @name PalletMultisigMultisig (652) */ + /** @name PalletMultisigMultisig (650) */ interface PalletMultisigMultisig extends Struct { readonly when: PalletMultisigTimepoint; readonly deposit: u128; @@ -7763,7 +7831,7 @@ declare module "@polkadot/types/lookup" { readonly approvals: Vec; } - /** @name PalletMultisigError (654) */ + /** @name PalletMultisigError (652) */ interface PalletMultisigError extends Enum { readonly isMinimumThreshold: boolean; readonly isAlreadyApproved: boolean; @@ -7796,7 +7864,7 @@ declare module "@polkadot/types/lookup" { | "AlreadyStored"; } - /** @name PalletMoonbeamLazyMigrationsError (657) */ + /** @name PalletMoonbeamLazyMigrationsError (655) */ interface PalletMoonbeamLazyMigrationsError extends Enum { readonly isLimitCannotBeZero: boolean; readonly isAddressesLengthCannotBeZero: boolean; @@ -7804,13 +7872,13 @@ declare module "@polkadot/types/lookup" { readonly type: "LimitCannotBeZero" | "AddressesLengthCannotBeZero" | "ContractNotCorrupted"; } - /** @name PalletPrecompileBenchmarksError (659) */ + /** @name PalletPrecompileBenchmarksError (657) */ interface PalletPrecompileBenchmarksError extends Enum { readonly isBenchmarkError: boolean; readonly type: "BenchmarkError"; } - /** @name PalletMessageQueueBookState (660) */ + /** @name PalletMessageQueueBookState (658) */ interface PalletMessageQueueBookState extends Struct { readonly begin: u32; readonly end: u32; @@ -7820,13 +7888,13 @@ declare module "@polkadot/types/lookup" { readonly size_: u64; } - /** @name PalletMessageQueueNeighbours (662) */ + /** @name PalletMessageQueueNeighbours (660) */ interface PalletMessageQueueNeighbours extends Struct { readonly prev: CumulusPrimitivesCoreAggregateMessageOrigin; readonly next: CumulusPrimitivesCoreAggregateMessageOrigin; } - /** @name PalletMessageQueuePage (664) */ + /** @name PalletMessageQueuePage (662) */ interface PalletMessageQueuePage extends Struct { readonly remaining: u32; readonly remainingSize: u32; @@ -7836,7 +7904,7 @@ declare module "@polkadot/types/lookup" { readonly heap: Bytes; } - /** @name PalletMessageQueueError (666) */ + /** @name PalletMessageQueueError (664) */ interface PalletMessageQueueError extends Enum { readonly isNotReapable: boolean; readonly isNoPage: boolean; @@ -7859,40 +7927,40 @@ declare module "@polkadot/types/lookup" { | "RecursiveDisallowed"; } - /** @name PalletEmergencyParaXcmXcmMode (667) */ + /** @name PalletEmergencyParaXcmXcmMode (665) */ interface PalletEmergencyParaXcmXcmMode extends Enum { readonly isNormal: boolean; readonly isPaused: boolean; readonly type: "Normal" | "Paused"; } - /** @name PalletEmergencyParaXcmError (668) */ + /** @name PalletEmergencyParaXcmError (666) */ interface PalletEmergencyParaXcmError extends Enum { readonly isNotInPausedMode: boolean; readonly type: "NotInPausedMode"; } - /** @name FrameSystemExtensionsCheckNonZeroSender (671) */ + /** @name FrameSystemExtensionsCheckNonZeroSender (669) */ type FrameSystemExtensionsCheckNonZeroSender = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (672) */ + /** @name FrameSystemExtensionsCheckSpecVersion (670) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (673) */ + /** @name FrameSystemExtensionsCheckTxVersion (671) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (674) */ + /** @name FrameSystemExtensionsCheckGenesis (672) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (677) */ + /** @name FrameSystemExtensionsCheckNonce (675) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (678) */ + /** @name FrameSystemExtensionsCheckWeight (676) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTransactionPaymentChargeTransactionPayment (679) */ + /** @name PalletTransactionPaymentChargeTransactionPayment (677) */ interface PalletTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name MoonbaseRuntimeRuntime (681) */ + /** @name MoonbaseRuntimeRuntime (679) */ type MoonbaseRuntimeRuntime = Null; } // declare module diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts b/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts index 1e06ab5ff5..8aa1f678ef 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts @@ -6,7 +6,7 @@ import "@polkadot/api-base/types/consts"; import type { ApiTypes, AugmentedConst } from "@polkadot/api-base/types"; -import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from "@polkadot/types-codec"; +import type { Bytes, Null, Option, Vec, u128, u16, u32, u64, u8 } from "@polkadot/types-codec"; import type { Codec, ITuple } from "@polkadot/types-codec/types"; import type { Perbill, Permill } from "@polkadot/types/interfaces/runtime"; import type { @@ -69,9 +69,17 @@ declare module "@polkadot/api-base/types/consts" { /** * The maximum number of locks that should exist on an account. Not strictly enforced, but * used for weight estimation. + * + * Use of locks is deprecated in favour of freezes. See + * `https://github.com/paritytech/substrate/pull/12951/` */ maxLocks: u32 & AugmentedConst; - /** The maximum number of named reserves that can exist on an account. */ + /** + * The maximum number of named reserves that can exist on an account. + * + * Use of reserves is deprecated in favour of holds. See + * `https://github.com/paritytech/substrate/pull/12951/` + */ maxReserves: u32 & AugmentedConst; /** Generic const */ [key: string]: Codec; @@ -117,7 +125,7 @@ declare module "@polkadot/api-base/types/consts" { /** The amount held on deposit per encoded byte for a registered identity. */ byteDeposit: u128 & AugmentedConst; /** - * Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, + * Maximum number of registrars allowed in the system. Needed to bound the complexity of, * e.g., updating judgements. */ maxRegistrars: u32 & AugmentedConst; @@ -147,6 +155,14 @@ declare module "@polkadot/api-base/types/consts" { * is slightly lower than this as defined by [`MaxMessageLenOf`]. */ heapSize: u32 & AugmentedConst; + /** + * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which + * should be provided to the message queue for servicing enqueued items `on_idle`. Useful for + * parachains to process messages at the same block they are received. + * + * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`. + */ + idleMaxServiceWeight: Option & AugmentedConst; /** * The maximum number of stale pages (i.e. of overweight messages) allowed before culling can * happen. Once there are more stale pages than this, then historical pages may be dropped, @@ -155,10 +171,11 @@ declare module "@polkadot/api-base/types/consts" { maxStale: u32 & AugmentedConst; /** * The amount of weight (if any) which should be provided to the message queue for servicing - * enqueued items. + * enqueued items `on_initialize`. * * This may be legitimately `None` in the case that you will call - * `ServiceQueues::service_queues` manually. + * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have it + * run in `on_idle`. */ serviceWeight: Option & AugmentedConst; /** Generic const */ @@ -245,6 +262,12 @@ declare module "@polkadot/api-base/types/consts" { /** Generic const */ [key: string]: Codec; }; + parachainSystem: { + /** Returns the parachain ID we are running with. */ + selfParaId: u32 & AugmentedConst; + /** Generic const */ + [key: string]: Codec; + }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. @@ -365,7 +388,7 @@ declare module "@polkadot/api-base/types/consts" { * runtime should know about the prefix in order to make use of it as an identifier of the chain. */ ss58Prefix: u16 & AugmentedConst; - /** Get the chain's current version. */ + /** Get the chain's in-code version. */ version: SpVersionRuntimeVersion & AugmentedConst; /** Generic const */ [key: string]: Codec; @@ -475,6 +498,8 @@ declare module "@polkadot/api-base/types/consts" { * The actually weight for an XCM message is `T::BaseXcmWeight + T::Weigher::weight(&msg)`. */ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; + /** The id of the RateLimiter. */ + rateLimiterId: Null & AugmentedConst; /** Self chain location. */ selfLocation: StagingXcmV4Location & AugmentedConst; /** Generic const */ diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts b/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts index 14eaee15e5..f87f4c1441 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts @@ -137,7 +137,7 @@ declare module "@polkadot/api-base/types/errors" { AlreadyDelegating: AugmentedError; /** * The account currently has votes attached to it and the operation cannot succeed until these - * are removed, either through `unvote` or `reap_vote`. + * are removed through `remove_vote`. */ AlreadyVoting: AugmentedError; /** The class ID supplied is invalid. */ @@ -241,8 +241,6 @@ declare module "@polkadot/api-base/types/errors" { InvalidNonce: AugmentedError; /** The signature is invalid. */ InvalidSignature: AugmentedError; - /** Invalid Transaction */ - InvalidTransaction: AugmentedError; /** Calculating total payment overflowed */ PaymentOverflow: AugmentedError; /** EVM reentrancy */ @@ -560,8 +558,6 @@ declare module "@polkadot/api-base/types/errors" { Filtered: AugmentedError; /** The unlock operation cannot succeed because there are still consumers of the lock. */ InUse: AugmentedError; - /** Invalid non-concrete asset. */ - InvalidAssetNotConcrete: AugmentedError; /** Invalid asset, reserve chain could not be determined for it. */ InvalidAssetUnknownReserve: AugmentedError; /** Invalid asset, do not support remote asset reserves with different fees reserves. */ @@ -678,6 +674,8 @@ declare module "@polkadot/api-base/types/errors" { NoTrack: AugmentedError; /** The preimage does not exist. */ PreimageNotExist: AugmentedError; + /** The preimage is stored with a different length than the one provided. */ + PreimageStoredWithDifferentLength: AugmentedError; /** The queue of the track is empty. */ QueueEmpty: AugmentedError; /** Any deposit cannot be refunded until after the decision is over. */ @@ -710,6 +708,8 @@ declare module "@polkadot/api-base/types/errors" { FailedToExtractRuntimeVersion: AugmentedError; /** The name of specification does not match between the current runtime and the new runtime. */ InvalidSpecName: AugmentedError; + /** A multi-block migration is ongoing and prevents the current code from being replaced. */ + MultiBlockMigrationsOngoing: AugmentedError; /** Suicide called when the account has non-default composite data. */ NonDefaultComposite: AugmentedError; /** There is a non-zero reference count preventing the account from being purged. */ @@ -867,6 +867,8 @@ declare module "@polkadot/api-base/types/errors" { NotCrossChainTransferableCurrency: AugmentedError; /** Not supported Location */ NotSupportedLocation: AugmentedError; + /** Asset transfer is limited by RateLimiter. */ + RateLimited: AugmentedError; /** The number of assets to be sent is over the maximum. */ TooManyAssetsBeingSent: AugmentedError; /** The message's weight could not be determined. */ diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-events.ts b/typescript-api/src/moonbeam/interfaces/augment-api-events.ts index e79adaa9fb..2fbe6d5f04 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-events.ts @@ -1711,6 +1711,27 @@ declare module "@polkadot/api-base/types/events" { [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; + /** Cancel a retry configuration for some task. */ + RetryCancelled: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option], + { task: ITuple<[u32, u32]>; id: Option } + >; + /** + * The given task was unable to be retried since the agenda is full at that block or there was + * not enough weight to reschedule it. + */ + RetryFailed: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option], + { task: ITuple<[u32, u32]>; id: Option } + >; + /** Set a retry configuration for some task. */ + RetrySet: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8], + { task: ITuple<[u32, u32]>; id: Option; period: u32; retries: u8 } + >; /** Scheduled some task. */ Scheduled: AugmentedEvent; /** Generic event */ diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-query.ts b/typescript-api/src/moonbeam/interfaces/augment-api-query.ts index 63fb8ee775..faaef8225a 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-query.ts @@ -93,6 +93,7 @@ import type { PalletRandomnessRequestState, PalletRandomnessRequestType, PalletReferendaReferendumInfo, + PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletTransactionPaymentReleases, PalletTreasuryProposal, @@ -103,10 +104,10 @@ import type { PalletXcmTransactorRemoteTransactInfoWithMaxWeight, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, - PolkadotPrimitivesV6AbridgedHostConfiguration, - PolkadotPrimitivesV6PersistedValidationData, - PolkadotPrimitivesV6UpgradeGoAhead, - PolkadotPrimitivesV6UpgradeRestriction, + PolkadotPrimitivesV7AbridgedHostConfiguration, + PolkadotPrimitivesV7PersistedValidationData, + PolkadotPrimitivesV7UpgradeGoAhead, + PolkadotPrimitivesV7UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, @@ -324,6 +325,9 @@ declare module "@polkadot/api-base/types/storage" { /** * Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, * changing and freeing a lock. + * + * Use of locks is deprecated in favour of freezes. See + * `https://github.com/paritytech/substrate/pull/12951/` */ locks: AugmentedQuery< ApiType, @@ -331,7 +335,12 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Named reserves on some account balances. */ + /** + * Named reserves on some account balances. + * + * Use of reserves is deprecated in favour of holds. See + * `https://github.com/paritytech/substrate/pull/12951/` + */ reserves: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, @@ -749,7 +758,7 @@ declare module "@polkadot/api-base/types/storage" { /** The current members of the collective. This is stored sorted (just by value). */ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of absentations. */ + /** The prime member that helps determine the default vote behavior in case of abstentions. */ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** Proposals so far. */ @@ -952,7 +961,7 @@ declare module "@polkadot/api-base/types/storage" { */ hostConfiguration: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1093,7 +1102,7 @@ declare module "@polkadot/api-base/types/storage" { */ upgradeGoAhead: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1108,7 +1117,7 @@ declare module "@polkadot/api-base/types/storage" { */ upgradeRestrictionSignal: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1128,7 +1137,7 @@ declare module "@polkadot/api-base/types/storage" { */ validationData: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1426,6 +1435,15 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; + /** Retry configurations for items to be executed, indexed by task address. */ + retries: AugmentedQuery< + ApiType, + ( + arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] + ) => Observable>, + [ITuple<[u32, u32]>] + > & + QueryableStorageEntry]>; /** Generic query */ [key: string]: QueryableStorageEntry; }; @@ -1509,6 +1527,9 @@ declare module "@polkadot/api-base/types/storage" { [u32] > & QueryableStorageEntry; + /** Whether all inherents have been applied. */ + inherentsApplied: AugmentedQuery Observable, []> & + QueryableStorageEntry; /** Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. */ lastRuntimeUpgrade: AugmentedQuery< ApiType, @@ -1594,7 +1615,7 @@ declare module "@polkadot/api-base/types/storage" { /** The current members of the collective. This is stored sorted (just by value). */ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of absentations. */ + /** The prime member that helps determine the default vote behavior in case of abstentions. */ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** Proposals so far. */ diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts b/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts index a4103cf785..8a6d23f28b 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts @@ -37,6 +37,7 @@ import type { AccountId, Balance, Block, + ExtrinsicInclusionMode, H160, H256, Header, @@ -134,7 +135,7 @@ declare module "@polkadot/api-base/types/calls" { /** Generic call */ [key: string]: DecoratedCallBase; }; - /** 0xdf6acb689907609b/4 */ + /** 0xdf6acb689907609b/5 */ core: { /** Execute the given block. */ executeBlock: AugmentedCall< @@ -158,7 +159,7 @@ declare module "@polkadot/api-base/types/calls" { } | string | Uint8Array - ) => Observable + ) => Observable >; /** Returns the version of the runtime. */ version: AugmentedCall Observable>; diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts b/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts index 36a7487c80..a357d04a49 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts @@ -62,11 +62,13 @@ import type { PalletXcmTransactorTransactWeights, SpRuntimeMultiSignature, SpWeightsWeightV2Weight, + StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, XcmPrimitivesEthereumXcmEthereumXcmTransaction, XcmV2OriginKind, XcmV3WeightLimit, XcmVersionedAsset, + XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm, @@ -80,7 +82,10 @@ export type __SubmittableExtrinsicFunction = declare module "@polkadot/api-base/types/submittable" { interface AugmentedSubmittables { assetManager: { - /** See [`Pallet::change_existing_asset_type`]. */ + /** + * Change the xcm type mapping for a given assetId We also change this if the previous units + * per second where pointing at the old assetType + */ changeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -89,7 +94,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, MoonbeamRuntimeXcmConfigAssetType, u32] >; - /** See [`Pallet::destroy_foreign_asset`]. */ + /** + * Destroy a given foreign assetId The weight in this case is the one returned by the trait + * plus the db writes and reads from removing all the associated data + */ destroyForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -97,7 +105,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** See [`Pallet::register_foreign_asset`]. */ + /** Register new asset with the asset manager */ registerForeignAsset: AugmentedSubmittable< ( asset: MoonbeamRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -116,7 +124,7 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::remove_existing_asset_type`]. */ + /** Remove a given assetId -> assetType association */ removeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -124,7 +132,6 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** See [`Pallet::remove_supported_asset`]. */ removeSupportedAsset: AugmentedSubmittable< ( assetType: MoonbeamRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -132,7 +139,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbeamRuntimeXcmConfigAssetType, u32] >; - /** See [`Pallet::set_asset_units_per_second`]. */ + /** Change the amount of units we are charging per execution second for a given ForeignAssetType */ setAssetUnitsPerSecond: AugmentedSubmittable< ( assetType: MoonbeamRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -145,7 +152,26 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; assets: { - /** See [`Pallet::approve_transfer`]. */ + /** + * Approve an amount of asset for transfer by a delegated third-party account. + * + * Origin must be Signed. + * + * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account for the + * purpose of holding the approval. If some non-zero amount of assets is already approved from + * signing account to `delegate`, then it is topped up or unreserved to meet the right value. + * + * NOTE: The signing account does not need to own `amount` of assets at the point of making this call. + * + * - `id`: The identifier of the asset. + * - `delegate`: The account to delegate permission to transfer asset. + * - `amount`: The amount of asset that may be transferred by `delegate`. If there is already an + * approval in place, then this acts additively. + * + * Emits `ApprovedTransfer` on success. + * + * Weight: `O(1)` + */ approveTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -154,7 +180,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::block`]. */ + /** + * Disallow further unprivileged transfers of an asset `id` to and from an account `who`. + * + * Origin must be Signed and the sender should be the Freezer of the asset `id`. + * + * - `id`: The identifier of the account's asset. + * - `who`: The account to be unblocked. + * + * Emits `Blocked`. + * + * Weight: `O(1)` + */ block: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -162,7 +199,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::burn`]. */ + /** + * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`. + * + * Origin must be Signed and the sender should be the Manager of the asset `id`. + * + * Bails with `NoAccount` if the `who` is already dead. + * + * - `id`: The identifier of the asset to have some amount burned. + * - `who`: The account to be debited from. + * - `amount`: The maximum amount by which `who`'s balance should be reduced. + * + * Emits `Burned` with the actual amount burned. If this takes the balance to below the + * minimum for the asset, then the amount burned is increased to take it to zero. + * + * Weight: `O(1)` Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. + */ burn: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -171,7 +223,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::cancel_approval`]. */ + /** + * Cancel all of some asset approved for delegated transfer by a third-party account. + * + * Origin must be Signed and there must be an approval in place between signer and `delegate`. + * + * Unreserves any deposit previously reserved by `approve_transfer` for the approval. + * + * - `id`: The identifier of the asset. + * - `delegate`: The account delegated permission to transfer asset. + * + * Emits `ApprovalCancelled` on success. + * + * Weight: `O(1)` + */ cancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -179,12 +244,45 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::clear_metadata`]. */ + /** + * Clear the metadata for an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * Any deposit is freed for the asset owner. + * + * - `id`: The identifier of the asset to clear. + * + * Emits `MetadataCleared`. + * + * Weight: `O(1)` + */ clearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::create`]. */ + /** + * Issue a new class of fungible assets from a public origin. + * + * This new asset class has no assets initially and its owner is the origin. + * + * The origin must conform to the configured `CreateOrigin` and have sufficient funds free. + * + * Funds of sender are reserved by `AssetDeposit`. + * + * Parameters: + * + * - `id`: The identifier of the new asset. This must not be currently in use to identify an + * existing asset. + * - `admin`: The admin of this class of assets. The admin is the initial address of each member + * of the asset class's admin team. + * - `min_balance`: The minimum balance of this new asset that any single account must have. If + * an account's balance is reduced below this, then it collapses to zero. + * + * Emits `Created` event when successful. + * + * Weight: `O(1)` + */ create: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -193,22 +291,76 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, u128] >; - /** See [`Pallet::destroy_accounts`]. */ + /** + * Destroy all accounts associated with a given asset. + * + * `destroy_accounts` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. + * + * Due to weight restrictions, this function may need to be called multiple times to fully + * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * Each call emits the `Event::DestroyedAccounts` event. + */ destroyAccounts: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::destroy_approvals`]. */ + /** + * Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit). + * + * `destroy_approvals` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. + * + * Due to weight restrictions, this function may need to be called multiple times to fully + * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * Each call emits the `Event::DestroyedApprovals` event. + */ destroyApprovals: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::finish_destroy`]. */ + /** + * Complete destroying asset and unreserve currency. + * + * `finish_destroy` should only be called after `start_destroy` has been called, and the asset + * is in a `Destroying` state. All accounts or approvals should be destroyed before hand. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * Each successful call emits the `Event::Destroyed` event. + */ finishDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::force_asset_status`]. */ + /** + * Alter the attributes of a given asset. + * + * Origin must be `ForceOrigin`. + * + * - `id`: The identifier of the asset. + * - `owner`: The new Owner of this asset. + * - `issuer`: The new Issuer of this asset. + * - `admin`: The new Admin of this asset. + * - `freezer`: The new Freezer of this asset. + * - `min_balance`: The minimum balance of this new asset that any single account must have. If + * an account's balance is reduced below this, then it collapses to zero. + * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient value to + * account for the state bloat associated with its balance storage. If set to `true`, then + * non-zero balances may be stored without a `consumer` reference (and thus an ED in the + * Balances pallet or whatever else is used to control user-account state growth). + * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin instructions. + * + * Emits `AssetStatusChanged` with the identity of the asset. + * + * Weight: `O(1)` + */ forceAssetStatus: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -231,7 +383,21 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::force_cancel_approval`]. */ + /** + * Cancel all of some asset approved for delegated transfer by a third-party account. + * + * Origin must be either ForceOrigin or Signed origin with the signer being the Admin account + * of the asset `id`. + * + * Unreserves any deposit previously reserved by `approve_transfer` for the approval. + * + * - `id`: The identifier of the asset. + * - `delegate`: The account delegated permission to transfer asset. + * + * Emits `ApprovalCancelled` on success. + * + * Weight: `O(1)` + */ forceCancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -240,12 +406,44 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20] >; - /** See [`Pallet::force_clear_metadata`]. */ + /** + * Clear the metadata for an asset. + * + * Origin must be ForceOrigin. + * + * Any deposit is returned. + * + * - `id`: The identifier of the asset to clear. + * + * Emits `MetadataCleared`. + * + * Weight: `O(1)` + */ forceClearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::force_create`]. */ + /** + * Issue a new class of fungible assets from a privileged origin. + * + * This new asset class has no assets initially. + * + * The origin must conform to `ForceOrigin`. + * + * Unlike `create`, no funds are reserved. + * + * - `id`: The identifier of the new asset. This must not be currently in use to identify an + * existing asset. + * - `owner`: The owner of this class of assets. The owner has full superuser permissions over + * this asset, but may later change and configure the permissions using `transfer_ownership` + * and `set_team`. + * - `min_balance`: The minimum balance of this new asset that any single account must have. If + * an account's balance is reduced below this, then it collapses to zero. + * + * Emits `ForceCreated` event when successful. + * + * Weight: `O(1)` + */ forceCreate: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -255,7 +453,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, bool, Compact] >; - /** See [`Pallet::force_set_metadata`]. */ + /** + * Force the metadata for an asset to some value. + * + * Origin must be ForceOrigin. + * + * Any deposit is left alone. + * + * - `id`: The identifier of the asset to update. + * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. + * - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`. + * - `decimals`: The number of decimals this asset uses to represent one unit. + * + * Emits `MetadataSet`. + * + * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively. + */ forceSetMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -266,7 +479,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Bytes, Bytes, u8, bool] >; - /** See [`Pallet::force_transfer`]. */ + /** + * Move some assets from one account to another. + * + * Origin must be Signed and the sender should be the Admin of the asset `id`. + * + * - `id`: The identifier of the asset to have some amount transferred. + * - `source`: The account to be debited. + * - `dest`: The account to be credited. + * - `amount`: The amount by which the `source`'s balance of assets should be reduced and + * `dest`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the `source` balance above zero but below + * the minimum balance. Must be greater than zero. + * + * Emits `Transferred` with the actual amount transferred. If this takes the source balance to + * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * + * Weight: `O(1)` Modes: Pre-existence of `dest`; Post-existence of `source`; Account + * pre-existence of `dest`. + */ forceTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -276,7 +507,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20, Compact] >; - /** See [`Pallet::freeze`]. */ + /** + * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` must + * already exist as an entry in `Account`s of the asset. If you want to freeze an account that + * does not have an entry, use `touch_other` first. + * + * Origin must be Signed and the sender should be the Freezer of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * - `who`: The account to be frozen. + * + * Emits `Frozen`. + * + * Weight: `O(1)` + */ freeze: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -284,12 +528,34 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::freeze_asset`]. */ + /** + * Disallow further unprivileged transfers for the asset class. + * + * Origin must be Signed and the sender should be the Freezer of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * + * Emits `Frozen`. + * + * Weight: `O(1)` + */ freezeAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::mint`]. */ + /** + * Mint assets of a particular class. + * + * The origin must be Signed and the sender must be the Issuer of the asset `id`. + * + * - `id`: The identifier of the asset to have some amount minted. + * - `beneficiary`: The account to be credited with the minted assets. + * - `amount`: The amount of the asset to be minted. + * + * Emits `Issued` event when successful. + * + * Weight: `O(1)` Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. + */ mint: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -298,7 +564,16 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::refund`]. */ + /** + * Return the deposit (if any) of an asset account or a consumer reference (if any) of an account. + * + * The origin must be Signed. + * + * - `id`: The identifier of the asset for which the caller would like the deposit refunded. + * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund. + * + * Emits `Refunded` event when successful. + */ refund: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -306,7 +581,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, bool] >; - /** See [`Pallet::refund_other`]. */ + /** + * Return the deposit (if any) of a target asset account. Useful if you are the depositor. + * + * The origin must be Signed and either the account owner, depositor, or asset `Admin`. In + * order to burn a non-zero balance of the asset, the caller must be the account and should + * use `refund`. + * + * - `id`: The identifier of the asset for the account holding a deposit. + * - `who`: The account to refund. + * + * Emits `Refunded` event when successful. + */ refundOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -314,7 +600,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::set_metadata`]. */ + /** + * Set the metadata for an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * Funds of sender are reserved according to the formula: `MetadataDepositBase + + * MetadataDepositPerByte * (name.len + symbol.len)` taking into account any already reserved funds. + * + * - `id`: The identifier of the asset to update. + * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. + * - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`. + * - `decimals`: The number of decimals this asset uses to represent one unit. + * + * Emits `MetadataSet`. + * + * Weight: `O(1)` + */ setMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -324,7 +626,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Bytes, Bytes, u8] >; - /** See [`Pallet::set_min_balance`]. */ + /** + * Sets the minimum balance of an asset. + * + * Only works if there aren't any accounts that are holding the asset or if the new value of + * `min_balance` is less than the old one. + * + * Origin must be Signed and the sender has to be the Owner of the asset `id`. + * + * - `id`: The identifier of the asset. + * - `min_balance`: The new value of `min_balance`. + * + * Emits `AssetMinBalanceChanged` event when successful. + */ setMinBalance: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -332,7 +646,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, u128] >; - /** See [`Pallet::set_team`]. */ + /** + * Change the Issuer, Admin and Freezer of an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * - `issuer`: The new Issuer of this asset. + * - `admin`: The new Admin of this asset. + * - `freezer`: The new Freezer of this asset. + * + * Emits `TeamChanged`. + * + * Weight: `O(1)` + */ setTeam: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -342,12 +669,34 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20, AccountId20] >; - /** See [`Pallet::start_destroy`]. */ + /** + * Start the process of destroying a fungible asset class. + * + * `start_destroy` is the first in a series of extrinsics that should be called, to allow + * destruction of an asset class. + * + * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * The asset class must be frozen before calling `start_destroy`. + */ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::thaw`]. */ + /** + * Allow unprivileged transfers to and from an account again. + * + * Origin must be Signed and the sender should be the Admin of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * - `who`: The account to be unfrozen. + * + * Emits `Thawed`. + * + * Weight: `O(1)` + */ thaw: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -355,17 +704,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::thaw_asset`]. */ + /** + * Allow unprivileged transfers for the asset again. + * + * Origin must be Signed and the sender should be the Admin of the asset `id`. + * + * - `id`: The identifier of the asset to be thawed. + * + * Emits `Thawed`. + * + * Weight: `O(1)` + */ thawAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::touch`]. */ + /** + * Create an asset account for non-provider assets. + * + * A deposit will be taken from the signer account. + * + * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit to be taken. + * - `id`: The identifier of the asset for the account to be created. + * + * Emits `Touched` event when successful. + */ touch: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::touch_other`]. */ + /** + * Create an asset account for `who`. + * + * A deposit will be taken from the signer account. + * + * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account must + * have sufficient funds for a deposit to be taken. + * - `id`: The identifier of the asset for the account to be created. + * - `who`: The account to be created. + * + * Emits `Touched` event when successful. + */ touchOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -373,7 +752,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::transfer`]. */ + /** + * Move some assets from the sender account to another. + * + * Origin must be Signed. + * + * - `id`: The identifier of the asset to have some amount transferred. + * - `target`: The account to be credited. + * - `amount`: The amount by which the sender's balance of assets should be reduced and + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. + * + * Emits `Transferred` with the actual amount transferred. If this takes the source balance to + * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * + * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account + * pre-existence of `target`. + */ transfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -382,7 +778,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::transfer_approved`]. */ + /** + * Transfer some asset balance from a previously delegated account to some third-party account. + * + * Origin must be Signed and there must be an approval in place by the `owner` to the signer. + * + * If the entire amount approved for transfer is transferred, then any deposit previously + * reserved by `approve_transfer` is unreserved. + * + * - `id`: The identifier of the asset. + * - `owner`: The account which previously approved for a transfer of at least `amount` and from + * which the asset balance will be withdrawn. + * - `destination`: The account to which the asset balance of `amount` will be transferred. + * - `amount`: The amount of assets to transfer. + * + * Emits `TransferredApproved` on success. + * + * Weight: `O(1)` + */ transferApproved: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -392,7 +805,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20, Compact] >; - /** See [`Pallet::transfer_keep_alive`]. */ + /** + * Move some assets from the sender account to another, keeping the sender account alive. + * + * Origin must be Signed. + * + * - `id`: The identifier of the asset to have some amount transferred. + * - `target`: The account to be credited. + * - `amount`: The amount by which the sender's balance of assets should be reduced and + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. + * + * Emits `Transferred` with the actual amount transferred. If this takes the source balance to + * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * + * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account + * pre-existence of `target`. + */ transferKeepAlive: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -401,7 +831,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::transfer_ownership`]. */ + /** + * Change the Owner of an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * - `id`: The identifier of the asset. + * - `owner`: The new Owner of this asset. + * + * Emits `OwnerChanged`. + * + * Weight: `O(1)` + */ transferOwnership: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -413,7 +854,7 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; authorFilter: { - /** See [`Pallet::set_eligible`]. */ + /** Update the eligible count. Intended to be called by governance. */ setEligible: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -422,34 +863,62 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; authorInherent: { - /** See [`Pallet::kick_off_authorship_validation`]. */ + /** + * This inherent is a workaround to run code after the "real" inherents have executed, but + * before transactions are executed. + */ kickOffAuthorshipValidation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; authorMapping: { - /** See [`Pallet::add_association`]. */ + /** + * Register your NimbusId onchain so blocks you author are associated with your account. + * + * Users who have been (or will soon be) elected active collators in staking, should submit + * this extrinsic to have their blocks accepted and earn rewards. + */ addAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic] >; - /** See [`Pallet::clear_association`]. */ + /** + * Clear your Mapping. + * + * This is useful when you are no longer an author and would like to re-claim your security deposit. + */ clearAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic] >; - /** See [`Pallet::remove_keys`]. */ + /** + * Remove your Mapping. + * + * This is useful when you are no longer an author and would like to re-claim your security deposit. + */ removeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::set_keys`]. */ + /** + * Set association and session keys at once. + * + * This is useful for key rotation to update Nimbus and VRF keys in one call. No new security + * deposit is required. Will replace `update_association` which is kept now for backwards + * compatibility reasons. + */ setKeys: AugmentedSubmittable< (keys: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::update_association`]. */ + /** + * Change your Mapping. + * + * This is useful for normal key rotation or for when switching from one physical collator + * machine to another. No new security deposit is required. This sets keys to + * new_nimbus_id.into() by default. + */ updateAssociation: AugmentedSubmittable< ( oldNimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array, @@ -461,7 +930,13 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; balances: { - /** See [`Pallet::force_adjust_total_issuance`]. */ + /** + * Adjust the total issuance in a saturating way. + * + * Can only be called by root and always needs a positive `delta`. + * + * # Example + */ forceAdjustTotalIssuance: AugmentedSubmittable< ( direction: @@ -474,7 +949,11 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletBalancesAdjustmentDirection, Compact] >; - /** See [`Pallet::force_set_balance`]. */ + /** + * Set the regular balance of a given account. + * + * The dispatch origin for this call is `root`. + */ forceSetBalance: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -482,7 +961,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Compact] >; - /** See [`Pallet::force_transfer`]. */ + /** + * Exactly as `transfer_allow_death`, except the origin must be root and the source account + * may be specified. + */ forceTransfer: AugmentedSubmittable< ( source: AccountId20 | string | Uint8Array, @@ -491,7 +973,11 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Compact] >; - /** See [`Pallet::force_unreserve`]. */ + /** + * Unreserve some balance from a user by force. + * + * Can only be called by ROOT. + */ forceUnreserve: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -499,7 +985,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** See [`Pallet::transfer_all`]. */ + /** + * Transfer the entire transferable balance from the caller account. + * + * NOTE: This function only attempts to transfer _transferable_ balances. This means that any + * locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, you + * might need to prepare the account by removing any reference counters, storage deposits, etc... + * + * The dispatch origin of this call must be Signed. + * + * - `dest`: The recipient of the transfer. + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all of the + * funds the account has, causing the sender account to be killed (false), or transfer + * everything except at least the existential deposit, which will guarantee to keep the + * sender account alive (true). + */ transferAll: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -507,7 +1008,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, bool] >; - /** See [`Pallet::transfer_allow_death`]. */ + /** + * Transfer some liquid free balance to another account. + * + * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. If the + * sender's account is below the existential deposit as a result of the transfer, the account + * will be reaped. + * + * The dispatch origin for this call must be `Signed` by the transactor. + */ transferAllowDeath: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -515,7 +1024,14 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Compact] >; - /** See [`Pallet::transfer_keep_alive`]. */ + /** + * Same as the [`transfer_allow_death`][`transfer_allow_death`] call, but with a check that + * the transfer will not kill the origin account. + * + * 99% of the time you want [`transfer_allow_death`][`transfer_allow_death`] instead. + * + * [`transfer_allow_death`]: struct.Pallet.html#method.transfer + */ transferKeepAlive: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -523,7 +1039,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Compact] >; - /** See [`Pallet::upgrade_accounts`]. */ + /** + * Upgrade a specified account. + * + * - `origin`: Must be `Signed`. + * - `who`: The account to be upgraded. + * + * This will waive the transaction fee if at least all but 10% of the accounts needed to be + * upgraded. (We let some not have to be upgraded just in order to allow for the possibility of churn). + */ upgradeAccounts: AugmentedSubmittable< ( who: Vec | (AccountId20 | string | Uint8Array)[] @@ -534,7 +1058,30 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; convictionVoting: { - /** See [`Pallet::delegate`]. */ + /** + * Delegate the voting power (with some given conviction) of the sending account for a + * particular class of polls. + * + * The balance delegated is locked for as long as it's delegated, and thereafter for the time + * appropriate for the conviction's lock period. + * + * The dispatch origin of this call must be _Signed_, and the signing account must either: + * + * - Be delegating already; or + * - Have no voting activity (if there is, then it will need to be removed through `remove_vote`). + * - `to`: The account whose voting the `target` account's voting power will follow. + * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls to + * this function are required. + * - `conviction`: The conviction that will be attached to the delegated votes. When the account + * is undelegated, the funds will be locked for the corresponding period. + * - `balance`: The amount of the account's balance to be used in delegating. This must not be + * more than the account's current balance. + * + * Emits `Delegated`. + * + * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight + * is initially charged as if maximum votes, but is refunded later. + */ delegate: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -554,7 +1101,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, AccountId20, PalletConvictionVotingConviction, u128] >; - /** See [`Pallet::remove_other_vote`]. */ + /** + * Remove a vote for a poll. + * + * If the `target` is equal to the signer, then this function is exactly equivalent to + * `remove_vote`. If not equal to the signer, then the vote must have expired, either because + * the poll was cancelled, because the voter lost the poll or because the conviction period is over. + * + * The dispatch origin of this call must be _Signed_. + * + * - `target`: The account of the vote to be removed; this account must have voted for poll `index`. + * - `index`: The index of poll of the vote to be removed. + * - `class`: The class of the poll. + * + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is + * calculated for the maximum number of vote. + */ removeOtherVote: AugmentedSubmittable< ( target: AccountId20 | string | Uint8Array, @@ -563,7 +1125,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16, u32] >; - /** See [`Pallet::remove_vote`]. */ + /** + * Remove a vote for a poll. + * + * If: + * + * - The poll was cancelled, or + * - The poll is ongoing, or + * - The poll has ended such that + * - The vote of the account was in opposition to the result; or + * - There was no conviction to the account's vote; or + * - The account made a split vote ...then the vote is removed cleanly and a following call to + * `unlock` may result in more funds being available. + * + * If, however, the poll has ended and: + * + * - It finished corresponding to the vote of the account, and + * - The account made a standard vote with conviction, and + * - The lock period of the conviction is not over ...then the lock will be aggregated into the + * overall account's lock, which may involve _overlocking_ (where the two locks are combined + * into a single lock that is the maximum of both the amount locked and the time is it locked for). + * + * The dispatch origin of this call must be _Signed_, and the signer must have a vote + * registered for poll `index`. + * + * - `index`: The index of poll of the vote to be removed. + * - `class`: Optional parameter, if given it indicates the class of the poll. For polls which + * have finished or are cancelled, this must be `Some`. + * + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is + * calculated for the maximum number of vote. + */ removeVote: AugmentedSubmittable< ( clazz: Option | null | Uint8Array | u16 | AnyNumber, @@ -571,12 +1163,36 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Option, u32] >; - /** See [`Pallet::undelegate`]. */ + /** + * Undelegate the voting power of the sending account for a particular class of polls. + * + * Tokens may be unlocked following once an amount of time consistent with the lock period of + * the conviction with which the delegation was issued has passed. + * + * The dispatch origin of this call must be _Signed_ and the signing account must be currently + * delegating. + * + * - `class`: The class of polls to remove the delegation from. + * + * Emits `Undelegated`. + * + * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight + * is initially charged as if maximum votes, but is refunded later. + */ undelegate: AugmentedSubmittable< (clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** See [`Pallet::unlock`]. */ + /** + * Remove the lock caused by prior voting/delegating which has expired within a particular class. + * + * The dispatch origin of this call must be _Signed_. + * + * - `class`: The class of polls to unlock. + * - `target`: The account to remove the lock on. + * + * Weight: `O(R)` with R number of vote of target. + */ unlock: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -584,7 +1200,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, AccountId20] >; - /** See [`Pallet::vote`]. */ + /** + * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a + * vote to keep the status quo. + * + * The dispatch origin of this call must be _Signed_. + * + * - `poll_index`: The index of the poll to vote for. + * - `vote`: The vote configuration. + * + * Weight: `O(R)` where R is the number of polls the voter has voted on. + */ vote: AugmentedSubmittable< ( pollIndex: Compact | AnyNumber | Uint8Array, @@ -602,7 +1228,12 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; crowdloanRewards: { - /** See [`Pallet::associate_native_identity`]. */ + /** + * Associate a native rewards_destination identity with a crowdloan contribution. + * + * The caller needs to provide the unassociated relay account and a proof to succeed with the + * association The proof is nothing but a signature over the reward_address using the relay keys + */ associateNativeIdentity: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -617,7 +1248,13 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, U8aFixed, SpRuntimeMultiSignature] >; - /** See [`Pallet::change_association_with_relay_keys`]. */ + /** + * Change reward account by submitting proofs from relay accounts + * + * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' The + * account to be changed needs to be submitted as 'previous_account' Origin must be + * RewardAddressChangeOrigin + */ changeAssociationWithRelayKeys: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -638,14 +1275,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Vec>] >; - /** See [`Pallet::claim`]. */ + /** Collect whatever portion of your reward are currently vested. */ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::complete_initialization`]. */ + /** + * This extrinsic completes the initialization if some checks are fullfiled. These checks are: + * -The reward contribution money matches the crowdloan pot -The end vesting block is higher + * than the init vesting block -The initialization has not complete yet + */ completeInitialization: AugmentedSubmittable< (leaseEndingBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::initialize_reward_vec`]. */ + /** + * Initialize the reward distribution storage. It shortcuts whenever an error is found This + * does not enforce any checks other than making sure we dont go over funds + * complete_initialization should perform any additional + */ initializeRewardVec: AugmentedSubmittable< ( rewards: @@ -658,7 +1303,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, u128]>>] >; - /** See [`Pallet::update_reward_address`]. */ + /** Update reward address, proving that the caller owns the current native key */ updateRewardAddress: AugmentedSubmittable< (newRewardAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -671,7 +1316,7 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; ethereum: { - /** See [`Pallet::transact`]. */ + /** Transact an Ethereum transaction. */ transact: AugmentedSubmittable< ( transaction: @@ -688,11 +1333,22 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; ethereumXcm: { - /** See `Pallet::resume_ethereum_xcm_execution`. */ + /** + * Resumes all Ethereum executions from XCM. + * + * - `origin`: Must pass `ControllerOrigin`. + */ resumeEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See `Pallet::suspend_ethereum_xcm_execution`. */ + /** + * Suspends all Ethereum executions from XCM. + * + * - `origin`: Must pass `ControllerOrigin`. + */ suspendEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See `Pallet::transact`. */ + /** + * Xcm Transact an Ethereum transaction. Weight: Gas limit plus the db read involving the + * suspension check + */ transact: AugmentedSubmittable< ( xcmTransaction: @@ -704,7 +1360,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; - /** See `Pallet::transact_through_proxy`. */ + /** + * Xcm Transact an Ethereum transaction through proxy. Weight: Gas limit plus the db reads + * involving the suspension and proxy checks + */ transactThroughProxy: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -721,7 +1380,7 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; evm: { - /** See [`Pallet::call`]. */ + /** Issue an EVM call operation. This is similar to a message call transaction in Ethereum. */ call: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -748,7 +1407,7 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** See [`Pallet::create`]. */ + /** Issue an EVM create operation. This is similar to a contract creation transaction in Ethereum. */ create: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -764,7 +1423,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>] >; - /** See [`Pallet::create2`]. */ + /** Issue an EVM create2 operation. */ create2: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -791,7 +1450,7 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** See [`Pallet::withdraw`]. */ + /** Withdraw balance from EVM into currency/balances pallet. */ withdraw: AugmentedSubmittable< ( address: H160 | string | Uint8Array, @@ -803,17 +1462,36 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; identity: { - /** See [`Pallet::accept_username`]. */ + /** + * Accept a given username that an `authority` granted. The call must include the full + * username, as in `username.suffix`. + */ acceptUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::add_registrar`]. */ + /** + * Add a registrar to the system. + * + * The dispatch origin for this call must be `T::RegistrarOrigin`. + * + * - `account`: the account of the registrar. + * + * Emits `RegistrarAdded` if successful. + */ addRegistrar: AugmentedSubmittable< (account: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::add_sub`]. */ + /** + * Add the given account to the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to + * the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + */ addSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -830,7 +1508,12 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Data] >; - /** See [`Pallet::add_username_authority`]. */ + /** + * Add an `AccountId` with permission to grant usernames with a given `suffix` appended. + * + * The authority can grant up to `allocation` usernames. To top up their allocation, they + * should just issue (or request via governance) a new `add_username_authority` call. + */ addUsernameAuthority: AugmentedSubmittable< ( authority: AccountId20 | string | Uint8Array, @@ -839,19 +1522,65 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Bytes, u32] >; - /** See [`Pallet::cancel_request`]. */ + /** + * Cancel a previous request. + * + * Payment: A previously reserved deposit is returned on success. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is no longer requested. + * + * Emits `JudgementUnrequested` if successful. + */ cancelRequest: AugmentedSubmittable< (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::clear_identity`]. */ + /** + * Clear an account's identity info and all sub-accounts and return all deposits. + * + * Payment: All reserved balances on the account are returned. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * Emits `IdentityCleared` if successful. + */ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::kill_identity`]. */ + /** + * Remove an account's identity and sub-account information and slash the deposits. + * + * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by + * `Slash`. Verification request deposits are not returned; they should be cancelled manually + * using `cancel_request`. + * + * The dispatch origin for this call must match `T::ForceOrigin`. + * + * - `target`: the account whose identity the judgement is upon. This must be an account with a + * registered identity. + * + * Emits `IdentityKilled` if successful. + */ killIdentity: AugmentedSubmittable< (target: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::provide_judgement`]. */ + /** + * Provide a judgement for an account's identity. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `reg_index`. + * + * - `reg_index`: the index of the registrar whose judgement is being made. + * - `target`: the account whose identity the judgement is upon. This must be an account with a + * registered identity. + * - `judgement`: the judgement of the registrar of index `reg_index` about `target`. + * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is provided. + * + * Note: Judgements do not apply to a username. + * + * Emits `JudgementGiven` if successful. + */ provideJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -871,29 +1600,60 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, PalletIdentityJudgement, H256] >; - /** See [`Pallet::quit_sub`]. */ + /** + * Remove the sender as a sub-account. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to + * the sender (_not_ the original depositor). + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * super-identity. + * + * NOTE: This should not normally be used, but is provided in the case that the non- + * controller of an account is maliciously registered as a sub-account. + */ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::remove_dangling_username`]. */ + /** + * Remove a username that corresponds to an account with no identity. Exists when a user gets + * a username but then calls `clear_identity`. + */ removeDanglingUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::remove_expired_approval`]. */ + /** + * Remove an expired username approval. The username was approved by an authority but never + * accepted by the user and must now be beyond its expiration. The call must include the full + * username, as in `username.suffix`. + */ removeExpiredApproval: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::remove_sub`]. */ + /** + * Remove the given account from the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to + * the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + */ removeSub: AugmentedSubmittable< (sub: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::remove_username_authority`]. */ + /** Remove `authority` from the username authorities. */ removeUsernameAuthority: AugmentedSubmittable< (authority: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::rename_sub`]. */ + /** + * Alter the associated name of the given sub-account. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + */ renameSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -910,7 +1670,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Data] >; - /** See [`Pallet::request_judgement`]. */ + /** + * Request a judgement from a registrar. + * + * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement given. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is requested. + * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: + * + * ```nocompile + * Self::registrars().get(reg_index).unwrap().fee; + * ``` + * + * Emits `JudgementRequested` if successful. + */ requestJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -918,7 +1693,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Compact] >; - /** See [`Pallet::set_account_id`]. */ + /** + * Change the account associated with a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `new`: the new account ID. + */ setAccountId: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -926,7 +1709,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::set_fee`]. */ + /** + * Set the fee required for a judgement to be requested from a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fee`: the new fee. + */ setFee: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -934,7 +1725,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Compact] >; - /** See [`Pallet::set_fields`]. */ + /** + * Set the field information for a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fields`: the fields that the registrar concerns themselves with. + */ setFields: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -942,7 +1741,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, u64] >; - /** See [`Pallet::set_identity`]. */ + /** + * Set an account's identity information and reserve the appropriate deposit. + * + * If the account already has identity information, the deposit is taken as part payment for + * the new deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * - `info`: The identity information. + * + * Emits `IdentitySet` if successful. + */ setIdentity: AugmentedSubmittable< ( info: @@ -963,12 +1773,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletIdentityLegacyIdentityInfo] >; - /** See [`Pallet::set_primary_username`]. */ + /** Set a given username as the primary. The username should include the suffix. */ setPrimaryUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_subs`]. */ + /** + * Set the sub-accounts of the sender. + * + * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned and + * an amount `SubAccountDeposit` will be reserved for each item in `subs`. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * - `subs`: The identity's (new) sub-accounts. + */ setSubs: AugmentedSubmittable< ( subs: @@ -990,7 +1809,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec>] >; - /** See [`Pallet::set_username_for`]. */ + /** + * Set the username for `who`. Must be called by a username authority. + * + * The authority must have an `allocation`. Users can either pre-sign their usernames or + * accept them later. + * + * Usernames must: + * + * - Only contain lowercase ASCII characters or digits. + * - When combined with the suffix of the issuing authority be _less than_ the `MaxUsernameLength`. + */ setUsernameFor: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -1008,15 +1837,42 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; maintenanceMode: { - /** See [`Pallet::enter_maintenance_mode`]. */ + /** + * Place the chain in maintenance mode + * + * Weight cost is: + * + * - One DB read to ensure we're not already in maintenance mode + * - Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event + */ enterMaintenanceMode: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::resume_normal_operation`]. */ + /** + * Return the chain to normal operating mode + * + * Weight cost is: + * + * - One DB read to ensure we're in maintenance mode + * - Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event + */ resumeNormalOperation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { - /** See [`Pallet::execute_overweight`]. */ + /** + * Execute an overweight message. + * + * Temporary processing errors will be propagated whereas permanent errors are treated as + * success condition. + * + * - `origin`: Must be `Signed`. + * - `message_origin`: The origin from which the message to be executed arrived. + * - `page`: The page in the queue in which the message to be executed is sitting. + * - `index`: The index into the queue of the message to be executed. + * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution of the message. + * + * Benchmark complexity considerations: O(index + weight_limit). + */ executeOverweight: AugmentedSubmittable< ( messageOrigin: @@ -1036,7 +1892,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight] >; - /** See [`Pallet::reap_page`]. */ + /** Remove a page which has no more messages remaining to be processed or is stale. */ reapPage: AugmentedSubmittable< ( messageOrigin: @@ -1054,7 +1910,6 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; moonbeamLazyMigrations: { - /** See [`Pallet::clear_suicided_storage`]. */ clearSuicidedStorage: AugmentedSubmittable< ( addresses: Vec | (H160 | string | Uint8Array)[], @@ -1066,34 +1921,34 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; moonbeamOrbiters: { - /** See [`Pallet::add_collator`]. */ + /** Add a collator to orbiters program. */ addCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::collator_add_orbiter`]. */ + /** Add an orbiter in a collator pool */ collatorAddOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::collator_remove_orbiter`]. */ + /** Remove an orbiter from the caller collator pool */ collatorRemoveOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::orbiter_leave_collator_pool`]. */ + /** Remove the caller from the specified collator pool */ orbiterLeaveCollatorPool: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::orbiter_register`]. */ + /** Registering as an orbiter */ orbiterRegister: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::orbiter_unregister`]. */ + /** Deregistering from orbiters */ orbiterUnregister: AugmentedSubmittable< (collatorsPoolCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::remove_collator`]. */ + /** Remove a collator from orbiters program. */ removeCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1102,7 +1957,38 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; multisig: { - /** See [`Pallet::approve_as_multi`]. */ + /** + * Register approval for a dispatch to be made from a deterministic composite account if + * approved by a total of `threshold - 1` of `other_signatories`. + * + * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` + * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. + * May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not + * the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. + * - `call_hash`: The hash of the call to be executed. + * + * NOTE: If this is the final approval, you will want to use `as_multi` instead. + * + * ## Complexity + * + * - `O(S)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. + * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One encode & hash, both of complexity `O(S)`. + * - Up to one binary search and insert (`O(logS + S)`). + * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. + * - One event. + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for + * its lifetime of `DepositBase + threshold * DepositFactor`. + */ approveAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -1123,7 +2009,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, Option, U8aFixed, SpWeightsWeightV2Weight] >; - /** See [`Pallet::as_multi`]. */ + /** + * Register approval for a dispatch to be made from a deterministic composite account if + * approved by a total of `threshold - 1` of `other_signatories`. + * + * If there are enough, then dispatch the call. + * + * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` + * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. + * May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not + * the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. + * - `call`: The call to be executed. + * + * NOTE: Unless this is the final approval, you will generally want to use `approve_as_multi` + * instead, since it only requires a hash of the call. + * + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise on + * success, result is `Ok` and the result from the interior call, if it was executed, may be + * found in the deposited `MultisigExecuted` event. + * + * ## Complexity + * + * - `O(S + Z + Call)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. + * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. + * - One encode & hash, both of complexity `O(S)`. + * - Up to one binary search and insert (`O(logS + S)`). + * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. + * - One event. + * - The weight of the `call`. + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for + * its lifetime of `DepositBase + threshold * DepositFactor`. + */ asMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -1144,7 +2070,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, Option, Call, SpWeightsWeightV2Weight] >; - /** See [`Pallet::as_multi_threshold_1`]. */ + /** + * Immediately dispatch a multi-signature call using a single approval from the caller. + * + * The dispatch origin for this call must be _Signed_. + * + * - `other_signatories`: The accounts (other than the sender) who are part of the + * multi-signature, but do not participate in the approval process. + * - `call`: The call to be executed. + * + * Result is equivalent to the dispatched result. + * + * ## Complexity + * + * O(Z + C) where Z is the length of the call and C its execution weight. + */ asMultiThreshold1: AugmentedSubmittable< ( otherSignatories: Vec | (AccountId20 | string | Uint8Array)[], @@ -1152,7 +2092,30 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, Call] >; - /** See [`Pallet::cancel_as_multi`]. */ + /** + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously for + * this operation will be unreserved on success. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. + * May not be empty. + * - `timepoint`: The timepoint (block number and transaction index) of the first approval + * transaction for this dispatch. + * - `call_hash`: The hash of the call to be executed. + * + * ## Complexity + * + * - `O(S)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. + * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One encode & hash, both of complexity `O(S)`. + * - One event. + * - I/O: 1 read `O(S)`, one remove. + * - Storage: removes one item. + */ cancelAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -1166,7 +2129,32 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; openTechCommitteeCollective: { - /** See [`Pallet::close`]. */ + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is has + * enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections unless + * there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will be + * waived. Otherwise execution of the approved operation will be charged to the caller. + * + * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. + * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * ## Complexity + * + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + */ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -1180,12 +2168,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact] >; - /** See [`Pallet::disapprove_proposal`]. */ + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * + * Must be called by the Root origin. + * + * Parameters: + * + * - `proposal_hash`: The hash of the proposal that should be disapproved. + * + * ## Complexity + * + * O(P) where P is the number of max proposals + */ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::execute`]. */ + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * ## Complexity: + * + * - `O(B + M + P)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` members-count (code-bounded) + * - `P` complexity of dispatching `proposal` + */ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -1193,7 +2204,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, Compact] >; - /** See [`Pallet::propose`]. */ + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up + * for voting. + * + * ## Complexity + * + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - Branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + */ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -1202,7 +2229,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Call, Compact] >; - /** See [`Pallet::set_members`]. */ + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for weight + * estimation. + * + * The dispatch of this call must be `SetMembersOrigin`. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the + * weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful + * that the member set doesn't get out of sync with other logic managing the member set. + * + * ## Complexity: + * + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + */ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -1211,7 +2263,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, Option, u32] >; - /** See [`Pallet::vote`]. */ + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal for the + * first time and the call is successful. Subsequent vote changes will charge a fee. + * + * ## Complexity + * + * - `O(M)` where `M` is members-count (code- and governance-bounded) + */ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -1224,24 +2287,33 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; parachainStaking: { - /** See [`Pallet::cancel_candidate_bond_less`]. */ + /** Cancel pending request to adjust the collator candidate self bond */ cancelCandidateBondLess: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::cancel_delegation_request`]. */ + /** Cancel request to change an existing delegation. */ cancelDelegationRequest: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::cancel_leave_candidates`]. */ + /** + * Cancel open request to leave candidates + * + * - Only callable by collator account + * - Result upon successful call is the candidate is active in the candidate pool + */ cancelLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::candidate_bond_more`]. */ + /** Increase collator candidate self bond by `more` */ candidateBondMore: AugmentedSubmittable< (more: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** See [`Pallet::delegate`]. */ + /** + * DEPRECATED use delegateWithAutoCompound If caller is not a delegator and not a collator, + * then join the set of delegators If caller is a delegator, then makes delegation to change + * their delegation state + */ delegate: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1251,7 +2323,11 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32, u32] >; - /** See [`Pallet::delegate_with_auto_compound`]. */ + /** + * If caller is not a delegator and not a collator, then join the set of delegators If caller + * is a delegator, then makes delegation to change their delegation state Sets the + * auto-compound config for the delegation + */ delegateWithAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1263,7 +2339,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, Percent, u32, u32, u32] >; - /** See [`Pallet::delegator_bond_more`]. */ + /** Bond more for delegators wrt a specific collator candidate. */ delegatorBondMore: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1271,17 +2347,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** See [`Pallet::enable_marking_offline`]. */ + /** Enable/Disable marking offline feature */ enableMarkingOffline: AugmentedSubmittable< (value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** See [`Pallet::execute_candidate_bond_less`]. */ + /** Execute pending request to adjust the collator candidate self bond */ executeCandidateBondLess: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::execute_delegation_request`]. */ + /** Execute pending request to change an existing delegation */ executeDelegationRequest: AugmentedSubmittable< ( delegator: AccountId20 | string | Uint8Array, @@ -1289,7 +2365,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20] >; - /** See [`Pallet::execute_leave_candidates`]. */ + /** Execute leave candidates request */ executeLeaveCandidates: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1297,7 +2373,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u32] >; - /** See [`Pallet::force_join_candidates`]. */ + /** Force join the set of collator candidates. It will skip the minimum required bond check. */ forceJoinCandidates: AugmentedSubmittable< ( account: AccountId20 | string | Uint8Array, @@ -1306,18 +2382,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32] >; - /** See [`Pallet::go_offline`]. */ + /** Temporarily leave the set of collator candidates without unbonding */ goOffline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::go_online`]. */ + /** Rejoin the set of collator candidates if previously had called `go_offline` */ goOnline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::hotfix_remove_delegation_requests_exited_candidates`]. */ + /** Hotfix to remove existing empty entries for candidates that have left. */ hotfixRemoveDelegationRequestsExitedCandidates: AugmentedSubmittable< ( candidates: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::join_candidates`]. */ + /** Join the set of collator candidates */ joinCandidates: AugmentedSubmittable< ( bond: u128 | AnyNumber | Uint8Array, @@ -1325,23 +2401,27 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** See [`Pallet::notify_inactive_collator`]. */ + /** Notify a collator is inactive during MaxOfflineRounds */ notifyInactiveCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::removed_call_19`]. */ + /** REMOVED, was schedule_leave_delegators */ removedCall19: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::removed_call_20`]. */ + /** REMOVED, was execute_leave_delegators */ removedCall20: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::removed_call_21`]. */ + /** REMOVED, was cancel_leave_delegators */ removedCall21: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::schedule_candidate_bond_less`]. */ + /** Request by collator candidate to decrease self bond by `less` */ scheduleCandidateBondLess: AugmentedSubmittable< (less: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** See [`Pallet::schedule_delegator_bond_less`]. */ + /** + * Request bond less for delegators wrt a specific collator candidate. The delegation's + * rewards for rounds while the request is pending use the reduced bonded amount. A bond less + * may not be performed if any other scheduled request is pending. + */ scheduleDelegatorBondLess: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1349,17 +2429,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** See [`Pallet::schedule_leave_candidates`]. */ + /** + * Request to leave the set of candidates. If successful, the account is immediately removed + * from the candidate pool to prevent selection as a collator. + */ scheduleLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::schedule_revoke_delegation`]. */ + /** + * Request to revoke an existing delegation. If successful, the delegation is scheduled to be + * allowed to be revoked via the `execute_delegation_request` extrinsic. The delegation + * receives no rewards for the rounds while a revoke is pending. A revoke may not be performed + * if any other scheduled request is pending. + */ scheduleRevokeDelegation: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::set_auto_compound`]. */ + /** Sets the auto-compounding reward percentage for a delegation. */ setAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1369,17 +2457,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Percent, u32, u32] >; - /** See [`Pallet::set_blocks_per_round`]. */ + /** + * Set blocks per round + * + * - If called with `new` less than length of current round, will transition immediately in the next block + * - Also updates per-round inflation config + */ setBlocksPerRound: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::set_collator_commission`]. */ + /** Set the commission for all collators */ setCollatorCommission: AugmentedSubmittable< (updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** See [`Pallet::set_inflation`]. */ + /** Set the annual inflation rate to derive per-round inflation */ setInflation: AugmentedSubmittable< ( schedule: @@ -1400,17 +2493,20 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** See [`Pallet::set_parachain_bond_account`]. */ + /** Set the account that will hold funds set aside for parachain bond */ setParachainBondAccount: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::set_parachain_bond_reserve_percent`]. */ + /** Set the percent of inflation set aside for parachain bond */ setParachainBondReservePercent: AugmentedSubmittable< (updated: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Percent] >; - /** See [`Pallet::set_staking_expectations`]. */ + /** + * Set the expectations for total staked. These expectations determine the issuance for the + * round according to logic in `fn compute_issuance` + */ setStakingExpectations: AugmentedSubmittable< ( expectations: @@ -1431,7 +2527,11 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** See [`Pallet::set_total_selected`]. */ + /** + * Set the total number of collator candidates selected per round + * + * - Changes are not applied until the start of the next round + */ setTotalSelected: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -1440,7 +2540,15 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { - /** See [`Pallet::authorize_upgrade`]. */ + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * + * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec + * version and name should be verified on upgrade. Since the authorization only has a hash, it + * cannot actually perform the verification. + * + * This call requires Root origin. + */ authorizeUpgrade: AugmentedSubmittable< ( codeHash: H256 | string | Uint8Array, @@ -1448,12 +2556,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, bool] >; - /** See [`Pallet::enact_authorized_upgrade`]. */ + /** + * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. + * + * If the authorization required a version check, this call will ensure the spec name remains + * unchanged and that the spec version has increased. + * + * Note that this function will not apply the new `code`, but only attempt to schedule the + * upgrade with the Relay Chain. + * + * All origins are allowed. + */ enactAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_validation_data`]. */ + /** + * Set the current validation data. + * + * This should be invoked exactly once per block. It will panic at the finalization phase if + * the call was not invoked. + * + * The dispatch origin for this call must be `Inherent` + * + * As a side effect, this function upgrades the current validation function if the appropriate + * time has come. + */ setValidationData: AugmentedSubmittable< ( data: @@ -1469,7 +2597,6 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesParachainInherentParachainInherentData] >; - /** See [`Pallet::sudo_send_upward_message`]. */ sudoSendUpwardMessage: AugmentedSubmittable< (message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1478,7 +2605,42 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { - /** See [`Pallet::execute`]. */ + /** + * Claims assets trapped on this pallet because of leftover assets during XCM execution. + * + * - `origin`: Anyone can call this extrinsic. + * - `assets`: The exact assets that were trapped. Use the version to specify what version was + * the latest when they were trapped. + * - `beneficiary`: The location/account where the claimed assets will be deposited. + */ + claimAssets: AugmentedSubmittable< + ( + assets: + | XcmVersionedAssets + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + beneficiary: + | XcmVersionedLocation + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedAssets, XcmVersionedLocation] + >; + /** + * Execute an XCM message from a local, signed, origin. + * + * An event is deposited indicating whether `msg` could be executed completely or only partially. + * + * No more than `max_weight` will be used in its attempted execution. If this is less than the + * maximum amount of weight that the message could take to be executed, then no execution + * attempt will be made. + */ execute: AugmentedSubmittable< ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -1490,14 +2652,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedXcm, SpWeightsWeightV2Weight] >; - /** See [`Pallet::force_default_xcm_version`]. */ + /** + * Set a safe XCM version (the version that XCM should be encoded with if the most recent + * version a destination can accept is unknown). + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. + */ forceDefaultXcmVersion: AugmentedSubmittable< ( maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber ) => SubmittableExtrinsic, [Option] >; - /** See [`Pallet::force_subscribe_version_notify`]. */ + /** + * Ask a location to notify us regarding their XCM version and any changes to it. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The location to which we should subscribe for XCM version notifications. + */ forceSubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -1510,12 +2683,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::force_suspension`]. */ + /** + * Set or unset the global suspension state of the XCM executor. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `suspended`: `true` to suspend, `false` to resume. + */ forceSuspension: AugmentedSubmittable< (suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** See [`Pallet::force_unsubscribe_version_notify`]. */ + /** + * Require that a particular destination should no longer notify us regarding any XCM version changes. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The location to which we are currently subscribed for XCM version notifications + * which we no longer desire. + */ forceUnsubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -1528,7 +2712,13 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::force_xcm_version`]. */ + /** + * Extoll that a particular destination can be communicated with through a particular version of XCM. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The destination that is being described. + * - `xcm_version`: The latest version of XCM that `location` supports. + */ forceXcmVersion: AugmentedSubmittable< ( location: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, @@ -1536,7 +2726,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [StagingXcmV4Location, u32] >; - /** See [`Pallet::limited_reserve_transfer_assets`]. */ + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve. + * + * `assets` must have same reserve location and may not be teleportable to `dest`. + * + * - `assets` have local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to `dest` + * chain to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to + * mint and deposit reserve-based assets to `beneficiary`. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is + * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ limitedReserveTransferAssets: AugmentedSubmittable< ( dest: @@ -1570,7 +2788,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; - /** See [`Pallet::limited_teleport_assets`]. */ + /** + * Teleport some assets from the local chain to some destination chain. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is + * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ limitedTeleportAssets: AugmentedSubmittable< ( dest: @@ -1604,7 +2838,36 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; - /** See [`Pallet::reserve_transfer_assets`]. */ + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve. + * + * `assets` must have same reserve location and may not be teleportable to `dest`. + * + * - `assets` have local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to `dest` + * chain to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to + * mint and deposit reserve-based assets to `beneficiary`. + * + * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all + * fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + */ reserveTransferAssets: AugmentedSubmittable< ( dest: @@ -1632,7 +2895,6 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32] >; - /** See [`Pallet::send`]. */ send: AugmentedSubmittable< ( dest: @@ -1646,7 +2908,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedXcm] >; - /** See [`Pallet::teleport_assets`]. */ + /** + * Teleport some assets from the local chain to some destination chain. + * + * **This function is deprecated: Use `limited_teleport_assets` instead.** + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all + * fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + */ teleportAssets: AugmentedSubmittable< ( dest: @@ -1674,7 +2953,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32] >; - /** See [`Pallet::transfer_assets`]. */ + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve, or through teleports. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item` (hence referred to as `fees`), up to enough to pay for `weight_limit` of + * weight. If more weight is needed than `weight_limit`, then the operation will fail and the + * sent assets may be at risk. + * + * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable to + * `dest`, no limitations imposed on `fees`. + * + * - For local reserve: transfer assets to sovereign account of destination chain and forward a + * notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - For destination reserve: burn local assets and forward a notification to `dest` chain to + * withdraw the reserve assets from this chain's sovereign account and deposit them to `beneficiary`. + * - For remote reserve: burn local assets, forward XCM to reserve chain to move reserves from + * this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint and + * deposit reserve-based assets to `beneficiary`. + * - For teleports: burn local assets and forward XCM to `dest` chain to mint/teleport assets + * and deposit them to `beneficiary`. + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` + * to send from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ transferAssets: AugmentedSubmittable< ( dest: @@ -1708,31 +3017,161 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; + /** + * Transfer assets from the local chain to the destination chain using explicit transfer types + * for assets and fees. + * + * `assets` must have same reserve location or may be teleportable to `dest`. Caller must + * provide the `assets_transfer_type` to be used for `assets`: + * + * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - `TransferType::DestinationReserve`: burn local assets and forward a notification to `dest` + * chain to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` chain + * to move reserves from this chain's SA to `dest` chain's SA, and forward another XCM to + * `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically the remote + * `reserve` is Asset Hub. + * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to + * mint/teleport assets and deposit them to `beneficiary`. + * + * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to buy + * execution using transferred `assets` identified by `remote_fees_id`. Make sure enough of + * the specified `remote_fees_id` asset is included in the given list of `assets`. + * `remote_fees_id` should be enough to pay for `weight_limit`. If more weight is needed than + * `weight_limit`, then the operation will fail and the sent assets may be at risk. + * + * `remote_fees_id` may use different transfer type than rest of `assets` and can be specified + * through `fees_transfer_type`. + * + * The caller needs to specify what should happen to the transferred assets once they reach + * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which contains + * the instructions to execute on `dest` as a final step. This is usually as simple as: + * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, but + * could be something more exotic like sending the `assets` even further. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain, + * or `(parents: 2, (GlobalConsensus(..), ..))` to send from parachain across a bridge to + * another ecosystem destination. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. + * - `remote_fees_id`: One of the included `assets` to be be used to pay fees. + * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. + * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the + * transfer, which also determines what happens to the assets on the destination chain. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ + transferAssetsUsingTypeAndThen: AugmentedSubmittable< + ( + dest: + | XcmVersionedLocation + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + assets: + | XcmVersionedAssets + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + assetsTransferType: + | StagingXcmExecutorAssetTransferTransferType + | { Teleport: any } + | { LocalReserve: any } + | { DestinationReserve: any } + | { RemoteReserve: any } + | string + | Uint8Array, + remoteFeesId: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array, + feesTransferType: + | StagingXcmExecutorAssetTransferTransferType + | { Teleport: any } + | { LocalReserve: any } + | { DestinationReserve: any } + | { RemoteReserve: any } + | string + | Uint8Array, + customXcmOnDest: + | XcmVersionedXcm + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + weightLimit: + | XcmV3WeightLimit + | { Unlimited: any } + | { Limited: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [ + XcmVersionedLocation, + XcmVersionedAssets, + StagingXcmExecutorAssetTransferTransferType, + XcmVersionedAssetId, + StagingXcmExecutorAssetTransferTransferType, + XcmVersionedXcm, + XcmV3WeightLimit + ] + >; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; preimage: { - /** See [`Pallet::ensure_updated`]. */ + /** + * Ensure that the a bulk of pre-images is upgraded. + * + * The caller pays no fee if at least 90% of pre-images were successfully updated. + */ ensureUpdated: AugmentedSubmittable< (hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::note_preimage`]. */ + /** + * Register a preimage on-chain. + * + * If the preimage was previously requested, no fees or deposits are taken for providing the + * preimage. Otherwise, a deposit is taken proportional to the size of the preimage. + */ notePreimage: AugmentedSubmittable< (bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::request_preimage`]. */ + /** + * Request a preimage be uploaded to the chain without paying any fees or deposits. + * + * If the preimage requests has already been provided on-chain, we unreserve any deposit a + * user may have paid, and take the control of the preimage out of their hands. + */ requestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::unnote_preimage`]. */ + /** + * Clear an unrequested preimage from the runtime storage. + * + * If `len` is provided, then it will be a much cheaper operation. + * + * - `hash`: The hash of the preimage to be removed from the store. + * - `len`: The length of the preimage of `hash`. + */ unnotePreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::unrequest_preimage`]. */ + /** + * Clear a previously made request for a preimage. + * + * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. + */ unrequestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -1741,7 +3180,17 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; proxy: { - /** See [`Pallet::add_proxy`]. */ + /** + * Register a proxy account for the sender that is able to make calls on its behalf. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `proxy`: The account that the `caller` would like to make a proxy. + * - `proxy_type`: The permissions allowed for this proxy account. + * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + */ addProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1761,7 +3210,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonbeamRuntimeProxyType, u32] >; - /** See [`Pallet::announce`]. */ + /** + * Publish the hash of a proxy-call that will be made in the future. + * + * This must be called some number of blocks before the corresponding `proxy` is attempted if + * the delay associated with the proxy relationship is greater than zero. + * + * No more than `MaxPending` announcements may be made at any one time. + * + * This will take a deposit of `AnnouncementDepositFactor` as well as + * `AnnouncementDepositBase` if there are no other pending announcements. + * + * The dispatch origin for this call must be _Signed_ and a proxy of `real`. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `call_hash`: The hash of the call to be made by the `real` account. + */ announce: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -1769,7 +3235,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, H256] >; - /** See [`Pallet::create_pure`]. */ + /** + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and initialize + * it with a proxy of `proxy_type` for `origin` sender. + * + * Requires a `Signed` origin. + * + * - `proxy_type`: The type of the proxy that the sender will be registered as over the new + * account. This will almost always be the most permissive `ProxyType` possible to allow for + * maximum flexibility. + * - `index`: A disambiguation index, in case this is called multiple times in the same + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + * + * Fails with `Duplicate` if this has already been called in this transaction, from the same + * sender, with the same parameters. + * + * Fails if there are insufficient funds to pay for deposit. + */ createPure: AugmentedSubmittable< ( proxyType: @@ -1789,7 +3273,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbeamRuntimeProxyType, u32, u16] >; - /** See [`Pallet::kill_pure`]. */ + /** + * Removes a previously spawned pure proxy. + * + * WARNING: **All access to this account will be lost.** Any funds held in it will be inaccessible. + * + * Requires a `Signed` origin, and the sender account must have been created by a call to + * `pure` with corresponding parameters. + * + * - `spawner`: The account that originally called `pure` to create this account. + * - `index`: The disambiguation index originally passed to `pure`. Probably `0`. + * - `proxy_type`: The proxy type originally passed to `pure`. + * - `height`: The height of the chain when the call to `pure` was processed. + * - `ext_index`: The extrinsic index in which the call to `pure` was processed. + * + * Fails with `NoPermission` in case the caller is not a previously created pure account whose + * `pure` call has corresponding parameters. + */ killPure: AugmentedSubmittable< ( spawner: AccountId20 | string | Uint8Array, @@ -1811,7 +3311,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonbeamRuntimeProxyType, u16, Compact, Compact] >; - /** See [`Pallet::proxy`]. */ + /** + * Dispatch the given `call` from an account that the sender is authorised for through `add_proxy`. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. + * - `call`: The call to be made by the `real` account. + */ proxy: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -1833,7 +3343,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Option, Call] >; - /** See [`Pallet::proxy_announced`]. */ + /** + * Dispatch the given `call` from an account that the sender is authorized for through `add_proxy`. + * + * Removes any corresponding announcement(s). + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. + * - `call`: The call to be made by the `real` account. + */ proxyAnnounced: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1856,7 +3378,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Option, Call] >; - /** See [`Pallet::reject_announcement`]. */ + /** + * Remove the given announcement of a delegate. + * + * May be called by a target (proxied) account to remove a call that one of their delegates + * (`delegate`) has announced they want to execute. The deposit is returned. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `delegate`: The account that previously announced the call. + * - `call_hash`: The hash of the call to be made. + */ rejectAnnouncement: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1864,7 +3398,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, H256] >; - /** See [`Pallet::remove_announcement`]. */ + /** + * Remove a given announcement. + * + * May be called by a proxy account to remove a call they previously announced and return the deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `call_hash`: The hash of the call to be made by the `real` account. + */ removeAnnouncement: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -1872,9 +3417,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, H256] >; - /** See [`Pallet::remove_proxies`]. */ + /** + * Unregister all proxy accounts for the sender. + * + * The dispatch origin for this call must be _Signed_. + * + * WARNING: This may be called on accounts created by `pure`, however if done, then the + * unreserved fees will be inaccessible. **All access to this account will be lost.** + */ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::remove_proxy`]. */ + /** + * Unregister a proxy account for the sender. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `proxy`: The account that the `caller` would like to remove as a proxy. + * - `proxy_type`: The permissions currently enabled for the removed proxy account. + */ removeProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1898,48 +3459,109 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; randomness: { - /** See [`Pallet::set_babe_randomness_results`]. */ + /** Populates `RandomnessResults` due this epoch with BABE epoch randomness */ setBabeRandomnessResults: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; referenda: { - /** See [`Pallet::cancel`]. */ + /** + * Cancel an ongoing referendum. + * + * - `origin`: must be the `CancelOrigin`. + * - `index`: The index of the referendum to be cancelled. + * + * Emits `Cancelled`. + */ cancel: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::kill`]. */ + /** + * Cancel an ongoing referendum and slash the deposits. + * + * - `origin`: must be the `KillOrigin`. + * - `index`: The index of the referendum to be cancelled. + * + * Emits `Killed` and `DepositSlashed`. + */ kill: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::nudge_referendum`]. */ + /** + * Advance a referendum onto its next logical state. Only used internally. + * + * - `origin`: must be `Root`. + * - `index`: the referendum to be advanced. + */ nudgeReferendum: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::one_fewer_deciding`]. */ + /** + * Advance a track onto its next logical state. Only used internally. + * + * - `origin`: must be `Root`. + * - `track`: the track to be advanced. + * + * Action item for when there is now one fewer referendum in the deciding phase and the + * `DecidingCount` is not yet updated. This means that we should either: + * + * - Begin deciding another referendum (and leave `DecidingCount` alone); or + * - Decrement `DecidingCount`. + */ oneFewerDeciding: AugmentedSubmittable< (track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** See [`Pallet::place_decision_deposit`]. */ + /** + * Post the Decision Deposit for a referendum. + * + * - `origin`: must be `Signed` and the account must have funds available for the referendum's + * track's Decision Deposit. + * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be posted. + * + * Emits `DecisionDepositPlaced`. + */ placeDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::refund_decision_deposit`]. */ + /** + * Refund the Decision Deposit for a closed referendum back to the depositor. + * + * - `origin`: must be `Signed` or `Root`. + * - `index`: The index of a closed referendum whose Decision Deposit has not yet been refunded. + * + * Emits `DecisionDepositRefunded`. + */ refundDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::refund_submission_deposit`]. */ + /** + * Refund the Submission Deposit for a closed referendum back to the depositor. + * + * - `origin`: must be `Signed` or `Root`. + * - `index`: The index of a closed referendum whose Submission Deposit has not yet been refunded. + * + * Emits `SubmissionDepositRefunded`. + */ refundSubmissionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::set_metadata`]. */ + /** + * Set or clear metadata of a referendum. + * + * Parameters: + * + * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a metadata of + * a finished referendum. + * - `index`: The index of a referendum to set or clear metadata for. + * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. + */ setMetadata: AugmentedSubmittable< ( index: u32 | AnyNumber | Uint8Array, @@ -1947,7 +3569,16 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option] >; - /** See [`Pallet::submit`]. */ + /** + * Propose a referendum on a privileged action. + * + * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds available. + * - `proposal_origin`: The origin from which the proposal should be executed. + * - `proposal`: The proposal. + * - `enactment_moment`: The moment that the proposal should be enacted. + * + * Emits `Submitted`. + */ submit: AugmentedSubmittable< ( proposalOrigin: @@ -1987,18 +3618,17 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; rootTesting: { - /** See `Pallet::fill_block`. */ + /** A dispatch that will fill the block weight up to the given ratio. */ fillBlock: AugmentedSubmittable< (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** See `Pallet::trigger_defensive`. */ triggerDefensive: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; scheduler: { - /** See [`Pallet::cancel`]. */ + /** Cancel an anonymously scheduled task. */ cancel: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -2006,12 +3636,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, u32] >; - /** See [`Pallet::cancel_named`]. */ + /** Cancel a named scheduled task. */ cancelNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** See [`Pallet::schedule`]. */ + /** Removes the retry configuration of a task. */ + cancelRetry: AugmentedSubmittable< + ( + task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] + ) => SubmittableExtrinsic, + [ITuple<[u32, u32]>] + >; + /** Cancel the retry configuration of a named task. */ + cancelRetryNamed: AugmentedSubmittable< + (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, + [U8aFixed] + >; + /** Anonymously schedule a task. */ schedule: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -2026,7 +3668,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** See [`Pallet::schedule_after`]. */ + /** Anonymously schedule a task after a delay. */ scheduleAfter: AugmentedSubmittable< ( after: u32 | AnyNumber | Uint8Array, @@ -2041,7 +3683,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** See [`Pallet::schedule_named`]. */ + /** Schedule a named task. */ scheduleNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -2057,7 +3699,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; - /** See [`Pallet::schedule_named_after`]. */ + /** Schedule a named task after a delay. */ scheduleNamedAfter: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -2073,26 +3715,93 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; + /** + * Set a retry configuration for a task so that, in case its scheduled run fails, it will be + * retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * + * Tasks which need to be scheduled for a retry are still subject to weight metering and + * agenda space, same as a regular task. If a periodic task fails, it will be scheduled + * normally while the task is retrying. + * + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones + * of the original task. Their retry configuration will be derived from the original task's + * configuration, but will have a lower value for `remaining` than the original `total_retries`. + */ + setRetry: AugmentedSubmittable< + ( + task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], + retries: u8 | AnyNumber | Uint8Array, + period: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [ITuple<[u32, u32]>, u8, u32] + >; + /** + * Set a retry configuration for a named task so that, in case its scheduled run fails, it + * will be retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * + * Tasks which need to be scheduled for a retry are still subject to weight metering and + * agenda space, same as a regular task. If a periodic task fails, it will be scheduled + * normally while the task is retrying. + * + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones + * of the original task. Their retry configuration will be derived from the original task's + * configuration, but will have a lower value for `remaining` than the original `total_retries`. + */ + setRetryNamed: AugmentedSubmittable< + ( + id: U8aFixed | string | Uint8Array, + retries: u8 | AnyNumber | Uint8Array, + period: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [U8aFixed, u8, u32] + >; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; system: { - /** See [`Pallet::apply_authorized_upgrade`]. */ + /** + * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. + * + * If the authorization required a version check, this call will ensure the spec name remains + * unchanged and that the spec version has increased. + * + * Depending on the runtime's `OnSetCode` configuration, this function may directly apply the + * new `code` in the same block or attempt to schedule the upgrade. + * + * All origins are allowed. + */ applyAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::authorize_upgrade`]. */ + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * + * This call requires Root origin. + */ authorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::authorize_upgrade_without_checks`]. */ + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * + * WARNING: This authorizes an upgrade that will take place without any safety checks, for + * example that the spec name remains the same and that the version number increases. Not + * recommended for normal use. Use `authorize_upgrade` instead. + * + * This call requires Root origin. + */ authorizeUpgradeWithoutChecks: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::kill_prefix`]. */ + /** + * Kill all storage items with a key that starts with the given prefix. + * + * **NOTE:** We rely on the Root origin to provide us the number of subkeys under the prefix + * we are removing to accurately calculate the weight of this function. + */ killPrefix: AugmentedSubmittable< ( prefix: Bytes | string | Uint8Array, @@ -2100,37 +3809,45 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Bytes, u32] >; - /** See [`Pallet::kill_storage`]. */ + /** Kill some items from storage. */ killStorage: AugmentedSubmittable< (keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::remark`]. */ + /** + * Make some on-chain remark. + * + * Can be executed by every `origin`. + */ remark: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::remark_with_event`]. */ + /** Make some on-chain remark and emit event. */ remarkWithEvent: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_code`]. */ + /** Set the new runtime code. */ setCode: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_code_without_checks`]. */ + /** + * Set the new runtime code without doing any checks of the given `code`. + * + * Note that runtime upgrades will not run if this is called with a not-increasing spec version! + */ setCodeWithoutChecks: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_heap_pages`]. */ + /** Set the number of pages in the WebAssembly environment's heap. */ setHeapPages: AugmentedSubmittable< (pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64] >; - /** See [`Pallet::set_storage`]. */ + /** Set some items of storage. */ setStorage: AugmentedSubmittable< ( items: @@ -2143,7 +3860,27 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; timestamp: { - /** See [`Pallet::set`]. */ + /** + * Set the current time. + * + * This call should be invoked exactly once per block. It will panic at the finalization + * phase, if this call hasn't been invoked by that time. + * + * The timestamp should be greater than the previous one by the amount specified by + * [`Config::MinimumPeriod`]. + * + * The dispatch origin for this call must be _None_. + * + * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware that + * changing the complexity of this call could result exhausting the resources in a block to + * execute any other calls. + * + * ## Complexity + * + * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) + * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in `on_finalize`) + * - 1 event handler `on_timestamp_set`. Must be `O(1)`. + */ set: AugmentedSubmittable< (now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -2152,22 +3889,102 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; treasury: { - /** See [`Pallet::approve_proposal`]. */ + /** + * Approve a proposal. + * + * ## Dispatch Origin + * + * Must be [`Config::ApproveOrigin`]. + * + * ## Details + * + * At a later time, the proposal will be allocated to the beneficiary and the original deposit + * will be returned. + * + * ### Complexity + * + * - O(1). + * + * ## Events + * + * No events are emitted from this dispatch. + */ approveProposal: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::check_status`]. */ + /** + * Check the status of the spend and remove it from the storage if processed. + * + * ## Dispatch Origin + * + * Must be signed. + * + * ## Details + * + * The status check is a prerequisite for retrying a failed payout. If a spend has either + * succeeded or expired, it is removed from the storage by this function. In such instances, + * transaction fees are refunded. + * + * ### Parameters + * + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::PaymentFailed`] if the spend payout has failed. Emits + * [`Event::SpendProcessed`] if the spend payout has succeed. + */ checkStatus: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::payout`]. */ + /** + * Claim a spend. + * + * ## Dispatch Origin + * + * Must be signed. + * + * ## Details + * + * Spends must be claimed within some temporal bounds. A spend may be claimed within one + * [`Config::PayoutPeriod`] from the `valid_from` block. In case of a payout failure, the + * spend status must be updated with the `check_status` dispatchable before retrying with the + * current function. + * + * ### Parameters + * + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::Paid`] if successful. + */ payout: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::propose_spend`]. */ + /** + * Put forward a suggestion for spending. + * + * ## Dispatch Origin + * + * Must be signed. + * + * ## Details + * + * A deposit proportional to the value is reserved and slashed if the proposal is rejected. It + * is returned once the proposal is awarded. + * + * ### Complexity + * + * - O(1) + * + * ## Events + * + * Emits [`Event::Proposed`] if successful. + */ proposeSpend: AugmentedSubmittable< ( value: Compact | AnyNumber | Uint8Array, @@ -2175,17 +3992,86 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::reject_proposal`]. */ + /** + * Reject a proposed spend. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * The original deposit will be slashed. + * + * ### Complexity + * + * - O(1) + * + * ## Events + * + * Emits [`Event::Rejected`] if successful. + */ rejectProposal: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::remove_approval`]. */ + /** + * Force a previously approved proposal to be removed from the approval queue. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * The original deposit will no longer be returned. + * + * ### Parameters + * + * - `proposal_id`: The index of a proposal + * + * ### Complexity + * + * - O(A) where `A` is the number of approvals + * + * ### Errors + * + * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the approval + * queue, i.e., the proposal has not been approved. This could also mean the proposal does + * not exist altogether, thus there is no way it would have been approved in the first place. + */ removeApproval: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::spend`]. */ + /** + * Propose and approve a spend of treasury funds. + * + * ## Dispatch Origin + * + * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount` of + * `asset_kind` in the native asset. The amount of `asset_kind` is converted for assertion + * using the [`Config::BalanceConverter`]. + * + * ## Details + * + * Create an approved spend for transferring a specific `amount` of `asset_kind` to a + * designated beneficiary. The spend must be claimed using the `payout` dispatchable within + * the [`Config::PayoutPeriod`]. + * + * ### Parameters + * + * - `asset_kind`: An indicator of the specific asset class to be spent. + * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. + * - `beneficiary`: The beneficiary of the spend. + * - `valid_from`: The block number from which the spend can be claimed. It can refer to the + * past if the resulting spend has not yet expired according to the + * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after approval. + * + * ## Events + * + * Emits [`Event::AssetSpendApproved`] if successful. + */ spend: AugmentedSubmittable< ( assetKind: Null | null, @@ -2195,7 +4081,26 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Null, Compact, AccountId20, Option] >; - /** See [`Pallet::spend_local`]. */ + /** + * Propose and approve a spend of treasury funds. + * + * ## Dispatch Origin + * + * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. + * + * ### Details + * + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary. + * + * ### Parameters + * + * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. + * - `beneficiary`: The destination account for the transfer. + * + * ## Events + * + * Emits [`Event::SpendApproved`] if successful. + */ spendLocal: AugmentedSubmittable< ( amount: Compact | AnyNumber | Uint8Array, @@ -2203,7 +4108,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::void_spend`]. */ + /** + * Void previously approved spend. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * A spend void is only possible if the payout has not been attempted yet. + * + * ### Parameters + * + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::AssetSpendVoided`] if successful. + */ voidSpend: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -2212,7 +4135,32 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; treasuryCouncilCollective: { - /** See [`Pallet::close`]. */ + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is has + * enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections unless + * there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will be + * waived. Otherwise execution of the approved operation will be charged to the caller. + * + * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. + * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * ## Complexity + * + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + */ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -2226,12 +4174,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact] >; - /** See [`Pallet::disapprove_proposal`]. */ + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * + * Must be called by the Root origin. + * + * Parameters: + * + * - `proposal_hash`: The hash of the proposal that should be disapproved. + * + * ## Complexity + * + * O(P) where P is the number of max proposals + */ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::execute`]. */ + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * ## Complexity: + * + * - `O(B + M + P)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` members-count (code-bounded) + * - `P` complexity of dispatching `proposal` + */ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -2239,7 +4210,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, Compact] >; - /** See [`Pallet::propose`]. */ + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up + * for voting. + * + * ## Complexity + * + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - Branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + */ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -2248,7 +4235,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Call, Compact] >; - /** See [`Pallet::set_members`]. */ + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for weight + * estimation. + * + * The dispatch of this call must be `SetMembersOrigin`. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the + * weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful + * that the member set doesn't get out of sync with other logic managing the member set. + * + * ## Complexity: + * + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + */ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -2257,7 +4269,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, Option, u32] >; - /** See [`Pallet::vote`]. */ + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal for the + * first time and the call is successful. Subsequent vote changes will charge a fee. + * + * ## Complexity + * + * - `O(M)` where `M` is members-count (code- and governance-bounded) + */ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -2270,7 +4293,21 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; utility: { - /** See [`Pallet::as_derivative`]. */ + /** + * Send a call through an indexed pseudonym of the sender. + * + * Filter from origin are passed along. The call will be dispatched with an origin which use + * the same filter as the origin of this call. + * + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. because + * you expect `proxy` to have been used prior in the call stack and you do not want the call + * restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` in the Multisig + * pallet instead. + * + * NOTE: Prior to version *12, this was called `as_limited_sub`. + * + * The dispatch origin for this call must be _Signed_. + */ asDerivative: AugmentedSubmittable< ( index: u16 | AnyNumber | Uint8Array, @@ -2278,21 +4315,63 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Call] >; - /** See [`Pallet::batch`]. */ + /** + * Send a batch of dispatch calls. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatched without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * + * - O(C) where C is the number of calls to be batched. + * + * This will return `Ok` in all circumstances. To determine the success of the batch, an event + * is deposited. If a call failed and the batch was interrupted, then the `BatchInterrupted` + * event is deposited, along with the number of successful calls made and the error of the + * failed call. If all were successful, then the `BatchCompleted` event is deposited. + */ batch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::batch_all`]. */ + /** + * Send a batch of dispatch calls and atomically execute them. The whole transaction will + * rollback and fail if any of the calls failed. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatched without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * + * - O(C) where C is the number of calls to be batched. + */ batchAll: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::dispatch_as`]. */ + /** + * Dispatches a function call with a provided origin. + * + * The dispatch origin for this call must be _Root_. + * + * ## Complexity + * + * - O(1). + */ dispatchAs: AugmentedSubmittable< ( asOrigin: @@ -2312,14 +4391,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbeamRuntimeOriginCaller, Call] >; - /** See [`Pallet::force_batch`]. */ + /** + * Send a batch of dispatch calls. Unlike `batch`, it allows errors and won't interrupt. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatch without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * + * - O(C) where C is the number of calls to be batched. + */ forceBatch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::with_weight`]. */ + /** + * Dispatch a function call with a specified weight. + * + * This function does not check the weight of the call, and instead allows the Root origin to + * specify the weight of the call. + * + * The dispatch origin for this call must be _Root_. + */ withWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -2331,7 +4431,6 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; whitelist: { - /** See [`Pallet::dispatch_whitelisted_call`]. */ dispatchWhitelistedCall: AugmentedSubmittable< ( callHash: H256 | string | Uint8Array, @@ -2344,17 +4443,14 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, u32, SpWeightsWeightV2Weight] >; - /** See [`Pallet::dispatch_whitelisted_call_with_preimage`]. */ dispatchWhitelistedCallWithPreimage: AugmentedSubmittable< (call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call] >; - /** See [`Pallet::remove_whitelisted_call`]. */ removeWhitelistedCall: AugmentedSubmittable< (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::whitelist_call`]. */ whitelistCall: AugmentedSubmittable< (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -2363,12 +4459,15 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; xcmTransactor: { - /** See [`Pallet::deregister`]. */ + /** + * De-Register a derivative index. This prevents an account to use a derivative address + * (represented by an index) from our of our sovereign accounts anymore + */ deregister: AugmentedSubmittable< (index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** See [`Pallet::hrmp_manage`]. */ + /** Manage HRMP operations */ hrmpManage: AugmentedSubmittable< ( action: @@ -2396,7 +4495,15 @@ declare module "@polkadot/api-base/types/submittable" { PalletXcmTransactorTransactWeights ] >; - /** See [`Pallet::register`]. */ + /** + * Register a derivative index for an account id. Dispatchable by DerivativeAddressRegistrationOrigin + * + * We do not store the derivative address, but only the index. We do not need to store the + * derivative address to issue calls, only the index is enough + * + * For now an index is registered for all possible destinations and not per-destination. We + * can change this in the future although it would just make things more complicated + */ register: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -2404,7 +4511,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16] >; - /** See [`Pallet::remove_fee_per_second`]. */ + /** Remove the fee per second of an asset on its reserve chain */ removeFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -2417,7 +4524,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::remove_transact_info`]. */ + /** Remove the transact info of a location */ removeTransactInfo: AugmentedSubmittable< ( location: @@ -2430,7 +4537,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::set_fee_per_second`]. */ + /** Set the fee per second of an asset on its reserve chain */ setFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -2444,7 +4551,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, u128] >; - /** See [`Pallet::set_transact_info`]. */ + /** Change the transact info of a location */ setTransactInfo: AugmentedSubmittable< ( location: @@ -2479,7 +4586,13 @@ declare module "@polkadot/api-base/types/submittable" { Option ] >; - /** See [`Pallet::transact_through_derivative`]. */ + /** + * Transact the inner call through a derivative account in a destination chain, using + * 'fee_location' to pay for the fees. This fee_location is given as a multilocation + * + * The caller needs to have the index registered in this pallet. The fee multiasset needs to + * be a reserve asset for the destination transactor::multilocation. + */ transactThroughDerivative: AugmentedSubmittable< ( dest: MoonbeamRuntimeXcmConfigTransactors | "Relay" | number | Uint8Array, @@ -2506,7 +4619,13 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::transact_through_signed`]. */ + /** + * Transact the call through the a signed origin in this chain that should be converted to a + * transaction dispatch account in the destination chain by any method implemented in the + * destination chains runtime + * + * This time we are giving the currency as a currencyId instead of multilocation + */ transactThroughSigned: AugmentedSubmittable< ( dest: @@ -2537,7 +4656,11 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::transact_through_sovereign`]. */ + /** + * Transact the call through the sovereign account in a destination chain, 'fee_payer' pays for the fee + * + * SovereignAccountDispatcherOrigin callable only + */ transactThroughSovereign: AugmentedSubmittable< ( dest: @@ -2583,7 +4706,18 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; xTokens: { - /** See [`Pallet::transfer`]. */ + /** + * Transfer native currencies. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transfer: AugmentedSubmittable< ( currencyId: @@ -2610,7 +4744,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbeamRuntimeXcmConfigCurrencyId, u128, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multiasset`]. */ + /** + * Transfer `Asset`. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMultiasset: AugmentedSubmittable< ( asset: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2630,7 +4775,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedAsset, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multiassets`]. */ + /** + * Transfer several `Asset` specifying the item to be used as fee + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee_item` is index of the Assets that we want to use for payment + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMultiassets: AugmentedSubmittable< ( assets: @@ -2657,7 +4815,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedAssets, u32, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multiasset_with_fee`]. */ + /** + * Transfer `Asset` specifying the fee and amount as separate. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee` is the Asset to be spent to pay for execution in destination chain. Both fee and + * amount will be subtracted form the callers balance For now we only accept fee and asset + * having the same `Location` id. + * + * If `fee` is not high enough to cover for the execution costs in the destination chain, then + * the assets will be trapped in the destination chain + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMultiassetWithFee: AugmentedSubmittable< ( asset: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2678,7 +4854,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedAsset, XcmVersionedAsset, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multicurrencies`]. */ + /** + * Transfer several currencies specifying the item to be used as fee + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee_item` is index of the currencies tuple that we want to use for payment + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMulticurrencies: AugmentedSubmittable< ( currencies: @@ -2716,7 +4905,24 @@ declare module "@polkadot/api-base/types/submittable" { XcmV3WeightLimit ] >; - /** See [`Pallet::transfer_with_fee`]. */ + /** + * Transfer native currencies specifying the fee and amount as separate. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee` is the amount to be spent to pay for execution in destination chain. Both fee and + * amount will be subtracted form the callers balance. + * + * If `fee` is not high enough to cover for the execution costs in the destination chain, then + * the assets will be trapped in the destination chain + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferWithFee: AugmentedSubmittable< ( currencyId: diff --git a/typescript-api/src/moonbeam/interfaces/lookup.ts b/typescript-api/src/moonbeam/interfaces/lookup.ts index 3630450451..66a18e8065 100644 --- a/typescript-api/src/moonbeam/interfaces/lookup.ts +++ b/typescript-api/src/moonbeam/interfaces/lookup.ts @@ -19,22 +19,22 @@ export default { frozen: "u128", flags: "u128", }, - /** Lookup8: frame_support::dispatch::PerDispatchClass */ + /** Lookup9: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassWeight: { normal: "SpWeightsWeightV2Weight", operational: "SpWeightsWeightV2Weight", mandatory: "SpWeightsWeightV2Weight", }, - /** Lookup9: sp_weights::weight_v2::Weight */ + /** Lookup10: sp_weights::weight_v2::Weight */ SpWeightsWeightV2Weight: { refTime: "Compact", proofSize: "Compact", }, - /** Lookup15: sp_runtime::generic::digest::Digest */ + /** Lookup16: sp_runtime::generic::digest::Digest */ SpRuntimeDigest: { logs: "Vec", }, - /** Lookup17: sp_runtime::generic::digest::DigestItem */ + /** Lookup18: sp_runtime::generic::digest::DigestItem */ SpRuntimeDigestDigestItem: { _enum: { Other: "Bytes", @@ -48,13 +48,13 @@ export default { RuntimeEnvironmentUpdated: "Null", }, }, - /** Lookup20: frame_system::EventRecord */ + /** Lookup21: frame_system::EventRecord */ FrameSystemEventRecord: { phase: "FrameSystemPhase", event: "Event", topics: "Vec", }, - /** Lookup22: frame_system::pallet::Event */ + /** Lookup23: frame_system::pallet::Event */ FrameSystemEvent: { _enum: { ExtrinsicSuccess: { @@ -84,21 +84,21 @@ export default { }, }, }, - /** Lookup23: frame_support::dispatch::DispatchInfo */ + /** Lookup24: frame_support::dispatch::DispatchInfo */ FrameSupportDispatchDispatchInfo: { weight: "SpWeightsWeightV2Weight", class: "FrameSupportDispatchDispatchClass", paysFee: "FrameSupportDispatchPays", }, - /** Lookup24: frame_support::dispatch::DispatchClass */ + /** Lookup25: frame_support::dispatch::DispatchClass */ FrameSupportDispatchDispatchClass: { _enum: ["Normal", "Operational", "Mandatory"], }, - /** Lookup25: frame_support::dispatch::Pays */ + /** Lookup26: frame_support::dispatch::Pays */ FrameSupportDispatchPays: { _enum: ["Yes", "No"], }, - /** Lookup26: sp_runtime::DispatchError */ + /** Lookup27: sp_runtime::DispatchError */ SpRuntimeDispatchError: { _enum: { Other: "Null", @@ -117,12 +117,12 @@ export default { RootNotAllowed: "Null", }, }, - /** Lookup27: sp_runtime::ModuleError */ + /** Lookup28: sp_runtime::ModuleError */ SpRuntimeModuleError: { index: "u8", error: "[u8;4]", }, - /** Lookup28: sp_runtime::TokenError */ + /** Lookup29: sp_runtime::TokenError */ SpRuntimeTokenError: { _enum: [ "FundsUnavailable", @@ -137,11 +137,11 @@ export default { "Blocked", ], }, - /** Lookup29: sp_arithmetic::ArithmeticError */ + /** Lookup30: sp_arithmetic::ArithmeticError */ SpArithmeticArithmeticError: { _enum: ["Underflow", "Overflow", "DivisionByZero"], }, - /** Lookup30: sp_runtime::TransactionalError */ + /** Lookup31: sp_runtime::TransactionalError */ SpRuntimeTransactionalError: { _enum: ["LimitReached", "NoLayer"], }, @@ -528,12 +528,10 @@ export default { }, }, /** Lookup47: nimbus_primitives::nimbus_crypto::Public */ - NimbusPrimitivesNimbusCryptoPublic: "SpCoreSr25519Public", - /** Lookup48: sp_core::sr25519::Public */ - SpCoreSr25519Public: "[u8;32]", - /** Lookup49: session_keys_primitives::vrf::vrf_crypto::Public */ - SessionKeysPrimitivesVrfVrfCryptoPublic: "SpCoreSr25519Public", - /** Lookup50: pallet_moonbeam_orbiters::pallet::Event */ + NimbusPrimitivesNimbusCryptoPublic: "[u8;32]", + /** Lookup48: session_keys_primitives::vrf::vrf_crypto::Public */ + SessionKeysPrimitivesVrfVrfCryptoPublic: "[u8;32]", + /** Lookup49: pallet_moonbeam_orbiters::pallet::Event */ PalletMoonbeamOrbitersEvent: { _enum: { OrbiterJoinCollatorPool: { @@ -562,7 +560,7 @@ export default { }, }, }, - /** Lookup52: pallet_utility::pallet::Event */ + /** Lookup51: pallet_utility::pallet::Event */ PalletUtilityEvent: { _enum: { BatchInterrupted: { @@ -580,7 +578,7 @@ export default { }, }, }, - /** Lookup55: pallet_proxy::pallet::Event */ + /** Lookup54: pallet_proxy::pallet::Event */ PalletProxyEvent: { _enum: { ProxyExecuted: { @@ -611,7 +609,7 @@ export default { }, }, }, - /** Lookup56: moonbeam_runtime::ProxyType */ + /** Lookup55: moonbeam_runtime::ProxyType */ MoonbeamRuntimeProxyType: { _enum: [ "Any", @@ -624,7 +622,7 @@ export default { "IdentityJudgement", ], }, - /** Lookup58: pallet_maintenance_mode::pallet::Event */ + /** Lookup57: pallet_maintenance_mode::pallet::Event */ PalletMaintenanceModeEvent: { _enum: { EnteredMaintenanceMode: "Null", @@ -637,7 +635,7 @@ export default { }, }, }, - /** Lookup59: pallet_identity::pallet::Event */ + /** Lookup58: pallet_identity::pallet::Event */ PalletIdentityEvent: { _enum: { IdentitySet: { @@ -709,7 +707,7 @@ export default { }, }, }, - /** Lookup61: pallet_migrations::pallet::Event */ + /** Lookup60: pallet_migrations::pallet::Event */ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", @@ -731,7 +729,7 @@ export default { }, }, }, - /** Lookup62: pallet_multisig::pallet::Event */ + /** Lookup61: pallet_multisig::pallet::Event */ PalletMultisigEvent: { _enum: { NewMultisig: { @@ -760,12 +758,12 @@ export default { }, }, }, - /** Lookup63: pallet_multisig::Timepoint */ + /** Lookup62: pallet_multisig::Timepoint */ PalletMultisigTimepoint: { height: "u32", index: "u32", }, - /** Lookup64: pallet_evm::pallet::Event */ + /** Lookup63: pallet_evm::pallet::Event */ PalletEvmEvent: { _enum: { Log: { @@ -785,13 +783,13 @@ export default { }, }, }, - /** Lookup65: ethereum::log::Log */ + /** Lookup64: ethereum::log::Log */ EthereumLog: { address: "H160", topics: "Vec", data: "Bytes", }, - /** Lookup68: pallet_ethereum::pallet::Event */ + /** Lookup67: pallet_ethereum::pallet::Event */ PalletEthereumEvent: { _enum: { Executed: { @@ -803,7 +801,7 @@ export default { }, }, }, - /** Lookup69: evm_core::error::ExitReason */ + /** Lookup68: evm_core::error::ExitReason */ EvmCoreErrorExitReason: { _enum: { Succeed: "EvmCoreErrorExitSucceed", @@ -812,11 +810,11 @@ export default { Fatal: "EvmCoreErrorExitFatal", }, }, - /** Lookup70: evm_core::error::ExitSucceed */ + /** Lookup69: evm_core::error::ExitSucceed */ EvmCoreErrorExitSucceed: { _enum: ["Stopped", "Returned", "Suicided"], }, - /** Lookup71: evm_core::error::ExitError */ + /** Lookup70: evm_core::error::ExitError */ EvmCoreErrorExitError: { _enum: { StackUnderflow: "Null", @@ -837,11 +835,11 @@ export default { InvalidCode: "u8", }, }, - /** Lookup75: evm_core::error::ExitRevert */ + /** Lookup74: evm_core::error::ExitRevert */ EvmCoreErrorExitRevert: { _enum: ["Reverted"], }, - /** Lookup76: evm_core::error::ExitFatal */ + /** Lookup75: evm_core::error::ExitFatal */ EvmCoreErrorExitFatal: { _enum: { NotSupported: "Null", @@ -850,7 +848,7 @@ export default { Other: "Text", }, }, - /** Lookup77: pallet_scheduler::pallet::Event */ + /** Lookup76: pallet_scheduler::pallet::Event */ PalletSchedulerEvent: { _enum: { Scheduled: { @@ -866,6 +864,16 @@ export default { id: "Option<[u8;32]>", result: "Result", }, + RetrySet: { + task: "(u32,u32)", + id: "Option<[u8;32]>", + period: "u32", + retries: "u8", + }, + RetryCancelled: { + task: "(u32,u32)", + id: "Option<[u8;32]>", + }, CallUnavailable: { task: "(u32,u32)", id: "Option<[u8;32]>", @@ -874,13 +882,17 @@ export default { task: "(u32,u32)", id: "Option<[u8;32]>", }, + RetryFailed: { + task: "(u32,u32)", + id: "Option<[u8;32]>", + }, PermanentlyOverweight: { task: "(u32,u32)", id: "Option<[u8;32]>", }, }, }, - /** Lookup79: pallet_preimage::pallet::Event */ + /** Lookup78: pallet_preimage::pallet::Event */ PalletPreimageEvent: { _enum: { Noted: { @@ -903,14 +915,14 @@ export default { }, }, }, - /** Lookup80: pallet_conviction_voting::pallet::Event */ + /** Lookup79: pallet_conviction_voting::pallet::Event */ PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", Undelegated: "AccountId20", }, }, - /** Lookup81: pallet_referenda::pallet::Event */ + /** Lookup80: pallet_referenda::pallet::Event */ PalletReferendaEvent: { _enum: { Submitted: { @@ -989,7 +1001,7 @@ export default { }, }, /** - * Lookup82: frame_support::traits::preimages::Bounded */ FrameSupportPreimagesBounded: { @@ -1010,7 +1022,7 @@ export default { }, }, }, - /** Lookup84: frame_system::pallet::Call */ + /** Lookup83: frame_system::pallet::Call */ FrameSystemCall: { _enum: { remark: { @@ -1053,7 +1065,7 @@ export default { }, }, }, - /** Lookup88: cumulus_pallet_parachain_system::pallet::Call */ + /** Lookup87: cumulus_pallet_parachain_system::pallet::Call */ CumulusPalletParachainSystemCall: { _enum: { set_validation_data: { @@ -1071,35 +1083,35 @@ export default { }, }, }, - /** Lookup89: cumulus_primitives_parachain_inherent::ParachainInherentData */ + /** Lookup88: cumulus_primitives_parachain_inherent::ParachainInherentData */ CumulusPrimitivesParachainInherentParachainInherentData: { - validationData: "PolkadotPrimitivesV6PersistedValidationData", + validationData: "PolkadotPrimitivesV7PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", horizontalMessages: "BTreeMap>", }, - /** Lookup90: polkadot_primitives::v6::PersistedValidationData */ - PolkadotPrimitivesV6PersistedValidationData: { + /** Lookup89: polkadot_primitives::v7::PersistedValidationData */ + PolkadotPrimitivesV7PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", maxPovSize: "u32", }, - /** Lookup92: sp_trie::storage_proof::StorageProof */ + /** Lookup91: sp_trie::storage_proof::StorageProof */ SpTrieStorageProof: { trieNodes: "BTreeSet", }, - /** Lookup95: polkadot_core_primitives::InboundDownwardMessage */ + /** Lookup94: polkadot_core_primitives::InboundDownwardMessage */ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", msg: "Bytes", }, - /** Lookup99: polkadot_core_primitives::InboundHrmpMessage */ + /** Lookup98: polkadot_core_primitives::InboundHrmpMessage */ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", data: "Bytes", }, - /** Lookup102: pallet_timestamp::pallet::Call */ + /** Lookup101: pallet_timestamp::pallet::Call */ PalletTimestampCall: { _enum: { set: { @@ -1107,7 +1119,7 @@ export default { }, }, }, - /** Lookup103: pallet_root_testing::pallet::Call */ + /** Lookup102: pallet_root_testing::pallet::Call */ PalletRootTestingCall: { _enum: { fill_block: { @@ -1116,7 +1128,7 @@ export default { trigger_defensive: "Null", }, }, - /** Lookup104: pallet_balances::pallet::Call */ + /** Lookup103: pallet_balances::pallet::Call */ PalletBalancesCall: { _enum: { transfer_allow_death: { @@ -1155,11 +1167,11 @@ export default { }, }, }, - /** Lookup107: pallet_balances::types::AdjustmentDirection */ + /** Lookup106: pallet_balances::types::AdjustmentDirection */ PalletBalancesAdjustmentDirection: { _enum: ["Increase", "Decrease"], }, - /** Lookup108: pallet_parachain_staking::pallet::Call */ + /** Lookup107: pallet_parachain_staking::pallet::Call */ PalletParachainStakingCall: { _enum: { set_staking_expectations: { @@ -1289,11 +1301,11 @@ export default { }, }, }, - /** Lookup111: pallet_author_inherent::pallet::Call */ + /** Lookup110: pallet_author_inherent::pallet::Call */ PalletAuthorInherentCall: { _enum: ["kick_off_authorship_validation"], }, - /** Lookup112: pallet_author_slot_filter::pallet::Call */ + /** Lookup111: pallet_author_slot_filter::pallet::Call */ PalletAuthorSlotFilterCall: { _enum: { set_eligible: { @@ -1304,7 +1316,7 @@ export default { }, }, }, - /** Lookup113: pallet_author_mapping::pallet::Call */ + /** Lookup112: pallet_author_mapping::pallet::Call */ PalletAuthorMappingCall: { _enum: { add_association: { @@ -1326,7 +1338,7 @@ export default { }, }, }, - /** Lookup114: pallet_moonbeam_orbiters::pallet::Call */ + /** Lookup113: pallet_moonbeam_orbiters::pallet::Call */ PalletMoonbeamOrbitersCall: { _enum: { collator_add_orbiter: { @@ -1350,7 +1362,7 @@ export default { }, }, }, - /** Lookup115: pallet_utility::pallet::Call */ + /** Lookup114: pallet_utility::pallet::Call */ PalletUtilityCall: { _enum: { batch: { @@ -1376,7 +1388,7 @@ export default { }, }, }, - /** Lookup117: moonbeam_runtime::OriginCaller */ + /** Lookup116: moonbeam_runtime::OriginCaller */ MoonbeamRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -1491,7 +1503,7 @@ export default { EthereumXcm: "PalletEthereumXcmRawOrigin", }, }, - /** Lookup118: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ + /** Lookup117: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", @@ -1499,13 +1511,13 @@ export default { None: "Null", }, }, - /** Lookup119: pallet_ethereum::RawOrigin */ + /** Lookup118: pallet_ethereum::RawOrigin */ PalletEthereumRawOrigin: { _enum: { EthereumTransaction: "H160", }, }, - /** Lookup120: moonbeam_runtime::governance::origins::custom_origins::Origin */ + /** Lookup119: moonbeam_runtime::governance::origins::custom_origins::Origin */ MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ "WhitelistedCaller", @@ -1515,7 +1527,7 @@ export default { "FastGeneralAdmin", ], }, - /** Lookup121: pallet_collective::RawOrigin */ + /** Lookup120: pallet_collective::RawOrigin */ PalletCollectiveRawOrigin: { _enum: { Members: "(u32,u32)", @@ -1523,40 +1535,40 @@ export default { _Phantom: "Null", }, }, - /** Lookup123: cumulus_pallet_xcm::pallet::Origin */ + /** Lookup122: cumulus_pallet_xcm::pallet::Origin */ CumulusPalletXcmOrigin: { _enum: { Relay: "Null", SiblingParachain: "u32", }, }, - /** Lookup124: pallet_xcm::pallet::Origin */ + /** Lookup123: pallet_xcm::pallet::Origin */ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV4Location", Response: "StagingXcmV4Location", }, }, - /** Lookup125: staging_xcm::v4::location::Location */ + /** Lookup124: staging_xcm::v4::location::Location */ StagingXcmV4Location: { parents: "u8", interior: "StagingXcmV4Junctions", }, - /** Lookup126: staging_xcm::v4::junctions::Junctions */ + /** Lookup125: staging_xcm::v4::junctions::Junctions */ StagingXcmV4Junctions: { _enum: { Here: "Null", - X1: "[Lookup128;1]", - X2: "[Lookup128;2]", - X3: "[Lookup128;3]", - X4: "[Lookup128;4]", - X5: "[Lookup128;5]", - X6: "[Lookup128;6]", - X7: "[Lookup128;7]", - X8: "[Lookup128;8]", + X1: "[Lookup127;1]", + X2: "[Lookup127;2]", + X3: "[Lookup127;3]", + X4: "[Lookup127;4]", + X5: "[Lookup127;5]", + X6: "[Lookup127;6]", + X7: "[Lookup127;7]", + X8: "[Lookup127;8]", }, }, - /** Lookup128: staging_xcm::v4::junction::Junction */ + /** Lookup127: staging_xcm::v4::junction::Junction */ StagingXcmV4Junction: { _enum: { Parachain: "Compact", @@ -1586,7 +1598,7 @@ export default { GlobalConsensus: "StagingXcmV4JunctionNetworkId", }, }, - /** Lookup131: staging_xcm::v4::junction::NetworkId */ + /** Lookup130: staging_xcm::v4::junction::NetworkId */ StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", @@ -1607,7 +1619,7 @@ export default { PolkadotBulletin: "Null", }, }, - /** Lookup132: xcm::v3::junction::BodyId */ + /** Lookup131: xcm::v3::junction::BodyId */ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1622,7 +1634,7 @@ export default { Treasury: "Null", }, }, - /** Lookup133: xcm::v3::junction::BodyPart */ + /** Lookup132: xcm::v3::junction::BodyPart */ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", @@ -1643,15 +1655,15 @@ export default { }, }, }, - /** Lookup141: pallet_ethereum_xcm::RawOrigin */ + /** Lookup140: pallet_ethereum_xcm::RawOrigin */ PalletEthereumXcmRawOrigin: { _enum: { XcmEthereumTransaction: "H160", }, }, - /** Lookup142: sp_core::Void */ + /** Lookup141: sp_core::Void */ SpCoreVoid: "Null", - /** Lookup143: pallet_proxy::pallet::Call */ + /** Lookup142: pallet_proxy::pallet::Call */ PalletProxyCall: { _enum: { proxy: { @@ -1702,11 +1714,11 @@ export default { }, }, }, - /** Lookup145: pallet_maintenance_mode::pallet::Call */ + /** Lookup144: pallet_maintenance_mode::pallet::Call */ PalletMaintenanceModeCall: { _enum: ["enter_maintenance_mode", "resume_normal_operation"], }, - /** Lookup146: pallet_identity::pallet::Call */ + /** Lookup145: pallet_identity::pallet::Call */ PalletIdentityCall: { _enum: { add_registrar: { @@ -1789,7 +1801,7 @@ export default { }, }, }, - /** Lookup147: pallet_identity::legacy::IdentityInfo */ + /** Lookup146: pallet_identity::legacy::IdentityInfo */ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", display: "Data", @@ -1801,7 +1813,7 @@ export default { image: "Data", twitter: "Data", }, - /** Lookup185: pallet_identity::types::Judgement */ + /** Lookup184: pallet_identity::types::Judgement */ PalletIdentityJudgement: { _enum: { Unknown: "Null", @@ -1813,11 +1825,9 @@ export default { Erroneous: "Null", }, }, - /** Lookup187: account::EthereumSignature */ - AccountEthereumSignature: "SpCoreEcdsaSignature", - /** Lookup188: sp_core::ecdsa::Signature */ - SpCoreEcdsaSignature: "[u8;65]", - /** Lookup190: pallet_multisig::pallet::Call */ + /** Lookup186: account::EthereumSignature */ + AccountEthereumSignature: "[u8;65]", + /** Lookup188: pallet_multisig::pallet::Call */ PalletMultisigCall: { _enum: { as_multi_threshold_1: { @@ -1846,7 +1856,7 @@ export default { }, }, }, - /** Lookup192: pallet_moonbeam_lazy_migrations::pallet::Call */ + /** Lookup190: pallet_moonbeam_lazy_migrations::pallet::Call */ PalletMoonbeamLazyMigrationsCall: { _enum: { __Unused0: "Null", @@ -1856,7 +1866,7 @@ export default { }, }, }, - /** Lookup195: pallet_evm::pallet::Call */ + /** Lookup193: pallet_evm::pallet::Call */ PalletEvmCall: { _enum: { withdraw: { @@ -1897,7 +1907,7 @@ export default { }, }, }, - /** Lookup201: pallet_ethereum::pallet::Call */ + /** Lookup199: pallet_ethereum::pallet::Call */ PalletEthereumCall: { _enum: { transact: { @@ -1905,7 +1915,7 @@ export default { }, }, }, - /** Lookup202: ethereum::transaction::TransactionV2 */ + /** Lookup200: ethereum::transaction::TransactionV2 */ EthereumTransactionTransactionV2: { _enum: { Legacy: "EthereumTransactionLegacyTransaction", @@ -1913,7 +1923,7 @@ export default { EIP1559: "EthereumTransactionEip1559Transaction", }, }, - /** Lookup203: ethereum::transaction::LegacyTransaction */ + /** Lookup201: ethereum::transaction::LegacyTransaction */ EthereumTransactionLegacyTransaction: { nonce: "U256", gasPrice: "U256", @@ -1923,20 +1933,20 @@ export default { input: "Bytes", signature: "EthereumTransactionTransactionSignature", }, - /** Lookup204: ethereum::transaction::TransactionAction */ + /** Lookup202: ethereum::transaction::TransactionAction */ EthereumTransactionTransactionAction: { _enum: { Call: "H160", Create: "Null", }, }, - /** Lookup205: ethereum::transaction::TransactionSignature */ + /** Lookup203: ethereum::transaction::TransactionSignature */ EthereumTransactionTransactionSignature: { v: "u64", r: "H256", s: "H256", }, - /** Lookup207: ethereum::transaction::EIP2930Transaction */ + /** Lookup205: ethereum::transaction::EIP2930Transaction */ EthereumTransactionEip2930Transaction: { chainId: "u64", nonce: "U256", @@ -1950,12 +1960,12 @@ export default { r: "H256", s: "H256", }, - /** Lookup209: ethereum::transaction::AccessListItem */ + /** Lookup207: ethereum::transaction::AccessListItem */ EthereumTransactionAccessListItem: { address: "H160", storageKeys: "Vec", }, - /** Lookup210: ethereum::transaction::EIP1559Transaction */ + /** Lookup208: ethereum::transaction::EIP1559Transaction */ EthereumTransactionEip1559Transaction: { chainId: "u64", nonce: "U256", @@ -1970,7 +1980,7 @@ export default { r: "H256", s: "H256", }, - /** Lookup211: pallet_scheduler::pallet::Call */ + /** Lookup209: pallet_scheduler::pallet::Call */ PalletSchedulerCall: { _enum: { schedule: { @@ -2006,9 +2016,25 @@ export default { priority: "u8", call: "Call", }, + set_retry: { + task: "(u32,u32)", + retries: "u8", + period: "u32", + }, + set_retry_named: { + id: "[u8;32]", + retries: "u8", + period: "u32", + }, + cancel_retry: { + task: "(u32,u32)", + }, + cancel_retry_named: { + id: "[u8;32]", + }, }, }, - /** Lookup213: pallet_preimage::pallet::Call */ + /** Lookup211: pallet_preimage::pallet::Call */ PalletPreimageCall: { _enum: { note_preimage: { @@ -2037,7 +2063,7 @@ export default { }, }, }, - /** Lookup214: pallet_conviction_voting::pallet::Call */ + /** Lookup212: pallet_conviction_voting::pallet::Call */ PalletConvictionVotingCall: { _enum: { vote: { @@ -2068,7 +2094,7 @@ export default { }, }, }, - /** Lookup215: pallet_conviction_voting::vote::AccountVote */ + /** Lookup213: pallet_conviction_voting::vote::AccountVote */ PalletConvictionVotingVoteAccountVote: { _enum: { Standard: { @@ -2086,11 +2112,11 @@ export default { }, }, }, - /** Lookup217: pallet_conviction_voting::conviction::Conviction */ + /** Lookup215: pallet_conviction_voting::conviction::Conviction */ PalletConvictionVotingConviction: { _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"], }, - /** Lookup219: pallet_referenda::pallet::Call */ + /** Lookup217: pallet_referenda::pallet::Call */ PalletReferendaCall: { _enum: { submit: { @@ -2125,14 +2151,14 @@ export default { }, }, }, - /** Lookup220: frame_support::traits::schedule::DispatchTime */ + /** Lookup218: frame_support::traits::schedule::DispatchTime */ FrameSupportScheduleDispatchTime: { _enum: { At: "u32", After: "u32", }, }, - /** Lookup222: pallet_whitelist::pallet::Call */ + /** Lookup220: pallet_whitelist::pallet::Call */ PalletWhitelistCall: { _enum: { whitelist_call: { @@ -2151,7 +2177,7 @@ export default { }, }, }, - /** Lookup223: pallet_collective::pallet::Call */ + /** Lookup221: pallet_collective::pallet::Call */ PalletCollectiveCall: { _enum: { set_members: { @@ -2185,7 +2211,7 @@ export default { }, }, }, - /** Lookup225: pallet_treasury::pallet::Call */ + /** Lookup223: pallet_treasury::pallet::Call */ PalletTreasuryCall: { _enum: { propose_spend: { @@ -2222,7 +2248,7 @@ export default { }, }, }, - /** Lookup227: pallet_crowdloan_rewards::pallet::Call */ + /** Lookup225: pallet_crowdloan_rewards::pallet::Call */ PalletCrowdloanRewardsCall: { _enum: { associate_native_identity: { @@ -2247,21 +2273,17 @@ export default { }, }, }, - /** Lookup228: sp_runtime::MultiSignature */ + /** Lookup226: sp_runtime::MultiSignature */ SpRuntimeMultiSignature: { _enum: { - Ed25519: "SpCoreEd25519Signature", - Sr25519: "SpCoreSr25519Signature", - Ecdsa: "SpCoreEcdsaSignature", + Ed25519: "[u8;64]", + Sr25519: "[u8;64]", + Ecdsa: "[u8;65]", }, }, - /** Lookup229: sp_core::ed25519::Signature */ - SpCoreEd25519Signature: "[u8;64]", - /** Lookup231: sp_core::sr25519::Signature */ - SpCoreSr25519Signature: "[u8;64]", - /** Lookup236: cumulus_pallet_dmp_queue::pallet::Call */ + /** Lookup232: cumulus_pallet_dmp_queue::pallet::Call */ CumulusPalletDmpQueueCall: "Null", - /** Lookup237: pallet_xcm::pallet::Call */ + /** Lookup233: pallet_xcm::pallet::Call */ PalletXcmCall: { _enum: { send: { @@ -2321,9 +2343,22 @@ export default { feeAssetItem: "u32", weightLimit: "XcmV3WeightLimit", }, + claim_assets: { + assets: "XcmVersionedAssets", + beneficiary: "XcmVersionedLocation", + }, + transfer_assets_using_type_and_then: { + dest: "XcmVersionedLocation", + assets: "XcmVersionedAssets", + assetsTransferType: "StagingXcmExecutorAssetTransferTransferType", + remoteFeesId: "XcmVersionedAssetId", + feesTransferType: "StagingXcmExecutorAssetTransferTransferType", + customXcmOnDest: "XcmVersionedXcm", + weightLimit: "XcmV3WeightLimit", + }, }, }, - /** Lookup238: xcm::VersionedLocation */ + /** Lookup234: xcm::VersionedLocation */ XcmVersionedLocation: { _enum: { __Unused0: "Null", @@ -2333,12 +2368,12 @@ export default { V4: "StagingXcmV4Location", }, }, - /** Lookup239: xcm::v2::multilocation::MultiLocation */ + /** Lookup235: xcm::v2::multilocation::MultiLocation */ XcmV2MultiLocation: { parents: "u8", interior: "XcmV2MultilocationJunctions", }, - /** Lookup240: xcm::v2::multilocation::Junctions */ + /** Lookup236: xcm::v2::multilocation::Junctions */ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -2352,7 +2387,7 @@ export default { X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", }, }, - /** Lookup241: xcm::v2::junction::Junction */ + /** Lookup237: xcm::v2::junction::Junction */ XcmV2Junction: { _enum: { Parachain: "Compact", @@ -2378,7 +2413,7 @@ export default { }, }, }, - /** Lookup242: xcm::v2::NetworkId */ + /** Lookup238: xcm::v2::NetworkId */ XcmV2NetworkId: { _enum: { Any: "Null", @@ -2387,7 +2422,7 @@ export default { Kusama: "Null", }, }, - /** Lookup244: xcm::v2::BodyId */ + /** Lookup240: xcm::v2::BodyId */ XcmV2BodyId: { _enum: { Unit: "Null", @@ -2402,7 +2437,7 @@ export default { Treasury: "Null", }, }, - /** Lookup245: xcm::v2::BodyPart */ + /** Lookup241: xcm::v2::BodyPart */ XcmV2BodyPart: { _enum: { Voice: "Null", @@ -2423,12 +2458,12 @@ export default { }, }, }, - /** Lookup246: staging_xcm::v3::multilocation::MultiLocation */ + /** Lookup242: staging_xcm::v3::multilocation::MultiLocation */ StagingXcmV3MultiLocation: { parents: "u8", interior: "XcmV3Junctions", }, - /** Lookup247: xcm::v3::junctions::Junctions */ + /** Lookup243: xcm::v3::junctions::Junctions */ XcmV3Junctions: { _enum: { Here: "Null", @@ -2442,7 +2477,7 @@ export default { X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", }, }, - /** Lookup248: xcm::v3::junction::Junction */ + /** Lookup244: xcm::v3::junction::Junction */ XcmV3Junction: { _enum: { Parachain: "Compact", @@ -2472,7 +2507,7 @@ export default { GlobalConsensus: "XcmV3JunctionNetworkId", }, }, - /** Lookup250: xcm::v3::junction::NetworkId */ + /** Lookup246: xcm::v3::junction::NetworkId */ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", @@ -2493,7 +2528,7 @@ export default { PolkadotBulletin: "Null", }, }, - /** Lookup251: xcm::VersionedXcm */ + /** Lookup247: xcm::VersionedXcm */ XcmVersionedXcm: { _enum: { __Unused0: "Null", @@ -2503,9 +2538,9 @@ export default { V4: "StagingXcmV4Xcm", }, }, - /** Lookup252: xcm::v2::Xcm */ + /** Lookup248: xcm::v2::Xcm */ XcmV2Xcm: "Vec", - /** Lookup254: xcm::v2::Instruction */ + /** Lookup250: xcm::v2::Instruction */ XcmV2Instruction: { _enum: { WithdrawAsset: "XcmV2MultiassetMultiAssets", @@ -2601,28 +2636,28 @@ export default { UnsubscribeVersion: "Null", }, }, - /** Lookup255: xcm::v2::multiasset::MultiAssets */ + /** Lookup251: xcm::v2::multiasset::MultiAssets */ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup257: xcm::v2::multiasset::MultiAsset */ + /** Lookup253: xcm::v2::multiasset::MultiAsset */ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", fun: "XcmV2MultiassetFungibility", }, - /** Lookup258: xcm::v2::multiasset::AssetId */ + /** Lookup254: xcm::v2::multiasset::AssetId */ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", Abstract: "Bytes", }, }, - /** Lookup259: xcm::v2::multiasset::Fungibility */ + /** Lookup255: xcm::v2::multiasset::Fungibility */ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", NonFungible: "XcmV2MultiassetAssetInstance", }, }, - /** Lookup260: xcm::v2::multiasset::AssetInstance */ + /** Lookup256: xcm::v2::multiasset::AssetInstance */ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -2634,7 +2669,7 @@ export default { Blob: "Bytes", }, }, - /** Lookup261: xcm::v2::Response */ + /** Lookup257: xcm::v2::Response */ XcmV2Response: { _enum: { Null: "Null", @@ -2643,7 +2678,7 @@ export default { Version: "u32", }, }, - /** Lookup264: xcm::v2::traits::Error */ + /** Lookup260: xcm::v2::traits::Error */ XcmV2TraitsError: { _enum: { Overflow: "Null", @@ -2674,22 +2709,22 @@ export default { WeightNotComputable: "Null", }, }, - /** Lookup265: xcm::v2::OriginKind */ + /** Lookup261: xcm::v2::OriginKind */ XcmV2OriginKind: { _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], }, - /** Lookup266: xcm::double_encoded::DoubleEncoded */ + /** Lookup262: xcm::double_encoded::DoubleEncoded */ XcmDoubleEncoded: { encoded: "Bytes", }, - /** Lookup267: xcm::v2::multiasset::MultiAssetFilter */ + /** Lookup263: xcm::v2::multiasset::MultiAssetFilter */ XcmV2MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV2MultiassetMultiAssets", Wild: "XcmV2MultiassetWildMultiAsset", }, }, - /** Lookup268: xcm::v2::multiasset::WildMultiAsset */ + /** Lookup264: xcm::v2::multiasset::WildMultiAsset */ XcmV2MultiassetWildMultiAsset: { _enum: { All: "Null", @@ -2699,20 +2734,20 @@ export default { }, }, }, - /** Lookup269: xcm::v2::multiasset::WildFungibility */ + /** Lookup265: xcm::v2::multiasset::WildFungibility */ XcmV2MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup270: xcm::v2::WeightLimit */ + /** Lookup266: xcm::v2::WeightLimit */ XcmV2WeightLimit: { _enum: { Unlimited: "Null", Limited: "Compact", }, }, - /** Lookup271: xcm::v3::Xcm */ + /** Lookup267: xcm::v3::Xcm */ XcmV3Xcm: "Vec", - /** Lookup273: xcm::v3::Instruction */ + /** Lookup269: xcm::v3::Instruction */ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -2852,28 +2887,28 @@ export default { }, }, }, - /** Lookup274: xcm::v3::multiasset::MultiAssets */ + /** Lookup270: xcm::v3::multiasset::MultiAssets */ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup276: xcm::v3::multiasset::MultiAsset */ + /** Lookup272: xcm::v3::multiasset::MultiAsset */ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetFungibility", }, - /** Lookup277: xcm::v3::multiasset::AssetId */ + /** Lookup273: xcm::v3::multiasset::AssetId */ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", Abstract: "[u8;32]", }, }, - /** Lookup278: xcm::v3::multiasset::Fungibility */ + /** Lookup274: xcm::v3::multiasset::Fungibility */ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", NonFungible: "XcmV3MultiassetAssetInstance", }, }, - /** Lookup279: xcm::v3::multiasset::AssetInstance */ + /** Lookup275: xcm::v3::multiasset::AssetInstance */ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -2884,7 +2919,7 @@ export default { Array32: "[u8;32]", }, }, - /** Lookup280: xcm::v3::Response */ + /** Lookup276: xcm::v3::Response */ XcmV3Response: { _enum: { Null: "Null", @@ -2895,7 +2930,7 @@ export default { DispatchResult: "XcmV3MaybeErrorCode", }, }, - /** Lookup283: xcm::v3::traits::Error */ + /** Lookup279: xcm::v3::traits::Error */ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -2940,7 +2975,7 @@ export default { ExceedsStackLimit: "Null", }, }, - /** Lookup285: xcm::v3::PalletInfo */ + /** Lookup281: xcm::v3::PalletInfo */ XcmV3PalletInfo: { index: "Compact", name: "Bytes", @@ -2949,7 +2984,7 @@ export default { minor: "Compact", patch: "Compact", }, - /** Lookup288: xcm::v3::MaybeErrorCode */ + /** Lookup284: xcm::v3::MaybeErrorCode */ XcmV3MaybeErrorCode: { _enum: { Success: "Null", @@ -2957,20 +2992,20 @@ export default { TruncatedError: "Bytes", }, }, - /** Lookup291: xcm::v3::QueryResponseInfo */ + /** Lookup287: xcm::v3::QueryResponseInfo */ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", maxWeight: "SpWeightsWeightV2Weight", }, - /** Lookup292: xcm::v3::multiasset::MultiAssetFilter */ + /** Lookup288: xcm::v3::multiasset::MultiAssetFilter */ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", Wild: "XcmV3MultiassetWildMultiAsset", }, }, - /** Lookup293: xcm::v3::multiasset::WildMultiAsset */ + /** Lookup289: xcm::v3::multiasset::WildMultiAsset */ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", @@ -2986,20 +3021,20 @@ export default { }, }, }, - /** Lookup294: xcm::v3::multiasset::WildFungibility */ + /** Lookup290: xcm::v3::multiasset::WildFungibility */ XcmV3MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup295: xcm::v3::WeightLimit */ + /** Lookup291: xcm::v3::WeightLimit */ XcmV3WeightLimit: { _enum: { Unlimited: "Null", Limited: "SpWeightsWeightV2Weight", }, }, - /** Lookup296: staging_xcm::v4::Xcm */ + /** Lookup292: staging_xcm::v4::Xcm */ StagingXcmV4Xcm: "Vec", - /** Lookup298: staging_xcm::v4::Instruction */ + /** Lookup294: staging_xcm::v4::Instruction */ StagingXcmV4Instruction: { _enum: { WithdrawAsset: "StagingXcmV4AssetAssets", @@ -3139,23 +3174,23 @@ export default { }, }, }, - /** Lookup299: staging_xcm::v4::asset::Assets */ + /** Lookup295: staging_xcm::v4::asset::Assets */ StagingXcmV4AssetAssets: "Vec", - /** Lookup301: staging_xcm::v4::asset::Asset */ + /** Lookup297: staging_xcm::v4::asset::Asset */ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetFungibility", }, - /** Lookup302: staging_xcm::v4::asset::AssetId */ + /** Lookup298: staging_xcm::v4::asset::AssetId */ StagingXcmV4AssetAssetId: "StagingXcmV4Location", - /** Lookup303: staging_xcm::v4::asset::Fungibility */ + /** Lookup299: staging_xcm::v4::asset::Fungibility */ StagingXcmV4AssetFungibility: { _enum: { Fungible: "Compact", NonFungible: "StagingXcmV4AssetAssetInstance", }, }, - /** Lookup304: staging_xcm::v4::asset::AssetInstance */ + /** Lookup300: staging_xcm::v4::asset::AssetInstance */ StagingXcmV4AssetAssetInstance: { _enum: { Undefined: "Null", @@ -3166,7 +3201,7 @@ export default { Array32: "[u8;32]", }, }, - /** Lookup305: staging_xcm::v4::Response */ + /** Lookup301: staging_xcm::v4::Response */ StagingXcmV4Response: { _enum: { Null: "Null", @@ -3177,7 +3212,7 @@ export default { DispatchResult: "XcmV3MaybeErrorCode", }, }, - /** Lookup307: staging_xcm::v4::PalletInfo */ + /** Lookup303: staging_xcm::v4::PalletInfo */ StagingXcmV4PalletInfo: { index: "Compact", name: "Bytes", @@ -3186,20 +3221,20 @@ export default { minor: "Compact", patch: "Compact", }, - /** Lookup311: staging_xcm::v4::QueryResponseInfo */ + /** Lookup307: staging_xcm::v4::QueryResponseInfo */ StagingXcmV4QueryResponseInfo: { destination: "StagingXcmV4Location", queryId: "Compact", maxWeight: "SpWeightsWeightV2Weight", }, - /** Lookup312: staging_xcm::v4::asset::AssetFilter */ + /** Lookup308: staging_xcm::v4::asset::AssetFilter */ StagingXcmV4AssetAssetFilter: { _enum: { Definite: "StagingXcmV4AssetAssets", Wild: "StagingXcmV4AssetWildAsset", }, }, - /** Lookup313: staging_xcm::v4::asset::WildAsset */ + /** Lookup309: staging_xcm::v4::asset::WildAsset */ StagingXcmV4AssetWildAsset: { _enum: { All: "Null", @@ -3215,11 +3250,11 @@ export default { }, }, }, - /** Lookup314: staging_xcm::v4::asset::WildFungibility */ + /** Lookup310: staging_xcm::v4::asset::WildFungibility */ StagingXcmV4AssetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup315: xcm::VersionedAssets */ + /** Lookup311: xcm::VersionedAssets */ XcmVersionedAssets: { _enum: { __Unused0: "Null", @@ -3229,7 +3264,26 @@ export default { V4: "StagingXcmV4AssetAssets", }, }, - /** Lookup327: pallet_assets::pallet::Call */ + /** Lookup323: staging_xcm_executor::traits::asset_transfer::TransferType */ + StagingXcmExecutorAssetTransferTransferType: { + _enum: { + Teleport: "Null", + LocalReserve: "Null", + DestinationReserve: "Null", + RemoteReserve: "XcmVersionedLocation", + }, + }, + /** Lookup324: xcm::VersionedAssetId */ + XcmVersionedAssetId: { + _enum: { + __Unused0: "Null", + __Unused1: "Null", + __Unused2: "Null", + V3: "XcmV3MultiassetAssetId", + V4: "StagingXcmV4AssetAssetId", + }, + }, + /** Lookup325: pallet_assets::pallet::Call */ PalletAssetsCall: { _enum: { create: { @@ -3379,7 +3433,7 @@ export default { }, }, }, - /** Lookup328: pallet_asset_manager::pallet::Call */ + /** Lookup326: pallet_asset_manager::pallet::Call */ PalletAssetManagerCall: { _enum: { register_foreign_asset: { @@ -3413,20 +3467,20 @@ export default { }, }, }, - /** Lookup329: moonbeam_runtime::xcm_config::AssetType */ + /** Lookup327: moonbeam_runtime::xcm_config::AssetType */ MoonbeamRuntimeXcmConfigAssetType: { _enum: { Xcm: "StagingXcmV3MultiLocation", }, }, - /** Lookup330: moonbeam_runtime::asset_config::AssetRegistrarMetadata */ + /** Lookup328: moonbeam_runtime::asset_config::AssetRegistrarMetadata */ MoonbeamRuntimeAssetConfigAssetRegistrarMetadata: { name: "Bytes", symbol: "Bytes", decimals: "u8", isFrozen: "bool", }, - /** Lookup331: orml_xtokens::module::Call */ + /** Lookup329: orml_xtokens::module::Call */ OrmlXtokensModuleCall: { _enum: { transfer: { @@ -3467,7 +3521,7 @@ export default { }, }, }, - /** Lookup332: moonbeam_runtime::xcm_config::CurrencyId */ + /** Lookup330: moonbeam_runtime::xcm_config::CurrencyId */ MoonbeamRuntimeXcmConfigCurrencyId: { _enum: { SelfReserve: "Null", @@ -3477,7 +3531,7 @@ export default { }, }, }, - /** Lookup333: xcm::VersionedAsset */ + /** Lookup331: xcm::VersionedAsset */ XcmVersionedAsset: { _enum: { __Unused0: "Null", @@ -3487,7 +3541,7 @@ export default { V4: "StagingXcmV4Asset", }, }, - /** Lookup336: pallet_xcm_transactor::pallet::Call */ + /** Lookup334: pallet_xcm_transactor::pallet::Call */ PalletXcmTransactorCall: { _enum: { register: { @@ -3544,28 +3598,28 @@ export default { }, }, }, - /** Lookup337: moonbeam_runtime::xcm_config::Transactors */ + /** Lookup335: moonbeam_runtime::xcm_config::Transactors */ MoonbeamRuntimeXcmConfigTransactors: { _enum: ["Relay"], }, - /** Lookup338: pallet_xcm_transactor::pallet::CurrencyPayment */ + /** Lookup336: pallet_xcm_transactor::pallet::CurrencyPayment */ PalletXcmTransactorCurrencyPayment: { currency: "PalletXcmTransactorCurrency", feeAmount: "Option", }, - /** Lookup339: pallet_xcm_transactor::pallet::Currency */ + /** Lookup337: pallet_xcm_transactor::pallet::Currency */ PalletXcmTransactorCurrency: { _enum: { AsCurrencyId: "MoonbeamRuntimeXcmConfigCurrencyId", AsMultiLocation: "XcmVersionedLocation", }, }, - /** Lookup341: pallet_xcm_transactor::pallet::TransactWeights */ + /** Lookup339: pallet_xcm_transactor::pallet::TransactWeights */ PalletXcmTransactorTransactWeights: { transactRequiredWeightAtMost: "SpWeightsWeightV2Weight", overallWeight: "Option", }, - /** Lookup344: pallet_xcm_transactor::pallet::HrmpOperation */ + /** Lookup342: pallet_xcm_transactor::pallet::HrmpOperation */ PalletXcmTransactorHrmpOperation: { _enum: { InitOpen: "PalletXcmTransactorHrmpInitParams", @@ -3579,18 +3633,18 @@ export default { }, }, }, - /** Lookup345: pallet_xcm_transactor::pallet::HrmpInitParams */ + /** Lookup343: pallet_xcm_transactor::pallet::HrmpInitParams */ PalletXcmTransactorHrmpInitParams: { paraId: "u32", proposedMaxCapacity: "u32", proposedMaxMessageSize: "u32", }, - /** Lookup346: polkadot_parachain_primitives::primitives::HrmpChannelId */ + /** Lookup344: polkadot_parachain_primitives::primitives::HrmpChannelId */ PolkadotParachainPrimitivesPrimitivesHrmpChannelId: { sender: "u32", recipient: "u32", }, - /** Lookup347: pallet_ethereum_xcm::pallet::Call */ + /** Lookup345: pallet_ethereum_xcm::pallet::Call */ PalletEthereumXcmCall: { _enum: { transact: { @@ -3604,14 +3658,14 @@ export default { resume_ethereum_xcm_execution: "Null", }, }, - /** Lookup348: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ + /** Lookup346: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ XcmPrimitivesEthereumXcmEthereumXcmTransaction: { _enum: { V1: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV1", V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2", }, }, - /** Lookup349: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ + /** Lookup347: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ XcmPrimitivesEthereumXcmEthereumXcmTransactionV1: { gasLimit: "U256", feePayment: "XcmPrimitivesEthereumXcmEthereumXcmFee", @@ -3620,19 +3674,19 @@ export default { input: "Bytes", accessList: "Option)>>", }, - /** Lookup350: xcm_primitives::ethereum_xcm::EthereumXcmFee */ + /** Lookup348: xcm_primitives::ethereum_xcm::EthereumXcmFee */ XcmPrimitivesEthereumXcmEthereumXcmFee: { _enum: { Manual: "XcmPrimitivesEthereumXcmManualEthereumXcmFee", Auto: "Null", }, }, - /** Lookup351: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ + /** Lookup349: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ XcmPrimitivesEthereumXcmManualEthereumXcmFee: { gasPrice: "Option", maxFeePerGas: "Option", }, - /** Lookup354: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ + /** Lookup352: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ XcmPrimitivesEthereumXcmEthereumXcmTransactionV2: { gasLimit: "U256", action: "EthereumTransactionTransactionAction", @@ -3640,7 +3694,7 @@ export default { input: "Bytes", accessList: "Option)>>", }, - /** Lookup355: pallet_message_queue::pallet::Call */ + /** Lookup353: pallet_message_queue::pallet::Call */ PalletMessageQueueCall: { _enum: { reap_page: { @@ -3655,7 +3709,7 @@ export default { }, }, }, - /** Lookup356: cumulus_primitives_core::AggregateMessageOrigin */ + /** Lookup354: cumulus_primitives_core::AggregateMessageOrigin */ CumulusPrimitivesCoreAggregateMessageOrigin: { _enum: { Here: "Null", @@ -3663,19 +3717,19 @@ export default { Sibling: "u32", }, }, - /** Lookup357: pallet_randomness::pallet::Call */ + /** Lookup355: pallet_randomness::pallet::Call */ PalletRandomnessCall: { _enum: ["set_babe_randomness_results"], }, - /** Lookup358: sp_runtime::traits::BlakeTwo256 */ + /** Lookup356: sp_runtime::traits::BlakeTwo256 */ SpRuntimeBlakeTwo256: "Null", - /** Lookup360: pallet_conviction_voting::types::Tally */ + /** Lookup358: pallet_conviction_voting::types::Tally */ PalletConvictionVotingTally: { ayes: "u128", nays: "u128", support: "u128", }, - /** Lookup361: pallet_whitelist::pallet::Event */ + /** Lookup359: pallet_whitelist::pallet::Event */ PalletWhitelistEvent: { _enum: { CallWhitelisted: { @@ -3690,17 +3744,17 @@ export default { }, }, }, - /** Lookup363: frame_support::dispatch::PostDispatchInfo */ + /** Lookup361: frame_support::dispatch::PostDispatchInfo */ FrameSupportDispatchPostDispatchInfo: { actualWeight: "Option", paysFee: "FrameSupportDispatchPays", }, - /** Lookup364: sp_runtime::DispatchErrorWithPostInfo */ + /** Lookup362: sp_runtime::DispatchErrorWithPostInfo */ SpRuntimeDispatchErrorWithPostInfo: { postInfo: "FrameSupportDispatchPostDispatchInfo", error: "SpRuntimeDispatchError", }, - /** Lookup365: pallet_collective::pallet::Event */ + /** Lookup363: pallet_collective::pallet::Event */ PalletCollectiveEvent: { _enum: { Proposed: { @@ -3737,7 +3791,7 @@ export default { }, }, }, - /** Lookup367: pallet_treasury::pallet::Event */ + /** Lookup365: pallet_treasury::pallet::Event */ PalletTreasuryEvent: { _enum: { Proposed: { @@ -3797,7 +3851,7 @@ export default { }, }, }, - /** Lookup368: pallet_crowdloan_rewards::pallet::Event */ + /** Lookup366: pallet_crowdloan_rewards::pallet::Event */ PalletCrowdloanRewardsEvent: { _enum: { InitialPaymentMade: "(AccountId20,u128)", @@ -3808,7 +3862,7 @@ export default { InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)", }, }, - /** Lookup369: cumulus_pallet_xcmp_queue::pallet::Event */ + /** Lookup367: cumulus_pallet_xcmp_queue::pallet::Event */ CumulusPalletXcmpQueueEvent: { _enum: { XcmpMessageSent: { @@ -3816,7 +3870,7 @@ export default { }, }, }, - /** Lookup370: cumulus_pallet_xcm::pallet::Event */ + /** Lookup368: cumulus_pallet_xcm::pallet::Event */ CumulusPalletXcmEvent: { _enum: { InvalidFormat: "[u8;32]", @@ -3824,7 +3878,7 @@ export default { ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)", }, }, - /** Lookup371: staging_xcm::v4::traits::Outcome */ + /** Lookup369: staging_xcm::v4::traits::Outcome */ StagingXcmV4TraitsOutcome: { _enum: { Complete: { @@ -3839,7 +3893,7 @@ export default { }, }, }, - /** Lookup372: cumulus_pallet_dmp_queue::pallet::Event */ + /** Lookup370: cumulus_pallet_dmp_queue::pallet::Event */ CumulusPalletDmpQueueEvent: { _enum: { StartedExport: "Null", @@ -3867,7 +3921,7 @@ export default { }, }, }, - /** Lookup373: pallet_xcm::pallet::Event */ + /** Lookup371: pallet_xcm::pallet::Event */ PalletXcmEvent: { _enum: { Attempted: { @@ -3990,7 +4044,7 @@ export default { }, }, }, - /** Lookup374: pallet_assets::pallet::Event */ + /** Lookup372: pallet_assets::pallet::Event */ PalletAssetsEvent: { _enum: { Created: { @@ -4104,7 +4158,7 @@ export default { }, }, }, - /** Lookup375: pallet_asset_manager::pallet::Event */ + /** Lookup373: pallet_asset_manager::pallet::Event */ PalletAssetManagerEvent: { _enum: { ForeignAssetRegistered: { @@ -4136,7 +4190,7 @@ export default { }, }, }, - /** Lookup376: orml_xtokens::module::Event */ + /** Lookup374: orml_xtokens::module::Event */ OrmlXtokensModuleEvent: { _enum: { TransferredAssets: { @@ -4147,7 +4201,7 @@ export default { }, }, }, - /** Lookup377: pallet_xcm_transactor::pallet::Event */ + /** Lookup375: pallet_xcm_transactor::pallet::Event */ PalletXcmTransactorEvent: { _enum: { TransactedDerivative: { @@ -4195,13 +4249,13 @@ export default { }, }, }, - /** Lookup378: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ + /** Lookup376: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ PalletXcmTransactorRemoteTransactInfoWithMaxWeight: { transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", transactExtraWeightSigned: "Option", }, - /** Lookup379: pallet_message_queue::pallet::Event */ + /** Lookup377: pallet_message_queue::pallet::Event */ PalletMessageQueueEvent: { _enum: { ProcessingFailed: { @@ -4227,7 +4281,7 @@ export default { }, }, }, - /** Lookup380: frame_support::traits::messages::ProcessMessageError */ + /** Lookup378: frame_support::traits::messages::ProcessMessageError */ FrameSupportMessagesProcessMessageError: { _enum: { BadFormat: "Null", @@ -4237,7 +4291,7 @@ export default { Yield: "Null", }, }, - /** Lookup381: pallet_randomness::pallet::Event */ + /** Lookup379: pallet_randomness::pallet::Event */ PalletRandomnessEvent: { _enum: { RandomnessRequestedBabeEpoch: { @@ -4272,7 +4326,7 @@ export default { }, }, }, - /** Lookup382: frame_system::Phase */ + /** Lookup380: frame_system::Phase */ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", @@ -4280,51 +4334,51 @@ export default { Initialization: "Null", }, }, - /** Lookup384: frame_system::LastRuntimeUpgradeInfo */ + /** Lookup382: frame_system::LastRuntimeUpgradeInfo */ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", specName: "Text", }, - /** Lookup385: frame_system::CodeUpgradeAuthorization */ + /** Lookup383: frame_system::CodeUpgradeAuthorization */ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", checkVersion: "bool", }, - /** Lookup386: frame_system::limits::BlockWeights */ + /** Lookup384: frame_system::limits::BlockWeights */ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", }, - /** Lookup387: frame_support::dispatch::PerDispatchClass */ + /** Lookup385: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", mandatory: "FrameSystemLimitsWeightsPerClass", }, - /** Lookup388: frame_system::limits::WeightsPerClass */ + /** Lookup386: frame_system::limits::WeightsPerClass */ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", reserved: "Option", }, - /** Lookup389: frame_system::limits::BlockLength */ + /** Lookup387: frame_system::limits::BlockLength */ FrameSystemLimitsBlockLength: { max: "FrameSupportDispatchPerDispatchClassU32", }, - /** Lookup390: frame_support::dispatch::PerDispatchClass */ + /** Lookup388: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", mandatory: "u32", }, - /** Lookup391: sp_weights::RuntimeDbWeight */ + /** Lookup389: sp_weights::RuntimeDbWeight */ SpWeightsRuntimeDbWeight: { read: "u64", write: "u64", }, - /** Lookup392: sp_version::RuntimeVersion */ + /** Lookup390: sp_version::RuntimeVersion */ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -4335,7 +4389,7 @@ export default { transactionVersion: "u32", stateVersion: "u8", }, - /** Lookup396: frame_system::pallet::Error */ + /** Lookup394: frame_system::pallet::Error */ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -4344,56 +4398,57 @@ export default { "NonDefaultComposite", "NonZeroRefCount", "CallFiltered", + "MultiBlockMigrationsOngoing", "NothingAuthorized", "Unauthorized", ], }, - /** Lookup398: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ + /** Lookup396: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option", }, - /** Lookup399: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ + /** Lookup397: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", umpTotalBytes: "u32", hrmpOutgoing: "BTreeMap", }, - /** Lookup401: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ + /** Lookup399: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", totalBytes: "u32", }, - /** Lookup405: polkadot_primitives::v6::UpgradeGoAhead */ - PolkadotPrimitivesV6UpgradeGoAhead: { + /** Lookup403: polkadot_primitives::v7::UpgradeGoAhead */ + PolkadotPrimitivesV7UpgradeGoAhead: { _enum: ["Abort", "GoAhead"], }, - /** Lookup406: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ + /** Lookup404: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option", }, - /** Lookup408: polkadot_primitives::v6::UpgradeRestriction */ - PolkadotPrimitivesV6UpgradeRestriction: { + /** Lookup406: polkadot_primitives::v7::UpgradeRestriction */ + PolkadotPrimitivesV7UpgradeRestriction: { _enum: ["Present"], }, - /** Lookup409: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ + /** Lookup407: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", - ingressChannels: "Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>", + ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", }, - /** Lookup410: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ + /** Lookup408: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", remainingSize: "u32", }, - /** Lookup413: polkadot_primitives::v6::AbridgedHrmpChannel */ - PolkadotPrimitivesV6AbridgedHrmpChannel: { + /** Lookup411: polkadot_primitives::v7::AbridgedHrmpChannel */ + PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", @@ -4401,8 +4456,8 @@ export default { totalSize: "u32", mqcHead: "Option", }, - /** Lookup414: polkadot_primitives::v6::AbridgedHostConfiguration */ - PolkadotPrimitivesV6AbridgedHostConfiguration: { + /** Lookup412: polkadot_primitives::v7::AbridgedHostConfiguration */ + PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", maxUpwardQueueCount: "u32", @@ -4412,19 +4467,19 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV6AsyncBackingAsyncBackingParams", + asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams", }, - /** Lookup415: polkadot_primitives::v6::async_backing::AsyncBackingParams */ - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams: { + /** Lookup413: polkadot_primitives::v7::async_backing::AsyncBackingParams */ + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", allowedAncestryLen: "u32", }, - /** Lookup421: polkadot_core_primitives::OutboundHrmpMessage */ + /** Lookup419: polkadot_core_primitives::OutboundHrmpMessage */ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", data: "Bytes", }, - /** Lookup423: cumulus_pallet_parachain_system::pallet::Error */ + /** Lookup421: cumulus_pallet_parachain_system::pallet::Error */ CumulusPalletParachainSystemError: { _enum: [ "OverlappingUpgrades", @@ -4437,22 +4492,22 @@ export default { "Unauthorized", ], }, - /** Lookup425: pallet_balances::types::BalanceLock */ + /** Lookup423: pallet_balances::types::BalanceLock */ PalletBalancesBalanceLock: { id: "[u8;8]", amount: "u128", reasons: "PalletBalancesReasons", }, - /** Lookup426: pallet_balances::types::Reasons */ + /** Lookup424: pallet_balances::types::Reasons */ PalletBalancesReasons: { _enum: ["Fee", "Misc", "All"], }, - /** Lookup429: pallet_balances::types::ReserveData */ + /** Lookup427: pallet_balances::types::ReserveData */ PalletBalancesReserveData: { id: "[u8;4]", amount: "u128", }, - /** Lookup433: moonbeam_runtime::RuntimeHoldReason */ + /** Lookup431: moonbeam_runtime::RuntimeHoldReason */ MoonbeamRuntimeRuntimeHoldReason: { _enum: { __Unused0: "Null", @@ -4520,16 +4575,16 @@ export default { Preimage: "PalletPreimageHoldReason", }, }, - /** Lookup434: pallet_preimage::pallet::HoldReason */ + /** Lookup432: pallet_preimage::pallet::HoldReason */ PalletPreimageHoldReason: { _enum: ["Preimage"], }, - /** Lookup437: pallet_balances::types::IdAmount */ + /** Lookup435: pallet_balances::types::IdAmount */ PalletBalancesIdAmount: { id: "Null", amount: "u128", }, - /** Lookup439: pallet_balances::pallet::Error */ + /** Lookup437: pallet_balances::pallet::Error */ PalletBalancesError: { _enum: [ "VestingBalance", @@ -4546,26 +4601,26 @@ export default { "DeltaZero", ], }, - /** Lookup440: pallet_transaction_payment::Releases */ + /** Lookup438: pallet_transaction_payment::Releases */ PalletTransactionPaymentReleases: { _enum: ["V1Ancient", "V2"], }, /** - * Lookup441: + * Lookup439: * pallet_parachain_staking::types::ParachainBondConfig[account::AccountId20](account::AccountId20) */ PalletParachainStakingParachainBondConfig: { account: "AccountId20", percent: "Percent", }, - /** Lookup442: pallet_parachain_staking::types::RoundInfo */ + /** Lookup440: pallet_parachain_staking::types::RoundInfo */ PalletParachainStakingRoundInfo: { current: "u32", first: "u32", length: "u32", firstSlot: "u64", }, - /** Lookup443: pallet_parachain_staking::types::Delegator */ + /** Lookup441: pallet_parachain_staking::types::Delegator */ PalletParachainStakingDelegator: { id: "AccountId20", delegations: "PalletParachainStakingSetOrderedSet", @@ -4574,24 +4629,24 @@ export default { status: "PalletParachainStakingDelegatorStatus", }, /** - * Lookup444: + * Lookup442: * pallet_parachain_staking::set::OrderedSet> */ PalletParachainStakingSetOrderedSet: "Vec", - /** Lookup445: pallet_parachain_staking::types::Bond */ + /** Lookup443: pallet_parachain_staking::types::Bond */ PalletParachainStakingBond: { owner: "AccountId20", amount: "u128", }, - /** Lookup447: pallet_parachain_staking::types::DelegatorStatus */ + /** Lookup445: pallet_parachain_staking::types::DelegatorStatus */ PalletParachainStakingDelegatorStatus: { _enum: { Active: "Null", Leaving: "u32", }, }, - /** Lookup448: pallet_parachain_staking::types::CandidateMetadata */ + /** Lookup446: pallet_parachain_staking::types::CandidateMetadata */ PalletParachainStakingCandidateMetadata: { bond: "u128", delegationCount: "u32", @@ -4604,16 +4659,16 @@ export default { request: "Option", status: "PalletParachainStakingCollatorStatus", }, - /** Lookup449: pallet_parachain_staking::types::CapacityStatus */ + /** Lookup447: pallet_parachain_staking::types::CapacityStatus */ PalletParachainStakingCapacityStatus: { _enum: ["Full", "Empty", "Partial"], }, - /** Lookup451: pallet_parachain_staking::types::CandidateBondLessRequest */ + /** Lookup449: pallet_parachain_staking::types::CandidateBondLessRequest */ PalletParachainStakingCandidateBondLessRequest: { amount: "u128", whenExecutable: "u32", }, - /** Lookup452: pallet_parachain_staking::types::CollatorStatus */ + /** Lookup450: pallet_parachain_staking::types::CollatorStatus */ PalletParachainStakingCollatorStatus: { _enum: { Active: "Null", @@ -4621,50 +4676,50 @@ export default { Leaving: "u32", }, }, - /** Lookup454: pallet_parachain_staking::delegation_requests::ScheduledRequest */ + /** Lookup452: pallet_parachain_staking::delegation_requests::ScheduledRequest */ PalletParachainStakingDelegationRequestsScheduledRequest: { delegator: "AccountId20", whenExecutable: "u32", action: "PalletParachainStakingDelegationRequestsDelegationAction", }, /** - * Lookup457: + * Lookup455: * pallet_parachain_staking::auto_compound::AutoCompoundConfig[account::AccountId20](account::AccountId20) */ PalletParachainStakingAutoCompoundAutoCompoundConfig: { delegator: "AccountId20", value: "Percent", }, - /** Lookup459: pallet_parachain_staking::types::Delegations */ + /** Lookup457: pallet_parachain_staking::types::Delegations */ PalletParachainStakingDelegations: { delegations: "Vec", total: "u128", }, /** - * Lookup461: + * Lookup459: * pallet_parachain_staking::set::BoundedOrderedSet, S> */ PalletParachainStakingSetBoundedOrderedSet: "Vec", - /** Lookup464: pallet_parachain_staking::types::CollatorSnapshot */ + /** Lookup462: pallet_parachain_staking::types::CollatorSnapshot */ PalletParachainStakingCollatorSnapshot: { bond: "u128", delegations: "Vec", total: "u128", }, - /** Lookup466: pallet_parachain_staking::types::BondWithAutoCompound */ + /** Lookup464: pallet_parachain_staking::types::BondWithAutoCompound */ PalletParachainStakingBondWithAutoCompound: { owner: "AccountId20", amount: "u128", autoCompound: "Percent", }, - /** Lookup467: pallet_parachain_staking::types::DelayedPayout */ + /** Lookup465: pallet_parachain_staking::types::DelayedPayout */ PalletParachainStakingDelayedPayout: { roundIssuance: "u128", totalStakingReward: "u128", collatorCommission: "Perbill", }, - /** Lookup468: pallet_parachain_staking::inflation::InflationInfo */ + /** Lookup466: pallet_parachain_staking::inflation::InflationInfo */ PalletParachainStakingInflationInflationInfo: { expect: { min: "u128", @@ -4682,7 +4737,7 @@ export default { max: "Perbill", }, }, - /** Lookup469: pallet_parachain_staking::pallet::Error */ + /** Lookup467: pallet_parachain_staking::pallet::Error */ PalletParachainStakingError: { _enum: [ "DelegatorDNE", @@ -4742,11 +4797,11 @@ export default { "CurrentRoundTooLow", ], }, - /** Lookup470: pallet_author_inherent::pallet::Error */ + /** Lookup468: pallet_author_inherent::pallet::Error */ PalletAuthorInherentError: { _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"], }, - /** Lookup471: pallet_author_mapping::pallet::RegistrationInfo */ + /** Lookup469: pallet_author_mapping::pallet::RegistrationInfo */ PalletAuthorMappingRegistrationInfo: { _alias: { keys_: "keys", @@ -4755,7 +4810,7 @@ export default { deposit: "u128", keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", }, - /** Lookup472: pallet_author_mapping::pallet::Error */ + /** Lookup470: pallet_author_mapping::pallet::Error */ PalletAuthorMappingError: { _enum: [ "AssociationNotFound", @@ -4768,18 +4823,18 @@ export default { "DecodeKeysFailed", ], }, - /** Lookup473: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ + /** Lookup471: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ PalletMoonbeamOrbitersCollatorPoolInfo: { orbiters: "Vec", maybeCurrentOrbiter: "Option", nextOrbiter: "u32", }, - /** Lookup475: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ + /** Lookup473: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ PalletMoonbeamOrbitersCurrentOrbiter: { accountId: "AccountId20", removed: "bool", }, - /** Lookup476: pallet_moonbeam_orbiters::pallet::Error */ + /** Lookup474: pallet_moonbeam_orbiters::pallet::Error */ PalletMoonbeamOrbitersError: { _enum: [ "CollatorAlreadyAdded", @@ -4793,23 +4848,23 @@ export default { "OrbiterStillInAPool", ], }, - /** Lookup479: pallet_utility::pallet::Error */ + /** Lookup477: pallet_utility::pallet::Error */ PalletUtilityError: { _enum: ["TooManyCalls"], }, - /** Lookup482: pallet_proxy::ProxyDefinition */ + /** Lookup480: pallet_proxy::ProxyDefinition */ PalletProxyProxyDefinition: { delegate: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", delay: "u32", }, - /** Lookup486: pallet_proxy::Announcement */ + /** Lookup484: pallet_proxy::Announcement */ PalletProxyAnnouncement: { real: "AccountId20", callHash: "H256", height: "u32", }, - /** Lookup488: pallet_proxy::pallet::Error */ + /** Lookup486: pallet_proxy::pallet::Error */ PalletProxyError: { _enum: [ "TooMany", @@ -4822,12 +4877,12 @@ export default { "NoSelfProxy", ], }, - /** Lookup489: pallet_maintenance_mode::pallet::Error */ + /** Lookup487: pallet_maintenance_mode::pallet::Error */ PalletMaintenanceModeError: { _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"], }, /** - * Lookup491: pallet_identity::types::Registration> */ PalletIdentityRegistration: { @@ -4835,21 +4890,21 @@ export default { deposit: "u128", info: "PalletIdentityLegacyIdentityInfo", }, - /** Lookup500: pallet_identity::types::RegistrarInfo */ + /** Lookup498: pallet_identity::types::RegistrarInfo */ PalletIdentityRegistrarInfo: { account: "AccountId20", fee: "u128", fields: "u64", }, /** - * Lookup502: + * Lookup500: * pallet_identity::types::AuthorityProperties> */ PalletIdentityAuthorityProperties: { suffix: "Bytes", allocation: "u32", }, - /** Lookup505: pallet_identity::pallet::Error */ + /** Lookup503: pallet_identity::pallet::Error */ PalletIdentityError: { _enum: [ "TooManySubAccounts", @@ -4880,18 +4935,18 @@ export default { "NotExpired", ], }, - /** Lookup506: pallet_migrations::pallet::Error */ + /** Lookup504: pallet_migrations::pallet::Error */ PalletMigrationsError: { _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"], }, - /** Lookup508: pallet_multisig::Multisig */ + /** Lookup506: pallet_multisig::Multisig */ PalletMultisigMultisig: { when: "PalletMultisigTimepoint", deposit: "u128", depositor: "AccountId20", approvals: "Vec", }, - /** Lookup510: pallet_multisig::pallet::Error */ + /** Lookup508: pallet_multisig::pallet::Error */ PalletMultisigError: { _enum: [ "MinimumThreshold", @@ -4910,11 +4965,11 @@ export default { "AlreadyStored", ], }, - /** Lookup511: pallet_moonbeam_lazy_migrations::pallet::Error */ + /** Lookup509: pallet_moonbeam_lazy_migrations::pallet::Error */ PalletMoonbeamLazyMigrationsError: { _enum: ["LimitCannotBeZero", "AddressesLengthCannotBeZero", "ContractNotCorrupted"], }, - /** Lookup512: pallet_evm::CodeMetadata */ + /** Lookup510: pallet_evm::CodeMetadata */ PalletEvmCodeMetadata: { _alias: { size_: "size", @@ -4923,7 +4978,7 @@ export default { size_: "u64", hash_: "H256", }, - /** Lookup514: pallet_evm::pallet::Error */ + /** Lookup512: pallet_evm::pallet::Error */ PalletEvmError: { _enum: [ "BalanceLow", @@ -4938,11 +4993,10 @@ export default { "InvalidSignature", "Reentrancy", "TransactionMustComeFromEOA", - "InvalidTransaction", "Undefined", ], }, - /** Lookup517: fp_rpc::TransactionStatus */ + /** Lookup515: fp_rpc::TransactionStatus */ FpRpcTransactionStatus: { transactionHash: "H256", transactionIndex: "u32", @@ -4952,9 +5006,9 @@ export default { logs: "Vec", logsBloom: "EthbloomBloom", }, - /** Lookup520: ethbloom::Bloom */ + /** Lookup518: ethbloom::Bloom */ EthbloomBloom: "[u8;256]", - /** Lookup522: ethereum::receipt::ReceiptV3 */ + /** Lookup520: ethereum::receipt::ReceiptV3 */ EthereumReceiptReceiptV3: { _enum: { Legacy: "EthereumReceiptEip658ReceiptData", @@ -4962,7 +5016,7 @@ export default { EIP1559: "EthereumReceiptEip658ReceiptData", }, }, - /** Lookup523: ethereum::receipt::EIP658ReceiptData */ + /** Lookup521: ethereum::receipt::EIP658ReceiptData */ EthereumReceiptEip658ReceiptData: { statusCode: "u8", usedGas: "U256", @@ -4970,7 +5024,7 @@ export default { logs: "Vec", }, /** - * Lookup524: + * Lookup522: * ethereum::block::Block[ethereum::transaction::TransactionV2](ethereum::transaction::TransactionV2) */ EthereumBlock: { @@ -4978,7 +5032,7 @@ export default { transactions: "Vec", ommers: "Vec", }, - /** Lookup525: ethereum::header::Header */ + /** Lookup523: ethereum::header::Header */ EthereumHeader: { parentHash: "H256", ommersHash: "H256", @@ -4996,14 +5050,14 @@ export default { mixHash: "H256", nonce: "EthereumTypesHashH64", }, - /** Lookup526: ethereum_types::hash::H64 */ + /** Lookup524: ethereum_types::hash::H64 */ EthereumTypesHashH64: "[u8;8]", - /** Lookup531: pallet_ethereum::pallet::Error */ + /** Lookup529: pallet_ethereum::pallet::Error */ PalletEthereumError: { _enum: ["InvalidSignature", "PreLogExists"], }, /** - * Lookup534: pallet_scheduler::Scheduled, BlockNumber, moonbeam_runtime::OriginCaller, account::AccountId20> */ @@ -5014,7 +5068,13 @@ export default { maybePeriodic: "Option<(u32,u32)>", origin: "MoonbeamRuntimeOriginCaller", }, - /** Lookup536: pallet_scheduler::pallet::Error */ + /** Lookup534: pallet_scheduler::RetryConfig */ + PalletSchedulerRetryConfig: { + totalRetries: "u8", + remaining: "u8", + period: "u32", + }, + /** Lookup535: pallet_scheduler::pallet::Error */ PalletSchedulerError: { _enum: [ "FailedToSchedule", @@ -5024,7 +5084,7 @@ export default { "Named", ], }, - /** Lookup537: pallet_preimage::OldRequestStatus */ + /** Lookup536: pallet_preimage::OldRequestStatus */ PalletPreimageOldRequestStatus: { _enum: { Unrequested: { @@ -5039,7 +5099,7 @@ export default { }, }, /** - * Lookup540: pallet_preimage::RequestStatus> */ PalletPreimageRequestStatus: { @@ -5055,7 +5115,7 @@ export default { }, }, }, - /** Lookup546: pallet_preimage::pallet::Error */ + /** Lookup545: pallet_preimage::pallet::Error */ PalletPreimageError: { _enum: [ "TooBig", @@ -5069,7 +5129,7 @@ export default { ], }, /** - * Lookup548: pallet_conviction_voting::vote::Voting */ PalletConvictionVotingVoteVoting: { @@ -5078,20 +5138,20 @@ export default { Delegating: "PalletConvictionVotingVoteDelegating", }, }, - /** Lookup549: pallet_conviction_voting::vote::Casting */ + /** Lookup548: pallet_conviction_voting::vote::Casting */ PalletConvictionVotingVoteCasting: { votes: "Vec<(u32,PalletConvictionVotingVoteAccountVote)>", delegations: "PalletConvictionVotingDelegations", prior: "PalletConvictionVotingVotePriorLock", }, - /** Lookup553: pallet_conviction_voting::types::Delegations */ + /** Lookup552: pallet_conviction_voting::types::Delegations */ PalletConvictionVotingDelegations: { votes: "u128", capital: "u128", }, - /** Lookup554: pallet_conviction_voting::vote::PriorLock */ + /** Lookup553: pallet_conviction_voting::vote::PriorLock */ PalletConvictionVotingVotePriorLock: "(u32,u128)", - /** Lookup555: pallet_conviction_voting::vote::Delegating */ + /** Lookup554: pallet_conviction_voting::vote::Delegating */ PalletConvictionVotingVoteDelegating: { balance: "u128", target: "AccountId20", @@ -5099,7 +5159,7 @@ export default { delegations: "PalletConvictionVotingDelegations", prior: "PalletConvictionVotingVotePriorLock", }, - /** Lookup559: pallet_conviction_voting::pallet::Error */ + /** Lookup558: pallet_conviction_voting::pallet::Error */ PalletConvictionVotingError: { _enum: [ "NotOngoing", @@ -5117,7 +5177,7 @@ export default { ], }, /** - * Lookup560: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> @@ -5133,7 +5193,7 @@ export default { }, }, /** - * Lookup561: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> @@ -5151,17 +5211,17 @@ export default { inQueue: "bool", alarm: "Option<(u32,(u32,u32))>", }, - /** Lookup562: pallet_referenda::types::Deposit */ + /** Lookup561: pallet_referenda::types::Deposit */ PalletReferendaDeposit: { who: "AccountId20", amount: "u128", }, - /** Lookup565: pallet_referenda::types::DecidingStatus */ + /** Lookup564: pallet_referenda::types::DecidingStatus */ PalletReferendaDecidingStatus: { since: "u32", confirming: "Option", }, - /** Lookup573: pallet_referenda::types::TrackInfo */ + /** Lookup572: pallet_referenda::types::TrackInfo */ PalletReferendaTrackInfo: { name: "Text", maxDeciding: "u32", @@ -5173,7 +5233,7 @@ export default { minApproval: "PalletReferendaCurve", minSupport: "PalletReferendaCurve", }, - /** Lookup574: pallet_referenda::types::Curve */ + /** Lookup573: pallet_referenda::types::Curve */ PalletReferendaCurve: { _enum: { LinearDecreasing: { @@ -5194,7 +5254,7 @@ export default { }, }, }, - /** Lookup577: pallet_referenda::pallet::Error */ + /** Lookup576: pallet_referenda::pallet::Error */ PalletReferendaError: { _enum: [ "NotOngoing", @@ -5210,9 +5270,10 @@ export default { "NoDeposit", "BadStatus", "PreimageNotExist", + "PreimageStoredWithDifferentLength", ], }, - /** Lookup578: pallet_whitelist::pallet::Error */ + /** Lookup577: pallet_whitelist::pallet::Error */ PalletWhitelistError: { _enum: [ "UnavailablePreImage", @@ -5222,7 +5283,7 @@ export default { "CallAlreadyWhitelisted", ], }, - /** Lookup580: pallet_collective::Votes */ + /** Lookup579: pallet_collective::Votes */ PalletCollectiveVotes: { index: "u32", threshold: "u32", @@ -5230,7 +5291,7 @@ export default { nays: "Vec", end: "u32", }, - /** Lookup581: pallet_collective::pallet::Error */ + /** Lookup580: pallet_collective::pallet::Error */ PalletCollectiveError: { _enum: [ "NotMember", @@ -5246,7 +5307,7 @@ export default { "PrimeAccountNotMember", ], }, - /** Lookup584: pallet_treasury::Proposal */ + /** Lookup583: pallet_treasury::Proposal */ PalletTreasuryProposal: { proposer: "AccountId20", value: "u128", @@ -5254,7 +5315,7 @@ export default { bond: "u128", }, /** - * Lookup587: pallet_treasury::SpendStatus */ PalletTreasurySpendStatus: { @@ -5265,7 +5326,7 @@ export default { expireAt: "u32", status: "PalletTreasuryPaymentState", }, - /** Lookup588: pallet_treasury::PaymentState */ + /** Lookup587: pallet_treasury::PaymentState */ PalletTreasuryPaymentState: { _enum: { Pending: "Null", @@ -5275,9 +5336,9 @@ export default { Failed: "Null", }, }, - /** Lookup590: frame_support::PalletId */ + /** Lookup589: frame_support::PalletId */ FrameSupportPalletId: "[u8;8]", - /** Lookup591: pallet_treasury::pallet::Error */ + /** Lookup590: pallet_treasury::pallet::Error */ PalletTreasuryError: { _enum: [ "InsufficientProposersBalance", @@ -5294,13 +5355,13 @@ export default { "Inconclusive", ], }, - /** Lookup592: pallet_crowdloan_rewards::pallet::RewardInfo */ + /** Lookup591: pallet_crowdloan_rewards::pallet::RewardInfo */ PalletCrowdloanRewardsRewardInfo: { totalReward: "u128", claimedReward: "u128", contributedRelayAddresses: "Vec<[u8;32]>", }, - /** Lookup594: pallet_crowdloan_rewards::pallet::Error */ + /** Lookup593: pallet_crowdloan_rewards::pallet::Error */ PalletCrowdloanRewardsError: { _enum: [ "AlreadyAssociated", @@ -5320,7 +5381,7 @@ export default { "InsufficientNumberOfValidProofs", ], }, - /** Lookup599: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ + /** Lookup598: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: "u32", state: "CumulusPalletXcmpQueueOutboundState", @@ -5328,21 +5389,21 @@ export default { firstIndex: "u16", lastIndex: "u16", }, - /** Lookup600: cumulus_pallet_xcmp_queue::OutboundState */ + /** Lookup599: cumulus_pallet_xcmp_queue::OutboundState */ CumulusPalletXcmpQueueOutboundState: { _enum: ["Ok", "Suspended"], }, - /** Lookup602: cumulus_pallet_xcmp_queue::QueueConfigData */ + /** Lookup601: cumulus_pallet_xcmp_queue::QueueConfigData */ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: "u32", dropThreshold: "u32", resumeThreshold: "u32", }, - /** Lookup603: cumulus_pallet_xcmp_queue::pallet::Error */ + /** Lookup602: cumulus_pallet_xcmp_queue::pallet::Error */ CumulusPalletXcmpQueueError: { _enum: ["BadQueueConfig", "AlreadySuspended", "AlreadyResumed"], }, - /** Lookup604: cumulus_pallet_dmp_queue::pallet::MigrationState */ + /** Lookup603: cumulus_pallet_dmp_queue::pallet::MigrationState */ CumulusPalletDmpQueueMigrationState: { _enum: { NotStarted: "Null", @@ -5360,7 +5421,7 @@ export default { Completed: "Null", }, }, - /** Lookup607: pallet_xcm::pallet::QueryStatus */ + /** Lookup606: pallet_xcm::pallet::QueryStatus */ PalletXcmQueryStatus: { _enum: { Pending: { @@ -5379,7 +5440,7 @@ export default { }, }, }, - /** Lookup611: xcm::VersionedResponse */ + /** Lookup610: xcm::VersionedResponse */ XcmVersionedResponse: { _enum: { __Unused0: "Null", @@ -5389,7 +5450,7 @@ export default { V4: "StagingXcmV4Response", }, }, - /** Lookup617: pallet_xcm::pallet::VersionMigrationStage */ + /** Lookup616: pallet_xcm::pallet::VersionMigrationStage */ PalletXcmVersionMigrationStage: { _enum: { MigrateSupportedVersion: "Null", @@ -5398,24 +5459,14 @@ export default { MigrateAndNotifyOldTargets: "Null", }, }, - /** Lookup620: xcm::VersionedAssetId */ - XcmVersionedAssetId: { - _enum: { - __Unused0: "Null", - __Unused1: "Null", - __Unused2: "Null", - V3: "XcmV3MultiassetAssetId", - V4: "StagingXcmV4AssetAssetId", - }, - }, - /** Lookup621: pallet_xcm::pallet::RemoteLockedFungibleRecord */ + /** Lookup619: pallet_xcm::pallet::RemoteLockedFungibleRecord */ PalletXcmRemoteLockedFungibleRecord: { amount: "u128", owner: "XcmVersionedLocation", locker: "XcmVersionedLocation", consumers: "Vec<(Null,u128)>", }, - /** Lookup628: pallet_xcm::pallet::Error */ + /** Lookup626: pallet_xcm::pallet::Error */ PalletXcmError: { _enum: [ "Unreachable", @@ -5438,14 +5489,14 @@ export default { "FeesNotMet", "LockNotFound", "InUse", - "InvalidAssetNotConcrete", + "__Unused20", "InvalidAssetUnknownReserve", "InvalidAssetUnsupportedReserve", "TooManyReserves", "LocalExecutionIncomplete", ], }, - /** Lookup629: pallet_assets::types::AssetDetails */ + /** Lookup627: pallet_assets::types::AssetDetails */ PalletAssetsAssetDetails: { owner: "AccountId20", issuer: "AccountId20", @@ -5460,22 +5511,22 @@ export default { approvals: "u32", status: "PalletAssetsAssetStatus", }, - /** Lookup630: pallet_assets::types::AssetStatus */ + /** Lookup628: pallet_assets::types::AssetStatus */ PalletAssetsAssetStatus: { _enum: ["Live", "Frozen", "Destroying"], }, - /** Lookup632: pallet_assets::types::AssetAccount */ + /** Lookup630: pallet_assets::types::AssetAccount */ PalletAssetsAssetAccount: { balance: "u128", status: "PalletAssetsAccountStatus", reason: "PalletAssetsExistenceReason", extra: "Null", }, - /** Lookup633: pallet_assets::types::AccountStatus */ + /** Lookup631: pallet_assets::types::AccountStatus */ PalletAssetsAccountStatus: { _enum: ["Liquid", "Frozen", "Blocked"], }, - /** Lookup634: pallet_assets::types::ExistenceReason */ + /** Lookup632: pallet_assets::types::ExistenceReason */ PalletAssetsExistenceReason: { _enum: { Consumer: "Null", @@ -5485,13 +5536,13 @@ export default { DepositFrom: "(AccountId20,u128)", }, }, - /** Lookup636: pallet_assets::types::Approval */ + /** Lookup634: pallet_assets::types::Approval */ PalletAssetsApproval: { amount: "u128", deposit: "u128", }, /** - * Lookup637: pallet_assets::types::AssetMetadata> */ PalletAssetsAssetMetadata: { @@ -5501,7 +5552,7 @@ export default { decimals: "u8", isFrozen: "bool", }, - /** Lookup639: pallet_assets::pallet::Error */ + /** Lookup637: pallet_assets::pallet::Error */ PalletAssetsError: { _enum: [ "BalanceLow", @@ -5526,7 +5577,7 @@ export default { "CallbackFailed", ], }, - /** Lookup641: pallet_asset_manager::pallet::Error */ + /** Lookup639: pallet_asset_manager::pallet::Error */ PalletAssetManagerError: { _enum: [ "ErrorCreatingAsset", @@ -5539,7 +5590,7 @@ export default { "NonExistentLocalAsset", ], }, - /** Lookup642: orml_xtokens::module::Error */ + /** Lookup640: orml_xtokens::module::Error */ OrmlXtokensModuleError: { _enum: [ "AssetHasNoReserve", @@ -5561,9 +5612,10 @@ export default { "FeeNotEnough", "NotSupportedLocation", "MinXcmFeeNotDefined", + "RateLimited", ], }, - /** Lookup643: pallet_xcm_transactor::relay_indices::RelayChainIndices */ + /** Lookup641: pallet_xcm_transactor::relay_indices::RelayChainIndices */ PalletXcmTransactorRelayIndicesRelayChainIndices: { staking: "u8", utility: "u8", @@ -5584,7 +5636,7 @@ export default { closeChannel: "u8", cancelOpenRequest: "u8", }, - /** Lookup644: pallet_xcm_transactor::pallet::Error */ + /** Lookup642: pallet_xcm_transactor::pallet::Error */ PalletXcmTransactorError: { _enum: [ "IndexAlreadyClaimed", @@ -5616,11 +5668,11 @@ export default { "RefundNotSupportedWithTransactInfo", ], }, - /** Lookup645: pallet_ethereum_xcm::pallet::Error */ + /** Lookup643: pallet_ethereum_xcm::pallet::Error */ PalletEthereumXcmError: { _enum: ["EthereumXcmExecutionSuspended"], }, - /** Lookup646: pallet_message_queue::BookState */ + /** Lookup644: pallet_message_queue::BookState */ PalletMessageQueueBookState: { _alias: { size_: "size", @@ -5632,12 +5684,12 @@ export default { messageCount: "u64", size_: "u64", }, - /** Lookup648: pallet_message_queue::Neighbours */ + /** Lookup646: pallet_message_queue::Neighbours */ PalletMessageQueueNeighbours: { prev: "CumulusPrimitivesCoreAggregateMessageOrigin", next: "CumulusPrimitivesCoreAggregateMessageOrigin", }, - /** Lookup650: pallet_message_queue::Page */ + /** Lookup648: pallet_message_queue::Page */ PalletMessageQueuePage: { remaining: "u32", remainingSize: "u32", @@ -5646,7 +5698,7 @@ export default { last: "u32", heap: "Bytes", }, - /** Lookup652: pallet_message_queue::pallet::Error */ + /** Lookup650: pallet_message_queue::pallet::Error */ PalletMessageQueueError: { _enum: [ "NotReapable", @@ -5660,16 +5712,16 @@ export default { "RecursiveDisallowed", ], }, - /** Lookup654: pallet_precompile_benchmarks::pallet::Error */ + /** Lookup652: pallet_precompile_benchmarks::pallet::Error */ PalletPrecompileBenchmarksError: { _enum: ["BenchmarkError"], }, - /** Lookup655: pallet_randomness::types::RequestState */ + /** Lookup653: pallet_randomness::types::RequestState */ PalletRandomnessRequestState: { request: "PalletRandomnessRequest", deposit: "u128", }, - /** Lookup656: pallet_randomness::types::Request> */ + /** Lookup654: pallet_randomness::types::Request> */ PalletRandomnessRequest: { refundAddress: "H160", contractAddress: "H160", @@ -5679,26 +5731,26 @@ export default { salt: "H256", info: "PalletRandomnessRequestInfo", }, - /** Lookup657: pallet_randomness::types::RequestInfo */ + /** Lookup655: pallet_randomness::types::RequestInfo */ PalletRandomnessRequestInfo: { _enum: { BabeEpoch: "(u64,u64)", Local: "(u32,u32)", }, }, - /** Lookup658: pallet_randomness::types::RequestType */ + /** Lookup656: pallet_randomness::types::RequestType */ PalletRandomnessRequestType: { _enum: { BabeEpoch: "u64", Local: "u32", }, }, - /** Lookup659: pallet_randomness::types::RandomnessResult */ + /** Lookup657: pallet_randomness::types::RandomnessResult */ PalletRandomnessRandomnessResult: { randomness: "Option", requestCount: "u64", }, - /** Lookup660: pallet_randomness::pallet::Error */ + /** Lookup658: pallet_randomness::pallet::Error */ PalletRandomnessError: { _enum: [ "RequestCounterOverflowed", @@ -5715,20 +5767,20 @@ export default { "RandomnessResultNotFilled", ], }, - /** Lookup663: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ + /** Lookup661: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ FrameSystemExtensionsCheckNonZeroSender: "Null", - /** Lookup664: frame_system::extensions::check_spec_version::CheckSpecVersion */ + /** Lookup662: frame_system::extensions::check_spec_version::CheckSpecVersion */ FrameSystemExtensionsCheckSpecVersion: "Null", - /** Lookup665: frame_system::extensions::check_tx_version::CheckTxVersion */ + /** Lookup663: frame_system::extensions::check_tx_version::CheckTxVersion */ FrameSystemExtensionsCheckTxVersion: "Null", - /** Lookup666: frame_system::extensions::check_genesis::CheckGenesis */ + /** Lookup664: frame_system::extensions::check_genesis::CheckGenesis */ FrameSystemExtensionsCheckGenesis: "Null", - /** Lookup669: frame_system::extensions::check_nonce::CheckNonce */ + /** Lookup667: frame_system::extensions::check_nonce::CheckNonce */ FrameSystemExtensionsCheckNonce: "Compact", - /** Lookup670: frame_system::extensions::check_weight::CheckWeight */ + /** Lookup668: frame_system::extensions::check_weight::CheckWeight */ FrameSystemExtensionsCheckWeight: "Null", - /** Lookup671: pallet_transaction_payment::ChargeTransactionPayment */ + /** Lookup669: pallet_transaction_payment::ChargeTransactionPayment */ PalletTransactionPaymentChargeTransactionPayment: "Compact", - /** Lookup673: moonbeam_runtime::Runtime */ + /** Lookup671: moonbeam_runtime::Runtime */ MoonbeamRuntimeRuntime: "Null", }; diff --git a/typescript-api/src/moonbeam/interfaces/registry.ts b/typescript-api/src/moonbeam/interfaces/registry.ts index 8b74d4009f..6e769d8d20 100644 --- a/typescript-api/src/moonbeam/interfaces/registry.ts +++ b/typescript-api/src/moonbeam/interfaces/registry.ts @@ -241,6 +241,7 @@ import type { PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, + PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletTimestampCall, PalletTransactionPaymentChargeTransactionPayment, @@ -279,18 +280,14 @@ import type { PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, - PolkadotPrimitivesV6AbridgedHostConfiguration, - PolkadotPrimitivesV6AbridgedHrmpChannel, - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, - PolkadotPrimitivesV6PersistedValidationData, - PolkadotPrimitivesV6UpgradeGoAhead, - PolkadotPrimitivesV6UpgradeRestriction, + PolkadotPrimitivesV7AbridgedHostConfiguration, + PolkadotPrimitivesV7AbridgedHrmpChannel, + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams, + PolkadotPrimitivesV7PersistedValidationData, + PolkadotPrimitivesV7UpgradeGoAhead, + PolkadotPrimitivesV7UpgradeRestriction, SessionKeysPrimitivesVrfVrfCryptoPublic, SpArithmeticArithmeticError, - SpCoreEcdsaSignature, - SpCoreEd25519Signature, - SpCoreSr25519Public, - SpCoreSr25519Signature, SpCoreVoid, SpRuntimeBlakeTwo256, SpRuntimeDigest, @@ -305,6 +302,7 @@ import type { SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, + StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, @@ -616,6 +614,7 @@ declare module "@polkadot/types/types/registry" { PalletSchedulerCall: PalletSchedulerCall; PalletSchedulerError: PalletSchedulerError; PalletSchedulerEvent: PalletSchedulerEvent; + PalletSchedulerRetryConfig: PalletSchedulerRetryConfig; PalletSchedulerScheduled: PalletSchedulerScheduled; PalletTimestampCall: PalletTimestampCall; PalletTransactionPaymentChargeTransactionPayment: PalletTransactionPaymentChargeTransactionPayment; @@ -654,18 +653,14 @@ declare module "@polkadot/types/types/registry" { PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; PolkadotParachainPrimitivesPrimitivesHrmpChannelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId; - PolkadotPrimitivesV6AbridgedHostConfiguration: PolkadotPrimitivesV6AbridgedHostConfiguration; - PolkadotPrimitivesV6AbridgedHrmpChannel: PolkadotPrimitivesV6AbridgedHrmpChannel; - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams: PolkadotPrimitivesV6AsyncBackingAsyncBackingParams; - PolkadotPrimitivesV6PersistedValidationData: PolkadotPrimitivesV6PersistedValidationData; - PolkadotPrimitivesV6UpgradeGoAhead: PolkadotPrimitivesV6UpgradeGoAhead; - PolkadotPrimitivesV6UpgradeRestriction: PolkadotPrimitivesV6UpgradeRestriction; + PolkadotPrimitivesV7AbridgedHostConfiguration: PolkadotPrimitivesV7AbridgedHostConfiguration; + PolkadotPrimitivesV7AbridgedHrmpChannel: PolkadotPrimitivesV7AbridgedHrmpChannel; + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; + PolkadotPrimitivesV7PersistedValidationData: PolkadotPrimitivesV7PersistedValidationData; + PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead; + PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction; SessionKeysPrimitivesVrfVrfCryptoPublic: SessionKeysPrimitivesVrfVrfCryptoPublic; SpArithmeticArithmeticError: SpArithmeticArithmeticError; - SpCoreEcdsaSignature: SpCoreEcdsaSignature; - SpCoreEd25519Signature: SpCoreEd25519Signature; - SpCoreSr25519Public: SpCoreSr25519Public; - SpCoreSr25519Signature: SpCoreSr25519Signature; SpCoreVoid: SpCoreVoid; SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256; SpRuntimeDigest: SpRuntimeDigest; @@ -680,6 +675,7 @@ declare module "@polkadot/types/types/registry" { SpVersionRuntimeVersion: SpVersionRuntimeVersion; SpWeightsRuntimeDbWeight: SpWeightsRuntimeDbWeight; SpWeightsWeightV2Weight: SpWeightsWeightV2Weight; + StagingXcmExecutorAssetTransferTransferType: StagingXcmExecutorAssetTransferTransferType; StagingXcmV3MultiLocation: StagingXcmV3MultiLocation; StagingXcmV4Asset: StagingXcmV4Asset; StagingXcmV4AssetAssetFilter: StagingXcmV4AssetAssetFilter; diff --git a/typescript-api/src/moonbeam/interfaces/types-lookup.ts b/typescript-api/src/moonbeam/interfaces/types-lookup.ts index 9da5abdd7c..466a510e3c 100644 --- a/typescript-api/src/moonbeam/interfaces/types-lookup.ts +++ b/typescript-api/src/moonbeam/interfaces/types-lookup.ts @@ -58,25 +58,25 @@ declare module "@polkadot/types/lookup" { readonly flags: u128; } - /** @name FrameSupportDispatchPerDispatchClassWeight (8) */ + /** @name FrameSupportDispatchPerDispatchClassWeight (9) */ interface FrameSupportDispatchPerDispatchClassWeight extends Struct { readonly normal: SpWeightsWeightV2Weight; readonly operational: SpWeightsWeightV2Weight; readonly mandatory: SpWeightsWeightV2Weight; } - /** @name SpWeightsWeightV2Weight (9) */ + /** @name SpWeightsWeightV2Weight (10) */ interface SpWeightsWeightV2Weight extends Struct { readonly refTime: Compact; readonly proofSize: Compact; } - /** @name SpRuntimeDigest (15) */ + /** @name SpRuntimeDigest (16) */ interface SpRuntimeDigest extends Struct { readonly logs: Vec; } - /** @name SpRuntimeDigestDigestItem (17) */ + /** @name SpRuntimeDigestDigestItem (18) */ interface SpRuntimeDigestDigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; @@ -90,14 +90,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Other" | "Consensus" | "Seal" | "PreRuntime" | "RuntimeEnvironmentUpdated"; } - /** @name FrameSystemEventRecord (20) */ + /** @name FrameSystemEventRecord (21) */ interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec; } - /** @name FrameSystemEvent (22) */ + /** @name FrameSystemEvent (23) */ interface FrameSystemEvent extends Enum { readonly isExtrinsicSuccess: boolean; readonly asExtrinsicSuccess: { @@ -137,14 +137,14 @@ declare module "@polkadot/types/lookup" { | "UpgradeAuthorized"; } - /** @name FrameSupportDispatchDispatchInfo (23) */ + /** @name FrameSupportDispatchDispatchInfo (24) */ interface FrameSupportDispatchDispatchInfo extends Struct { readonly weight: SpWeightsWeightV2Weight; readonly class: FrameSupportDispatchDispatchClass; readonly paysFee: FrameSupportDispatchPays; } - /** @name FrameSupportDispatchDispatchClass (24) */ + /** @name FrameSupportDispatchDispatchClass (25) */ interface FrameSupportDispatchDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; @@ -152,14 +152,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Normal" | "Operational" | "Mandatory"; } - /** @name FrameSupportDispatchPays (25) */ + /** @name FrameSupportDispatchPays (26) */ interface FrameSupportDispatchPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: "Yes" | "No"; } - /** @name SpRuntimeDispatchError (26) */ + /** @name SpRuntimeDispatchError (27) */ interface SpRuntimeDispatchError extends Enum { readonly isOther: boolean; readonly isCannotLookup: boolean; @@ -196,13 +196,13 @@ declare module "@polkadot/types/lookup" { | "RootNotAllowed"; } - /** @name SpRuntimeModuleError (27) */ + /** @name SpRuntimeModuleError (28) */ interface SpRuntimeModuleError extends Struct { readonly index: u8; readonly error: U8aFixed; } - /** @name SpRuntimeTokenError (28) */ + /** @name SpRuntimeTokenError (29) */ interface SpRuntimeTokenError extends Enum { readonly isFundsUnavailable: boolean; readonly isOnlyProvider: boolean; @@ -227,7 +227,7 @@ declare module "@polkadot/types/lookup" { | "Blocked"; } - /** @name SpArithmeticArithmeticError (29) */ + /** @name SpArithmeticArithmeticError (30) */ interface SpArithmeticArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; @@ -235,7 +235,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Underflow" | "Overflow" | "DivisionByZero"; } - /** @name SpRuntimeTransactionalError (30) */ + /** @name SpRuntimeTransactionalError (31) */ interface SpRuntimeTransactionalError extends Enum { readonly isLimitReached: boolean; readonly isNoLayer: boolean; @@ -739,15 +739,12 @@ declare module "@polkadot/types/lookup" { } /** @name NimbusPrimitivesNimbusCryptoPublic (47) */ - interface NimbusPrimitivesNimbusCryptoPublic extends SpCoreSr25519Public {} + interface NimbusPrimitivesNimbusCryptoPublic extends U8aFixed {} - /** @name SpCoreSr25519Public (48) */ - interface SpCoreSr25519Public extends U8aFixed {} + /** @name SessionKeysPrimitivesVrfVrfCryptoPublic (48) */ + interface SessionKeysPrimitivesVrfVrfCryptoPublic extends U8aFixed {} - /** @name SessionKeysPrimitivesVrfVrfCryptoPublic (49) */ - interface SessionKeysPrimitivesVrfVrfCryptoPublic extends SpCoreSr25519Public {} - - /** @name PalletMoonbeamOrbitersEvent (50) */ + /** @name PalletMoonbeamOrbitersEvent (49) */ interface PalletMoonbeamOrbitersEvent extends Enum { readonly isOrbiterJoinCollatorPool: boolean; readonly asOrbiterJoinCollatorPool: { @@ -788,7 +785,7 @@ declare module "@polkadot/types/lookup" { | "OrbiterUnregistered"; } - /** @name PalletUtilityEvent (52) */ + /** @name PalletUtilityEvent (51) */ interface PalletUtilityEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { @@ -815,7 +812,7 @@ declare module "@polkadot/types/lookup" { | "DispatchedAs"; } - /** @name PalletProxyEvent (55) */ + /** @name PalletProxyEvent (54) */ interface PalletProxyEvent extends Enum { readonly isProxyExecuted: boolean; readonly asProxyExecuted: { @@ -851,7 +848,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ProxyExecuted" | "PureCreated" | "Announced" | "ProxyAdded" | "ProxyRemoved"; } - /** @name MoonbeamRuntimeProxyType (56) */ + /** @name MoonbeamRuntimeProxyType (55) */ interface MoonbeamRuntimeProxyType extends Enum { readonly isAny: boolean; readonly isNonTransfer: boolean; @@ -872,7 +869,7 @@ declare module "@polkadot/types/lookup" { | "IdentityJudgement"; } - /** @name PalletMaintenanceModeEvent (58) */ + /** @name PalletMaintenanceModeEvent (57) */ interface PalletMaintenanceModeEvent extends Enum { readonly isEnteredMaintenanceMode: boolean; readonly isNormalOperationResumed: boolean; @@ -891,7 +888,7 @@ declare module "@polkadot/types/lookup" { | "FailedToResumeIdleXcmExecution"; } - /** @name PalletIdentityEvent (59) */ + /** @name PalletIdentityEvent (58) */ interface PalletIdentityEvent extends Enum { readonly isIdentitySet: boolean; readonly asIdentitySet: { @@ -997,7 +994,7 @@ declare module "@polkadot/types/lookup" { | "DanglingUsernameRemoved"; } - /** @name PalletMigrationsEvent (61) */ + /** @name PalletMigrationsEvent (60) */ interface PalletMigrationsEvent extends Enum { readonly isRuntimeUpgradeStarted: boolean; readonly isRuntimeUpgradeCompleted: boolean; @@ -1030,7 +1027,7 @@ declare module "@polkadot/types/lookup" { | "FailedToResumeIdleXcmExecution"; } - /** @name PalletMultisigEvent (62) */ + /** @name PalletMultisigEvent (61) */ interface PalletMultisigEvent extends Enum { readonly isNewMultisig: boolean; readonly asNewMultisig: { @@ -1063,13 +1060,13 @@ declare module "@polkadot/types/lookup" { readonly type: "NewMultisig" | "MultisigApproval" | "MultisigExecuted" | "MultisigCancelled"; } - /** @name PalletMultisigTimepoint (63) */ + /** @name PalletMultisigTimepoint (62) */ interface PalletMultisigTimepoint extends Struct { readonly height: u32; readonly index: u32; } - /** @name PalletEvmEvent (64) */ + /** @name PalletEvmEvent (63) */ interface PalletEvmEvent extends Enum { readonly isLog: boolean; readonly asLog: { @@ -1094,14 +1091,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Log" | "Created" | "CreatedFailed" | "Executed" | "ExecutedFailed"; } - /** @name EthereumLog (65) */ + /** @name EthereumLog (64) */ interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec; readonly data: Bytes; } - /** @name PalletEthereumEvent (68) */ + /** @name PalletEthereumEvent (67) */ interface PalletEthereumEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: { @@ -1114,7 +1111,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Executed"; } - /** @name EvmCoreErrorExitReason (69) */ + /** @name EvmCoreErrorExitReason (68) */ interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; @@ -1127,7 +1124,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Succeed" | "Error" | "Revert" | "Fatal"; } - /** @name EvmCoreErrorExitSucceed (70) */ + /** @name EvmCoreErrorExitSucceed (69) */ interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; @@ -1135,7 +1132,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Stopped" | "Returned" | "Suicided"; } - /** @name EvmCoreErrorExitError (71) */ + /** @name EvmCoreErrorExitError (70) */ interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; @@ -1174,13 +1171,13 @@ declare module "@polkadot/types/lookup" { | "InvalidCode"; } - /** @name EvmCoreErrorExitRevert (75) */ + /** @name EvmCoreErrorExitRevert (74) */ interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: "Reverted"; } - /** @name EvmCoreErrorExitFatal (76) */ + /** @name EvmCoreErrorExitFatal (75) */ interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; @@ -1191,7 +1188,7 @@ declare module "@polkadot/types/lookup" { readonly type: "NotSupported" | "UnhandledInterrupt" | "CallErrorAsFatal" | "Other"; } - /** @name PalletSchedulerEvent (77) */ + /** @name PalletSchedulerEvent (76) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -1209,6 +1206,18 @@ declare module "@polkadot/types/lookup" { readonly id: Option; readonly result: Result; } & Struct; + readonly isRetrySet: boolean; + readonly asRetrySet: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + readonly period: u32; + readonly retries: u8; + } & Struct; + readonly isRetryCancelled: boolean; + readonly asRetryCancelled: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + } & Struct; readonly isCallUnavailable: boolean; readonly asCallUnavailable: { readonly task: ITuple<[u32, u32]>; @@ -1219,6 +1228,11 @@ declare module "@polkadot/types/lookup" { readonly task: ITuple<[u32, u32]>; readonly id: Option; } & Struct; + readonly isRetryFailed: boolean; + readonly asRetryFailed: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + } & Struct; readonly isPermanentlyOverweight: boolean; readonly asPermanentlyOverweight: { readonly task: ITuple<[u32, u32]>; @@ -1228,12 +1242,15 @@ declare module "@polkadot/types/lookup" { | "Scheduled" | "Canceled" | "Dispatched" + | "RetrySet" + | "RetryCancelled" | "CallUnavailable" | "PeriodicFailed" + | "RetryFailed" | "PermanentlyOverweight"; } - /** @name PalletPreimageEvent (79) */ + /** @name PalletPreimageEvent (78) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -1250,7 +1267,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Noted" | "Requested" | "Cleared"; } - /** @name PalletConvictionVotingEvent (80) */ + /** @name PalletConvictionVotingEvent (79) */ interface PalletConvictionVotingEvent extends Enum { readonly isDelegated: boolean; readonly asDelegated: ITuple<[AccountId20, AccountId20]>; @@ -1259,7 +1276,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Delegated" | "Undelegated"; } - /** @name PalletReferendaEvent (81) */ + /** @name PalletReferendaEvent (80) */ interface PalletReferendaEvent extends Enum { readonly isSubmitted: boolean; readonly asSubmitted: { @@ -1363,7 +1380,7 @@ declare module "@polkadot/types/lookup" { | "MetadataCleared"; } - /** @name FrameSupportPreimagesBounded (82) */ + /** @name FrameSupportPreimagesBounded (81) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -1379,7 +1396,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Inline" | "Lookup"; } - /** @name FrameSystemCall (84) */ + /** @name FrameSystemCall (83) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -1440,7 +1457,7 @@ declare module "@polkadot/types/lookup" { | "ApplyAuthorizedUpgrade"; } - /** @name CumulusPalletParachainSystemCall (88) */ + /** @name CumulusPalletParachainSystemCall (87) */ interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { @@ -1466,40 +1483,40 @@ declare module "@polkadot/types/lookup" { | "EnactAuthorizedUpgrade"; } - /** @name CumulusPrimitivesParachainInherentParachainInherentData (89) */ + /** @name CumulusPrimitivesParachainInherentParachainInherentData (88) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV6PersistedValidationData; + readonly validationData: PolkadotPrimitivesV7PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotPrimitivesV6PersistedValidationData (90) */ - interface PolkadotPrimitivesV6PersistedValidationData extends Struct { + /** @name PolkadotPrimitivesV7PersistedValidationData (89) */ + interface PolkadotPrimitivesV7PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; readonly maxPovSize: u32; } - /** @name SpTrieStorageProof (92) */ + /** @name SpTrieStorageProof (91) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (95) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (94) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (99) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (98) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name PalletTimestampCall (102) */ + /** @name PalletTimestampCall (101) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -1508,7 +1525,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Set"; } - /** @name PalletRootTestingCall (103) */ + /** @name PalletRootTestingCall (102) */ interface PalletRootTestingCall extends Enum { readonly isFillBlock: boolean; readonly asFillBlock: { @@ -1518,7 +1535,7 @@ declare module "@polkadot/types/lookup" { readonly type: "FillBlock" | "TriggerDefensive"; } - /** @name PalletBalancesCall (104) */ + /** @name PalletBalancesCall (103) */ interface PalletBalancesCall extends Enum { readonly isTransferAllowDeath: boolean; readonly asTransferAllowDeath: { @@ -1571,14 +1588,14 @@ declare module "@polkadot/types/lookup" { | "ForceAdjustTotalIssuance"; } - /** @name PalletBalancesAdjustmentDirection (107) */ + /** @name PalletBalancesAdjustmentDirection (106) */ interface PalletBalancesAdjustmentDirection extends Enum { readonly isIncrease: boolean; readonly isDecrease: boolean; readonly type: "Increase" | "Decrease"; } - /** @name PalletParachainStakingCall (108) */ + /** @name PalletParachainStakingCall (107) */ interface PalletParachainStakingCall extends Enum { readonly isSetStakingExpectations: boolean; readonly asSetStakingExpectations: { @@ -1751,13 +1768,13 @@ declare module "@polkadot/types/lookup" { | "ForceJoinCandidates"; } - /** @name PalletAuthorInherentCall (111) */ + /** @name PalletAuthorInherentCall (110) */ interface PalletAuthorInherentCall extends Enum { readonly isKickOffAuthorshipValidation: boolean; readonly type: "KickOffAuthorshipValidation"; } - /** @name PalletAuthorSlotFilterCall (112) */ + /** @name PalletAuthorSlotFilterCall (111) */ interface PalletAuthorSlotFilterCall extends Enum { readonly isSetEligible: boolean; readonly asSetEligible: { @@ -1766,7 +1783,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetEligible"; } - /** @name PalletAuthorMappingCall (113) */ + /** @name PalletAuthorMappingCall (112) */ interface PalletAuthorMappingCall extends Enum { readonly isAddAssociation: boolean; readonly asAddAssociation: { @@ -1794,7 +1811,7 @@ declare module "@polkadot/types/lookup" { | "SetKeys"; } - /** @name PalletMoonbeamOrbitersCall (114) */ + /** @name PalletMoonbeamOrbitersCall (113) */ interface PalletMoonbeamOrbitersCall extends Enum { readonly isCollatorAddOrbiter: boolean; readonly asCollatorAddOrbiter: { @@ -1831,7 +1848,7 @@ declare module "@polkadot/types/lookup" { | "RemoveCollator"; } - /** @name PalletUtilityCall (115) */ + /** @name PalletUtilityCall (114) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -1869,7 +1886,7 @@ declare module "@polkadot/types/lookup" { | "WithWeight"; } - /** @name MoonbeamRuntimeOriginCaller (117) */ + /** @name MoonbeamRuntimeOriginCaller (116) */ interface MoonbeamRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -1900,7 +1917,7 @@ declare module "@polkadot/types/lookup" { | "EthereumXcm"; } - /** @name FrameSupportDispatchRawOrigin (118) */ + /** @name FrameSupportDispatchRawOrigin (117) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -1909,14 +1926,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Root" | "Signed" | "None"; } - /** @name PalletEthereumRawOrigin (119) */ + /** @name PalletEthereumRawOrigin (118) */ interface PalletEthereumRawOrigin extends Enum { readonly isEthereumTransaction: boolean; readonly asEthereumTransaction: H160; readonly type: "EthereumTransaction"; } - /** @name MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin (120) */ + /** @name MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin (119) */ interface MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin extends Enum { readonly isWhitelistedCaller: boolean; readonly isGeneralAdmin: boolean; @@ -1931,7 +1948,7 @@ declare module "@polkadot/types/lookup" { | "FastGeneralAdmin"; } - /** @name PalletCollectiveRawOrigin (121) */ + /** @name PalletCollectiveRawOrigin (120) */ interface PalletCollectiveRawOrigin extends Enum { readonly isMembers: boolean; readonly asMembers: ITuple<[u32, u32]>; @@ -1941,7 +1958,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Members" | "Member" | "Phantom"; } - /** @name CumulusPalletXcmOrigin (123) */ + /** @name CumulusPalletXcmOrigin (122) */ interface CumulusPalletXcmOrigin extends Enum { readonly isRelay: boolean; readonly isSiblingParachain: boolean; @@ -1949,7 +1966,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Relay" | "SiblingParachain"; } - /** @name PalletXcmOrigin (124) */ + /** @name PalletXcmOrigin (123) */ interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; readonly asXcm: StagingXcmV4Location; @@ -1958,13 +1975,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Xcm" | "Response"; } - /** @name StagingXcmV4Location (125) */ + /** @name StagingXcmV4Location (124) */ interface StagingXcmV4Location extends Struct { readonly parents: u8; readonly interior: StagingXcmV4Junctions; } - /** @name StagingXcmV4Junctions (126) */ + /** @name StagingXcmV4Junctions (125) */ interface StagingXcmV4Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -1986,7 +2003,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name StagingXcmV4Junction (128) */ + /** @name StagingXcmV4Junction (127) */ interface StagingXcmV4Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -2035,7 +2052,7 @@ declare module "@polkadot/types/lookup" { | "GlobalConsensus"; } - /** @name StagingXcmV4JunctionNetworkId (131) */ + /** @name StagingXcmV4JunctionNetworkId (130) */ interface StagingXcmV4JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; @@ -2070,7 +2087,7 @@ declare module "@polkadot/types/lookup" { | "PolkadotBulletin"; } - /** @name XcmV3JunctionBodyId (132) */ + /** @name XcmV3JunctionBodyId (131) */ interface XcmV3JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isMoniker: boolean; @@ -2097,7 +2114,7 @@ declare module "@polkadot/types/lookup" { | "Treasury"; } - /** @name XcmV3JunctionBodyPart (133) */ + /** @name XcmV3JunctionBodyPart (132) */ interface XcmV3JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -2122,17 +2139,17 @@ declare module "@polkadot/types/lookup" { readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion"; } - /** @name PalletEthereumXcmRawOrigin (141) */ + /** @name PalletEthereumXcmRawOrigin (140) */ interface PalletEthereumXcmRawOrigin extends Enum { readonly isXcmEthereumTransaction: boolean; readonly asXcmEthereumTransaction: H160; readonly type: "XcmEthereumTransaction"; } - /** @name SpCoreVoid (142) */ + /** @name SpCoreVoid (141) */ type SpCoreVoid = Null; - /** @name PalletProxyCall (143) */ + /** @name PalletProxyCall (142) */ interface PalletProxyCall extends Enum { readonly isProxy: boolean; readonly asProxy: { @@ -2202,14 +2219,14 @@ declare module "@polkadot/types/lookup" { | "ProxyAnnounced"; } - /** @name PalletMaintenanceModeCall (145) */ + /** @name PalletMaintenanceModeCall (144) */ interface PalletMaintenanceModeCall extends Enum { readonly isEnterMaintenanceMode: boolean; readonly isResumeNormalOperation: boolean; readonly type: "EnterMaintenanceMode" | "ResumeNormalOperation"; } - /** @name PalletIdentityCall (146) */ + /** @name PalletIdentityCall (145) */ interface PalletIdentityCall extends Enum { readonly isAddRegistrar: boolean; readonly asAddRegistrar: { @@ -2331,7 +2348,7 @@ declare module "@polkadot/types/lookup" { | "RemoveDanglingUsername"; } - /** @name PalletIdentityLegacyIdentityInfo (147) */ + /** @name PalletIdentityLegacyIdentityInfo (146) */ interface PalletIdentityLegacyIdentityInfo extends Struct { readonly additional: Vec>; readonly display: Data; @@ -2344,7 +2361,7 @@ declare module "@polkadot/types/lookup" { readonly twitter: Data; } - /** @name PalletIdentityJudgement (185) */ + /** @name PalletIdentityJudgement (184) */ interface PalletIdentityJudgement extends Enum { readonly isUnknown: boolean; readonly isFeePaid: boolean; @@ -2364,13 +2381,10 @@ declare module "@polkadot/types/lookup" { | "Erroneous"; } - /** @name AccountEthereumSignature (187) */ - interface AccountEthereumSignature extends SpCoreEcdsaSignature {} - - /** @name SpCoreEcdsaSignature (188) */ - interface SpCoreEcdsaSignature extends U8aFixed {} + /** @name AccountEthereumSignature (186) */ + interface AccountEthereumSignature extends U8aFixed {} - /** @name PalletMultisigCall (190) */ + /** @name PalletMultisigCall (188) */ interface PalletMultisigCall extends Enum { readonly isAsMultiThreshold1: boolean; readonly asAsMultiThreshold1: { @@ -2403,7 +2417,7 @@ declare module "@polkadot/types/lookup" { readonly type: "AsMultiThreshold1" | "AsMulti" | "ApproveAsMulti" | "CancelAsMulti"; } - /** @name PalletMoonbeamLazyMigrationsCall (192) */ + /** @name PalletMoonbeamLazyMigrationsCall (190) */ interface PalletMoonbeamLazyMigrationsCall extends Enum { readonly isClearSuicidedStorage: boolean; readonly asClearSuicidedStorage: { @@ -2413,7 +2427,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ClearSuicidedStorage"; } - /** @name PalletEvmCall (195) */ + /** @name PalletEvmCall (193) */ interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -2458,7 +2472,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Withdraw" | "Call" | "Create" | "Create2"; } - /** @name PalletEthereumCall (201) */ + /** @name PalletEthereumCall (199) */ interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -2467,7 +2481,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Transact"; } - /** @name EthereumTransactionTransactionV2 (202) */ + /** @name EthereumTransactionTransactionV2 (200) */ interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; @@ -2478,7 +2492,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Eip2930" | "Eip1559"; } - /** @name EthereumTransactionLegacyTransaction (203) */ + /** @name EthereumTransactionLegacyTransaction (201) */ interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -2489,7 +2503,7 @@ declare module "@polkadot/types/lookup" { readonly signature: EthereumTransactionTransactionSignature; } - /** @name EthereumTransactionTransactionAction (204) */ + /** @name EthereumTransactionTransactionAction (202) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -2497,14 +2511,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Call" | "Create"; } - /** @name EthereumTransactionTransactionSignature (205) */ + /** @name EthereumTransactionTransactionSignature (203) */ interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Transaction (207) */ + /** @name EthereumTransactionEip2930Transaction (205) */ interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -2519,13 +2533,13 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name EthereumTransactionAccessListItem (209) */ + /** @name EthereumTransactionAccessListItem (207) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name EthereumTransactionEip1559Transaction (210) */ + /** @name EthereumTransactionEip1559Transaction (208) */ interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -2541,7 +2555,7 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name PalletSchedulerCall (211) */ + /** @name PalletSchedulerCall (209) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -2582,16 +2596,40 @@ declare module "@polkadot/types/lookup" { readonly priority: u8; readonly call: Call; } & Struct; + readonly isSetRetry: boolean; + readonly asSetRetry: { + readonly task: ITuple<[u32, u32]>; + readonly retries: u8; + readonly period: u32; + } & Struct; + readonly isSetRetryNamed: boolean; + readonly asSetRetryNamed: { + readonly id: U8aFixed; + readonly retries: u8; + readonly period: u32; + } & Struct; + readonly isCancelRetry: boolean; + readonly asCancelRetry: { + readonly task: ITuple<[u32, u32]>; + } & Struct; + readonly isCancelRetryNamed: boolean; + readonly asCancelRetryNamed: { + readonly id: U8aFixed; + } & Struct; readonly type: | "Schedule" | "Cancel" | "ScheduleNamed" | "CancelNamed" | "ScheduleAfter" - | "ScheduleNamedAfter"; + | "ScheduleNamedAfter" + | "SetRetry" + | "SetRetryNamed" + | "CancelRetry" + | "CancelRetryNamed"; } - /** @name PalletPreimageCall (213) */ + /** @name PalletPreimageCall (211) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -2621,7 +2659,7 @@ declare module "@polkadot/types/lookup" { | "EnsureUpdated"; } - /** @name PalletConvictionVotingCall (214) */ + /** @name PalletConvictionVotingCall (212) */ interface PalletConvictionVotingCall extends Enum { readonly isVote: boolean; readonly asVote: { @@ -2658,7 +2696,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Vote" | "Delegate" | "Undelegate" | "Unlock" | "RemoveVote" | "RemoveOtherVote"; } - /** @name PalletConvictionVotingVoteAccountVote (215) */ + /** @name PalletConvictionVotingVoteAccountVote (213) */ interface PalletConvictionVotingVoteAccountVote extends Enum { readonly isStandard: boolean; readonly asStandard: { @@ -2679,7 +2717,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Standard" | "Split" | "SplitAbstain"; } - /** @name PalletConvictionVotingConviction (217) */ + /** @name PalletConvictionVotingConviction (215) */ interface PalletConvictionVotingConviction extends Enum { readonly isNone: boolean; readonly isLocked1x: boolean; @@ -2698,7 +2736,7 @@ declare module "@polkadot/types/lookup" { | "Locked6x"; } - /** @name PalletReferendaCall (219) */ + /** @name PalletReferendaCall (217) */ interface PalletReferendaCall extends Enum { readonly isSubmit: boolean; readonly asSubmit: { @@ -2751,7 +2789,7 @@ declare module "@polkadot/types/lookup" { | "SetMetadata"; } - /** @name FrameSupportScheduleDispatchTime (220) */ + /** @name FrameSupportScheduleDispatchTime (218) */ interface FrameSupportScheduleDispatchTime extends Enum { readonly isAt: boolean; readonly asAt: u32; @@ -2760,7 +2798,7 @@ declare module "@polkadot/types/lookup" { readonly type: "At" | "After"; } - /** @name PalletWhitelistCall (222) */ + /** @name PalletWhitelistCall (220) */ interface PalletWhitelistCall extends Enum { readonly isWhitelistCall: boolean; readonly asWhitelistCall: { @@ -2787,7 +2825,7 @@ declare module "@polkadot/types/lookup" { | "DispatchWhitelistedCallWithPreimage"; } - /** @name PalletCollectiveCall (223) */ + /** @name PalletCollectiveCall (221) */ interface PalletCollectiveCall extends Enum { readonly isSetMembers: boolean; readonly asSetMembers: { @@ -2826,7 +2864,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetMembers" | "Execute" | "Propose" | "Vote" | "DisapproveProposal" | "Close"; } - /** @name PalletTreasuryCall (225) */ + /** @name PalletTreasuryCall (223) */ interface PalletTreasuryCall extends Enum { readonly isProposeSpend: boolean; readonly asProposeSpend: { @@ -2881,7 +2919,7 @@ declare module "@polkadot/types/lookup" { | "VoidSpend"; } - /** @name PalletCrowdloanRewardsCall (227) */ + /** @name PalletCrowdloanRewardsCall (225) */ interface PalletCrowdloanRewardsCall extends Enum { readonly isAssociateNativeIdentity: boolean; readonly asAssociateNativeIdentity: { @@ -2917,27 +2955,21 @@ declare module "@polkadot/types/lookup" { | "InitializeRewardVec"; } - /** @name SpRuntimeMultiSignature (228) */ + /** @name SpRuntimeMultiSignature (226) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; - readonly asEd25519: SpCoreEd25519Signature; + readonly asEd25519: U8aFixed; readonly isSr25519: boolean; - readonly asSr25519: SpCoreSr25519Signature; + readonly asSr25519: U8aFixed; readonly isEcdsa: boolean; - readonly asEcdsa: SpCoreEcdsaSignature; + readonly asEcdsa: U8aFixed; readonly type: "Ed25519" | "Sr25519" | "Ecdsa"; } - /** @name SpCoreEd25519Signature (229) */ - interface SpCoreEd25519Signature extends U8aFixed {} - - /** @name SpCoreSr25519Signature (231) */ - interface SpCoreSr25519Signature extends U8aFixed {} - - /** @name CumulusPalletDmpQueueCall (236) */ + /** @name CumulusPalletDmpQueueCall (232) */ type CumulusPalletDmpQueueCall = Null; - /** @name PalletXcmCall (237) */ + /** @name PalletXcmCall (233) */ interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { @@ -3008,6 +3040,21 @@ declare module "@polkadot/types/lookup" { readonly feeAssetItem: u32; readonly weightLimit: XcmV3WeightLimit; } & Struct; + readonly isClaimAssets: boolean; + readonly asClaimAssets: { + readonly assets: XcmVersionedAssets; + readonly beneficiary: XcmVersionedLocation; + } & Struct; + readonly isTransferAssetsUsingTypeAndThen: boolean; + readonly asTransferAssetsUsingTypeAndThen: { + readonly dest: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; + readonly assetsTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly remoteFeesId: XcmVersionedAssetId; + readonly feesTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly customXcmOnDest: XcmVersionedXcm; + readonly weightLimit: XcmV3WeightLimit; + } & Struct; readonly type: | "Send" | "TeleportAssets" @@ -3020,10 +3067,12 @@ declare module "@polkadot/types/lookup" { | "LimitedReserveTransferAssets" | "LimitedTeleportAssets" | "ForceSuspension" - | "TransferAssets"; + | "TransferAssets" + | "ClaimAssets" + | "TransferAssetsUsingTypeAndThen"; } - /** @name XcmVersionedLocation (238) */ + /** @name XcmVersionedLocation (234) */ interface XcmVersionedLocation extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiLocation; @@ -3034,13 +3083,13 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name XcmV2MultiLocation (239) */ + /** @name XcmV2MultiLocation (235) */ interface XcmV2MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV2MultilocationJunctions; } - /** @name XcmV2MultilocationJunctions (240) */ + /** @name XcmV2MultilocationJunctions (236) */ interface XcmV2MultilocationJunctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -3087,7 +3136,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name XcmV2Junction (241) */ + /** @name XcmV2Junction (237) */ interface XcmV2Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -3130,7 +3179,7 @@ declare module "@polkadot/types/lookup" { | "Plurality"; } - /** @name XcmV2NetworkId (242) */ + /** @name XcmV2NetworkId (238) */ interface XcmV2NetworkId extends Enum { readonly isAny: boolean; readonly isNamed: boolean; @@ -3140,7 +3189,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Any" | "Named" | "Polkadot" | "Kusama"; } - /** @name XcmV2BodyId (244) */ + /** @name XcmV2BodyId (240) */ interface XcmV2BodyId extends Enum { readonly isUnit: boolean; readonly isNamed: boolean; @@ -3167,7 +3216,7 @@ declare module "@polkadot/types/lookup" { | "Treasury"; } - /** @name XcmV2BodyPart (245) */ + /** @name XcmV2BodyPart (241) */ interface XcmV2BodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -3192,13 +3241,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion"; } - /** @name StagingXcmV3MultiLocation (246) */ + /** @name StagingXcmV3MultiLocation (242) */ interface StagingXcmV3MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV3Junctions; } - /** @name XcmV3Junctions (247) */ + /** @name XcmV3Junctions (243) */ interface XcmV3Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -3245,7 +3294,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name XcmV3Junction (248) */ + /** @name XcmV3Junction (244) */ interface XcmV3Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -3294,7 +3343,7 @@ declare module "@polkadot/types/lookup" { | "GlobalConsensus"; } - /** @name XcmV3JunctionNetworkId (250) */ + /** @name XcmV3JunctionNetworkId (246) */ interface XcmV3JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; @@ -3329,7 +3378,7 @@ declare module "@polkadot/types/lookup" { | "PolkadotBulletin"; } - /** @name XcmVersionedXcm (251) */ + /** @name XcmVersionedXcm (247) */ interface XcmVersionedXcm extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Xcm; @@ -3340,10 +3389,10 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name XcmV2Xcm (252) */ + /** @name XcmV2Xcm (248) */ interface XcmV2Xcm extends Vec {} - /** @name XcmV2Instruction (254) */ + /** @name XcmV2Instruction (250) */ interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; @@ -3491,16 +3540,16 @@ declare module "@polkadot/types/lookup" { | "UnsubscribeVersion"; } - /** @name XcmV2MultiassetMultiAssets (255) */ + /** @name XcmV2MultiassetMultiAssets (251) */ interface XcmV2MultiassetMultiAssets extends Vec {} - /** @name XcmV2MultiAsset (257) */ + /** @name XcmV2MultiAsset (253) */ interface XcmV2MultiAsset extends Struct { readonly id: XcmV2MultiassetAssetId; readonly fun: XcmV2MultiassetFungibility; } - /** @name XcmV2MultiassetAssetId (258) */ + /** @name XcmV2MultiassetAssetId (254) */ interface XcmV2MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: XcmV2MultiLocation; @@ -3509,7 +3558,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Concrete" | "Abstract"; } - /** @name XcmV2MultiassetFungibility (259) */ + /** @name XcmV2MultiassetFungibility (255) */ interface XcmV2MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -3518,7 +3567,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV2MultiassetAssetInstance (260) */ + /** @name XcmV2MultiassetAssetInstance (256) */ interface XcmV2MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -3536,7 +3585,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32" | "Blob"; } - /** @name XcmV2Response (261) */ + /** @name XcmV2Response (257) */ interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -3548,7 +3597,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Null" | "Assets" | "ExecutionResult" | "Version"; } - /** @name XcmV2TraitsError (264) */ + /** @name XcmV2TraitsError (260) */ interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -3607,7 +3656,7 @@ declare module "@polkadot/types/lookup" { | "WeightNotComputable"; } - /** @name XcmV2OriginKind (265) */ + /** @name XcmV2OriginKind (261) */ interface XcmV2OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; @@ -3616,12 +3665,12 @@ declare module "@polkadot/types/lookup" { readonly type: "Native" | "SovereignAccount" | "Superuser" | "Xcm"; } - /** @name XcmDoubleEncoded (266) */ + /** @name XcmDoubleEncoded (262) */ interface XcmDoubleEncoded extends Struct { readonly encoded: Bytes; } - /** @name XcmV2MultiassetMultiAssetFilter (267) */ + /** @name XcmV2MultiassetMultiAssetFilter (263) */ interface XcmV2MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV2MultiassetMultiAssets; @@ -3630,7 +3679,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name XcmV2MultiassetWildMultiAsset (268) */ + /** @name XcmV2MultiassetWildMultiAsset (264) */ interface XcmV2MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -3641,14 +3690,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf"; } - /** @name XcmV2MultiassetWildFungibility (269) */ + /** @name XcmV2MultiassetWildFungibility (265) */ interface XcmV2MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV2WeightLimit (270) */ + /** @name XcmV2WeightLimit (266) */ interface XcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -3656,10 +3705,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Unlimited" | "Limited"; } - /** @name XcmV3Xcm (271) */ + /** @name XcmV3Xcm (267) */ interface XcmV3Xcm extends Vec {} - /** @name XcmV3Instruction (273) */ + /** @name XcmV3Instruction (269) */ interface XcmV3Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV3MultiassetMultiAssets; @@ -3889,16 +3938,16 @@ declare module "@polkadot/types/lookup" { | "UnpaidExecution"; } - /** @name XcmV3MultiassetMultiAssets (274) */ + /** @name XcmV3MultiassetMultiAssets (270) */ interface XcmV3MultiassetMultiAssets extends Vec {} - /** @name XcmV3MultiAsset (276) */ + /** @name XcmV3MultiAsset (272) */ interface XcmV3MultiAsset extends Struct { readonly id: XcmV3MultiassetAssetId; readonly fun: XcmV3MultiassetFungibility; } - /** @name XcmV3MultiassetAssetId (277) */ + /** @name XcmV3MultiassetAssetId (273) */ interface XcmV3MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: StagingXcmV3MultiLocation; @@ -3907,7 +3956,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Concrete" | "Abstract"; } - /** @name XcmV3MultiassetFungibility (278) */ + /** @name XcmV3MultiassetFungibility (274) */ interface XcmV3MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -3916,7 +3965,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV3MultiassetAssetInstance (279) */ + /** @name XcmV3MultiassetAssetInstance (275) */ interface XcmV3MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -3932,7 +3981,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32"; } - /** @name XcmV3Response (280) */ + /** @name XcmV3Response (276) */ interface XcmV3Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -3954,7 +4003,7 @@ declare module "@polkadot/types/lookup" { | "DispatchResult"; } - /** @name XcmV3TraitsError (283) */ + /** @name XcmV3TraitsError (279) */ interface XcmV3TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -4041,7 +4090,7 @@ declare module "@polkadot/types/lookup" { | "ExceedsStackLimit"; } - /** @name XcmV3PalletInfo (285) */ + /** @name XcmV3PalletInfo (281) */ interface XcmV3PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; @@ -4051,7 +4100,7 @@ declare module "@polkadot/types/lookup" { readonly patch: Compact; } - /** @name XcmV3MaybeErrorCode (288) */ + /** @name XcmV3MaybeErrorCode (284) */ interface XcmV3MaybeErrorCode extends Enum { readonly isSuccess: boolean; readonly isError: boolean; @@ -4061,14 +4110,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Success" | "Error" | "TruncatedError"; } - /** @name XcmV3QueryResponseInfo (291) */ + /** @name XcmV3QueryResponseInfo (287) */ interface XcmV3QueryResponseInfo extends Struct { readonly destination: StagingXcmV3MultiLocation; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name XcmV3MultiassetMultiAssetFilter (292) */ + /** @name XcmV3MultiassetMultiAssetFilter (288) */ interface XcmV3MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV3MultiassetMultiAssets; @@ -4077,7 +4126,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name XcmV3MultiassetWildMultiAsset (293) */ + /** @name XcmV3MultiassetWildMultiAsset (289) */ interface XcmV3MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4096,14 +4145,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted"; } - /** @name XcmV3MultiassetWildFungibility (294) */ + /** @name XcmV3MultiassetWildFungibility (290) */ interface XcmV3MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV3WeightLimit (295) */ + /** @name XcmV3WeightLimit (291) */ interface XcmV3WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -4111,10 +4160,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Unlimited" | "Limited"; } - /** @name StagingXcmV4Xcm (296) */ + /** @name StagingXcmV4Xcm (292) */ interface StagingXcmV4Xcm extends Vec {} - /** @name StagingXcmV4Instruction (298) */ + /** @name StagingXcmV4Instruction (294) */ interface StagingXcmV4Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: StagingXcmV4AssetAssets; @@ -4344,19 +4393,19 @@ declare module "@polkadot/types/lookup" { | "UnpaidExecution"; } - /** @name StagingXcmV4AssetAssets (299) */ + /** @name StagingXcmV4AssetAssets (295) */ interface StagingXcmV4AssetAssets extends Vec {} - /** @name StagingXcmV4Asset (301) */ + /** @name StagingXcmV4Asset (297) */ interface StagingXcmV4Asset extends Struct { readonly id: StagingXcmV4AssetAssetId; readonly fun: StagingXcmV4AssetFungibility; } - /** @name StagingXcmV4AssetAssetId (302) */ + /** @name StagingXcmV4AssetAssetId (298) */ interface StagingXcmV4AssetAssetId extends StagingXcmV4Location {} - /** @name StagingXcmV4AssetFungibility (303) */ + /** @name StagingXcmV4AssetFungibility (299) */ interface StagingXcmV4AssetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -4365,7 +4414,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name StagingXcmV4AssetAssetInstance (304) */ + /** @name StagingXcmV4AssetAssetInstance (300) */ interface StagingXcmV4AssetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -4381,7 +4430,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32"; } - /** @name StagingXcmV4Response (305) */ + /** @name StagingXcmV4Response (301) */ interface StagingXcmV4Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4403,7 +4452,7 @@ declare module "@polkadot/types/lookup" { | "DispatchResult"; } - /** @name StagingXcmV4PalletInfo (307) */ + /** @name StagingXcmV4PalletInfo (303) */ interface StagingXcmV4PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; @@ -4413,14 +4462,14 @@ declare module "@polkadot/types/lookup" { readonly patch: Compact; } - /** @name StagingXcmV4QueryResponseInfo (311) */ + /** @name StagingXcmV4QueryResponseInfo (307) */ interface StagingXcmV4QueryResponseInfo extends Struct { readonly destination: StagingXcmV4Location; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name StagingXcmV4AssetAssetFilter (312) */ + /** @name StagingXcmV4AssetAssetFilter (308) */ interface StagingXcmV4AssetAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: StagingXcmV4AssetAssets; @@ -4429,7 +4478,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name StagingXcmV4AssetWildAsset (313) */ + /** @name StagingXcmV4AssetWildAsset (309) */ interface StagingXcmV4AssetWildAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4448,14 +4497,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted"; } - /** @name StagingXcmV4AssetWildFungibility (314) */ + /** @name StagingXcmV4AssetWildFungibility (310) */ interface StagingXcmV4AssetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmVersionedAssets (315) */ + /** @name XcmVersionedAssets (311) */ interface XcmVersionedAssets extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiassetMultiAssets; @@ -4466,7 +4515,26 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name PalletAssetsCall (327) */ + /** @name StagingXcmExecutorAssetTransferTransferType (323) */ + interface StagingXcmExecutorAssetTransferTransferType extends Enum { + readonly isTeleport: boolean; + readonly isLocalReserve: boolean; + readonly isDestinationReserve: boolean; + readonly isRemoteReserve: boolean; + readonly asRemoteReserve: XcmVersionedLocation; + readonly type: "Teleport" | "LocalReserve" | "DestinationReserve" | "RemoteReserve"; + } + + /** @name XcmVersionedAssetId (324) */ + interface XcmVersionedAssetId extends Enum { + readonly isV3: boolean; + readonly asV3: XcmV3MultiassetAssetId; + readonly isV4: boolean; + readonly asV4: StagingXcmV4AssetAssetId; + readonly type: "V3" | "V4"; + } + + /** @name PalletAssetsCall (325) */ interface PalletAssetsCall extends Enum { readonly isCreate: boolean; readonly asCreate: { @@ -4680,7 +4748,7 @@ declare module "@polkadot/types/lookup" { | "Block"; } - /** @name PalletAssetManagerCall (328) */ + /** @name PalletAssetManagerCall (326) */ interface PalletAssetManagerCall extends Enum { readonly isRegisterForeignAsset: boolean; readonly asRegisterForeignAsset: { @@ -4725,14 +4793,14 @@ declare module "@polkadot/types/lookup" { | "DestroyForeignAsset"; } - /** @name MoonbeamRuntimeXcmConfigAssetType (329) */ + /** @name MoonbeamRuntimeXcmConfigAssetType (327) */ interface MoonbeamRuntimeXcmConfigAssetType extends Enum { readonly isXcm: boolean; readonly asXcm: StagingXcmV3MultiLocation; readonly type: "Xcm"; } - /** @name MoonbeamRuntimeAssetConfigAssetRegistrarMetadata (330) */ + /** @name MoonbeamRuntimeAssetConfigAssetRegistrarMetadata (328) */ interface MoonbeamRuntimeAssetConfigAssetRegistrarMetadata extends Struct { readonly name: Bytes; readonly symbol: Bytes; @@ -4740,7 +4808,7 @@ declare module "@polkadot/types/lookup" { readonly isFrozen: bool; } - /** @name OrmlXtokensModuleCall (331) */ + /** @name OrmlXtokensModuleCall (329) */ interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -4793,7 +4861,7 @@ declare module "@polkadot/types/lookup" { | "TransferMultiassets"; } - /** @name MoonbeamRuntimeXcmConfigCurrencyId (332) */ + /** @name MoonbeamRuntimeXcmConfigCurrencyId (330) */ interface MoonbeamRuntimeXcmConfigCurrencyId extends Enum { readonly isSelfReserve: boolean; readonly isForeignAsset: boolean; @@ -4805,7 +4873,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SelfReserve" | "ForeignAsset" | "Erc20"; } - /** @name XcmVersionedAsset (333) */ + /** @name XcmVersionedAsset (331) */ interface XcmVersionedAsset extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiAsset; @@ -4816,7 +4884,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name PalletXcmTransactorCall (336) */ + /** @name PalletXcmTransactorCall (334) */ interface PalletXcmTransactorCall extends Enum { readonly isRegister: boolean; readonly asRegister: { @@ -4893,19 +4961,19 @@ declare module "@polkadot/types/lookup" { | "HrmpManage"; } - /** @name MoonbeamRuntimeXcmConfigTransactors (337) */ + /** @name MoonbeamRuntimeXcmConfigTransactors (335) */ interface MoonbeamRuntimeXcmConfigTransactors extends Enum { readonly isRelay: boolean; readonly type: "Relay"; } - /** @name PalletXcmTransactorCurrencyPayment (338) */ + /** @name PalletXcmTransactorCurrencyPayment (336) */ interface PalletXcmTransactorCurrencyPayment extends Struct { readonly currency: PalletXcmTransactorCurrency; readonly feeAmount: Option; } - /** @name PalletXcmTransactorCurrency (339) */ + /** @name PalletXcmTransactorCurrency (337) */ interface PalletXcmTransactorCurrency extends Enum { readonly isAsCurrencyId: boolean; readonly asAsCurrencyId: MoonbeamRuntimeXcmConfigCurrencyId; @@ -4914,13 +4982,13 @@ declare module "@polkadot/types/lookup" { readonly type: "AsCurrencyId" | "AsMultiLocation"; } - /** @name PalletXcmTransactorTransactWeights (341) */ + /** @name PalletXcmTransactorTransactWeights (339) */ interface PalletXcmTransactorTransactWeights extends Struct { readonly transactRequiredWeightAtMost: SpWeightsWeightV2Weight; readonly overallWeight: Option; } - /** @name PalletXcmTransactorHrmpOperation (344) */ + /** @name PalletXcmTransactorHrmpOperation (342) */ interface PalletXcmTransactorHrmpOperation extends Enum { readonly isInitOpen: boolean; readonly asInitOpen: PalletXcmTransactorHrmpInitParams; @@ -4938,20 +5006,20 @@ declare module "@polkadot/types/lookup" { readonly type: "InitOpen" | "Accept" | "Close" | "Cancel"; } - /** @name PalletXcmTransactorHrmpInitParams (345) */ + /** @name PalletXcmTransactorHrmpInitParams (343) */ interface PalletXcmTransactorHrmpInitParams extends Struct { readonly paraId: u32; readonly proposedMaxCapacity: u32; readonly proposedMaxMessageSize: u32; } - /** @name PolkadotParachainPrimitivesPrimitivesHrmpChannelId (346) */ + /** @name PolkadotParachainPrimitivesPrimitivesHrmpChannelId (344) */ interface PolkadotParachainPrimitivesPrimitivesHrmpChannelId extends Struct { readonly sender: u32; readonly recipient: u32; } - /** @name PalletEthereumXcmCall (347) */ + /** @name PalletEthereumXcmCall (345) */ interface PalletEthereumXcmCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -4971,7 +5039,7 @@ declare module "@polkadot/types/lookup" { | "ResumeEthereumXcmExecution"; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransaction (348) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransaction (346) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransaction extends Enum { readonly isV1: boolean; readonly asV1: XcmPrimitivesEthereumXcmEthereumXcmTransactionV1; @@ -4980,7 +5048,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V1" | "V2"; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 (349) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 (347) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 extends Struct { readonly gasLimit: U256; readonly feePayment: XcmPrimitivesEthereumXcmEthereumXcmFee; @@ -4990,7 +5058,7 @@ declare module "@polkadot/types/lookup" { readonly accessList: Option]>>>; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmFee (350) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmFee (348) */ interface XcmPrimitivesEthereumXcmEthereumXcmFee extends Enum { readonly isManual: boolean; readonly asManual: XcmPrimitivesEthereumXcmManualEthereumXcmFee; @@ -4998,13 +5066,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Manual" | "Auto"; } - /** @name XcmPrimitivesEthereumXcmManualEthereumXcmFee (351) */ + /** @name XcmPrimitivesEthereumXcmManualEthereumXcmFee (349) */ interface XcmPrimitivesEthereumXcmManualEthereumXcmFee extends Struct { readonly gasPrice: Option; readonly maxFeePerGas: Option; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 (354) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 (352) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 extends Struct { readonly gasLimit: U256; readonly action: EthereumTransactionTransactionAction; @@ -5013,7 +5081,7 @@ declare module "@polkadot/types/lookup" { readonly accessList: Option]>>>; } - /** @name PalletMessageQueueCall (355) */ + /** @name PalletMessageQueueCall (353) */ interface PalletMessageQueueCall extends Enum { readonly isReapPage: boolean; readonly asReapPage: { @@ -5030,7 +5098,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ReapPage" | "ExecuteOverweight"; } - /** @name CumulusPrimitivesCoreAggregateMessageOrigin (356) */ + /** @name CumulusPrimitivesCoreAggregateMessageOrigin (354) */ interface CumulusPrimitivesCoreAggregateMessageOrigin extends Enum { readonly isHere: boolean; readonly isParent: boolean; @@ -5039,23 +5107,23 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "Parent" | "Sibling"; } - /** @name PalletRandomnessCall (357) */ + /** @name PalletRandomnessCall (355) */ interface PalletRandomnessCall extends Enum { readonly isSetBabeRandomnessResults: boolean; readonly type: "SetBabeRandomnessResults"; } - /** @name SpRuntimeBlakeTwo256 (358) */ + /** @name SpRuntimeBlakeTwo256 (356) */ type SpRuntimeBlakeTwo256 = Null; - /** @name PalletConvictionVotingTally (360) */ + /** @name PalletConvictionVotingTally (358) */ interface PalletConvictionVotingTally extends Struct { readonly ayes: u128; readonly nays: u128; readonly support: u128; } - /** @name PalletWhitelistEvent (361) */ + /** @name PalletWhitelistEvent (359) */ interface PalletWhitelistEvent extends Enum { readonly isCallWhitelisted: boolean; readonly asCallWhitelisted: { @@ -5076,19 +5144,19 @@ declare module "@polkadot/types/lookup" { readonly type: "CallWhitelisted" | "WhitelistedCallRemoved" | "WhitelistedCallDispatched"; } - /** @name FrameSupportDispatchPostDispatchInfo (363) */ + /** @name FrameSupportDispatchPostDispatchInfo (361) */ interface FrameSupportDispatchPostDispatchInfo extends Struct { readonly actualWeight: Option; readonly paysFee: FrameSupportDispatchPays; } - /** @name SpRuntimeDispatchErrorWithPostInfo (364) */ + /** @name SpRuntimeDispatchErrorWithPostInfo (362) */ interface SpRuntimeDispatchErrorWithPostInfo extends Struct { readonly postInfo: FrameSupportDispatchPostDispatchInfo; readonly error: SpRuntimeDispatchError; } - /** @name PalletCollectiveEvent (365) */ + /** @name PalletCollectiveEvent (363) */ interface PalletCollectiveEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { @@ -5139,7 +5207,7 @@ declare module "@polkadot/types/lookup" { | "Closed"; } - /** @name PalletTreasuryEvent (367) */ + /** @name PalletTreasuryEvent (365) */ interface PalletTreasuryEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { @@ -5227,7 +5295,7 @@ declare module "@polkadot/types/lookup" { | "SpendProcessed"; } - /** @name PalletCrowdloanRewardsEvent (368) */ + /** @name PalletCrowdloanRewardsEvent (366) */ interface PalletCrowdloanRewardsEvent extends Enum { readonly isInitialPaymentMade: boolean; readonly asInitialPaymentMade: ITuple<[AccountId20, u128]>; @@ -5252,7 +5320,7 @@ declare module "@polkadot/types/lookup" { | "InitializedAccountWithNotEnoughContribution"; } - /** @name CumulusPalletXcmpQueueEvent (369) */ + /** @name CumulusPalletXcmpQueueEvent (367) */ interface CumulusPalletXcmpQueueEvent extends Enum { readonly isXcmpMessageSent: boolean; readonly asXcmpMessageSent: { @@ -5261,7 +5329,7 @@ declare module "@polkadot/types/lookup" { readonly type: "XcmpMessageSent"; } - /** @name CumulusPalletXcmEvent (370) */ + /** @name CumulusPalletXcmEvent (368) */ interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; @@ -5272,7 +5340,7 @@ declare module "@polkadot/types/lookup" { readonly type: "InvalidFormat" | "UnsupportedVersion" | "ExecutedDownward"; } - /** @name StagingXcmV4TraitsOutcome (371) */ + /** @name StagingXcmV4TraitsOutcome (369) */ interface StagingXcmV4TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: { @@ -5290,7 +5358,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Complete" | "Incomplete" | "Error"; } - /** @name CumulusPalletDmpQueueEvent (372) */ + /** @name CumulusPalletDmpQueueEvent (370) */ interface CumulusPalletDmpQueueEvent extends Enum { readonly isStartedExport: boolean; readonly isExported: boolean; @@ -5335,7 +5403,7 @@ declare module "@polkadot/types/lookup" { | "Completed"; } - /** @name PalletXcmEvent (373) */ + /** @name PalletXcmEvent (371) */ interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: { @@ -5500,7 +5568,7 @@ declare module "@polkadot/types/lookup" { | "VersionMigrationFinished"; } - /** @name PalletAssetsEvent (374) */ + /** @name PalletAssetsEvent (372) */ interface PalletAssetsEvent extends Enum { readonly isCreated: boolean; readonly asCreated: { @@ -5662,7 +5730,7 @@ declare module "@polkadot/types/lookup" { | "Blocked"; } - /** @name PalletAssetManagerEvent (375) */ + /** @name PalletAssetManagerEvent (373) */ interface PalletAssetManagerEvent extends Enum { readonly isForeignAssetRegistered: boolean; readonly asForeignAssetRegistered: { @@ -5708,7 +5776,7 @@ declare module "@polkadot/types/lookup" { | "LocalAssetDestroyed"; } - /** @name OrmlXtokensModuleEvent (376) */ + /** @name OrmlXtokensModuleEvent (374) */ interface OrmlXtokensModuleEvent extends Enum { readonly isTransferredAssets: boolean; readonly asTransferredAssets: { @@ -5720,7 +5788,7 @@ declare module "@polkadot/types/lookup" { readonly type: "TransferredAssets"; } - /** @name PalletXcmTransactorEvent (377) */ + /** @name PalletXcmTransactorEvent (375) */ interface PalletXcmTransactorEvent extends Enum { readonly isTransactedDerivative: boolean; readonly asTransactedDerivative: { @@ -5790,14 +5858,14 @@ declare module "@polkadot/types/lookup" { | "HrmpManagementSent"; } - /** @name PalletXcmTransactorRemoteTransactInfoWithMaxWeight (378) */ + /** @name PalletXcmTransactorRemoteTransactInfoWithMaxWeight (376) */ interface PalletXcmTransactorRemoteTransactInfoWithMaxWeight extends Struct { readonly transactExtraWeight: SpWeightsWeightV2Weight; readonly maxWeight: SpWeightsWeightV2Weight; readonly transactExtraWeightSigned: Option; } - /** @name PalletMessageQueueEvent (379) */ + /** @name PalletMessageQueueEvent (377) */ interface PalletMessageQueueEvent extends Enum { readonly isProcessingFailed: boolean; readonly asProcessingFailed: { @@ -5827,7 +5895,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ProcessingFailed" | "Processed" | "OverweightEnqueued" | "PageReaped"; } - /** @name FrameSupportMessagesProcessMessageError (380) */ + /** @name FrameSupportMessagesProcessMessageError (378) */ interface FrameSupportMessagesProcessMessageError extends Enum { readonly isBadFormat: boolean; readonly isCorrupt: boolean; @@ -5838,7 +5906,7 @@ declare module "@polkadot/types/lookup" { readonly type: "BadFormat" | "Corrupt" | "Unsupported" | "Overweight" | "Yield"; } - /** @name PalletRandomnessEvent (381) */ + /** @name PalletRandomnessEvent (379) */ interface PalletRandomnessEvent extends Enum { readonly isRandomnessRequestedBabeEpoch: boolean; readonly asRandomnessRequestedBabeEpoch: { @@ -5883,7 +5951,7 @@ declare module "@polkadot/types/lookup" { | "RequestExpirationExecuted"; } - /** @name FrameSystemPhase (382) */ + /** @name FrameSystemPhase (380) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -5892,33 +5960,33 @@ declare module "@polkadot/types/lookup" { readonly type: "ApplyExtrinsic" | "Finalization" | "Initialization"; } - /** @name FrameSystemLastRuntimeUpgradeInfo (384) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (382) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCodeUpgradeAuthorization (385) */ + /** @name FrameSystemCodeUpgradeAuthorization (383) */ interface FrameSystemCodeUpgradeAuthorization extends Struct { readonly codeHash: H256; readonly checkVersion: bool; } - /** @name FrameSystemLimitsBlockWeights (386) */ + /** @name FrameSystemLimitsBlockWeights (384) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (387) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (385) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (388) */ + /** @name FrameSystemLimitsWeightsPerClass (386) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -5926,25 +5994,25 @@ declare module "@polkadot/types/lookup" { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (389) */ + /** @name FrameSystemLimitsBlockLength (387) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (390) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (388) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (391) */ + /** @name SpWeightsRuntimeDbWeight (389) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (392) */ + /** @name SpVersionRuntimeVersion (390) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -5956,7 +6024,7 @@ declare module "@polkadot/types/lookup" { readonly stateVersion: u8; } - /** @name FrameSystemError (396) */ + /** @name FrameSystemError (394) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -5964,6 +6032,7 @@ declare module "@polkadot/types/lookup" { readonly isNonDefaultComposite: boolean; readonly isNonZeroRefCount: boolean; readonly isCallFiltered: boolean; + readonly isMultiBlockMigrationsOngoing: boolean; readonly isNothingAuthorized: boolean; readonly isUnauthorized: boolean; readonly type: @@ -5973,18 +6042,19 @@ declare module "@polkadot/types/lookup" { | "NonDefaultComposite" | "NonZeroRefCount" | "CallFiltered" + | "MultiBlockMigrationsOngoing" | "NothingAuthorized" | "Unauthorized"; } - /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (398) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (396) */ interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (399) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (397) */ interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct { readonly umpMsgCount: u32; readonly umpTotalBytes: u32; @@ -5994,49 +6064,49 @@ declare module "@polkadot/types/lookup" { >; } - /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (401) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (399) */ interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct { readonly msgCount: u32; readonly totalBytes: u32; } - /** @name PolkadotPrimitivesV6UpgradeGoAhead (405) */ - interface PolkadotPrimitivesV6UpgradeGoAhead extends Enum { + /** @name PolkadotPrimitivesV7UpgradeGoAhead (403) */ + interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: "Abort" | "GoAhead"; } - /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (406) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (404) */ interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name PolkadotPrimitivesV6UpgradeRestriction (408) */ - interface PolkadotPrimitivesV6UpgradeRestriction extends Enum { + /** @name PolkadotPrimitivesV7UpgradeRestriction (406) */ + interface PolkadotPrimitivesV7UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: "Present"; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (409) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (407) */ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (410) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (408) */ interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct { readonly remainingCount: u32; readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV6AbridgedHrmpChannel (413) */ - interface PolkadotPrimitivesV6AbridgedHrmpChannel extends Struct { + /** @name PolkadotPrimitivesV7AbridgedHrmpChannel (411) */ + interface PolkadotPrimitivesV7AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -6045,8 +6115,8 @@ declare module "@polkadot/types/lookup" { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV6AbridgedHostConfiguration (414) */ - interface PolkadotPrimitivesV6AbridgedHostConfiguration extends Struct { + /** @name PolkadotPrimitivesV7AbridgedHostConfiguration (412) */ + interface PolkadotPrimitivesV7AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -6056,22 +6126,22 @@ declare module "@polkadot/types/lookup" { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; - readonly asyncBackingParams: PolkadotPrimitivesV6AsyncBackingAsyncBackingParams; + readonly asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; } - /** @name PolkadotPrimitivesV6AsyncBackingAsyncBackingParams (415) */ - interface PolkadotPrimitivesV6AsyncBackingAsyncBackingParams extends Struct { + /** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams (413) */ + interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } - /** @name PolkadotCorePrimitivesOutboundHrmpMessage (421) */ + /** @name PolkadotCorePrimitivesOutboundHrmpMessage (419) */ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } - /** @name CumulusPalletParachainSystemError (423) */ + /** @name CumulusPalletParachainSystemError (421) */ interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; @@ -6092,14 +6162,14 @@ declare module "@polkadot/types/lookup" { | "Unauthorized"; } - /** @name PalletBalancesBalanceLock (425) */ + /** @name PalletBalancesBalanceLock (423) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (426) */ + /** @name PalletBalancesReasons (424) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -6107,32 +6177,32 @@ declare module "@polkadot/types/lookup" { readonly type: "Fee" | "Misc" | "All"; } - /** @name PalletBalancesReserveData (429) */ + /** @name PalletBalancesReserveData (427) */ interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name MoonbeamRuntimeRuntimeHoldReason (433) */ + /** @name MoonbeamRuntimeRuntimeHoldReason (431) */ interface MoonbeamRuntimeRuntimeHoldReason extends Enum { readonly isPreimage: boolean; readonly asPreimage: PalletPreimageHoldReason; readonly type: "Preimage"; } - /** @name PalletPreimageHoldReason (434) */ + /** @name PalletPreimageHoldReason (432) */ interface PalletPreimageHoldReason extends Enum { readonly isPreimage: boolean; readonly type: "Preimage"; } - /** @name PalletBalancesIdAmount (437) */ + /** @name PalletBalancesIdAmount (435) */ interface PalletBalancesIdAmount extends Struct { readonly id: Null; readonly amount: u128; } - /** @name PalletBalancesError (439) */ + /** @name PalletBalancesError (437) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -6161,20 +6231,20 @@ declare module "@polkadot/types/lookup" { | "DeltaZero"; } - /** @name PalletTransactionPaymentReleases (440) */ + /** @name PalletTransactionPaymentReleases (438) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: "V1Ancient" | "V2"; } - /** @name PalletParachainStakingParachainBondConfig (441) */ + /** @name PalletParachainStakingParachainBondConfig (439) */ interface PalletParachainStakingParachainBondConfig extends Struct { readonly account: AccountId20; readonly percent: Percent; } - /** @name PalletParachainStakingRoundInfo (442) */ + /** @name PalletParachainStakingRoundInfo (440) */ interface PalletParachainStakingRoundInfo extends Struct { readonly current: u32; readonly first: u32; @@ -6182,7 +6252,7 @@ declare module "@polkadot/types/lookup" { readonly firstSlot: u64; } - /** @name PalletParachainStakingDelegator (443) */ + /** @name PalletParachainStakingDelegator (441) */ interface PalletParachainStakingDelegator extends Struct { readonly id: AccountId20; readonly delegations: PalletParachainStakingSetOrderedSet; @@ -6191,16 +6261,16 @@ declare module "@polkadot/types/lookup" { readonly status: PalletParachainStakingDelegatorStatus; } - /** @name PalletParachainStakingSetOrderedSet (444) */ + /** @name PalletParachainStakingSetOrderedSet (442) */ interface PalletParachainStakingSetOrderedSet extends Vec {} - /** @name PalletParachainStakingBond (445) */ + /** @name PalletParachainStakingBond (443) */ interface PalletParachainStakingBond extends Struct { readonly owner: AccountId20; readonly amount: u128; } - /** @name PalletParachainStakingDelegatorStatus (447) */ + /** @name PalletParachainStakingDelegatorStatus (445) */ interface PalletParachainStakingDelegatorStatus extends Enum { readonly isActive: boolean; readonly isLeaving: boolean; @@ -6208,7 +6278,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Active" | "Leaving"; } - /** @name PalletParachainStakingCandidateMetadata (448) */ + /** @name PalletParachainStakingCandidateMetadata (446) */ interface PalletParachainStakingCandidateMetadata extends Struct { readonly bond: u128; readonly delegationCount: u32; @@ -6222,7 +6292,7 @@ declare module "@polkadot/types/lookup" { readonly status: PalletParachainStakingCollatorStatus; } - /** @name PalletParachainStakingCapacityStatus (449) */ + /** @name PalletParachainStakingCapacityStatus (447) */ interface PalletParachainStakingCapacityStatus extends Enum { readonly isFull: boolean; readonly isEmpty: boolean; @@ -6230,13 +6300,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Full" | "Empty" | "Partial"; } - /** @name PalletParachainStakingCandidateBondLessRequest (451) */ + /** @name PalletParachainStakingCandidateBondLessRequest (449) */ interface PalletParachainStakingCandidateBondLessRequest extends Struct { readonly amount: u128; readonly whenExecutable: u32; } - /** @name PalletParachainStakingCollatorStatus (452) */ + /** @name PalletParachainStakingCollatorStatus (450) */ interface PalletParachainStakingCollatorStatus extends Enum { readonly isActive: boolean; readonly isIdle: boolean; @@ -6245,50 +6315,50 @@ declare module "@polkadot/types/lookup" { readonly type: "Active" | "Idle" | "Leaving"; } - /** @name PalletParachainStakingDelegationRequestsScheduledRequest (454) */ + /** @name PalletParachainStakingDelegationRequestsScheduledRequest (452) */ interface PalletParachainStakingDelegationRequestsScheduledRequest extends Struct { readonly delegator: AccountId20; readonly whenExecutable: u32; readonly action: PalletParachainStakingDelegationRequestsDelegationAction; } - /** @name PalletParachainStakingAutoCompoundAutoCompoundConfig (457) */ + /** @name PalletParachainStakingAutoCompoundAutoCompoundConfig (455) */ interface PalletParachainStakingAutoCompoundAutoCompoundConfig extends Struct { readonly delegator: AccountId20; readonly value: Percent; } - /** @name PalletParachainStakingDelegations (459) */ + /** @name PalletParachainStakingDelegations (457) */ interface PalletParachainStakingDelegations extends Struct { readonly delegations: Vec; readonly total: u128; } - /** @name PalletParachainStakingSetBoundedOrderedSet (461) */ + /** @name PalletParachainStakingSetBoundedOrderedSet (459) */ interface PalletParachainStakingSetBoundedOrderedSet extends Vec {} - /** @name PalletParachainStakingCollatorSnapshot (464) */ + /** @name PalletParachainStakingCollatorSnapshot (462) */ interface PalletParachainStakingCollatorSnapshot extends Struct { readonly bond: u128; readonly delegations: Vec; readonly total: u128; } - /** @name PalletParachainStakingBondWithAutoCompound (466) */ + /** @name PalletParachainStakingBondWithAutoCompound (464) */ interface PalletParachainStakingBondWithAutoCompound extends Struct { readonly owner: AccountId20; readonly amount: u128; readonly autoCompound: Percent; } - /** @name PalletParachainStakingDelayedPayout (467) */ + /** @name PalletParachainStakingDelayedPayout (465) */ interface PalletParachainStakingDelayedPayout extends Struct { readonly roundIssuance: u128; readonly totalStakingReward: u128; readonly collatorCommission: Perbill; } - /** @name PalletParachainStakingInflationInflationInfo (468) */ + /** @name PalletParachainStakingInflationInflationInfo (466) */ interface PalletParachainStakingInflationInflationInfo extends Struct { readonly expect: { readonly min: u128; @@ -6307,7 +6377,7 @@ declare module "@polkadot/types/lookup" { } & Struct; } - /** @name PalletParachainStakingError (469) */ + /** @name PalletParachainStakingError (467) */ interface PalletParachainStakingError extends Enum { readonly isDelegatorDNE: boolean; readonly isDelegatorDNEinTopNorBottom: boolean; @@ -6422,7 +6492,7 @@ declare module "@polkadot/types/lookup" { | "CurrentRoundTooLow"; } - /** @name PalletAuthorInherentError (470) */ + /** @name PalletAuthorInherentError (468) */ interface PalletAuthorInherentError extends Enum { readonly isAuthorAlreadySet: boolean; readonly isNoAccountId: boolean; @@ -6430,14 +6500,14 @@ declare module "@polkadot/types/lookup" { readonly type: "AuthorAlreadySet" | "NoAccountId" | "CannotBeAuthor"; } - /** @name PalletAuthorMappingRegistrationInfo (471) */ + /** @name PalletAuthorMappingRegistrationInfo (469) */ interface PalletAuthorMappingRegistrationInfo extends Struct { readonly account: AccountId20; readonly deposit: u128; readonly keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } - /** @name PalletAuthorMappingError (472) */ + /** @name PalletAuthorMappingError (470) */ interface PalletAuthorMappingError extends Enum { readonly isAssociationNotFound: boolean; readonly isNotYourAssociation: boolean; @@ -6458,20 +6528,20 @@ declare module "@polkadot/types/lookup" { | "DecodeKeysFailed"; } - /** @name PalletMoonbeamOrbitersCollatorPoolInfo (473) */ + /** @name PalletMoonbeamOrbitersCollatorPoolInfo (471) */ interface PalletMoonbeamOrbitersCollatorPoolInfo extends Struct { readonly orbiters: Vec; readonly maybeCurrentOrbiter: Option; readonly nextOrbiter: u32; } - /** @name PalletMoonbeamOrbitersCurrentOrbiter (475) */ + /** @name PalletMoonbeamOrbitersCurrentOrbiter (473) */ interface PalletMoonbeamOrbitersCurrentOrbiter extends Struct { readonly accountId: AccountId20; readonly removed: bool; } - /** @name PalletMoonbeamOrbitersError (476) */ + /** @name PalletMoonbeamOrbitersError (474) */ interface PalletMoonbeamOrbitersError extends Enum { readonly isCollatorAlreadyAdded: boolean; readonly isCollatorNotFound: boolean; @@ -6494,27 +6564,27 @@ declare module "@polkadot/types/lookup" { | "OrbiterStillInAPool"; } - /** @name PalletUtilityError (479) */ + /** @name PalletUtilityError (477) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly type: "TooManyCalls"; } - /** @name PalletProxyProxyDefinition (482) */ + /** @name PalletProxyProxyDefinition (480) */ interface PalletProxyProxyDefinition extends Struct { readonly delegate: AccountId20; readonly proxyType: MoonbeamRuntimeProxyType; readonly delay: u32; } - /** @name PalletProxyAnnouncement (486) */ + /** @name PalletProxyAnnouncement (484) */ interface PalletProxyAnnouncement extends Struct { readonly real: AccountId20; readonly callHash: H256; readonly height: u32; } - /** @name PalletProxyError (488) */ + /** @name PalletProxyError (486) */ interface PalletProxyError extends Enum { readonly isTooMany: boolean; readonly isNotFound: boolean; @@ -6535,34 +6605,34 @@ declare module "@polkadot/types/lookup" { | "NoSelfProxy"; } - /** @name PalletMaintenanceModeError (489) */ + /** @name PalletMaintenanceModeError (487) */ interface PalletMaintenanceModeError extends Enum { readonly isAlreadyInMaintenanceMode: boolean; readonly isNotInMaintenanceMode: boolean; readonly type: "AlreadyInMaintenanceMode" | "NotInMaintenanceMode"; } - /** @name PalletIdentityRegistration (491) */ + /** @name PalletIdentityRegistration (489) */ interface PalletIdentityRegistration extends Struct { readonly judgements: Vec>; readonly deposit: u128; readonly info: PalletIdentityLegacyIdentityInfo; } - /** @name PalletIdentityRegistrarInfo (500) */ + /** @name PalletIdentityRegistrarInfo (498) */ interface PalletIdentityRegistrarInfo extends Struct { readonly account: AccountId20; readonly fee: u128; readonly fields: u64; } - /** @name PalletIdentityAuthorityProperties (502) */ + /** @name PalletIdentityAuthorityProperties (500) */ interface PalletIdentityAuthorityProperties extends Struct { readonly suffix: Bytes; readonly allocation: u32; } - /** @name PalletIdentityError (505) */ + /** @name PalletIdentityError (503) */ interface PalletIdentityError extends Enum { readonly isTooManySubAccounts: boolean; readonly isNotFound: boolean; @@ -6619,7 +6689,7 @@ declare module "@polkadot/types/lookup" { | "NotExpired"; } - /** @name PalletMigrationsError (506) */ + /** @name PalletMigrationsError (504) */ interface PalletMigrationsError extends Enum { readonly isPreimageMissing: boolean; readonly isWrongUpperBound: boolean; @@ -6632,7 +6702,7 @@ declare module "@polkadot/types/lookup" { | "PreimageAlreadyExists"; } - /** @name PalletMultisigMultisig (508) */ + /** @name PalletMultisigMultisig (506) */ interface PalletMultisigMultisig extends Struct { readonly when: PalletMultisigTimepoint; readonly deposit: u128; @@ -6640,7 +6710,7 @@ declare module "@polkadot/types/lookup" { readonly approvals: Vec; } - /** @name PalletMultisigError (510) */ + /** @name PalletMultisigError (508) */ interface PalletMultisigError extends Enum { readonly isMinimumThreshold: boolean; readonly isAlreadyApproved: boolean; @@ -6673,7 +6743,7 @@ declare module "@polkadot/types/lookup" { | "AlreadyStored"; } - /** @name PalletMoonbeamLazyMigrationsError (511) */ + /** @name PalletMoonbeamLazyMigrationsError (509) */ interface PalletMoonbeamLazyMigrationsError extends Enum { readonly isLimitCannotBeZero: boolean; readonly isAddressesLengthCannotBeZero: boolean; @@ -6681,13 +6751,13 @@ declare module "@polkadot/types/lookup" { readonly type: "LimitCannotBeZero" | "AddressesLengthCannotBeZero" | "ContractNotCorrupted"; } - /** @name PalletEvmCodeMetadata (512) */ + /** @name PalletEvmCodeMetadata (510) */ interface PalletEvmCodeMetadata extends Struct { readonly size_: u64; readonly hash_: H256; } - /** @name PalletEvmError (514) */ + /** @name PalletEvmError (512) */ interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; @@ -6701,7 +6771,6 @@ declare module "@polkadot/types/lookup" { readonly isInvalidSignature: boolean; readonly isReentrancy: boolean; readonly isTransactionMustComeFromEOA: boolean; - readonly isInvalidTransaction: boolean; readonly isUndefined: boolean; readonly type: | "BalanceLow" @@ -6716,11 +6785,10 @@ declare module "@polkadot/types/lookup" { | "InvalidSignature" | "Reentrancy" | "TransactionMustComeFromEOA" - | "InvalidTransaction" | "Undefined"; } - /** @name FpRpcTransactionStatus (517) */ + /** @name FpRpcTransactionStatus (515) */ interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; @@ -6731,10 +6799,10 @@ declare module "@polkadot/types/lookup" { readonly logsBloom: EthbloomBloom; } - /** @name EthbloomBloom (520) */ + /** @name EthbloomBloom (518) */ interface EthbloomBloom extends U8aFixed {} - /** @name EthereumReceiptReceiptV3 (522) */ + /** @name EthereumReceiptReceiptV3 (520) */ interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; @@ -6745,7 +6813,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Eip2930" | "Eip1559"; } - /** @name EthereumReceiptEip658ReceiptData (523) */ + /** @name EthereumReceiptEip658ReceiptData (521) */ interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; @@ -6753,14 +6821,14 @@ declare module "@polkadot/types/lookup" { readonly logs: Vec; } - /** @name EthereumBlock (524) */ + /** @name EthereumBlock (522) */ interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } - /** @name EthereumHeader (525) */ + /** @name EthereumHeader (523) */ interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; @@ -6779,17 +6847,17 @@ declare module "@polkadot/types/lookup" { readonly nonce: EthereumTypesHashH64; } - /** @name EthereumTypesHashH64 (526) */ + /** @name EthereumTypesHashH64 (524) */ interface EthereumTypesHashH64 extends U8aFixed {} - /** @name PalletEthereumError (531) */ + /** @name PalletEthereumError (529) */ interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: "InvalidSignature" | "PreLogExists"; } - /** @name PalletSchedulerScheduled (534) */ + /** @name PalletSchedulerScheduled (532) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; @@ -6798,7 +6866,14 @@ declare module "@polkadot/types/lookup" { readonly origin: MoonbeamRuntimeOriginCaller; } - /** @name PalletSchedulerError (536) */ + /** @name PalletSchedulerRetryConfig (534) */ + interface PalletSchedulerRetryConfig extends Struct { + readonly totalRetries: u8; + readonly remaining: u8; + readonly period: u32; + } + + /** @name PalletSchedulerError (535) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -6813,7 +6888,7 @@ declare module "@polkadot/types/lookup" { | "Named"; } - /** @name PalletPreimageOldRequestStatus (537) */ + /** @name PalletPreimageOldRequestStatus (536) */ interface PalletPreimageOldRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -6829,7 +6904,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Unrequested" | "Requested"; } - /** @name PalletPreimageRequestStatus (540) */ + /** @name PalletPreimageRequestStatus (539) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -6845,7 +6920,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Unrequested" | "Requested"; } - /** @name PalletPreimageError (546) */ + /** @name PalletPreimageError (545) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -6866,7 +6941,7 @@ declare module "@polkadot/types/lookup" { | "TooFew"; } - /** @name PalletConvictionVotingVoteVoting (548) */ + /** @name PalletConvictionVotingVoteVoting (547) */ interface PalletConvictionVotingVoteVoting extends Enum { readonly isCasting: boolean; readonly asCasting: PalletConvictionVotingVoteCasting; @@ -6875,23 +6950,23 @@ declare module "@polkadot/types/lookup" { readonly type: "Casting" | "Delegating"; } - /** @name PalletConvictionVotingVoteCasting (549) */ + /** @name PalletConvictionVotingVoteCasting (548) */ interface PalletConvictionVotingVoteCasting extends Struct { readonly votes: Vec>; readonly delegations: PalletConvictionVotingDelegations; readonly prior: PalletConvictionVotingVotePriorLock; } - /** @name PalletConvictionVotingDelegations (553) */ + /** @name PalletConvictionVotingDelegations (552) */ interface PalletConvictionVotingDelegations extends Struct { readonly votes: u128; readonly capital: u128; } - /** @name PalletConvictionVotingVotePriorLock (554) */ + /** @name PalletConvictionVotingVotePriorLock (553) */ interface PalletConvictionVotingVotePriorLock extends ITuple<[u32, u128]> {} - /** @name PalletConvictionVotingVoteDelegating (555) */ + /** @name PalletConvictionVotingVoteDelegating (554) */ interface PalletConvictionVotingVoteDelegating extends Struct { readonly balance: u128; readonly target: AccountId20; @@ -6900,7 +6975,7 @@ declare module "@polkadot/types/lookup" { readonly prior: PalletConvictionVotingVotePriorLock; } - /** @name PalletConvictionVotingError (559) */ + /** @name PalletConvictionVotingError (558) */ interface PalletConvictionVotingError extends Enum { readonly isNotOngoing: boolean; readonly isNotVoter: boolean; @@ -6929,7 +7004,7 @@ declare module "@polkadot/types/lookup" { | "BadClass"; } - /** @name PalletReferendaReferendumInfo (560) */ + /** @name PalletReferendaReferendumInfo (559) */ interface PalletReferendaReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletReferendaReferendumStatus; @@ -6954,7 +7029,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Ongoing" | "Approved" | "Rejected" | "Cancelled" | "TimedOut" | "Killed"; } - /** @name PalletReferendaReferendumStatus (561) */ + /** @name PalletReferendaReferendumStatus (560) */ interface PalletReferendaReferendumStatus extends Struct { readonly track: u16; readonly origin: MoonbeamRuntimeOriginCaller; @@ -6969,19 +7044,19 @@ declare module "@polkadot/types/lookup" { readonly alarm: Option]>>; } - /** @name PalletReferendaDeposit (562) */ + /** @name PalletReferendaDeposit (561) */ interface PalletReferendaDeposit extends Struct { readonly who: AccountId20; readonly amount: u128; } - /** @name PalletReferendaDecidingStatus (565) */ + /** @name PalletReferendaDecidingStatus (564) */ interface PalletReferendaDecidingStatus extends Struct { readonly since: u32; readonly confirming: Option; } - /** @name PalletReferendaTrackInfo (573) */ + /** @name PalletReferendaTrackInfo (572) */ interface PalletReferendaTrackInfo extends Struct { readonly name: Text; readonly maxDeciding: u32; @@ -6994,7 +7069,7 @@ declare module "@polkadot/types/lookup" { readonly minSupport: PalletReferendaCurve; } - /** @name PalletReferendaCurve (574) */ + /** @name PalletReferendaCurve (573) */ interface PalletReferendaCurve extends Enum { readonly isLinearDecreasing: boolean; readonly asLinearDecreasing: { @@ -7018,7 +7093,7 @@ declare module "@polkadot/types/lookup" { readonly type: "LinearDecreasing" | "SteppedDecreasing" | "Reciprocal"; } - /** @name PalletReferendaError (577) */ + /** @name PalletReferendaError (576) */ interface PalletReferendaError extends Enum { readonly isNotOngoing: boolean; readonly isHasDeposit: boolean; @@ -7033,6 +7108,7 @@ declare module "@polkadot/types/lookup" { readonly isNoDeposit: boolean; readonly isBadStatus: boolean; readonly isPreimageNotExist: boolean; + readonly isPreimageStoredWithDifferentLength: boolean; readonly type: | "NotOngoing" | "HasDeposit" @@ -7046,10 +7122,11 @@ declare module "@polkadot/types/lookup" { | "NoPermission" | "NoDeposit" | "BadStatus" - | "PreimageNotExist"; + | "PreimageNotExist" + | "PreimageStoredWithDifferentLength"; } - /** @name PalletWhitelistError (578) */ + /** @name PalletWhitelistError (577) */ interface PalletWhitelistError extends Enum { readonly isUnavailablePreImage: boolean; readonly isUndecodableCall: boolean; @@ -7064,7 +7141,7 @@ declare module "@polkadot/types/lookup" { | "CallAlreadyWhitelisted"; } - /** @name PalletCollectiveVotes (580) */ + /** @name PalletCollectiveVotes (579) */ interface PalletCollectiveVotes extends Struct { readonly index: u32; readonly threshold: u32; @@ -7073,7 +7150,7 @@ declare module "@polkadot/types/lookup" { readonly end: u32; } - /** @name PalletCollectiveError (581) */ + /** @name PalletCollectiveError (580) */ interface PalletCollectiveError extends Enum { readonly isNotMember: boolean; readonly isDuplicateProposal: boolean; @@ -7100,7 +7177,7 @@ declare module "@polkadot/types/lookup" { | "PrimeAccountNotMember"; } - /** @name PalletTreasuryProposal (584) */ + /** @name PalletTreasuryProposal (583) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId20; readonly value: u128; @@ -7108,7 +7185,7 @@ declare module "@polkadot/types/lookup" { readonly bond: u128; } - /** @name PalletTreasurySpendStatus (587) */ + /** @name PalletTreasurySpendStatus (586) */ interface PalletTreasurySpendStatus extends Struct { readonly assetKind: Null; readonly amount: u128; @@ -7118,7 +7195,7 @@ declare module "@polkadot/types/lookup" { readonly status: PalletTreasuryPaymentState; } - /** @name PalletTreasuryPaymentState (588) */ + /** @name PalletTreasuryPaymentState (587) */ interface PalletTreasuryPaymentState extends Enum { readonly isPending: boolean; readonly isAttempted: boolean; @@ -7129,10 +7206,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Pending" | "Attempted" | "Failed"; } - /** @name FrameSupportPalletId (590) */ + /** @name FrameSupportPalletId (589) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (591) */ + /** @name PalletTreasuryError (590) */ interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; @@ -7161,14 +7238,14 @@ declare module "@polkadot/types/lookup" { | "Inconclusive"; } - /** @name PalletCrowdloanRewardsRewardInfo (592) */ + /** @name PalletCrowdloanRewardsRewardInfo (591) */ interface PalletCrowdloanRewardsRewardInfo extends Struct { readonly totalReward: u128; readonly claimedReward: u128; readonly contributedRelayAddresses: Vec; } - /** @name PalletCrowdloanRewardsError (594) */ + /** @name PalletCrowdloanRewardsError (593) */ interface PalletCrowdloanRewardsError extends Enum { readonly isAlreadyAssociated: boolean; readonly isBatchBeyondFundPot: boolean; @@ -7203,7 +7280,7 @@ declare module "@polkadot/types/lookup" { | "InsufficientNumberOfValidProofs"; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (599) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (598) */ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -7212,21 +7289,21 @@ declare module "@polkadot/types/lookup" { readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (600) */ + /** @name CumulusPalletXcmpQueueOutboundState (599) */ interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: "Ok" | "Suspended"; } - /** @name CumulusPalletXcmpQueueQueueConfigData (602) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (601) */ interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; readonly resumeThreshold: u32; } - /** @name CumulusPalletXcmpQueueError (603) */ + /** @name CumulusPalletXcmpQueueError (602) */ interface CumulusPalletXcmpQueueError extends Enum { readonly isBadQueueConfig: boolean; readonly isAlreadySuspended: boolean; @@ -7234,7 +7311,7 @@ declare module "@polkadot/types/lookup" { readonly type: "BadQueueConfig" | "AlreadySuspended" | "AlreadyResumed"; } - /** @name CumulusPalletDmpQueueMigrationState (604) */ + /** @name CumulusPalletDmpQueueMigrationState (603) */ interface CumulusPalletDmpQueueMigrationState extends Enum { readonly isNotStarted: boolean; readonly isStartedExport: boolean; @@ -7262,7 +7339,7 @@ declare module "@polkadot/types/lookup" { | "Completed"; } - /** @name PalletXcmQueryStatus (607) */ + /** @name PalletXcmQueryStatus (606) */ interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { @@ -7284,7 +7361,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Pending" | "VersionNotifier" | "Ready"; } - /** @name XcmVersionedResponse (611) */ + /** @name XcmVersionedResponse (610) */ interface XcmVersionedResponse extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Response; @@ -7295,7 +7372,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name PalletXcmVersionMigrationStage (617) */ + /** @name PalletXcmVersionMigrationStage (616) */ interface PalletXcmVersionMigrationStage extends Enum { readonly isMigrateSupportedVersion: boolean; readonly isMigrateVersionNotifiers: boolean; @@ -7309,16 +7386,7 @@ declare module "@polkadot/types/lookup" { | "MigrateAndNotifyOldTargets"; } - /** @name XcmVersionedAssetId (620) */ - interface XcmVersionedAssetId extends Enum { - readonly isV3: boolean; - readonly asV3: XcmV3MultiassetAssetId; - readonly isV4: boolean; - readonly asV4: StagingXcmV4AssetAssetId; - readonly type: "V3" | "V4"; - } - - /** @name PalletXcmRemoteLockedFungibleRecord (621) */ + /** @name PalletXcmRemoteLockedFungibleRecord (619) */ interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; readonly owner: XcmVersionedLocation; @@ -7326,7 +7394,7 @@ declare module "@polkadot/types/lookup" { readonly consumers: Vec>; } - /** @name PalletXcmError (628) */ + /** @name PalletXcmError (626) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -7348,7 +7416,6 @@ declare module "@polkadot/types/lookup" { readonly isFeesNotMet: boolean; readonly isLockNotFound: boolean; readonly isInUse: boolean; - readonly isInvalidAssetNotConcrete: boolean; readonly isInvalidAssetUnknownReserve: boolean; readonly isInvalidAssetUnsupportedReserve: boolean; readonly isTooManyReserves: boolean; @@ -7374,14 +7441,13 @@ declare module "@polkadot/types/lookup" { | "FeesNotMet" | "LockNotFound" | "InUse" - | "InvalidAssetNotConcrete" | "InvalidAssetUnknownReserve" | "InvalidAssetUnsupportedReserve" | "TooManyReserves" | "LocalExecutionIncomplete"; } - /** @name PalletAssetsAssetDetails (629) */ + /** @name PalletAssetsAssetDetails (627) */ interface PalletAssetsAssetDetails extends Struct { readonly owner: AccountId20; readonly issuer: AccountId20; @@ -7397,7 +7463,7 @@ declare module "@polkadot/types/lookup" { readonly status: PalletAssetsAssetStatus; } - /** @name PalletAssetsAssetStatus (630) */ + /** @name PalletAssetsAssetStatus (628) */ interface PalletAssetsAssetStatus extends Enum { readonly isLive: boolean; readonly isFrozen: boolean; @@ -7405,7 +7471,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Live" | "Frozen" | "Destroying"; } - /** @name PalletAssetsAssetAccount (632) */ + /** @name PalletAssetsAssetAccount (630) */ interface PalletAssetsAssetAccount extends Struct { readonly balance: u128; readonly status: PalletAssetsAccountStatus; @@ -7413,7 +7479,7 @@ declare module "@polkadot/types/lookup" { readonly extra: Null; } - /** @name PalletAssetsAccountStatus (633) */ + /** @name PalletAssetsAccountStatus (631) */ interface PalletAssetsAccountStatus extends Enum { readonly isLiquid: boolean; readonly isFrozen: boolean; @@ -7421,7 +7487,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Liquid" | "Frozen" | "Blocked"; } - /** @name PalletAssetsExistenceReason (634) */ + /** @name PalletAssetsExistenceReason (632) */ interface PalletAssetsExistenceReason extends Enum { readonly isConsumer: boolean; readonly isSufficient: boolean; @@ -7433,13 +7499,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Consumer" | "Sufficient" | "DepositHeld" | "DepositRefunded" | "DepositFrom"; } - /** @name PalletAssetsApproval (636) */ + /** @name PalletAssetsApproval (634) */ interface PalletAssetsApproval extends Struct { readonly amount: u128; readonly deposit: u128; } - /** @name PalletAssetsAssetMetadata (637) */ + /** @name PalletAssetsAssetMetadata (635) */ interface PalletAssetsAssetMetadata extends Struct { readonly deposit: u128; readonly name: Bytes; @@ -7448,7 +7514,7 @@ declare module "@polkadot/types/lookup" { readonly isFrozen: bool; } - /** @name PalletAssetsError (639) */ + /** @name PalletAssetsError (637) */ interface PalletAssetsError extends Enum { readonly isBalanceLow: boolean; readonly isNoAccount: boolean; @@ -7493,7 +7559,7 @@ declare module "@polkadot/types/lookup" { | "CallbackFailed"; } - /** @name PalletAssetManagerError (641) */ + /** @name PalletAssetManagerError (639) */ interface PalletAssetManagerError extends Enum { readonly isErrorCreatingAsset: boolean; readonly isAssetAlreadyExists: boolean; @@ -7514,7 +7580,7 @@ declare module "@polkadot/types/lookup" { | "NonExistentLocalAsset"; } - /** @name OrmlXtokensModuleError (642) */ + /** @name OrmlXtokensModuleError (640) */ interface OrmlXtokensModuleError extends Enum { readonly isAssetHasNoReserve: boolean; readonly isNotCrossChainTransfer: boolean; @@ -7535,6 +7601,7 @@ declare module "@polkadot/types/lookup" { readonly isFeeNotEnough: boolean; readonly isNotSupportedLocation: boolean; readonly isMinXcmFeeNotDefined: boolean; + readonly isRateLimited: boolean; readonly type: | "AssetHasNoReserve" | "NotCrossChainTransfer" @@ -7554,10 +7621,11 @@ declare module "@polkadot/types/lookup" { | "AssetIndexNonExistent" | "FeeNotEnough" | "NotSupportedLocation" - | "MinXcmFeeNotDefined"; + | "MinXcmFeeNotDefined" + | "RateLimited"; } - /** @name PalletXcmTransactorRelayIndicesRelayChainIndices (643) */ + /** @name PalletXcmTransactorRelayIndicesRelayChainIndices (641) */ interface PalletXcmTransactorRelayIndicesRelayChainIndices extends Struct { readonly staking: u8; readonly utility: u8; @@ -7579,7 +7647,7 @@ declare module "@polkadot/types/lookup" { readonly cancelOpenRequest: u8; } - /** @name PalletXcmTransactorError (644) */ + /** @name PalletXcmTransactorError (642) */ interface PalletXcmTransactorError extends Enum { readonly isIndexAlreadyClaimed: boolean; readonly isUnclaimedIndex: boolean; @@ -7638,13 +7706,13 @@ declare module "@polkadot/types/lookup" { | "RefundNotSupportedWithTransactInfo"; } - /** @name PalletEthereumXcmError (645) */ + /** @name PalletEthereumXcmError (643) */ interface PalletEthereumXcmError extends Enum { readonly isEthereumXcmExecutionSuspended: boolean; readonly type: "EthereumXcmExecutionSuspended"; } - /** @name PalletMessageQueueBookState (646) */ + /** @name PalletMessageQueueBookState (644) */ interface PalletMessageQueueBookState extends Struct { readonly begin: u32; readonly end: u32; @@ -7654,13 +7722,13 @@ declare module "@polkadot/types/lookup" { readonly size_: u64; } - /** @name PalletMessageQueueNeighbours (648) */ + /** @name PalletMessageQueueNeighbours (646) */ interface PalletMessageQueueNeighbours extends Struct { readonly prev: CumulusPrimitivesCoreAggregateMessageOrigin; readonly next: CumulusPrimitivesCoreAggregateMessageOrigin; } - /** @name PalletMessageQueuePage (650) */ + /** @name PalletMessageQueuePage (648) */ interface PalletMessageQueuePage extends Struct { readonly remaining: u32; readonly remainingSize: u32; @@ -7670,7 +7738,7 @@ declare module "@polkadot/types/lookup" { readonly heap: Bytes; } - /** @name PalletMessageQueueError (652) */ + /** @name PalletMessageQueueError (650) */ interface PalletMessageQueueError extends Enum { readonly isNotReapable: boolean; readonly isNoPage: boolean; @@ -7693,19 +7761,19 @@ declare module "@polkadot/types/lookup" { | "RecursiveDisallowed"; } - /** @name PalletPrecompileBenchmarksError (654) */ + /** @name PalletPrecompileBenchmarksError (652) */ interface PalletPrecompileBenchmarksError extends Enum { readonly isBenchmarkError: boolean; readonly type: "BenchmarkError"; } - /** @name PalletRandomnessRequestState (655) */ + /** @name PalletRandomnessRequestState (653) */ interface PalletRandomnessRequestState extends Struct { readonly request: PalletRandomnessRequest; readonly deposit: u128; } - /** @name PalletRandomnessRequest (656) */ + /** @name PalletRandomnessRequest (654) */ interface PalletRandomnessRequest extends Struct { readonly refundAddress: H160; readonly contractAddress: H160; @@ -7716,7 +7784,7 @@ declare module "@polkadot/types/lookup" { readonly info: PalletRandomnessRequestInfo; } - /** @name PalletRandomnessRequestInfo (657) */ + /** @name PalletRandomnessRequestInfo (655) */ interface PalletRandomnessRequestInfo extends Enum { readonly isBabeEpoch: boolean; readonly asBabeEpoch: ITuple<[u64, u64]>; @@ -7725,7 +7793,7 @@ declare module "@polkadot/types/lookup" { readonly type: "BabeEpoch" | "Local"; } - /** @name PalletRandomnessRequestType (658) */ + /** @name PalletRandomnessRequestType (656) */ interface PalletRandomnessRequestType extends Enum { readonly isBabeEpoch: boolean; readonly asBabeEpoch: u64; @@ -7734,13 +7802,13 @@ declare module "@polkadot/types/lookup" { readonly type: "BabeEpoch" | "Local"; } - /** @name PalletRandomnessRandomnessResult (659) */ + /** @name PalletRandomnessRandomnessResult (657) */ interface PalletRandomnessRandomnessResult extends Struct { readonly randomness: Option; readonly requestCount: u64; } - /** @name PalletRandomnessError (660) */ + /** @name PalletRandomnessError (658) */ interface PalletRandomnessError extends Enum { readonly isRequestCounterOverflowed: boolean; readonly isRequestFeeOverflowed: boolean; @@ -7769,27 +7837,27 @@ declare module "@polkadot/types/lookup" { | "RandomnessResultNotFilled"; } - /** @name FrameSystemExtensionsCheckNonZeroSender (663) */ + /** @name FrameSystemExtensionsCheckNonZeroSender (661) */ type FrameSystemExtensionsCheckNonZeroSender = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (664) */ + /** @name FrameSystemExtensionsCheckSpecVersion (662) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (665) */ + /** @name FrameSystemExtensionsCheckTxVersion (663) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (666) */ + /** @name FrameSystemExtensionsCheckGenesis (664) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (669) */ + /** @name FrameSystemExtensionsCheckNonce (667) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (670) */ + /** @name FrameSystemExtensionsCheckWeight (668) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTransactionPaymentChargeTransactionPayment (671) */ + /** @name PalletTransactionPaymentChargeTransactionPayment (669) */ interface PalletTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name MoonbeamRuntimeRuntime (673) */ + /** @name MoonbeamRuntimeRuntime (671) */ type MoonbeamRuntimeRuntime = Null; } // declare module diff --git a/typescript-api/src/moonriver/interfaces/augment-api-consts.ts b/typescript-api/src/moonriver/interfaces/augment-api-consts.ts index 1e06ab5ff5..8aa1f678ef 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-consts.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-consts.ts @@ -6,7 +6,7 @@ import "@polkadot/api-base/types/consts"; import type { ApiTypes, AugmentedConst } from "@polkadot/api-base/types"; -import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from "@polkadot/types-codec"; +import type { Bytes, Null, Option, Vec, u128, u16, u32, u64, u8 } from "@polkadot/types-codec"; import type { Codec, ITuple } from "@polkadot/types-codec/types"; import type { Perbill, Permill } from "@polkadot/types/interfaces/runtime"; import type { @@ -69,9 +69,17 @@ declare module "@polkadot/api-base/types/consts" { /** * The maximum number of locks that should exist on an account. Not strictly enforced, but * used for weight estimation. + * + * Use of locks is deprecated in favour of freezes. See + * `https://github.com/paritytech/substrate/pull/12951/` */ maxLocks: u32 & AugmentedConst; - /** The maximum number of named reserves that can exist on an account. */ + /** + * The maximum number of named reserves that can exist on an account. + * + * Use of reserves is deprecated in favour of holds. See + * `https://github.com/paritytech/substrate/pull/12951/` + */ maxReserves: u32 & AugmentedConst; /** Generic const */ [key: string]: Codec; @@ -117,7 +125,7 @@ declare module "@polkadot/api-base/types/consts" { /** The amount held on deposit per encoded byte for a registered identity. */ byteDeposit: u128 & AugmentedConst; /** - * Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, + * Maximum number of registrars allowed in the system. Needed to bound the complexity of, * e.g., updating judgements. */ maxRegistrars: u32 & AugmentedConst; @@ -147,6 +155,14 @@ declare module "@polkadot/api-base/types/consts" { * is slightly lower than this as defined by [`MaxMessageLenOf`]. */ heapSize: u32 & AugmentedConst; + /** + * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which + * should be provided to the message queue for servicing enqueued items `on_idle`. Useful for + * parachains to process messages at the same block they are received. + * + * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`. + */ + idleMaxServiceWeight: Option & AugmentedConst; /** * The maximum number of stale pages (i.e. of overweight messages) allowed before culling can * happen. Once there are more stale pages than this, then historical pages may be dropped, @@ -155,10 +171,11 @@ declare module "@polkadot/api-base/types/consts" { maxStale: u32 & AugmentedConst; /** * The amount of weight (if any) which should be provided to the message queue for servicing - * enqueued items. + * enqueued items `on_initialize`. * * This may be legitimately `None` in the case that you will call - * `ServiceQueues::service_queues` manually. + * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have it + * run in `on_idle`. */ serviceWeight: Option & AugmentedConst; /** Generic const */ @@ -245,6 +262,12 @@ declare module "@polkadot/api-base/types/consts" { /** Generic const */ [key: string]: Codec; }; + parachainSystem: { + /** Returns the parachain ID we are running with. */ + selfParaId: u32 & AugmentedConst; + /** Generic const */ + [key: string]: Codec; + }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. @@ -365,7 +388,7 @@ declare module "@polkadot/api-base/types/consts" { * runtime should know about the prefix in order to make use of it as an identifier of the chain. */ ss58Prefix: u16 & AugmentedConst; - /** Get the chain's current version. */ + /** Get the chain's in-code version. */ version: SpVersionRuntimeVersion & AugmentedConst; /** Generic const */ [key: string]: Codec; @@ -475,6 +498,8 @@ declare module "@polkadot/api-base/types/consts" { * The actually weight for an XCM message is `T::BaseXcmWeight + T::Weigher::weight(&msg)`. */ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; + /** The id of the RateLimiter. */ + rateLimiterId: Null & AugmentedConst; /** Self chain location. */ selfLocation: StagingXcmV4Location & AugmentedConst; /** Generic const */ diff --git a/typescript-api/src/moonriver/interfaces/augment-api-errors.ts b/typescript-api/src/moonriver/interfaces/augment-api-errors.ts index 14eaee15e5..f87f4c1441 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-errors.ts @@ -137,7 +137,7 @@ declare module "@polkadot/api-base/types/errors" { AlreadyDelegating: AugmentedError; /** * The account currently has votes attached to it and the operation cannot succeed until these - * are removed, either through `unvote` or `reap_vote`. + * are removed through `remove_vote`. */ AlreadyVoting: AugmentedError; /** The class ID supplied is invalid. */ @@ -241,8 +241,6 @@ declare module "@polkadot/api-base/types/errors" { InvalidNonce: AugmentedError; /** The signature is invalid. */ InvalidSignature: AugmentedError; - /** Invalid Transaction */ - InvalidTransaction: AugmentedError; /** Calculating total payment overflowed */ PaymentOverflow: AugmentedError; /** EVM reentrancy */ @@ -560,8 +558,6 @@ declare module "@polkadot/api-base/types/errors" { Filtered: AugmentedError; /** The unlock operation cannot succeed because there are still consumers of the lock. */ InUse: AugmentedError; - /** Invalid non-concrete asset. */ - InvalidAssetNotConcrete: AugmentedError; /** Invalid asset, reserve chain could not be determined for it. */ InvalidAssetUnknownReserve: AugmentedError; /** Invalid asset, do not support remote asset reserves with different fees reserves. */ @@ -678,6 +674,8 @@ declare module "@polkadot/api-base/types/errors" { NoTrack: AugmentedError; /** The preimage does not exist. */ PreimageNotExist: AugmentedError; + /** The preimage is stored with a different length than the one provided. */ + PreimageStoredWithDifferentLength: AugmentedError; /** The queue of the track is empty. */ QueueEmpty: AugmentedError; /** Any deposit cannot be refunded until after the decision is over. */ @@ -710,6 +708,8 @@ declare module "@polkadot/api-base/types/errors" { FailedToExtractRuntimeVersion: AugmentedError; /** The name of specification does not match between the current runtime and the new runtime. */ InvalidSpecName: AugmentedError; + /** A multi-block migration is ongoing and prevents the current code from being replaced. */ + MultiBlockMigrationsOngoing: AugmentedError; /** Suicide called when the account has non-default composite data. */ NonDefaultComposite: AugmentedError; /** There is a non-zero reference count preventing the account from being purged. */ @@ -867,6 +867,8 @@ declare module "@polkadot/api-base/types/errors" { NotCrossChainTransferableCurrency: AugmentedError; /** Not supported Location */ NotSupportedLocation: AugmentedError; + /** Asset transfer is limited by RateLimiter. */ + RateLimited: AugmentedError; /** The number of assets to be sent is over the maximum. */ TooManyAssetsBeingSent: AugmentedError; /** The message's weight could not be determined. */ diff --git a/typescript-api/src/moonriver/interfaces/augment-api-events.ts b/typescript-api/src/moonriver/interfaces/augment-api-events.ts index 8b7936b121..ae62a95a13 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-events.ts @@ -1711,6 +1711,27 @@ declare module "@polkadot/api-base/types/events" { [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; + /** Cancel a retry configuration for some task. */ + RetryCancelled: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option], + { task: ITuple<[u32, u32]>; id: Option } + >; + /** + * The given task was unable to be retried since the agenda is full at that block or there was + * not enough weight to reschedule it. + */ + RetryFailed: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option], + { task: ITuple<[u32, u32]>; id: Option } + >; + /** Set a retry configuration for some task. */ + RetrySet: AugmentedEvent< + ApiType, + [task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8], + { task: ITuple<[u32, u32]>; id: Option; period: u32; retries: u8 } + >; /** Scheduled some task. */ Scheduled: AugmentedEvent; /** Generic event */ diff --git a/typescript-api/src/moonriver/interfaces/augment-api-query.ts b/typescript-api/src/moonriver/interfaces/augment-api-query.ts index 500529e090..5dce72882d 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-query.ts @@ -93,6 +93,7 @@ import type { PalletRandomnessRequestState, PalletRandomnessRequestType, PalletReferendaReferendumInfo, + PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletTransactionPaymentReleases, PalletTreasuryProposal, @@ -103,10 +104,10 @@ import type { PalletXcmTransactorRemoteTransactInfoWithMaxWeight, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, - PolkadotPrimitivesV6AbridgedHostConfiguration, - PolkadotPrimitivesV6PersistedValidationData, - PolkadotPrimitivesV6UpgradeGoAhead, - PolkadotPrimitivesV6UpgradeRestriction, + PolkadotPrimitivesV7AbridgedHostConfiguration, + PolkadotPrimitivesV7PersistedValidationData, + PolkadotPrimitivesV7UpgradeGoAhead, + PolkadotPrimitivesV7UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, @@ -324,6 +325,9 @@ declare module "@polkadot/api-base/types/storage" { /** * Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, * changing and freeing a lock. + * + * Use of locks is deprecated in favour of freezes. See + * `https://github.com/paritytech/substrate/pull/12951/` */ locks: AugmentedQuery< ApiType, @@ -331,7 +335,12 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Named reserves on some account balances. */ + /** + * Named reserves on some account balances. + * + * Use of reserves is deprecated in favour of holds. See + * `https://github.com/paritytech/substrate/pull/12951/` + */ reserves: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, @@ -749,7 +758,7 @@ declare module "@polkadot/api-base/types/storage" { /** The current members of the collective. This is stored sorted (just by value). */ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of absentations. */ + /** The prime member that helps determine the default vote behavior in case of abstentions. */ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** Proposals so far. */ @@ -952,7 +961,7 @@ declare module "@polkadot/api-base/types/storage" { */ hostConfiguration: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1093,7 +1102,7 @@ declare module "@polkadot/api-base/types/storage" { */ upgradeGoAhead: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1108,7 +1117,7 @@ declare module "@polkadot/api-base/types/storage" { */ upgradeRestrictionSignal: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1128,7 +1137,7 @@ declare module "@polkadot/api-base/types/storage" { */ validationData: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1426,6 +1435,15 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; + /** Retry configurations for items to be executed, indexed by task address. */ + retries: AugmentedQuery< + ApiType, + ( + arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] + ) => Observable>, + [ITuple<[u32, u32]>] + > & + QueryableStorageEntry]>; /** Generic query */ [key: string]: QueryableStorageEntry; }; @@ -1509,6 +1527,9 @@ declare module "@polkadot/api-base/types/storage" { [u32] > & QueryableStorageEntry; + /** Whether all inherents have been applied. */ + inherentsApplied: AugmentedQuery Observable, []> & + QueryableStorageEntry; /** Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. */ lastRuntimeUpgrade: AugmentedQuery< ApiType, @@ -1594,7 +1615,7 @@ declare module "@polkadot/api-base/types/storage" { /** The current members of the collective. This is stored sorted (just by value). */ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of absentations. */ + /** The prime member that helps determine the default vote behavior in case of abstentions. */ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** Proposals so far. */ diff --git a/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts b/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts index a4103cf785..8a6d23f28b 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts @@ -37,6 +37,7 @@ import type { AccountId, Balance, Block, + ExtrinsicInclusionMode, H160, H256, Header, @@ -134,7 +135,7 @@ declare module "@polkadot/api-base/types/calls" { /** Generic call */ [key: string]: DecoratedCallBase; }; - /** 0xdf6acb689907609b/4 */ + /** 0xdf6acb689907609b/5 */ core: { /** Execute the given block. */ executeBlock: AugmentedCall< @@ -158,7 +159,7 @@ declare module "@polkadot/api-base/types/calls" { } | string | Uint8Array - ) => Observable + ) => Observable >; /** Returns the version of the runtime. */ version: AugmentedCall Observable>; diff --git a/typescript-api/src/moonriver/interfaces/augment-api-tx.ts b/typescript-api/src/moonriver/interfaces/augment-api-tx.ts index 5ef94feb6b..fa6bd24dec 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-tx.ts @@ -62,11 +62,13 @@ import type { PalletXcmTransactorTransactWeights, SpRuntimeMultiSignature, SpWeightsWeightV2Weight, + StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, XcmPrimitivesEthereumXcmEthereumXcmTransaction, XcmV2OriginKind, XcmV3WeightLimit, XcmVersionedAsset, + XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm, @@ -80,7 +82,10 @@ export type __SubmittableExtrinsicFunction = declare module "@polkadot/api-base/types/submittable" { interface AugmentedSubmittables { assetManager: { - /** See [`Pallet::change_existing_asset_type`]. */ + /** + * Change the xcm type mapping for a given assetId We also change this if the previous units + * per second where pointing at the old assetType + */ changeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -89,7 +94,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, MoonriverRuntimeXcmConfigAssetType, u32] >; - /** See [`Pallet::destroy_foreign_asset`]. */ + /** + * Destroy a given foreign assetId The weight in this case is the one returned by the trait + * plus the db writes and reads from removing all the associated data + */ destroyForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -97,7 +105,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** See [`Pallet::register_foreign_asset`]. */ + /** Register new asset with the asset manager */ registerForeignAsset: AugmentedSubmittable< ( asset: MoonriverRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -116,7 +124,7 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::remove_existing_asset_type`]. */ + /** Remove a given assetId -> assetType association */ removeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -124,7 +132,6 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** See [`Pallet::remove_supported_asset`]. */ removeSupportedAsset: AugmentedSubmittable< ( assetType: MoonriverRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -132,7 +139,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonriverRuntimeXcmConfigAssetType, u32] >; - /** See [`Pallet::set_asset_units_per_second`]. */ + /** Change the amount of units we are charging per execution second for a given ForeignAssetType */ setAssetUnitsPerSecond: AugmentedSubmittable< ( assetType: MoonriverRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -145,7 +152,26 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; assets: { - /** See [`Pallet::approve_transfer`]. */ + /** + * Approve an amount of asset for transfer by a delegated third-party account. + * + * Origin must be Signed. + * + * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account for the + * purpose of holding the approval. If some non-zero amount of assets is already approved from + * signing account to `delegate`, then it is topped up or unreserved to meet the right value. + * + * NOTE: The signing account does not need to own `amount` of assets at the point of making this call. + * + * - `id`: The identifier of the asset. + * - `delegate`: The account to delegate permission to transfer asset. + * - `amount`: The amount of asset that may be transferred by `delegate`. If there is already an + * approval in place, then this acts additively. + * + * Emits `ApprovedTransfer` on success. + * + * Weight: `O(1)` + */ approveTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -154,7 +180,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::block`]. */ + /** + * Disallow further unprivileged transfers of an asset `id` to and from an account `who`. + * + * Origin must be Signed and the sender should be the Freezer of the asset `id`. + * + * - `id`: The identifier of the account's asset. + * - `who`: The account to be unblocked. + * + * Emits `Blocked`. + * + * Weight: `O(1)` + */ block: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -162,7 +199,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::burn`]. */ + /** + * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`. + * + * Origin must be Signed and the sender should be the Manager of the asset `id`. + * + * Bails with `NoAccount` if the `who` is already dead. + * + * - `id`: The identifier of the asset to have some amount burned. + * - `who`: The account to be debited from. + * - `amount`: The maximum amount by which `who`'s balance should be reduced. + * + * Emits `Burned` with the actual amount burned. If this takes the balance to below the + * minimum for the asset, then the amount burned is increased to take it to zero. + * + * Weight: `O(1)` Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. + */ burn: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -171,7 +223,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::cancel_approval`]. */ + /** + * Cancel all of some asset approved for delegated transfer by a third-party account. + * + * Origin must be Signed and there must be an approval in place between signer and `delegate`. + * + * Unreserves any deposit previously reserved by `approve_transfer` for the approval. + * + * - `id`: The identifier of the asset. + * - `delegate`: The account delegated permission to transfer asset. + * + * Emits `ApprovalCancelled` on success. + * + * Weight: `O(1)` + */ cancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -179,12 +244,45 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::clear_metadata`]. */ + /** + * Clear the metadata for an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * Any deposit is freed for the asset owner. + * + * - `id`: The identifier of the asset to clear. + * + * Emits `MetadataCleared`. + * + * Weight: `O(1)` + */ clearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::create`]. */ + /** + * Issue a new class of fungible assets from a public origin. + * + * This new asset class has no assets initially and its owner is the origin. + * + * The origin must conform to the configured `CreateOrigin` and have sufficient funds free. + * + * Funds of sender are reserved by `AssetDeposit`. + * + * Parameters: + * + * - `id`: The identifier of the new asset. This must not be currently in use to identify an + * existing asset. + * - `admin`: The admin of this class of assets. The admin is the initial address of each member + * of the asset class's admin team. + * - `min_balance`: The minimum balance of this new asset that any single account must have. If + * an account's balance is reduced below this, then it collapses to zero. + * + * Emits `Created` event when successful. + * + * Weight: `O(1)` + */ create: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -193,22 +291,76 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, u128] >; - /** See [`Pallet::destroy_accounts`]. */ + /** + * Destroy all accounts associated with a given asset. + * + * `destroy_accounts` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. + * + * Due to weight restrictions, this function may need to be called multiple times to fully + * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * Each call emits the `Event::DestroyedAccounts` event. + */ destroyAccounts: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::destroy_approvals`]. */ + /** + * Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit). + * + * `destroy_approvals` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. + * + * Due to weight restrictions, this function may need to be called multiple times to fully + * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * Each call emits the `Event::DestroyedApprovals` event. + */ destroyApprovals: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::finish_destroy`]. */ + /** + * Complete destroying asset and unreserve currency. + * + * `finish_destroy` should only be called after `start_destroy` has been called, and the asset + * is in a `Destroying` state. All accounts or approvals should be destroyed before hand. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * Each successful call emits the `Event::Destroyed` event. + */ finishDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::force_asset_status`]. */ + /** + * Alter the attributes of a given asset. + * + * Origin must be `ForceOrigin`. + * + * - `id`: The identifier of the asset. + * - `owner`: The new Owner of this asset. + * - `issuer`: The new Issuer of this asset. + * - `admin`: The new Admin of this asset. + * - `freezer`: The new Freezer of this asset. + * - `min_balance`: The minimum balance of this new asset that any single account must have. If + * an account's balance is reduced below this, then it collapses to zero. + * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient value to + * account for the state bloat associated with its balance storage. If set to `true`, then + * non-zero balances may be stored without a `consumer` reference (and thus an ED in the + * Balances pallet or whatever else is used to control user-account state growth). + * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin instructions. + * + * Emits `AssetStatusChanged` with the identity of the asset. + * + * Weight: `O(1)` + */ forceAssetStatus: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -231,7 +383,21 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::force_cancel_approval`]. */ + /** + * Cancel all of some asset approved for delegated transfer by a third-party account. + * + * Origin must be either ForceOrigin or Signed origin with the signer being the Admin account + * of the asset `id`. + * + * Unreserves any deposit previously reserved by `approve_transfer` for the approval. + * + * - `id`: The identifier of the asset. + * - `delegate`: The account delegated permission to transfer asset. + * + * Emits `ApprovalCancelled` on success. + * + * Weight: `O(1)` + */ forceCancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -240,12 +406,44 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20] >; - /** See [`Pallet::force_clear_metadata`]. */ + /** + * Clear the metadata for an asset. + * + * Origin must be ForceOrigin. + * + * Any deposit is returned. + * + * - `id`: The identifier of the asset to clear. + * + * Emits `MetadataCleared`. + * + * Weight: `O(1)` + */ forceClearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::force_create`]. */ + /** + * Issue a new class of fungible assets from a privileged origin. + * + * This new asset class has no assets initially. + * + * The origin must conform to `ForceOrigin`. + * + * Unlike `create`, no funds are reserved. + * + * - `id`: The identifier of the new asset. This must not be currently in use to identify an + * existing asset. + * - `owner`: The owner of this class of assets. The owner has full superuser permissions over + * this asset, but may later change and configure the permissions using `transfer_ownership` + * and `set_team`. + * - `min_balance`: The minimum balance of this new asset that any single account must have. If + * an account's balance is reduced below this, then it collapses to zero. + * + * Emits `ForceCreated` event when successful. + * + * Weight: `O(1)` + */ forceCreate: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -255,7 +453,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, bool, Compact] >; - /** See [`Pallet::force_set_metadata`]. */ + /** + * Force the metadata for an asset to some value. + * + * Origin must be ForceOrigin. + * + * Any deposit is left alone. + * + * - `id`: The identifier of the asset to update. + * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. + * - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`. + * - `decimals`: The number of decimals this asset uses to represent one unit. + * + * Emits `MetadataSet`. + * + * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively. + */ forceSetMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -266,7 +479,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Bytes, Bytes, u8, bool] >; - /** See [`Pallet::force_transfer`]. */ + /** + * Move some assets from one account to another. + * + * Origin must be Signed and the sender should be the Admin of the asset `id`. + * + * - `id`: The identifier of the asset to have some amount transferred. + * - `source`: The account to be debited. + * - `dest`: The account to be credited. + * - `amount`: The amount by which the `source`'s balance of assets should be reduced and + * `dest`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the `source` balance above zero but below + * the minimum balance. Must be greater than zero. + * + * Emits `Transferred` with the actual amount transferred. If this takes the source balance to + * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * + * Weight: `O(1)` Modes: Pre-existence of `dest`; Post-existence of `source`; Account + * pre-existence of `dest`. + */ forceTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -276,7 +507,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20, Compact] >; - /** See [`Pallet::freeze`]. */ + /** + * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` must + * already exist as an entry in `Account`s of the asset. If you want to freeze an account that + * does not have an entry, use `touch_other` first. + * + * Origin must be Signed and the sender should be the Freezer of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * - `who`: The account to be frozen. + * + * Emits `Frozen`. + * + * Weight: `O(1)` + */ freeze: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -284,12 +528,34 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::freeze_asset`]. */ + /** + * Disallow further unprivileged transfers for the asset class. + * + * Origin must be Signed and the sender should be the Freezer of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * + * Emits `Frozen`. + * + * Weight: `O(1)` + */ freezeAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::mint`]. */ + /** + * Mint assets of a particular class. + * + * The origin must be Signed and the sender must be the Issuer of the asset `id`. + * + * - `id`: The identifier of the asset to have some amount minted. + * - `beneficiary`: The account to be credited with the minted assets. + * - `amount`: The amount of the asset to be minted. + * + * Emits `Issued` event when successful. + * + * Weight: `O(1)` Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. + */ mint: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -298,7 +564,16 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::refund`]. */ + /** + * Return the deposit (if any) of an asset account or a consumer reference (if any) of an account. + * + * The origin must be Signed. + * + * - `id`: The identifier of the asset for which the caller would like the deposit refunded. + * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund. + * + * Emits `Refunded` event when successful. + */ refund: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -306,7 +581,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, bool] >; - /** See [`Pallet::refund_other`]. */ + /** + * Return the deposit (if any) of a target asset account. Useful if you are the depositor. + * + * The origin must be Signed and either the account owner, depositor, or asset `Admin`. In + * order to burn a non-zero balance of the asset, the caller must be the account and should + * use `refund`. + * + * - `id`: The identifier of the asset for the account holding a deposit. + * - `who`: The account to refund. + * + * Emits `Refunded` event when successful. + */ refundOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -314,7 +600,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::set_metadata`]. */ + /** + * Set the metadata for an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * Funds of sender are reserved according to the formula: `MetadataDepositBase + + * MetadataDepositPerByte * (name.len + symbol.len)` taking into account any already reserved funds. + * + * - `id`: The identifier of the asset to update. + * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. + * - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`. + * - `decimals`: The number of decimals this asset uses to represent one unit. + * + * Emits `MetadataSet`. + * + * Weight: `O(1)` + */ setMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -324,7 +626,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Bytes, Bytes, u8] >; - /** See [`Pallet::set_min_balance`]. */ + /** + * Sets the minimum balance of an asset. + * + * Only works if there aren't any accounts that are holding the asset or if the new value of + * `min_balance` is less than the old one. + * + * Origin must be Signed and the sender has to be the Owner of the asset `id`. + * + * - `id`: The identifier of the asset. + * - `min_balance`: The new value of `min_balance`. + * + * Emits `AssetMinBalanceChanged` event when successful. + */ setMinBalance: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -332,7 +646,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, u128] >; - /** See [`Pallet::set_team`]. */ + /** + * Change the Issuer, Admin and Freezer of an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * - `issuer`: The new Issuer of this asset. + * - `admin`: The new Admin of this asset. + * - `freezer`: The new Freezer of this asset. + * + * Emits `TeamChanged`. + * + * Weight: `O(1)` + */ setTeam: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -342,12 +669,34 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20, AccountId20] >; - /** See [`Pallet::start_destroy`]. */ + /** + * Start the process of destroying a fungible asset class. + * + * `start_destroy` is the first in a series of extrinsics that should be called, to allow + * destruction of an asset class. + * + * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`. + * + * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * + * The asset class must be frozen before calling `start_destroy`. + */ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::thaw`]. */ + /** + * Allow unprivileged transfers to and from an account again. + * + * Origin must be Signed and the sender should be the Admin of the asset `id`. + * + * - `id`: The identifier of the asset to be frozen. + * - `who`: The account to be unfrozen. + * + * Emits `Thawed`. + * + * Weight: `O(1)` + */ thaw: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -355,17 +704,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::thaw_asset`]. */ + /** + * Allow unprivileged transfers for the asset again. + * + * Origin must be Signed and the sender should be the Admin of the asset `id`. + * + * - `id`: The identifier of the asset to be thawed. + * + * Emits `Thawed`. + * + * Weight: `O(1)` + */ thawAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::touch`]. */ + /** + * Create an asset account for non-provider assets. + * + * A deposit will be taken from the signer account. + * + * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit to be taken. + * - `id`: The identifier of the asset for the account to be created. + * + * Emits `Touched` event when successful. + */ touch: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::touch_other`]. */ + /** + * Create an asset account for `who`. + * + * A deposit will be taken from the signer account. + * + * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account must + * have sufficient funds for a deposit to be taken. + * - `id`: The identifier of the asset for the account to be created. + * - `who`: The account to be created. + * + * Emits `Touched` event when successful. + */ touchOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -373,7 +752,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::transfer`]. */ + /** + * Move some assets from the sender account to another. + * + * Origin must be Signed. + * + * - `id`: The identifier of the asset to have some amount transferred. + * - `target`: The account to be credited. + * - `amount`: The amount by which the sender's balance of assets should be reduced and + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. + * + * Emits `Transferred` with the actual amount transferred. If this takes the source balance to + * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * + * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account + * pre-existence of `target`. + */ transfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -382,7 +778,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::transfer_approved`]. */ + /** + * Transfer some asset balance from a previously delegated account to some third-party account. + * + * Origin must be Signed and there must be an approval in place by the `owner` to the signer. + * + * If the entire amount approved for transfer is transferred, then any deposit previously + * reserved by `approve_transfer` is unreserved. + * + * - `id`: The identifier of the asset. + * - `owner`: The account which previously approved for a transfer of at least `amount` and from + * which the asset balance will be withdrawn. + * - `destination`: The account to which the asset balance of `amount` will be transferred. + * - `amount`: The amount of assets to transfer. + * + * Emits `TransferredApproved` on success. + * + * Weight: `O(1)` + */ transferApproved: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -392,7 +805,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, AccountId20, Compact] >; - /** See [`Pallet::transfer_keep_alive`]. */ + /** + * Move some assets from the sender account to another, keeping the sender account alive. + * + * Origin must be Signed. + * + * - `id`: The identifier of the asset to have some amount transferred. + * - `target`: The account to be credited. + * - `amount`: The amount by which the sender's balance of assets should be reduced and + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. + * + * Emits `Transferred` with the actual amount transferred. If this takes the source balance to + * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * + * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account + * pre-existence of `target`. + */ transferKeepAlive: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -401,7 +831,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; - /** See [`Pallet::transfer_ownership`]. */ + /** + * Change the Owner of an asset. + * + * Origin must be Signed and the sender should be the Owner of the asset `id`. + * + * - `id`: The identifier of the asset. + * - `owner`: The new Owner of this asset. + * + * Emits `OwnerChanged`. + * + * Weight: `O(1)` + */ transferOwnership: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -413,7 +854,7 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; authorFilter: { - /** See [`Pallet::set_eligible`]. */ + /** Update the eligible count. Intended to be called by governance. */ setEligible: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -422,34 +863,62 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; authorInherent: { - /** See [`Pallet::kick_off_authorship_validation`]. */ + /** + * This inherent is a workaround to run code after the "real" inherents have executed, but + * before transactions are executed. + */ kickOffAuthorshipValidation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; authorMapping: { - /** See [`Pallet::add_association`]. */ + /** + * Register your NimbusId onchain so blocks you author are associated with your account. + * + * Users who have been (or will soon be) elected active collators in staking, should submit + * this extrinsic to have their blocks accepted and earn rewards. + */ addAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic] >; - /** See [`Pallet::clear_association`]. */ + /** + * Clear your Mapping. + * + * This is useful when you are no longer an author and would like to re-claim your security deposit. + */ clearAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic] >; - /** See [`Pallet::remove_keys`]. */ + /** + * Remove your Mapping. + * + * This is useful when you are no longer an author and would like to re-claim your security deposit. + */ removeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::set_keys`]. */ + /** + * Set association and session keys at once. + * + * This is useful for key rotation to update Nimbus and VRF keys in one call. No new security + * deposit is required. Will replace `update_association` which is kept now for backwards + * compatibility reasons. + */ setKeys: AugmentedSubmittable< (keys: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::update_association`]. */ + /** + * Change your Mapping. + * + * This is useful for normal key rotation or for when switching from one physical collator + * machine to another. No new security deposit is required. This sets keys to + * new_nimbus_id.into() by default. + */ updateAssociation: AugmentedSubmittable< ( oldNimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array, @@ -461,7 +930,13 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; balances: { - /** See [`Pallet::force_adjust_total_issuance`]. */ + /** + * Adjust the total issuance in a saturating way. + * + * Can only be called by root and always needs a positive `delta`. + * + * # Example + */ forceAdjustTotalIssuance: AugmentedSubmittable< ( direction: @@ -474,7 +949,11 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletBalancesAdjustmentDirection, Compact] >; - /** See [`Pallet::force_set_balance`]. */ + /** + * Set the regular balance of a given account. + * + * The dispatch origin for this call is `root`. + */ forceSetBalance: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -482,7 +961,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Compact] >; - /** See [`Pallet::force_transfer`]. */ + /** + * Exactly as `transfer_allow_death`, except the origin must be root and the source account + * may be specified. + */ forceTransfer: AugmentedSubmittable< ( source: AccountId20 | string | Uint8Array, @@ -491,7 +973,11 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Compact] >; - /** See [`Pallet::force_unreserve`]. */ + /** + * Unreserve some balance from a user by force. + * + * Can only be called by ROOT. + */ forceUnreserve: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -499,7 +985,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** See [`Pallet::transfer_all`]. */ + /** + * Transfer the entire transferable balance from the caller account. + * + * NOTE: This function only attempts to transfer _transferable_ balances. This means that any + * locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, you + * might need to prepare the account by removing any reference counters, storage deposits, etc... + * + * The dispatch origin of this call must be Signed. + * + * - `dest`: The recipient of the transfer. + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all of the + * funds the account has, causing the sender account to be killed (false), or transfer + * everything except at least the existential deposit, which will guarantee to keep the + * sender account alive (true). + */ transferAll: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -507,7 +1008,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, bool] >; - /** See [`Pallet::transfer_allow_death`]. */ + /** + * Transfer some liquid free balance to another account. + * + * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. If the + * sender's account is below the existential deposit as a result of the transfer, the account + * will be reaped. + * + * The dispatch origin for this call must be `Signed` by the transactor. + */ transferAllowDeath: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -515,7 +1024,14 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Compact] >; - /** See [`Pallet::transfer_keep_alive`]. */ + /** + * Same as the [`transfer_allow_death`][`transfer_allow_death`] call, but with a check that + * the transfer will not kill the origin account. + * + * 99% of the time you want [`transfer_allow_death`][`transfer_allow_death`] instead. + * + * [`transfer_allow_death`]: struct.Pallet.html#method.transfer + */ transferKeepAlive: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -523,7 +1039,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Compact] >; - /** See [`Pallet::upgrade_accounts`]. */ + /** + * Upgrade a specified account. + * + * - `origin`: Must be `Signed`. + * - `who`: The account to be upgraded. + * + * This will waive the transaction fee if at least all but 10% of the accounts needed to be + * upgraded. (We let some not have to be upgraded just in order to allow for the possibility of churn). + */ upgradeAccounts: AugmentedSubmittable< ( who: Vec | (AccountId20 | string | Uint8Array)[] @@ -534,7 +1058,30 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; convictionVoting: { - /** See [`Pallet::delegate`]. */ + /** + * Delegate the voting power (with some given conviction) of the sending account for a + * particular class of polls. + * + * The balance delegated is locked for as long as it's delegated, and thereafter for the time + * appropriate for the conviction's lock period. + * + * The dispatch origin of this call must be _Signed_, and the signing account must either: + * + * - Be delegating already; or + * - Have no voting activity (if there is, then it will need to be removed through `remove_vote`). + * - `to`: The account whose voting the `target` account's voting power will follow. + * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls to + * this function are required. + * - `conviction`: The conviction that will be attached to the delegated votes. When the account + * is undelegated, the funds will be locked for the corresponding period. + * - `balance`: The amount of the account's balance to be used in delegating. This must not be + * more than the account's current balance. + * + * Emits `Delegated`. + * + * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight + * is initially charged as if maximum votes, but is refunded later. + */ delegate: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -554,7 +1101,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, AccountId20, PalletConvictionVotingConviction, u128] >; - /** See [`Pallet::remove_other_vote`]. */ + /** + * Remove a vote for a poll. + * + * If the `target` is equal to the signer, then this function is exactly equivalent to + * `remove_vote`. If not equal to the signer, then the vote must have expired, either because + * the poll was cancelled, because the voter lost the poll or because the conviction period is over. + * + * The dispatch origin of this call must be _Signed_. + * + * - `target`: The account of the vote to be removed; this account must have voted for poll `index`. + * - `index`: The index of poll of the vote to be removed. + * - `class`: The class of the poll. + * + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is + * calculated for the maximum number of vote. + */ removeOtherVote: AugmentedSubmittable< ( target: AccountId20 | string | Uint8Array, @@ -563,7 +1125,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16, u32] >; - /** See [`Pallet::remove_vote`]. */ + /** + * Remove a vote for a poll. + * + * If: + * + * - The poll was cancelled, or + * - The poll is ongoing, or + * - The poll has ended such that + * - The vote of the account was in opposition to the result; or + * - There was no conviction to the account's vote; or + * - The account made a split vote ...then the vote is removed cleanly and a following call to + * `unlock` may result in more funds being available. + * + * If, however, the poll has ended and: + * + * - It finished corresponding to the vote of the account, and + * - The account made a standard vote with conviction, and + * - The lock period of the conviction is not over ...then the lock will be aggregated into the + * overall account's lock, which may involve _overlocking_ (where the two locks are combined + * into a single lock that is the maximum of both the amount locked and the time is it locked for). + * + * The dispatch origin of this call must be _Signed_, and the signer must have a vote + * registered for poll `index`. + * + * - `index`: The index of poll of the vote to be removed. + * - `class`: Optional parameter, if given it indicates the class of the poll. For polls which + * have finished or are cancelled, this must be `Some`. + * + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is + * calculated for the maximum number of vote. + */ removeVote: AugmentedSubmittable< ( clazz: Option | null | Uint8Array | u16 | AnyNumber, @@ -571,12 +1163,36 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Option, u32] >; - /** See [`Pallet::undelegate`]. */ + /** + * Undelegate the voting power of the sending account for a particular class of polls. + * + * Tokens may be unlocked following once an amount of time consistent with the lock period of + * the conviction with which the delegation was issued has passed. + * + * The dispatch origin of this call must be _Signed_ and the signing account must be currently + * delegating. + * + * - `class`: The class of polls to remove the delegation from. + * + * Emits `Undelegated`. + * + * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight + * is initially charged as if maximum votes, but is refunded later. + */ undelegate: AugmentedSubmittable< (clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** See [`Pallet::unlock`]. */ + /** + * Remove the lock caused by prior voting/delegating which has expired within a particular class. + * + * The dispatch origin of this call must be _Signed_. + * + * - `class`: The class of polls to unlock. + * - `target`: The account to remove the lock on. + * + * Weight: `O(R)` with R number of vote of target. + */ unlock: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -584,7 +1200,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, AccountId20] >; - /** See [`Pallet::vote`]. */ + /** + * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a + * vote to keep the status quo. + * + * The dispatch origin of this call must be _Signed_. + * + * - `poll_index`: The index of the poll to vote for. + * - `vote`: The vote configuration. + * + * Weight: `O(R)` where R is the number of polls the voter has voted on. + */ vote: AugmentedSubmittable< ( pollIndex: Compact | AnyNumber | Uint8Array, @@ -602,7 +1228,12 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; crowdloanRewards: { - /** See [`Pallet::associate_native_identity`]. */ + /** + * Associate a native rewards_destination identity with a crowdloan contribution. + * + * The caller needs to provide the unassociated relay account and a proof to succeed with the + * association The proof is nothing but a signature over the reward_address using the relay keys + */ associateNativeIdentity: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -617,7 +1248,13 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, U8aFixed, SpRuntimeMultiSignature] >; - /** See [`Pallet::change_association_with_relay_keys`]. */ + /** + * Change reward account by submitting proofs from relay accounts + * + * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' The + * account to be changed needs to be submitted as 'previous_account' Origin must be + * RewardAddressChangeOrigin + */ changeAssociationWithRelayKeys: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -638,14 +1275,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Vec>] >; - /** See [`Pallet::claim`]. */ + /** Collect whatever portion of your reward are currently vested. */ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::complete_initialization`]. */ + /** + * This extrinsic completes the initialization if some checks are fullfiled. These checks are: + * -The reward contribution money matches the crowdloan pot -The end vesting block is higher + * than the init vesting block -The initialization has not complete yet + */ completeInitialization: AugmentedSubmittable< (leaseEndingBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::initialize_reward_vec`]. */ + /** + * Initialize the reward distribution storage. It shortcuts whenever an error is found This + * does not enforce any checks other than making sure we dont go over funds + * complete_initialization should perform any additional + */ initializeRewardVec: AugmentedSubmittable< ( rewards: @@ -658,7 +1303,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, u128]>>] >; - /** See [`Pallet::update_reward_address`]. */ + /** Update reward address, proving that the caller owns the current native key */ updateRewardAddress: AugmentedSubmittable< (newRewardAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -671,7 +1316,7 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; ethereum: { - /** See [`Pallet::transact`]. */ + /** Transact an Ethereum transaction. */ transact: AugmentedSubmittable< ( transaction: @@ -688,11 +1333,22 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; ethereumXcm: { - /** See `Pallet::resume_ethereum_xcm_execution`. */ + /** + * Resumes all Ethereum executions from XCM. + * + * - `origin`: Must pass `ControllerOrigin`. + */ resumeEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See `Pallet::suspend_ethereum_xcm_execution`. */ + /** + * Suspends all Ethereum executions from XCM. + * + * - `origin`: Must pass `ControllerOrigin`. + */ suspendEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See `Pallet::transact`. */ + /** + * Xcm Transact an Ethereum transaction. Weight: Gas limit plus the db read involving the + * suspension check + */ transact: AugmentedSubmittable< ( xcmTransaction: @@ -704,7 +1360,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; - /** See `Pallet::transact_through_proxy`. */ + /** + * Xcm Transact an Ethereum transaction through proxy. Weight: Gas limit plus the db reads + * involving the suspension and proxy checks + */ transactThroughProxy: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -721,7 +1380,7 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; evm: { - /** See [`Pallet::call`]. */ + /** Issue an EVM call operation. This is similar to a message call transaction in Ethereum. */ call: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -748,7 +1407,7 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** See [`Pallet::create`]. */ + /** Issue an EVM create operation. This is similar to a contract creation transaction in Ethereum. */ create: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -764,7 +1423,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>] >; - /** See [`Pallet::create2`]. */ + /** Issue an EVM create2 operation. */ create2: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -791,7 +1450,7 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** See [`Pallet::withdraw`]. */ + /** Withdraw balance from EVM into currency/balances pallet. */ withdraw: AugmentedSubmittable< ( address: H160 | string | Uint8Array, @@ -803,17 +1462,36 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; identity: { - /** See [`Pallet::accept_username`]. */ + /** + * Accept a given username that an `authority` granted. The call must include the full + * username, as in `username.suffix`. + */ acceptUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::add_registrar`]. */ + /** + * Add a registrar to the system. + * + * The dispatch origin for this call must be `T::RegistrarOrigin`. + * + * - `account`: the account of the registrar. + * + * Emits `RegistrarAdded` if successful. + */ addRegistrar: AugmentedSubmittable< (account: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::add_sub`]. */ + /** + * Add the given account to the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to + * the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + */ addSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -830,7 +1508,12 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Data] >; - /** See [`Pallet::add_username_authority`]. */ + /** + * Add an `AccountId` with permission to grant usernames with a given `suffix` appended. + * + * The authority can grant up to `allocation` usernames. To top up their allocation, they + * should just issue (or request via governance) a new `add_username_authority` call. + */ addUsernameAuthority: AugmentedSubmittable< ( authority: AccountId20 | string | Uint8Array, @@ -839,19 +1522,65 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Bytes, u32] >; - /** See [`Pallet::cancel_request`]. */ + /** + * Cancel a previous request. + * + * Payment: A previously reserved deposit is returned on success. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is no longer requested. + * + * Emits `JudgementUnrequested` if successful. + */ cancelRequest: AugmentedSubmittable< (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::clear_identity`]. */ + /** + * Clear an account's identity info and all sub-accounts and return all deposits. + * + * Payment: All reserved balances on the account are returned. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * Emits `IdentityCleared` if successful. + */ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::kill_identity`]. */ + /** + * Remove an account's identity and sub-account information and slash the deposits. + * + * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by + * `Slash`. Verification request deposits are not returned; they should be cancelled manually + * using `cancel_request`. + * + * The dispatch origin for this call must match `T::ForceOrigin`. + * + * - `target`: the account whose identity the judgement is upon. This must be an account with a + * registered identity. + * + * Emits `IdentityKilled` if successful. + */ killIdentity: AugmentedSubmittable< (target: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::provide_judgement`]. */ + /** + * Provide a judgement for an account's identity. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `reg_index`. + * + * - `reg_index`: the index of the registrar whose judgement is being made. + * - `target`: the account whose identity the judgement is upon. This must be an account with a + * registered identity. + * - `judgement`: the judgement of the registrar of index `reg_index` about `target`. + * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is provided. + * + * Note: Judgements do not apply to a username. + * + * Emits `JudgementGiven` if successful. + */ provideJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -871,29 +1600,60 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, PalletIdentityJudgement, H256] >; - /** See [`Pallet::quit_sub`]. */ + /** + * Remove the sender as a sub-account. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to + * the sender (_not_ the original depositor). + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * super-identity. + * + * NOTE: This should not normally be used, but is provided in the case that the non- + * controller of an account is maliciously registered as a sub-account. + */ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::remove_dangling_username`]. */ + /** + * Remove a username that corresponds to an account with no identity. Exists when a user gets + * a username but then calls `clear_identity`. + */ removeDanglingUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::remove_expired_approval`]. */ + /** + * Remove an expired username approval. The username was approved by an authority but never + * accepted by the user and must now be beyond its expiration. The call must include the full + * username, as in `username.suffix`. + */ removeExpiredApproval: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::remove_sub`]. */ + /** + * Remove the given account from the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to + * the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + */ removeSub: AugmentedSubmittable< (sub: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::remove_username_authority`]. */ + /** Remove `authority` from the username authorities. */ removeUsernameAuthority: AugmentedSubmittable< (authority: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::rename_sub`]. */ + /** + * Alter the associated name of the given sub-account. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. + */ renameSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -910,7 +1670,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Data] >; - /** See [`Pallet::request_judgement`]. */ + /** + * Request a judgement from a registrar. + * + * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement given. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is requested. + * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: + * + * ```nocompile + * Self::registrars().get(reg_index).unwrap().fee; + * ``` + * + * Emits `JudgementRequested` if successful. + */ requestJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -918,7 +1693,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Compact] >; - /** See [`Pallet::set_account_id`]. */ + /** + * Change the account associated with a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `new`: the new account ID. + */ setAccountId: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -926,7 +1709,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::set_fee`]. */ + /** + * Set the fee required for a judgement to be requested from a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fee`: the new fee. + */ setFee: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -934,7 +1725,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Compact] >; - /** See [`Pallet::set_fields`]. */ + /** + * Set the field information for a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account of + * the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fields`: the fields that the registrar concerns themselves with. + */ setFields: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -942,7 +1741,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, u64] >; - /** See [`Pallet::set_identity`]. */ + /** + * Set an account's identity information and reserve the appropriate deposit. + * + * If the account already has identity information, the deposit is taken as part payment for + * the new deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * - `info`: The identity information. + * + * Emits `IdentitySet` if successful. + */ setIdentity: AugmentedSubmittable< ( info: @@ -963,12 +1773,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletIdentityLegacyIdentityInfo] >; - /** See [`Pallet::set_primary_username`]. */ + /** Set a given username as the primary. The username should include the suffix. */ setPrimaryUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_subs`]. */ + /** + * Set the sub-accounts of the sender. + * + * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned and + * an amount `SubAccountDeposit` will be reserved for each item in `subs`. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * + * - `subs`: The identity's (new) sub-accounts. + */ setSubs: AugmentedSubmittable< ( subs: @@ -990,7 +1809,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec>] >; - /** See [`Pallet::set_username_for`]. */ + /** + * Set the username for `who`. Must be called by a username authority. + * + * The authority must have an `allocation`. Users can either pre-sign their usernames or + * accept them later. + * + * Usernames must: + * + * - Only contain lowercase ASCII characters or digits. + * - When combined with the suffix of the issuing authority be _less than_ the `MaxUsernameLength`. + */ setUsernameFor: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -1008,15 +1837,42 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; maintenanceMode: { - /** See [`Pallet::enter_maintenance_mode`]. */ + /** + * Place the chain in maintenance mode + * + * Weight cost is: + * + * - One DB read to ensure we're not already in maintenance mode + * - Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event + */ enterMaintenanceMode: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::resume_normal_operation`]. */ + /** + * Return the chain to normal operating mode + * + * Weight cost is: + * + * - One DB read to ensure we're in maintenance mode + * - Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event + */ resumeNormalOperation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { - /** See [`Pallet::execute_overweight`]. */ + /** + * Execute an overweight message. + * + * Temporary processing errors will be propagated whereas permanent errors are treated as + * success condition. + * + * - `origin`: Must be `Signed`. + * - `message_origin`: The origin from which the message to be executed arrived. + * - `page`: The page in the queue in which the message to be executed is sitting. + * - `index`: The index into the queue of the message to be executed. + * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution of the message. + * + * Benchmark complexity considerations: O(index + weight_limit). + */ executeOverweight: AugmentedSubmittable< ( messageOrigin: @@ -1036,7 +1892,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight] >; - /** See [`Pallet::reap_page`]. */ + /** Remove a page which has no more messages remaining to be processed or is stale. */ reapPage: AugmentedSubmittable< ( messageOrigin: @@ -1054,7 +1910,6 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; moonbeamLazyMigrations: { - /** See [`Pallet::clear_suicided_storage`]. */ clearSuicidedStorage: AugmentedSubmittable< ( addresses: Vec | (H160 | string | Uint8Array)[], @@ -1066,34 +1921,34 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; moonbeamOrbiters: { - /** See [`Pallet::add_collator`]. */ + /** Add a collator to orbiters program. */ addCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::collator_add_orbiter`]. */ + /** Add an orbiter in a collator pool */ collatorAddOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::collator_remove_orbiter`]. */ + /** Remove an orbiter from the caller collator pool */ collatorRemoveOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::orbiter_leave_collator_pool`]. */ + /** Remove the caller from the specified collator pool */ orbiterLeaveCollatorPool: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::orbiter_register`]. */ + /** Registering as an orbiter */ orbiterRegister: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::orbiter_unregister`]. */ + /** Deregistering from orbiters */ orbiterUnregister: AugmentedSubmittable< (collatorsPoolCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::remove_collator`]. */ + /** Remove a collator from orbiters program. */ removeCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1102,7 +1957,38 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; multisig: { - /** See [`Pallet::approve_as_multi`]. */ + /** + * Register approval for a dispatch to be made from a deterministic composite account if + * approved by a total of `threshold - 1` of `other_signatories`. + * + * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` + * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. + * May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not + * the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. + * - `call_hash`: The hash of the call to be executed. + * + * NOTE: If this is the final approval, you will want to use `as_multi` instead. + * + * ## Complexity + * + * - `O(S)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. + * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One encode & hash, both of complexity `O(S)`. + * - Up to one binary search and insert (`O(logS + S)`). + * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. + * - One event. + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for + * its lifetime of `DepositBase + threshold * DepositFactor`. + */ approveAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -1123,7 +2009,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, Option, U8aFixed, SpWeightsWeightV2Weight] >; - /** See [`Pallet::as_multi`]. */ + /** + * Register approval for a dispatch to be made from a deterministic composite account if + * approved by a total of `threshold - 1` of `other_signatories`. + * + * If there are enough, then dispatch the call. + * + * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` + * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. + * May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not + * the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. + * - `call`: The call to be executed. + * + * NOTE: Unless this is the final approval, you will generally want to use `approve_as_multi` + * instead, since it only requires a hash of the call. + * + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise on + * success, result is `Ok` and the result from the interior call, if it was executed, may be + * found in the deposited `MultisigExecuted` event. + * + * ## Complexity + * + * - `O(S + Z + Call)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. + * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. + * - One encode & hash, both of complexity `O(S)`. + * - Up to one binary search and insert (`O(logS + S)`). + * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. + * - One event. + * - The weight of the `call`. + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for + * its lifetime of `DepositBase + threshold * DepositFactor`. + */ asMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -1144,7 +2070,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, Option, Call, SpWeightsWeightV2Weight] >; - /** See [`Pallet::as_multi_threshold_1`]. */ + /** + * Immediately dispatch a multi-signature call using a single approval from the caller. + * + * The dispatch origin for this call must be _Signed_. + * + * - `other_signatories`: The accounts (other than the sender) who are part of the + * multi-signature, but do not participate in the approval process. + * - `call`: The call to be executed. + * + * Result is equivalent to the dispatched result. + * + * ## Complexity + * + * O(Z + C) where Z is the length of the call and C its execution weight. + */ asMultiThreshold1: AugmentedSubmittable< ( otherSignatories: Vec | (AccountId20 | string | Uint8Array)[], @@ -1152,7 +2092,30 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, Call] >; - /** See [`Pallet::cancel_as_multi`]. */ + /** + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously for + * this operation will be unreserved on success. + * + * The dispatch origin for this call must be _Signed_. + * + * - `threshold`: The total number of approvals for this dispatch before it is executed. + * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. + * May not be empty. + * - `timepoint`: The timepoint (block number and transaction index) of the first approval + * transaction for this dispatch. + * - `call_hash`: The hash of the call to be executed. + * + * ## Complexity + * + * - `O(S)`. + * - Up to one balance-reserve or unreserve operation. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. + * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One encode & hash, both of complexity `O(S)`. + * - One event. + * - I/O: 1 read `O(S)`, one remove. + * - Storage: removes one item. + */ cancelAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -1166,7 +2129,32 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; openTechCommitteeCollective: { - /** See [`Pallet::close`]. */ + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is has + * enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections unless + * there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will be + * waived. Otherwise execution of the approved operation will be charged to the caller. + * + * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. + * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * ## Complexity + * + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + */ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -1180,12 +2168,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact] >; - /** See [`Pallet::disapprove_proposal`]. */ + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * + * Must be called by the Root origin. + * + * Parameters: + * + * - `proposal_hash`: The hash of the proposal that should be disapproved. + * + * ## Complexity + * + * O(P) where P is the number of max proposals + */ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::execute`]. */ + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * ## Complexity: + * + * - `O(B + M + P)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` members-count (code-bounded) + * - `P` complexity of dispatching `proposal` + */ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -1193,7 +2204,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, Compact] >; - /** See [`Pallet::propose`]. */ + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up + * for voting. + * + * ## Complexity + * + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - Branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + */ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -1202,7 +2229,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Call, Compact] >; - /** See [`Pallet::set_members`]. */ + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for weight + * estimation. + * + * The dispatch of this call must be `SetMembersOrigin`. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the + * weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful + * that the member set doesn't get out of sync with other logic managing the member set. + * + * ## Complexity: + * + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + */ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -1211,7 +2263,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, Option, u32] >; - /** See [`Pallet::vote`]. */ + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal for the + * first time and the call is successful. Subsequent vote changes will charge a fee. + * + * ## Complexity + * + * - `O(M)` where `M` is members-count (code- and governance-bounded) + */ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -1224,24 +2287,33 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; parachainStaking: { - /** See [`Pallet::cancel_candidate_bond_less`]. */ + /** Cancel pending request to adjust the collator candidate self bond */ cancelCandidateBondLess: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::cancel_delegation_request`]. */ + /** Cancel request to change an existing delegation. */ cancelDelegationRequest: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::cancel_leave_candidates`]. */ + /** + * Cancel open request to leave candidates + * + * - Only callable by collator account + * - Result upon successful call is the candidate is active in the candidate pool + */ cancelLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::candidate_bond_more`]. */ + /** Increase collator candidate self bond by `more` */ candidateBondMore: AugmentedSubmittable< (more: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** See [`Pallet::delegate`]. */ + /** + * DEPRECATED use delegateWithAutoCompound If caller is not a delegator and not a collator, + * then join the set of delegators If caller is a delegator, then makes delegation to change + * their delegation state + */ delegate: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1251,7 +2323,11 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32, u32] >; - /** See [`Pallet::delegate_with_auto_compound`]. */ + /** + * If caller is not a delegator and not a collator, then join the set of delegators If caller + * is a delegator, then makes delegation to change their delegation state Sets the + * auto-compound config for the delegation + */ delegateWithAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1263,7 +2339,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, Percent, u32, u32, u32] >; - /** See [`Pallet::delegator_bond_more`]. */ + /** Bond more for delegators wrt a specific collator candidate. */ delegatorBondMore: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1271,17 +2347,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** See [`Pallet::enable_marking_offline`]. */ + /** Enable/Disable marking offline feature */ enableMarkingOffline: AugmentedSubmittable< (value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** See [`Pallet::execute_candidate_bond_less`]. */ + /** Execute pending request to adjust the collator candidate self bond */ executeCandidateBondLess: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::execute_delegation_request`]. */ + /** Execute pending request to change an existing delegation */ executeDelegationRequest: AugmentedSubmittable< ( delegator: AccountId20 | string | Uint8Array, @@ -1289,7 +2365,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20] >; - /** See [`Pallet::execute_leave_candidates`]. */ + /** Execute leave candidates request */ executeLeaveCandidates: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1297,7 +2373,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u32] >; - /** See [`Pallet::force_join_candidates`]. */ + /** Force join the set of collator candidates. It will skip the minimum required bond check. */ forceJoinCandidates: AugmentedSubmittable< ( account: AccountId20 | string | Uint8Array, @@ -1306,18 +2382,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32] >; - /** See [`Pallet::go_offline`]. */ + /** Temporarily leave the set of collator candidates without unbonding */ goOffline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::go_online`]. */ + /** Rejoin the set of collator candidates if previously had called `go_offline` */ goOnline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::hotfix_remove_delegation_requests_exited_candidates`]. */ + /** Hotfix to remove existing empty entries for candidates that have left. */ hotfixRemoveDelegationRequestsExitedCandidates: AugmentedSubmittable< ( candidates: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::join_candidates`]. */ + /** Join the set of collator candidates */ joinCandidates: AugmentedSubmittable< ( bond: u128 | AnyNumber | Uint8Array, @@ -1325,23 +2401,27 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** See [`Pallet::notify_inactive_collator`]. */ + /** Notify a collator is inactive during MaxOfflineRounds */ notifyInactiveCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::removed_call_19`]. */ + /** REMOVED, was schedule_leave_delegators */ removedCall19: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::removed_call_20`]. */ + /** REMOVED, was execute_leave_delegators */ removedCall20: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::removed_call_21`]. */ + /** REMOVED, was cancel_leave_delegators */ removedCall21: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::schedule_candidate_bond_less`]. */ + /** Request by collator candidate to decrease self bond by `less` */ scheduleCandidateBondLess: AugmentedSubmittable< (less: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** See [`Pallet::schedule_delegator_bond_less`]. */ + /** + * Request bond less for delegators wrt a specific collator candidate. The delegation's + * rewards for rounds while the request is pending use the reduced bonded amount. A bond less + * may not be performed if any other scheduled request is pending. + */ scheduleDelegatorBondLess: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1349,17 +2429,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** See [`Pallet::schedule_leave_candidates`]. */ + /** + * Request to leave the set of candidates. If successful, the account is immediately removed + * from the candidate pool to prevent selection as a collator. + */ scheduleLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::schedule_revoke_delegation`]. */ + /** + * Request to revoke an existing delegation. If successful, the delegation is scheduled to be + * allowed to be revoked via the `execute_delegation_request` extrinsic. The delegation + * receives no rewards for the rounds while a revoke is pending. A revoke may not be performed + * if any other scheduled request is pending. + */ scheduleRevokeDelegation: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::set_auto_compound`]. */ + /** Sets the auto-compounding reward percentage for a delegation. */ setAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -1369,17 +2457,22 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Percent, u32, u32] >; - /** See [`Pallet::set_blocks_per_round`]. */ + /** + * Set blocks per round + * + * - If called with `new` less than length of current round, will transition immediately in the next block + * - Also updates per-round inflation config + */ setBlocksPerRound: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::set_collator_commission`]. */ + /** Set the commission for all collators */ setCollatorCommission: AugmentedSubmittable< (updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** See [`Pallet::set_inflation`]. */ + /** Set the annual inflation rate to derive per-round inflation */ setInflation: AugmentedSubmittable< ( schedule: @@ -1400,17 +2493,20 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** See [`Pallet::set_parachain_bond_account`]. */ + /** Set the account that will hold funds set aside for parachain bond */ setParachainBondAccount: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** See [`Pallet::set_parachain_bond_reserve_percent`]. */ + /** Set the percent of inflation set aside for parachain bond */ setParachainBondReservePercent: AugmentedSubmittable< (updated: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Percent] >; - /** See [`Pallet::set_staking_expectations`]. */ + /** + * Set the expectations for total staked. These expectations determine the issuance for the + * round according to logic in `fn compute_issuance` + */ setStakingExpectations: AugmentedSubmittable< ( expectations: @@ -1431,7 +2527,11 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** See [`Pallet::set_total_selected`]. */ + /** + * Set the total number of collator candidates selected per round + * + * - Changes are not applied until the start of the next round + */ setTotalSelected: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -1440,7 +2540,15 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { - /** See [`Pallet::authorize_upgrade`]. */ + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * + * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec + * version and name should be verified on upgrade. Since the authorization only has a hash, it + * cannot actually perform the verification. + * + * This call requires Root origin. + */ authorizeUpgrade: AugmentedSubmittable< ( codeHash: H256 | string | Uint8Array, @@ -1448,12 +2556,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, bool] >; - /** See [`Pallet::enact_authorized_upgrade`]. */ + /** + * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. + * + * If the authorization required a version check, this call will ensure the spec name remains + * unchanged and that the spec version has increased. + * + * Note that this function will not apply the new `code`, but only attempt to schedule the + * upgrade with the Relay Chain. + * + * All origins are allowed. + */ enactAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_validation_data`]. */ + /** + * Set the current validation data. + * + * This should be invoked exactly once per block. It will panic at the finalization phase if + * the call was not invoked. + * + * The dispatch origin for this call must be `Inherent` + * + * As a side effect, this function upgrades the current validation function if the appropriate + * time has come. + */ setValidationData: AugmentedSubmittable< ( data: @@ -1469,7 +2597,6 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesParachainInherentParachainInherentData] >; - /** See [`Pallet::sudo_send_upward_message`]. */ sudoSendUpwardMessage: AugmentedSubmittable< (message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1478,7 +2605,42 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { - /** See [`Pallet::execute`]. */ + /** + * Claims assets trapped on this pallet because of leftover assets during XCM execution. + * + * - `origin`: Anyone can call this extrinsic. + * - `assets`: The exact assets that were trapped. Use the version to specify what version was + * the latest when they were trapped. + * - `beneficiary`: The location/account where the claimed assets will be deposited. + */ + claimAssets: AugmentedSubmittable< + ( + assets: + | XcmVersionedAssets + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + beneficiary: + | XcmVersionedLocation + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedAssets, XcmVersionedLocation] + >; + /** + * Execute an XCM message from a local, signed, origin. + * + * An event is deposited indicating whether `msg` could be executed completely or only partially. + * + * No more than `max_weight` will be used in its attempted execution. If this is less than the + * maximum amount of weight that the message could take to be executed, then no execution + * attempt will be made. + */ execute: AugmentedSubmittable< ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -1490,14 +2652,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedXcm, SpWeightsWeightV2Weight] >; - /** See [`Pallet::force_default_xcm_version`]. */ + /** + * Set a safe XCM version (the version that XCM should be encoded with if the most recent + * version a destination can accept is unknown). + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. + */ forceDefaultXcmVersion: AugmentedSubmittable< ( maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber ) => SubmittableExtrinsic, [Option] >; - /** See [`Pallet::force_subscribe_version_notify`]. */ + /** + * Ask a location to notify us regarding their XCM version and any changes to it. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The location to which we should subscribe for XCM version notifications. + */ forceSubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -1510,12 +2683,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::force_suspension`]. */ + /** + * Set or unset the global suspension state of the XCM executor. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `suspended`: `true` to suspend, `false` to resume. + */ forceSuspension: AugmentedSubmittable< (suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** See [`Pallet::force_unsubscribe_version_notify`]. */ + /** + * Require that a particular destination should no longer notify us regarding any XCM version changes. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The location to which we are currently subscribed for XCM version notifications + * which we no longer desire. + */ forceUnsubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -1528,7 +2712,13 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::force_xcm_version`]. */ + /** + * Extoll that a particular destination can be communicated with through a particular version of XCM. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The destination that is being described. + * - `xcm_version`: The latest version of XCM that `location` supports. + */ forceXcmVersion: AugmentedSubmittable< ( location: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, @@ -1536,7 +2726,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [StagingXcmV4Location, u32] >; - /** See [`Pallet::limited_reserve_transfer_assets`]. */ + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve. + * + * `assets` must have same reserve location and may not be teleportable to `dest`. + * + * - `assets` have local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to `dest` + * chain to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to + * mint and deposit reserve-based assets to `beneficiary`. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is + * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ limitedReserveTransferAssets: AugmentedSubmittable< ( dest: @@ -1570,7 +2788,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; - /** See [`Pallet::limited_teleport_assets`]. */ + /** + * Teleport some assets from the local chain to some destination chain. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is + * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ limitedTeleportAssets: AugmentedSubmittable< ( dest: @@ -1604,7 +2838,36 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; - /** See [`Pallet::reserve_transfer_assets`]. */ + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve. + * + * `assets` must have same reserve location and may not be teleportable to `dest`. + * + * - `assets` have local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to `dest` + * chain to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to + * mint and deposit reserve-based assets to `beneficiary`. + * + * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all + * fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + */ reserveTransferAssets: AugmentedSubmittable< ( dest: @@ -1632,7 +2895,6 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32] >; - /** See [`Pallet::send`]. */ send: AugmentedSubmittable< ( dest: @@ -1646,7 +2908,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedXcm] >; - /** See [`Pallet::teleport_assets`]. */ + /** + * Teleport some assets from the local chain to some destination chain. + * + * **This function is deprecated: Use `limited_teleport_assets` instead.** + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all + * fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + */ teleportAssets: AugmentedSubmittable< ( dest: @@ -1674,7 +2953,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32] >; - /** See [`Pallet::transfer_assets`]. */ + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve, or through teleports. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of index + * `fee_asset_item` (hence referred to as `fees`), up to enough to pay for `weight_limit` of + * weight. If more weight is needed than `weight_limit`, then the operation will fail and the + * sent assets may be at risk. + * + * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable to + * `dest`, no limitations imposed on `fees`. + * + * - For local reserve: transfer assets to sovereign account of destination chain and forward a + * notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - For destination reserve: burn local assets and forward a notification to `dest` chain to + * withdraw the reserve assets from this chain's sovereign account and deposit them to `beneficiary`. + * - For remote reserve: burn local assets, forward XCM to reserve chain to move reserves from + * this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint and + * deposit reserve-based assets to `beneficiary`. + * - For teleports: burn local assets and forward XCM to `dest` chain to mint/teleport assets + * and deposit them to `beneficiary`. + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` + * to send from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ transferAssets: AugmentedSubmittable< ( dest: @@ -1708,31 +3017,161 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; + /** + * Transfer assets from the local chain to the destination chain using explicit transfer types + * for assets and fees. + * + * `assets` must have same reserve location or may be teleportable to `dest`. Caller must + * provide the `assets_transfer_type` to be used for `assets`: + * + * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. + * - `TransferType::DestinationReserve`: burn local assets and forward a notification to `dest` + * chain to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` chain + * to move reserves from this chain's SA to `dest` chain's SA, and forward another XCM to + * `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically the remote + * `reserve` is Asset Hub. + * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to + * mint/teleport assets and deposit them to `beneficiary`. + * + * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to buy + * execution using transferred `assets` identified by `remote_fees_id`. Make sure enough of + * the specified `remote_fees_id` asset is included in the given list of `assets`. + * `remote_fees_id` should be enough to pay for `weight_limit`. If more weight is needed than + * `weight_limit`, then the operation will fail and the sent assets may be at risk. + * + * `remote_fees_id` may use different transfer type than rest of `assets` and can be specified + * through `fees_transfer_type`. + * + * The caller needs to specify what should happen to the transferred assets once they reach + * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which contains + * the instructions to execute on `dest` as a final step. This is usually as simple as: + * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, but + * could be something more exotic like sending the `assets` even further. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to + * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain, + * or `(parents: 2, (GlobalConsensus(..), ..))` to send from parachain across a bridge to + * another ecosystem destination. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on + * the `dest` (and possibly reserve) chains. + * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. + * - `remote_fees_id`: One of the included `assets` to be be used to pay fees. + * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. + * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the + * transfer, which also determines what happens to the assets on the destination chain. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + */ + transferAssetsUsingTypeAndThen: AugmentedSubmittable< + ( + dest: + | XcmVersionedLocation + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + assets: + | XcmVersionedAssets + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + assetsTransferType: + | StagingXcmExecutorAssetTransferTransferType + | { Teleport: any } + | { LocalReserve: any } + | { DestinationReserve: any } + | { RemoteReserve: any } + | string + | Uint8Array, + remoteFeesId: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array, + feesTransferType: + | StagingXcmExecutorAssetTransferTransferType + | { Teleport: any } + | { LocalReserve: any } + | { DestinationReserve: any } + | { RemoteReserve: any } + | string + | Uint8Array, + customXcmOnDest: + | XcmVersionedXcm + | { V2: any } + | { V3: any } + | { V4: any } + | string + | Uint8Array, + weightLimit: + | XcmV3WeightLimit + | { Unlimited: any } + | { Limited: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [ + XcmVersionedLocation, + XcmVersionedAssets, + StagingXcmExecutorAssetTransferTransferType, + XcmVersionedAssetId, + StagingXcmExecutorAssetTransferTransferType, + XcmVersionedXcm, + XcmV3WeightLimit + ] + >; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; preimage: { - /** See [`Pallet::ensure_updated`]. */ + /** + * Ensure that the a bulk of pre-images is upgraded. + * + * The caller pays no fee if at least 90% of pre-images were successfully updated. + */ ensureUpdated: AugmentedSubmittable< (hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::note_preimage`]. */ + /** + * Register a preimage on-chain. + * + * If the preimage was previously requested, no fees or deposits are taken for providing the + * preimage. Otherwise, a deposit is taken proportional to the size of the preimage. + */ notePreimage: AugmentedSubmittable< (bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::request_preimage`]. */ + /** + * Request a preimage be uploaded to the chain without paying any fees or deposits. + * + * If the preimage requests has already been provided on-chain, we unreserve any deposit a + * user may have paid, and take the control of the preimage out of their hands. + */ requestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::unnote_preimage`]. */ + /** + * Clear an unrequested preimage from the runtime storage. + * + * If `len` is provided, then it will be a much cheaper operation. + * + * - `hash`: The hash of the preimage to be removed from the store. + * - `len`: The length of the preimage of `hash`. + */ unnotePreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::unrequest_preimage`]. */ + /** + * Clear a previously made request for a preimage. + * + * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. + */ unrequestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -1741,7 +3180,17 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; proxy: { - /** See [`Pallet::add_proxy`]. */ + /** + * Register a proxy account for the sender that is able to make calls on its behalf. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `proxy`: The account that the `caller` would like to make a proxy. + * - `proxy_type`: The permissions allowed for this proxy account. + * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + */ addProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1761,7 +3210,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonriverRuntimeProxyType, u32] >; - /** See [`Pallet::announce`]. */ + /** + * Publish the hash of a proxy-call that will be made in the future. + * + * This must be called some number of blocks before the corresponding `proxy` is attempted if + * the delay associated with the proxy relationship is greater than zero. + * + * No more than `MaxPending` announcements may be made at any one time. + * + * This will take a deposit of `AnnouncementDepositFactor` as well as + * `AnnouncementDepositBase` if there are no other pending announcements. + * + * The dispatch origin for this call must be _Signed_ and a proxy of `real`. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `call_hash`: The hash of the call to be made by the `real` account. + */ announce: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -1769,7 +3235,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, H256] >; - /** See [`Pallet::create_pure`]. */ + /** + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and initialize + * it with a proxy of `proxy_type` for `origin` sender. + * + * Requires a `Signed` origin. + * + * - `proxy_type`: The type of the proxy that the sender will be registered as over the new + * account. This will almost always be the most permissive `ProxyType` possible to allow for + * maximum flexibility. + * - `index`: A disambiguation index, in case this is called multiple times in the same + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + * + * Fails with `Duplicate` if this has already been called in this transaction, from the same + * sender, with the same parameters. + * + * Fails if there are insufficient funds to pay for deposit. + */ createPure: AugmentedSubmittable< ( proxyType: @@ -1789,7 +3273,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonriverRuntimeProxyType, u32, u16] >; - /** See [`Pallet::kill_pure`]. */ + /** + * Removes a previously spawned pure proxy. + * + * WARNING: **All access to this account will be lost.** Any funds held in it will be inaccessible. + * + * Requires a `Signed` origin, and the sender account must have been created by a call to + * `pure` with corresponding parameters. + * + * - `spawner`: The account that originally called `pure` to create this account. + * - `index`: The disambiguation index originally passed to `pure`. Probably `0`. + * - `proxy_type`: The proxy type originally passed to `pure`. + * - `height`: The height of the chain when the call to `pure` was processed. + * - `ext_index`: The extrinsic index in which the call to `pure` was processed. + * + * Fails with `NoPermission` in case the caller is not a previously created pure account whose + * `pure` call has corresponding parameters. + */ killPure: AugmentedSubmittable< ( spawner: AccountId20 | string | Uint8Array, @@ -1811,7 +3311,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonriverRuntimeProxyType, u16, Compact, Compact] >; - /** See [`Pallet::proxy`]. */ + /** + * Dispatch the given `call` from an account that the sender is authorised for through `add_proxy`. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. + * - `call`: The call to be made by the `real` account. + */ proxy: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -1833,7 +3343,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Option, Call] >; - /** See [`Pallet::proxy_announced`]. */ + /** + * Dispatch the given `call` from an account that the sender is authorized for through `add_proxy`. + * + * Removes any corresponding announcement(s). + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. + * - `call`: The call to be made by the `real` account. + */ proxyAnnounced: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1856,7 +3378,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Option, Call] >; - /** See [`Pallet::reject_announcement`]. */ + /** + * Remove the given announcement of a delegate. + * + * May be called by a target (proxied) account to remove a call that one of their delegates + * (`delegate`) has announced they want to execute. The deposit is returned. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `delegate`: The account that previously announced the call. + * - `call_hash`: The hash of the call to be made. + */ rejectAnnouncement: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1864,7 +3398,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, H256] >; - /** See [`Pallet::remove_announcement`]. */ + /** + * Remove a given announcement. + * + * May be called by a proxy account to remove a call they previously announced and return the deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `real`: The account that the proxy will make a call on behalf of. + * - `call_hash`: The hash of the call to be made by the `real` account. + */ removeAnnouncement: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -1872,9 +3417,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, H256] >; - /** See [`Pallet::remove_proxies`]. */ + /** + * Unregister all proxy accounts for the sender. + * + * The dispatch origin for this call must be _Signed_. + * + * WARNING: This may be called on accounts created by `pure`, however if done, then the + * unreserved fees will be inaccessible. **All access to this account will be lost.** + */ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::remove_proxy`]. */ + /** + * Unregister a proxy account for the sender. + * + * The dispatch origin for this call must be _Signed_. + * + * Parameters: + * + * - `proxy`: The account that the `caller` would like to remove as a proxy. + * - `proxy_type`: The permissions currently enabled for the removed proxy account. + */ removeProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -1898,48 +3459,109 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; randomness: { - /** See [`Pallet::set_babe_randomness_results`]. */ + /** Populates `RandomnessResults` due this epoch with BABE epoch randomness */ setBabeRandomnessResults: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; referenda: { - /** See [`Pallet::cancel`]. */ + /** + * Cancel an ongoing referendum. + * + * - `origin`: must be the `CancelOrigin`. + * - `index`: The index of the referendum to be cancelled. + * + * Emits `Cancelled`. + */ cancel: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::kill`]. */ + /** + * Cancel an ongoing referendum and slash the deposits. + * + * - `origin`: must be the `KillOrigin`. + * - `index`: The index of the referendum to be cancelled. + * + * Emits `Killed` and `DepositSlashed`. + */ kill: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::nudge_referendum`]. */ + /** + * Advance a referendum onto its next logical state. Only used internally. + * + * - `origin`: must be `Root`. + * - `index`: the referendum to be advanced. + */ nudgeReferendum: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::one_fewer_deciding`]. */ + /** + * Advance a track onto its next logical state. Only used internally. + * + * - `origin`: must be `Root`. + * - `track`: the track to be advanced. + * + * Action item for when there is now one fewer referendum in the deciding phase and the + * `DecidingCount` is not yet updated. This means that we should either: + * + * - Begin deciding another referendum (and leave `DecidingCount` alone); or + * - Decrement `DecidingCount`. + */ oneFewerDeciding: AugmentedSubmittable< (track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** See [`Pallet::place_decision_deposit`]. */ + /** + * Post the Decision Deposit for a referendum. + * + * - `origin`: must be `Signed` and the account must have funds available for the referendum's + * track's Decision Deposit. + * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be posted. + * + * Emits `DecisionDepositPlaced`. + */ placeDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::refund_decision_deposit`]. */ + /** + * Refund the Decision Deposit for a closed referendum back to the depositor. + * + * - `origin`: must be `Signed` or `Root`. + * - `index`: The index of a closed referendum whose Decision Deposit has not yet been refunded. + * + * Emits `DecisionDepositRefunded`. + */ refundDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::refund_submission_deposit`]. */ + /** + * Refund the Submission Deposit for a closed referendum back to the depositor. + * + * - `origin`: must be `Signed` or `Root`. + * - `index`: The index of a closed referendum whose Submission Deposit has not yet been refunded. + * + * Emits `SubmissionDepositRefunded`. + */ refundSubmissionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::set_metadata`]. */ + /** + * Set or clear metadata of a referendum. + * + * Parameters: + * + * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a metadata of + * a finished referendum. + * - `index`: The index of a referendum to set or clear metadata for. + * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. + */ setMetadata: AugmentedSubmittable< ( index: u32 | AnyNumber | Uint8Array, @@ -1947,7 +3569,16 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option] >; - /** See [`Pallet::submit`]. */ + /** + * Propose a referendum on a privileged action. + * + * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds available. + * - `proposal_origin`: The origin from which the proposal should be executed. + * - `proposal`: The proposal. + * - `enactment_moment`: The moment that the proposal should be enacted. + * + * Emits `Submitted`. + */ submit: AugmentedSubmittable< ( proposalOrigin: @@ -1987,18 +3618,17 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; rootTesting: { - /** See `Pallet::fill_block`. */ + /** A dispatch that will fill the block weight up to the given ratio. */ fillBlock: AugmentedSubmittable< (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** See `Pallet::trigger_defensive`. */ triggerDefensive: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; scheduler: { - /** See [`Pallet::cancel`]. */ + /** Cancel an anonymously scheduled task. */ cancel: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -2006,12 +3636,24 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, u32] >; - /** See [`Pallet::cancel_named`]. */ + /** Cancel a named scheduled task. */ cancelNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** See [`Pallet::schedule`]. */ + /** Removes the retry configuration of a task. */ + cancelRetry: AugmentedSubmittable< + ( + task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] + ) => SubmittableExtrinsic, + [ITuple<[u32, u32]>] + >; + /** Cancel the retry configuration of a named task. */ + cancelRetryNamed: AugmentedSubmittable< + (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, + [U8aFixed] + >; + /** Anonymously schedule a task. */ schedule: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -2026,7 +3668,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** See [`Pallet::schedule_after`]. */ + /** Anonymously schedule a task after a delay. */ scheduleAfter: AugmentedSubmittable< ( after: u32 | AnyNumber | Uint8Array, @@ -2041,7 +3683,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** See [`Pallet::schedule_named`]. */ + /** Schedule a named task. */ scheduleNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -2057,7 +3699,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; - /** See [`Pallet::schedule_named_after`]. */ + /** Schedule a named task after a delay. */ scheduleNamedAfter: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -2073,26 +3715,93 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; + /** + * Set a retry configuration for a task so that, in case its scheduled run fails, it will be + * retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * + * Tasks which need to be scheduled for a retry are still subject to weight metering and + * agenda space, same as a regular task. If a periodic task fails, it will be scheduled + * normally while the task is retrying. + * + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones + * of the original task. Their retry configuration will be derived from the original task's + * configuration, but will have a lower value for `remaining` than the original `total_retries`. + */ + setRetry: AugmentedSubmittable< + ( + task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], + retries: u8 | AnyNumber | Uint8Array, + period: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [ITuple<[u32, u32]>, u8, u32] + >; + /** + * Set a retry configuration for a named task so that, in case its scheduled run fails, it + * will be retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * + * Tasks which need to be scheduled for a retry are still subject to weight metering and + * agenda space, same as a regular task. If a periodic task fails, it will be scheduled + * normally while the task is retrying. + * + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones + * of the original task. Their retry configuration will be derived from the original task's + * configuration, but will have a lower value for `remaining` than the original `total_retries`. + */ + setRetryNamed: AugmentedSubmittable< + ( + id: U8aFixed | string | Uint8Array, + retries: u8 | AnyNumber | Uint8Array, + period: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [U8aFixed, u8, u32] + >; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; system: { - /** See [`Pallet::apply_authorized_upgrade`]. */ + /** + * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. + * + * If the authorization required a version check, this call will ensure the spec name remains + * unchanged and that the spec version has increased. + * + * Depending on the runtime's `OnSetCode` configuration, this function may directly apply the + * new `code` in the same block or attempt to schedule the upgrade. + * + * All origins are allowed. + */ applyAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::authorize_upgrade`]. */ + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * + * This call requires Root origin. + */ authorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::authorize_upgrade_without_checks`]. */ + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * + * WARNING: This authorizes an upgrade that will take place without any safety checks, for + * example that the spec name remains the same and that the version number increases. Not + * recommended for normal use. Use `authorize_upgrade` instead. + * + * This call requires Root origin. + */ authorizeUpgradeWithoutChecks: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::kill_prefix`]. */ + /** + * Kill all storage items with a key that starts with the given prefix. + * + * **NOTE:** We rely on the Root origin to provide us the number of subkeys under the prefix + * we are removing to accurately calculate the weight of this function. + */ killPrefix: AugmentedSubmittable< ( prefix: Bytes | string | Uint8Array, @@ -2100,37 +3809,45 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Bytes, u32] >; - /** See [`Pallet::kill_storage`]. */ + /** Kill some items from storage. */ killStorage: AugmentedSubmittable< (keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::remark`]. */ + /** + * Make some on-chain remark. + * + * Can be executed by every `origin`. + */ remark: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::remark_with_event`]. */ + /** Make some on-chain remark and emit event. */ remarkWithEvent: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_code`]. */ + /** Set the new runtime code. */ setCode: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_code_without_checks`]. */ + /** + * Set the new runtime code without doing any checks of the given `code`. + * + * Note that runtime upgrades will not run if this is called with a not-increasing spec version! + */ setCodeWithoutChecks: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** See [`Pallet::set_heap_pages`]. */ + /** Set the number of pages in the WebAssembly environment's heap. */ setHeapPages: AugmentedSubmittable< (pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64] >; - /** See [`Pallet::set_storage`]. */ + /** Set some items of storage. */ setStorage: AugmentedSubmittable< ( items: @@ -2143,7 +3860,27 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; timestamp: { - /** See [`Pallet::set`]. */ + /** + * Set the current time. + * + * This call should be invoked exactly once per block. It will panic at the finalization + * phase, if this call hasn't been invoked by that time. + * + * The timestamp should be greater than the previous one by the amount specified by + * [`Config::MinimumPeriod`]. + * + * The dispatch origin for this call must be _None_. + * + * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware that + * changing the complexity of this call could result exhausting the resources in a block to + * execute any other calls. + * + * ## Complexity + * + * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) + * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in `on_finalize`) + * - 1 event handler `on_timestamp_set`. Must be `O(1)`. + */ set: AugmentedSubmittable< (now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -2152,22 +3889,102 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; treasury: { - /** See [`Pallet::approve_proposal`]. */ + /** + * Approve a proposal. + * + * ## Dispatch Origin + * + * Must be [`Config::ApproveOrigin`]. + * + * ## Details + * + * At a later time, the proposal will be allocated to the beneficiary and the original deposit + * will be returned. + * + * ### Complexity + * + * - O(1). + * + * ## Events + * + * No events are emitted from this dispatch. + */ approveProposal: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::check_status`]. */ + /** + * Check the status of the spend and remove it from the storage if processed. + * + * ## Dispatch Origin + * + * Must be signed. + * + * ## Details + * + * The status check is a prerequisite for retrying a failed payout. If a spend has either + * succeeded or expired, it is removed from the storage by this function. In such instances, + * transaction fees are refunded. + * + * ### Parameters + * + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::PaymentFailed`] if the spend payout has failed. Emits + * [`Event::SpendProcessed`] if the spend payout has succeed. + */ checkStatus: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::payout`]. */ + /** + * Claim a spend. + * + * ## Dispatch Origin + * + * Must be signed. + * + * ## Details + * + * Spends must be claimed within some temporal bounds. A spend may be claimed within one + * [`Config::PayoutPeriod`] from the `valid_from` block. In case of a payout failure, the + * spend status must be updated with the `check_status` dispatchable before retrying with the + * current function. + * + * ### Parameters + * + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::Paid`] if successful. + */ payout: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::propose_spend`]. */ + /** + * Put forward a suggestion for spending. + * + * ## Dispatch Origin + * + * Must be signed. + * + * ## Details + * + * A deposit proportional to the value is reserved and slashed if the proposal is rejected. It + * is returned once the proposal is awarded. + * + * ### Complexity + * + * - O(1) + * + * ## Events + * + * Emits [`Event::Proposed`] if successful. + */ proposeSpend: AugmentedSubmittable< ( value: Compact | AnyNumber | Uint8Array, @@ -2175,17 +3992,86 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::reject_proposal`]. */ + /** + * Reject a proposed spend. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * The original deposit will be slashed. + * + * ### Complexity + * + * - O(1) + * + * ## Events + * + * Emits [`Event::Rejected`] if successful. + */ rejectProposal: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::remove_approval`]. */ + /** + * Force a previously approved proposal to be removed from the approval queue. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * The original deposit will no longer be returned. + * + * ### Parameters + * + * - `proposal_id`: The index of a proposal + * + * ### Complexity + * + * - O(A) where `A` is the number of approvals + * + * ### Errors + * + * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the approval + * queue, i.e., the proposal has not been approved. This could also mean the proposal does + * not exist altogether, thus there is no way it would have been approved in the first place. + */ removeApproval: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** See [`Pallet::spend`]. */ + /** + * Propose and approve a spend of treasury funds. + * + * ## Dispatch Origin + * + * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount` of + * `asset_kind` in the native asset. The amount of `asset_kind` is converted for assertion + * using the [`Config::BalanceConverter`]. + * + * ## Details + * + * Create an approved spend for transferring a specific `amount` of `asset_kind` to a + * designated beneficiary. The spend must be claimed using the `payout` dispatchable within + * the [`Config::PayoutPeriod`]. + * + * ### Parameters + * + * - `asset_kind`: An indicator of the specific asset class to be spent. + * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. + * - `beneficiary`: The beneficiary of the spend. + * - `valid_from`: The block number from which the spend can be claimed. It can refer to the + * past if the resulting spend has not yet expired according to the + * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after approval. + * + * ## Events + * + * Emits [`Event::AssetSpendApproved`] if successful. + */ spend: AugmentedSubmittable< ( assetKind: Null | null, @@ -2195,7 +4081,26 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Null, Compact, AccountId20, Option] >; - /** See [`Pallet::spend_local`]. */ + /** + * Propose and approve a spend of treasury funds. + * + * ## Dispatch Origin + * + * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. + * + * ### Details + * + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary. + * + * ### Parameters + * + * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. + * - `beneficiary`: The destination account for the transfer. + * + * ## Events + * + * Emits [`Event::SpendApproved`] if successful. + */ spendLocal: AugmentedSubmittable< ( amount: Compact | AnyNumber | Uint8Array, @@ -2203,7 +4108,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** See [`Pallet::void_spend`]. */ + /** + * Void previously approved spend. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * A spend void is only possible if the payout has not been attempted yet. + * + * ### Parameters + * + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::AssetSpendVoided`] if successful. + */ voidSpend: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -2212,7 +4135,32 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; treasuryCouncilCollective: { - /** See [`Pallet::close`]. */ + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is has + * enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections unless + * there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will be + * waived. Otherwise execution of the approved operation will be charged to the caller. + * + * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. + * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * ## Complexity + * + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + */ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -2226,12 +4174,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact] >; - /** See [`Pallet::disapprove_proposal`]. */ + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * + * Must be called by the Root origin. + * + * Parameters: + * + * - `proposal_hash`: The hash of the proposal that should be disapproved. + * + * ## Complexity + * + * O(P) where P is the number of max proposals + */ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::execute`]. */ + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * ## Complexity: + * + * - `O(B + M + P)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` members-count (code-bounded) + * - `P` complexity of dispatching `proposal` + */ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -2239,7 +4210,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, Compact] >; - /** See [`Pallet::propose`]. */ + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up + * for voting. + * + * ## Complexity + * + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - Branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + */ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -2248,7 +4235,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, Call, Compact] >; - /** See [`Pallet::set_members`]. */ + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for weight + * estimation. + * + * The dispatch of this call must be `SetMembersOrigin`. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the + * weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful + * that the member set doesn't get out of sync with other logic managing the member set. + * + * ## Complexity: + * + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + */ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -2257,7 +4269,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, Option, u32] >; - /** See [`Pallet::vote`]. */ + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal for the + * first time and the call is successful. Subsequent vote changes will charge a fee. + * + * ## Complexity + * + * - `O(M)` where `M` is members-count (code- and governance-bounded) + */ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -2270,7 +4293,21 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; utility: { - /** See [`Pallet::as_derivative`]. */ + /** + * Send a call through an indexed pseudonym of the sender. + * + * Filter from origin are passed along. The call will be dispatched with an origin which use + * the same filter as the origin of this call. + * + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. because + * you expect `proxy` to have been used prior in the call stack and you do not want the call + * restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` in the Multisig + * pallet instead. + * + * NOTE: Prior to version *12, this was called `as_limited_sub`. + * + * The dispatch origin for this call must be _Signed_. + */ asDerivative: AugmentedSubmittable< ( index: u16 | AnyNumber | Uint8Array, @@ -2278,21 +4315,63 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Call] >; - /** See [`Pallet::batch`]. */ + /** + * Send a batch of dispatch calls. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatched without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * + * - O(C) where C is the number of calls to be batched. + * + * This will return `Ok` in all circumstances. To determine the success of the batch, an event + * is deposited. If a call failed and the batch was interrupted, then the `BatchInterrupted` + * event is deposited, along with the number of successful calls made and the error of the + * failed call. If all were successful, then the `BatchCompleted` event is deposited. + */ batch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::batch_all`]. */ + /** + * Send a batch of dispatch calls and atomically execute them. The whole transaction will + * rollback and fail if any of the calls failed. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatched without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * + * - O(C) where C is the number of calls to be batched. + */ batchAll: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::dispatch_as`]. */ + /** + * Dispatches a function call with a provided origin. + * + * The dispatch origin for this call must be _Root_. + * + * ## Complexity + * + * - O(1). + */ dispatchAs: AugmentedSubmittable< ( asOrigin: @@ -2312,14 +4391,35 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonriverRuntimeOriginCaller, Call] >; - /** See [`Pallet::force_batch`]. */ + /** + * Send a batch of dispatch calls. Unlike `batch`, it allows errors and won't interrupt. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatch without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * + * - O(C) where C is the number of calls to be batched. + */ forceBatch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** See [`Pallet::with_weight`]. */ + /** + * Dispatch a function call with a specified weight. + * + * This function does not check the weight of the call, and instead allows the Root origin to + * specify the weight of the call. + * + * The dispatch origin for this call must be _Root_. + */ withWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -2331,7 +4431,6 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; whitelist: { - /** See [`Pallet::dispatch_whitelisted_call`]. */ dispatchWhitelistedCall: AugmentedSubmittable< ( callHash: H256 | string | Uint8Array, @@ -2344,17 +4443,14 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, u32, SpWeightsWeightV2Weight] >; - /** See [`Pallet::dispatch_whitelisted_call_with_preimage`]. */ dispatchWhitelistedCallWithPreimage: AugmentedSubmittable< (call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call] >; - /** See [`Pallet::remove_whitelisted_call`]. */ removeWhitelistedCall: AugmentedSubmittable< (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** See [`Pallet::whitelist_call`]. */ whitelistCall: AugmentedSubmittable< (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -2363,12 +4459,15 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; xcmTransactor: { - /** See [`Pallet::deregister`]. */ + /** + * De-Register a derivative index. This prevents an account to use a derivative address + * (represented by an index) from our of our sovereign accounts anymore + */ deregister: AugmentedSubmittable< (index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** See [`Pallet::hrmp_manage`]. */ + /** Manage HRMP operations */ hrmpManage: AugmentedSubmittable< ( action: @@ -2396,7 +4495,15 @@ declare module "@polkadot/api-base/types/submittable" { PalletXcmTransactorTransactWeights ] >; - /** See [`Pallet::register`]. */ + /** + * Register a derivative index for an account id. Dispatchable by DerivativeAddressRegistrationOrigin + * + * We do not store the derivative address, but only the index. We do not need to store the + * derivative address to issue calls, only the index is enough + * + * For now an index is registered for all possible destinations and not per-destination. We + * can change this in the future although it would just make things more complicated + */ register: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -2404,7 +4511,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16] >; - /** See [`Pallet::remove_fee_per_second`]. */ + /** Remove the fee per second of an asset on its reserve chain */ removeFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -2417,7 +4524,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::remove_transact_info`]. */ + /** Remove the transact info of a location */ removeTransactInfo: AugmentedSubmittable< ( location: @@ -2430,7 +4537,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** See [`Pallet::set_fee_per_second`]. */ + /** Set the fee per second of an asset on its reserve chain */ setFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -2444,7 +4551,7 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, u128] >; - /** See [`Pallet::set_transact_info`]. */ + /** Change the transact info of a location */ setTransactInfo: AugmentedSubmittable< ( location: @@ -2479,7 +4586,13 @@ declare module "@polkadot/api-base/types/submittable" { Option ] >; - /** See [`Pallet::transact_through_derivative`]. */ + /** + * Transact the inner call through a derivative account in a destination chain, using + * 'fee_location' to pay for the fees. This fee_location is given as a multilocation + * + * The caller needs to have the index registered in this pallet. The fee multiasset needs to + * be a reserve asset for the destination transactor::multilocation. + */ transactThroughDerivative: AugmentedSubmittable< ( dest: MoonriverRuntimeXcmConfigTransactors | "Relay" | number | Uint8Array, @@ -2506,7 +4619,13 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::transact_through_signed`]. */ + /** + * Transact the call through the a signed origin in this chain that should be converted to a + * transaction dispatch account in the destination chain by any method implemented in the + * destination chains runtime + * + * This time we are giving the currency as a currencyId instead of multilocation + */ transactThroughSigned: AugmentedSubmittable< ( dest: @@ -2537,7 +4656,11 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** See [`Pallet::transact_through_sovereign`]. */ + /** + * Transact the call through the sovereign account in a destination chain, 'fee_payer' pays for the fee + * + * SovereignAccountDispatcherOrigin callable only + */ transactThroughSovereign: AugmentedSubmittable< ( dest: @@ -2583,7 +4706,18 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; xTokens: { - /** See [`Pallet::transfer`]. */ + /** + * Transfer native currencies. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transfer: AugmentedSubmittable< ( currencyId: @@ -2610,7 +4744,18 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonriverRuntimeXcmConfigCurrencyId, u128, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multiasset`]. */ + /** + * Transfer `Asset`. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMultiasset: AugmentedSubmittable< ( asset: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2630,7 +4775,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedAsset, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multiassets`]. */ + /** + * Transfer several `Asset` specifying the item to be used as fee + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee_item` is index of the Assets that we want to use for payment + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMultiassets: AugmentedSubmittable< ( assets: @@ -2657,7 +4815,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedAssets, u32, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multiasset_with_fee`]. */ + /** + * Transfer `Asset` specifying the fee and amount as separate. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee` is the Asset to be spent to pay for execution in destination chain. Both fee and + * amount will be subtracted form the callers balance For now we only accept fee and asset + * having the same `Location` id. + * + * If `fee` is not high enough to cover for the execution costs in the destination chain, then + * the assets will be trapped in the destination chain + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMultiassetWithFee: AugmentedSubmittable< ( asset: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2678,7 +4854,20 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedAsset, XcmVersionedAsset, XcmVersionedLocation, XcmV3WeightLimit] >; - /** See [`Pallet::transfer_multicurrencies`]. */ + /** + * Transfer several currencies specifying the item to be used as fee + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee_item` is index of the currencies tuple that we want to use for payment + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferMulticurrencies: AugmentedSubmittable< ( currencies: @@ -2716,7 +4905,24 @@ declare module "@polkadot/api-base/types/submittable" { XcmV3WeightLimit ] >; - /** See [`Pallet::transfer_with_fee`]. */ + /** + * Transfer native currencies specifying the fee and amount as separate. + * + * `dest_weight_limit` is the weight for XCM execution on the dest chain, and it would be + * charged from the transferred assets. If set below requirements, the execution may fail and + * assets wouldn't be received. + * + * `fee` is the amount to be spent to pay for execution in destination chain. Both fee and + * amount will be subtracted form the callers balance. + * + * If `fee` is not high enough to cover for the execution costs in the destination chain, then + * the assets will be trapped in the destination chain + * + * It's a no-op if any error on local XCM execution or message sending. Note sending assets + * out per se doesn't guarantee they would be received. Receiving depends on if the XCM + * message could be delivered by the network, and if the receiving chain would handle messages + * correctly. + */ transferWithFee: AugmentedSubmittable< ( currencyId: diff --git a/typescript-api/src/moonriver/interfaces/lookup.ts b/typescript-api/src/moonriver/interfaces/lookup.ts index 3017f003bb..1475e9f5b8 100644 --- a/typescript-api/src/moonriver/interfaces/lookup.ts +++ b/typescript-api/src/moonriver/interfaces/lookup.ts @@ -19,22 +19,22 @@ export default { frozen: "u128", flags: "u128", }, - /** Lookup8: frame_support::dispatch::PerDispatchClass */ + /** Lookup9: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassWeight: { normal: "SpWeightsWeightV2Weight", operational: "SpWeightsWeightV2Weight", mandatory: "SpWeightsWeightV2Weight", }, - /** Lookup9: sp_weights::weight_v2::Weight */ + /** Lookup10: sp_weights::weight_v2::Weight */ SpWeightsWeightV2Weight: { refTime: "Compact", proofSize: "Compact", }, - /** Lookup15: sp_runtime::generic::digest::Digest */ + /** Lookup16: sp_runtime::generic::digest::Digest */ SpRuntimeDigest: { logs: "Vec", }, - /** Lookup17: sp_runtime::generic::digest::DigestItem */ + /** Lookup18: sp_runtime::generic::digest::DigestItem */ SpRuntimeDigestDigestItem: { _enum: { Other: "Bytes", @@ -48,13 +48,13 @@ export default { RuntimeEnvironmentUpdated: "Null", }, }, - /** Lookup20: frame_system::EventRecord */ + /** Lookup21: frame_system::EventRecord */ FrameSystemEventRecord: { phase: "FrameSystemPhase", event: "Event", topics: "Vec", }, - /** Lookup22: frame_system::pallet::Event */ + /** Lookup23: frame_system::pallet::Event */ FrameSystemEvent: { _enum: { ExtrinsicSuccess: { @@ -84,21 +84,21 @@ export default { }, }, }, - /** Lookup23: frame_support::dispatch::DispatchInfo */ + /** Lookup24: frame_support::dispatch::DispatchInfo */ FrameSupportDispatchDispatchInfo: { weight: "SpWeightsWeightV2Weight", class: "FrameSupportDispatchDispatchClass", paysFee: "FrameSupportDispatchPays", }, - /** Lookup24: frame_support::dispatch::DispatchClass */ + /** Lookup25: frame_support::dispatch::DispatchClass */ FrameSupportDispatchDispatchClass: { _enum: ["Normal", "Operational", "Mandatory"], }, - /** Lookup25: frame_support::dispatch::Pays */ + /** Lookup26: frame_support::dispatch::Pays */ FrameSupportDispatchPays: { _enum: ["Yes", "No"], }, - /** Lookup26: sp_runtime::DispatchError */ + /** Lookup27: sp_runtime::DispatchError */ SpRuntimeDispatchError: { _enum: { Other: "Null", @@ -117,12 +117,12 @@ export default { RootNotAllowed: "Null", }, }, - /** Lookup27: sp_runtime::ModuleError */ + /** Lookup28: sp_runtime::ModuleError */ SpRuntimeModuleError: { index: "u8", error: "[u8;4]", }, - /** Lookup28: sp_runtime::TokenError */ + /** Lookup29: sp_runtime::TokenError */ SpRuntimeTokenError: { _enum: [ "FundsUnavailable", @@ -137,11 +137,11 @@ export default { "Blocked", ], }, - /** Lookup29: sp_arithmetic::ArithmeticError */ + /** Lookup30: sp_arithmetic::ArithmeticError */ SpArithmeticArithmeticError: { _enum: ["Underflow", "Overflow", "DivisionByZero"], }, - /** Lookup30: sp_runtime::TransactionalError */ + /** Lookup31: sp_runtime::TransactionalError */ SpRuntimeTransactionalError: { _enum: ["LimitReached", "NoLayer"], }, @@ -528,12 +528,10 @@ export default { }, }, /** Lookup47: nimbus_primitives::nimbus_crypto::Public */ - NimbusPrimitivesNimbusCryptoPublic: "SpCoreSr25519Public", - /** Lookup48: sp_core::sr25519::Public */ - SpCoreSr25519Public: "[u8;32]", - /** Lookup49: session_keys_primitives::vrf::vrf_crypto::Public */ - SessionKeysPrimitivesVrfVrfCryptoPublic: "SpCoreSr25519Public", - /** Lookup50: pallet_moonbeam_orbiters::pallet::Event */ + NimbusPrimitivesNimbusCryptoPublic: "[u8;32]", + /** Lookup48: session_keys_primitives::vrf::vrf_crypto::Public */ + SessionKeysPrimitivesVrfVrfCryptoPublic: "[u8;32]", + /** Lookup49: pallet_moonbeam_orbiters::pallet::Event */ PalletMoonbeamOrbitersEvent: { _enum: { OrbiterJoinCollatorPool: { @@ -562,7 +560,7 @@ export default { }, }, }, - /** Lookup52: pallet_utility::pallet::Event */ + /** Lookup51: pallet_utility::pallet::Event */ PalletUtilityEvent: { _enum: { BatchInterrupted: { @@ -580,7 +578,7 @@ export default { }, }, }, - /** Lookup55: pallet_proxy::pallet::Event */ + /** Lookup54: pallet_proxy::pallet::Event */ PalletProxyEvent: { _enum: { ProxyExecuted: { @@ -611,7 +609,7 @@ export default { }, }, }, - /** Lookup56: moonriver_runtime::ProxyType */ + /** Lookup55: moonriver_runtime::ProxyType */ MoonriverRuntimeProxyType: { _enum: [ "Any", @@ -624,7 +622,7 @@ export default { "IdentityJudgement", ], }, - /** Lookup58: pallet_maintenance_mode::pallet::Event */ + /** Lookup57: pallet_maintenance_mode::pallet::Event */ PalletMaintenanceModeEvent: { _enum: { EnteredMaintenanceMode: "Null", @@ -637,7 +635,7 @@ export default { }, }, }, - /** Lookup59: pallet_identity::pallet::Event */ + /** Lookup58: pallet_identity::pallet::Event */ PalletIdentityEvent: { _enum: { IdentitySet: { @@ -709,7 +707,7 @@ export default { }, }, }, - /** Lookup61: pallet_migrations::pallet::Event */ + /** Lookup60: pallet_migrations::pallet::Event */ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", @@ -731,7 +729,7 @@ export default { }, }, }, - /** Lookup62: pallet_multisig::pallet::Event */ + /** Lookup61: pallet_multisig::pallet::Event */ PalletMultisigEvent: { _enum: { NewMultisig: { @@ -760,12 +758,12 @@ export default { }, }, }, - /** Lookup63: pallet_multisig::Timepoint */ + /** Lookup62: pallet_multisig::Timepoint */ PalletMultisigTimepoint: { height: "u32", index: "u32", }, - /** Lookup64: pallet_evm::pallet::Event */ + /** Lookup63: pallet_evm::pallet::Event */ PalletEvmEvent: { _enum: { Log: { @@ -785,13 +783,13 @@ export default { }, }, }, - /** Lookup65: ethereum::log::Log */ + /** Lookup64: ethereum::log::Log */ EthereumLog: { address: "H160", topics: "Vec", data: "Bytes", }, - /** Lookup68: pallet_ethereum::pallet::Event */ + /** Lookup67: pallet_ethereum::pallet::Event */ PalletEthereumEvent: { _enum: { Executed: { @@ -803,7 +801,7 @@ export default { }, }, }, - /** Lookup69: evm_core::error::ExitReason */ + /** Lookup68: evm_core::error::ExitReason */ EvmCoreErrorExitReason: { _enum: { Succeed: "EvmCoreErrorExitSucceed", @@ -812,11 +810,11 @@ export default { Fatal: "EvmCoreErrorExitFatal", }, }, - /** Lookup70: evm_core::error::ExitSucceed */ + /** Lookup69: evm_core::error::ExitSucceed */ EvmCoreErrorExitSucceed: { _enum: ["Stopped", "Returned", "Suicided"], }, - /** Lookup71: evm_core::error::ExitError */ + /** Lookup70: evm_core::error::ExitError */ EvmCoreErrorExitError: { _enum: { StackUnderflow: "Null", @@ -837,11 +835,11 @@ export default { InvalidCode: "u8", }, }, - /** Lookup75: evm_core::error::ExitRevert */ + /** Lookup74: evm_core::error::ExitRevert */ EvmCoreErrorExitRevert: { _enum: ["Reverted"], }, - /** Lookup76: evm_core::error::ExitFatal */ + /** Lookup75: evm_core::error::ExitFatal */ EvmCoreErrorExitFatal: { _enum: { NotSupported: "Null", @@ -850,7 +848,7 @@ export default { Other: "Text", }, }, - /** Lookup77: pallet_scheduler::pallet::Event */ + /** Lookup76: pallet_scheduler::pallet::Event */ PalletSchedulerEvent: { _enum: { Scheduled: { @@ -866,6 +864,16 @@ export default { id: "Option<[u8;32]>", result: "Result", }, + RetrySet: { + task: "(u32,u32)", + id: "Option<[u8;32]>", + period: "u32", + retries: "u8", + }, + RetryCancelled: { + task: "(u32,u32)", + id: "Option<[u8;32]>", + }, CallUnavailable: { task: "(u32,u32)", id: "Option<[u8;32]>", @@ -874,13 +882,17 @@ export default { task: "(u32,u32)", id: "Option<[u8;32]>", }, + RetryFailed: { + task: "(u32,u32)", + id: "Option<[u8;32]>", + }, PermanentlyOverweight: { task: "(u32,u32)", id: "Option<[u8;32]>", }, }, }, - /** Lookup79: pallet_preimage::pallet::Event */ + /** Lookup78: pallet_preimage::pallet::Event */ PalletPreimageEvent: { _enum: { Noted: { @@ -903,14 +915,14 @@ export default { }, }, }, - /** Lookup80: pallet_conviction_voting::pallet::Event */ + /** Lookup79: pallet_conviction_voting::pallet::Event */ PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", Undelegated: "AccountId20", }, }, - /** Lookup81: pallet_referenda::pallet::Event */ + /** Lookup80: pallet_referenda::pallet::Event */ PalletReferendaEvent: { _enum: { Submitted: { @@ -989,7 +1001,7 @@ export default { }, }, /** - * Lookup82: frame_support::traits::preimages::Bounded */ FrameSupportPreimagesBounded: { @@ -1010,7 +1022,7 @@ export default { }, }, }, - /** Lookup84: frame_system::pallet::Call */ + /** Lookup83: frame_system::pallet::Call */ FrameSystemCall: { _enum: { remark: { @@ -1053,7 +1065,7 @@ export default { }, }, }, - /** Lookup88: cumulus_pallet_parachain_system::pallet::Call */ + /** Lookup87: cumulus_pallet_parachain_system::pallet::Call */ CumulusPalletParachainSystemCall: { _enum: { set_validation_data: { @@ -1071,35 +1083,35 @@ export default { }, }, }, - /** Lookup89: cumulus_primitives_parachain_inherent::ParachainInherentData */ + /** Lookup88: cumulus_primitives_parachain_inherent::ParachainInherentData */ CumulusPrimitivesParachainInherentParachainInherentData: { - validationData: "PolkadotPrimitivesV6PersistedValidationData", + validationData: "PolkadotPrimitivesV7PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", horizontalMessages: "BTreeMap>", }, - /** Lookup90: polkadot_primitives::v6::PersistedValidationData */ - PolkadotPrimitivesV6PersistedValidationData: { + /** Lookup89: polkadot_primitives::v7::PersistedValidationData */ + PolkadotPrimitivesV7PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", maxPovSize: "u32", }, - /** Lookup92: sp_trie::storage_proof::StorageProof */ + /** Lookup91: sp_trie::storage_proof::StorageProof */ SpTrieStorageProof: { trieNodes: "BTreeSet", }, - /** Lookup95: polkadot_core_primitives::InboundDownwardMessage */ + /** Lookup94: polkadot_core_primitives::InboundDownwardMessage */ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", msg: "Bytes", }, - /** Lookup99: polkadot_core_primitives::InboundHrmpMessage */ + /** Lookup98: polkadot_core_primitives::InboundHrmpMessage */ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", data: "Bytes", }, - /** Lookup102: pallet_timestamp::pallet::Call */ + /** Lookup101: pallet_timestamp::pallet::Call */ PalletTimestampCall: { _enum: { set: { @@ -1107,7 +1119,7 @@ export default { }, }, }, - /** Lookup103: pallet_root_testing::pallet::Call */ + /** Lookup102: pallet_root_testing::pallet::Call */ PalletRootTestingCall: { _enum: { fill_block: { @@ -1116,7 +1128,7 @@ export default { trigger_defensive: "Null", }, }, - /** Lookup104: pallet_balances::pallet::Call */ + /** Lookup103: pallet_balances::pallet::Call */ PalletBalancesCall: { _enum: { transfer_allow_death: { @@ -1155,11 +1167,11 @@ export default { }, }, }, - /** Lookup107: pallet_balances::types::AdjustmentDirection */ + /** Lookup106: pallet_balances::types::AdjustmentDirection */ PalletBalancesAdjustmentDirection: { _enum: ["Increase", "Decrease"], }, - /** Lookup108: pallet_parachain_staking::pallet::Call */ + /** Lookup107: pallet_parachain_staking::pallet::Call */ PalletParachainStakingCall: { _enum: { set_staking_expectations: { @@ -1289,11 +1301,11 @@ export default { }, }, }, - /** Lookup111: pallet_author_inherent::pallet::Call */ + /** Lookup110: pallet_author_inherent::pallet::Call */ PalletAuthorInherentCall: { _enum: ["kick_off_authorship_validation"], }, - /** Lookup112: pallet_author_slot_filter::pallet::Call */ + /** Lookup111: pallet_author_slot_filter::pallet::Call */ PalletAuthorSlotFilterCall: { _enum: { set_eligible: { @@ -1304,7 +1316,7 @@ export default { }, }, }, - /** Lookup113: pallet_author_mapping::pallet::Call */ + /** Lookup112: pallet_author_mapping::pallet::Call */ PalletAuthorMappingCall: { _enum: { add_association: { @@ -1326,7 +1338,7 @@ export default { }, }, }, - /** Lookup114: pallet_moonbeam_orbiters::pallet::Call */ + /** Lookup113: pallet_moonbeam_orbiters::pallet::Call */ PalletMoonbeamOrbitersCall: { _enum: { collator_add_orbiter: { @@ -1350,7 +1362,7 @@ export default { }, }, }, - /** Lookup115: pallet_utility::pallet::Call */ + /** Lookup114: pallet_utility::pallet::Call */ PalletUtilityCall: { _enum: { batch: { @@ -1376,7 +1388,7 @@ export default { }, }, }, - /** Lookup117: moonriver_runtime::OriginCaller */ + /** Lookup116: moonriver_runtime::OriginCaller */ MoonriverRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -1491,7 +1503,7 @@ export default { EthereumXcm: "PalletEthereumXcmRawOrigin", }, }, - /** Lookup118: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ + /** Lookup117: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", @@ -1499,13 +1511,13 @@ export default { None: "Null", }, }, - /** Lookup119: pallet_ethereum::RawOrigin */ + /** Lookup118: pallet_ethereum::RawOrigin */ PalletEthereumRawOrigin: { _enum: { EthereumTransaction: "H160", }, }, - /** Lookup120: moonriver_runtime::governance::origins::custom_origins::Origin */ + /** Lookup119: moonriver_runtime::governance::origins::custom_origins::Origin */ MoonriverRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ "WhitelistedCaller", @@ -1515,7 +1527,7 @@ export default { "FastGeneralAdmin", ], }, - /** Lookup121: pallet_collective::RawOrigin */ + /** Lookup120: pallet_collective::RawOrigin */ PalletCollectiveRawOrigin: { _enum: { Members: "(u32,u32)", @@ -1523,40 +1535,40 @@ export default { _Phantom: "Null", }, }, - /** Lookup123: cumulus_pallet_xcm::pallet::Origin */ + /** Lookup122: cumulus_pallet_xcm::pallet::Origin */ CumulusPalletXcmOrigin: { _enum: { Relay: "Null", SiblingParachain: "u32", }, }, - /** Lookup124: pallet_xcm::pallet::Origin */ + /** Lookup123: pallet_xcm::pallet::Origin */ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV4Location", Response: "StagingXcmV4Location", }, }, - /** Lookup125: staging_xcm::v4::location::Location */ + /** Lookup124: staging_xcm::v4::location::Location */ StagingXcmV4Location: { parents: "u8", interior: "StagingXcmV4Junctions", }, - /** Lookup126: staging_xcm::v4::junctions::Junctions */ + /** Lookup125: staging_xcm::v4::junctions::Junctions */ StagingXcmV4Junctions: { _enum: { Here: "Null", - X1: "[Lookup128;1]", - X2: "[Lookup128;2]", - X3: "[Lookup128;3]", - X4: "[Lookup128;4]", - X5: "[Lookup128;5]", - X6: "[Lookup128;6]", - X7: "[Lookup128;7]", - X8: "[Lookup128;8]", + X1: "[Lookup127;1]", + X2: "[Lookup127;2]", + X3: "[Lookup127;3]", + X4: "[Lookup127;4]", + X5: "[Lookup127;5]", + X6: "[Lookup127;6]", + X7: "[Lookup127;7]", + X8: "[Lookup127;8]", }, }, - /** Lookup128: staging_xcm::v4::junction::Junction */ + /** Lookup127: staging_xcm::v4::junction::Junction */ StagingXcmV4Junction: { _enum: { Parachain: "Compact", @@ -1586,7 +1598,7 @@ export default { GlobalConsensus: "StagingXcmV4JunctionNetworkId", }, }, - /** Lookup131: staging_xcm::v4::junction::NetworkId */ + /** Lookup130: staging_xcm::v4::junction::NetworkId */ StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", @@ -1607,7 +1619,7 @@ export default { PolkadotBulletin: "Null", }, }, - /** Lookup132: xcm::v3::junction::BodyId */ + /** Lookup131: xcm::v3::junction::BodyId */ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1622,7 +1634,7 @@ export default { Treasury: "Null", }, }, - /** Lookup133: xcm::v3::junction::BodyPart */ + /** Lookup132: xcm::v3::junction::BodyPart */ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", @@ -1643,15 +1655,15 @@ export default { }, }, }, - /** Lookup141: pallet_ethereum_xcm::RawOrigin */ + /** Lookup140: pallet_ethereum_xcm::RawOrigin */ PalletEthereumXcmRawOrigin: { _enum: { XcmEthereumTransaction: "H160", }, }, - /** Lookup142: sp_core::Void */ + /** Lookup141: sp_core::Void */ SpCoreVoid: "Null", - /** Lookup143: pallet_proxy::pallet::Call */ + /** Lookup142: pallet_proxy::pallet::Call */ PalletProxyCall: { _enum: { proxy: { @@ -1702,11 +1714,11 @@ export default { }, }, }, - /** Lookup145: pallet_maintenance_mode::pallet::Call */ + /** Lookup144: pallet_maintenance_mode::pallet::Call */ PalletMaintenanceModeCall: { _enum: ["enter_maintenance_mode", "resume_normal_operation"], }, - /** Lookup146: pallet_identity::pallet::Call */ + /** Lookup145: pallet_identity::pallet::Call */ PalletIdentityCall: { _enum: { add_registrar: { @@ -1789,7 +1801,7 @@ export default { }, }, }, - /** Lookup147: pallet_identity::legacy::IdentityInfo */ + /** Lookup146: pallet_identity::legacy::IdentityInfo */ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", display: "Data", @@ -1801,7 +1813,7 @@ export default { image: "Data", twitter: "Data", }, - /** Lookup185: pallet_identity::types::Judgement */ + /** Lookup184: pallet_identity::types::Judgement */ PalletIdentityJudgement: { _enum: { Unknown: "Null", @@ -1813,11 +1825,9 @@ export default { Erroneous: "Null", }, }, - /** Lookup187: account::EthereumSignature */ - AccountEthereumSignature: "SpCoreEcdsaSignature", - /** Lookup188: sp_core::ecdsa::Signature */ - SpCoreEcdsaSignature: "[u8;65]", - /** Lookup190: pallet_multisig::pallet::Call */ + /** Lookup186: account::EthereumSignature */ + AccountEthereumSignature: "[u8;65]", + /** Lookup188: pallet_multisig::pallet::Call */ PalletMultisigCall: { _enum: { as_multi_threshold_1: { @@ -1846,7 +1856,7 @@ export default { }, }, }, - /** Lookup192: pallet_moonbeam_lazy_migrations::pallet::Call */ + /** Lookup190: pallet_moonbeam_lazy_migrations::pallet::Call */ PalletMoonbeamLazyMigrationsCall: { _enum: { __Unused0: "Null", @@ -1856,7 +1866,7 @@ export default { }, }, }, - /** Lookup195: pallet_evm::pallet::Call */ + /** Lookup193: pallet_evm::pallet::Call */ PalletEvmCall: { _enum: { withdraw: { @@ -1897,7 +1907,7 @@ export default { }, }, }, - /** Lookup201: pallet_ethereum::pallet::Call */ + /** Lookup199: pallet_ethereum::pallet::Call */ PalletEthereumCall: { _enum: { transact: { @@ -1905,7 +1915,7 @@ export default { }, }, }, - /** Lookup202: ethereum::transaction::TransactionV2 */ + /** Lookup200: ethereum::transaction::TransactionV2 */ EthereumTransactionTransactionV2: { _enum: { Legacy: "EthereumTransactionLegacyTransaction", @@ -1913,7 +1923,7 @@ export default { EIP1559: "EthereumTransactionEip1559Transaction", }, }, - /** Lookup203: ethereum::transaction::LegacyTransaction */ + /** Lookup201: ethereum::transaction::LegacyTransaction */ EthereumTransactionLegacyTransaction: { nonce: "U256", gasPrice: "U256", @@ -1923,20 +1933,20 @@ export default { input: "Bytes", signature: "EthereumTransactionTransactionSignature", }, - /** Lookup204: ethereum::transaction::TransactionAction */ + /** Lookup202: ethereum::transaction::TransactionAction */ EthereumTransactionTransactionAction: { _enum: { Call: "H160", Create: "Null", }, }, - /** Lookup205: ethereum::transaction::TransactionSignature */ + /** Lookup203: ethereum::transaction::TransactionSignature */ EthereumTransactionTransactionSignature: { v: "u64", r: "H256", s: "H256", }, - /** Lookup207: ethereum::transaction::EIP2930Transaction */ + /** Lookup205: ethereum::transaction::EIP2930Transaction */ EthereumTransactionEip2930Transaction: { chainId: "u64", nonce: "U256", @@ -1950,12 +1960,12 @@ export default { r: "H256", s: "H256", }, - /** Lookup209: ethereum::transaction::AccessListItem */ + /** Lookup207: ethereum::transaction::AccessListItem */ EthereumTransactionAccessListItem: { address: "H160", storageKeys: "Vec", }, - /** Lookup210: ethereum::transaction::EIP1559Transaction */ + /** Lookup208: ethereum::transaction::EIP1559Transaction */ EthereumTransactionEip1559Transaction: { chainId: "u64", nonce: "U256", @@ -1970,7 +1980,7 @@ export default { r: "H256", s: "H256", }, - /** Lookup211: pallet_scheduler::pallet::Call */ + /** Lookup209: pallet_scheduler::pallet::Call */ PalletSchedulerCall: { _enum: { schedule: { @@ -2006,9 +2016,25 @@ export default { priority: "u8", call: "Call", }, + set_retry: { + task: "(u32,u32)", + retries: "u8", + period: "u32", + }, + set_retry_named: { + id: "[u8;32]", + retries: "u8", + period: "u32", + }, + cancel_retry: { + task: "(u32,u32)", + }, + cancel_retry_named: { + id: "[u8;32]", + }, }, }, - /** Lookup213: pallet_preimage::pallet::Call */ + /** Lookup211: pallet_preimage::pallet::Call */ PalletPreimageCall: { _enum: { note_preimage: { @@ -2037,7 +2063,7 @@ export default { }, }, }, - /** Lookup214: pallet_conviction_voting::pallet::Call */ + /** Lookup212: pallet_conviction_voting::pallet::Call */ PalletConvictionVotingCall: { _enum: { vote: { @@ -2068,7 +2094,7 @@ export default { }, }, }, - /** Lookup215: pallet_conviction_voting::vote::AccountVote */ + /** Lookup213: pallet_conviction_voting::vote::AccountVote */ PalletConvictionVotingVoteAccountVote: { _enum: { Standard: { @@ -2086,11 +2112,11 @@ export default { }, }, }, - /** Lookup217: pallet_conviction_voting::conviction::Conviction */ + /** Lookup215: pallet_conviction_voting::conviction::Conviction */ PalletConvictionVotingConviction: { _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"], }, - /** Lookup219: pallet_referenda::pallet::Call */ + /** Lookup217: pallet_referenda::pallet::Call */ PalletReferendaCall: { _enum: { submit: { @@ -2125,14 +2151,14 @@ export default { }, }, }, - /** Lookup220: frame_support::traits::schedule::DispatchTime */ + /** Lookup218: frame_support::traits::schedule::DispatchTime */ FrameSupportScheduleDispatchTime: { _enum: { At: "u32", After: "u32", }, }, - /** Lookup222: pallet_whitelist::pallet::Call */ + /** Lookup220: pallet_whitelist::pallet::Call */ PalletWhitelistCall: { _enum: { whitelist_call: { @@ -2151,7 +2177,7 @@ export default { }, }, }, - /** Lookup223: pallet_collective::pallet::Call */ + /** Lookup221: pallet_collective::pallet::Call */ PalletCollectiveCall: { _enum: { set_members: { @@ -2185,7 +2211,7 @@ export default { }, }, }, - /** Lookup225: pallet_treasury::pallet::Call */ + /** Lookup223: pallet_treasury::pallet::Call */ PalletTreasuryCall: { _enum: { propose_spend: { @@ -2222,7 +2248,7 @@ export default { }, }, }, - /** Lookup227: pallet_crowdloan_rewards::pallet::Call */ + /** Lookup225: pallet_crowdloan_rewards::pallet::Call */ PalletCrowdloanRewardsCall: { _enum: { associate_native_identity: { @@ -2247,21 +2273,17 @@ export default { }, }, }, - /** Lookup228: sp_runtime::MultiSignature */ + /** Lookup226: sp_runtime::MultiSignature */ SpRuntimeMultiSignature: { _enum: { - Ed25519: "SpCoreEd25519Signature", - Sr25519: "SpCoreSr25519Signature", - Ecdsa: "SpCoreEcdsaSignature", + Ed25519: "[u8;64]", + Sr25519: "[u8;64]", + Ecdsa: "[u8;65]", }, }, - /** Lookup229: sp_core::ed25519::Signature */ - SpCoreEd25519Signature: "[u8;64]", - /** Lookup231: sp_core::sr25519::Signature */ - SpCoreSr25519Signature: "[u8;64]", - /** Lookup236: cumulus_pallet_dmp_queue::pallet::Call */ + /** Lookup232: cumulus_pallet_dmp_queue::pallet::Call */ CumulusPalletDmpQueueCall: "Null", - /** Lookup237: pallet_xcm::pallet::Call */ + /** Lookup233: pallet_xcm::pallet::Call */ PalletXcmCall: { _enum: { send: { @@ -2321,9 +2343,22 @@ export default { feeAssetItem: "u32", weightLimit: "XcmV3WeightLimit", }, + claim_assets: { + assets: "XcmVersionedAssets", + beneficiary: "XcmVersionedLocation", + }, + transfer_assets_using_type_and_then: { + dest: "XcmVersionedLocation", + assets: "XcmVersionedAssets", + assetsTransferType: "StagingXcmExecutorAssetTransferTransferType", + remoteFeesId: "XcmVersionedAssetId", + feesTransferType: "StagingXcmExecutorAssetTransferTransferType", + customXcmOnDest: "XcmVersionedXcm", + weightLimit: "XcmV3WeightLimit", + }, }, }, - /** Lookup238: xcm::VersionedLocation */ + /** Lookup234: xcm::VersionedLocation */ XcmVersionedLocation: { _enum: { __Unused0: "Null", @@ -2333,12 +2368,12 @@ export default { V4: "StagingXcmV4Location", }, }, - /** Lookup239: xcm::v2::multilocation::MultiLocation */ + /** Lookup235: xcm::v2::multilocation::MultiLocation */ XcmV2MultiLocation: { parents: "u8", interior: "XcmV2MultilocationJunctions", }, - /** Lookup240: xcm::v2::multilocation::Junctions */ + /** Lookup236: xcm::v2::multilocation::Junctions */ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -2352,7 +2387,7 @@ export default { X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", }, }, - /** Lookup241: xcm::v2::junction::Junction */ + /** Lookup237: xcm::v2::junction::Junction */ XcmV2Junction: { _enum: { Parachain: "Compact", @@ -2378,7 +2413,7 @@ export default { }, }, }, - /** Lookup242: xcm::v2::NetworkId */ + /** Lookup238: xcm::v2::NetworkId */ XcmV2NetworkId: { _enum: { Any: "Null", @@ -2387,7 +2422,7 @@ export default { Kusama: "Null", }, }, - /** Lookup244: xcm::v2::BodyId */ + /** Lookup240: xcm::v2::BodyId */ XcmV2BodyId: { _enum: { Unit: "Null", @@ -2402,7 +2437,7 @@ export default { Treasury: "Null", }, }, - /** Lookup245: xcm::v2::BodyPart */ + /** Lookup241: xcm::v2::BodyPart */ XcmV2BodyPart: { _enum: { Voice: "Null", @@ -2423,12 +2458,12 @@ export default { }, }, }, - /** Lookup246: staging_xcm::v3::multilocation::MultiLocation */ + /** Lookup242: staging_xcm::v3::multilocation::MultiLocation */ StagingXcmV3MultiLocation: { parents: "u8", interior: "XcmV3Junctions", }, - /** Lookup247: xcm::v3::junctions::Junctions */ + /** Lookup243: xcm::v3::junctions::Junctions */ XcmV3Junctions: { _enum: { Here: "Null", @@ -2442,7 +2477,7 @@ export default { X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", }, }, - /** Lookup248: xcm::v3::junction::Junction */ + /** Lookup244: xcm::v3::junction::Junction */ XcmV3Junction: { _enum: { Parachain: "Compact", @@ -2472,7 +2507,7 @@ export default { GlobalConsensus: "XcmV3JunctionNetworkId", }, }, - /** Lookup250: xcm::v3::junction::NetworkId */ + /** Lookup246: xcm::v3::junction::NetworkId */ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", @@ -2493,7 +2528,7 @@ export default { PolkadotBulletin: "Null", }, }, - /** Lookup251: xcm::VersionedXcm */ + /** Lookup247: xcm::VersionedXcm */ XcmVersionedXcm: { _enum: { __Unused0: "Null", @@ -2503,9 +2538,9 @@ export default { V4: "StagingXcmV4Xcm", }, }, - /** Lookup252: xcm::v2::Xcm */ + /** Lookup248: xcm::v2::Xcm */ XcmV2Xcm: "Vec", - /** Lookup254: xcm::v2::Instruction */ + /** Lookup250: xcm::v2::Instruction */ XcmV2Instruction: { _enum: { WithdrawAsset: "XcmV2MultiassetMultiAssets", @@ -2601,28 +2636,28 @@ export default { UnsubscribeVersion: "Null", }, }, - /** Lookup255: xcm::v2::multiasset::MultiAssets */ + /** Lookup251: xcm::v2::multiasset::MultiAssets */ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup257: xcm::v2::multiasset::MultiAsset */ + /** Lookup253: xcm::v2::multiasset::MultiAsset */ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", fun: "XcmV2MultiassetFungibility", }, - /** Lookup258: xcm::v2::multiasset::AssetId */ + /** Lookup254: xcm::v2::multiasset::AssetId */ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", Abstract: "Bytes", }, }, - /** Lookup259: xcm::v2::multiasset::Fungibility */ + /** Lookup255: xcm::v2::multiasset::Fungibility */ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", NonFungible: "XcmV2MultiassetAssetInstance", }, }, - /** Lookup260: xcm::v2::multiasset::AssetInstance */ + /** Lookup256: xcm::v2::multiasset::AssetInstance */ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -2634,7 +2669,7 @@ export default { Blob: "Bytes", }, }, - /** Lookup261: xcm::v2::Response */ + /** Lookup257: xcm::v2::Response */ XcmV2Response: { _enum: { Null: "Null", @@ -2643,7 +2678,7 @@ export default { Version: "u32", }, }, - /** Lookup264: xcm::v2::traits::Error */ + /** Lookup260: xcm::v2::traits::Error */ XcmV2TraitsError: { _enum: { Overflow: "Null", @@ -2674,22 +2709,22 @@ export default { WeightNotComputable: "Null", }, }, - /** Lookup265: xcm::v2::OriginKind */ + /** Lookup261: xcm::v2::OriginKind */ XcmV2OriginKind: { _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], }, - /** Lookup266: xcm::double_encoded::DoubleEncoded */ + /** Lookup262: xcm::double_encoded::DoubleEncoded */ XcmDoubleEncoded: { encoded: "Bytes", }, - /** Lookup267: xcm::v2::multiasset::MultiAssetFilter */ + /** Lookup263: xcm::v2::multiasset::MultiAssetFilter */ XcmV2MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV2MultiassetMultiAssets", Wild: "XcmV2MultiassetWildMultiAsset", }, }, - /** Lookup268: xcm::v2::multiasset::WildMultiAsset */ + /** Lookup264: xcm::v2::multiasset::WildMultiAsset */ XcmV2MultiassetWildMultiAsset: { _enum: { All: "Null", @@ -2699,20 +2734,20 @@ export default { }, }, }, - /** Lookup269: xcm::v2::multiasset::WildFungibility */ + /** Lookup265: xcm::v2::multiasset::WildFungibility */ XcmV2MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup270: xcm::v2::WeightLimit */ + /** Lookup266: xcm::v2::WeightLimit */ XcmV2WeightLimit: { _enum: { Unlimited: "Null", Limited: "Compact", }, }, - /** Lookup271: xcm::v3::Xcm */ + /** Lookup267: xcm::v3::Xcm */ XcmV3Xcm: "Vec", - /** Lookup273: xcm::v3::Instruction */ + /** Lookup269: xcm::v3::Instruction */ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -2852,28 +2887,28 @@ export default { }, }, }, - /** Lookup274: xcm::v3::multiasset::MultiAssets */ + /** Lookup270: xcm::v3::multiasset::MultiAssets */ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup276: xcm::v3::multiasset::MultiAsset */ + /** Lookup272: xcm::v3::multiasset::MultiAsset */ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetFungibility", }, - /** Lookup277: xcm::v3::multiasset::AssetId */ + /** Lookup273: xcm::v3::multiasset::AssetId */ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", Abstract: "[u8;32]", }, }, - /** Lookup278: xcm::v3::multiasset::Fungibility */ + /** Lookup274: xcm::v3::multiasset::Fungibility */ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", NonFungible: "XcmV3MultiassetAssetInstance", }, }, - /** Lookup279: xcm::v3::multiasset::AssetInstance */ + /** Lookup275: xcm::v3::multiasset::AssetInstance */ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -2884,7 +2919,7 @@ export default { Array32: "[u8;32]", }, }, - /** Lookup280: xcm::v3::Response */ + /** Lookup276: xcm::v3::Response */ XcmV3Response: { _enum: { Null: "Null", @@ -2895,7 +2930,7 @@ export default { DispatchResult: "XcmV3MaybeErrorCode", }, }, - /** Lookup283: xcm::v3::traits::Error */ + /** Lookup279: xcm::v3::traits::Error */ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -2940,7 +2975,7 @@ export default { ExceedsStackLimit: "Null", }, }, - /** Lookup285: xcm::v3::PalletInfo */ + /** Lookup281: xcm::v3::PalletInfo */ XcmV3PalletInfo: { index: "Compact", name: "Bytes", @@ -2949,7 +2984,7 @@ export default { minor: "Compact", patch: "Compact", }, - /** Lookup288: xcm::v3::MaybeErrorCode */ + /** Lookup284: xcm::v3::MaybeErrorCode */ XcmV3MaybeErrorCode: { _enum: { Success: "Null", @@ -2957,20 +2992,20 @@ export default { TruncatedError: "Bytes", }, }, - /** Lookup291: xcm::v3::QueryResponseInfo */ + /** Lookup287: xcm::v3::QueryResponseInfo */ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", maxWeight: "SpWeightsWeightV2Weight", }, - /** Lookup292: xcm::v3::multiasset::MultiAssetFilter */ + /** Lookup288: xcm::v3::multiasset::MultiAssetFilter */ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", Wild: "XcmV3MultiassetWildMultiAsset", }, }, - /** Lookup293: xcm::v3::multiasset::WildMultiAsset */ + /** Lookup289: xcm::v3::multiasset::WildMultiAsset */ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", @@ -2986,20 +3021,20 @@ export default { }, }, }, - /** Lookup294: xcm::v3::multiasset::WildFungibility */ + /** Lookup290: xcm::v3::multiasset::WildFungibility */ XcmV3MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup295: xcm::v3::WeightLimit */ + /** Lookup291: xcm::v3::WeightLimit */ XcmV3WeightLimit: { _enum: { Unlimited: "Null", Limited: "SpWeightsWeightV2Weight", }, }, - /** Lookup296: staging_xcm::v4::Xcm */ + /** Lookup292: staging_xcm::v4::Xcm */ StagingXcmV4Xcm: "Vec", - /** Lookup298: staging_xcm::v4::Instruction */ + /** Lookup294: staging_xcm::v4::Instruction */ StagingXcmV4Instruction: { _enum: { WithdrawAsset: "StagingXcmV4AssetAssets", @@ -3139,23 +3174,23 @@ export default { }, }, }, - /** Lookup299: staging_xcm::v4::asset::Assets */ + /** Lookup295: staging_xcm::v4::asset::Assets */ StagingXcmV4AssetAssets: "Vec", - /** Lookup301: staging_xcm::v4::asset::Asset */ + /** Lookup297: staging_xcm::v4::asset::Asset */ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetFungibility", }, - /** Lookup302: staging_xcm::v4::asset::AssetId */ + /** Lookup298: staging_xcm::v4::asset::AssetId */ StagingXcmV4AssetAssetId: "StagingXcmV4Location", - /** Lookup303: staging_xcm::v4::asset::Fungibility */ + /** Lookup299: staging_xcm::v4::asset::Fungibility */ StagingXcmV4AssetFungibility: { _enum: { Fungible: "Compact", NonFungible: "StagingXcmV4AssetAssetInstance", }, }, - /** Lookup304: staging_xcm::v4::asset::AssetInstance */ + /** Lookup300: staging_xcm::v4::asset::AssetInstance */ StagingXcmV4AssetAssetInstance: { _enum: { Undefined: "Null", @@ -3166,7 +3201,7 @@ export default { Array32: "[u8;32]", }, }, - /** Lookup305: staging_xcm::v4::Response */ + /** Lookup301: staging_xcm::v4::Response */ StagingXcmV4Response: { _enum: { Null: "Null", @@ -3177,7 +3212,7 @@ export default { DispatchResult: "XcmV3MaybeErrorCode", }, }, - /** Lookup307: staging_xcm::v4::PalletInfo */ + /** Lookup303: staging_xcm::v4::PalletInfo */ StagingXcmV4PalletInfo: { index: "Compact", name: "Bytes", @@ -3186,20 +3221,20 @@ export default { minor: "Compact", patch: "Compact", }, - /** Lookup311: staging_xcm::v4::QueryResponseInfo */ + /** Lookup307: staging_xcm::v4::QueryResponseInfo */ StagingXcmV4QueryResponseInfo: { destination: "StagingXcmV4Location", queryId: "Compact", maxWeight: "SpWeightsWeightV2Weight", }, - /** Lookup312: staging_xcm::v4::asset::AssetFilter */ + /** Lookup308: staging_xcm::v4::asset::AssetFilter */ StagingXcmV4AssetAssetFilter: { _enum: { Definite: "StagingXcmV4AssetAssets", Wild: "StagingXcmV4AssetWildAsset", }, }, - /** Lookup313: staging_xcm::v4::asset::WildAsset */ + /** Lookup309: staging_xcm::v4::asset::WildAsset */ StagingXcmV4AssetWildAsset: { _enum: { All: "Null", @@ -3215,11 +3250,11 @@ export default { }, }, }, - /** Lookup314: staging_xcm::v4::asset::WildFungibility */ + /** Lookup310: staging_xcm::v4::asset::WildFungibility */ StagingXcmV4AssetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup315: xcm::VersionedAssets */ + /** Lookup311: xcm::VersionedAssets */ XcmVersionedAssets: { _enum: { __Unused0: "Null", @@ -3229,7 +3264,26 @@ export default { V4: "StagingXcmV4AssetAssets", }, }, - /** Lookup327: pallet_assets::pallet::Call */ + /** Lookup323: staging_xcm_executor::traits::asset_transfer::TransferType */ + StagingXcmExecutorAssetTransferTransferType: { + _enum: { + Teleport: "Null", + LocalReserve: "Null", + DestinationReserve: "Null", + RemoteReserve: "XcmVersionedLocation", + }, + }, + /** Lookup324: xcm::VersionedAssetId */ + XcmVersionedAssetId: { + _enum: { + __Unused0: "Null", + __Unused1: "Null", + __Unused2: "Null", + V3: "XcmV3MultiassetAssetId", + V4: "StagingXcmV4AssetAssetId", + }, + }, + /** Lookup325: pallet_assets::pallet::Call */ PalletAssetsCall: { _enum: { create: { @@ -3379,7 +3433,7 @@ export default { }, }, }, - /** Lookup328: pallet_asset_manager::pallet::Call */ + /** Lookup326: pallet_asset_manager::pallet::Call */ PalletAssetManagerCall: { _enum: { register_foreign_asset: { @@ -3413,20 +3467,20 @@ export default { }, }, }, - /** Lookup329: moonriver_runtime::xcm_config::AssetType */ + /** Lookup327: moonriver_runtime::xcm_config::AssetType */ MoonriverRuntimeXcmConfigAssetType: { _enum: { Xcm: "StagingXcmV3MultiLocation", }, }, - /** Lookup330: moonriver_runtime::asset_config::AssetRegistrarMetadata */ + /** Lookup328: moonriver_runtime::asset_config::AssetRegistrarMetadata */ MoonriverRuntimeAssetConfigAssetRegistrarMetadata: { name: "Bytes", symbol: "Bytes", decimals: "u8", isFrozen: "bool", }, - /** Lookup331: orml_xtokens::module::Call */ + /** Lookup329: orml_xtokens::module::Call */ OrmlXtokensModuleCall: { _enum: { transfer: { @@ -3467,7 +3521,7 @@ export default { }, }, }, - /** Lookup332: moonriver_runtime::xcm_config::CurrencyId */ + /** Lookup330: moonriver_runtime::xcm_config::CurrencyId */ MoonriverRuntimeXcmConfigCurrencyId: { _enum: { SelfReserve: "Null", @@ -3477,7 +3531,7 @@ export default { }, }, }, - /** Lookup333: xcm::VersionedAsset */ + /** Lookup331: xcm::VersionedAsset */ XcmVersionedAsset: { _enum: { __Unused0: "Null", @@ -3487,7 +3541,7 @@ export default { V4: "StagingXcmV4Asset", }, }, - /** Lookup336: pallet_xcm_transactor::pallet::Call */ + /** Lookup334: pallet_xcm_transactor::pallet::Call */ PalletXcmTransactorCall: { _enum: { register: { @@ -3544,28 +3598,28 @@ export default { }, }, }, - /** Lookup337: moonriver_runtime::xcm_config::Transactors */ + /** Lookup335: moonriver_runtime::xcm_config::Transactors */ MoonriverRuntimeXcmConfigTransactors: { _enum: ["Relay"], }, - /** Lookup338: pallet_xcm_transactor::pallet::CurrencyPayment */ + /** Lookup336: pallet_xcm_transactor::pallet::CurrencyPayment */ PalletXcmTransactorCurrencyPayment: { currency: "PalletXcmTransactorCurrency", feeAmount: "Option", }, - /** Lookup339: pallet_xcm_transactor::pallet::Currency */ + /** Lookup337: pallet_xcm_transactor::pallet::Currency */ PalletXcmTransactorCurrency: { _enum: { AsCurrencyId: "MoonriverRuntimeXcmConfigCurrencyId", AsMultiLocation: "XcmVersionedLocation", }, }, - /** Lookup341: pallet_xcm_transactor::pallet::TransactWeights */ + /** Lookup339: pallet_xcm_transactor::pallet::TransactWeights */ PalletXcmTransactorTransactWeights: { transactRequiredWeightAtMost: "SpWeightsWeightV2Weight", overallWeight: "Option", }, - /** Lookup344: pallet_xcm_transactor::pallet::HrmpOperation */ + /** Lookup342: pallet_xcm_transactor::pallet::HrmpOperation */ PalletXcmTransactorHrmpOperation: { _enum: { InitOpen: "PalletXcmTransactorHrmpInitParams", @@ -3579,18 +3633,18 @@ export default { }, }, }, - /** Lookup345: pallet_xcm_transactor::pallet::HrmpInitParams */ + /** Lookup343: pallet_xcm_transactor::pallet::HrmpInitParams */ PalletXcmTransactorHrmpInitParams: { paraId: "u32", proposedMaxCapacity: "u32", proposedMaxMessageSize: "u32", }, - /** Lookup346: polkadot_parachain_primitives::primitives::HrmpChannelId */ + /** Lookup344: polkadot_parachain_primitives::primitives::HrmpChannelId */ PolkadotParachainPrimitivesPrimitivesHrmpChannelId: { sender: "u32", recipient: "u32", }, - /** Lookup347: pallet_ethereum_xcm::pallet::Call */ + /** Lookup345: pallet_ethereum_xcm::pallet::Call */ PalletEthereumXcmCall: { _enum: { transact: { @@ -3604,14 +3658,14 @@ export default { resume_ethereum_xcm_execution: "Null", }, }, - /** Lookup348: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ + /** Lookup346: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ XcmPrimitivesEthereumXcmEthereumXcmTransaction: { _enum: { V1: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV1", V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2", }, }, - /** Lookup349: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ + /** Lookup347: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ XcmPrimitivesEthereumXcmEthereumXcmTransactionV1: { gasLimit: "U256", feePayment: "XcmPrimitivesEthereumXcmEthereumXcmFee", @@ -3620,19 +3674,19 @@ export default { input: "Bytes", accessList: "Option)>>", }, - /** Lookup350: xcm_primitives::ethereum_xcm::EthereumXcmFee */ + /** Lookup348: xcm_primitives::ethereum_xcm::EthereumXcmFee */ XcmPrimitivesEthereumXcmEthereumXcmFee: { _enum: { Manual: "XcmPrimitivesEthereumXcmManualEthereumXcmFee", Auto: "Null", }, }, - /** Lookup351: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ + /** Lookup349: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ XcmPrimitivesEthereumXcmManualEthereumXcmFee: { gasPrice: "Option", maxFeePerGas: "Option", }, - /** Lookup354: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ + /** Lookup352: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ XcmPrimitivesEthereumXcmEthereumXcmTransactionV2: { gasLimit: "U256", action: "EthereumTransactionTransactionAction", @@ -3640,7 +3694,7 @@ export default { input: "Bytes", accessList: "Option)>>", }, - /** Lookup355: pallet_message_queue::pallet::Call */ + /** Lookup353: pallet_message_queue::pallet::Call */ PalletMessageQueueCall: { _enum: { reap_page: { @@ -3655,7 +3709,7 @@ export default { }, }, }, - /** Lookup356: cumulus_primitives_core::AggregateMessageOrigin */ + /** Lookup354: cumulus_primitives_core::AggregateMessageOrigin */ CumulusPrimitivesCoreAggregateMessageOrigin: { _enum: { Here: "Null", @@ -3663,19 +3717,19 @@ export default { Sibling: "u32", }, }, - /** Lookup357: pallet_randomness::pallet::Call */ + /** Lookup355: pallet_randomness::pallet::Call */ PalletRandomnessCall: { _enum: ["set_babe_randomness_results"], }, - /** Lookup358: sp_runtime::traits::BlakeTwo256 */ + /** Lookup356: sp_runtime::traits::BlakeTwo256 */ SpRuntimeBlakeTwo256: "Null", - /** Lookup360: pallet_conviction_voting::types::Tally */ + /** Lookup358: pallet_conviction_voting::types::Tally */ PalletConvictionVotingTally: { ayes: "u128", nays: "u128", support: "u128", }, - /** Lookup361: pallet_whitelist::pallet::Event */ + /** Lookup359: pallet_whitelist::pallet::Event */ PalletWhitelistEvent: { _enum: { CallWhitelisted: { @@ -3690,17 +3744,17 @@ export default { }, }, }, - /** Lookup363: frame_support::dispatch::PostDispatchInfo */ + /** Lookup361: frame_support::dispatch::PostDispatchInfo */ FrameSupportDispatchPostDispatchInfo: { actualWeight: "Option", paysFee: "FrameSupportDispatchPays", }, - /** Lookup364: sp_runtime::DispatchErrorWithPostInfo */ + /** Lookup362: sp_runtime::DispatchErrorWithPostInfo */ SpRuntimeDispatchErrorWithPostInfo: { postInfo: "FrameSupportDispatchPostDispatchInfo", error: "SpRuntimeDispatchError", }, - /** Lookup365: pallet_collective::pallet::Event */ + /** Lookup363: pallet_collective::pallet::Event */ PalletCollectiveEvent: { _enum: { Proposed: { @@ -3737,7 +3791,7 @@ export default { }, }, }, - /** Lookup367: pallet_treasury::pallet::Event */ + /** Lookup365: pallet_treasury::pallet::Event */ PalletTreasuryEvent: { _enum: { Proposed: { @@ -3797,7 +3851,7 @@ export default { }, }, }, - /** Lookup368: pallet_crowdloan_rewards::pallet::Event */ + /** Lookup366: pallet_crowdloan_rewards::pallet::Event */ PalletCrowdloanRewardsEvent: { _enum: { InitialPaymentMade: "(AccountId20,u128)", @@ -3808,7 +3862,7 @@ export default { InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)", }, }, - /** Lookup369: cumulus_pallet_xcmp_queue::pallet::Event */ + /** Lookup367: cumulus_pallet_xcmp_queue::pallet::Event */ CumulusPalletXcmpQueueEvent: { _enum: { XcmpMessageSent: { @@ -3816,7 +3870,7 @@ export default { }, }, }, - /** Lookup370: cumulus_pallet_xcm::pallet::Event */ + /** Lookup368: cumulus_pallet_xcm::pallet::Event */ CumulusPalletXcmEvent: { _enum: { InvalidFormat: "[u8;32]", @@ -3824,7 +3878,7 @@ export default { ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)", }, }, - /** Lookup371: staging_xcm::v4::traits::Outcome */ + /** Lookup369: staging_xcm::v4::traits::Outcome */ StagingXcmV4TraitsOutcome: { _enum: { Complete: { @@ -3839,7 +3893,7 @@ export default { }, }, }, - /** Lookup372: cumulus_pallet_dmp_queue::pallet::Event */ + /** Lookup370: cumulus_pallet_dmp_queue::pallet::Event */ CumulusPalletDmpQueueEvent: { _enum: { StartedExport: "Null", @@ -3867,7 +3921,7 @@ export default { }, }, }, - /** Lookup373: pallet_xcm::pallet::Event */ + /** Lookup371: pallet_xcm::pallet::Event */ PalletXcmEvent: { _enum: { Attempted: { @@ -3990,7 +4044,7 @@ export default { }, }, }, - /** Lookup374: pallet_assets::pallet::Event */ + /** Lookup372: pallet_assets::pallet::Event */ PalletAssetsEvent: { _enum: { Created: { @@ -4104,7 +4158,7 @@ export default { }, }, }, - /** Lookup375: pallet_asset_manager::pallet::Event */ + /** Lookup373: pallet_asset_manager::pallet::Event */ PalletAssetManagerEvent: { _enum: { ForeignAssetRegistered: { @@ -4136,7 +4190,7 @@ export default { }, }, }, - /** Lookup376: orml_xtokens::module::Event */ + /** Lookup374: orml_xtokens::module::Event */ OrmlXtokensModuleEvent: { _enum: { TransferredAssets: { @@ -4147,7 +4201,7 @@ export default { }, }, }, - /** Lookup377: pallet_xcm_transactor::pallet::Event */ + /** Lookup375: pallet_xcm_transactor::pallet::Event */ PalletXcmTransactorEvent: { _enum: { TransactedDerivative: { @@ -4195,13 +4249,13 @@ export default { }, }, }, - /** Lookup378: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ + /** Lookup376: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ PalletXcmTransactorRemoteTransactInfoWithMaxWeight: { transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", transactExtraWeightSigned: "Option", }, - /** Lookup379: pallet_message_queue::pallet::Event */ + /** Lookup377: pallet_message_queue::pallet::Event */ PalletMessageQueueEvent: { _enum: { ProcessingFailed: { @@ -4227,7 +4281,7 @@ export default { }, }, }, - /** Lookup380: frame_support::traits::messages::ProcessMessageError */ + /** Lookup378: frame_support::traits::messages::ProcessMessageError */ FrameSupportMessagesProcessMessageError: { _enum: { BadFormat: "Null", @@ -4237,7 +4291,7 @@ export default { Yield: "Null", }, }, - /** Lookup381: pallet_randomness::pallet::Event */ + /** Lookup379: pallet_randomness::pallet::Event */ PalletRandomnessEvent: { _enum: { RandomnessRequestedBabeEpoch: { @@ -4272,7 +4326,7 @@ export default { }, }, }, - /** Lookup382: frame_system::Phase */ + /** Lookup380: frame_system::Phase */ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", @@ -4280,51 +4334,51 @@ export default { Initialization: "Null", }, }, - /** Lookup384: frame_system::LastRuntimeUpgradeInfo */ + /** Lookup382: frame_system::LastRuntimeUpgradeInfo */ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", specName: "Text", }, - /** Lookup385: frame_system::CodeUpgradeAuthorization */ + /** Lookup383: frame_system::CodeUpgradeAuthorization */ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", checkVersion: "bool", }, - /** Lookup386: frame_system::limits::BlockWeights */ + /** Lookup384: frame_system::limits::BlockWeights */ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", }, - /** Lookup387: frame_support::dispatch::PerDispatchClass */ + /** Lookup385: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", mandatory: "FrameSystemLimitsWeightsPerClass", }, - /** Lookup388: frame_system::limits::WeightsPerClass */ + /** Lookup386: frame_system::limits::WeightsPerClass */ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", reserved: "Option", }, - /** Lookup389: frame_system::limits::BlockLength */ + /** Lookup387: frame_system::limits::BlockLength */ FrameSystemLimitsBlockLength: { max: "FrameSupportDispatchPerDispatchClassU32", }, - /** Lookup390: frame_support::dispatch::PerDispatchClass */ + /** Lookup388: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", mandatory: "u32", }, - /** Lookup391: sp_weights::RuntimeDbWeight */ + /** Lookup389: sp_weights::RuntimeDbWeight */ SpWeightsRuntimeDbWeight: { read: "u64", write: "u64", }, - /** Lookup392: sp_version::RuntimeVersion */ + /** Lookup390: sp_version::RuntimeVersion */ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -4335,7 +4389,7 @@ export default { transactionVersion: "u32", stateVersion: "u8", }, - /** Lookup396: frame_system::pallet::Error */ + /** Lookup394: frame_system::pallet::Error */ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -4344,56 +4398,57 @@ export default { "NonDefaultComposite", "NonZeroRefCount", "CallFiltered", + "MultiBlockMigrationsOngoing", "NothingAuthorized", "Unauthorized", ], }, - /** Lookup398: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ + /** Lookup396: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option", }, - /** Lookup399: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ + /** Lookup397: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", umpTotalBytes: "u32", hrmpOutgoing: "BTreeMap", }, - /** Lookup401: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ + /** Lookup399: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", totalBytes: "u32", }, - /** Lookup405: polkadot_primitives::v6::UpgradeGoAhead */ - PolkadotPrimitivesV6UpgradeGoAhead: { + /** Lookup403: polkadot_primitives::v7::UpgradeGoAhead */ + PolkadotPrimitivesV7UpgradeGoAhead: { _enum: ["Abort", "GoAhead"], }, - /** Lookup406: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ + /** Lookup404: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option", }, - /** Lookup408: polkadot_primitives::v6::UpgradeRestriction */ - PolkadotPrimitivesV6UpgradeRestriction: { + /** Lookup406: polkadot_primitives::v7::UpgradeRestriction */ + PolkadotPrimitivesV7UpgradeRestriction: { _enum: ["Present"], }, - /** Lookup409: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ + /** Lookup407: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", - ingressChannels: "Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>", + ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", }, - /** Lookup410: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ + /** Lookup408: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", remainingSize: "u32", }, - /** Lookup413: polkadot_primitives::v6::AbridgedHrmpChannel */ - PolkadotPrimitivesV6AbridgedHrmpChannel: { + /** Lookup411: polkadot_primitives::v7::AbridgedHrmpChannel */ + PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", @@ -4401,8 +4456,8 @@ export default { totalSize: "u32", mqcHead: "Option", }, - /** Lookup414: polkadot_primitives::v6::AbridgedHostConfiguration */ - PolkadotPrimitivesV6AbridgedHostConfiguration: { + /** Lookup412: polkadot_primitives::v7::AbridgedHostConfiguration */ + PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", maxUpwardQueueCount: "u32", @@ -4412,19 +4467,19 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV6AsyncBackingAsyncBackingParams", + asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams", }, - /** Lookup415: polkadot_primitives::v6::async_backing::AsyncBackingParams */ - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams: { + /** Lookup413: polkadot_primitives::v7::async_backing::AsyncBackingParams */ + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", allowedAncestryLen: "u32", }, - /** Lookup421: polkadot_core_primitives::OutboundHrmpMessage */ + /** Lookup419: polkadot_core_primitives::OutboundHrmpMessage */ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", data: "Bytes", }, - /** Lookup423: cumulus_pallet_parachain_system::pallet::Error */ + /** Lookup421: cumulus_pallet_parachain_system::pallet::Error */ CumulusPalletParachainSystemError: { _enum: [ "OverlappingUpgrades", @@ -4437,22 +4492,22 @@ export default { "Unauthorized", ], }, - /** Lookup425: pallet_balances::types::BalanceLock */ + /** Lookup423: pallet_balances::types::BalanceLock */ PalletBalancesBalanceLock: { id: "[u8;8]", amount: "u128", reasons: "PalletBalancesReasons", }, - /** Lookup426: pallet_balances::types::Reasons */ + /** Lookup424: pallet_balances::types::Reasons */ PalletBalancesReasons: { _enum: ["Fee", "Misc", "All"], }, - /** Lookup429: pallet_balances::types::ReserveData */ + /** Lookup427: pallet_balances::types::ReserveData */ PalletBalancesReserveData: { id: "[u8;4]", amount: "u128", }, - /** Lookup433: moonriver_runtime::RuntimeHoldReason */ + /** Lookup431: moonriver_runtime::RuntimeHoldReason */ MoonriverRuntimeRuntimeHoldReason: { _enum: { __Unused0: "Null", @@ -4520,16 +4575,16 @@ export default { Preimage: "PalletPreimageHoldReason", }, }, - /** Lookup434: pallet_preimage::pallet::HoldReason */ + /** Lookup432: pallet_preimage::pallet::HoldReason */ PalletPreimageHoldReason: { _enum: ["Preimage"], }, - /** Lookup437: pallet_balances::types::IdAmount */ + /** Lookup435: pallet_balances::types::IdAmount */ PalletBalancesIdAmount: { id: "Null", amount: "u128", }, - /** Lookup439: pallet_balances::pallet::Error */ + /** Lookup437: pallet_balances::pallet::Error */ PalletBalancesError: { _enum: [ "VestingBalance", @@ -4546,26 +4601,26 @@ export default { "DeltaZero", ], }, - /** Lookup440: pallet_transaction_payment::Releases */ + /** Lookup438: pallet_transaction_payment::Releases */ PalletTransactionPaymentReleases: { _enum: ["V1Ancient", "V2"], }, /** - * Lookup441: + * Lookup439: * pallet_parachain_staking::types::ParachainBondConfig[account::AccountId20](account::AccountId20) */ PalletParachainStakingParachainBondConfig: { account: "AccountId20", percent: "Percent", }, - /** Lookup442: pallet_parachain_staking::types::RoundInfo */ + /** Lookup440: pallet_parachain_staking::types::RoundInfo */ PalletParachainStakingRoundInfo: { current: "u32", first: "u32", length: "u32", firstSlot: "u64", }, - /** Lookup443: pallet_parachain_staking::types::Delegator */ + /** Lookup441: pallet_parachain_staking::types::Delegator */ PalletParachainStakingDelegator: { id: "AccountId20", delegations: "PalletParachainStakingSetOrderedSet", @@ -4574,24 +4629,24 @@ export default { status: "PalletParachainStakingDelegatorStatus", }, /** - * Lookup444: + * Lookup442: * pallet_parachain_staking::set::OrderedSet> */ PalletParachainStakingSetOrderedSet: "Vec", - /** Lookup445: pallet_parachain_staking::types::Bond */ + /** Lookup443: pallet_parachain_staking::types::Bond */ PalletParachainStakingBond: { owner: "AccountId20", amount: "u128", }, - /** Lookup447: pallet_parachain_staking::types::DelegatorStatus */ + /** Lookup445: pallet_parachain_staking::types::DelegatorStatus */ PalletParachainStakingDelegatorStatus: { _enum: { Active: "Null", Leaving: "u32", }, }, - /** Lookup448: pallet_parachain_staking::types::CandidateMetadata */ + /** Lookup446: pallet_parachain_staking::types::CandidateMetadata */ PalletParachainStakingCandidateMetadata: { bond: "u128", delegationCount: "u32", @@ -4604,16 +4659,16 @@ export default { request: "Option", status: "PalletParachainStakingCollatorStatus", }, - /** Lookup449: pallet_parachain_staking::types::CapacityStatus */ + /** Lookup447: pallet_parachain_staking::types::CapacityStatus */ PalletParachainStakingCapacityStatus: { _enum: ["Full", "Empty", "Partial"], }, - /** Lookup451: pallet_parachain_staking::types::CandidateBondLessRequest */ + /** Lookup449: pallet_parachain_staking::types::CandidateBondLessRequest */ PalletParachainStakingCandidateBondLessRequest: { amount: "u128", whenExecutable: "u32", }, - /** Lookup452: pallet_parachain_staking::types::CollatorStatus */ + /** Lookup450: pallet_parachain_staking::types::CollatorStatus */ PalletParachainStakingCollatorStatus: { _enum: { Active: "Null", @@ -4621,50 +4676,50 @@ export default { Leaving: "u32", }, }, - /** Lookup454: pallet_parachain_staking::delegation_requests::ScheduledRequest */ + /** Lookup452: pallet_parachain_staking::delegation_requests::ScheduledRequest */ PalletParachainStakingDelegationRequestsScheduledRequest: { delegator: "AccountId20", whenExecutable: "u32", action: "PalletParachainStakingDelegationRequestsDelegationAction", }, /** - * Lookup457: + * Lookup455: * pallet_parachain_staking::auto_compound::AutoCompoundConfig[account::AccountId20](account::AccountId20) */ PalletParachainStakingAutoCompoundAutoCompoundConfig: { delegator: "AccountId20", value: "Percent", }, - /** Lookup459: pallet_parachain_staking::types::Delegations */ + /** Lookup457: pallet_parachain_staking::types::Delegations */ PalletParachainStakingDelegations: { delegations: "Vec", total: "u128", }, /** - * Lookup461: + * Lookup459: * pallet_parachain_staking::set::BoundedOrderedSet, S> */ PalletParachainStakingSetBoundedOrderedSet: "Vec", - /** Lookup464: pallet_parachain_staking::types::CollatorSnapshot */ + /** Lookup462: pallet_parachain_staking::types::CollatorSnapshot */ PalletParachainStakingCollatorSnapshot: { bond: "u128", delegations: "Vec", total: "u128", }, - /** Lookup466: pallet_parachain_staking::types::BondWithAutoCompound */ + /** Lookup464: pallet_parachain_staking::types::BondWithAutoCompound */ PalletParachainStakingBondWithAutoCompound: { owner: "AccountId20", amount: "u128", autoCompound: "Percent", }, - /** Lookup467: pallet_parachain_staking::types::DelayedPayout */ + /** Lookup465: pallet_parachain_staking::types::DelayedPayout */ PalletParachainStakingDelayedPayout: { roundIssuance: "u128", totalStakingReward: "u128", collatorCommission: "Perbill", }, - /** Lookup468: pallet_parachain_staking::inflation::InflationInfo */ + /** Lookup466: pallet_parachain_staking::inflation::InflationInfo */ PalletParachainStakingInflationInflationInfo: { expect: { min: "u128", @@ -4682,7 +4737,7 @@ export default { max: "Perbill", }, }, - /** Lookup469: pallet_parachain_staking::pallet::Error */ + /** Lookup467: pallet_parachain_staking::pallet::Error */ PalletParachainStakingError: { _enum: [ "DelegatorDNE", @@ -4742,11 +4797,11 @@ export default { "CurrentRoundTooLow", ], }, - /** Lookup470: pallet_author_inherent::pallet::Error */ + /** Lookup468: pallet_author_inherent::pallet::Error */ PalletAuthorInherentError: { _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"], }, - /** Lookup471: pallet_author_mapping::pallet::RegistrationInfo */ + /** Lookup469: pallet_author_mapping::pallet::RegistrationInfo */ PalletAuthorMappingRegistrationInfo: { _alias: { keys_: "keys", @@ -4755,7 +4810,7 @@ export default { deposit: "u128", keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", }, - /** Lookup472: pallet_author_mapping::pallet::Error */ + /** Lookup470: pallet_author_mapping::pallet::Error */ PalletAuthorMappingError: { _enum: [ "AssociationNotFound", @@ -4768,18 +4823,18 @@ export default { "DecodeKeysFailed", ], }, - /** Lookup473: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ + /** Lookup471: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ PalletMoonbeamOrbitersCollatorPoolInfo: { orbiters: "Vec", maybeCurrentOrbiter: "Option", nextOrbiter: "u32", }, - /** Lookup475: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ + /** Lookup473: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ PalletMoonbeamOrbitersCurrentOrbiter: { accountId: "AccountId20", removed: "bool", }, - /** Lookup476: pallet_moonbeam_orbiters::pallet::Error */ + /** Lookup474: pallet_moonbeam_orbiters::pallet::Error */ PalletMoonbeamOrbitersError: { _enum: [ "CollatorAlreadyAdded", @@ -4793,23 +4848,23 @@ export default { "OrbiterStillInAPool", ], }, - /** Lookup479: pallet_utility::pallet::Error */ + /** Lookup477: pallet_utility::pallet::Error */ PalletUtilityError: { _enum: ["TooManyCalls"], }, - /** Lookup482: pallet_proxy::ProxyDefinition */ + /** Lookup480: pallet_proxy::ProxyDefinition */ PalletProxyProxyDefinition: { delegate: "AccountId20", proxyType: "MoonriverRuntimeProxyType", delay: "u32", }, - /** Lookup486: pallet_proxy::Announcement */ + /** Lookup484: pallet_proxy::Announcement */ PalletProxyAnnouncement: { real: "AccountId20", callHash: "H256", height: "u32", }, - /** Lookup488: pallet_proxy::pallet::Error */ + /** Lookup486: pallet_proxy::pallet::Error */ PalletProxyError: { _enum: [ "TooMany", @@ -4822,12 +4877,12 @@ export default { "NoSelfProxy", ], }, - /** Lookup489: pallet_maintenance_mode::pallet::Error */ + /** Lookup487: pallet_maintenance_mode::pallet::Error */ PalletMaintenanceModeError: { _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"], }, /** - * Lookup491: pallet_identity::types::Registration> */ PalletIdentityRegistration: { @@ -4835,21 +4890,21 @@ export default { deposit: "u128", info: "PalletIdentityLegacyIdentityInfo", }, - /** Lookup500: pallet_identity::types::RegistrarInfo */ + /** Lookup498: pallet_identity::types::RegistrarInfo */ PalletIdentityRegistrarInfo: { account: "AccountId20", fee: "u128", fields: "u64", }, /** - * Lookup502: + * Lookup500: * pallet_identity::types::AuthorityProperties> */ PalletIdentityAuthorityProperties: { suffix: "Bytes", allocation: "u32", }, - /** Lookup505: pallet_identity::pallet::Error */ + /** Lookup503: pallet_identity::pallet::Error */ PalletIdentityError: { _enum: [ "TooManySubAccounts", @@ -4880,18 +4935,18 @@ export default { "NotExpired", ], }, - /** Lookup506: pallet_migrations::pallet::Error */ + /** Lookup504: pallet_migrations::pallet::Error */ PalletMigrationsError: { _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"], }, - /** Lookup508: pallet_multisig::Multisig */ + /** Lookup506: pallet_multisig::Multisig */ PalletMultisigMultisig: { when: "PalletMultisigTimepoint", deposit: "u128", depositor: "AccountId20", approvals: "Vec", }, - /** Lookup510: pallet_multisig::pallet::Error */ + /** Lookup508: pallet_multisig::pallet::Error */ PalletMultisigError: { _enum: [ "MinimumThreshold", @@ -4910,11 +4965,11 @@ export default { "AlreadyStored", ], }, - /** Lookup511: pallet_moonbeam_lazy_migrations::pallet::Error */ + /** Lookup509: pallet_moonbeam_lazy_migrations::pallet::Error */ PalletMoonbeamLazyMigrationsError: { _enum: ["LimitCannotBeZero", "AddressesLengthCannotBeZero", "ContractNotCorrupted"], }, - /** Lookup512: pallet_evm::CodeMetadata */ + /** Lookup510: pallet_evm::CodeMetadata */ PalletEvmCodeMetadata: { _alias: { size_: "size", @@ -4923,7 +4978,7 @@ export default { size_: "u64", hash_: "H256", }, - /** Lookup514: pallet_evm::pallet::Error */ + /** Lookup512: pallet_evm::pallet::Error */ PalletEvmError: { _enum: [ "BalanceLow", @@ -4938,11 +4993,10 @@ export default { "InvalidSignature", "Reentrancy", "TransactionMustComeFromEOA", - "InvalidTransaction", "Undefined", ], }, - /** Lookup517: fp_rpc::TransactionStatus */ + /** Lookup515: fp_rpc::TransactionStatus */ FpRpcTransactionStatus: { transactionHash: "H256", transactionIndex: "u32", @@ -4952,9 +5006,9 @@ export default { logs: "Vec", logsBloom: "EthbloomBloom", }, - /** Lookup520: ethbloom::Bloom */ + /** Lookup518: ethbloom::Bloom */ EthbloomBloom: "[u8;256]", - /** Lookup522: ethereum::receipt::ReceiptV3 */ + /** Lookup520: ethereum::receipt::ReceiptV3 */ EthereumReceiptReceiptV3: { _enum: { Legacy: "EthereumReceiptEip658ReceiptData", @@ -4962,7 +5016,7 @@ export default { EIP1559: "EthereumReceiptEip658ReceiptData", }, }, - /** Lookup523: ethereum::receipt::EIP658ReceiptData */ + /** Lookup521: ethereum::receipt::EIP658ReceiptData */ EthereumReceiptEip658ReceiptData: { statusCode: "u8", usedGas: "U256", @@ -4970,7 +5024,7 @@ export default { logs: "Vec", }, /** - * Lookup524: + * Lookup522: * ethereum::block::Block[ethereum::transaction::TransactionV2](ethereum::transaction::TransactionV2) */ EthereumBlock: { @@ -4978,7 +5032,7 @@ export default { transactions: "Vec", ommers: "Vec", }, - /** Lookup525: ethereum::header::Header */ + /** Lookup523: ethereum::header::Header */ EthereumHeader: { parentHash: "H256", ommersHash: "H256", @@ -4996,14 +5050,14 @@ export default { mixHash: "H256", nonce: "EthereumTypesHashH64", }, - /** Lookup526: ethereum_types::hash::H64 */ + /** Lookup524: ethereum_types::hash::H64 */ EthereumTypesHashH64: "[u8;8]", - /** Lookup531: pallet_ethereum::pallet::Error */ + /** Lookup529: pallet_ethereum::pallet::Error */ PalletEthereumError: { _enum: ["InvalidSignature", "PreLogExists"], }, /** - * Lookup534: pallet_scheduler::Scheduled, BlockNumber, moonriver_runtime::OriginCaller, account::AccountId20> */ @@ -5014,7 +5068,13 @@ export default { maybePeriodic: "Option<(u32,u32)>", origin: "MoonriverRuntimeOriginCaller", }, - /** Lookup536: pallet_scheduler::pallet::Error */ + /** Lookup534: pallet_scheduler::RetryConfig */ + PalletSchedulerRetryConfig: { + totalRetries: "u8", + remaining: "u8", + period: "u32", + }, + /** Lookup535: pallet_scheduler::pallet::Error */ PalletSchedulerError: { _enum: [ "FailedToSchedule", @@ -5024,7 +5084,7 @@ export default { "Named", ], }, - /** Lookup537: pallet_preimage::OldRequestStatus */ + /** Lookup536: pallet_preimage::OldRequestStatus */ PalletPreimageOldRequestStatus: { _enum: { Unrequested: { @@ -5039,7 +5099,7 @@ export default { }, }, /** - * Lookup540: pallet_preimage::RequestStatus> */ PalletPreimageRequestStatus: { @@ -5055,7 +5115,7 @@ export default { }, }, }, - /** Lookup546: pallet_preimage::pallet::Error */ + /** Lookup545: pallet_preimage::pallet::Error */ PalletPreimageError: { _enum: [ "TooBig", @@ -5069,7 +5129,7 @@ export default { ], }, /** - * Lookup548: pallet_conviction_voting::vote::Voting */ PalletConvictionVotingVoteVoting: { @@ -5078,20 +5138,20 @@ export default { Delegating: "PalletConvictionVotingVoteDelegating", }, }, - /** Lookup549: pallet_conviction_voting::vote::Casting */ + /** Lookup548: pallet_conviction_voting::vote::Casting */ PalletConvictionVotingVoteCasting: { votes: "Vec<(u32,PalletConvictionVotingVoteAccountVote)>", delegations: "PalletConvictionVotingDelegations", prior: "PalletConvictionVotingVotePriorLock", }, - /** Lookup553: pallet_conviction_voting::types::Delegations */ + /** Lookup552: pallet_conviction_voting::types::Delegations */ PalletConvictionVotingDelegations: { votes: "u128", capital: "u128", }, - /** Lookup554: pallet_conviction_voting::vote::PriorLock */ + /** Lookup553: pallet_conviction_voting::vote::PriorLock */ PalletConvictionVotingVotePriorLock: "(u32,u128)", - /** Lookup555: pallet_conviction_voting::vote::Delegating */ + /** Lookup554: pallet_conviction_voting::vote::Delegating */ PalletConvictionVotingVoteDelegating: { balance: "u128", target: "AccountId20", @@ -5099,7 +5159,7 @@ export default { delegations: "PalletConvictionVotingDelegations", prior: "PalletConvictionVotingVotePriorLock", }, - /** Lookup559: pallet_conviction_voting::pallet::Error */ + /** Lookup558: pallet_conviction_voting::pallet::Error */ PalletConvictionVotingError: { _enum: [ "NotOngoing", @@ -5117,7 +5177,7 @@ export default { ], }, /** - * Lookup560: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> @@ -5133,7 +5193,7 @@ export default { }, }, /** - * Lookup561: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> @@ -5151,17 +5211,17 @@ export default { inQueue: "bool", alarm: "Option<(u32,(u32,u32))>", }, - /** Lookup562: pallet_referenda::types::Deposit */ + /** Lookup561: pallet_referenda::types::Deposit */ PalletReferendaDeposit: { who: "AccountId20", amount: "u128", }, - /** Lookup565: pallet_referenda::types::DecidingStatus */ + /** Lookup564: pallet_referenda::types::DecidingStatus */ PalletReferendaDecidingStatus: { since: "u32", confirming: "Option", }, - /** Lookup573: pallet_referenda::types::TrackInfo */ + /** Lookup572: pallet_referenda::types::TrackInfo */ PalletReferendaTrackInfo: { name: "Text", maxDeciding: "u32", @@ -5173,7 +5233,7 @@ export default { minApproval: "PalletReferendaCurve", minSupport: "PalletReferendaCurve", }, - /** Lookup574: pallet_referenda::types::Curve */ + /** Lookup573: pallet_referenda::types::Curve */ PalletReferendaCurve: { _enum: { LinearDecreasing: { @@ -5194,7 +5254,7 @@ export default { }, }, }, - /** Lookup577: pallet_referenda::pallet::Error */ + /** Lookup576: pallet_referenda::pallet::Error */ PalletReferendaError: { _enum: [ "NotOngoing", @@ -5210,9 +5270,10 @@ export default { "NoDeposit", "BadStatus", "PreimageNotExist", + "PreimageStoredWithDifferentLength", ], }, - /** Lookup578: pallet_whitelist::pallet::Error */ + /** Lookup577: pallet_whitelist::pallet::Error */ PalletWhitelistError: { _enum: [ "UnavailablePreImage", @@ -5222,7 +5283,7 @@ export default { "CallAlreadyWhitelisted", ], }, - /** Lookup580: pallet_collective::Votes */ + /** Lookup579: pallet_collective::Votes */ PalletCollectiveVotes: { index: "u32", threshold: "u32", @@ -5230,7 +5291,7 @@ export default { nays: "Vec", end: "u32", }, - /** Lookup581: pallet_collective::pallet::Error */ + /** Lookup580: pallet_collective::pallet::Error */ PalletCollectiveError: { _enum: [ "NotMember", @@ -5246,7 +5307,7 @@ export default { "PrimeAccountNotMember", ], }, - /** Lookup584: pallet_treasury::Proposal */ + /** Lookup583: pallet_treasury::Proposal */ PalletTreasuryProposal: { proposer: "AccountId20", value: "u128", @@ -5254,7 +5315,7 @@ export default { bond: "u128", }, /** - * Lookup587: pallet_treasury::SpendStatus */ PalletTreasurySpendStatus: { @@ -5265,7 +5326,7 @@ export default { expireAt: "u32", status: "PalletTreasuryPaymentState", }, - /** Lookup588: pallet_treasury::PaymentState */ + /** Lookup587: pallet_treasury::PaymentState */ PalletTreasuryPaymentState: { _enum: { Pending: "Null", @@ -5275,9 +5336,9 @@ export default { Failed: "Null", }, }, - /** Lookup590: frame_support::PalletId */ + /** Lookup589: frame_support::PalletId */ FrameSupportPalletId: "[u8;8]", - /** Lookup591: pallet_treasury::pallet::Error */ + /** Lookup590: pallet_treasury::pallet::Error */ PalletTreasuryError: { _enum: [ "InsufficientProposersBalance", @@ -5294,13 +5355,13 @@ export default { "Inconclusive", ], }, - /** Lookup592: pallet_crowdloan_rewards::pallet::RewardInfo */ + /** Lookup591: pallet_crowdloan_rewards::pallet::RewardInfo */ PalletCrowdloanRewardsRewardInfo: { totalReward: "u128", claimedReward: "u128", contributedRelayAddresses: "Vec<[u8;32]>", }, - /** Lookup594: pallet_crowdloan_rewards::pallet::Error */ + /** Lookup593: pallet_crowdloan_rewards::pallet::Error */ PalletCrowdloanRewardsError: { _enum: [ "AlreadyAssociated", @@ -5320,7 +5381,7 @@ export default { "InsufficientNumberOfValidProofs", ], }, - /** Lookup599: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ + /** Lookup598: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: "u32", state: "CumulusPalletXcmpQueueOutboundState", @@ -5328,21 +5389,21 @@ export default { firstIndex: "u16", lastIndex: "u16", }, - /** Lookup600: cumulus_pallet_xcmp_queue::OutboundState */ + /** Lookup599: cumulus_pallet_xcmp_queue::OutboundState */ CumulusPalletXcmpQueueOutboundState: { _enum: ["Ok", "Suspended"], }, - /** Lookup602: cumulus_pallet_xcmp_queue::QueueConfigData */ + /** Lookup601: cumulus_pallet_xcmp_queue::QueueConfigData */ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: "u32", dropThreshold: "u32", resumeThreshold: "u32", }, - /** Lookup603: cumulus_pallet_xcmp_queue::pallet::Error */ + /** Lookup602: cumulus_pallet_xcmp_queue::pallet::Error */ CumulusPalletXcmpQueueError: { _enum: ["BadQueueConfig", "AlreadySuspended", "AlreadyResumed"], }, - /** Lookup604: cumulus_pallet_dmp_queue::pallet::MigrationState */ + /** Lookup603: cumulus_pallet_dmp_queue::pallet::MigrationState */ CumulusPalletDmpQueueMigrationState: { _enum: { NotStarted: "Null", @@ -5360,7 +5421,7 @@ export default { Completed: "Null", }, }, - /** Lookup607: pallet_xcm::pallet::QueryStatus */ + /** Lookup606: pallet_xcm::pallet::QueryStatus */ PalletXcmQueryStatus: { _enum: { Pending: { @@ -5379,7 +5440,7 @@ export default { }, }, }, - /** Lookup611: xcm::VersionedResponse */ + /** Lookup610: xcm::VersionedResponse */ XcmVersionedResponse: { _enum: { __Unused0: "Null", @@ -5389,7 +5450,7 @@ export default { V4: "StagingXcmV4Response", }, }, - /** Lookup617: pallet_xcm::pallet::VersionMigrationStage */ + /** Lookup616: pallet_xcm::pallet::VersionMigrationStage */ PalletXcmVersionMigrationStage: { _enum: { MigrateSupportedVersion: "Null", @@ -5398,24 +5459,14 @@ export default { MigrateAndNotifyOldTargets: "Null", }, }, - /** Lookup620: xcm::VersionedAssetId */ - XcmVersionedAssetId: { - _enum: { - __Unused0: "Null", - __Unused1: "Null", - __Unused2: "Null", - V3: "XcmV3MultiassetAssetId", - V4: "StagingXcmV4AssetAssetId", - }, - }, - /** Lookup621: pallet_xcm::pallet::RemoteLockedFungibleRecord */ + /** Lookup619: pallet_xcm::pallet::RemoteLockedFungibleRecord */ PalletXcmRemoteLockedFungibleRecord: { amount: "u128", owner: "XcmVersionedLocation", locker: "XcmVersionedLocation", consumers: "Vec<(Null,u128)>", }, - /** Lookup628: pallet_xcm::pallet::Error */ + /** Lookup626: pallet_xcm::pallet::Error */ PalletXcmError: { _enum: [ "Unreachable", @@ -5438,14 +5489,14 @@ export default { "FeesNotMet", "LockNotFound", "InUse", - "InvalidAssetNotConcrete", + "__Unused20", "InvalidAssetUnknownReserve", "InvalidAssetUnsupportedReserve", "TooManyReserves", "LocalExecutionIncomplete", ], }, - /** Lookup629: pallet_assets::types::AssetDetails */ + /** Lookup627: pallet_assets::types::AssetDetails */ PalletAssetsAssetDetails: { owner: "AccountId20", issuer: "AccountId20", @@ -5460,22 +5511,22 @@ export default { approvals: "u32", status: "PalletAssetsAssetStatus", }, - /** Lookup630: pallet_assets::types::AssetStatus */ + /** Lookup628: pallet_assets::types::AssetStatus */ PalletAssetsAssetStatus: { _enum: ["Live", "Frozen", "Destroying"], }, - /** Lookup632: pallet_assets::types::AssetAccount */ + /** Lookup630: pallet_assets::types::AssetAccount */ PalletAssetsAssetAccount: { balance: "u128", status: "PalletAssetsAccountStatus", reason: "PalletAssetsExistenceReason", extra: "Null", }, - /** Lookup633: pallet_assets::types::AccountStatus */ + /** Lookup631: pallet_assets::types::AccountStatus */ PalletAssetsAccountStatus: { _enum: ["Liquid", "Frozen", "Blocked"], }, - /** Lookup634: pallet_assets::types::ExistenceReason */ + /** Lookup632: pallet_assets::types::ExistenceReason */ PalletAssetsExistenceReason: { _enum: { Consumer: "Null", @@ -5485,13 +5536,13 @@ export default { DepositFrom: "(AccountId20,u128)", }, }, - /** Lookup636: pallet_assets::types::Approval */ + /** Lookup634: pallet_assets::types::Approval */ PalletAssetsApproval: { amount: "u128", deposit: "u128", }, /** - * Lookup637: pallet_assets::types::AssetMetadata> */ PalletAssetsAssetMetadata: { @@ -5501,7 +5552,7 @@ export default { decimals: "u8", isFrozen: "bool", }, - /** Lookup639: pallet_assets::pallet::Error */ + /** Lookup637: pallet_assets::pallet::Error */ PalletAssetsError: { _enum: [ "BalanceLow", @@ -5526,7 +5577,7 @@ export default { "CallbackFailed", ], }, - /** Lookup641: pallet_asset_manager::pallet::Error */ + /** Lookup639: pallet_asset_manager::pallet::Error */ PalletAssetManagerError: { _enum: [ "ErrorCreatingAsset", @@ -5539,7 +5590,7 @@ export default { "NonExistentLocalAsset", ], }, - /** Lookup642: orml_xtokens::module::Error */ + /** Lookup640: orml_xtokens::module::Error */ OrmlXtokensModuleError: { _enum: [ "AssetHasNoReserve", @@ -5561,9 +5612,10 @@ export default { "FeeNotEnough", "NotSupportedLocation", "MinXcmFeeNotDefined", + "RateLimited", ], }, - /** Lookup643: pallet_xcm_transactor::relay_indices::RelayChainIndices */ + /** Lookup641: pallet_xcm_transactor::relay_indices::RelayChainIndices */ PalletXcmTransactorRelayIndicesRelayChainIndices: { staking: "u8", utility: "u8", @@ -5584,7 +5636,7 @@ export default { closeChannel: "u8", cancelOpenRequest: "u8", }, - /** Lookup644: pallet_xcm_transactor::pallet::Error */ + /** Lookup642: pallet_xcm_transactor::pallet::Error */ PalletXcmTransactorError: { _enum: [ "IndexAlreadyClaimed", @@ -5616,11 +5668,11 @@ export default { "RefundNotSupportedWithTransactInfo", ], }, - /** Lookup645: pallet_ethereum_xcm::pallet::Error */ + /** Lookup643: pallet_ethereum_xcm::pallet::Error */ PalletEthereumXcmError: { _enum: ["EthereumXcmExecutionSuspended"], }, - /** Lookup646: pallet_message_queue::BookState */ + /** Lookup644: pallet_message_queue::BookState */ PalletMessageQueueBookState: { _alias: { size_: "size", @@ -5632,12 +5684,12 @@ export default { messageCount: "u64", size_: "u64", }, - /** Lookup648: pallet_message_queue::Neighbours */ + /** Lookup646: pallet_message_queue::Neighbours */ PalletMessageQueueNeighbours: { prev: "CumulusPrimitivesCoreAggregateMessageOrigin", next: "CumulusPrimitivesCoreAggregateMessageOrigin", }, - /** Lookup650: pallet_message_queue::Page */ + /** Lookup648: pallet_message_queue::Page */ PalletMessageQueuePage: { remaining: "u32", remainingSize: "u32", @@ -5646,7 +5698,7 @@ export default { last: "u32", heap: "Bytes", }, - /** Lookup652: pallet_message_queue::pallet::Error */ + /** Lookup650: pallet_message_queue::pallet::Error */ PalletMessageQueueError: { _enum: [ "NotReapable", @@ -5660,16 +5712,16 @@ export default { "RecursiveDisallowed", ], }, - /** Lookup654: pallet_precompile_benchmarks::pallet::Error */ + /** Lookup652: pallet_precompile_benchmarks::pallet::Error */ PalletPrecompileBenchmarksError: { _enum: ["BenchmarkError"], }, - /** Lookup655: pallet_randomness::types::RequestState */ + /** Lookup653: pallet_randomness::types::RequestState */ PalletRandomnessRequestState: { request: "PalletRandomnessRequest", deposit: "u128", }, - /** Lookup656: pallet_randomness::types::Request> */ + /** Lookup654: pallet_randomness::types::Request> */ PalletRandomnessRequest: { refundAddress: "H160", contractAddress: "H160", @@ -5679,26 +5731,26 @@ export default { salt: "H256", info: "PalletRandomnessRequestInfo", }, - /** Lookup657: pallet_randomness::types::RequestInfo */ + /** Lookup655: pallet_randomness::types::RequestInfo */ PalletRandomnessRequestInfo: { _enum: { BabeEpoch: "(u64,u64)", Local: "(u32,u32)", }, }, - /** Lookup658: pallet_randomness::types::RequestType */ + /** Lookup656: pallet_randomness::types::RequestType */ PalletRandomnessRequestType: { _enum: { BabeEpoch: "u64", Local: "u32", }, }, - /** Lookup659: pallet_randomness::types::RandomnessResult */ + /** Lookup657: pallet_randomness::types::RandomnessResult */ PalletRandomnessRandomnessResult: { randomness: "Option", requestCount: "u64", }, - /** Lookup660: pallet_randomness::pallet::Error */ + /** Lookup658: pallet_randomness::pallet::Error */ PalletRandomnessError: { _enum: [ "RequestCounterOverflowed", @@ -5715,20 +5767,20 @@ export default { "RandomnessResultNotFilled", ], }, - /** Lookup663: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ + /** Lookup661: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ FrameSystemExtensionsCheckNonZeroSender: "Null", - /** Lookup664: frame_system::extensions::check_spec_version::CheckSpecVersion */ + /** Lookup662: frame_system::extensions::check_spec_version::CheckSpecVersion */ FrameSystemExtensionsCheckSpecVersion: "Null", - /** Lookup665: frame_system::extensions::check_tx_version::CheckTxVersion */ + /** Lookup663: frame_system::extensions::check_tx_version::CheckTxVersion */ FrameSystemExtensionsCheckTxVersion: "Null", - /** Lookup666: frame_system::extensions::check_genesis::CheckGenesis */ + /** Lookup664: frame_system::extensions::check_genesis::CheckGenesis */ FrameSystemExtensionsCheckGenesis: "Null", - /** Lookup669: frame_system::extensions::check_nonce::CheckNonce */ + /** Lookup667: frame_system::extensions::check_nonce::CheckNonce */ FrameSystemExtensionsCheckNonce: "Compact", - /** Lookup670: frame_system::extensions::check_weight::CheckWeight */ + /** Lookup668: frame_system::extensions::check_weight::CheckWeight */ FrameSystemExtensionsCheckWeight: "Null", - /** Lookup671: pallet_transaction_payment::ChargeTransactionPayment */ + /** Lookup669: pallet_transaction_payment::ChargeTransactionPayment */ PalletTransactionPaymentChargeTransactionPayment: "Compact", - /** Lookup673: moonriver_runtime::Runtime */ + /** Lookup671: moonriver_runtime::Runtime */ MoonriverRuntimeRuntime: "Null", }; diff --git a/typescript-api/src/moonriver/interfaces/registry.ts b/typescript-api/src/moonriver/interfaces/registry.ts index fa25a1b283..999f4837e6 100644 --- a/typescript-api/src/moonriver/interfaces/registry.ts +++ b/typescript-api/src/moonriver/interfaces/registry.ts @@ -241,6 +241,7 @@ import type { PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, + PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletTimestampCall, PalletTransactionPaymentChargeTransactionPayment, @@ -279,18 +280,14 @@ import type { PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, - PolkadotPrimitivesV6AbridgedHostConfiguration, - PolkadotPrimitivesV6AbridgedHrmpChannel, - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, - PolkadotPrimitivesV6PersistedValidationData, - PolkadotPrimitivesV6UpgradeGoAhead, - PolkadotPrimitivesV6UpgradeRestriction, + PolkadotPrimitivesV7AbridgedHostConfiguration, + PolkadotPrimitivesV7AbridgedHrmpChannel, + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams, + PolkadotPrimitivesV7PersistedValidationData, + PolkadotPrimitivesV7UpgradeGoAhead, + PolkadotPrimitivesV7UpgradeRestriction, SessionKeysPrimitivesVrfVrfCryptoPublic, SpArithmeticArithmeticError, - SpCoreEcdsaSignature, - SpCoreEd25519Signature, - SpCoreSr25519Public, - SpCoreSr25519Signature, SpCoreVoid, SpRuntimeBlakeTwo256, SpRuntimeDigest, @@ -305,6 +302,7 @@ import type { SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, + StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, @@ -616,6 +614,7 @@ declare module "@polkadot/types/types/registry" { PalletSchedulerCall: PalletSchedulerCall; PalletSchedulerError: PalletSchedulerError; PalletSchedulerEvent: PalletSchedulerEvent; + PalletSchedulerRetryConfig: PalletSchedulerRetryConfig; PalletSchedulerScheduled: PalletSchedulerScheduled; PalletTimestampCall: PalletTimestampCall; PalletTransactionPaymentChargeTransactionPayment: PalletTransactionPaymentChargeTransactionPayment; @@ -654,18 +653,14 @@ declare module "@polkadot/types/types/registry" { PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; PolkadotParachainPrimitivesPrimitivesHrmpChannelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId; - PolkadotPrimitivesV6AbridgedHostConfiguration: PolkadotPrimitivesV6AbridgedHostConfiguration; - PolkadotPrimitivesV6AbridgedHrmpChannel: PolkadotPrimitivesV6AbridgedHrmpChannel; - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams: PolkadotPrimitivesV6AsyncBackingAsyncBackingParams; - PolkadotPrimitivesV6PersistedValidationData: PolkadotPrimitivesV6PersistedValidationData; - PolkadotPrimitivesV6UpgradeGoAhead: PolkadotPrimitivesV6UpgradeGoAhead; - PolkadotPrimitivesV6UpgradeRestriction: PolkadotPrimitivesV6UpgradeRestriction; + PolkadotPrimitivesV7AbridgedHostConfiguration: PolkadotPrimitivesV7AbridgedHostConfiguration; + PolkadotPrimitivesV7AbridgedHrmpChannel: PolkadotPrimitivesV7AbridgedHrmpChannel; + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; + PolkadotPrimitivesV7PersistedValidationData: PolkadotPrimitivesV7PersistedValidationData; + PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead; + PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction; SessionKeysPrimitivesVrfVrfCryptoPublic: SessionKeysPrimitivesVrfVrfCryptoPublic; SpArithmeticArithmeticError: SpArithmeticArithmeticError; - SpCoreEcdsaSignature: SpCoreEcdsaSignature; - SpCoreEd25519Signature: SpCoreEd25519Signature; - SpCoreSr25519Public: SpCoreSr25519Public; - SpCoreSr25519Signature: SpCoreSr25519Signature; SpCoreVoid: SpCoreVoid; SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256; SpRuntimeDigest: SpRuntimeDigest; @@ -680,6 +675,7 @@ declare module "@polkadot/types/types/registry" { SpVersionRuntimeVersion: SpVersionRuntimeVersion; SpWeightsRuntimeDbWeight: SpWeightsRuntimeDbWeight; SpWeightsWeightV2Weight: SpWeightsWeightV2Weight; + StagingXcmExecutorAssetTransferTransferType: StagingXcmExecutorAssetTransferTransferType; StagingXcmV3MultiLocation: StagingXcmV3MultiLocation; StagingXcmV4Asset: StagingXcmV4Asset; StagingXcmV4AssetAssetFilter: StagingXcmV4AssetAssetFilter; diff --git a/typescript-api/src/moonriver/interfaces/types-lookup.ts b/typescript-api/src/moonriver/interfaces/types-lookup.ts index c6fedc703e..13642d682f 100644 --- a/typescript-api/src/moonriver/interfaces/types-lookup.ts +++ b/typescript-api/src/moonriver/interfaces/types-lookup.ts @@ -58,25 +58,25 @@ declare module "@polkadot/types/lookup" { readonly flags: u128; } - /** @name FrameSupportDispatchPerDispatchClassWeight (8) */ + /** @name FrameSupportDispatchPerDispatchClassWeight (9) */ interface FrameSupportDispatchPerDispatchClassWeight extends Struct { readonly normal: SpWeightsWeightV2Weight; readonly operational: SpWeightsWeightV2Weight; readonly mandatory: SpWeightsWeightV2Weight; } - /** @name SpWeightsWeightV2Weight (9) */ + /** @name SpWeightsWeightV2Weight (10) */ interface SpWeightsWeightV2Weight extends Struct { readonly refTime: Compact; readonly proofSize: Compact; } - /** @name SpRuntimeDigest (15) */ + /** @name SpRuntimeDigest (16) */ interface SpRuntimeDigest extends Struct { readonly logs: Vec; } - /** @name SpRuntimeDigestDigestItem (17) */ + /** @name SpRuntimeDigestDigestItem (18) */ interface SpRuntimeDigestDigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; @@ -90,14 +90,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Other" | "Consensus" | "Seal" | "PreRuntime" | "RuntimeEnvironmentUpdated"; } - /** @name FrameSystemEventRecord (20) */ + /** @name FrameSystemEventRecord (21) */ interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec; } - /** @name FrameSystemEvent (22) */ + /** @name FrameSystemEvent (23) */ interface FrameSystemEvent extends Enum { readonly isExtrinsicSuccess: boolean; readonly asExtrinsicSuccess: { @@ -137,14 +137,14 @@ declare module "@polkadot/types/lookup" { | "UpgradeAuthorized"; } - /** @name FrameSupportDispatchDispatchInfo (23) */ + /** @name FrameSupportDispatchDispatchInfo (24) */ interface FrameSupportDispatchDispatchInfo extends Struct { readonly weight: SpWeightsWeightV2Weight; readonly class: FrameSupportDispatchDispatchClass; readonly paysFee: FrameSupportDispatchPays; } - /** @name FrameSupportDispatchDispatchClass (24) */ + /** @name FrameSupportDispatchDispatchClass (25) */ interface FrameSupportDispatchDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; @@ -152,14 +152,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Normal" | "Operational" | "Mandatory"; } - /** @name FrameSupportDispatchPays (25) */ + /** @name FrameSupportDispatchPays (26) */ interface FrameSupportDispatchPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: "Yes" | "No"; } - /** @name SpRuntimeDispatchError (26) */ + /** @name SpRuntimeDispatchError (27) */ interface SpRuntimeDispatchError extends Enum { readonly isOther: boolean; readonly isCannotLookup: boolean; @@ -196,13 +196,13 @@ declare module "@polkadot/types/lookup" { | "RootNotAllowed"; } - /** @name SpRuntimeModuleError (27) */ + /** @name SpRuntimeModuleError (28) */ interface SpRuntimeModuleError extends Struct { readonly index: u8; readonly error: U8aFixed; } - /** @name SpRuntimeTokenError (28) */ + /** @name SpRuntimeTokenError (29) */ interface SpRuntimeTokenError extends Enum { readonly isFundsUnavailable: boolean; readonly isOnlyProvider: boolean; @@ -227,7 +227,7 @@ declare module "@polkadot/types/lookup" { | "Blocked"; } - /** @name SpArithmeticArithmeticError (29) */ + /** @name SpArithmeticArithmeticError (30) */ interface SpArithmeticArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; @@ -235,7 +235,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Underflow" | "Overflow" | "DivisionByZero"; } - /** @name SpRuntimeTransactionalError (30) */ + /** @name SpRuntimeTransactionalError (31) */ interface SpRuntimeTransactionalError extends Enum { readonly isLimitReached: boolean; readonly isNoLayer: boolean; @@ -739,15 +739,12 @@ declare module "@polkadot/types/lookup" { } /** @name NimbusPrimitivesNimbusCryptoPublic (47) */ - interface NimbusPrimitivesNimbusCryptoPublic extends SpCoreSr25519Public {} + interface NimbusPrimitivesNimbusCryptoPublic extends U8aFixed {} - /** @name SpCoreSr25519Public (48) */ - interface SpCoreSr25519Public extends U8aFixed {} + /** @name SessionKeysPrimitivesVrfVrfCryptoPublic (48) */ + interface SessionKeysPrimitivesVrfVrfCryptoPublic extends U8aFixed {} - /** @name SessionKeysPrimitivesVrfVrfCryptoPublic (49) */ - interface SessionKeysPrimitivesVrfVrfCryptoPublic extends SpCoreSr25519Public {} - - /** @name PalletMoonbeamOrbitersEvent (50) */ + /** @name PalletMoonbeamOrbitersEvent (49) */ interface PalletMoonbeamOrbitersEvent extends Enum { readonly isOrbiterJoinCollatorPool: boolean; readonly asOrbiterJoinCollatorPool: { @@ -788,7 +785,7 @@ declare module "@polkadot/types/lookup" { | "OrbiterUnregistered"; } - /** @name PalletUtilityEvent (52) */ + /** @name PalletUtilityEvent (51) */ interface PalletUtilityEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { @@ -815,7 +812,7 @@ declare module "@polkadot/types/lookup" { | "DispatchedAs"; } - /** @name PalletProxyEvent (55) */ + /** @name PalletProxyEvent (54) */ interface PalletProxyEvent extends Enum { readonly isProxyExecuted: boolean; readonly asProxyExecuted: { @@ -851,7 +848,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ProxyExecuted" | "PureCreated" | "Announced" | "ProxyAdded" | "ProxyRemoved"; } - /** @name MoonriverRuntimeProxyType (56) */ + /** @name MoonriverRuntimeProxyType (55) */ interface MoonriverRuntimeProxyType extends Enum { readonly isAny: boolean; readonly isNonTransfer: boolean; @@ -872,7 +869,7 @@ declare module "@polkadot/types/lookup" { | "IdentityJudgement"; } - /** @name PalletMaintenanceModeEvent (58) */ + /** @name PalletMaintenanceModeEvent (57) */ interface PalletMaintenanceModeEvent extends Enum { readonly isEnteredMaintenanceMode: boolean; readonly isNormalOperationResumed: boolean; @@ -891,7 +888,7 @@ declare module "@polkadot/types/lookup" { | "FailedToResumeIdleXcmExecution"; } - /** @name PalletIdentityEvent (59) */ + /** @name PalletIdentityEvent (58) */ interface PalletIdentityEvent extends Enum { readonly isIdentitySet: boolean; readonly asIdentitySet: { @@ -997,7 +994,7 @@ declare module "@polkadot/types/lookup" { | "DanglingUsernameRemoved"; } - /** @name PalletMigrationsEvent (61) */ + /** @name PalletMigrationsEvent (60) */ interface PalletMigrationsEvent extends Enum { readonly isRuntimeUpgradeStarted: boolean; readonly isRuntimeUpgradeCompleted: boolean; @@ -1030,7 +1027,7 @@ declare module "@polkadot/types/lookup" { | "FailedToResumeIdleXcmExecution"; } - /** @name PalletMultisigEvent (62) */ + /** @name PalletMultisigEvent (61) */ interface PalletMultisigEvent extends Enum { readonly isNewMultisig: boolean; readonly asNewMultisig: { @@ -1063,13 +1060,13 @@ declare module "@polkadot/types/lookup" { readonly type: "NewMultisig" | "MultisigApproval" | "MultisigExecuted" | "MultisigCancelled"; } - /** @name PalletMultisigTimepoint (63) */ + /** @name PalletMultisigTimepoint (62) */ interface PalletMultisigTimepoint extends Struct { readonly height: u32; readonly index: u32; } - /** @name PalletEvmEvent (64) */ + /** @name PalletEvmEvent (63) */ interface PalletEvmEvent extends Enum { readonly isLog: boolean; readonly asLog: { @@ -1094,14 +1091,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Log" | "Created" | "CreatedFailed" | "Executed" | "ExecutedFailed"; } - /** @name EthereumLog (65) */ + /** @name EthereumLog (64) */ interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec; readonly data: Bytes; } - /** @name PalletEthereumEvent (68) */ + /** @name PalletEthereumEvent (67) */ interface PalletEthereumEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: { @@ -1114,7 +1111,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Executed"; } - /** @name EvmCoreErrorExitReason (69) */ + /** @name EvmCoreErrorExitReason (68) */ interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; @@ -1127,7 +1124,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Succeed" | "Error" | "Revert" | "Fatal"; } - /** @name EvmCoreErrorExitSucceed (70) */ + /** @name EvmCoreErrorExitSucceed (69) */ interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; @@ -1135,7 +1132,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Stopped" | "Returned" | "Suicided"; } - /** @name EvmCoreErrorExitError (71) */ + /** @name EvmCoreErrorExitError (70) */ interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; @@ -1174,13 +1171,13 @@ declare module "@polkadot/types/lookup" { | "InvalidCode"; } - /** @name EvmCoreErrorExitRevert (75) */ + /** @name EvmCoreErrorExitRevert (74) */ interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: "Reverted"; } - /** @name EvmCoreErrorExitFatal (76) */ + /** @name EvmCoreErrorExitFatal (75) */ interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; @@ -1191,7 +1188,7 @@ declare module "@polkadot/types/lookup" { readonly type: "NotSupported" | "UnhandledInterrupt" | "CallErrorAsFatal" | "Other"; } - /** @name PalletSchedulerEvent (77) */ + /** @name PalletSchedulerEvent (76) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -1209,6 +1206,18 @@ declare module "@polkadot/types/lookup" { readonly id: Option; readonly result: Result; } & Struct; + readonly isRetrySet: boolean; + readonly asRetrySet: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + readonly period: u32; + readonly retries: u8; + } & Struct; + readonly isRetryCancelled: boolean; + readonly asRetryCancelled: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + } & Struct; readonly isCallUnavailable: boolean; readonly asCallUnavailable: { readonly task: ITuple<[u32, u32]>; @@ -1219,6 +1228,11 @@ declare module "@polkadot/types/lookup" { readonly task: ITuple<[u32, u32]>; readonly id: Option; } & Struct; + readonly isRetryFailed: boolean; + readonly asRetryFailed: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + } & Struct; readonly isPermanentlyOverweight: boolean; readonly asPermanentlyOverweight: { readonly task: ITuple<[u32, u32]>; @@ -1228,12 +1242,15 @@ declare module "@polkadot/types/lookup" { | "Scheduled" | "Canceled" | "Dispatched" + | "RetrySet" + | "RetryCancelled" | "CallUnavailable" | "PeriodicFailed" + | "RetryFailed" | "PermanentlyOverweight"; } - /** @name PalletPreimageEvent (79) */ + /** @name PalletPreimageEvent (78) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -1250,7 +1267,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Noted" | "Requested" | "Cleared"; } - /** @name PalletConvictionVotingEvent (80) */ + /** @name PalletConvictionVotingEvent (79) */ interface PalletConvictionVotingEvent extends Enum { readonly isDelegated: boolean; readonly asDelegated: ITuple<[AccountId20, AccountId20]>; @@ -1259,7 +1276,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Delegated" | "Undelegated"; } - /** @name PalletReferendaEvent (81) */ + /** @name PalletReferendaEvent (80) */ interface PalletReferendaEvent extends Enum { readonly isSubmitted: boolean; readonly asSubmitted: { @@ -1363,7 +1380,7 @@ declare module "@polkadot/types/lookup" { | "MetadataCleared"; } - /** @name FrameSupportPreimagesBounded (82) */ + /** @name FrameSupportPreimagesBounded (81) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -1379,7 +1396,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Inline" | "Lookup"; } - /** @name FrameSystemCall (84) */ + /** @name FrameSystemCall (83) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -1440,7 +1457,7 @@ declare module "@polkadot/types/lookup" { | "ApplyAuthorizedUpgrade"; } - /** @name CumulusPalletParachainSystemCall (88) */ + /** @name CumulusPalletParachainSystemCall (87) */ interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { @@ -1466,40 +1483,40 @@ declare module "@polkadot/types/lookup" { | "EnactAuthorizedUpgrade"; } - /** @name CumulusPrimitivesParachainInherentParachainInherentData (89) */ + /** @name CumulusPrimitivesParachainInherentParachainInherentData (88) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV6PersistedValidationData; + readonly validationData: PolkadotPrimitivesV7PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotPrimitivesV6PersistedValidationData (90) */ - interface PolkadotPrimitivesV6PersistedValidationData extends Struct { + /** @name PolkadotPrimitivesV7PersistedValidationData (89) */ + interface PolkadotPrimitivesV7PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; readonly maxPovSize: u32; } - /** @name SpTrieStorageProof (92) */ + /** @name SpTrieStorageProof (91) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (95) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (94) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (99) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (98) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name PalletTimestampCall (102) */ + /** @name PalletTimestampCall (101) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -1508,7 +1525,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Set"; } - /** @name PalletRootTestingCall (103) */ + /** @name PalletRootTestingCall (102) */ interface PalletRootTestingCall extends Enum { readonly isFillBlock: boolean; readonly asFillBlock: { @@ -1518,7 +1535,7 @@ declare module "@polkadot/types/lookup" { readonly type: "FillBlock" | "TriggerDefensive"; } - /** @name PalletBalancesCall (104) */ + /** @name PalletBalancesCall (103) */ interface PalletBalancesCall extends Enum { readonly isTransferAllowDeath: boolean; readonly asTransferAllowDeath: { @@ -1571,14 +1588,14 @@ declare module "@polkadot/types/lookup" { | "ForceAdjustTotalIssuance"; } - /** @name PalletBalancesAdjustmentDirection (107) */ + /** @name PalletBalancesAdjustmentDirection (106) */ interface PalletBalancesAdjustmentDirection extends Enum { readonly isIncrease: boolean; readonly isDecrease: boolean; readonly type: "Increase" | "Decrease"; } - /** @name PalletParachainStakingCall (108) */ + /** @name PalletParachainStakingCall (107) */ interface PalletParachainStakingCall extends Enum { readonly isSetStakingExpectations: boolean; readonly asSetStakingExpectations: { @@ -1751,13 +1768,13 @@ declare module "@polkadot/types/lookup" { | "ForceJoinCandidates"; } - /** @name PalletAuthorInherentCall (111) */ + /** @name PalletAuthorInherentCall (110) */ interface PalletAuthorInherentCall extends Enum { readonly isKickOffAuthorshipValidation: boolean; readonly type: "KickOffAuthorshipValidation"; } - /** @name PalletAuthorSlotFilterCall (112) */ + /** @name PalletAuthorSlotFilterCall (111) */ interface PalletAuthorSlotFilterCall extends Enum { readonly isSetEligible: boolean; readonly asSetEligible: { @@ -1766,7 +1783,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetEligible"; } - /** @name PalletAuthorMappingCall (113) */ + /** @name PalletAuthorMappingCall (112) */ interface PalletAuthorMappingCall extends Enum { readonly isAddAssociation: boolean; readonly asAddAssociation: { @@ -1794,7 +1811,7 @@ declare module "@polkadot/types/lookup" { | "SetKeys"; } - /** @name PalletMoonbeamOrbitersCall (114) */ + /** @name PalletMoonbeamOrbitersCall (113) */ interface PalletMoonbeamOrbitersCall extends Enum { readonly isCollatorAddOrbiter: boolean; readonly asCollatorAddOrbiter: { @@ -1831,7 +1848,7 @@ declare module "@polkadot/types/lookup" { | "RemoveCollator"; } - /** @name PalletUtilityCall (115) */ + /** @name PalletUtilityCall (114) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -1869,7 +1886,7 @@ declare module "@polkadot/types/lookup" { | "WithWeight"; } - /** @name MoonriverRuntimeOriginCaller (117) */ + /** @name MoonriverRuntimeOriginCaller (116) */ interface MoonriverRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -1900,7 +1917,7 @@ declare module "@polkadot/types/lookup" { | "EthereumXcm"; } - /** @name FrameSupportDispatchRawOrigin (118) */ + /** @name FrameSupportDispatchRawOrigin (117) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -1909,14 +1926,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Root" | "Signed" | "None"; } - /** @name PalletEthereumRawOrigin (119) */ + /** @name PalletEthereumRawOrigin (118) */ interface PalletEthereumRawOrigin extends Enum { readonly isEthereumTransaction: boolean; readonly asEthereumTransaction: H160; readonly type: "EthereumTransaction"; } - /** @name MoonriverRuntimeGovernanceOriginsCustomOriginsOrigin (120) */ + /** @name MoonriverRuntimeGovernanceOriginsCustomOriginsOrigin (119) */ interface MoonriverRuntimeGovernanceOriginsCustomOriginsOrigin extends Enum { readonly isWhitelistedCaller: boolean; readonly isGeneralAdmin: boolean; @@ -1931,7 +1948,7 @@ declare module "@polkadot/types/lookup" { | "FastGeneralAdmin"; } - /** @name PalletCollectiveRawOrigin (121) */ + /** @name PalletCollectiveRawOrigin (120) */ interface PalletCollectiveRawOrigin extends Enum { readonly isMembers: boolean; readonly asMembers: ITuple<[u32, u32]>; @@ -1941,7 +1958,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Members" | "Member" | "Phantom"; } - /** @name CumulusPalletXcmOrigin (123) */ + /** @name CumulusPalletXcmOrigin (122) */ interface CumulusPalletXcmOrigin extends Enum { readonly isRelay: boolean; readonly isSiblingParachain: boolean; @@ -1949,7 +1966,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Relay" | "SiblingParachain"; } - /** @name PalletXcmOrigin (124) */ + /** @name PalletXcmOrigin (123) */ interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; readonly asXcm: StagingXcmV4Location; @@ -1958,13 +1975,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Xcm" | "Response"; } - /** @name StagingXcmV4Location (125) */ + /** @name StagingXcmV4Location (124) */ interface StagingXcmV4Location extends Struct { readonly parents: u8; readonly interior: StagingXcmV4Junctions; } - /** @name StagingXcmV4Junctions (126) */ + /** @name StagingXcmV4Junctions (125) */ interface StagingXcmV4Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -1986,7 +2003,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name StagingXcmV4Junction (128) */ + /** @name StagingXcmV4Junction (127) */ interface StagingXcmV4Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -2035,7 +2052,7 @@ declare module "@polkadot/types/lookup" { | "GlobalConsensus"; } - /** @name StagingXcmV4JunctionNetworkId (131) */ + /** @name StagingXcmV4JunctionNetworkId (130) */ interface StagingXcmV4JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; @@ -2070,7 +2087,7 @@ declare module "@polkadot/types/lookup" { | "PolkadotBulletin"; } - /** @name XcmV3JunctionBodyId (132) */ + /** @name XcmV3JunctionBodyId (131) */ interface XcmV3JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isMoniker: boolean; @@ -2097,7 +2114,7 @@ declare module "@polkadot/types/lookup" { | "Treasury"; } - /** @name XcmV3JunctionBodyPart (133) */ + /** @name XcmV3JunctionBodyPart (132) */ interface XcmV3JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -2122,17 +2139,17 @@ declare module "@polkadot/types/lookup" { readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion"; } - /** @name PalletEthereumXcmRawOrigin (141) */ + /** @name PalletEthereumXcmRawOrigin (140) */ interface PalletEthereumXcmRawOrigin extends Enum { readonly isXcmEthereumTransaction: boolean; readonly asXcmEthereumTransaction: H160; readonly type: "XcmEthereumTransaction"; } - /** @name SpCoreVoid (142) */ + /** @name SpCoreVoid (141) */ type SpCoreVoid = Null; - /** @name PalletProxyCall (143) */ + /** @name PalletProxyCall (142) */ interface PalletProxyCall extends Enum { readonly isProxy: boolean; readonly asProxy: { @@ -2202,14 +2219,14 @@ declare module "@polkadot/types/lookup" { | "ProxyAnnounced"; } - /** @name PalletMaintenanceModeCall (145) */ + /** @name PalletMaintenanceModeCall (144) */ interface PalletMaintenanceModeCall extends Enum { readonly isEnterMaintenanceMode: boolean; readonly isResumeNormalOperation: boolean; readonly type: "EnterMaintenanceMode" | "ResumeNormalOperation"; } - /** @name PalletIdentityCall (146) */ + /** @name PalletIdentityCall (145) */ interface PalletIdentityCall extends Enum { readonly isAddRegistrar: boolean; readonly asAddRegistrar: { @@ -2331,7 +2348,7 @@ declare module "@polkadot/types/lookup" { | "RemoveDanglingUsername"; } - /** @name PalletIdentityLegacyIdentityInfo (147) */ + /** @name PalletIdentityLegacyIdentityInfo (146) */ interface PalletIdentityLegacyIdentityInfo extends Struct { readonly additional: Vec>; readonly display: Data; @@ -2344,7 +2361,7 @@ declare module "@polkadot/types/lookup" { readonly twitter: Data; } - /** @name PalletIdentityJudgement (185) */ + /** @name PalletIdentityJudgement (184) */ interface PalletIdentityJudgement extends Enum { readonly isUnknown: boolean; readonly isFeePaid: boolean; @@ -2364,13 +2381,10 @@ declare module "@polkadot/types/lookup" { | "Erroneous"; } - /** @name AccountEthereumSignature (187) */ - interface AccountEthereumSignature extends SpCoreEcdsaSignature {} - - /** @name SpCoreEcdsaSignature (188) */ - interface SpCoreEcdsaSignature extends U8aFixed {} + /** @name AccountEthereumSignature (186) */ + interface AccountEthereumSignature extends U8aFixed {} - /** @name PalletMultisigCall (190) */ + /** @name PalletMultisigCall (188) */ interface PalletMultisigCall extends Enum { readonly isAsMultiThreshold1: boolean; readonly asAsMultiThreshold1: { @@ -2403,7 +2417,7 @@ declare module "@polkadot/types/lookup" { readonly type: "AsMultiThreshold1" | "AsMulti" | "ApproveAsMulti" | "CancelAsMulti"; } - /** @name PalletMoonbeamLazyMigrationsCall (192) */ + /** @name PalletMoonbeamLazyMigrationsCall (190) */ interface PalletMoonbeamLazyMigrationsCall extends Enum { readonly isClearSuicidedStorage: boolean; readonly asClearSuicidedStorage: { @@ -2413,7 +2427,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ClearSuicidedStorage"; } - /** @name PalletEvmCall (195) */ + /** @name PalletEvmCall (193) */ interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -2458,7 +2472,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Withdraw" | "Call" | "Create" | "Create2"; } - /** @name PalletEthereumCall (201) */ + /** @name PalletEthereumCall (199) */ interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -2467,7 +2481,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Transact"; } - /** @name EthereumTransactionTransactionV2 (202) */ + /** @name EthereumTransactionTransactionV2 (200) */ interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; @@ -2478,7 +2492,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Eip2930" | "Eip1559"; } - /** @name EthereumTransactionLegacyTransaction (203) */ + /** @name EthereumTransactionLegacyTransaction (201) */ interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -2489,7 +2503,7 @@ declare module "@polkadot/types/lookup" { readonly signature: EthereumTransactionTransactionSignature; } - /** @name EthereumTransactionTransactionAction (204) */ + /** @name EthereumTransactionTransactionAction (202) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -2497,14 +2511,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Call" | "Create"; } - /** @name EthereumTransactionTransactionSignature (205) */ + /** @name EthereumTransactionTransactionSignature (203) */ interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Transaction (207) */ + /** @name EthereumTransactionEip2930Transaction (205) */ interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -2519,13 +2533,13 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name EthereumTransactionAccessListItem (209) */ + /** @name EthereumTransactionAccessListItem (207) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name EthereumTransactionEip1559Transaction (210) */ + /** @name EthereumTransactionEip1559Transaction (208) */ interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -2541,7 +2555,7 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name PalletSchedulerCall (211) */ + /** @name PalletSchedulerCall (209) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -2582,16 +2596,40 @@ declare module "@polkadot/types/lookup" { readonly priority: u8; readonly call: Call; } & Struct; + readonly isSetRetry: boolean; + readonly asSetRetry: { + readonly task: ITuple<[u32, u32]>; + readonly retries: u8; + readonly period: u32; + } & Struct; + readonly isSetRetryNamed: boolean; + readonly asSetRetryNamed: { + readonly id: U8aFixed; + readonly retries: u8; + readonly period: u32; + } & Struct; + readonly isCancelRetry: boolean; + readonly asCancelRetry: { + readonly task: ITuple<[u32, u32]>; + } & Struct; + readonly isCancelRetryNamed: boolean; + readonly asCancelRetryNamed: { + readonly id: U8aFixed; + } & Struct; readonly type: | "Schedule" | "Cancel" | "ScheduleNamed" | "CancelNamed" | "ScheduleAfter" - | "ScheduleNamedAfter"; + | "ScheduleNamedAfter" + | "SetRetry" + | "SetRetryNamed" + | "CancelRetry" + | "CancelRetryNamed"; } - /** @name PalletPreimageCall (213) */ + /** @name PalletPreimageCall (211) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -2621,7 +2659,7 @@ declare module "@polkadot/types/lookup" { | "EnsureUpdated"; } - /** @name PalletConvictionVotingCall (214) */ + /** @name PalletConvictionVotingCall (212) */ interface PalletConvictionVotingCall extends Enum { readonly isVote: boolean; readonly asVote: { @@ -2658,7 +2696,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Vote" | "Delegate" | "Undelegate" | "Unlock" | "RemoveVote" | "RemoveOtherVote"; } - /** @name PalletConvictionVotingVoteAccountVote (215) */ + /** @name PalletConvictionVotingVoteAccountVote (213) */ interface PalletConvictionVotingVoteAccountVote extends Enum { readonly isStandard: boolean; readonly asStandard: { @@ -2679,7 +2717,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Standard" | "Split" | "SplitAbstain"; } - /** @name PalletConvictionVotingConviction (217) */ + /** @name PalletConvictionVotingConviction (215) */ interface PalletConvictionVotingConviction extends Enum { readonly isNone: boolean; readonly isLocked1x: boolean; @@ -2698,7 +2736,7 @@ declare module "@polkadot/types/lookup" { | "Locked6x"; } - /** @name PalletReferendaCall (219) */ + /** @name PalletReferendaCall (217) */ interface PalletReferendaCall extends Enum { readonly isSubmit: boolean; readonly asSubmit: { @@ -2751,7 +2789,7 @@ declare module "@polkadot/types/lookup" { | "SetMetadata"; } - /** @name FrameSupportScheduleDispatchTime (220) */ + /** @name FrameSupportScheduleDispatchTime (218) */ interface FrameSupportScheduleDispatchTime extends Enum { readonly isAt: boolean; readonly asAt: u32; @@ -2760,7 +2798,7 @@ declare module "@polkadot/types/lookup" { readonly type: "At" | "After"; } - /** @name PalletWhitelistCall (222) */ + /** @name PalletWhitelistCall (220) */ interface PalletWhitelistCall extends Enum { readonly isWhitelistCall: boolean; readonly asWhitelistCall: { @@ -2787,7 +2825,7 @@ declare module "@polkadot/types/lookup" { | "DispatchWhitelistedCallWithPreimage"; } - /** @name PalletCollectiveCall (223) */ + /** @name PalletCollectiveCall (221) */ interface PalletCollectiveCall extends Enum { readonly isSetMembers: boolean; readonly asSetMembers: { @@ -2826,7 +2864,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetMembers" | "Execute" | "Propose" | "Vote" | "DisapproveProposal" | "Close"; } - /** @name PalletTreasuryCall (225) */ + /** @name PalletTreasuryCall (223) */ interface PalletTreasuryCall extends Enum { readonly isProposeSpend: boolean; readonly asProposeSpend: { @@ -2881,7 +2919,7 @@ declare module "@polkadot/types/lookup" { | "VoidSpend"; } - /** @name PalletCrowdloanRewardsCall (227) */ + /** @name PalletCrowdloanRewardsCall (225) */ interface PalletCrowdloanRewardsCall extends Enum { readonly isAssociateNativeIdentity: boolean; readonly asAssociateNativeIdentity: { @@ -2917,27 +2955,21 @@ declare module "@polkadot/types/lookup" { | "InitializeRewardVec"; } - /** @name SpRuntimeMultiSignature (228) */ + /** @name SpRuntimeMultiSignature (226) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; - readonly asEd25519: SpCoreEd25519Signature; + readonly asEd25519: U8aFixed; readonly isSr25519: boolean; - readonly asSr25519: SpCoreSr25519Signature; + readonly asSr25519: U8aFixed; readonly isEcdsa: boolean; - readonly asEcdsa: SpCoreEcdsaSignature; + readonly asEcdsa: U8aFixed; readonly type: "Ed25519" | "Sr25519" | "Ecdsa"; } - /** @name SpCoreEd25519Signature (229) */ - interface SpCoreEd25519Signature extends U8aFixed {} - - /** @name SpCoreSr25519Signature (231) */ - interface SpCoreSr25519Signature extends U8aFixed {} - - /** @name CumulusPalletDmpQueueCall (236) */ + /** @name CumulusPalletDmpQueueCall (232) */ type CumulusPalletDmpQueueCall = Null; - /** @name PalletXcmCall (237) */ + /** @name PalletXcmCall (233) */ interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { @@ -3008,6 +3040,21 @@ declare module "@polkadot/types/lookup" { readonly feeAssetItem: u32; readonly weightLimit: XcmV3WeightLimit; } & Struct; + readonly isClaimAssets: boolean; + readonly asClaimAssets: { + readonly assets: XcmVersionedAssets; + readonly beneficiary: XcmVersionedLocation; + } & Struct; + readonly isTransferAssetsUsingTypeAndThen: boolean; + readonly asTransferAssetsUsingTypeAndThen: { + readonly dest: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; + readonly assetsTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly remoteFeesId: XcmVersionedAssetId; + readonly feesTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly customXcmOnDest: XcmVersionedXcm; + readonly weightLimit: XcmV3WeightLimit; + } & Struct; readonly type: | "Send" | "TeleportAssets" @@ -3020,10 +3067,12 @@ declare module "@polkadot/types/lookup" { | "LimitedReserveTransferAssets" | "LimitedTeleportAssets" | "ForceSuspension" - | "TransferAssets"; + | "TransferAssets" + | "ClaimAssets" + | "TransferAssetsUsingTypeAndThen"; } - /** @name XcmVersionedLocation (238) */ + /** @name XcmVersionedLocation (234) */ interface XcmVersionedLocation extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiLocation; @@ -3034,13 +3083,13 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name XcmV2MultiLocation (239) */ + /** @name XcmV2MultiLocation (235) */ interface XcmV2MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV2MultilocationJunctions; } - /** @name XcmV2MultilocationJunctions (240) */ + /** @name XcmV2MultilocationJunctions (236) */ interface XcmV2MultilocationJunctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -3087,7 +3136,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name XcmV2Junction (241) */ + /** @name XcmV2Junction (237) */ interface XcmV2Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -3130,7 +3179,7 @@ declare module "@polkadot/types/lookup" { | "Plurality"; } - /** @name XcmV2NetworkId (242) */ + /** @name XcmV2NetworkId (238) */ interface XcmV2NetworkId extends Enum { readonly isAny: boolean; readonly isNamed: boolean; @@ -3140,7 +3189,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Any" | "Named" | "Polkadot" | "Kusama"; } - /** @name XcmV2BodyId (244) */ + /** @name XcmV2BodyId (240) */ interface XcmV2BodyId extends Enum { readonly isUnit: boolean; readonly isNamed: boolean; @@ -3167,7 +3216,7 @@ declare module "@polkadot/types/lookup" { | "Treasury"; } - /** @name XcmV2BodyPart (245) */ + /** @name XcmV2BodyPart (241) */ interface XcmV2BodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -3192,13 +3241,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion"; } - /** @name StagingXcmV3MultiLocation (246) */ + /** @name StagingXcmV3MultiLocation (242) */ interface StagingXcmV3MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV3Junctions; } - /** @name XcmV3Junctions (247) */ + /** @name XcmV3Junctions (243) */ interface XcmV3Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -3245,7 +3294,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name XcmV3Junction (248) */ + /** @name XcmV3Junction (244) */ interface XcmV3Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -3294,7 +3343,7 @@ declare module "@polkadot/types/lookup" { | "GlobalConsensus"; } - /** @name XcmV3JunctionNetworkId (250) */ + /** @name XcmV3JunctionNetworkId (246) */ interface XcmV3JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; @@ -3329,7 +3378,7 @@ declare module "@polkadot/types/lookup" { | "PolkadotBulletin"; } - /** @name XcmVersionedXcm (251) */ + /** @name XcmVersionedXcm (247) */ interface XcmVersionedXcm extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Xcm; @@ -3340,10 +3389,10 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name XcmV2Xcm (252) */ + /** @name XcmV2Xcm (248) */ interface XcmV2Xcm extends Vec {} - /** @name XcmV2Instruction (254) */ + /** @name XcmV2Instruction (250) */ interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; @@ -3491,16 +3540,16 @@ declare module "@polkadot/types/lookup" { | "UnsubscribeVersion"; } - /** @name XcmV2MultiassetMultiAssets (255) */ + /** @name XcmV2MultiassetMultiAssets (251) */ interface XcmV2MultiassetMultiAssets extends Vec {} - /** @name XcmV2MultiAsset (257) */ + /** @name XcmV2MultiAsset (253) */ interface XcmV2MultiAsset extends Struct { readonly id: XcmV2MultiassetAssetId; readonly fun: XcmV2MultiassetFungibility; } - /** @name XcmV2MultiassetAssetId (258) */ + /** @name XcmV2MultiassetAssetId (254) */ interface XcmV2MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: XcmV2MultiLocation; @@ -3509,7 +3558,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Concrete" | "Abstract"; } - /** @name XcmV2MultiassetFungibility (259) */ + /** @name XcmV2MultiassetFungibility (255) */ interface XcmV2MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -3518,7 +3567,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV2MultiassetAssetInstance (260) */ + /** @name XcmV2MultiassetAssetInstance (256) */ interface XcmV2MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -3536,7 +3585,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32" | "Blob"; } - /** @name XcmV2Response (261) */ + /** @name XcmV2Response (257) */ interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -3548,7 +3597,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Null" | "Assets" | "ExecutionResult" | "Version"; } - /** @name XcmV2TraitsError (264) */ + /** @name XcmV2TraitsError (260) */ interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -3607,7 +3656,7 @@ declare module "@polkadot/types/lookup" { | "WeightNotComputable"; } - /** @name XcmV2OriginKind (265) */ + /** @name XcmV2OriginKind (261) */ interface XcmV2OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; @@ -3616,12 +3665,12 @@ declare module "@polkadot/types/lookup" { readonly type: "Native" | "SovereignAccount" | "Superuser" | "Xcm"; } - /** @name XcmDoubleEncoded (266) */ + /** @name XcmDoubleEncoded (262) */ interface XcmDoubleEncoded extends Struct { readonly encoded: Bytes; } - /** @name XcmV2MultiassetMultiAssetFilter (267) */ + /** @name XcmV2MultiassetMultiAssetFilter (263) */ interface XcmV2MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV2MultiassetMultiAssets; @@ -3630,7 +3679,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name XcmV2MultiassetWildMultiAsset (268) */ + /** @name XcmV2MultiassetWildMultiAsset (264) */ interface XcmV2MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -3641,14 +3690,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf"; } - /** @name XcmV2MultiassetWildFungibility (269) */ + /** @name XcmV2MultiassetWildFungibility (265) */ interface XcmV2MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV2WeightLimit (270) */ + /** @name XcmV2WeightLimit (266) */ interface XcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -3656,10 +3705,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Unlimited" | "Limited"; } - /** @name XcmV3Xcm (271) */ + /** @name XcmV3Xcm (267) */ interface XcmV3Xcm extends Vec {} - /** @name XcmV3Instruction (273) */ + /** @name XcmV3Instruction (269) */ interface XcmV3Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV3MultiassetMultiAssets; @@ -3889,16 +3938,16 @@ declare module "@polkadot/types/lookup" { | "UnpaidExecution"; } - /** @name XcmV3MultiassetMultiAssets (274) */ + /** @name XcmV3MultiassetMultiAssets (270) */ interface XcmV3MultiassetMultiAssets extends Vec {} - /** @name XcmV3MultiAsset (276) */ + /** @name XcmV3MultiAsset (272) */ interface XcmV3MultiAsset extends Struct { readonly id: XcmV3MultiassetAssetId; readonly fun: XcmV3MultiassetFungibility; } - /** @name XcmV3MultiassetAssetId (277) */ + /** @name XcmV3MultiassetAssetId (273) */ interface XcmV3MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: StagingXcmV3MultiLocation; @@ -3907,7 +3956,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Concrete" | "Abstract"; } - /** @name XcmV3MultiassetFungibility (278) */ + /** @name XcmV3MultiassetFungibility (274) */ interface XcmV3MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -3916,7 +3965,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV3MultiassetAssetInstance (279) */ + /** @name XcmV3MultiassetAssetInstance (275) */ interface XcmV3MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -3932,7 +3981,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32"; } - /** @name XcmV3Response (280) */ + /** @name XcmV3Response (276) */ interface XcmV3Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -3954,7 +4003,7 @@ declare module "@polkadot/types/lookup" { | "DispatchResult"; } - /** @name XcmV3TraitsError (283) */ + /** @name XcmV3TraitsError (279) */ interface XcmV3TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -4041,7 +4090,7 @@ declare module "@polkadot/types/lookup" { | "ExceedsStackLimit"; } - /** @name XcmV3PalletInfo (285) */ + /** @name XcmV3PalletInfo (281) */ interface XcmV3PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; @@ -4051,7 +4100,7 @@ declare module "@polkadot/types/lookup" { readonly patch: Compact; } - /** @name XcmV3MaybeErrorCode (288) */ + /** @name XcmV3MaybeErrorCode (284) */ interface XcmV3MaybeErrorCode extends Enum { readonly isSuccess: boolean; readonly isError: boolean; @@ -4061,14 +4110,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Success" | "Error" | "TruncatedError"; } - /** @name XcmV3QueryResponseInfo (291) */ + /** @name XcmV3QueryResponseInfo (287) */ interface XcmV3QueryResponseInfo extends Struct { readonly destination: StagingXcmV3MultiLocation; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name XcmV3MultiassetMultiAssetFilter (292) */ + /** @name XcmV3MultiassetMultiAssetFilter (288) */ interface XcmV3MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV3MultiassetMultiAssets; @@ -4077,7 +4126,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name XcmV3MultiassetWildMultiAsset (293) */ + /** @name XcmV3MultiassetWildMultiAsset (289) */ interface XcmV3MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4096,14 +4145,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted"; } - /** @name XcmV3MultiassetWildFungibility (294) */ + /** @name XcmV3MultiassetWildFungibility (290) */ interface XcmV3MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV3WeightLimit (295) */ + /** @name XcmV3WeightLimit (291) */ interface XcmV3WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -4111,10 +4160,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Unlimited" | "Limited"; } - /** @name StagingXcmV4Xcm (296) */ + /** @name StagingXcmV4Xcm (292) */ interface StagingXcmV4Xcm extends Vec {} - /** @name StagingXcmV4Instruction (298) */ + /** @name StagingXcmV4Instruction (294) */ interface StagingXcmV4Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: StagingXcmV4AssetAssets; @@ -4344,19 +4393,19 @@ declare module "@polkadot/types/lookup" { | "UnpaidExecution"; } - /** @name StagingXcmV4AssetAssets (299) */ + /** @name StagingXcmV4AssetAssets (295) */ interface StagingXcmV4AssetAssets extends Vec {} - /** @name StagingXcmV4Asset (301) */ + /** @name StagingXcmV4Asset (297) */ interface StagingXcmV4Asset extends Struct { readonly id: StagingXcmV4AssetAssetId; readonly fun: StagingXcmV4AssetFungibility; } - /** @name StagingXcmV4AssetAssetId (302) */ + /** @name StagingXcmV4AssetAssetId (298) */ interface StagingXcmV4AssetAssetId extends StagingXcmV4Location {} - /** @name StagingXcmV4AssetFungibility (303) */ + /** @name StagingXcmV4AssetFungibility (299) */ interface StagingXcmV4AssetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -4365,7 +4414,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name StagingXcmV4AssetAssetInstance (304) */ + /** @name StagingXcmV4AssetAssetInstance (300) */ interface StagingXcmV4AssetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -4381,7 +4430,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32"; } - /** @name StagingXcmV4Response (305) */ + /** @name StagingXcmV4Response (301) */ interface StagingXcmV4Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4403,7 +4452,7 @@ declare module "@polkadot/types/lookup" { | "DispatchResult"; } - /** @name StagingXcmV4PalletInfo (307) */ + /** @name StagingXcmV4PalletInfo (303) */ interface StagingXcmV4PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; @@ -4413,14 +4462,14 @@ declare module "@polkadot/types/lookup" { readonly patch: Compact; } - /** @name StagingXcmV4QueryResponseInfo (311) */ + /** @name StagingXcmV4QueryResponseInfo (307) */ interface StagingXcmV4QueryResponseInfo extends Struct { readonly destination: StagingXcmV4Location; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name StagingXcmV4AssetAssetFilter (312) */ + /** @name StagingXcmV4AssetAssetFilter (308) */ interface StagingXcmV4AssetAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: StagingXcmV4AssetAssets; @@ -4429,7 +4478,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name StagingXcmV4AssetWildAsset (313) */ + /** @name StagingXcmV4AssetWildAsset (309) */ interface StagingXcmV4AssetWildAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4448,14 +4497,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted"; } - /** @name StagingXcmV4AssetWildFungibility (314) */ + /** @name StagingXcmV4AssetWildFungibility (310) */ interface StagingXcmV4AssetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmVersionedAssets (315) */ + /** @name XcmVersionedAssets (311) */ interface XcmVersionedAssets extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiassetMultiAssets; @@ -4466,7 +4515,26 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name PalletAssetsCall (327) */ + /** @name StagingXcmExecutorAssetTransferTransferType (323) */ + interface StagingXcmExecutorAssetTransferTransferType extends Enum { + readonly isTeleport: boolean; + readonly isLocalReserve: boolean; + readonly isDestinationReserve: boolean; + readonly isRemoteReserve: boolean; + readonly asRemoteReserve: XcmVersionedLocation; + readonly type: "Teleport" | "LocalReserve" | "DestinationReserve" | "RemoteReserve"; + } + + /** @name XcmVersionedAssetId (324) */ + interface XcmVersionedAssetId extends Enum { + readonly isV3: boolean; + readonly asV3: XcmV3MultiassetAssetId; + readonly isV4: boolean; + readonly asV4: StagingXcmV4AssetAssetId; + readonly type: "V3" | "V4"; + } + + /** @name PalletAssetsCall (325) */ interface PalletAssetsCall extends Enum { readonly isCreate: boolean; readonly asCreate: { @@ -4680,7 +4748,7 @@ declare module "@polkadot/types/lookup" { | "Block"; } - /** @name PalletAssetManagerCall (328) */ + /** @name PalletAssetManagerCall (326) */ interface PalletAssetManagerCall extends Enum { readonly isRegisterForeignAsset: boolean; readonly asRegisterForeignAsset: { @@ -4725,14 +4793,14 @@ declare module "@polkadot/types/lookup" { | "DestroyForeignAsset"; } - /** @name MoonriverRuntimeXcmConfigAssetType (329) */ + /** @name MoonriverRuntimeXcmConfigAssetType (327) */ interface MoonriverRuntimeXcmConfigAssetType extends Enum { readonly isXcm: boolean; readonly asXcm: StagingXcmV3MultiLocation; readonly type: "Xcm"; } - /** @name MoonriverRuntimeAssetConfigAssetRegistrarMetadata (330) */ + /** @name MoonriverRuntimeAssetConfigAssetRegistrarMetadata (328) */ interface MoonriverRuntimeAssetConfigAssetRegistrarMetadata extends Struct { readonly name: Bytes; readonly symbol: Bytes; @@ -4740,7 +4808,7 @@ declare module "@polkadot/types/lookup" { readonly isFrozen: bool; } - /** @name OrmlXtokensModuleCall (331) */ + /** @name OrmlXtokensModuleCall (329) */ interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -4793,7 +4861,7 @@ declare module "@polkadot/types/lookup" { | "TransferMultiassets"; } - /** @name MoonriverRuntimeXcmConfigCurrencyId (332) */ + /** @name MoonriverRuntimeXcmConfigCurrencyId (330) */ interface MoonriverRuntimeXcmConfigCurrencyId extends Enum { readonly isSelfReserve: boolean; readonly isForeignAsset: boolean; @@ -4805,7 +4873,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SelfReserve" | "ForeignAsset" | "Erc20"; } - /** @name XcmVersionedAsset (333) */ + /** @name XcmVersionedAsset (331) */ interface XcmVersionedAsset extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiAsset; @@ -4816,7 +4884,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name PalletXcmTransactorCall (336) */ + /** @name PalletXcmTransactorCall (334) */ interface PalletXcmTransactorCall extends Enum { readonly isRegister: boolean; readonly asRegister: { @@ -4893,19 +4961,19 @@ declare module "@polkadot/types/lookup" { | "HrmpManage"; } - /** @name MoonriverRuntimeXcmConfigTransactors (337) */ + /** @name MoonriverRuntimeXcmConfigTransactors (335) */ interface MoonriverRuntimeXcmConfigTransactors extends Enum { readonly isRelay: boolean; readonly type: "Relay"; } - /** @name PalletXcmTransactorCurrencyPayment (338) */ + /** @name PalletXcmTransactorCurrencyPayment (336) */ interface PalletXcmTransactorCurrencyPayment extends Struct { readonly currency: PalletXcmTransactorCurrency; readonly feeAmount: Option; } - /** @name PalletXcmTransactorCurrency (339) */ + /** @name PalletXcmTransactorCurrency (337) */ interface PalletXcmTransactorCurrency extends Enum { readonly isAsCurrencyId: boolean; readonly asAsCurrencyId: MoonriverRuntimeXcmConfigCurrencyId; @@ -4914,13 +4982,13 @@ declare module "@polkadot/types/lookup" { readonly type: "AsCurrencyId" | "AsMultiLocation"; } - /** @name PalletXcmTransactorTransactWeights (341) */ + /** @name PalletXcmTransactorTransactWeights (339) */ interface PalletXcmTransactorTransactWeights extends Struct { readonly transactRequiredWeightAtMost: SpWeightsWeightV2Weight; readonly overallWeight: Option; } - /** @name PalletXcmTransactorHrmpOperation (344) */ + /** @name PalletXcmTransactorHrmpOperation (342) */ interface PalletXcmTransactorHrmpOperation extends Enum { readonly isInitOpen: boolean; readonly asInitOpen: PalletXcmTransactorHrmpInitParams; @@ -4938,20 +5006,20 @@ declare module "@polkadot/types/lookup" { readonly type: "InitOpen" | "Accept" | "Close" | "Cancel"; } - /** @name PalletXcmTransactorHrmpInitParams (345) */ + /** @name PalletXcmTransactorHrmpInitParams (343) */ interface PalletXcmTransactorHrmpInitParams extends Struct { readonly paraId: u32; readonly proposedMaxCapacity: u32; readonly proposedMaxMessageSize: u32; } - /** @name PolkadotParachainPrimitivesPrimitivesHrmpChannelId (346) */ + /** @name PolkadotParachainPrimitivesPrimitivesHrmpChannelId (344) */ interface PolkadotParachainPrimitivesPrimitivesHrmpChannelId extends Struct { readonly sender: u32; readonly recipient: u32; } - /** @name PalletEthereumXcmCall (347) */ + /** @name PalletEthereumXcmCall (345) */ interface PalletEthereumXcmCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -4971,7 +5039,7 @@ declare module "@polkadot/types/lookup" { | "ResumeEthereumXcmExecution"; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransaction (348) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransaction (346) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransaction extends Enum { readonly isV1: boolean; readonly asV1: XcmPrimitivesEthereumXcmEthereumXcmTransactionV1; @@ -4980,7 +5048,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V1" | "V2"; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 (349) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 (347) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 extends Struct { readonly gasLimit: U256; readonly feePayment: XcmPrimitivesEthereumXcmEthereumXcmFee; @@ -4990,7 +5058,7 @@ declare module "@polkadot/types/lookup" { readonly accessList: Option]>>>; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmFee (350) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmFee (348) */ interface XcmPrimitivesEthereumXcmEthereumXcmFee extends Enum { readonly isManual: boolean; readonly asManual: XcmPrimitivesEthereumXcmManualEthereumXcmFee; @@ -4998,13 +5066,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Manual" | "Auto"; } - /** @name XcmPrimitivesEthereumXcmManualEthereumXcmFee (351) */ + /** @name XcmPrimitivesEthereumXcmManualEthereumXcmFee (349) */ interface XcmPrimitivesEthereumXcmManualEthereumXcmFee extends Struct { readonly gasPrice: Option; readonly maxFeePerGas: Option; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 (354) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 (352) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 extends Struct { readonly gasLimit: U256; readonly action: EthereumTransactionTransactionAction; @@ -5013,7 +5081,7 @@ declare module "@polkadot/types/lookup" { readonly accessList: Option]>>>; } - /** @name PalletMessageQueueCall (355) */ + /** @name PalletMessageQueueCall (353) */ interface PalletMessageQueueCall extends Enum { readonly isReapPage: boolean; readonly asReapPage: { @@ -5030,7 +5098,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ReapPage" | "ExecuteOverweight"; } - /** @name CumulusPrimitivesCoreAggregateMessageOrigin (356) */ + /** @name CumulusPrimitivesCoreAggregateMessageOrigin (354) */ interface CumulusPrimitivesCoreAggregateMessageOrigin extends Enum { readonly isHere: boolean; readonly isParent: boolean; @@ -5039,23 +5107,23 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "Parent" | "Sibling"; } - /** @name PalletRandomnessCall (357) */ + /** @name PalletRandomnessCall (355) */ interface PalletRandomnessCall extends Enum { readonly isSetBabeRandomnessResults: boolean; readonly type: "SetBabeRandomnessResults"; } - /** @name SpRuntimeBlakeTwo256 (358) */ + /** @name SpRuntimeBlakeTwo256 (356) */ type SpRuntimeBlakeTwo256 = Null; - /** @name PalletConvictionVotingTally (360) */ + /** @name PalletConvictionVotingTally (358) */ interface PalletConvictionVotingTally extends Struct { readonly ayes: u128; readonly nays: u128; readonly support: u128; } - /** @name PalletWhitelistEvent (361) */ + /** @name PalletWhitelistEvent (359) */ interface PalletWhitelistEvent extends Enum { readonly isCallWhitelisted: boolean; readonly asCallWhitelisted: { @@ -5076,19 +5144,19 @@ declare module "@polkadot/types/lookup" { readonly type: "CallWhitelisted" | "WhitelistedCallRemoved" | "WhitelistedCallDispatched"; } - /** @name FrameSupportDispatchPostDispatchInfo (363) */ + /** @name FrameSupportDispatchPostDispatchInfo (361) */ interface FrameSupportDispatchPostDispatchInfo extends Struct { readonly actualWeight: Option; readonly paysFee: FrameSupportDispatchPays; } - /** @name SpRuntimeDispatchErrorWithPostInfo (364) */ + /** @name SpRuntimeDispatchErrorWithPostInfo (362) */ interface SpRuntimeDispatchErrorWithPostInfo extends Struct { readonly postInfo: FrameSupportDispatchPostDispatchInfo; readonly error: SpRuntimeDispatchError; } - /** @name PalletCollectiveEvent (365) */ + /** @name PalletCollectiveEvent (363) */ interface PalletCollectiveEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { @@ -5139,7 +5207,7 @@ declare module "@polkadot/types/lookup" { | "Closed"; } - /** @name PalletTreasuryEvent (367) */ + /** @name PalletTreasuryEvent (365) */ interface PalletTreasuryEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { @@ -5227,7 +5295,7 @@ declare module "@polkadot/types/lookup" { | "SpendProcessed"; } - /** @name PalletCrowdloanRewardsEvent (368) */ + /** @name PalletCrowdloanRewardsEvent (366) */ interface PalletCrowdloanRewardsEvent extends Enum { readonly isInitialPaymentMade: boolean; readonly asInitialPaymentMade: ITuple<[AccountId20, u128]>; @@ -5252,7 +5320,7 @@ declare module "@polkadot/types/lookup" { | "InitializedAccountWithNotEnoughContribution"; } - /** @name CumulusPalletXcmpQueueEvent (369) */ + /** @name CumulusPalletXcmpQueueEvent (367) */ interface CumulusPalletXcmpQueueEvent extends Enum { readonly isXcmpMessageSent: boolean; readonly asXcmpMessageSent: { @@ -5261,7 +5329,7 @@ declare module "@polkadot/types/lookup" { readonly type: "XcmpMessageSent"; } - /** @name CumulusPalletXcmEvent (370) */ + /** @name CumulusPalletXcmEvent (368) */ interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; @@ -5272,7 +5340,7 @@ declare module "@polkadot/types/lookup" { readonly type: "InvalidFormat" | "UnsupportedVersion" | "ExecutedDownward"; } - /** @name StagingXcmV4TraitsOutcome (371) */ + /** @name StagingXcmV4TraitsOutcome (369) */ interface StagingXcmV4TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: { @@ -5290,7 +5358,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Complete" | "Incomplete" | "Error"; } - /** @name CumulusPalletDmpQueueEvent (372) */ + /** @name CumulusPalletDmpQueueEvent (370) */ interface CumulusPalletDmpQueueEvent extends Enum { readonly isStartedExport: boolean; readonly isExported: boolean; @@ -5335,7 +5403,7 @@ declare module "@polkadot/types/lookup" { | "Completed"; } - /** @name PalletXcmEvent (373) */ + /** @name PalletXcmEvent (371) */ interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: { @@ -5500,7 +5568,7 @@ declare module "@polkadot/types/lookup" { | "VersionMigrationFinished"; } - /** @name PalletAssetsEvent (374) */ + /** @name PalletAssetsEvent (372) */ interface PalletAssetsEvent extends Enum { readonly isCreated: boolean; readonly asCreated: { @@ -5662,7 +5730,7 @@ declare module "@polkadot/types/lookup" { | "Blocked"; } - /** @name PalletAssetManagerEvent (375) */ + /** @name PalletAssetManagerEvent (373) */ interface PalletAssetManagerEvent extends Enum { readonly isForeignAssetRegistered: boolean; readonly asForeignAssetRegistered: { @@ -5708,7 +5776,7 @@ declare module "@polkadot/types/lookup" { | "LocalAssetDestroyed"; } - /** @name OrmlXtokensModuleEvent (376) */ + /** @name OrmlXtokensModuleEvent (374) */ interface OrmlXtokensModuleEvent extends Enum { readonly isTransferredAssets: boolean; readonly asTransferredAssets: { @@ -5720,7 +5788,7 @@ declare module "@polkadot/types/lookup" { readonly type: "TransferredAssets"; } - /** @name PalletXcmTransactorEvent (377) */ + /** @name PalletXcmTransactorEvent (375) */ interface PalletXcmTransactorEvent extends Enum { readonly isTransactedDerivative: boolean; readonly asTransactedDerivative: { @@ -5790,14 +5858,14 @@ declare module "@polkadot/types/lookup" { | "HrmpManagementSent"; } - /** @name PalletXcmTransactorRemoteTransactInfoWithMaxWeight (378) */ + /** @name PalletXcmTransactorRemoteTransactInfoWithMaxWeight (376) */ interface PalletXcmTransactorRemoteTransactInfoWithMaxWeight extends Struct { readonly transactExtraWeight: SpWeightsWeightV2Weight; readonly maxWeight: SpWeightsWeightV2Weight; readonly transactExtraWeightSigned: Option; } - /** @name PalletMessageQueueEvent (379) */ + /** @name PalletMessageQueueEvent (377) */ interface PalletMessageQueueEvent extends Enum { readonly isProcessingFailed: boolean; readonly asProcessingFailed: { @@ -5827,7 +5895,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ProcessingFailed" | "Processed" | "OverweightEnqueued" | "PageReaped"; } - /** @name FrameSupportMessagesProcessMessageError (380) */ + /** @name FrameSupportMessagesProcessMessageError (378) */ interface FrameSupportMessagesProcessMessageError extends Enum { readonly isBadFormat: boolean; readonly isCorrupt: boolean; @@ -5838,7 +5906,7 @@ declare module "@polkadot/types/lookup" { readonly type: "BadFormat" | "Corrupt" | "Unsupported" | "Overweight" | "Yield"; } - /** @name PalletRandomnessEvent (381) */ + /** @name PalletRandomnessEvent (379) */ interface PalletRandomnessEvent extends Enum { readonly isRandomnessRequestedBabeEpoch: boolean; readonly asRandomnessRequestedBabeEpoch: { @@ -5883,7 +5951,7 @@ declare module "@polkadot/types/lookup" { | "RequestExpirationExecuted"; } - /** @name FrameSystemPhase (382) */ + /** @name FrameSystemPhase (380) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -5892,33 +5960,33 @@ declare module "@polkadot/types/lookup" { readonly type: "ApplyExtrinsic" | "Finalization" | "Initialization"; } - /** @name FrameSystemLastRuntimeUpgradeInfo (384) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (382) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCodeUpgradeAuthorization (385) */ + /** @name FrameSystemCodeUpgradeAuthorization (383) */ interface FrameSystemCodeUpgradeAuthorization extends Struct { readonly codeHash: H256; readonly checkVersion: bool; } - /** @name FrameSystemLimitsBlockWeights (386) */ + /** @name FrameSystemLimitsBlockWeights (384) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (387) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (385) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (388) */ + /** @name FrameSystemLimitsWeightsPerClass (386) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -5926,25 +5994,25 @@ declare module "@polkadot/types/lookup" { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (389) */ + /** @name FrameSystemLimitsBlockLength (387) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (390) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (388) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (391) */ + /** @name SpWeightsRuntimeDbWeight (389) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (392) */ + /** @name SpVersionRuntimeVersion (390) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -5956,7 +6024,7 @@ declare module "@polkadot/types/lookup" { readonly stateVersion: u8; } - /** @name FrameSystemError (396) */ + /** @name FrameSystemError (394) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -5964,6 +6032,7 @@ declare module "@polkadot/types/lookup" { readonly isNonDefaultComposite: boolean; readonly isNonZeroRefCount: boolean; readonly isCallFiltered: boolean; + readonly isMultiBlockMigrationsOngoing: boolean; readonly isNothingAuthorized: boolean; readonly isUnauthorized: boolean; readonly type: @@ -5973,18 +6042,19 @@ declare module "@polkadot/types/lookup" { | "NonDefaultComposite" | "NonZeroRefCount" | "CallFiltered" + | "MultiBlockMigrationsOngoing" | "NothingAuthorized" | "Unauthorized"; } - /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (398) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (396) */ interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (399) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (397) */ interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct { readonly umpMsgCount: u32; readonly umpTotalBytes: u32; @@ -5994,49 +6064,49 @@ declare module "@polkadot/types/lookup" { >; } - /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (401) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (399) */ interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct { readonly msgCount: u32; readonly totalBytes: u32; } - /** @name PolkadotPrimitivesV6UpgradeGoAhead (405) */ - interface PolkadotPrimitivesV6UpgradeGoAhead extends Enum { + /** @name PolkadotPrimitivesV7UpgradeGoAhead (403) */ + interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: "Abort" | "GoAhead"; } - /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (406) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (404) */ interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name PolkadotPrimitivesV6UpgradeRestriction (408) */ - interface PolkadotPrimitivesV6UpgradeRestriction extends Enum { + /** @name PolkadotPrimitivesV7UpgradeRestriction (406) */ + interface PolkadotPrimitivesV7UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: "Present"; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (409) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (407) */ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (410) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (408) */ interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct { readonly remainingCount: u32; readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV6AbridgedHrmpChannel (413) */ - interface PolkadotPrimitivesV6AbridgedHrmpChannel extends Struct { + /** @name PolkadotPrimitivesV7AbridgedHrmpChannel (411) */ + interface PolkadotPrimitivesV7AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -6045,8 +6115,8 @@ declare module "@polkadot/types/lookup" { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV6AbridgedHostConfiguration (414) */ - interface PolkadotPrimitivesV6AbridgedHostConfiguration extends Struct { + /** @name PolkadotPrimitivesV7AbridgedHostConfiguration (412) */ + interface PolkadotPrimitivesV7AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -6056,22 +6126,22 @@ declare module "@polkadot/types/lookup" { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; - readonly asyncBackingParams: PolkadotPrimitivesV6AsyncBackingAsyncBackingParams; + readonly asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; } - /** @name PolkadotPrimitivesV6AsyncBackingAsyncBackingParams (415) */ - interface PolkadotPrimitivesV6AsyncBackingAsyncBackingParams extends Struct { + /** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams (413) */ + interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } - /** @name PolkadotCorePrimitivesOutboundHrmpMessage (421) */ + /** @name PolkadotCorePrimitivesOutboundHrmpMessage (419) */ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } - /** @name CumulusPalletParachainSystemError (423) */ + /** @name CumulusPalletParachainSystemError (421) */ interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; @@ -6092,14 +6162,14 @@ declare module "@polkadot/types/lookup" { | "Unauthorized"; } - /** @name PalletBalancesBalanceLock (425) */ + /** @name PalletBalancesBalanceLock (423) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (426) */ + /** @name PalletBalancesReasons (424) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -6107,32 +6177,32 @@ declare module "@polkadot/types/lookup" { readonly type: "Fee" | "Misc" | "All"; } - /** @name PalletBalancesReserveData (429) */ + /** @name PalletBalancesReserveData (427) */ interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name MoonriverRuntimeRuntimeHoldReason (433) */ + /** @name MoonriverRuntimeRuntimeHoldReason (431) */ interface MoonriverRuntimeRuntimeHoldReason extends Enum { readonly isPreimage: boolean; readonly asPreimage: PalletPreimageHoldReason; readonly type: "Preimage"; } - /** @name PalletPreimageHoldReason (434) */ + /** @name PalletPreimageHoldReason (432) */ interface PalletPreimageHoldReason extends Enum { readonly isPreimage: boolean; readonly type: "Preimage"; } - /** @name PalletBalancesIdAmount (437) */ + /** @name PalletBalancesIdAmount (435) */ interface PalletBalancesIdAmount extends Struct { readonly id: Null; readonly amount: u128; } - /** @name PalletBalancesError (439) */ + /** @name PalletBalancesError (437) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -6161,20 +6231,20 @@ declare module "@polkadot/types/lookup" { | "DeltaZero"; } - /** @name PalletTransactionPaymentReleases (440) */ + /** @name PalletTransactionPaymentReleases (438) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: "V1Ancient" | "V2"; } - /** @name PalletParachainStakingParachainBondConfig (441) */ + /** @name PalletParachainStakingParachainBondConfig (439) */ interface PalletParachainStakingParachainBondConfig extends Struct { readonly account: AccountId20; readonly percent: Percent; } - /** @name PalletParachainStakingRoundInfo (442) */ + /** @name PalletParachainStakingRoundInfo (440) */ interface PalletParachainStakingRoundInfo extends Struct { readonly current: u32; readonly first: u32; @@ -6182,7 +6252,7 @@ declare module "@polkadot/types/lookup" { readonly firstSlot: u64; } - /** @name PalletParachainStakingDelegator (443) */ + /** @name PalletParachainStakingDelegator (441) */ interface PalletParachainStakingDelegator extends Struct { readonly id: AccountId20; readonly delegations: PalletParachainStakingSetOrderedSet; @@ -6191,16 +6261,16 @@ declare module "@polkadot/types/lookup" { readonly status: PalletParachainStakingDelegatorStatus; } - /** @name PalletParachainStakingSetOrderedSet (444) */ + /** @name PalletParachainStakingSetOrderedSet (442) */ interface PalletParachainStakingSetOrderedSet extends Vec {} - /** @name PalletParachainStakingBond (445) */ + /** @name PalletParachainStakingBond (443) */ interface PalletParachainStakingBond extends Struct { readonly owner: AccountId20; readonly amount: u128; } - /** @name PalletParachainStakingDelegatorStatus (447) */ + /** @name PalletParachainStakingDelegatorStatus (445) */ interface PalletParachainStakingDelegatorStatus extends Enum { readonly isActive: boolean; readonly isLeaving: boolean; @@ -6208,7 +6278,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Active" | "Leaving"; } - /** @name PalletParachainStakingCandidateMetadata (448) */ + /** @name PalletParachainStakingCandidateMetadata (446) */ interface PalletParachainStakingCandidateMetadata extends Struct { readonly bond: u128; readonly delegationCount: u32; @@ -6222,7 +6292,7 @@ declare module "@polkadot/types/lookup" { readonly status: PalletParachainStakingCollatorStatus; } - /** @name PalletParachainStakingCapacityStatus (449) */ + /** @name PalletParachainStakingCapacityStatus (447) */ interface PalletParachainStakingCapacityStatus extends Enum { readonly isFull: boolean; readonly isEmpty: boolean; @@ -6230,13 +6300,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Full" | "Empty" | "Partial"; } - /** @name PalletParachainStakingCandidateBondLessRequest (451) */ + /** @name PalletParachainStakingCandidateBondLessRequest (449) */ interface PalletParachainStakingCandidateBondLessRequest extends Struct { readonly amount: u128; readonly whenExecutable: u32; } - /** @name PalletParachainStakingCollatorStatus (452) */ + /** @name PalletParachainStakingCollatorStatus (450) */ interface PalletParachainStakingCollatorStatus extends Enum { readonly isActive: boolean; readonly isIdle: boolean; @@ -6245,50 +6315,50 @@ declare module "@polkadot/types/lookup" { readonly type: "Active" | "Idle" | "Leaving"; } - /** @name PalletParachainStakingDelegationRequestsScheduledRequest (454) */ + /** @name PalletParachainStakingDelegationRequestsScheduledRequest (452) */ interface PalletParachainStakingDelegationRequestsScheduledRequest extends Struct { readonly delegator: AccountId20; readonly whenExecutable: u32; readonly action: PalletParachainStakingDelegationRequestsDelegationAction; } - /** @name PalletParachainStakingAutoCompoundAutoCompoundConfig (457) */ + /** @name PalletParachainStakingAutoCompoundAutoCompoundConfig (455) */ interface PalletParachainStakingAutoCompoundAutoCompoundConfig extends Struct { readonly delegator: AccountId20; readonly value: Percent; } - /** @name PalletParachainStakingDelegations (459) */ + /** @name PalletParachainStakingDelegations (457) */ interface PalletParachainStakingDelegations extends Struct { readonly delegations: Vec; readonly total: u128; } - /** @name PalletParachainStakingSetBoundedOrderedSet (461) */ + /** @name PalletParachainStakingSetBoundedOrderedSet (459) */ interface PalletParachainStakingSetBoundedOrderedSet extends Vec {} - /** @name PalletParachainStakingCollatorSnapshot (464) */ + /** @name PalletParachainStakingCollatorSnapshot (462) */ interface PalletParachainStakingCollatorSnapshot extends Struct { readonly bond: u128; readonly delegations: Vec; readonly total: u128; } - /** @name PalletParachainStakingBondWithAutoCompound (466) */ + /** @name PalletParachainStakingBondWithAutoCompound (464) */ interface PalletParachainStakingBondWithAutoCompound extends Struct { readonly owner: AccountId20; readonly amount: u128; readonly autoCompound: Percent; } - /** @name PalletParachainStakingDelayedPayout (467) */ + /** @name PalletParachainStakingDelayedPayout (465) */ interface PalletParachainStakingDelayedPayout extends Struct { readonly roundIssuance: u128; readonly totalStakingReward: u128; readonly collatorCommission: Perbill; } - /** @name PalletParachainStakingInflationInflationInfo (468) */ + /** @name PalletParachainStakingInflationInflationInfo (466) */ interface PalletParachainStakingInflationInflationInfo extends Struct { readonly expect: { readonly min: u128; @@ -6307,7 +6377,7 @@ declare module "@polkadot/types/lookup" { } & Struct; } - /** @name PalletParachainStakingError (469) */ + /** @name PalletParachainStakingError (467) */ interface PalletParachainStakingError extends Enum { readonly isDelegatorDNE: boolean; readonly isDelegatorDNEinTopNorBottom: boolean; @@ -6422,7 +6492,7 @@ declare module "@polkadot/types/lookup" { | "CurrentRoundTooLow"; } - /** @name PalletAuthorInherentError (470) */ + /** @name PalletAuthorInherentError (468) */ interface PalletAuthorInherentError extends Enum { readonly isAuthorAlreadySet: boolean; readonly isNoAccountId: boolean; @@ -6430,14 +6500,14 @@ declare module "@polkadot/types/lookup" { readonly type: "AuthorAlreadySet" | "NoAccountId" | "CannotBeAuthor"; } - /** @name PalletAuthorMappingRegistrationInfo (471) */ + /** @name PalletAuthorMappingRegistrationInfo (469) */ interface PalletAuthorMappingRegistrationInfo extends Struct { readonly account: AccountId20; readonly deposit: u128; readonly keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } - /** @name PalletAuthorMappingError (472) */ + /** @name PalletAuthorMappingError (470) */ interface PalletAuthorMappingError extends Enum { readonly isAssociationNotFound: boolean; readonly isNotYourAssociation: boolean; @@ -6458,20 +6528,20 @@ declare module "@polkadot/types/lookup" { | "DecodeKeysFailed"; } - /** @name PalletMoonbeamOrbitersCollatorPoolInfo (473) */ + /** @name PalletMoonbeamOrbitersCollatorPoolInfo (471) */ interface PalletMoonbeamOrbitersCollatorPoolInfo extends Struct { readonly orbiters: Vec; readonly maybeCurrentOrbiter: Option; readonly nextOrbiter: u32; } - /** @name PalletMoonbeamOrbitersCurrentOrbiter (475) */ + /** @name PalletMoonbeamOrbitersCurrentOrbiter (473) */ interface PalletMoonbeamOrbitersCurrentOrbiter extends Struct { readonly accountId: AccountId20; readonly removed: bool; } - /** @name PalletMoonbeamOrbitersError (476) */ + /** @name PalletMoonbeamOrbitersError (474) */ interface PalletMoonbeamOrbitersError extends Enum { readonly isCollatorAlreadyAdded: boolean; readonly isCollatorNotFound: boolean; @@ -6494,27 +6564,27 @@ declare module "@polkadot/types/lookup" { | "OrbiterStillInAPool"; } - /** @name PalletUtilityError (479) */ + /** @name PalletUtilityError (477) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly type: "TooManyCalls"; } - /** @name PalletProxyProxyDefinition (482) */ + /** @name PalletProxyProxyDefinition (480) */ interface PalletProxyProxyDefinition extends Struct { readonly delegate: AccountId20; readonly proxyType: MoonriverRuntimeProxyType; readonly delay: u32; } - /** @name PalletProxyAnnouncement (486) */ + /** @name PalletProxyAnnouncement (484) */ interface PalletProxyAnnouncement extends Struct { readonly real: AccountId20; readonly callHash: H256; readonly height: u32; } - /** @name PalletProxyError (488) */ + /** @name PalletProxyError (486) */ interface PalletProxyError extends Enum { readonly isTooMany: boolean; readonly isNotFound: boolean; @@ -6535,34 +6605,34 @@ declare module "@polkadot/types/lookup" { | "NoSelfProxy"; } - /** @name PalletMaintenanceModeError (489) */ + /** @name PalletMaintenanceModeError (487) */ interface PalletMaintenanceModeError extends Enum { readonly isAlreadyInMaintenanceMode: boolean; readonly isNotInMaintenanceMode: boolean; readonly type: "AlreadyInMaintenanceMode" | "NotInMaintenanceMode"; } - /** @name PalletIdentityRegistration (491) */ + /** @name PalletIdentityRegistration (489) */ interface PalletIdentityRegistration extends Struct { readonly judgements: Vec>; readonly deposit: u128; readonly info: PalletIdentityLegacyIdentityInfo; } - /** @name PalletIdentityRegistrarInfo (500) */ + /** @name PalletIdentityRegistrarInfo (498) */ interface PalletIdentityRegistrarInfo extends Struct { readonly account: AccountId20; readonly fee: u128; readonly fields: u64; } - /** @name PalletIdentityAuthorityProperties (502) */ + /** @name PalletIdentityAuthorityProperties (500) */ interface PalletIdentityAuthorityProperties extends Struct { readonly suffix: Bytes; readonly allocation: u32; } - /** @name PalletIdentityError (505) */ + /** @name PalletIdentityError (503) */ interface PalletIdentityError extends Enum { readonly isTooManySubAccounts: boolean; readonly isNotFound: boolean; @@ -6619,7 +6689,7 @@ declare module "@polkadot/types/lookup" { | "NotExpired"; } - /** @name PalletMigrationsError (506) */ + /** @name PalletMigrationsError (504) */ interface PalletMigrationsError extends Enum { readonly isPreimageMissing: boolean; readonly isWrongUpperBound: boolean; @@ -6632,7 +6702,7 @@ declare module "@polkadot/types/lookup" { | "PreimageAlreadyExists"; } - /** @name PalletMultisigMultisig (508) */ + /** @name PalletMultisigMultisig (506) */ interface PalletMultisigMultisig extends Struct { readonly when: PalletMultisigTimepoint; readonly deposit: u128; @@ -6640,7 +6710,7 @@ declare module "@polkadot/types/lookup" { readonly approvals: Vec; } - /** @name PalletMultisigError (510) */ + /** @name PalletMultisigError (508) */ interface PalletMultisigError extends Enum { readonly isMinimumThreshold: boolean; readonly isAlreadyApproved: boolean; @@ -6673,7 +6743,7 @@ declare module "@polkadot/types/lookup" { | "AlreadyStored"; } - /** @name PalletMoonbeamLazyMigrationsError (511) */ + /** @name PalletMoonbeamLazyMigrationsError (509) */ interface PalletMoonbeamLazyMigrationsError extends Enum { readonly isLimitCannotBeZero: boolean; readonly isAddressesLengthCannotBeZero: boolean; @@ -6681,13 +6751,13 @@ declare module "@polkadot/types/lookup" { readonly type: "LimitCannotBeZero" | "AddressesLengthCannotBeZero" | "ContractNotCorrupted"; } - /** @name PalletEvmCodeMetadata (512) */ + /** @name PalletEvmCodeMetadata (510) */ interface PalletEvmCodeMetadata extends Struct { readonly size_: u64; readonly hash_: H256; } - /** @name PalletEvmError (514) */ + /** @name PalletEvmError (512) */ interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; @@ -6701,7 +6771,6 @@ declare module "@polkadot/types/lookup" { readonly isInvalidSignature: boolean; readonly isReentrancy: boolean; readonly isTransactionMustComeFromEOA: boolean; - readonly isInvalidTransaction: boolean; readonly isUndefined: boolean; readonly type: | "BalanceLow" @@ -6716,11 +6785,10 @@ declare module "@polkadot/types/lookup" { | "InvalidSignature" | "Reentrancy" | "TransactionMustComeFromEOA" - | "InvalidTransaction" | "Undefined"; } - /** @name FpRpcTransactionStatus (517) */ + /** @name FpRpcTransactionStatus (515) */ interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; @@ -6731,10 +6799,10 @@ declare module "@polkadot/types/lookup" { readonly logsBloom: EthbloomBloom; } - /** @name EthbloomBloom (520) */ + /** @name EthbloomBloom (518) */ interface EthbloomBloom extends U8aFixed {} - /** @name EthereumReceiptReceiptV3 (522) */ + /** @name EthereumReceiptReceiptV3 (520) */ interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; @@ -6745,7 +6813,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Eip2930" | "Eip1559"; } - /** @name EthereumReceiptEip658ReceiptData (523) */ + /** @name EthereumReceiptEip658ReceiptData (521) */ interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; @@ -6753,14 +6821,14 @@ declare module "@polkadot/types/lookup" { readonly logs: Vec; } - /** @name EthereumBlock (524) */ + /** @name EthereumBlock (522) */ interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } - /** @name EthereumHeader (525) */ + /** @name EthereumHeader (523) */ interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; @@ -6779,17 +6847,17 @@ declare module "@polkadot/types/lookup" { readonly nonce: EthereumTypesHashH64; } - /** @name EthereumTypesHashH64 (526) */ + /** @name EthereumTypesHashH64 (524) */ interface EthereumTypesHashH64 extends U8aFixed {} - /** @name PalletEthereumError (531) */ + /** @name PalletEthereumError (529) */ interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: "InvalidSignature" | "PreLogExists"; } - /** @name PalletSchedulerScheduled (534) */ + /** @name PalletSchedulerScheduled (532) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; @@ -6798,7 +6866,14 @@ declare module "@polkadot/types/lookup" { readonly origin: MoonriverRuntimeOriginCaller; } - /** @name PalletSchedulerError (536) */ + /** @name PalletSchedulerRetryConfig (534) */ + interface PalletSchedulerRetryConfig extends Struct { + readonly totalRetries: u8; + readonly remaining: u8; + readonly period: u32; + } + + /** @name PalletSchedulerError (535) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -6813,7 +6888,7 @@ declare module "@polkadot/types/lookup" { | "Named"; } - /** @name PalletPreimageOldRequestStatus (537) */ + /** @name PalletPreimageOldRequestStatus (536) */ interface PalletPreimageOldRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -6829,7 +6904,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Unrequested" | "Requested"; } - /** @name PalletPreimageRequestStatus (540) */ + /** @name PalletPreimageRequestStatus (539) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -6845,7 +6920,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Unrequested" | "Requested"; } - /** @name PalletPreimageError (546) */ + /** @name PalletPreimageError (545) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -6866,7 +6941,7 @@ declare module "@polkadot/types/lookup" { | "TooFew"; } - /** @name PalletConvictionVotingVoteVoting (548) */ + /** @name PalletConvictionVotingVoteVoting (547) */ interface PalletConvictionVotingVoteVoting extends Enum { readonly isCasting: boolean; readonly asCasting: PalletConvictionVotingVoteCasting; @@ -6875,23 +6950,23 @@ declare module "@polkadot/types/lookup" { readonly type: "Casting" | "Delegating"; } - /** @name PalletConvictionVotingVoteCasting (549) */ + /** @name PalletConvictionVotingVoteCasting (548) */ interface PalletConvictionVotingVoteCasting extends Struct { readonly votes: Vec>; readonly delegations: PalletConvictionVotingDelegations; readonly prior: PalletConvictionVotingVotePriorLock; } - /** @name PalletConvictionVotingDelegations (553) */ + /** @name PalletConvictionVotingDelegations (552) */ interface PalletConvictionVotingDelegations extends Struct { readonly votes: u128; readonly capital: u128; } - /** @name PalletConvictionVotingVotePriorLock (554) */ + /** @name PalletConvictionVotingVotePriorLock (553) */ interface PalletConvictionVotingVotePriorLock extends ITuple<[u32, u128]> {} - /** @name PalletConvictionVotingVoteDelegating (555) */ + /** @name PalletConvictionVotingVoteDelegating (554) */ interface PalletConvictionVotingVoteDelegating extends Struct { readonly balance: u128; readonly target: AccountId20; @@ -6900,7 +6975,7 @@ declare module "@polkadot/types/lookup" { readonly prior: PalletConvictionVotingVotePriorLock; } - /** @name PalletConvictionVotingError (559) */ + /** @name PalletConvictionVotingError (558) */ interface PalletConvictionVotingError extends Enum { readonly isNotOngoing: boolean; readonly isNotVoter: boolean; @@ -6929,7 +7004,7 @@ declare module "@polkadot/types/lookup" { | "BadClass"; } - /** @name PalletReferendaReferendumInfo (560) */ + /** @name PalletReferendaReferendumInfo (559) */ interface PalletReferendaReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletReferendaReferendumStatus; @@ -6954,7 +7029,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Ongoing" | "Approved" | "Rejected" | "Cancelled" | "TimedOut" | "Killed"; } - /** @name PalletReferendaReferendumStatus (561) */ + /** @name PalletReferendaReferendumStatus (560) */ interface PalletReferendaReferendumStatus extends Struct { readonly track: u16; readonly origin: MoonriverRuntimeOriginCaller; @@ -6969,19 +7044,19 @@ declare module "@polkadot/types/lookup" { readonly alarm: Option]>>; } - /** @name PalletReferendaDeposit (562) */ + /** @name PalletReferendaDeposit (561) */ interface PalletReferendaDeposit extends Struct { readonly who: AccountId20; readonly amount: u128; } - /** @name PalletReferendaDecidingStatus (565) */ + /** @name PalletReferendaDecidingStatus (564) */ interface PalletReferendaDecidingStatus extends Struct { readonly since: u32; readonly confirming: Option; } - /** @name PalletReferendaTrackInfo (573) */ + /** @name PalletReferendaTrackInfo (572) */ interface PalletReferendaTrackInfo extends Struct { readonly name: Text; readonly maxDeciding: u32; @@ -6994,7 +7069,7 @@ declare module "@polkadot/types/lookup" { readonly minSupport: PalletReferendaCurve; } - /** @name PalletReferendaCurve (574) */ + /** @name PalletReferendaCurve (573) */ interface PalletReferendaCurve extends Enum { readonly isLinearDecreasing: boolean; readonly asLinearDecreasing: { @@ -7018,7 +7093,7 @@ declare module "@polkadot/types/lookup" { readonly type: "LinearDecreasing" | "SteppedDecreasing" | "Reciprocal"; } - /** @name PalletReferendaError (577) */ + /** @name PalletReferendaError (576) */ interface PalletReferendaError extends Enum { readonly isNotOngoing: boolean; readonly isHasDeposit: boolean; @@ -7033,6 +7108,7 @@ declare module "@polkadot/types/lookup" { readonly isNoDeposit: boolean; readonly isBadStatus: boolean; readonly isPreimageNotExist: boolean; + readonly isPreimageStoredWithDifferentLength: boolean; readonly type: | "NotOngoing" | "HasDeposit" @@ -7046,10 +7122,11 @@ declare module "@polkadot/types/lookup" { | "NoPermission" | "NoDeposit" | "BadStatus" - | "PreimageNotExist"; + | "PreimageNotExist" + | "PreimageStoredWithDifferentLength"; } - /** @name PalletWhitelistError (578) */ + /** @name PalletWhitelistError (577) */ interface PalletWhitelistError extends Enum { readonly isUnavailablePreImage: boolean; readonly isUndecodableCall: boolean; @@ -7064,7 +7141,7 @@ declare module "@polkadot/types/lookup" { | "CallAlreadyWhitelisted"; } - /** @name PalletCollectiveVotes (580) */ + /** @name PalletCollectiveVotes (579) */ interface PalletCollectiveVotes extends Struct { readonly index: u32; readonly threshold: u32; @@ -7073,7 +7150,7 @@ declare module "@polkadot/types/lookup" { readonly end: u32; } - /** @name PalletCollectiveError (581) */ + /** @name PalletCollectiveError (580) */ interface PalletCollectiveError extends Enum { readonly isNotMember: boolean; readonly isDuplicateProposal: boolean; @@ -7100,7 +7177,7 @@ declare module "@polkadot/types/lookup" { | "PrimeAccountNotMember"; } - /** @name PalletTreasuryProposal (584) */ + /** @name PalletTreasuryProposal (583) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId20; readonly value: u128; @@ -7108,7 +7185,7 @@ declare module "@polkadot/types/lookup" { readonly bond: u128; } - /** @name PalletTreasurySpendStatus (587) */ + /** @name PalletTreasurySpendStatus (586) */ interface PalletTreasurySpendStatus extends Struct { readonly assetKind: Null; readonly amount: u128; @@ -7118,7 +7195,7 @@ declare module "@polkadot/types/lookup" { readonly status: PalletTreasuryPaymentState; } - /** @name PalletTreasuryPaymentState (588) */ + /** @name PalletTreasuryPaymentState (587) */ interface PalletTreasuryPaymentState extends Enum { readonly isPending: boolean; readonly isAttempted: boolean; @@ -7129,10 +7206,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Pending" | "Attempted" | "Failed"; } - /** @name FrameSupportPalletId (590) */ + /** @name FrameSupportPalletId (589) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (591) */ + /** @name PalletTreasuryError (590) */ interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; @@ -7161,14 +7238,14 @@ declare module "@polkadot/types/lookup" { | "Inconclusive"; } - /** @name PalletCrowdloanRewardsRewardInfo (592) */ + /** @name PalletCrowdloanRewardsRewardInfo (591) */ interface PalletCrowdloanRewardsRewardInfo extends Struct { readonly totalReward: u128; readonly claimedReward: u128; readonly contributedRelayAddresses: Vec; } - /** @name PalletCrowdloanRewardsError (594) */ + /** @name PalletCrowdloanRewardsError (593) */ interface PalletCrowdloanRewardsError extends Enum { readonly isAlreadyAssociated: boolean; readonly isBatchBeyondFundPot: boolean; @@ -7203,7 +7280,7 @@ declare module "@polkadot/types/lookup" { | "InsufficientNumberOfValidProofs"; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (599) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (598) */ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -7212,21 +7289,21 @@ declare module "@polkadot/types/lookup" { readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (600) */ + /** @name CumulusPalletXcmpQueueOutboundState (599) */ interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: "Ok" | "Suspended"; } - /** @name CumulusPalletXcmpQueueQueueConfigData (602) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (601) */ interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; readonly resumeThreshold: u32; } - /** @name CumulusPalletXcmpQueueError (603) */ + /** @name CumulusPalletXcmpQueueError (602) */ interface CumulusPalletXcmpQueueError extends Enum { readonly isBadQueueConfig: boolean; readonly isAlreadySuspended: boolean; @@ -7234,7 +7311,7 @@ declare module "@polkadot/types/lookup" { readonly type: "BadQueueConfig" | "AlreadySuspended" | "AlreadyResumed"; } - /** @name CumulusPalletDmpQueueMigrationState (604) */ + /** @name CumulusPalletDmpQueueMigrationState (603) */ interface CumulusPalletDmpQueueMigrationState extends Enum { readonly isNotStarted: boolean; readonly isStartedExport: boolean; @@ -7262,7 +7339,7 @@ declare module "@polkadot/types/lookup" { | "Completed"; } - /** @name PalletXcmQueryStatus (607) */ + /** @name PalletXcmQueryStatus (606) */ interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { @@ -7284,7 +7361,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Pending" | "VersionNotifier" | "Ready"; } - /** @name XcmVersionedResponse (611) */ + /** @name XcmVersionedResponse (610) */ interface XcmVersionedResponse extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Response; @@ -7295,7 +7372,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name PalletXcmVersionMigrationStage (617) */ + /** @name PalletXcmVersionMigrationStage (616) */ interface PalletXcmVersionMigrationStage extends Enum { readonly isMigrateSupportedVersion: boolean; readonly isMigrateVersionNotifiers: boolean; @@ -7309,16 +7386,7 @@ declare module "@polkadot/types/lookup" { | "MigrateAndNotifyOldTargets"; } - /** @name XcmVersionedAssetId (620) */ - interface XcmVersionedAssetId extends Enum { - readonly isV3: boolean; - readonly asV3: XcmV3MultiassetAssetId; - readonly isV4: boolean; - readonly asV4: StagingXcmV4AssetAssetId; - readonly type: "V3" | "V4"; - } - - /** @name PalletXcmRemoteLockedFungibleRecord (621) */ + /** @name PalletXcmRemoteLockedFungibleRecord (619) */ interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; readonly owner: XcmVersionedLocation; @@ -7326,7 +7394,7 @@ declare module "@polkadot/types/lookup" { readonly consumers: Vec>; } - /** @name PalletXcmError (628) */ + /** @name PalletXcmError (626) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -7348,7 +7416,6 @@ declare module "@polkadot/types/lookup" { readonly isFeesNotMet: boolean; readonly isLockNotFound: boolean; readonly isInUse: boolean; - readonly isInvalidAssetNotConcrete: boolean; readonly isInvalidAssetUnknownReserve: boolean; readonly isInvalidAssetUnsupportedReserve: boolean; readonly isTooManyReserves: boolean; @@ -7374,14 +7441,13 @@ declare module "@polkadot/types/lookup" { | "FeesNotMet" | "LockNotFound" | "InUse" - | "InvalidAssetNotConcrete" | "InvalidAssetUnknownReserve" | "InvalidAssetUnsupportedReserve" | "TooManyReserves" | "LocalExecutionIncomplete"; } - /** @name PalletAssetsAssetDetails (629) */ + /** @name PalletAssetsAssetDetails (627) */ interface PalletAssetsAssetDetails extends Struct { readonly owner: AccountId20; readonly issuer: AccountId20; @@ -7397,7 +7463,7 @@ declare module "@polkadot/types/lookup" { readonly status: PalletAssetsAssetStatus; } - /** @name PalletAssetsAssetStatus (630) */ + /** @name PalletAssetsAssetStatus (628) */ interface PalletAssetsAssetStatus extends Enum { readonly isLive: boolean; readonly isFrozen: boolean; @@ -7405,7 +7471,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Live" | "Frozen" | "Destroying"; } - /** @name PalletAssetsAssetAccount (632) */ + /** @name PalletAssetsAssetAccount (630) */ interface PalletAssetsAssetAccount extends Struct { readonly balance: u128; readonly status: PalletAssetsAccountStatus; @@ -7413,7 +7479,7 @@ declare module "@polkadot/types/lookup" { readonly extra: Null; } - /** @name PalletAssetsAccountStatus (633) */ + /** @name PalletAssetsAccountStatus (631) */ interface PalletAssetsAccountStatus extends Enum { readonly isLiquid: boolean; readonly isFrozen: boolean; @@ -7421,7 +7487,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Liquid" | "Frozen" | "Blocked"; } - /** @name PalletAssetsExistenceReason (634) */ + /** @name PalletAssetsExistenceReason (632) */ interface PalletAssetsExistenceReason extends Enum { readonly isConsumer: boolean; readonly isSufficient: boolean; @@ -7433,13 +7499,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Consumer" | "Sufficient" | "DepositHeld" | "DepositRefunded" | "DepositFrom"; } - /** @name PalletAssetsApproval (636) */ + /** @name PalletAssetsApproval (634) */ interface PalletAssetsApproval extends Struct { readonly amount: u128; readonly deposit: u128; } - /** @name PalletAssetsAssetMetadata (637) */ + /** @name PalletAssetsAssetMetadata (635) */ interface PalletAssetsAssetMetadata extends Struct { readonly deposit: u128; readonly name: Bytes; @@ -7448,7 +7514,7 @@ declare module "@polkadot/types/lookup" { readonly isFrozen: bool; } - /** @name PalletAssetsError (639) */ + /** @name PalletAssetsError (637) */ interface PalletAssetsError extends Enum { readonly isBalanceLow: boolean; readonly isNoAccount: boolean; @@ -7493,7 +7559,7 @@ declare module "@polkadot/types/lookup" { | "CallbackFailed"; } - /** @name PalletAssetManagerError (641) */ + /** @name PalletAssetManagerError (639) */ interface PalletAssetManagerError extends Enum { readonly isErrorCreatingAsset: boolean; readonly isAssetAlreadyExists: boolean; @@ -7514,7 +7580,7 @@ declare module "@polkadot/types/lookup" { | "NonExistentLocalAsset"; } - /** @name OrmlXtokensModuleError (642) */ + /** @name OrmlXtokensModuleError (640) */ interface OrmlXtokensModuleError extends Enum { readonly isAssetHasNoReserve: boolean; readonly isNotCrossChainTransfer: boolean; @@ -7535,6 +7601,7 @@ declare module "@polkadot/types/lookup" { readonly isFeeNotEnough: boolean; readonly isNotSupportedLocation: boolean; readonly isMinXcmFeeNotDefined: boolean; + readonly isRateLimited: boolean; readonly type: | "AssetHasNoReserve" | "NotCrossChainTransfer" @@ -7554,10 +7621,11 @@ declare module "@polkadot/types/lookup" { | "AssetIndexNonExistent" | "FeeNotEnough" | "NotSupportedLocation" - | "MinXcmFeeNotDefined"; + | "MinXcmFeeNotDefined" + | "RateLimited"; } - /** @name PalletXcmTransactorRelayIndicesRelayChainIndices (643) */ + /** @name PalletXcmTransactorRelayIndicesRelayChainIndices (641) */ interface PalletXcmTransactorRelayIndicesRelayChainIndices extends Struct { readonly staking: u8; readonly utility: u8; @@ -7579,7 +7647,7 @@ declare module "@polkadot/types/lookup" { readonly cancelOpenRequest: u8; } - /** @name PalletXcmTransactorError (644) */ + /** @name PalletXcmTransactorError (642) */ interface PalletXcmTransactorError extends Enum { readonly isIndexAlreadyClaimed: boolean; readonly isUnclaimedIndex: boolean; @@ -7638,13 +7706,13 @@ declare module "@polkadot/types/lookup" { | "RefundNotSupportedWithTransactInfo"; } - /** @name PalletEthereumXcmError (645) */ + /** @name PalletEthereumXcmError (643) */ interface PalletEthereumXcmError extends Enum { readonly isEthereumXcmExecutionSuspended: boolean; readonly type: "EthereumXcmExecutionSuspended"; } - /** @name PalletMessageQueueBookState (646) */ + /** @name PalletMessageQueueBookState (644) */ interface PalletMessageQueueBookState extends Struct { readonly begin: u32; readonly end: u32; @@ -7654,13 +7722,13 @@ declare module "@polkadot/types/lookup" { readonly size_: u64; } - /** @name PalletMessageQueueNeighbours (648) */ + /** @name PalletMessageQueueNeighbours (646) */ interface PalletMessageQueueNeighbours extends Struct { readonly prev: CumulusPrimitivesCoreAggregateMessageOrigin; readonly next: CumulusPrimitivesCoreAggregateMessageOrigin; } - /** @name PalletMessageQueuePage (650) */ + /** @name PalletMessageQueuePage (648) */ interface PalletMessageQueuePage extends Struct { readonly remaining: u32; readonly remainingSize: u32; @@ -7670,7 +7738,7 @@ declare module "@polkadot/types/lookup" { readonly heap: Bytes; } - /** @name PalletMessageQueueError (652) */ + /** @name PalletMessageQueueError (650) */ interface PalletMessageQueueError extends Enum { readonly isNotReapable: boolean; readonly isNoPage: boolean; @@ -7693,19 +7761,19 @@ declare module "@polkadot/types/lookup" { | "RecursiveDisallowed"; } - /** @name PalletPrecompileBenchmarksError (654) */ + /** @name PalletPrecompileBenchmarksError (652) */ interface PalletPrecompileBenchmarksError extends Enum { readonly isBenchmarkError: boolean; readonly type: "BenchmarkError"; } - /** @name PalletRandomnessRequestState (655) */ + /** @name PalletRandomnessRequestState (653) */ interface PalletRandomnessRequestState extends Struct { readonly request: PalletRandomnessRequest; readonly deposit: u128; } - /** @name PalletRandomnessRequest (656) */ + /** @name PalletRandomnessRequest (654) */ interface PalletRandomnessRequest extends Struct { readonly refundAddress: H160; readonly contractAddress: H160; @@ -7716,7 +7784,7 @@ declare module "@polkadot/types/lookup" { readonly info: PalletRandomnessRequestInfo; } - /** @name PalletRandomnessRequestInfo (657) */ + /** @name PalletRandomnessRequestInfo (655) */ interface PalletRandomnessRequestInfo extends Enum { readonly isBabeEpoch: boolean; readonly asBabeEpoch: ITuple<[u64, u64]>; @@ -7725,7 +7793,7 @@ declare module "@polkadot/types/lookup" { readonly type: "BabeEpoch" | "Local"; } - /** @name PalletRandomnessRequestType (658) */ + /** @name PalletRandomnessRequestType (656) */ interface PalletRandomnessRequestType extends Enum { readonly isBabeEpoch: boolean; readonly asBabeEpoch: u64; @@ -7734,13 +7802,13 @@ declare module "@polkadot/types/lookup" { readonly type: "BabeEpoch" | "Local"; } - /** @name PalletRandomnessRandomnessResult (659) */ + /** @name PalletRandomnessRandomnessResult (657) */ interface PalletRandomnessRandomnessResult extends Struct { readonly randomness: Option; readonly requestCount: u64; } - /** @name PalletRandomnessError (660) */ + /** @name PalletRandomnessError (658) */ interface PalletRandomnessError extends Enum { readonly isRequestCounterOverflowed: boolean; readonly isRequestFeeOverflowed: boolean; @@ -7769,27 +7837,27 @@ declare module "@polkadot/types/lookup" { | "RandomnessResultNotFilled"; } - /** @name FrameSystemExtensionsCheckNonZeroSender (663) */ + /** @name FrameSystemExtensionsCheckNonZeroSender (661) */ type FrameSystemExtensionsCheckNonZeroSender = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (664) */ + /** @name FrameSystemExtensionsCheckSpecVersion (662) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (665) */ + /** @name FrameSystemExtensionsCheckTxVersion (663) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (666) */ + /** @name FrameSystemExtensionsCheckGenesis (664) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (669) */ + /** @name FrameSystemExtensionsCheckNonce (667) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (670) */ + /** @name FrameSystemExtensionsCheckWeight (668) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTransactionPaymentChargeTransactionPayment (671) */ + /** @name PalletTransactionPaymentChargeTransactionPayment (669) */ interface PalletTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name MoonriverRuntimeRuntime (673) */ + /** @name MoonriverRuntimeRuntime (671) */ type MoonriverRuntimeRuntime = Null; } // declare module