@polkadot/api-augment 15.9.3 → 15.10.2
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.
- package/cjs/kusama/consts.d.ts +5 -2
- package/cjs/kusama/errors.d.ts +3 -27
- package/cjs/kusama/events.d.ts +63 -61
- package/cjs/kusama/query.d.ts +48 -26
- package/cjs/kusama/runtime.d.ts +34 -26
- package/cjs/kusama/tx.d.ts +110 -83
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +5 -2
- package/cjs/polkadot/errors.d.ts +3 -27
- package/cjs/polkadot/events.d.ts +63 -61
- package/cjs/polkadot/query.d.ts +48 -26
- package/cjs/polkadot/runtime.d.ts +34 -26
- package/cjs/polkadot/tx.d.ts +110 -81
- package/cjs/substrate/consts.d.ts +57 -11
- package/cjs/substrate/errors.d.ts +218 -2
- package/cjs/substrate/events.d.ts +275 -91
- package/cjs/substrate/query.d.ts +92 -20
- package/cjs/substrate/runtime.d.ts +95 -9
- package/cjs/substrate/tx.d.ts +345 -31
- package/kusama/consts.d.ts +5 -2
- package/kusama/errors.d.ts +3 -27
- package/kusama/events.d.ts +63 -61
- package/kusama/query.d.ts +48 -26
- package/kusama/runtime.d.ts +34 -26
- package/kusama/tx.d.ts +110 -83
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +5 -2
- package/polkadot/errors.d.ts +3 -27
- package/polkadot/events.d.ts +63 -61
- package/polkadot/query.d.ts +48 -26
- package/polkadot/runtime.d.ts +34 -26
- package/polkadot/tx.d.ts +110 -81
- package/substrate/consts.d.ts +57 -11
- package/substrate/errors.d.ts +218 -2
- package/substrate/events.d.ts +275 -91
- package/substrate/query.d.ts +92 -20
- package/substrate/runtime.d.ts +95 -9
- package/substrate/tx.d.ts +345 -31
package/kusama/tx.d.ts
CHANGED
|
@@ -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, Perquintill } 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, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams,
|
|
7
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeConstantsProxyProxyType, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeSessionKeys, 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
|
-
* `
|
|
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
|
**/
|
|
@@ -1743,8 +1765,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1743
1765
|
**/
|
|
1744
1766
|
submit: AugmentedSubmittable<(proposalOrigin: StagingKusamaRuntimeOriginCaller | {
|
|
1745
1767
|
system: any;
|
|
1746
|
-
} | {
|
|
1747
|
-
Void: any;
|
|
1748
1768
|
} | {
|
|
1749
1769
|
Origins: any;
|
|
1750
1770
|
} | {
|
|
@@ -2472,10 +2492,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2472
2492
|
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
2473
2493
|
* [`adapter::StakeStrategyType::Delegate`].
|
|
2474
2494
|
*
|
|
2475
|
-
*
|
|
2476
|
-
*
|
|
2477
|
-
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
|
2478
|
-
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
|
2495
|
+
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
|
2496
|
+
* slash to be applied, caller may be rewarded with the part of the slash.
|
|
2479
2497
|
**/
|
|
2480
2498
|
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | {
|
|
2481
2499
|
Id: any;
|
|
@@ -3019,12 +3037,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3019
3037
|
/**
|
|
3020
3038
|
* Enter the paras inherent. This will process bitfields and backed candidates.
|
|
3021
3039
|
**/
|
|
3022
|
-
enter: AugmentedSubmittable<(data:
|
|
3040
|
+
enter: AugmentedSubmittable<(data: PolkadotPrimitivesVstagingInherentData | {
|
|
3023
3041
|
bitfields?: any;
|
|
3024
3042
|
backedCandidates?: any;
|
|
3025
3043
|
disputes?: any;
|
|
3026
3044
|
parentHeader?: any;
|
|
3027
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3045
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingInherentData]>;
|
|
3028
3046
|
/**
|
|
3029
3047
|
* Generic tx
|
|
3030
3048
|
**/
|
|
@@ -3206,7 +3224,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3206
3224
|
Address32: any;
|
|
3207
3225
|
} | {
|
|
3208
3226
|
Address20: any;
|
|
3209
|
-
} | string | Uint8Array, proxyType:
|
|
3227
|
+
} | string | Uint8Array, proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeConstantsProxyProxyType, u32]>;
|
|
3210
3228
|
/**
|
|
3211
3229
|
* Publish the hash of a proxy-call that will be made in the future.
|
|
3212
3230
|
*
|
|
@@ -3255,7 +3273,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3255
3273
|
*
|
|
3256
3274
|
* Fails if there are insufficient funds to pay for deposit.
|
|
3257
3275
|
**/
|
|
3258
|
-
createPure: AugmentedSubmittable<(proxyType:
|
|
3276
|
+
createPure: AugmentedSubmittable<(proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeConstantsProxyProxyType, u32, u16]>;
|
|
3259
3277
|
/**
|
|
3260
3278
|
* Removes a previously spawned pure proxy.
|
|
3261
3279
|
*
|
|
@@ -3284,7 +3302,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3284
3302
|
Address32: any;
|
|
3285
3303
|
} | {
|
|
3286
3304
|
Address20: any;
|
|
3287
|
-
} | string | Uint8Array, proxyType:
|
|
3305
|
+
} | string | Uint8Array, proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
|
|
3288
3306
|
/**
|
|
3289
3307
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
3290
3308
|
* `add_proxy`.
|
|
@@ -3306,7 +3324,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3306
3324
|
Address32: any;
|
|
3307
3325
|
} | {
|
|
3308
3326
|
Address20: any;
|
|
3309
|
-
} | string | Uint8Array, forceProxyType: Option<
|
|
3327
|
+
} | string | Uint8Array, forceProxyType: Option<KusamaRuntimeConstantsProxyProxyType> | null | Uint8Array | KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<KusamaRuntimeConstantsProxyProxyType>, Call]>;
|
|
3310
3328
|
/**
|
|
3311
3329
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
3312
3330
|
* `add_proxy`.
|
|
@@ -3340,7 +3358,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3340
3358
|
Address32: any;
|
|
3341
3359
|
} | {
|
|
3342
3360
|
Address20: any;
|
|
3343
|
-
} | string | Uint8Array, forceProxyType: Option<
|
|
3361
|
+
} | string | Uint8Array, forceProxyType: Option<KusamaRuntimeConstantsProxyProxyType> | null | Uint8Array | KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<KusamaRuntimeConstantsProxyProxyType>, Call]>;
|
|
3344
3362
|
/**
|
|
3345
3363
|
* Remove the given announcement of a delegate.
|
|
3346
3364
|
*
|
|
@@ -3415,7 +3433,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3415
3433
|
Address32: any;
|
|
3416
3434
|
} | {
|
|
3417
3435
|
Address20: any;
|
|
3418
|
-
} | string | Uint8Array, proxyType:
|
|
3436
|
+
} | string | Uint8Array, proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeConstantsProxyProxyType, u32]>;
|
|
3419
3437
|
/**
|
|
3420
3438
|
* Generic tx
|
|
3421
3439
|
**/
|
|
@@ -3729,8 +3747,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3729
3747
|
**/
|
|
3730
3748
|
submit: AugmentedSubmittable<(proposalOrigin: StagingKusamaRuntimeOriginCaller | {
|
|
3731
3749
|
system: any;
|
|
3732
|
-
} | {
|
|
3733
|
-
Void: any;
|
|
3734
3750
|
} | {
|
|
3735
3751
|
Origins: any;
|
|
3736
3752
|
} | {
|
|
@@ -4702,7 +4718,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4702
4718
|
/**
|
|
4703
4719
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
4704
4720
|
* period ends. If this leaves an amount actively bonded less than
|
|
4705
|
-
*
|
|
4721
|
+
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
4706
4722
|
*
|
|
4707
4723
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
4708
4724
|
*
|
|
@@ -4741,6 +4757,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4741
4757
|
commission?: any;
|
|
4742
4758
|
blocked?: any;
|
|
4743
4759
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingValidatorPrefs]>;
|
|
4760
|
+
/**
|
|
4761
|
+
* Adjusts the staking ledger by withdrawing any excess staked amount.
|
|
4762
|
+
*
|
|
4763
|
+
* This function corrects cases where a user's recorded stake in the ledger
|
|
4764
|
+
* exceeds their actual staked funds. This situation can arise due to cases such as
|
|
4765
|
+
* external slashing by another pallet, leading to an inconsistency between the ledger
|
|
4766
|
+
* and the actual stake.
|
|
4767
|
+
**/
|
|
4768
|
+
withdrawOverstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
4744
4769
|
/**
|
|
4745
4770
|
* Remove any unlocked chunks from the `unlocking` queue from our management.
|
|
4746
4771
|
*
|
|
@@ -4977,12 +5002,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4977
5002
|
V3: any;
|
|
4978
5003
|
} | {
|
|
4979
5004
|
V4: any;
|
|
4980
|
-
} | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
4981
|
-
V2: any;
|
|
4982
5005
|
} | {
|
|
5006
|
+
V5: any;
|
|
5007
|
+
} | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
4983
5008
|
V3: any;
|
|
4984
5009
|
} | {
|
|
4985
5010
|
V4: any;
|
|
5011
|
+
} | {
|
|
5012
|
+
V5: any;
|
|
4986
5013
|
} | string | Uint8Array, validFrom: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, Compact<u128>, XcmVersionedLocation, Option<u32>]>;
|
|
4987
5014
|
/**
|
|
4988
5015
|
* Propose and approve a spend of treasury funds.
|
|
@@ -5102,8 +5129,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5102
5129
|
**/
|
|
5103
5130
|
dispatchAs: AugmentedSubmittable<(asOrigin: StagingKusamaRuntimeOriginCaller | {
|
|
5104
5131
|
system: any;
|
|
5105
|
-
} | {
|
|
5106
|
-
Void: any;
|
|
5107
5132
|
} | {
|
|
5108
5133
|
Origins: any;
|
|
5109
5134
|
} | {
|
|
@@ -5401,17 +5426,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5401
5426
|
* - `beneficiary`: The location/account where the claimed assets will be deposited.
|
|
5402
5427
|
**/
|
|
5403
5428
|
claimAssets: AugmentedSubmittable<(assets: XcmVersionedAssets | {
|
|
5404
|
-
V2: any;
|
|
5405
|
-
} | {
|
|
5406
5429
|
V3: any;
|
|
5407
5430
|
} | {
|
|
5408
5431
|
V4: any;
|
|
5409
|
-
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5410
|
-
V2: any;
|
|
5411
5432
|
} | {
|
|
5433
|
+
V5: any;
|
|
5434
|
+
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5412
5435
|
V3: any;
|
|
5413
5436
|
} | {
|
|
5414
5437
|
V4: any;
|
|
5438
|
+
} | {
|
|
5439
|
+
V5: any;
|
|
5415
5440
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedAssets, XcmVersionedLocation]>;
|
|
5416
5441
|
/**
|
|
5417
5442
|
* Execute an XCM message from a local, signed, origin.
|
|
@@ -5424,11 +5449,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5424
5449
|
* execution attempt will be made.
|
|
5425
5450
|
**/
|
|
5426
5451
|
execute: AugmentedSubmittable<(message: XcmVersionedXcm | {
|
|
5427
|
-
V2: any;
|
|
5428
|
-
} | {
|
|
5429
5452
|
V3: any;
|
|
5430
5453
|
} | {
|
|
5431
5454
|
V4: any;
|
|
5455
|
+
} | {
|
|
5456
|
+
V5: any;
|
|
5432
5457
|
} | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | {
|
|
5433
5458
|
refTime?: any;
|
|
5434
5459
|
proofSize?: any;
|
|
@@ -5448,11 +5473,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5448
5473
|
* - `location`: The location to which we should subscribe for XCM version notifications.
|
|
5449
5474
|
**/
|
|
5450
5475
|
forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | {
|
|
5451
|
-
V2: any;
|
|
5452
|
-
} | {
|
|
5453
5476
|
V3: any;
|
|
5454
5477
|
} | {
|
|
5455
5478
|
V4: any;
|
|
5479
|
+
} | {
|
|
5480
|
+
V5: any;
|
|
5456
5481
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
|
|
5457
5482
|
/**
|
|
5458
5483
|
* Set or unset the global suspension state of the XCM executor.
|
|
@@ -5470,11 +5495,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5470
5495
|
* notifications which we no longer desire.
|
|
5471
5496
|
**/
|
|
5472
5497
|
forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | {
|
|
5473
|
-
V2: any;
|
|
5474
|
-
} | {
|
|
5475
5498
|
V3: any;
|
|
5476
5499
|
} | {
|
|
5477
5500
|
V4: any;
|
|
5501
|
+
} | {
|
|
5502
|
+
V5: any;
|
|
5478
5503
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
|
|
5479
5504
|
/**
|
|
5480
5505
|
* Extoll that a particular destination can be communicated with through a particular
|
|
@@ -5484,10 +5509,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5484
5509
|
* - `location`: The destination that is being described.
|
|
5485
5510
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
5486
5511
|
**/
|
|
5487
|
-
forceXcmVersion: AugmentedSubmittable<(location:
|
|
5512
|
+
forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV5Location | {
|
|
5488
5513
|
parents?: any;
|
|
5489
5514
|
interior?: any;
|
|
5490
|
-
} | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5515
|
+
} | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV5Location, u32]>;
|
|
5491
5516
|
/**
|
|
5492
5517
|
* Transfer some assets from the local chain to the destination chain through their local,
|
|
5493
5518
|
* destination or remote reserve.
|
|
@@ -5521,23 +5546,23 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5521
5546
|
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
|
5522
5547
|
**/
|
|
5523
5548
|
limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
5524
|
-
V2: any;
|
|
5525
|
-
} | {
|
|
5526
5549
|
V3: any;
|
|
5527
5550
|
} | {
|
|
5528
5551
|
V4: any;
|
|
5529
|
-
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5530
|
-
V2: any;
|
|
5531
5552
|
} | {
|
|
5553
|
+
V5: any;
|
|
5554
|
+
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5532
5555
|
V3: any;
|
|
5533
5556
|
} | {
|
|
5534
5557
|
V4: any;
|
|
5535
|
-
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5536
|
-
V2: any;
|
|
5537
5558
|
} | {
|
|
5559
|
+
V5: any;
|
|
5560
|
+
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5538
5561
|
V3: any;
|
|
5539
5562
|
} | {
|
|
5540
5563
|
V4: any;
|
|
5564
|
+
} | {
|
|
5565
|
+
V5: any;
|
|
5541
5566
|
} | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | {
|
|
5542
5567
|
Unlimited: any;
|
|
5543
5568
|
} | {
|
|
@@ -5564,23 +5589,23 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5564
5589
|
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
|
5565
5590
|
**/
|
|
5566
5591
|
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
5567
|
-
V2: any;
|
|
5568
|
-
} | {
|
|
5569
5592
|
V3: any;
|
|
5570
5593
|
} | {
|
|
5571
5594
|
V4: any;
|
|
5572
|
-
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5573
|
-
V2: any;
|
|
5574
5595
|
} | {
|
|
5596
|
+
V5: any;
|
|
5597
|
+
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5575
5598
|
V3: any;
|
|
5576
5599
|
} | {
|
|
5577
5600
|
V4: any;
|
|
5578
|
-
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5579
|
-
V2: any;
|
|
5580
5601
|
} | {
|
|
5602
|
+
V5: any;
|
|
5603
|
+
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5581
5604
|
V3: any;
|
|
5582
5605
|
} | {
|
|
5583
5606
|
V4: any;
|
|
5607
|
+
} | {
|
|
5608
|
+
V5: any;
|
|
5584
5609
|
} | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | {
|
|
5585
5610
|
Unlimited: any;
|
|
5586
5611
|
} | {
|
|
@@ -5619,36 +5644,36 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5619
5644
|
* fees.
|
|
5620
5645
|
**/
|
|
5621
5646
|
reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
5622
|
-
V2: any;
|
|
5623
|
-
} | {
|
|
5624
5647
|
V3: any;
|
|
5625
5648
|
} | {
|
|
5626
5649
|
V4: any;
|
|
5627
|
-
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5628
|
-
V2: any;
|
|
5629
5650
|
} | {
|
|
5651
|
+
V5: any;
|
|
5652
|
+
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5630
5653
|
V3: any;
|
|
5631
5654
|
} | {
|
|
5632
5655
|
V4: any;
|
|
5633
|
-
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5634
|
-
V2: any;
|
|
5635
5656
|
} | {
|
|
5657
|
+
V5: any;
|
|
5658
|
+
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5636
5659
|
V3: any;
|
|
5637
5660
|
} | {
|
|
5638
5661
|
V4: any;
|
|
5662
|
+
} | {
|
|
5663
|
+
V5: any;
|
|
5639
5664
|
} | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
|
|
5640
5665
|
send: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
5641
|
-
V2: any;
|
|
5642
|
-
} | {
|
|
5643
5666
|
V3: any;
|
|
5644
5667
|
} | {
|
|
5645
5668
|
V4: any;
|
|
5646
|
-
} | string | Uint8Array, message: XcmVersionedXcm | {
|
|
5647
|
-
V2: any;
|
|
5648
5669
|
} | {
|
|
5670
|
+
V5: any;
|
|
5671
|
+
} | string | Uint8Array, message: XcmVersionedXcm | {
|
|
5649
5672
|
V3: any;
|
|
5650
5673
|
} | {
|
|
5651
5674
|
V4: any;
|
|
5675
|
+
} | {
|
|
5676
|
+
V5: any;
|
|
5652
5677
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
|
|
5653
5678
|
/**
|
|
5654
5679
|
* Teleport some assets from the local chain to some destination chain.
|
|
@@ -5671,23 +5696,23 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5671
5696
|
* fees.
|
|
5672
5697
|
**/
|
|
5673
5698
|
teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
5674
|
-
V2: any;
|
|
5675
|
-
} | {
|
|
5676
5699
|
V3: any;
|
|
5677
5700
|
} | {
|
|
5678
5701
|
V4: any;
|
|
5679
|
-
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5680
|
-
V2: any;
|
|
5681
5702
|
} | {
|
|
5703
|
+
V5: any;
|
|
5704
|
+
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5682
5705
|
V3: any;
|
|
5683
5706
|
} | {
|
|
5684
5707
|
V4: any;
|
|
5685
|
-
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5686
|
-
V2: any;
|
|
5687
5708
|
} | {
|
|
5709
|
+
V5: any;
|
|
5710
|
+
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5688
5711
|
V3: any;
|
|
5689
5712
|
} | {
|
|
5690
5713
|
V4: any;
|
|
5714
|
+
} | {
|
|
5715
|
+
V5: any;
|
|
5691
5716
|
} | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
|
|
5692
5717
|
/**
|
|
5693
5718
|
* Transfer some assets from the local chain to the destination chain through their local,
|
|
@@ -5725,23 +5750,23 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5725
5750
|
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
|
5726
5751
|
**/
|
|
5727
5752
|
transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
5728
|
-
V2: any;
|
|
5729
|
-
} | {
|
|
5730
5753
|
V3: any;
|
|
5731
5754
|
} | {
|
|
5732
5755
|
V4: any;
|
|
5733
|
-
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5734
|
-
V2: any;
|
|
5735
5756
|
} | {
|
|
5757
|
+
V5: any;
|
|
5758
|
+
} | string | Uint8Array, beneficiary: XcmVersionedLocation | {
|
|
5736
5759
|
V3: any;
|
|
5737
5760
|
} | {
|
|
5738
5761
|
V4: any;
|
|
5739
|
-
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5740
|
-
V2: any;
|
|
5741
5762
|
} | {
|
|
5763
|
+
V5: any;
|
|
5764
|
+
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5742
5765
|
V3: any;
|
|
5743
5766
|
} | {
|
|
5744
5767
|
V4: any;
|
|
5768
|
+
} | {
|
|
5769
|
+
V5: any;
|
|
5745
5770
|
} | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | {
|
|
5746
5771
|
Unlimited: any;
|
|
5747
5772
|
} | {
|
|
@@ -5798,17 +5823,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5798
5823
|
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
|
5799
5824
|
**/
|
|
5800
5825
|
transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
5801
|
-
V2: any;
|
|
5802
|
-
} | {
|
|
5803
5826
|
V3: any;
|
|
5804
5827
|
} | {
|
|
5805
5828
|
V4: any;
|
|
5806
|
-
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5807
|
-
V2: any;
|
|
5808
5829
|
} | {
|
|
5830
|
+
V5: any;
|
|
5831
|
+
} | string | Uint8Array, assets: XcmVersionedAssets | {
|
|
5809
5832
|
V3: any;
|
|
5810
5833
|
} | {
|
|
5811
5834
|
V4: any;
|
|
5835
|
+
} | {
|
|
5836
|
+
V5: any;
|
|
5812
5837
|
} | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | {
|
|
5813
5838
|
Teleport: any;
|
|
5814
5839
|
} | {
|
|
@@ -5821,6 +5846,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5821
5846
|
V3: any;
|
|
5822
5847
|
} | {
|
|
5823
5848
|
V4: any;
|
|
5849
|
+
} | {
|
|
5850
|
+
V5: any;
|
|
5824
5851
|
} | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | {
|
|
5825
5852
|
Teleport: any;
|
|
5826
5853
|
} | {
|
|
@@ -5830,11 +5857,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5830
5857
|
} | {
|
|
5831
5858
|
RemoteReserve: any;
|
|
5832
5859
|
} | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | {
|
|
5833
|
-
V2: any;
|
|
5834
|
-
} | {
|
|
5835
5860
|
V3: any;
|
|
5836
5861
|
} | {
|
|
5837
5862
|
V4: any;
|
|
5863
|
+
} | {
|
|
5864
|
+
V5: any;
|
|
5838
5865
|
} | string | Uint8Array, weightLimit: XcmV3WeightLimit | {
|
|
5839
5866
|
Unlimited: any;
|
|
5840
5867
|
} | {
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/packageDetect.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "15.
|
|
21
|
+
"version": "15.10.2",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -451,11 +451,11 @@
|
|
|
451
451
|
}
|
|
452
452
|
},
|
|
453
453
|
"dependencies": {
|
|
454
|
-
"@polkadot/api-base": "15.
|
|
455
|
-
"@polkadot/rpc-augment": "15.
|
|
456
|
-
"@polkadot/types": "15.
|
|
457
|
-
"@polkadot/types-augment": "15.
|
|
458
|
-
"@polkadot/types-codec": "15.
|
|
454
|
+
"@polkadot/api-base": "15.10.2",
|
|
455
|
+
"@polkadot/rpc-augment": "15.10.2",
|
|
456
|
+
"@polkadot/types": "15.10.2",
|
|
457
|
+
"@polkadot/types-augment": "15.10.2",
|
|
458
|
+
"@polkadot/types-codec": "15.10.2",
|
|
459
459
|
"@polkadot/util": "^13.4.4",
|
|
460
460
|
"tslib": "^2.8.1"
|
|
461
461
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '15.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '15.10.2' };
|
package/polkadot/consts.d.ts
CHANGED
|
@@ -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 } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight,
|
|
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:
|
|
209
|
+
brokerPotLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
|
|
210
210
|
/**
|
|
211
211
|
* Generic const
|
|
212
212
|
**/
|
|
@@ -779,6 +779,9 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
779
779
|
**/
|
|
780
780
|
burn: Permill & AugmentedConst<ApiType>;
|
|
781
781
|
/**
|
|
782
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
783
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
784
|
+
*
|
|
782
785
|
* The maximum number of approvals that can wait in the spending queue.
|
|
783
786
|
*
|
|
784
787
|
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
|
package/polkadot/errors.d.ts
CHANGED
|
@@ -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
|
**/
|
|
@@ -1039,10 +1023,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1039
1023
|
* A reward pool does not exist. In all cases this is a system logic error.
|
|
1040
1024
|
**/
|
|
1041
1025
|
RewardPoolNotFound: AugmentedError<ApiType>;
|
|
1042
|
-
/**
|
|
1043
|
-
* The slash amount is too low to be applied.
|
|
1044
|
-
**/
|
|
1045
|
-
SlashTooLow: AugmentedError<ApiType>;
|
|
1046
1026
|
/**
|
|
1047
1027
|
* A sub pool does not exist.
|
|
1048
1028
|
**/
|
|
@@ -1146,14 +1126,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1146
1126
|
};
|
|
1147
1127
|
paraInherent: {
|
|
1148
1128
|
/**
|
|
1149
|
-
*
|
|
1129
|
+
* Inherent data was filtered during execution. This should have only been done
|
|
1150
1130
|
* during creation.
|
|
1151
1131
|
**/
|
|
1152
|
-
|
|
1153
|
-
/**
|
|
1154
|
-
* The data given to the inherent will result in an overweight block.
|
|
1155
|
-
**/
|
|
1156
|
-
InherentOverweight: AugmentedError<ApiType>;
|
|
1132
|
+
InherentDataFilteredDuringExecution: AugmentedError<ApiType>;
|
|
1157
1133
|
/**
|
|
1158
1134
|
* The hash of the submitted parent header doesn't correspond to the saved block hash of
|
|
1159
1135
|
* the parent.
|