@polkadot/api-augment 10.6.1 → 10.7.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.6.1' };
4
+ exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.7.2' };
@@ -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
  **/
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.6.1",
21
+ "version": "10.7.2",
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.6.1",
190
- "@polkadot/rpc-augment": "10.6.1",
191
- "@polkadot/types": "10.6.1",
192
- "@polkadot/types-augment": "10.6.1",
193
- "@polkadot/types-codec": "10.6.1",
194
- "@polkadot/util": "^12.1.2",
195
- "tslib": "^2.5.0"
220
+ "@polkadot/api-base": "10.7.2",
221
+ "@polkadot/rpc-augment": "10.7.2",
222
+ "@polkadot/types": "10.7.2",
223
+ "@polkadot/types-augment": "10.7.2",
224
+ "@polkadot/types-codec": "10.7.2",
225
+ "@polkadot/util": "^12.2.1",
226
+ "tslib": "^2.5.2"
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.6.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.2' };
@@ -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
  **/
package/polkadot/tx.d.ts CHANGED
@@ -4223,7 +4223,6 @@ declare module '@polkadot/api-base/types/submittable' {
4223
4223
  /**
4224
4224
  * Make some on-chain remark.
4225
4225
  *
4226
- * ## Complexity
4227
4226
  * - `O(1)`
4228
4227
  **/
4229
4228
  remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
@@ -4233,16 +4232,10 @@ declare module '@polkadot/api-base/types/submittable' {
4233
4232
  remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4234
4233
  /**
4235
4234
  * Set the new runtime code.
4236
- *
4237
- * ## Complexity
4238
- * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
4239
4235
  **/
4240
4236
  setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4241
4237
  /**
4242
4238
  * Set the new runtime code without doing any checks of the given `code`.
4243
- *
4244
- * ## Complexity
4245
- * - `O(C)` where `C` length of `code`
4246
4239
  **/
4247
4240
  setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4248
4241
  /**
@@ -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
  **/
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
  /**