@polkadot/api-augment 10.2.1 → 10.2.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.
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.2.1' };
4
+ exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.2.2' };
@@ -51,7 +51,14 @@ declare module '@polkadot/api-base/types/consts' {
51
51
  };
52
52
  balances: {
53
53
  /**
54
- * The minimum amount required to keep an account open.
54
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
55
+ *
56
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
57
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
58
+ * In case you have multiple sources of provider references, you may also get unexpected
59
+ * behaviour if you set this to zero.
60
+ *
61
+ * Bottom line: Do yourself a favour and make it at least one!
55
62
  **/
56
63
  existentialDeposit: u128 & AugmentedConst<ApiType>;
57
64
  /**
@@ -487,7 +494,14 @@ declare module '@polkadot/api-base/types/consts' {
487
494
  };
488
495
  nisCounterpartBalances: {
489
496
  /**
490
- * The minimum amount required to keep an account open.
497
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
498
+ *
499
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
500
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
501
+ * In case you have multiple sources of provider references, you may also get unexpected
502
+ * behaviour if you set this to zero.
503
+ *
504
+ * Bottom line: Do yourself a favour and make it at least one!
491
505
  **/
492
506
  existentialDeposit: u128 & AugmentedConst<ApiType>;
493
507
  /**
@@ -114,6 +114,13 @@ declare module '@polkadot/api-base/types/events' {
114
114
  Issued: AugmentedEvent<ApiType, [amount: u128], {
115
115
  amount: u128;
116
116
  }>;
117
+ /**
118
+ * Some balance was locked.
119
+ **/
120
+ Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
121
+ who: AccountId32;
122
+ amount: u128;
123
+ }>;
117
124
  /**
118
125
  * Some amount was minted into an account.
119
126
  **/
@@ -173,6 +180,13 @@ declare module '@polkadot/api-base/types/events' {
173
180
  to: AccountId32;
174
181
  amount: u128;
175
182
  }>;
183
+ /**
184
+ * Some balance was unlocked.
185
+ **/
186
+ Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
187
+ who: AccountId32;
188
+ amount: u128;
189
+ }>;
176
190
  /**
177
191
  * Some balance was unreserved (moved from reserved to free).
178
192
  **/
@@ -958,6 +972,13 @@ declare module '@polkadot/api-base/types/events' {
958
972
  Issued: AugmentedEvent<ApiType, [amount: u128], {
959
973
  amount: u128;
960
974
  }>;
975
+ /**
976
+ * Some balance was locked.
977
+ **/
978
+ Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
979
+ who: AccountId32;
980
+ amount: u128;
981
+ }>;
961
982
  /**
962
983
  * Some amount was minted into an account.
963
984
  **/
@@ -1017,6 +1038,13 @@ declare module '@polkadot/api-base/types/events' {
1017
1038
  to: AccountId32;
1018
1039
  amount: u128;
1019
1040
  }>;
1041
+ /**
1042
+ * Some balance was unlocked.
1043
+ **/
1044
+ Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
1045
+ who: AccountId32;
1046
+ amount: u128;
1047
+ }>;
1020
1048
  /**
1021
1049
  * Some balance was unreserved (moved from reserved to free).
1022
1050
  **/
package/kusama/tx.d.ts CHANGED
@@ -5,7 +5,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
5
5
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
7
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeParachainsDisputesSlashingDisputeProof, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
8
+ import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeParachainsDisputesSlashingDisputeProof, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
9
9
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
10
10
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
11
11
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -706,6 +706,13 @@ declare module '@polkadot/api-base/types/submittable' {
706
706
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
707
707
  };
708
708
  configuration: {
709
+ /**
710
+ * Set the asynchronous backing parameters.
711
+ **/
712
+ setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesVstagingAsyncBackingParams | {
713
+ maxCandidateDepth?: any;
714
+ allowedAncestryLen?: any;
715
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingAsyncBackingParams]>;
709
716
  /**
710
717
  * Setting this to true will disable consistency checks for the configuration setters.
711
718
  * Use with caution.
@@ -3110,7 +3117,7 @@ declare module '@polkadot/api-base/types/submittable' {
3110
3117
  Address32: any;
3111
3118
  } | {
3112
3119
  Address20: any;
3113
- } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
3120
+ } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
3114
3121
  /**
3115
3122
  * Publish the hash of a proxy-call that will be made in the future.
3116
3123
  *
@@ -3159,7 +3166,7 @@ declare module '@polkadot/api-base/types/submittable' {
3159
3166
  *
3160
3167
  * Fails if there are insufficient funds to pay for deposit.
3161
3168
  **/
3162
- createPure: AugmentedSubmittable<(proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeProxyType, u32, u16]>;
3169
+ createPure: AugmentedSubmittable<(proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeProxyType, u32, u16]>;
3163
3170
  /**
3164
3171
  * Removes a previously spawned pure proxy.
3165
3172
  *
@@ -3188,7 +3195,7 @@ declare module '@polkadot/api-base/types/submittable' {
3188
3195
  Address32: any;
3189
3196
  } | {
3190
3197
  Address20: any;
3191
- } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
3198
+ } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
3192
3199
  /**
3193
3200
  * Dispatch the given `call` from an account that the sender is authorised for through
3194
3201
  * `add_proxy`.
@@ -3210,7 +3217,7 @@ declare module '@polkadot/api-base/types/submittable' {
3210
3217
  Address32: any;
3211
3218
  } | {
3212
3219
  Address20: any;
3213
- } | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<KusamaRuntimeProxyType>, Call]>;
3220
+ } | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<KusamaRuntimeProxyType>, Call]>;
3214
3221
  /**
3215
3222
  * Dispatch the given `call` from an account that the sender is authorized for through
3216
3223
  * `add_proxy`.
@@ -3244,7 +3251,7 @@ declare module '@polkadot/api-base/types/submittable' {
3244
3251
  Address32: any;
3245
3252
  } | {
3246
3253
  Address20: any;
3247
- } | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<KusamaRuntimeProxyType>, Call]>;
3254
+ } | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<KusamaRuntimeProxyType>, Call]>;
3248
3255
  /**
3249
3256
  * Remove the given announcement of a delegate.
3250
3257
  *
@@ -3319,7 +3326,7 @@ declare module '@polkadot/api-base/types/submittable' {
3319
3326
  Address32: any;
3320
3327
  } | {
3321
3328
  Address20: any;
3322
- } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
3329
+ } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
3323
3330
  /**
3324
3331
  * Generic tx
3325
3332
  **/
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "./cjs/detectPackage.js"
19
19
  ],
20
20
  "type": "module",
21
- "version": "10.2.1",
21
+ "version": "10.2.2",
22
22
  "main": "./cjs/index.js",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts",
@@ -186,12 +186,12 @@
186
186
  }
187
187
  },
188
188
  "dependencies": {
189
- "@polkadot/api-base": "10.2.1",
190
- "@polkadot/rpc-augment": "10.2.1",
191
- "@polkadot/types": "10.2.1",
192
- "@polkadot/types-augment": "10.2.1",
193
- "@polkadot/types-codec": "10.2.1",
194
- "@polkadot/util": "^11.1.2",
189
+ "@polkadot/api-base": "10.2.2",
190
+ "@polkadot/rpc-augment": "10.2.2",
191
+ "@polkadot/types": "10.2.2",
192
+ "@polkadot/types-augment": "10.2.2",
193
+ "@polkadot/types-codec": "10.2.2",
194
+ "@polkadot/util": "^11.1.3",
195
195
  "tslib": "^2.5.0"
196
196
  }
197
197
  }
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: '10.2.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: '10.2.2' };
@@ -51,7 +51,14 @@ declare module '@polkadot/api-base/types/consts' {
51
51
  };
52
52
  balances: {
53
53
  /**
54
- * The minimum amount required to keep an account open.
54
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
55
+ *
56
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
57
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
58
+ * In case you have multiple sources of provider references, you may also get unexpected
59
+ * behaviour if you set this to zero.
60
+ *
61
+ * Bottom line: Do yourself a favour and make it at least one!
55
62
  **/
56
63
  existentialDeposit: u128 & AugmentedConst<ApiType>;
57
64
  /**
@@ -114,6 +114,13 @@ declare module '@polkadot/api-base/types/events' {
114
114
  Issued: AugmentedEvent<ApiType, [amount: u128], {
115
115
  amount: u128;
116
116
  }>;
117
+ /**
118
+ * Some balance was locked.
119
+ **/
120
+ Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
121
+ who: AccountId32;
122
+ amount: u128;
123
+ }>;
117
124
  /**
118
125
  * Some amount was minted into an account.
119
126
  **/
@@ -173,6 +180,13 @@ declare module '@polkadot/api-base/types/events' {
173
180
  to: AccountId32;
174
181
  amount: u128;
175
182
  }>;
183
+ /**
184
+ * Some balance was unlocked.
185
+ **/
186
+ Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
187
+ who: AccountId32;
188
+ amount: u128;
189
+ }>;
176
190
  /**
177
191
  * Some balance was unreserved (moved from reserved to free).
178
192
  **/
package/polkadot/tx.d.ts CHANGED
@@ -5,7 +5,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
5
5
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
7
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
8
+ import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
9
9
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
10
10
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
11
11
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -706,6 +706,13 @@ declare module '@polkadot/api-base/types/submittable' {
706
706
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
707
707
  };
708
708
  configuration: {
709
+ /**
710
+ * Set the asynchronous backing parameters.
711
+ **/
712
+ setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesVstagingAsyncBackingParams | {
713
+ maxCandidateDepth?: any;
714
+ allowedAncestryLen?: any;
715
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingAsyncBackingParams]>;
709
716
  /**
710
717
  * Setting this to true will disable consistency checks for the configuration setters.
711
718
  * Use with caution.
@@ -3234,7 +3241,7 @@ declare module '@polkadot/api-base/types/submittable' {
3234
3241
  Address32: any;
3235
3242
  } | {
3236
3243
  Address20: any;
3237
- } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
3244
+ } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
3238
3245
  /**
3239
3246
  * Publish the hash of a proxy-call that will be made in the future.
3240
3247
  *
@@ -3283,7 +3290,7 @@ declare module '@polkadot/api-base/types/submittable' {
3283
3290
  *
3284
3291
  * Fails if there are insufficient funds to pay for deposit.
3285
3292
  **/
3286
- createPure: AugmentedSubmittable<(proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeProxyType, u32, u16]>;
3293
+ createPure: AugmentedSubmittable<(proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeProxyType, u32, u16]>;
3287
3294
  /**
3288
3295
  * Removes a previously spawned pure proxy.
3289
3296
  *
@@ -3312,7 +3319,7 @@ declare module '@polkadot/api-base/types/submittable' {
3312
3319
  Address32: any;
3313
3320
  } | {
3314
3321
  Address20: any;
3315
- } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 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>]>;
3322
+ } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | 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>]>;
3316
3323
  /**
3317
3324
  * Dispatch the given `call` from an account that the sender is authorised for through
3318
3325
  * `add_proxy`.
@@ -3334,7 +3341,7 @@ declare module '@polkadot/api-base/types/submittable' {
3334
3341
  Address32: any;
3335
3342
  } | {
3336
3343
  Address20: any;
3337
- } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
3344
+ } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
3338
3345
  /**
3339
3346
  * Dispatch the given `call` from an account that the sender is authorized for through
3340
3347
  * `add_proxy`.
@@ -3368,7 +3375,7 @@ declare module '@polkadot/api-base/types/submittable' {
3368
3375
  Address32: any;
3369
3376
  } | {
3370
3377
  Address20: any;
3371
- } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
3378
+ } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
3372
3379
  /**
3373
3380
  * Remove the given announcement of a delegate.
3374
3381
  *
@@ -3443,7 +3450,7 @@ declare module '@polkadot/api-base/types/submittable' {
3443
3450
  Address32: any;
3444
3451
  } | {
3445
3452
  Address20: any;
3446
- } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
3453
+ } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
3447
3454
  /**
3448
3455
  * Generic tx
3449
3456
  **/
@@ -191,33 +191,6 @@ declare module '@polkadot/api-base/types/consts' {
191
191
  [key: string]: Codec;
192
192
  };
193
193
  contracts: {
194
- /**
195
- * The maximum number of contracts that can be pending for deletion.
196
- *
197
- * When a contract is deleted by calling `seal_terminate` it becomes inaccessible
198
- * immediately, but the deletion of the storage items it has accumulated is performed
199
- * later. The contract is put into the deletion queue. This defines how many
200
- * contracts can be queued up at the same time. If that limit is reached `seal_terminate`
201
- * will fail. The action must be retried in a later block in that case.
202
- *
203
- * The reasons for limiting the queue depth are:
204
- *
205
- * 1. The queue is in storage in order to be persistent between blocks. We want to limit
206
- * the amount of storage that can be consumed.
207
- * 2. The queue is stored in a vector and needs to be decoded as a whole when reading
208
- * it at the end of each block. Longer queues take more weight to decode and hence
209
- * limit the amount of items that can be deleted per block.
210
- **/
211
- deletionQueueDepth: u32 & AugmentedConst<ApiType>;
212
- /**
213
- * The maximum amount of weight that can be consumed per block for lazy trie removal.
214
- *
215
- * The amount of weight that is dedicated per block to work on the deletion queue. Larger
216
- * values allow more trie keys to be deleted in each block but reduce the amount of
217
- * weight that is left for transactions. See [`Self::DeletionQueueDepth`] for more
218
- * information about the deletion queue.
219
- **/
220
- deletionWeightLimit: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
221
194
  /**
222
195
  * The amount of balance a caller has to pay for each byte of storage.
223
196
  *
@@ -422,14 +422,6 @@ declare module '@polkadot/api-base/types/errors' {
422
422
  * Input passed to a contract API function failed to decode as expected type.
423
423
  **/
424
424
  DecodingFailed: AugmentedError<ApiType>;
425
- /**
426
- * Removal of a contract failed because the deletion queue is full.
427
- *
428
- * This can happen when calling `seal_terminate`.
429
- * The queue is filled by deleting contracts and emptied by a fixed amount each block.
430
- * Trying again during another block is the only way to resolve this issue.
431
- **/
432
- DeletionQueueFull: AugmentedError<ApiType>;
433
425
  /**
434
426
  * A contract with the same AccountId already exists.
435
427
  **/
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
4
4
  import type { BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeHoldReason, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeHoldReason, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } 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>;
@@ -363,9 +363,14 @@ declare module '@polkadot/api-base/types/storage' {
363
363
  * Evicted contracts that await child trie deletion.
364
364
  *
365
365
  * Child trie deletion is a heavy operation depending on the amount of storage items
366
- * stored in said trie. Therefore this operation is performed lazily in `on_initialize`.
366
+ * stored in said trie. Therefore this operation is performed lazily in `on_idle`.
367
367
  **/
368
- deletionQueue: AugmentedQuery<ApiType, () => Observable<Vec<PalletContractsStorageDeletedContract>>, []> & QueryableStorageEntry<ApiType, []>;
368
+ deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
369
+ /**
370
+ * A pair of monotonic counters used to track the latest contract marked for deletion
371
+ * and the latest deleted contract in queue.
372
+ **/
373
+ deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletContractsStorageDeletionQueueManager>, []> & QueryableStorageEntry<ApiType, []>;
369
374
  /**
370
375
  * This is a **monotonic** counter incremented on contract instantiation.
371
376
  *