@polkadot/api-augment 10.5.1 → 10.7.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.
@@ -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.5.1' };
4
+ exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.7.1' };
@@ -1288,11 +1288,6 @@ declare module '@polkadot/api-base/types/errors' {
1288
1288
  * Para is not registered in our system.
1289
1289
  **/
1290
1290
  NotRegistered: AugmentedError<ApiType>;
1291
- /**
1292
- * The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism
1293
- * is disabled.
1294
- **/
1295
- PvfCheckDisabled: AugmentedError<ApiType>;
1296
1291
  /**
1297
1292
  * The given validator already has cast a vote.
1298
1293
  **/
@@ -2095,7 +2090,7 @@ declare module '@polkadot/api-base/types/errors' {
2095
2090
  **/
2096
2091
  Filtered: AugmentedError<ApiType>;
2097
2092
  /**
2098
- * The unlock operation cannot succeed because there are still users of the lock.
2093
+ * The unlock operation cannot succeed because there are still consumers of the lock.
2099
2094
  **/
2100
2095
  InUse: AugmentedError<ApiType>;
2101
2096
  /**
@@ -1578,6 +1578,10 @@ declare module '@polkadot/api-base/types/events' {
1578
1578
  paraId: u32;
1579
1579
  who: AccountId32;
1580
1580
  }>;
1581
+ Swapped: AugmentedEvent<ApiType, [paraId: u32, otherId: u32], {
1582
+ paraId: u32;
1583
+ otherId: u32;
1584
+ }>;
1581
1585
  /**
1582
1586
  * Generic event
1583
1587
  **/
package/kusama/query.d.ts CHANGED
@@ -405,6 +405,8 @@ declare module '@polkadot/api-base/types/storage' {
405
405
  minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
406
406
  /**
407
407
  * Current best solution, signed or unsigned, queued to be returned upon `elect`.
408
+ *
409
+ * Always sorted by score.
408
410
  **/
409
411
  queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
410
412
  /**
package/kusama/tx.d.ts CHANGED
@@ -4593,7 +4593,6 @@ declare module '@polkadot/api-base/types/submittable' {
4593
4593
  /**
4594
4594
  * Make some on-chain remark.
4595
4595
  *
4596
- * ## Complexity
4597
4596
  * - `O(1)`
4598
4597
  **/
4599
4598
  remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
@@ -4603,16 +4602,10 @@ declare module '@polkadot/api-base/types/submittable' {
4603
4602
  remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4604
4603
  /**
4605
4604
  * Set the new runtime code.
4606
- *
4607
- * ## Complexity
4608
- * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
4609
4605
  **/
4610
4606
  setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4611
4607
  /**
4612
4608
  * Set the new runtime code without doing any checks of the given `code`.
4613
- *
4614
- * ## Complexity
4615
- * - `O(C)` where `C` length of `code`
4616
4609
  **/
4617
4610
  setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4618
4611
  /**
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "./cjs/detectPackage.js"
19
19
  ],
20
20
  "type": "module",
21
- "version": "10.5.1",
21
+ "version": "10.7.1",
22
22
  "main": "./cjs/index.js",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts",
@@ -27,66 +27,79 @@
27
27
  "./cjs/*": "./cjs/*.js",
28
28
  ".": {
29
29
  "types": "./index.d.ts",
30
+ "module": "./index.js",
30
31
  "require": "./cjs/index.js",
31
32
  "default": "./index.js"
32
33
  },
33
34
  "./base": {
34
35
  "types": "./base.d.ts",
36
+ "module": "./base.js",
35
37
  "require": "./cjs/base.js",
36
38
  "default": "./base.js"
37
39
  },
38
40
  "./bundle": {
39
41
  "types": "./bundle.d.ts",
42
+ "module": "./bundle.js",
40
43
  "require": "./cjs/bundle.js",
41
44
  "default": "./bundle.js"
42
45
  },
43
46
  "./detectOther": {
44
47
  "types": "./detectOther.d.ts",
48
+ "module": "./detectOther.js",
45
49
  "require": "./cjs/detectOther.js",
46
50
  "default": "./detectOther.js"
47
51
  },
48
52
  "./detectPackage": {
49
53
  "types": "./detectPackage.d.ts",
54
+ "module": "./detectPackage.js",
50
55
  "require": "./cjs/detectPackage.js",
51
56
  "default": "./detectPackage.js"
52
57
  },
53
58
  "./kusama": {
54
59
  "types": "./kusama/index.d.ts",
60
+ "module": "./kusama/index.js",
55
61
  "require": "./cjs/kusama/index.js",
56
62
  "default": "./kusama/index.js"
57
63
  },
58
64
  "./kusama/consts": {
59
65
  "types": "./kusama/consts.d.ts",
66
+ "module": "./kusama/consts.js",
60
67
  "require": "./cjs/kusama/consts.js",
61
68
  "default": "./kusama/consts.js"
62
69
  },
63
70
  "./kusama/errors": {
64
71
  "types": "./kusama/errors.d.ts",
72
+ "module": "./kusama/errors.js",
65
73
  "require": "./cjs/kusama/errors.js",
66
74
  "default": "./kusama/errors.js"
67
75
  },
68
76
  "./kusama/events": {
69
77
  "types": "./kusama/events.d.ts",
78
+ "module": "./kusama/events.js",
70
79
  "require": "./cjs/kusama/events.js",
71
80
  "default": "./kusama/events.js"
72
81
  },
73
82
  "./kusama/query": {
74
83
  "types": "./kusama/query.d.ts",
84
+ "module": "./kusama/query.js",
75
85
  "require": "./cjs/kusama/query.js",
76
86
  "default": "./kusama/query.js"
77
87
  },
78
88
  "./kusama/registry": {
79
89
  "types": "./kusama/registry.d.ts",
90
+ "module": "./kusama/registry.js",
80
91
  "require": "./cjs/kusama/registry.js",
81
92
  "default": "./kusama/registry.js"
82
93
  },
83
94
  "./kusama/runtime": {
84
95
  "types": "./kusama/runtime.d.ts",
96
+ "module": "./kusama/runtime.js",
85
97
  "require": "./cjs/kusama/runtime.js",
86
98
  "default": "./kusama/runtime.js"
87
99
  },
88
100
  "./kusama/tx": {
89
101
  "types": "./kusama/tx.d.ts",
102
+ "module": "./kusama/tx.js",
90
103
  "require": "./cjs/kusama/tx.js",
91
104
  "default": "./kusama/tx.js"
92
105
  },
@@ -96,102 +109,120 @@
96
109
  },
97
110
  "./packageInfo.js": {
98
111
  "types": "./packageInfo.d.ts",
112
+ "module": "./packageInfo.js",
99
113
  "require": "./cjs/packageInfo.js",
100
114
  "default": "./packageInfo.js"
101
115
  },
102
116
  "./packageInfo": {
103
117
  "types": "./packageInfo.d.ts",
118
+ "module": "./packageInfo.js",
104
119
  "require": "./cjs/packageInfo.js",
105
120
  "default": "./packageInfo.js"
106
121
  },
107
122
  "./polkadot": {
108
123
  "types": "./polkadot/index.d.ts",
124
+ "module": "./polkadot/index.js",
109
125
  "require": "./cjs/polkadot/index.js",
110
126
  "default": "./polkadot/index.js"
111
127
  },
112
128
  "./polkadot/consts": {
113
129
  "types": "./polkadot/consts.d.ts",
130
+ "module": "./polkadot/consts.js",
114
131
  "require": "./cjs/polkadot/consts.js",
115
132
  "default": "./polkadot/consts.js"
116
133
  },
117
134
  "./polkadot/errors": {
118
135
  "types": "./polkadot/errors.d.ts",
136
+ "module": "./polkadot/errors.js",
119
137
  "require": "./cjs/polkadot/errors.js",
120
138
  "default": "./polkadot/errors.js"
121
139
  },
122
140
  "./polkadot/events": {
123
141
  "types": "./polkadot/events.d.ts",
142
+ "module": "./polkadot/events.js",
124
143
  "require": "./cjs/polkadot/events.js",
125
144
  "default": "./polkadot/events.js"
126
145
  },
127
146
  "./polkadot/query": {
128
147
  "types": "./polkadot/query.d.ts",
148
+ "module": "./polkadot/query.js",
129
149
  "require": "./cjs/polkadot/query.js",
130
150
  "default": "./polkadot/query.js"
131
151
  },
132
152
  "./polkadot/registry": {
133
153
  "types": "./polkadot/registry.d.ts",
154
+ "module": "./polkadot/registry.js",
134
155
  "require": "./cjs/polkadot/registry.js",
135
156
  "default": "./polkadot/registry.js"
136
157
  },
137
158
  "./polkadot/runtime": {
138
159
  "types": "./polkadot/runtime.d.ts",
160
+ "module": "./polkadot/runtime.js",
139
161
  "require": "./cjs/polkadot/runtime.js",
140
162
  "default": "./polkadot/runtime.js"
141
163
  },
142
164
  "./polkadot/tx": {
143
165
  "types": "./polkadot/tx.d.ts",
166
+ "module": "./polkadot/tx.js",
144
167
  "require": "./cjs/polkadot/tx.js",
145
168
  "default": "./polkadot/tx.js"
146
169
  },
147
170
  "./substrate": {
148
171
  "types": "./substrate/index.d.ts",
172
+ "module": "./substrate/index.js",
149
173
  "require": "./cjs/substrate/index.js",
150
174
  "default": "./substrate/index.js"
151
175
  },
152
176
  "./substrate/consts": {
153
177
  "types": "./substrate/consts.d.ts",
178
+ "module": "./substrate/consts.js",
154
179
  "require": "./cjs/substrate/consts.js",
155
180
  "default": "./substrate/consts.js"
156
181
  },
157
182
  "./substrate/errors": {
158
183
  "types": "./substrate/errors.d.ts",
184
+ "module": "./substrate/errors.js",
159
185
  "require": "./cjs/substrate/errors.js",
160
186
  "default": "./substrate/errors.js"
161
187
  },
162
188
  "./substrate/events": {
163
189
  "types": "./substrate/events.d.ts",
190
+ "module": "./substrate/events.js",
164
191
  "require": "./cjs/substrate/events.js",
165
192
  "default": "./substrate/events.js"
166
193
  },
167
194
  "./substrate/query": {
168
195
  "types": "./substrate/query.d.ts",
196
+ "module": "./substrate/query.js",
169
197
  "require": "./cjs/substrate/query.js",
170
198
  "default": "./substrate/query.js"
171
199
  },
172
200
  "./substrate/registry": {
173
201
  "types": "./substrate/registry.d.ts",
202
+ "module": "./substrate/registry.js",
174
203
  "require": "./cjs/substrate/registry.js",
175
204
  "default": "./substrate/registry.js"
176
205
  },
177
206
  "./substrate/runtime": {
178
207
  "types": "./substrate/runtime.d.ts",
208
+ "module": "./substrate/runtime.js",
179
209
  "require": "./cjs/substrate/runtime.js",
180
210
  "default": "./substrate/runtime.js"
181
211
  },
182
212
  "./substrate/tx": {
183
213
  "types": "./substrate/tx.d.ts",
214
+ "module": "./substrate/tx.js",
184
215
  "require": "./cjs/substrate/tx.js",
185
216
  "default": "./substrate/tx.js"
186
217
  }
187
218
  },
188
219
  "dependencies": {
189
- "@polkadot/api-base": "10.5.1",
190
- "@polkadot/rpc-augment": "10.5.1",
191
- "@polkadot/types": "10.5.1",
192
- "@polkadot/types-augment": "10.5.1",
193
- "@polkadot/types-codec": "10.5.1",
194
- "@polkadot/util": "^12.1.1",
220
+ "@polkadot/api-base": "10.7.1",
221
+ "@polkadot/rpc-augment": "10.7.1",
222
+ "@polkadot/types": "10.7.1",
223
+ "@polkadot/types-augment": "10.7.1",
224
+ "@polkadot/types-codec": "10.7.1",
225
+ "@polkadot/util": "^12.2.1",
195
226
  "tslib": "^2.5.0"
196
227
  }
197
228
  }
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.5.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.7.1' };
@@ -1224,11 +1224,6 @@ declare module '@polkadot/api-base/types/errors' {
1224
1224
  * Para is not registered in our system.
1225
1225
  **/
1226
1226
  NotRegistered: AugmentedError<ApiType>;
1227
- /**
1228
- * The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism
1229
- * is disabled.
1230
- **/
1231
- PvfCheckDisabled: AugmentedError<ApiType>;
1232
1227
  /**
1233
1228
  * The given validator already has cast a vote.
1234
1229
  **/
@@ -1300,6 +1295,37 @@ declare module '@polkadot/api-base/types/errors' {
1300
1295
  **/
1301
1296
  [key: string]: AugmentedError<ApiType>;
1302
1297
  };
1298
+ parasSlashing: {
1299
+ /**
1300
+ * The given slashing report is valid but already previously reported.
1301
+ **/
1302
+ DuplicateSlashingReport: AugmentedError<ApiType>;
1303
+ /**
1304
+ * The candidate hash is invalid.
1305
+ **/
1306
+ InvalidCandidateHash: AugmentedError<ApiType>;
1307
+ /**
1308
+ * The key ownership proof is invalid.
1309
+ **/
1310
+ InvalidKeyOwnershipProof: AugmentedError<ApiType>;
1311
+ /**
1312
+ * The session index is too old or invalid.
1313
+ **/
1314
+ InvalidSessionIndex: AugmentedError<ApiType>;
1315
+ /**
1316
+ * There is no pending slash for the given validator index and time
1317
+ * slot.
1318
+ **/
1319
+ InvalidValidatorIndex: AugmentedError<ApiType>;
1320
+ /**
1321
+ * The validator index does not match the validator id.
1322
+ **/
1323
+ ValidatorIndexIdMismatch: AugmentedError<ApiType>;
1324
+ /**
1325
+ * Generic error
1326
+ **/
1327
+ [key: string]: AugmentedError<ApiType>;
1328
+ };
1303
1329
  phragmenElection: {
1304
1330
  /**
1305
1331
  * Duplicated candidate submission.
@@ -2020,7 +2046,7 @@ declare module '@polkadot/api-base/types/errors' {
2020
2046
  **/
2021
2047
  Filtered: AugmentedError<ApiType>;
2022
2048
  /**
2023
- * The unlock operation cannot succeed because there are still users of the lock.
2049
+ * The unlock operation cannot succeed because there are still consumers of the lock.
2024
2050
  **/
2025
2051
  InUse: AugmentedError<ApiType>;
2026
2052
  /**
@@ -1396,6 +1396,10 @@ declare module '@polkadot/api-base/types/events' {
1396
1396
  paraId: u32;
1397
1397
  who: AccountId32;
1398
1398
  }>;
1399
+ Swapped: AugmentedEvent<ApiType, [paraId: u32, otherId: u32], {
1400
+ paraId: u32;
1401
+ otherId: u32;
1402
+ }>;
1399
1403
  /**
1400
1404
  * Generic event
1401
1405
  **/
@@ -5,7 +5,7 @@ import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool,
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
7
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4AssignmentAppPublic, PolkadotPrimitivesV4CandidateCommitments, PolkadotPrimitivesV4CoreOccupied, PolkadotPrimitivesV4DisputeState, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4ScrapedOnChainVotes, PolkadotPrimitivesV4SessionInfo, PolkadotPrimitivesV4UpgradeGoAhead, PolkadotPrimitivesV4UpgradeRestriction, PolkadotPrimitivesV4ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4AssignmentAppPublic, PolkadotPrimitivesV4CandidateCommitments, PolkadotPrimitivesV4CoreOccupied, PolkadotPrimitivesV4DisputeState, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4ScrapedOnChainVotes, PolkadotPrimitivesV4SessionInfo, PolkadotPrimitivesV4UpgradeGoAhead, PolkadotPrimitivesV4UpgradeRestriction, PolkadotPrimitivesV4ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsDisputesSlashingPendingSlashes, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
9
9
  import type { Observable } from '@polkadot/types/types';
10
10
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
11
11
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -510,6 +510,8 @@ declare module '@polkadot/api-base/types/storage' {
510
510
  minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
511
511
  /**
512
512
  * Current best solution, signed or unsigned, queued to be returned upon `elect`.
513
+ *
514
+ * Always sorted by score.
513
515
  **/
514
516
  queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
515
517
  /**
@@ -1272,6 +1274,20 @@ declare module '@polkadot/api-base/types/storage' {
1272
1274
  **/
1273
1275
  [key: string]: QueryableStorageEntry<ApiType>;
1274
1276
  };
1277
+ parasSlashing: {
1278
+ /**
1279
+ * Validators pending dispute slashes.
1280
+ **/
1281
+ unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsDisputesSlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1282
+ /**
1283
+ * `ValidatorSetCount` per session.
1284
+ **/
1285
+ validatorSetCounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1286
+ /**
1287
+ * Generic query
1288
+ **/
1289
+ [key: string]: QueryableStorageEntry<ApiType>;
1290
+ };
1275
1291
  phragmenElection: {
1276
1292
  /**
1277
1293
  * The present candidate list. A current member or runner-up can never enter this vector
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, PolkadotPrimitivesV4ExecutorParams, 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';
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, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsDisputesSlashingDisputeProof, 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>;
@@ -3031,6 +3031,22 @@ declare module '@polkadot/api-base/types/submittable' {
3031
3031
  **/
3032
3032
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
3033
3033
  };
3034
+ parasSlashing: {
3035
+ reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotRuntimeParachainsDisputesSlashingDisputeProof | {
3036
+ timeSlot?: any;
3037
+ kind?: any;
3038
+ validatorIndex?: any;
3039
+ validatorId?: any;
3040
+ } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
3041
+ session?: any;
3042
+ trieNodes?: any;
3043
+ validatorCount?: any;
3044
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeParachainsDisputesSlashingDisputeProof, SpSessionMembershipProof]>;
3045
+ /**
3046
+ * Generic tx
3047
+ **/
3048
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3049
+ };
3034
3050
  phragmenElection: {
3035
3051
  /**
3036
3052
  * Clean all voters who are defunct (i.e. they do not serve any purpose at all). The
@@ -4207,7 +4223,6 @@ declare module '@polkadot/api-base/types/submittable' {
4207
4223
  /**
4208
4224
  * Make some on-chain remark.
4209
4225
  *
4210
- * ## Complexity
4211
4226
  * - `O(1)`
4212
4227
  **/
4213
4228
  remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
@@ -4217,16 +4232,10 @@ declare module '@polkadot/api-base/types/submittable' {
4217
4232
  remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4218
4233
  /**
4219
4234
  * Set the new runtime code.
4220
- *
4221
- * ## Complexity
4222
- * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
4223
4235
  **/
4224
4236
  setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4225
4237
  /**
4226
4238
  * Set the new runtime code without doing any checks of the given `code`.
4227
- *
4228
- * ## Complexity
4229
- * - `O(C)` where `C` length of `code`
4230
4239
  **/
4231
4240
  setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4232
4241
  /**
@@ -1137,6 +1137,36 @@ declare module '@polkadot/api-base/types/consts' {
1137
1137
  **/
1138
1138
  [key: string]: Codec;
1139
1139
  };
1140
+ statement: {
1141
+ /**
1142
+ * Cost of data byte used for priority calculation.
1143
+ **/
1144
+ byteCost: u128 & AugmentedConst<ApiType>;
1145
+ /**
1146
+ * Maximum data bytes allowed per account.
1147
+ **/
1148
+ maxAllowedBytes: u32 & AugmentedConst<ApiType>;
1149
+ /**
1150
+ * Maximum number of statements allowed per account.
1151
+ **/
1152
+ maxAllowedStatements: u32 & AugmentedConst<ApiType>;
1153
+ /**
1154
+ * Minimum data bytes allowed per account.
1155
+ **/
1156
+ minAllowedBytes: u32 & AugmentedConst<ApiType>;
1157
+ /**
1158
+ * Minimum number of statements allowed per account.
1159
+ **/
1160
+ minAllowedStatements: u32 & AugmentedConst<ApiType>;
1161
+ /**
1162
+ * Min balance for priority statements.
1163
+ **/
1164
+ statementCost: u128 & AugmentedConst<ApiType>;
1165
+ /**
1166
+ * Generic const
1167
+ **/
1168
+ [key: string]: Codec;
1169
+ };
1140
1170
  stateTrieMigration: {
1141
1171
  /**
1142
1172
  * Maximal number of bytes that a key can have.
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -236,6 +236,13 @@ declare module '@polkadot/api-base/types/events' {
236
236
  AssetThawed: AugmentedEvent<ApiType, [assetId: u32], {
237
237
  assetId: u32;
238
238
  }>;
239
+ /**
240
+ * Some account `who` was blocked.
241
+ **/
242
+ Blocked: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32], {
243
+ assetId: u32;
244
+ who: AccountId32;
245
+ }>;
239
246
  /**
240
247
  * Some assets were destroyed.
241
248
  **/
@@ -325,6 +332,14 @@ declare module '@polkadot/api-base/types/events' {
325
332
  assetId: u32;
326
333
  who: AccountId32;
327
334
  }>;
335
+ /**
336
+ * Some account `who` was created with a deposit from `depositor`.
337
+ **/
338
+ Touched: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, depositor: AccountId32], {
339
+ assetId: u32;
340
+ who: AccountId32;
341
+ depositor: AccountId32;
342
+ }>;
328
343
  /**
329
344
  * Some assets were transferred.
330
345
  **/
@@ -620,8 +635,8 @@ declare module '@polkadot/api-base/types/events' {
620
635
  * calls. This is because on failure all storage changes including events are
621
636
  * rolled back.
622
637
  **/
623
- Called: AugmentedEvent<ApiType, [caller: AccountId32, contract: AccountId32], {
624
- caller: AccountId32;
638
+ Called: AugmentedEvent<ApiType, [caller: PalletContractsOrigin, contract: AccountId32], {
639
+ caller: PalletContractsOrigin;
625
640
  contract: AccountId32;
626
641
  }>;
627
642
  /**
@@ -2660,6 +2675,19 @@ declare module '@polkadot/api-base/types/events' {
2660
2675
  **/
2661
2676
  [key: string]: AugmentedEvent<ApiType>;
2662
2677
  };
2678
+ statement: {
2679
+ /**
2680
+ * A new statement is submitted
2681
+ **/
2682
+ NewStatement: AugmentedEvent<ApiType, [account: AccountId32, statement: SpStatementStoreStatement], {
2683
+ account: AccountId32;
2684
+ statement: SpStatementStoreStatement;
2685
+ }>;
2686
+ /**
2687
+ * Generic event
2688
+ **/
2689
+ [key: string]: AugmentedEvent<ApiType>;
2690
+ };
2663
2691
  stateTrieMigration: {
2664
2692
  /**
2665
2693
  * The auto migration task finished.
package/substrate/tx.d.ts CHANGED
@@ -337,6 +337,29 @@ declare module '@polkadot/api-base/types/submittable' {
337
337
  } | {
338
338
  Address20: any;
339
339
  } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
340
+ /**
341
+ * Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
342
+ *
343
+ * Origin must be Signed and the sender should be the Freezer of the asset `id`.
344
+ *
345
+ * - `id`: The identifier of the account's asset.
346
+ * - `who`: The account to be unblocked.
347
+ *
348
+ * Emits `Blocked`.
349
+ *
350
+ * Weight: `O(1)`
351
+ **/
352
+ block: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | {
353
+ Id: any;
354
+ } | {
355
+ Index: any;
356
+ } | {
357
+ Raw: any;
358
+ } | {
359
+ Address32: any;
360
+ } | {
361
+ Address20: any;
362
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
340
363
  /**
341
364
  * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
342
365
  *
@@ -687,7 +710,9 @@ declare module '@polkadot/api-base/types/submittable' {
687
710
  Address20: any;
688
711
  } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, Compact<u128>]>;
689
712
  /**
690
- * Disallow further unprivileged transfers from an account.
713
+ * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
714
+ * must already exist as an entry in `Account`s of the asset. If you want to freeze an
715
+ * account that does not have an entry, use `touch_other` first.
691
716
  *
692
717
  * Origin must be Signed and the sender should be the Freezer of the asset `id`.
693
718
  *
@@ -747,16 +772,41 @@ declare module '@polkadot/api-base/types/submittable' {
747
772
  Address20: any;
748
773
  } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
749
774
  /**
750
- * Return the deposit (if any) of an asset account.
775
+ * Return the deposit (if any) of an asset account or a consumer reference (if any) of an
776
+ * account.
751
777
  *
752
778
  * The origin must be Signed.
753
779
  *
754
- * - `id`: The identifier of the asset for the account to be created.
780
+ * - `id`: The identifier of the asset for which the caller would like the deposit
781
+ * refunded.
755
782
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
756
783
  *
757
784
  * Emits `Refunded` event when successful.
758
785
  **/
759
786
  refund: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, bool]>;
787
+ /**
788
+ * Return the deposit (if any) of a target asset account. Useful if you are the depositor.
789
+ *
790
+ * The origin must be Signed and either the account owner, depositor, or asset `Admin`. In
791
+ * order to burn a non-zero balance of the asset, the caller must be the account and should
792
+ * use `refund`.
793
+ *
794
+ * - `id`: The identifier of the asset for the account holding a deposit.
795
+ * - `who`: The account to refund.
796
+ *
797
+ * Emits `Refunded` event when successful.
798
+ **/
799
+ refundOther: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | {
800
+ Id: any;
801
+ } | {
802
+ Index: any;
803
+ } | {
804
+ Raw: any;
805
+ } | {
806
+ Address32: any;
807
+ } | {
808
+ Address20: any;
809
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
760
810
  /**
761
811
  * Set the metadata for an asset.
762
812
  *
@@ -851,7 +901,7 @@ declare module '@polkadot/api-base/types/submittable' {
851
901
  **/
852
902
  startDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
853
903
  /**
854
- * Allow unprivileged transfers from an account again.
904
+ * Allow unprivileged transfers to and from an account again.
855
905
  *
856
906
  * Origin must be Signed and the sender should be the Admin of the asset `id`.
857
907
  *
@@ -897,6 +947,29 @@ declare module '@polkadot/api-base/types/submittable' {
897
947
  * Emits `Touched` event when successful.
898
948
  **/
899
949
  touch: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
950
+ /**
951
+ * Create an asset account for `who`.
952
+ *
953
+ * A deposit will be taken from the signer account.
954
+ *
955
+ * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
956
+ * must have sufficient funds for a deposit to be taken.
957
+ * - `id`: The identifier of the asset for the account to be created.
958
+ * - `who`: The account to be created.
959
+ *
960
+ * Emits `Touched` event when successful.
961
+ **/
962
+ touchOther: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | {
963
+ Id: any;
964
+ } | {
965
+ Index: any;
966
+ } | {
967
+ Raw: any;
968
+ } | {
969
+ Address32: any;
970
+ } | {
971
+ Address20: any;
972
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
900
973
  /**
901
974
  * Move some assets from the sender account to another.
902
975
  *
@@ -6099,17 +6172,7 @@ declare module '@polkadot/api-base/types/submittable' {
6099
6172
  * NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
6100
6173
  * unless the `origin` falls below _existential deposit_ and gets removed as dust.
6101
6174
  **/
6102
- bond: AugmentedSubmittable<(controller: MultiAddress | {
6103
- Id: any;
6104
- } | {
6105
- Index: any;
6106
- } | {
6107
- Raw: any;
6108
- } | {
6109
- Address32: any;
6110
- } | {
6111
- Address20: any;
6112
- } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | {
6175
+ bond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | {
6113
6176
  Staked: any;
6114
6177
  } | {
6115
6178
  Stash: any;
@@ -6119,7 +6182,7 @@ declare module '@polkadot/api-base/types/submittable' {
6119
6182
  Account: any;
6120
6183
  } | {
6121
6184
  None: any;
6122
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, PalletStakingRewardDestination]>;
6185
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PalletStakingRewardDestination]>;
6123
6186
  /**
6124
6187
  * Add some extra amount that have appeared in the stash `free_balance` into the balance up
6125
6188
  * for staking.
@@ -6351,7 +6414,10 @@ declare module '@polkadot/api-base/types/submittable' {
6351
6414
  **/
6352
6415
  scaleValidatorCount: AugmentedSubmittable<(factor: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Percent]>;
6353
6416
  /**
6354
- * (Re-)set the controller of a stash.
6417
+ * (Re-)sets the controller of a stash to the stash itself. This function previously
6418
+ * accepted a `controller` argument to set the controller to an account other than the
6419
+ * stash itself. This functionality has now been removed, now only setting the controller
6420
+ * to the stash, if it is not already.
6355
6421
  *
6356
6422
  * Effects will be felt instantly (as soon as this function is completed successfully).
6357
6423
  *
@@ -6363,17 +6429,7 @@ declare module '@polkadot/api-base/types/submittable' {
6363
6429
  * - Contains a limited number of reads.
6364
6430
  * - Writes are limited to the `origin` account key.
6365
6431
  **/
6366
- setController: AugmentedSubmittable<(controller: MultiAddress | {
6367
- Id: any;
6368
- } | {
6369
- Index: any;
6370
- } | {
6371
- Raw: any;
6372
- } | {
6373
- Address32: any;
6374
- } | {
6375
- Address20: any;
6376
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
6432
+ setController: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
6377
6433
  /**
6378
6434
  * Set the validators who cannot be slashed (if any).
6379
6435
  *
@@ -6711,7 +6767,6 @@ declare module '@polkadot/api-base/types/submittable' {
6711
6767
  /**
6712
6768
  * Make some on-chain remark.
6713
6769
  *
6714
- * ## Complexity
6715
6770
  * - `O(1)`
6716
6771
  **/
6717
6772
  remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
@@ -6721,16 +6776,10 @@ declare module '@polkadot/api-base/types/submittable' {
6721
6776
  remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
6722
6777
  /**
6723
6778
  * Set the new runtime code.
6724
- *
6725
- * ## Complexity
6726
- * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
6727
6779
  **/
6728
6780
  setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
6729
6781
  /**
6730
6782
  * Set the new runtime code without doing any checks of the given `code`.
6731
- *
6732
- * ## Complexity
6733
- * - `O(C)` where `C` length of `code`
6734
6783
  **/
6735
6784
  setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
6736
6785
  /**