@polkadot/api-augment 15.9.2 → 15.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { Codec, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Junctions } from '@polkadot/types/lookup';
6
+ import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
7
7
  export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
8
8
  declare module '@polkadot/api-base/types/consts' {
9
9
  interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -206,7 +206,7 @@ declare module '@polkadot/api-base/types/consts' {
206
206
  /**
207
207
  * The coretime chain pot location.
208
208
  **/
209
- brokerPotLocation: StagingXcmV4Junctions & AugmentedConst<ApiType>;
209
+ brokerPotLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
210
210
  /**
211
211
  * Generic const
212
212
  **/
@@ -959,6 +959,9 @@ declare module '@polkadot/api-base/types/consts' {
959
959
  **/
960
960
  burn: Permill & AugmentedConst<ApiType>;
961
961
  /**
962
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
963
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
964
+ *
962
965
  * The maximum number of approvals that can wait in the spending queue.
963
966
  *
964
967
  * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
@@ -351,27 +351,11 @@ declare module '@polkadot/api-base/types/errors' {
351
351
  };
352
352
  coretimeAssignmentProvider: {
353
353
  AssignmentsEmpty: AugmentedError<ApiType>;
354
- /**
355
- * Tried to add an unsorted set of assignments
356
- **/
357
- AssignmentsNotSorted: AugmentedError<ApiType>;
358
354
  /**
359
355
  * assign_core is only allowed to append new assignments at the end of already existing
360
- * ones.
356
+ * ones or update the last entry.
361
357
  **/
362
358
  DisallowedInsert: AugmentedError<ApiType>;
363
- /**
364
- * Tried to insert a schedule for the same core and block number as an existing schedule
365
- **/
366
- DuplicateInsert: AugmentedError<ApiType>;
367
- /**
368
- * Assignments together exceeded 57600.
369
- **/
370
- OverScheduled: AugmentedError<ApiType>;
371
- /**
372
- * Assignments together less than 57600
373
- **/
374
- UnderScheduled: AugmentedError<ApiType>;
375
359
  /**
376
360
  * Generic error
377
361
  **/
@@ -1272,10 +1256,6 @@ declare module '@polkadot/api-base/types/errors' {
1272
1256
  * A reward pool does not exist. In all cases this is a system logic error.
1273
1257
  **/
1274
1258
  RewardPoolNotFound: AugmentedError<ApiType>;
1275
- /**
1276
- * The slash amount is too low to be applied.
1277
- **/
1278
- SlashTooLow: AugmentedError<ApiType>;
1279
1259
  /**
1280
1260
  * A sub pool does not exist.
1281
1261
  **/
@@ -1379,14 +1359,10 @@ declare module '@polkadot/api-base/types/errors' {
1379
1359
  };
1380
1360
  paraInherent: {
1381
1361
  /**
1382
- * A candidate was filtered during inherent execution. This should have only been done
1362
+ * Inherent data was filtered during execution. This should have only been done
1383
1363
  * during creation.
1384
1364
  **/
1385
- CandidatesFilteredDuringExecution: AugmentedError<ApiType>;
1386
- /**
1387
- * The data given to the inherent will result in an overweight block.
1388
- **/
1389
- InherentOverweight: AugmentedError<ApiType>;
1365
+ InherentDataFilteredDuringExecution: AugmentedError<ApiType>;
1390
1366
  /**
1391
1367
  * The hash of the submitted parent header doesn't correspond to the saved block hash of
1392
1368
  * the parent.
@@ -4,7 +4,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
9
9
  declare module '@polkadot/api-base/types/events' {
10
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -1406,15 +1406,15 @@ declare module '@polkadot/api-base/types/events' {
1406
1406
  /**
1407
1407
  * A candidate was backed. `[candidate, head_data]`
1408
1408
  **/
1409
- CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>;
1409
+ CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
1410
1410
  /**
1411
1411
  * A candidate was included. `[candidate, head_data]`
1412
1412
  **/
1413
- CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>;
1413
+ CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
1414
1414
  /**
1415
1415
  * A candidate timed out. `[candidate, head_data]`
1416
1416
  **/
1417
- CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32]>;
1417
+ CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32]>;
1418
1418
  /**
1419
1419
  * Some upward messages have been received and will be processed.
1420
1420
  **/
@@ -1542,10 +1542,10 @@ declare module '@polkadot/api-base/types/events' {
1542
1542
  /**
1543
1543
  * A proxy was added.
1544
1544
  **/
1545
- ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: StagingKusamaRuntimeProxyType, delay: u32], {
1545
+ ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, delay: u32], {
1546
1546
  delegator: AccountId32;
1547
1547
  delegatee: AccountId32;
1548
- proxyType: StagingKusamaRuntimeProxyType;
1548
+ proxyType: KusamaRuntimeConstantsProxyProxyType;
1549
1549
  delay: u32;
1550
1550
  }>;
1551
1551
  /**
@@ -1557,20 +1557,20 @@ declare module '@polkadot/api-base/types/events' {
1557
1557
  /**
1558
1558
  * A proxy was removed.
1559
1559
  **/
1560
- ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: StagingKusamaRuntimeProxyType, delay: u32], {
1560
+ ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, delay: u32], {
1561
1561
  delegator: AccountId32;
1562
1562
  delegatee: AccountId32;
1563
- proxyType: StagingKusamaRuntimeProxyType;
1563
+ proxyType: KusamaRuntimeConstantsProxyProxyType;
1564
1564
  delay: u32;
1565
1565
  }>;
1566
1566
  /**
1567
1567
  * A pure account has been created by new proxy with given
1568
1568
  * disambiguation index and proxy type.
1569
1569
  **/
1570
- PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: StagingKusamaRuntimeProxyType, disambiguationIndex: u16], {
1570
+ PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16], {
1571
1571
  pure: AccountId32;
1572
1572
  who: AccountId32;
1573
- proxyType: StagingKusamaRuntimeProxyType;
1573
+ proxyType: KusamaRuntimeConstantsProxyProxyType;
1574
1574
  disambiguationIndex: u16;
1575
1575
  }>;
1576
1576
  /**
@@ -2045,11 +2045,13 @@ declare module '@polkadot/api-base/types/events' {
2045
2045
  sessionIndex: u32;
2046
2046
  }>;
2047
2047
  /**
2048
- * The stakers' rewards are getting paid.
2048
+ * A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
2049
2049
  **/
2050
- PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32], {
2050
+ PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option<u32>], {
2051
2051
  eraIndex: u32;
2052
2052
  validatorStash: AccountId32;
2053
+ page: u32;
2054
+ next: Option<u32>;
2053
2055
  }>;
2054
2056
  /**
2055
2057
  * The nominator has been rewarded by this amount to this destination.
@@ -2130,15 +2132,15 @@ declare module '@polkadot/api-base/types/events' {
2130
2132
  /**
2131
2133
  * An extrinsic failed.
2132
2134
  **/
2133
- ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], {
2135
+ ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo], {
2134
2136
  dispatchError: SpRuntimeDispatchError;
2135
- dispatchInfo: FrameSupportDispatchDispatchInfo;
2137
+ dispatchInfo: FrameSystemDispatchEventInfo;
2136
2138
  }>;
2137
2139
  /**
2138
2140
  * An extrinsic completed successfully.
2139
2141
  **/
2140
- ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], {
2141
- dispatchInfo: FrameSupportDispatchDispatchInfo;
2142
+ ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSystemDispatchEventInfo], {
2143
+ dispatchInfo: FrameSystemDispatchEventInfo;
2142
2144
  }>;
2143
2145
  /**
2144
2146
  * An account was reaped.
@@ -2376,42 +2378,42 @@ declare module '@polkadot/api-base/types/events' {
2376
2378
  /**
2377
2379
  * Some assets have been claimed from an asset trap
2378
2380
  **/
2379
- AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], {
2381
+ AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets], {
2380
2382
  hash_: H256;
2381
- origin: StagingXcmV4Location;
2383
+ origin: StagingXcmV5Location;
2382
2384
  assets: XcmVersionedAssets;
2383
2385
  }>;
2384
2386
  /**
2385
2387
  * Some assets have been placed in an asset trap.
2386
2388
  **/
2387
- AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], {
2389
+ AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets], {
2388
2390
  hash_: H256;
2389
- origin: StagingXcmV4Location;
2391
+ origin: StagingXcmV5Location;
2390
2392
  assets: XcmVersionedAssets;
2391
2393
  }>;
2392
2394
  /**
2393
2395
  * Execution of an XCM message was attempted.
2394
2396
  **/
2395
- Attempted: AugmentedEvent<ApiType, [outcome: StagingXcmV4TraitsOutcome], {
2396
- outcome: StagingXcmV4TraitsOutcome;
2397
+ Attempted: AugmentedEvent<ApiType, [outcome: StagingXcmV5TraitsOutcome], {
2398
+ outcome: StagingXcmV5TraitsOutcome;
2397
2399
  }>;
2398
2400
  /**
2399
2401
  * Fees were paid from a location for an operation (often for using `SendXcm`).
2400
2402
  **/
2401
- FeesPaid: AugmentedEvent<ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], {
2402
- paying: StagingXcmV4Location;
2403
- fees: StagingXcmV4AssetAssets;
2403
+ FeesPaid: AugmentedEvent<ApiType, [paying: StagingXcmV5Location, fees: StagingXcmV5AssetAssets], {
2404
+ paying: StagingXcmV5Location;
2405
+ fees: StagingXcmV5AssetAssets;
2404
2406
  }>;
2405
2407
  /**
2406
2408
  * Expected query response has been received but the querier location of the response does
2407
2409
  * not match the expected. The query remains registered for a later, valid, response to
2408
2410
  * be received and acted upon.
2409
2411
  **/
2410
- InvalidQuerier: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64, expectedQuerier: StagingXcmV4Location, maybeActualQuerier: Option<StagingXcmV4Location>], {
2411
- origin: StagingXcmV4Location;
2412
+ InvalidQuerier: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64, expectedQuerier: StagingXcmV5Location, maybeActualQuerier: Option<StagingXcmV5Location>], {
2413
+ origin: StagingXcmV5Location;
2412
2414
  queryId: u64;
2413
- expectedQuerier: StagingXcmV4Location;
2414
- maybeActualQuerier: Option<StagingXcmV4Location>;
2415
+ expectedQuerier: StagingXcmV5Location;
2416
+ maybeActualQuerier: Option<StagingXcmV5Location>;
2415
2417
  }>;
2416
2418
  /**
2417
2419
  * Expected query response has been received but the expected querier location placed in
@@ -2422,8 +2424,8 @@ declare module '@polkadot/api-base/types/events' {
2422
2424
  * valid response will be dropped. Manual governance intervention is probably going to be
2423
2425
  * needed.
2424
2426
  **/
2425
- InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
2426
- origin: StagingXcmV4Location;
2427
+ InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], {
2428
+ origin: StagingXcmV5Location;
2427
2429
  queryId: u64;
2428
2430
  }>;
2429
2431
  /**
@@ -2431,10 +2433,10 @@ declare module '@polkadot/api-base/types/events' {
2431
2433
  * not match that expected. The query remains registered for a later, valid, response to
2432
2434
  * be received and acted upon.
2433
2435
  **/
2434
- InvalidResponder: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64, expectedLocation: Option<StagingXcmV4Location>], {
2435
- origin: StagingXcmV4Location;
2436
+ InvalidResponder: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64, expectedLocation: Option<StagingXcmV5Location>], {
2437
+ origin: StagingXcmV5Location;
2436
2438
  queryId: u64;
2437
- expectedLocation: Option<StagingXcmV4Location>;
2439
+ expectedLocation: Option<StagingXcmV5Location>;
2438
2440
  }>;
2439
2441
  /**
2440
2442
  * Expected query response has been received but the expected origin location placed in
@@ -2445,8 +2447,8 @@ declare module '@polkadot/api-base/types/events' {
2445
2447
  * valid response will be dropped. Manual governance intervention is probably going to be
2446
2448
  * needed.
2447
2449
  **/
2448
- InvalidResponderVersion: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
2449
- origin: StagingXcmV4Location;
2450
+ InvalidResponderVersion: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], {
2451
+ origin: StagingXcmV5Location;
2450
2452
  queryId: u64;
2451
2453
  }>;
2452
2454
  /**
@@ -2501,18 +2503,18 @@ declare module '@polkadot/api-base/types/events' {
2501
2503
  * A given location which had a version change subscription was dropped owing to an error
2502
2504
  * sending the notification to it.
2503
2505
  **/
2504
- NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], {
2505
- location: StagingXcmV4Location;
2506
+ NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], {
2507
+ location: StagingXcmV5Location;
2506
2508
  queryId: u64;
2507
- error: XcmV3TraitsError;
2509
+ error: XcmV5TraitsError;
2508
2510
  }>;
2509
2511
  /**
2510
2512
  * Query response has been received and is ready for taking with `take_response`. There is
2511
2513
  * no registered notification call.
2512
2514
  **/
2513
- ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: StagingXcmV4Response], {
2515
+ ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: StagingXcmV5Response], {
2514
2516
  queryId: u64;
2515
- response: StagingXcmV4Response;
2517
+ response: StagingXcmV5Response;
2516
2518
  }>;
2517
2519
  /**
2518
2520
  * Received query response has been read and removed.
@@ -2523,18 +2525,18 @@ declare module '@polkadot/api-base/types/events' {
2523
2525
  /**
2524
2526
  * A XCM message was sent.
2525
2527
  **/
2526
- Sent: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, destination: StagingXcmV4Location, message: StagingXcmV4Xcm, messageId: U8aFixed], {
2527
- origin: StagingXcmV4Location;
2528
- destination: StagingXcmV4Location;
2529
- message: StagingXcmV4Xcm;
2528
+ Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
2529
+ origin: StagingXcmV5Location;
2530
+ destination: StagingXcmV5Location;
2531
+ message: StagingXcmV5Xcm;
2530
2532
  messageId: U8aFixed;
2531
2533
  }>;
2532
2534
  /**
2533
2535
  * The supported version of a location has been changed. This might be through an
2534
2536
  * automatic notification or a manual intervention.
2535
2537
  **/
2536
- SupportedVersionChanged: AugmentedEvent<ApiType, [location: StagingXcmV4Location, version: u32], {
2537
- location: StagingXcmV4Location;
2538
+ SupportedVersionChanged: AugmentedEvent<ApiType, [location: StagingXcmV5Location, version: u32], {
2539
+ location: StagingXcmV5Location;
2538
2540
  version: u32;
2539
2541
  }>;
2540
2542
  /**
@@ -2542,8 +2544,8 @@ declare module '@polkadot/api-base/types/events' {
2542
2544
  * matching query was never registered, it may be because it is a duplicate response, or
2543
2545
  * because the query timed out.
2544
2546
  **/
2545
- UnexpectedResponse: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
2546
- origin: StagingXcmV4Location;
2547
+ UnexpectedResponse: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], {
2548
+ origin: StagingXcmV5Location;
2547
2549
  queryId: u64;
2548
2550
  }>;
2549
2551
  /**
@@ -2551,10 +2553,10 @@ declare module '@polkadot/api-base/types/events' {
2551
2553
  *
2552
2554
  * The cost of sending it (borne by the chain) is included.
2553
2555
  **/
2554
- VersionChangeNotified: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, result: u32, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2555
- destination: StagingXcmV4Location;
2556
+ VersionChangeNotified: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, result: u32, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
2557
+ destination: StagingXcmV5Location;
2556
2558
  result: u32;
2557
- cost: StagingXcmV4AssetAssets;
2559
+ cost: StagingXcmV5AssetAssets;
2558
2560
  messageId: U8aFixed;
2559
2561
  }>;
2560
2562
  /**
@@ -2566,27 +2568,27 @@ declare module '@polkadot/api-base/types/events' {
2566
2568
  /**
2567
2569
  * We have requested that a remote chain send us XCM version change notifications.
2568
2570
  **/
2569
- VersionNotifyRequested: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2570
- destination: StagingXcmV4Location;
2571
- cost: StagingXcmV4AssetAssets;
2571
+ VersionNotifyRequested: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
2572
+ destination: StagingXcmV5Location;
2573
+ cost: StagingXcmV5AssetAssets;
2572
2574
  messageId: U8aFixed;
2573
2575
  }>;
2574
2576
  /**
2575
2577
  * A remote has requested XCM version change notification from us and we have honored it.
2576
2578
  * A version information message is sent to them and its cost is included.
2577
2579
  **/
2578
- VersionNotifyStarted: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2579
- destination: StagingXcmV4Location;
2580
- cost: StagingXcmV4AssetAssets;
2580
+ VersionNotifyStarted: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
2581
+ destination: StagingXcmV5Location;
2582
+ cost: StagingXcmV5AssetAssets;
2581
2583
  messageId: U8aFixed;
2582
2584
  }>;
2583
2585
  /**
2584
2586
  * We have requested that a remote chain stops sending us XCM version change
2585
2587
  * notifications.
2586
2588
  **/
2587
- VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2588
- destination: StagingXcmV4Location;
2589
- cost: StagingXcmV4AssetAssets;
2589
+ VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
2590
+ destination: StagingXcmV5Location;
2591
+ cost: StagingXcmV5AssetAssets;
2590
2592
  messageId: U8aFixed;
2591
2593
  }>;
2592
2594
  /**
@@ -4,7 +4,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8ScrapedOnChainVotes, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV4Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  import type { Observable } from '@polkadot/types/types';
9
9
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
10
10
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -20,6 +20,8 @@ declare module '@polkadot/api-base/types/storage' {
20
20
  V3: any;
21
21
  } | {
22
22
  V4: any;
23
+ } | {
24
+ V5: any;
23
25
  } | string | Uint8Array) => Observable<Option<u128>>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]>;
24
26
  /**
25
27
  * Generic query
@@ -341,22 +343,37 @@ declare module '@polkadot/api-base/types/storage' {
341
343
  **/
342
344
  childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
343
345
  /**
344
- * Number of total child bounties.
346
+ * DEPRECATED: Replaced with `ParentTotalChildBounties` storage item keeping dedicated counts
347
+ * for each parent bounty. Number of total child bounties. Will be removed in May 2025.
345
348
  **/
346
349
  childBountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
347
350
  /**
348
- * The description of each child-bounty.
351
+ * The description of each child-bounty. Indexed by `(parent_id, child_id)`.
352
+ *
353
+ * This item replaces the `ChildBountyDescriptions` storage item from the V0 storage version.
349
354
  **/
350
- childBountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
355
+ childBountyDescriptionsV1: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
351
356
  /**
352
357
  * The cumulative child-bounty curator fee for each parent bounty.
353
358
  **/
354
359
  childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
355
360
  /**
356
- * Number of child bounties per parent bounty.
361
+ * Number of active child bounties per parent bounty.
357
362
  * Map of parent bounty index to number of child bounties.
358
363
  **/
359
364
  parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
365
+ /**
366
+ * Number of total child bounties per parent bounty, including completed bounties.
367
+ **/
368
+ parentTotalChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
369
+ /**
370
+ * The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
371
+ *
372
+ * The `V0` ids based on total child bounty count [`ChildBountyCount`]`. The `V1` version ids
373
+ * based on the child bounty count per parent bounty [`ParentTotalChildBounties`].
374
+ * The item intended solely for client convenience and not used in the pallet's core logic.
375
+ **/
376
+ v0ToV1ChildBountyIds: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
360
377
  /**
361
378
  * Generic query
362
379
  **/
@@ -864,7 +881,7 @@ declare module '@polkadot/api-base/types/storage' {
864
881
  };
865
882
  initializer: {
866
883
  /**
867
- * Buffered session changes along with the block number at which they should be applied.
884
+ * Buffered session changes.
868
885
  *
869
886
  * Typically this will be empty or one element long. Apart from that this item never hits
870
887
  * the storage.
@@ -1214,7 +1231,7 @@ declare module '@polkadot/api-base/types/storage' {
1214
1231
  /**
1215
1232
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
1216
1233
  **/
1217
- onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1234
+ onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesVstagingScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1218
1235
  /**
1219
1236
  * Generic query
1220
1237
  **/
@@ -1385,21 +1402,11 @@ declare module '@polkadot/api-base/types/storage' {
1385
1402
  [key: string]: QueryableStorageEntry<ApiType>;
1386
1403
  };
1387
1404
  paraScheduler: {
1388
- /**
1389
- * One entry for each availability core. The i'th parachain belongs to the i'th core, with the
1390
- * remaining cores all being on demand parachain multiplexers.
1391
- *
1392
- * Bounded by the maximum of either of these two values:
1393
- * * The number of parachains and parathread multiplexers
1394
- * * The number of validators divided by `configuration.max_validators_per_core`.
1395
- **/
1396
- availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>>, []> & QueryableStorageEntry<ApiType, []>;
1397
1405
  /**
1398
1406
  * One entry for each availability core. The `VecDeque` represents the assignments to be
1399
- * scheduled on that core. The value contained here will not be valid after the end of
1400
- * a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
1407
+ * scheduled on that core.
1401
1408
  **/
1402
- claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<PolkadotRuntimeParachainsSchedulerPalletParasEntry>>>, []> & QueryableStorageEntry<ApiType, []>;
1409
+ claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<PolkadotRuntimeParachainsSchedulerCommonAssignment>>>, []> & QueryableStorageEntry<ApiType, []>;
1403
1410
  /**
1404
1411
  * The block number where the session start occurred. Used to track how many group rotations
1405
1412
  * have occurred.
@@ -2226,6 +2233,9 @@ declare module '@polkadot/api-base/types/storage' {
2226
2233
  };
2227
2234
  treasury: {
2228
2235
  /**
2236
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
2237
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
2238
+ *
2229
2239
  * Proposal indices that have been approved but not yet awarded.
2230
2240
  **/
2231
2241
  approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -2234,10 +2244,20 @@ declare module '@polkadot/api-base/types/storage' {
2234
2244
  **/
2235
2245
  deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
2236
2246
  /**
2247
+ * The blocknumber for the last triggered spend period.
2248
+ **/
2249
+ lastSpendPeriod: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
2250
+ /**
2251
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
2252
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
2253
+ *
2237
2254
  * Number of proposals that have been made.
2238
2255
  **/
2239
2256
  proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2240
2257
  /**
2258
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
2259
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
2260
+ *
2241
2261
  * Proposals that have been made.
2242
2262
  **/
2243
2263
  proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
@@ -2331,7 +2351,7 @@ declare module '@polkadot/api-base/types/storage' {
2331
2351
  * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
2332
2352
  * implementation in the XCM executor configuration.
2333
2353
  **/
2334
- recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV4Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
2354
+ recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV5Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
2335
2355
  /**
2336
2356
  * Fungible assets which we know are locked on a remote chain.
2337
2357
  **/
@@ -2339,6 +2359,8 @@ declare module '@polkadot/api-base/types/storage' {
2339
2359
  V3: any;
2340
2360
  } | {
2341
2361
  V4: any;
2362
+ } | {
2363
+ V5: any;
2342
2364
  } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
2343
2365
  /**
2344
2366
  * Default version to encode XCM when latest version of destination is unknown. If `None`,
@@ -2359,11 +2381,11 @@ declare module '@polkadot/api-base/types/storage' {
2359
2381
  * The Latest versions that we know various locations support.
2360
2382
  **/
2361
2383
  supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
2362
- V2: any;
2363
- } | {
2364
2384
  V3: any;
2365
2385
  } | {
2366
2386
  V4: any;
2387
+ } | {
2388
+ V5: any;
2367
2389
  } | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
2368
2390
  /**
2369
2391
  * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
@@ -2375,22 +2397,22 @@ declare module '@polkadot/api-base/types/storage' {
2375
2397
  * All locations that we have requested version notifications from.
2376
2398
  **/
2377
2399
  versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
2378
- V2: any;
2379
- } | {
2380
2400
  V3: any;
2381
2401
  } | {
2382
2402
  V4: any;
2403
+ } | {
2404
+ V5: any;
2383
2405
  } | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
2384
2406
  /**
2385
2407
  * The target locations that are subscribed to our version changes, as well as the most recent
2386
2408
  * of our versions we informed them of.
2387
2409
  **/
2388
2410
  versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
2389
- V2: any;
2390
- } | {
2391
2411
  V3: any;
2392
2412
  } | {
2393
2413
  V4: any;
2414
+ } | {
2415
+ V5: any;
2394
2416
  } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
2395
2417
  /**
2396
2418
  * Global suspension state of the XCM executor.