@polkadot/api-augment 15.9.3 → 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.
@@ -4,7 +4,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
4
4
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8InherentData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
7
+ import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
8
8
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
9
9
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
10
10
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -21,6 +21,8 @@ declare module '@polkadot/api-base/types/submittable' {
21
21
  V3: any;
22
22
  } | {
23
23
  V4: any;
24
+ } | {
25
+ V5: any;
24
26
  } | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, u128]>;
25
27
  /**
26
28
  * Remove an existing conversion rate to native balance for the given asset.
@@ -32,6 +34,8 @@ declare module '@polkadot/api-base/types/submittable' {
32
34
  V3: any;
33
35
  } | {
34
36
  V4: any;
37
+ } | {
38
+ V5: any;
35
39
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]>;
36
40
  /**
37
41
  * Update the conversion rate to native balance for the given asset.
@@ -43,6 +47,8 @@ declare module '@polkadot/api-base/types/submittable' {
43
47
  V3: any;
44
48
  } | {
45
49
  V4: any;
50
+ } | {
51
+ V5: any;
46
52
  } | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, u128]>;
47
53
  /**
48
54
  * Generic tx
@@ -427,6 +433,30 @@ declare module '@polkadot/api-base/types/submittable' {
427
433
  * - O(1).
428
434
  **/
429
435
  approveBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
436
+ /**
437
+ * Approve bountry and propose a curator simultaneously.
438
+ * This call is a shortcut to calling `approve_bounty` and `propose_curator` separately.
439
+ *
440
+ * May only be called from `T::SpendOrigin`.
441
+ *
442
+ * - `bounty_id`: Bounty ID to approve.
443
+ * - `curator`: The curator account whom will manage this bounty.
444
+ * - `fee`: The curator fee.
445
+ *
446
+ * ## Complexity
447
+ * - O(1).
448
+ **/
449
+ approveBountyWithCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | {
450
+ Id: any;
451
+ } | {
452
+ Index: any;
453
+ } | {
454
+ Raw: any;
455
+ } | {
456
+ Address32: any;
457
+ } | {
458
+ Address20: any;
459
+ } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
430
460
  /**
431
461
  * Award bounty to a beneficiary account. The beneficiary will be able to claim the funds
432
462
  * after a delay.
@@ -738,7 +768,7 @@ declare module '@polkadot/api-base/types/submittable' {
738
768
  * Attest to a statement, needed to finalize the claims process.
739
769
  *
740
770
  * WARNING: Insecure unless your chain includes `PrevalidateAttests` as a
741
- * `SignedExtension`.
771
+ * `TransactionExtension`.
742
772
  *
743
773
  * Unsigned Validation:
744
774
  * A call to attest is deemed valid if the sender has a `Preclaim` registered
@@ -920,10 +950,6 @@ declare module '@polkadot/api-base/types/submittable' {
920
950
  * Sets the amount of funds that the sender should provide for opening an HRMP channel.
921
951
  **/
922
952
  setHrmpSenderDeposit: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
923
- /**
924
- * Set the max number of times a claim may timeout on a core before it is abandoned
925
- **/
926
- setMaxAvailabilityTimeouts: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
927
953
  /**
928
954
  * Set the max validation code size for incoming upgrades.
929
955
  **/
@@ -1009,10 +1035,6 @@ declare module '@polkadot/api-base/types/submittable' {
1009
1035
  * Set the on demand (parathreads) fee variability.
1010
1036
  **/
1011
1037
  setOnDemandTargetQueueUtilization: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
1012
- /**
1013
- * Set the on demand (parathreads) ttl in the claimqueue.
1014
- **/
1015
- setOnDemandTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1016
1038
  /**
1017
1039
  * Set the availability period for paras.
1018
1040
  **/
@@ -1994,10 +2016,8 @@ declare module '@polkadot/api-base/types/submittable' {
1994
2016
  * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
1995
2017
  * [`adapter::StakeStrategyType::Delegate`].
1996
2018
  *
1997
- * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
1998
- * This call can be dispatched permissionlessly (i.e. by any account). If the execution
1999
- * is successful, fee is refunded and caller may be rewarded with a part of the slash
2000
- * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
2019
+ * This call can be dispatched permissionlessly (i.e. by any account). If the member has
2020
+ * slash to be applied, caller may be rewarded with the part of the slash.
2001
2021
  **/
2002
2022
  applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | {
2003
2023
  Id: any;
@@ -2541,12 +2561,12 @@ declare module '@polkadot/api-base/types/submittable' {
2541
2561
  /**
2542
2562
  * Enter the paras inherent. This will process bitfields and backed candidates.
2543
2563
  **/
2544
- enter: AugmentedSubmittable<(data: PolkadotPrimitivesV8InherentData | {
2564
+ enter: AugmentedSubmittable<(data: PolkadotPrimitivesVstagingInherentData | {
2545
2565
  bitfields?: any;
2546
2566
  backedCandidates?: any;
2547
2567
  disputes?: any;
2548
2568
  parentHeader?: any;
2549
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8InherentData]>;
2569
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingInherentData]>;
2550
2570
  /**
2551
2571
  * Generic tx
2552
2572
  **/
@@ -2711,7 +2731,7 @@ declare module '@polkadot/api-base/types/submittable' {
2711
2731
  Address32: any;
2712
2732
  } | {
2713
2733
  Address20: any;
2714
- } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
2734
+ } | string | Uint8Array, proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeConstantsProxyProxyType, u32]>;
2715
2735
  /**
2716
2736
  * Publish the hash of a proxy-call that will be made in the future.
2717
2737
  *
@@ -2760,7 +2780,7 @@ declare module '@polkadot/api-base/types/submittable' {
2760
2780
  *
2761
2781
  * Fails if there are insufficient funds to pay for deposit.
2762
2782
  **/
2763
- createPure: AugmentedSubmittable<(proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeProxyType, u32, u16]>;
2783
+ createPure: AugmentedSubmittable<(proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeConstantsProxyProxyType, u32, u16]>;
2764
2784
  /**
2765
2785
  * Removes a previously spawned pure proxy.
2766
2786
  *
@@ -2789,7 +2809,7 @@ declare module '@polkadot/api-base/types/submittable' {
2789
2809
  Address32: any;
2790
2810
  } | {
2791
2811
  Address20: any;
2792
- } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
2812
+ } | string | Uint8Array, proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
2793
2813
  /**
2794
2814
  * Dispatch the given `call` from an account that the sender is authorised for through
2795
2815
  * `add_proxy`.
@@ -2811,7 +2831,7 @@ declare module '@polkadot/api-base/types/submittable' {
2811
2831
  Address32: any;
2812
2832
  } | {
2813
2833
  Address20: any;
2814
- } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
2834
+ } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeConstantsProxyProxyType> | null | Uint8Array | PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<PolkadotRuntimeConstantsProxyProxyType>, Call]>;
2815
2835
  /**
2816
2836
  * Dispatch the given `call` from an account that the sender is authorized for through
2817
2837
  * `add_proxy`.
@@ -2845,7 +2865,7 @@ declare module '@polkadot/api-base/types/submittable' {
2845
2865
  Address32: any;
2846
2866
  } | {
2847
2867
  Address20: any;
2848
- } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
2868
+ } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeConstantsProxyProxyType> | null | Uint8Array | PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<PolkadotRuntimeConstantsProxyProxyType>, Call]>;
2849
2869
  /**
2850
2870
  * Remove the given announcement of a delegate.
2851
2871
  *
@@ -2920,7 +2940,7 @@ declare module '@polkadot/api-base/types/submittable' {
2920
2940
  Address32: any;
2921
2941
  } | {
2922
2942
  Address20: any;
2923
- } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
2943
+ } | string | Uint8Array, proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeConstantsProxyProxyType, u32]>;
2924
2944
  /**
2925
2945
  * Generic tx
2926
2946
  **/
@@ -3018,8 +3038,6 @@ declare module '@polkadot/api-base/types/submittable' {
3018
3038
  **/
3019
3039
  submit: AugmentedSubmittable<(proposalOrigin: PolkadotRuntimeOriginCaller | {
3020
3040
  system: any;
3021
- } | {
3022
- Void: any;
3023
3041
  } | {
3024
3042
  Origins: any;
3025
3043
  } | {
@@ -3744,7 +3762,7 @@ declare module '@polkadot/api-base/types/submittable' {
3744
3762
  /**
3745
3763
  * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
3746
3764
  * period ends. If this leaves an amount actively bonded less than
3747
- * T::Currency::minimum_balance(), then it is increased to the full amount.
3765
+ * [`asset::existential_deposit`], then it is increased to the full amount.
3748
3766
  *
3749
3767
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3750
3768
  *
@@ -3783,6 +3801,15 @@ declare module '@polkadot/api-base/types/submittable' {
3783
3801
  commission?: any;
3784
3802
  blocked?: any;
3785
3803
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingValidatorPrefs]>;
3804
+ /**
3805
+ * Adjusts the staking ledger by withdrawing any excess staked amount.
3806
+ *
3807
+ * This function corrects cases where a user's recorded stake in the ledger
3808
+ * exceeds their actual staked funds. This situation can arise due to cases such as
3809
+ * external slashing by another pallet, leading to an inconsistency between the ledger
3810
+ * and the actual stake.
3811
+ **/
3812
+ withdrawOverstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
3786
3813
  /**
3787
3814
  * Remove any unlocked chunks from the `unlocking` queue from our management.
3788
3815
  *
@@ -4114,12 +4141,14 @@ declare module '@polkadot/api-base/types/submittable' {
4114
4141
  V3: any;
4115
4142
  } | {
4116
4143
  V4: any;
4117
- } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: XcmVersionedLocation | {
4118
- V2: any;
4119
4144
  } | {
4145
+ V5: any;
4146
+ } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: XcmVersionedLocation | {
4120
4147
  V3: any;
4121
4148
  } | {
4122
4149
  V4: any;
4150
+ } | {
4151
+ V5: any;
4123
4152
  } | string | Uint8Array, validFrom: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, Compact<u128>, XcmVersionedLocation, Option<u32>]>;
4124
4153
  /**
4125
4154
  * Propose and approve a spend of treasury funds.
@@ -4239,8 +4268,6 @@ declare module '@polkadot/api-base/types/submittable' {
4239
4268
  **/
4240
4269
  dispatchAs: AugmentedSubmittable<(asOrigin: PolkadotRuntimeOriginCaller | {
4241
4270
  system: any;
4242
- } | {
4243
- Void: any;
4244
4271
  } | {
4245
4272
  Origins: any;
4246
4273
  } | {
@@ -4538,17 +4565,17 @@ declare module '@polkadot/api-base/types/submittable' {
4538
4565
  * - `beneficiary`: The location/account where the claimed assets will be deposited.
4539
4566
  **/
4540
4567
  claimAssets: AugmentedSubmittable<(assets: XcmVersionedAssets | {
4541
- V2: any;
4542
- } | {
4543
4568
  V3: any;
4544
4569
  } | {
4545
4570
  V4: any;
4546
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4547
- V2: any;
4548
4571
  } | {
4572
+ V5: any;
4573
+ } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4549
4574
  V3: any;
4550
4575
  } | {
4551
4576
  V4: any;
4577
+ } | {
4578
+ V5: any;
4552
4579
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedAssets, XcmVersionedLocation]>;
4553
4580
  /**
4554
4581
  * Execute an XCM message from a local, signed, origin.
@@ -4561,11 +4588,11 @@ declare module '@polkadot/api-base/types/submittable' {
4561
4588
  * execution attempt will be made.
4562
4589
  **/
4563
4590
  execute: AugmentedSubmittable<(message: XcmVersionedXcm | {
4564
- V2: any;
4565
- } | {
4566
4591
  V3: any;
4567
4592
  } | {
4568
4593
  V4: any;
4594
+ } | {
4595
+ V5: any;
4569
4596
  } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | {
4570
4597
  refTime?: any;
4571
4598
  proofSize?: any;
@@ -4585,11 +4612,11 @@ declare module '@polkadot/api-base/types/submittable' {
4585
4612
  * - `location`: The location to which we should subscribe for XCM version notifications.
4586
4613
  **/
4587
4614
  forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | {
4588
- V2: any;
4589
- } | {
4590
4615
  V3: any;
4591
4616
  } | {
4592
4617
  V4: any;
4618
+ } | {
4619
+ V5: any;
4593
4620
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4594
4621
  /**
4595
4622
  * Set or unset the global suspension state of the XCM executor.
@@ -4607,11 +4634,11 @@ declare module '@polkadot/api-base/types/submittable' {
4607
4634
  * notifications which we no longer desire.
4608
4635
  **/
4609
4636
  forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | {
4610
- V2: any;
4611
- } | {
4612
4637
  V3: any;
4613
4638
  } | {
4614
4639
  V4: any;
4640
+ } | {
4641
+ V5: any;
4615
4642
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4616
4643
  /**
4617
4644
  * Extoll that a particular destination can be communicated with through a particular
@@ -4621,10 +4648,10 @@ declare module '@polkadot/api-base/types/submittable' {
4621
4648
  * - `location`: The destination that is being described.
4622
4649
  * - `xcm_version`: The latest version of XCM that `location` supports.
4623
4650
  **/
4624
- forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV4Location | {
4651
+ forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV5Location | {
4625
4652
  parents?: any;
4626
4653
  interior?: any;
4627
- } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, u32]>;
4654
+ } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV5Location, u32]>;
4628
4655
  /**
4629
4656
  * Transfer some assets from the local chain to the destination chain through their local,
4630
4657
  * destination or remote reserve.
@@ -4658,23 +4685,23 @@ declare module '@polkadot/api-base/types/submittable' {
4658
4685
  * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4659
4686
  **/
4660
4687
  limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4661
- V2: any;
4662
- } | {
4663
4688
  V3: any;
4664
4689
  } | {
4665
4690
  V4: any;
4666
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4667
- V2: any;
4668
4691
  } | {
4692
+ V5: any;
4693
+ } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4669
4694
  V3: any;
4670
4695
  } | {
4671
4696
  V4: any;
4672
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4673
- V2: any;
4674
4697
  } | {
4698
+ V5: any;
4699
+ } | string | Uint8Array, assets: XcmVersionedAssets | {
4675
4700
  V3: any;
4676
4701
  } | {
4677
4702
  V4: any;
4703
+ } | {
4704
+ V5: any;
4678
4705
  } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | {
4679
4706
  Unlimited: any;
4680
4707
  } | {
@@ -4701,23 +4728,23 @@ declare module '@polkadot/api-base/types/submittable' {
4701
4728
  * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4702
4729
  **/
4703
4730
  limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4704
- V2: any;
4705
- } | {
4706
4731
  V3: any;
4707
4732
  } | {
4708
4733
  V4: any;
4709
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4710
- V2: any;
4711
4734
  } | {
4735
+ V5: any;
4736
+ } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4712
4737
  V3: any;
4713
4738
  } | {
4714
4739
  V4: any;
4715
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4716
- V2: any;
4717
4740
  } | {
4741
+ V5: any;
4742
+ } | string | Uint8Array, assets: XcmVersionedAssets | {
4718
4743
  V3: any;
4719
4744
  } | {
4720
4745
  V4: any;
4746
+ } | {
4747
+ V5: any;
4721
4748
  } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | {
4722
4749
  Unlimited: any;
4723
4750
  } | {
@@ -4756,36 +4783,36 @@ declare module '@polkadot/api-base/types/submittable' {
4756
4783
  * fees.
4757
4784
  **/
4758
4785
  reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4759
- V2: any;
4760
- } | {
4761
4786
  V3: any;
4762
4787
  } | {
4763
4788
  V4: any;
4764
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4765
- V2: any;
4766
4789
  } | {
4790
+ V5: any;
4791
+ } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4767
4792
  V3: any;
4768
4793
  } | {
4769
4794
  V4: any;
4770
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4771
- V2: any;
4772
4795
  } | {
4796
+ V5: any;
4797
+ } | string | Uint8Array, assets: XcmVersionedAssets | {
4773
4798
  V3: any;
4774
4799
  } | {
4775
4800
  V4: any;
4801
+ } | {
4802
+ V5: any;
4776
4803
  } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
4777
4804
  send: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4778
- V2: any;
4779
- } | {
4780
4805
  V3: any;
4781
4806
  } | {
4782
4807
  V4: any;
4783
- } | string | Uint8Array, message: XcmVersionedXcm | {
4784
- V2: any;
4785
4808
  } | {
4809
+ V5: any;
4810
+ } | string | Uint8Array, message: XcmVersionedXcm | {
4786
4811
  V3: any;
4787
4812
  } | {
4788
4813
  V4: any;
4814
+ } | {
4815
+ V5: any;
4789
4816
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
4790
4817
  /**
4791
4818
  * Teleport some assets from the local chain to some destination chain.
@@ -4808,23 +4835,23 @@ declare module '@polkadot/api-base/types/submittable' {
4808
4835
  * fees.
4809
4836
  **/
4810
4837
  teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4811
- V2: any;
4812
- } | {
4813
4838
  V3: any;
4814
4839
  } | {
4815
4840
  V4: any;
4816
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4817
- V2: any;
4818
4841
  } | {
4842
+ V5: any;
4843
+ } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4819
4844
  V3: any;
4820
4845
  } | {
4821
4846
  V4: any;
4822
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4823
- V2: any;
4824
4847
  } | {
4848
+ V5: any;
4849
+ } | string | Uint8Array, assets: XcmVersionedAssets | {
4825
4850
  V3: any;
4826
4851
  } | {
4827
4852
  V4: any;
4853
+ } | {
4854
+ V5: any;
4828
4855
  } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
4829
4856
  /**
4830
4857
  * Transfer some assets from the local chain to the destination chain through their local,
@@ -4862,23 +4889,23 @@ declare module '@polkadot/api-base/types/submittable' {
4862
4889
  * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4863
4890
  **/
4864
4891
  transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4865
- V2: any;
4866
- } | {
4867
4892
  V3: any;
4868
4893
  } | {
4869
4894
  V4: any;
4870
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4871
- V2: any;
4872
4895
  } | {
4896
+ V5: any;
4897
+ } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4873
4898
  V3: any;
4874
4899
  } | {
4875
4900
  V4: any;
4876
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4877
- V2: any;
4878
4901
  } | {
4902
+ V5: any;
4903
+ } | string | Uint8Array, assets: XcmVersionedAssets | {
4879
4904
  V3: any;
4880
4905
  } | {
4881
4906
  V4: any;
4907
+ } | {
4908
+ V5: any;
4882
4909
  } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | {
4883
4910
  Unlimited: any;
4884
4911
  } | {
@@ -4935,17 +4962,17 @@ declare module '@polkadot/api-base/types/submittable' {
4935
4962
  * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4936
4963
  **/
4937
4964
  transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4938
- V2: any;
4939
- } | {
4940
4965
  V3: any;
4941
4966
  } | {
4942
4967
  V4: any;
4943
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4944
- V2: any;
4945
4968
  } | {
4969
+ V5: any;
4970
+ } | string | Uint8Array, assets: XcmVersionedAssets | {
4946
4971
  V3: any;
4947
4972
  } | {
4948
4973
  V4: any;
4974
+ } | {
4975
+ V5: any;
4949
4976
  } | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | {
4950
4977
  Teleport: any;
4951
4978
  } | {
@@ -4958,6 +4985,8 @@ declare module '@polkadot/api-base/types/submittable' {
4958
4985
  V3: any;
4959
4986
  } | {
4960
4987
  V4: any;
4988
+ } | {
4989
+ V5: any;
4961
4990
  } | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | {
4962
4991
  Teleport: any;
4963
4992
  } | {
@@ -4967,11 +4996,11 @@ declare module '@polkadot/api-base/types/submittable' {
4967
4996
  } | {
4968
4997
  RemoteReserve: any;
4969
4998
  } | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | {
4970
- V2: any;
4971
- } | {
4972
4999
  V3: any;
4973
5000
  } | {
4974
5001
  V4: any;
5002
+ } | {
5003
+ V5: any;
4975
5004
  } | string | Uint8Array, weightLimit: XcmV3WeightLimit | {
4976
5005
  Unlimited: any;
4977
5006
  } | {