@storagehub/api-augment 0.2.14 → 0.4.0

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.
Files changed (85) hide show
  1. package/dist/parachain/interfaces/augment-api-consts.js +1 -1
  2. package/dist/parachain/interfaces/augment-api-errors.js +1 -1
  3. package/dist/parachain/interfaces/augment-api-events.js +1 -1
  4. package/dist/parachain/interfaces/augment-api-query.js +1 -1
  5. package/dist/parachain/interfaces/augment-api-rpc.js +1 -1
  6. package/dist/parachain/interfaces/augment-api-runtime.js +1 -1
  7. package/dist/parachain/interfaces/augment-api-tx.js +1 -1
  8. package/dist/parachain/interfaces/augment-api.js +7 -7
  9. package/dist/parachain/interfaces/augment-types.js +1 -1
  10. package/dist/parachain/interfaces/index.js +1 -1
  11. package/dist/parachain/interfaces/lookup.js +2785 -2373
  12. package/dist/parachain/interfaces/lookup.js.map +1 -1
  13. package/dist/parachain/interfaces/registry.js +1 -1
  14. package/dist/parachain/interfaces/storagehubclient/index.js +1 -1
  15. package/dist/parachain/interfaces/storagehubclient/runtime.js +5 -0
  16. package/dist/parachain/interfaces/storagehubclient/runtime.js.map +1 -1
  17. package/dist/parachain/interfaces/types-lookup.js +1 -1
  18. package/dist/parachain/interfaces/types.js +1 -1
  19. package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
  20. package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
  21. package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
  22. package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
  23. package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
  24. package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
  25. package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
  26. package/dist/solochain-evm/interfaces/augment-api.js +7 -7
  27. package/dist/solochain-evm/interfaces/augment-types.js +1 -1
  28. package/dist/solochain-evm/interfaces/index.js +1 -1
  29. package/dist/solochain-evm/interfaces/lookup.js +2029 -1659
  30. package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
  31. package/dist/solochain-evm/interfaces/registry.js +1 -1
  32. package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
  33. package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
  34. package/dist/solochain-evm/interfaces/types.js +1 -1
  35. package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
  36. package/dist/types/parachain/interfaces/augment-api-errors.d.ts +7 -3
  37. package/dist/types/parachain/interfaces/augment-api-events.d.ts +828 -174
  38. package/dist/types/parachain/interfaces/augment-api-query.d.ts +330 -112
  39. package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
  40. package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +33 -25
  41. package/dist/types/parachain/interfaces/augment-api-tx.d.ts +639 -149
  42. package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
  43. package/dist/types/parachain/interfaces/augment-types.d.ts +75 -75
  44. package/dist/types/parachain/interfaces/index.d.ts +1 -1
  45. package/dist/types/parachain/interfaces/lookup.d.ts +227 -217
  46. package/dist/types/parachain/interfaces/registry.d.ts +3 -3
  47. package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
  48. package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +34 -34
  49. package/dist/types/parachain/interfaces/types-lookup.d.ts +536 -406
  50. package/dist/types/parachain/interfaces/types.d.ts +1 -1
  51. package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
  52. package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +7 -3
  53. package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +674 -139
  54. package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +302 -100
  55. package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
  56. package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +33 -25
  57. package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +584 -132
  58. package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
  59. package/dist/types/solochain-evm/interfaces/augment-types.d.ts +75 -75
  60. package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
  61. package/dist/types/solochain-evm/interfaces/lookup.d.ts +183 -173
  62. package/dist/types/solochain-evm/interfaces/registry.d.ts +3 -3
  63. package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
  64. package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +35 -35
  65. package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +412 -312
  66. package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
  67. package/metadata-sh-parachain.json +1 -1
  68. package/metadata-sh-solochain-evm.json +1 -1
  69. package/package.json +2 -2
  70. package/src/parachain/interfaces/augment-api-errors.ts +4 -0
  71. package/src/parachain/interfaces/augment-api-events.ts +8 -0
  72. package/src/parachain/interfaces/augment-api-query.ts +12 -0
  73. package/src/parachain/interfaces/augment-api-runtime.ts +14 -0
  74. package/src/parachain/interfaces/augment-api-tx.ts +13 -0
  75. package/src/parachain/interfaces/lookup.ts +233 -222
  76. package/src/parachain/interfaces/storagehubclient/runtime.ts +5 -0
  77. package/src/parachain/interfaces/types-lookup.ts +237 -224
  78. package/src/solochain-evm/interfaces/augment-api-errors.ts +4 -0
  79. package/src/solochain-evm/interfaces/augment-api-events.ts +8 -0
  80. package/src/solochain-evm/interfaces/augment-api-query.ts +12 -0
  81. package/src/solochain-evm/interfaces/augment-api-runtime.ts +14 -0
  82. package/src/solochain-evm/interfaces/augment-api-tx.ts +13 -0
  83. package/src/solochain-evm/interfaces/lookup.ts +189 -178
  84. package/src/solochain-evm/interfaces/types-lookup.ts +193 -180
  85. package/storagehub-api-augment-0.2.14.tgz +0 -0
@@ -1,13 +1,13 @@
1
- import '@polkadot/api-base/types/submittable';
2
- import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
3
- import type { Bytes, Compact, Option, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
4
- import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId32, Call, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
6
- import type { CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, PalletBalancesAdjustmentDirection, PalletFileSystemBucketMoveRequestResponse, PalletFileSystemFileDeletionRequest, PalletFileSystemFileKeyWithProof, PalletFileSystemFileOperationIntention, PalletFileSystemReplicationTarget, PalletFileSystemStorageRequestMspBucketResponse, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletProofsDealerProof, ShParachainRuntimeConfigsRuntimeParamsRuntimeParameters, ShParachainRuntimeSessionKeys, SpRuntimeMultiSignature, SpTrieStorageProofCompactProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
1
+ import "@polkadot/api-base/types/submittable";
2
+ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from "@polkadot/api-base/types";
3
+ import type { Bytes, Compact, Option, Vec, bool, u128, u32, u64 } from "@polkadot/types-codec";
4
+ import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types";
5
+ import type { AccountId32, Call, H256, MultiAddress } from "@polkadot/types/interfaces/runtime";
6
+ import type { CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, PalletBalancesAdjustmentDirection, PalletFileSystemBucketMoveRequestResponse, PalletFileSystemFileDeletionRequest, PalletFileSystemFileKeyWithProof, PalletFileSystemFileOperationIntention, PalletFileSystemReplicationTarget, PalletFileSystemStorageRequestMspBucketResponse, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletProofsDealerProof, ShParachainRuntimeConfigsRuntimeParamsRuntimeParameters, ShParachainRuntimeSessionKeys, SpRuntimeMultiSignature, SpTrieStorageProofCompactProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from "@polkadot/types/lookup";
7
7
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
8
8
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
9
9
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
10
- declare module '@polkadot/api-base/types/submittable' {
10
+ declare module "@polkadot/api-base/types/submittable" {
11
11
  interface AugmentedSubmittables<ApiType extends ApiTypes> {
12
12
  balances: {
13
13
  /**
@@ -19,7 +19,10 @@ declare module '@polkadot/api-base/types/submittable' {
19
19
  * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
20
20
  * this `burn` operation will reduce total issuance by the amount _burned_.
21
21
  **/
22
- burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
22
+ burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
23
+ Compact<u128>,
24
+ bool
25
+ ]>;
23
26
  /**
24
27
  * Adjust the total issuance in a saturating way.
25
28
  *
@@ -27,7 +30,10 @@ declare module '@polkadot/api-base/types/submittable' {
27
30
  *
28
31
  * # Example
29
32
  **/
30
- forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
33
+ forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | "Increase" | "Decrease" | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
34
+ PalletBalancesAdjustmentDirection,
35
+ Compact<u128>
36
+ ]>;
31
37
  /**
32
38
  * Set the regular balance of a given account.
33
39
  *
@@ -43,7 +49,10 @@ declare module '@polkadot/api-base/types/submittable' {
43
49
  Address32: any;
44
50
  } | {
45
51
  Address20: any;
46
- } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
52
+ } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
53
+ MultiAddress,
54
+ Compact<u128>
55
+ ]>;
47
56
  /**
48
57
  * Exactly as `transfer_allow_death`, except the origin must be root and the source account
49
58
  * may be specified.
@@ -68,7 +77,11 @@ declare module '@polkadot/api-base/types/submittable' {
68
77
  Address32: any;
69
78
  } | {
70
79
  Address20: any;
71
- } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
80
+ } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
81
+ MultiAddress,
82
+ MultiAddress,
83
+ Compact<u128>
84
+ ]>;
72
85
  /**
73
86
  * Unreserve some balance from a user by force.
74
87
  *
@@ -84,7 +97,10 @@ declare module '@polkadot/api-base/types/submittable' {
84
97
  Address32: any;
85
98
  } | {
86
99
  Address20: any;
87
- } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
100
+ } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
101
+ MultiAddress,
102
+ u128
103
+ ]>;
88
104
  /**
89
105
  * Transfer the entire transferable balance from the caller account.
90
106
  *
@@ -112,7 +128,10 @@ declare module '@polkadot/api-base/types/submittable' {
112
128
  Address32: any;
113
129
  } | {
114
130
  Address20: any;
115
- } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
131
+ } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
132
+ MultiAddress,
133
+ bool
134
+ ]>;
116
135
  /**
117
136
  * Transfer some liquid free balance to another account.
118
137
  *
@@ -132,7 +151,10 @@ declare module '@polkadot/api-base/types/submittable' {
132
151
  Address32: any;
133
152
  } | {
134
153
  Address20: any;
135
- } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
154
+ } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
155
+ MultiAddress,
156
+ Compact<u128>
157
+ ]>;
136
158
  /**
137
159
  * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
138
160
  * kill the origin account.
@@ -151,7 +173,10 @@ declare module '@polkadot/api-base/types/submittable' {
151
173
  Address32: any;
152
174
  } | {
153
175
  Address20: any;
154
- } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
176
+ } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
177
+ MultiAddress,
178
+ Compact<u128>
179
+ ]>;
155
180
  /**
156
181
  * Upgrade a specified account.
157
182
  *
@@ -162,7 +187,9 @@ declare module '@polkadot/api-base/types/submittable' {
162
187
  * be upgraded. (We let some not have to be upgraded just in order to allow for the
163
188
  * possibility of churn).
164
189
  **/
165
- upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
190
+ upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
191
+ Vec<AccountId32>
192
+ ]>;
166
193
  /**
167
194
  * Generic tx
168
195
  **/
@@ -184,11 +211,20 @@ declare module '@polkadot/api-base/types/submittable' {
184
211
  Address32: any;
185
212
  } | {
186
213
  Address20: any;
187
- } | string | Uint8Array, bucket: H256 | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, readAccessRegex: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256, u32, Option<Bytes>]>;
214
+ } | string | Uint8Array, bucket: H256 | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, readAccessRegex: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
215
+ MultiAddress,
216
+ H256,
217
+ u32,
218
+ Option<Bytes>
219
+ ]>;
188
220
  /**
189
221
  * Update read access for an item.
190
222
  **/
191
- updateReadAccess: AugmentedSubmittable<(bucket: H256 | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, readAccessRegex: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [H256, u32, Option<Bytes>]>;
223
+ updateReadAccess: AugmentedSubmittable<(bucket: H256 | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, readAccessRegex: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
224
+ H256,
225
+ u32,
226
+ Option<Bytes>
227
+ ]>;
192
228
  /**
193
229
  * Generic tx
194
230
  **/
@@ -201,7 +237,9 @@ declare module '@polkadot/api-base/types/submittable' {
201
237
  *
202
238
  * The origin for this call must be the `UpdateOrigin`.
203
239
  **/
204
- addInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
240
+ addInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
241
+ AccountId32
242
+ ]>;
205
243
  /**
206
244
  * Deregister `origin` as a collator candidate. Note that the collator can only leave on
207
245
  * session change. The `CandidacyBond` will be unreserved immediately.
@@ -223,7 +261,9 @@ declare module '@polkadot/api-base/types/submittable' {
223
261
  *
224
262
  * The origin for this call must be the `UpdateOrigin`.
225
263
  **/
226
- removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
264
+ removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
265
+ AccountId32
266
+ ]>;
227
267
  /**
228
268
  * Set the candidacy bond amount.
229
269
  *
@@ -233,7 +273,9 @@ declare module '@polkadot/api-base/types/submittable' {
233
273
  *
234
274
  * The origin for this call must be the `UpdateOrigin`.
235
275
  **/
236
- setCandidacyBond: AugmentedSubmittable<(bond: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
276
+ setCandidacyBond: AugmentedSubmittable<(bond: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
277
+ u128
278
+ ]>;
237
279
  /**
238
280
  * Set the ideal number of non-invulnerable collators. If lowering this number, then the
239
281
  * number of running collators could be higher than this figure. Aside from that edge case,
@@ -241,7 +283,9 @@ declare module '@polkadot/api-base/types/submittable' {
241
283
  *
242
284
  * The origin for this call must be the `UpdateOrigin`.
243
285
  **/
244
- setDesiredCandidates: AugmentedSubmittable<(max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
286
+ setDesiredCandidates: AugmentedSubmittable<(max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
287
+ u32
288
+ ]>;
245
289
  /**
246
290
  * Set the list of invulnerable (fixed) collators. These collators must do some
247
291
  * preparation, namely to have registered session keys.
@@ -257,7 +301,9 @@ declare module '@polkadot/api-base/types/submittable' {
257
301
  *
258
302
  * Must be called by the `UpdateOrigin`.
259
303
  **/
260
- setInvulnerables: AugmentedSubmittable<(updated: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
304
+ setInvulnerables: AugmentedSubmittable<(updated: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
305
+ Vec<AccountId32>
306
+ ]>;
261
307
  /**
262
308
  * The caller `origin` replaces a candidate `target` in the collator candidate list by
263
309
  * reserving `deposit`. The amount `deposit` reserved by the caller must be greater than
@@ -267,7 +313,10 @@ declare module '@polkadot/api-base/types/submittable' {
267
313
  * caller does not have registered session keys, the target is not a collator candidate,
268
314
  * and/or the `deposit` amount cannot be reserved.
269
315
  **/
270
- takeCandidateSlot: AugmentedSubmittable<(deposit: u128 | AnyNumber | Uint8Array, target: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, AccountId32]>;
316
+ takeCandidateSlot: AugmentedSubmittable<(deposit: u128 | AnyNumber | Uint8Array, target: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
317
+ u128,
318
+ AccountId32
319
+ ]>;
271
320
  /**
272
321
  * Update the candidacy bond of collator candidate `origin` to a new amount `new_deposit`.
273
322
  *
@@ -277,7 +326,9 @@ declare module '@polkadot/api-base/types/submittable' {
277
326
  * This call will fail if `origin` is not a collator candidate, the updated bond is lower
278
327
  * than the minimum candidacy bond, and/or the amount cannot be reserved.
279
328
  **/
280
- updateBond: AugmentedSubmittable<(newDeposit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
329
+ updateBond: AugmentedSubmittable<(newDeposit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
330
+ u128
331
+ ]>;
281
332
  /**
282
333
  * Generic tx
283
334
  **/
@@ -319,7 +370,10 @@ declare module '@polkadot/api-base/types/submittable' {
319
370
  **/
320
371
  bspConfirmStopStoring: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array, inclusionForestProof: SpTrieStorageProofCompactProof | {
321
372
  encodedNodes?: any;
322
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, SpTrieStorageProofCompactProof]>;
373
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
374
+ H256,
375
+ SpTrieStorageProofCompactProof
376
+ ]>;
323
377
  /**
324
378
  * Used by a BSP to confirm they are storing data of a storage request.
325
379
  **/
@@ -328,7 +382,10 @@ declare module '@polkadot/api-base/types/submittable' {
328
382
  } | string | Uint8Array, fileKeysAndProofs: Vec<PalletFileSystemFileKeyWithProof> | (PalletFileSystemFileKeyWithProof | {
329
383
  fileKey?: any;
330
384
  proof?: any;
331
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [SpTrieStorageProofCompactProof, Vec<PalletFileSystemFileKeyWithProof>]>;
385
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
386
+ SpTrieStorageProofCompactProof,
387
+ Vec<PalletFileSystemFileKeyWithProof>
388
+ ]>;
332
389
  /**
333
390
  * Executed by a BSP to request to stop storing a file.
334
391
  *
@@ -374,7 +431,16 @@ declare module '@polkadot/api-base/types/submittable' {
374
431
  **/
375
432
  bspRequestStopStoring: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array, bucketId: H256 | string | Uint8Array, location: Bytes | string | Uint8Array, owner: AccountId32 | string | Uint8Array, fingerprint: H256 | string | Uint8Array, size: u64 | AnyNumber | Uint8Array, canServe: bool | boolean | Uint8Array, inclusionForestProof: SpTrieStorageProofCompactProof | {
376
433
  encodedNodes?: any;
377
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, H256, Bytes, AccountId32, H256, u64, bool, SpTrieStorageProofCompactProof]>;
434
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
435
+ H256,
436
+ H256,
437
+ Bytes,
438
+ AccountId32,
439
+ H256,
440
+ u64,
441
+ bool,
442
+ SpTrieStorageProofCompactProof
443
+ ]>;
378
444
  /**
379
445
  * Used by a BSP to volunteer for storing a file.
380
446
  *
@@ -383,12 +449,21 @@ declare module '@polkadot/api-base/types/submittable' {
383
449
  * if the maximum number of BSPs has been reached. A successful assignment as BSP means
384
450
  * that some of the collateral tokens of that MSP are frozen.
385
451
  **/
386
- bspVolunteer: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
452
+ bspVolunteer: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
453
+ H256
454
+ ]>;
387
455
  /**
388
456
  * Create and associate a collection with a bucket.
389
457
  **/
390
- createAndAssociateCollectionWithBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
391
- createBucket: AugmentedSubmittable<(mspId: H256 | string | Uint8Array, name: Bytes | string | Uint8Array, private: bool | boolean | Uint8Array, valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Bytes, bool, H256]>;
458
+ createAndAssociateCollectionWithBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
459
+ H256
460
+ ]>;
461
+ createBucket: AugmentedSubmittable<(mspId: H256 | string | Uint8Array, name: Bytes | string | Uint8Array, private: bool | boolean | Uint8Array, valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
462
+ H256,
463
+ Bytes,
464
+ bool,
465
+ H256
466
+ ]>;
392
467
  /**
393
468
  * Dispatchable extrinsic that allows a User to delete any of their buckets if it is currently empty.
394
469
  * This way, the User is allowed to remove now unused buckets to recover their deposit for them.
@@ -398,7 +473,9 @@ declare module '@polkadot/api-base/types/submittable' {
398
473
  *
399
474
  * To check if a bucket is empty, we compare its current root with the one of an empty trie.
400
475
  **/
401
- deleteBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
476
+ deleteBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
477
+ H256
478
+ ]>;
402
479
  /**
403
480
  * Deletes files from a provider's forest, changing its root
404
481
  *
@@ -421,7 +498,11 @@ declare module '@polkadot/api-base/types/submittable' {
421
498
  fingerprint?: any;
422
499
  } | string | Uint8Array)[], bspId: Option<H256> | null | Uint8Array | H256 | string, forestProof: SpTrieStorageProofCompactProof | {
423
500
  encodedNodes?: any;
424
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PalletFileSystemFileDeletionRequest>, Option<H256>, SpTrieStorageProofCompactProof]>;
501
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
502
+ Vec<PalletFileSystemFileDeletionRequest>,
503
+ Option<H256>,
504
+ SpTrieStorageProofCompactProof
505
+ ]>;
425
506
  /**
426
507
  * Delete files from an incomplete (rejected, expired or revoked) storage request.
427
508
  *
@@ -434,7 +515,11 @@ declare module '@polkadot/api-base/types/submittable' {
434
515
  **/
435
516
  deleteFilesForIncompleteStorageRequest: AugmentedSubmittable<(fileKeys: Vec<H256> | (H256 | string | Uint8Array)[], bspId: Option<H256> | null | Uint8Array | H256 | string, forestProof: SpTrieStorageProofCompactProof | {
436
517
  encodedNodes?: any;
437
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<H256>, Option<H256>, SpTrieStorageProofCompactProof]>;
518
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
519
+ Vec<H256>,
520
+ Option<H256>,
521
+ SpTrieStorageProofCompactProof
522
+ ]>;
438
523
  /**
439
524
  * Issue a new storage request for a file
440
525
  **/
@@ -450,8 +535,19 @@ declare module '@polkadot/api-base/types/submittable' {
450
535
  UltraHighSecurity: any;
451
536
  } | {
452
537
  Custom: any;
453
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Bytes, H256, u64, H256, Vec<Bytes>, PalletFileSystemReplicationTarget]>;
454
- mspRespondMoveBucketRequest: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, response: PalletFileSystemBucketMoveRequestResponse | 'Accepted' | 'Rejected' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, PalletFileSystemBucketMoveRequestResponse]>;
538
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
539
+ H256,
540
+ Bytes,
541
+ H256,
542
+ u64,
543
+ H256,
544
+ Vec<Bytes>,
545
+ PalletFileSystemReplicationTarget
546
+ ]>;
547
+ mspRespondMoveBucketRequest: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, response: PalletFileSystemBucketMoveRequestResponse | "Accepted" | "Rejected" | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
548
+ H256,
549
+ PalletFileSystemBucketMoveRequestResponse
550
+ ]>;
455
551
  /**
456
552
  * Used by a MSP to accept or decline storage requests in batches, grouped by bucket.
457
553
  *
@@ -467,8 +563,12 @@ declare module '@polkadot/api-base/types/submittable' {
467
563
  bucketId?: any;
468
564
  accept?: any;
469
565
  reject?: any;
470
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletFileSystemStorageRequestMspBucketResponse>]>;
471
- mspStopStoringBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
566
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
567
+ Vec<PalletFileSystemStorageRequestMspBucketResponse>
568
+ ]>;
569
+ mspStopStoringBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
570
+ H256
571
+ ]>;
472
572
  /**
473
573
  * Executed by a MSP to stop storing a bucket from an insolvent user.
474
574
  *
@@ -485,7 +585,9 @@ declare module '@polkadot/api-base/types/submittable' {
485
585
  * accept storage requests for insolvent users and BSPs can't volunteer nor confirm them either) and afterwards any BSPs that
486
586
  * had confirmed the file can just call `sp_stop_storing_for_insolvent_user` to get rid of it.
487
587
  **/
488
- mspStopStoringBucketForInsolventUser: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
588
+ mspStopStoringBucketForInsolventUser: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
589
+ H256
590
+ ]>;
489
591
  /**
490
592
  * Request deletion of a file using a signed delete intention.
491
593
  *
@@ -502,12 +604,37 @@ declare module '@polkadot/api-base/types/submittable' {
502
604
  Sr25519: any;
503
605
  } | {
504
606
  Ecdsa: any;
505
- } | string | Uint8Array, bucketId: H256 | string | Uint8Array, location: Bytes | string | Uint8Array, size: u64 | AnyNumber | Uint8Array, fingerprint: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletFileSystemFileOperationIntention, SpRuntimeMultiSignature, H256, Bytes, u64, H256]>;
506
- requestMoveBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, newMspId: H256 | string | Uint8Array, newValuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, H256, H256]>;
607
+ } | string | Uint8Array, bucketId: H256 | string | Uint8Array, location: Bytes | string | Uint8Array, size: u64 | AnyNumber | Uint8Array, fingerprint: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
608
+ PalletFileSystemFileOperationIntention,
609
+ SpRuntimeMultiSignature,
610
+ H256,
611
+ Bytes,
612
+ u64,
613
+ H256
614
+ ]>;
615
+ requestMoveBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, newMspId: H256 | string | Uint8Array, newValuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
616
+ H256,
617
+ H256,
618
+ H256
619
+ ]>;
507
620
  /**
508
621
  * Revoke storage request
509
622
  **/
510
- revokeStorageRequest: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
623
+ revokeStorageRequest: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
624
+ H256
625
+ ]>;
626
+ /**
627
+ * Set the pause flags that control which user operations are currently allowed.
628
+ *
629
+ * This extrinsic can only be called by `Root` (for example via `pallet-sudo` or governance).
630
+ * Passing [`UserOperationPauseFlags::NONE`] unpauses all operations, while setting one or more
631
+ * bits in the flags pauses the corresponding user operations.
632
+ *
633
+ * This call replaces the entire bitmask in storage with the provided value.
634
+ **/
635
+ setUserOperationPauseFlags: AugmentedSubmittable<(newFlags: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
636
+ u32
637
+ ]>;
511
638
  /**
512
639
  * Executed by a SP to stop storing a file from an insolvent user.
513
640
  *
@@ -518,8 +645,19 @@ declare module '@polkadot/api-base/types/submittable' {
518
645
  **/
519
646
  stopStoringForInsolventUser: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array, bucketId: H256 | string | Uint8Array, location: Bytes | string | Uint8Array, owner: AccountId32 | string | Uint8Array, fingerprint: H256 | string | Uint8Array, size: u64 | AnyNumber | Uint8Array, inclusionForestProof: SpTrieStorageProofCompactProof | {
520
647
  encodedNodes?: any;
521
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, H256, Bytes, AccountId32, H256, u64, SpTrieStorageProofCompactProof]>;
522
- updateBucketPrivacy: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, private: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, bool]>;
648
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
649
+ H256,
650
+ H256,
651
+ Bytes,
652
+ AccountId32,
653
+ H256,
654
+ u64,
655
+ SpTrieStorageProofCompactProof
656
+ ]>;
657
+ updateBucketPrivacy: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, private: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
658
+ H256,
659
+ bool
660
+ ]>;
523
661
  /**
524
662
  * Generic tx
525
663
  **/
@@ -550,7 +688,12 @@ declare module '@polkadot/api-base/types/submittable' {
550
688
  } | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
551
689
  refTime?: any;
552
690
  proofSize?: any;
553
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight]>;
691
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
692
+ CumulusPrimitivesCoreAggregateMessageOrigin,
693
+ u32,
694
+ u32,
695
+ SpWeightsWeightV2Weight
696
+ ]>;
554
697
  /**
555
698
  * Remove a page which has no more messages remaining to be processed or is stale.
556
699
  **/
@@ -560,7 +703,10 @@ declare module '@polkadot/api-base/types/submittable' {
560
703
  Parent: any;
561
704
  } | {
562
705
  Sibling: any;
563
- } | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]>;
706
+ } | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
707
+ CumulusPrimitivesCoreAggregateMessageOrigin,
708
+ u32
709
+ ]>;
564
710
  /**
565
711
  * Generic tx
566
712
  **/
@@ -588,7 +734,11 @@ declare module '@polkadot/api-base/types/submittable' {
588
734
  Address32: any;
589
735
  } | {
590
736
  Address20: any;
591
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, MultiAddress]>;
737
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
738
+ u32,
739
+ u32,
740
+ MultiAddress
741
+ ]>;
592
742
  /**
593
743
  * Approve an item to be transferred by a delegated third-party account.
594
744
  *
@@ -615,7 +765,12 @@ declare module '@polkadot/api-base/types/submittable' {
615
765
  Address32: any;
616
766
  } | {
617
767
  Address20: any;
618
- } | string | Uint8Array, maybeDeadline: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u32, u32, MultiAddress, Option<u32>]>;
768
+ } | string | Uint8Array, maybeDeadline: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
769
+ u32,
770
+ u32,
771
+ MultiAddress,
772
+ Option<u32>
773
+ ]>;
619
774
  /**
620
775
  * Destroy a single item.
621
776
  *
@@ -629,7 +784,10 @@ declare module '@polkadot/api-base/types/submittable' {
629
784
  *
630
785
  * Weight: `O(1)`
631
786
  **/
632
- burn: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
787
+ burn: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
788
+ u32,
789
+ u32
790
+ ]>;
633
791
  /**
634
792
  * Allows to buy an item if it's up for sale.
635
793
  *
@@ -641,7 +799,11 @@ declare module '@polkadot/api-base/types/submittable' {
641
799
  *
642
800
  * Emits `ItemBought` on success.
643
801
  **/
644
- buyItem: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, bidPrice: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;
802
+ buyItem: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, bidPrice: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
803
+ u32,
804
+ u32,
805
+ u128
806
+ ]>;
645
807
  /**
646
808
  * Cancel one of the transfer approvals for a specific item.
647
809
  *
@@ -668,7 +830,11 @@ declare module '@polkadot/api-base/types/submittable' {
668
830
  Address32: any;
669
831
  } | {
670
832
  Address20: any;
671
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, MultiAddress]>;
833
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
834
+ u32,
835
+ u32,
836
+ MultiAddress
837
+ ]>;
672
838
  /**
673
839
  * Cancel the previously provided approval to change item's attributes.
674
840
  * All the previously set attributes by the `delegate` will be removed.
@@ -693,7 +859,12 @@ declare module '@polkadot/api-base/types/submittable' {
693
859
  Address20: any;
694
860
  } | string | Uint8Array, witness: PalletNftsCancelAttributesApprovalWitness | {
695
861
  accountAttributes?: any;
696
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, MultiAddress, PalletNftsCancelAttributesApprovalWitness]>;
862
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
863
+ u32,
864
+ u32,
865
+ MultiAddress,
866
+ PalletNftsCancelAttributesApprovalWitness
867
+ ]>;
697
868
  /**
698
869
  * Cancel an atomic swap.
699
870
  *
@@ -705,7 +876,10 @@ declare module '@polkadot/api-base/types/submittable' {
705
876
  *
706
877
  * Emits `SwapCancelled` on success.
707
878
  **/
708
- cancelSwap: AugmentedSubmittable<(offeredCollection: u32 | AnyNumber | Uint8Array, offeredItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
879
+ cancelSwap: AugmentedSubmittable<(offeredCollection: u32 | AnyNumber | Uint8Array, offeredItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
880
+ u32,
881
+ u32
882
+ ]>;
709
883
  /**
710
884
  * Claim an atomic swap.
711
885
  * This method executes a pending swap, that was created by a counterpart before.
@@ -723,7 +897,13 @@ declare module '@polkadot/api-base/types/submittable' {
723
897
  claimSwap: AugmentedSubmittable<(sendCollection: u32 | AnyNumber | Uint8Array, sendItem: u32 | AnyNumber | Uint8Array, receiveCollection: u32 | AnyNumber | Uint8Array, receiveItem: u32 | AnyNumber | Uint8Array, witnessPrice: Option<PalletNftsPriceWithDirection> | null | Uint8Array | PalletNftsPriceWithDirection | {
724
898
  amount?: any;
725
899
  direction?: any;
726
- } | string) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u32, Option<PalletNftsPriceWithDirection>]>;
900
+ } | string) => SubmittableExtrinsic<ApiType>, [
901
+ u32,
902
+ u32,
903
+ u32,
904
+ u32,
905
+ Option<PalletNftsPriceWithDirection>
906
+ ]>;
727
907
  /**
728
908
  * Cancel all the approvals of a specific item.
729
909
  *
@@ -739,7 +919,10 @@ declare module '@polkadot/api-base/types/submittable' {
739
919
  *
740
920
  * Weight: `O(1)`
741
921
  **/
742
- clearAllTransferApprovals: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
922
+ clearAllTransferApprovals: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
923
+ u32,
924
+ u32
925
+ ]>;
743
926
  /**
744
927
  * Clear an attribute for a collection or item.
745
928
  *
@@ -765,7 +948,12 @@ declare module '@polkadot/api-base/types/submittable' {
765
948
  ItemOwner: any;
766
949
  } | {
767
950
  Account: any;
768
- } | string | Uint8Array, key: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]>;
951
+ } | string | Uint8Array, key: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
952
+ u32,
953
+ Option<u32>,
954
+ PalletNftsAttributeNamespace,
955
+ Bytes
956
+ ]>;
769
957
  /**
770
958
  * Clear the metadata for a collection.
771
959
  *
@@ -780,7 +968,9 @@ declare module '@polkadot/api-base/types/submittable' {
780
968
  *
781
969
  * Weight: `O(1)`
782
970
  **/
783
- clearCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
971
+ clearCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
972
+ u32
973
+ ]>;
784
974
  /**
785
975
  * Clear the metadata for an item.
786
976
  *
@@ -796,7 +986,10 @@ declare module '@polkadot/api-base/types/submittable' {
796
986
  *
797
987
  * Weight: `O(1)`
798
988
  **/
799
- clearMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
989
+ clearMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
990
+ u32,
991
+ u32
992
+ ]>;
800
993
  /**
801
994
  * Issue a new collection of non-fungible items from a public origin.
802
995
  *
@@ -828,7 +1021,10 @@ declare module '@polkadot/api-base/types/submittable' {
828
1021
  settings?: any;
829
1022
  maxSupply?: any;
830
1023
  mintSettings?: any;
831
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletNftsCollectionConfig]>;
1024
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1025
+ MultiAddress,
1026
+ PalletNftsCollectionConfig
1027
+ ]>;
832
1028
  /**
833
1029
  * Register a new atomic swap, declaring an intention to send an `item` in exchange for
834
1030
  * `desired_item` from origin to target on the current blockchain.
@@ -850,7 +1046,14 @@ declare module '@polkadot/api-base/types/submittable' {
850
1046
  createSwap: AugmentedSubmittable<(offeredCollection: u32 | AnyNumber | Uint8Array, offeredItem: u32 | AnyNumber | Uint8Array, desiredCollection: u32 | AnyNumber | Uint8Array, maybeDesiredItem: Option<u32> | null | Uint8Array | u32 | AnyNumber, maybePrice: Option<PalletNftsPriceWithDirection> | null | Uint8Array | PalletNftsPriceWithDirection | {
851
1047
  amount?: any;
852
1048
  direction?: any;
853
- } | string, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, Option<u32>, Option<PalletNftsPriceWithDirection>, u32]>;
1049
+ } | string, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1050
+ u32,
1051
+ u32,
1052
+ u32,
1053
+ Option<u32>,
1054
+ Option<PalletNftsPriceWithDirection>,
1055
+ u32
1056
+ ]>;
854
1057
  /**
855
1058
  * Destroy a collection of fungible items.
856
1059
  *
@@ -874,7 +1077,10 @@ declare module '@polkadot/api-base/types/submittable' {
874
1077
  itemMetadatas?: any;
875
1078
  itemConfigs?: any;
876
1079
  attributes?: any;
877
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNftsDestroyWitness]>;
1080
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1081
+ u32,
1082
+ PalletNftsDestroyWitness
1083
+ ]>;
878
1084
  /**
879
1085
  * Change the config of a collection.
880
1086
  *
@@ -891,7 +1097,10 @@ declare module '@polkadot/api-base/types/submittable' {
891
1097
  settings?: any;
892
1098
  maxSupply?: any;
893
1099
  mintSettings?: any;
894
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNftsCollectionConfig]>;
1100
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1101
+ u32,
1102
+ PalletNftsCollectionConfig
1103
+ ]>;
895
1104
  /**
896
1105
  * Change the Owner of a collection.
897
1106
  *
@@ -914,7 +1123,10 @@ declare module '@polkadot/api-base/types/submittable' {
914
1123
  Address32: any;
915
1124
  } | {
916
1125
  Address20: any;
917
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
1126
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1127
+ u32,
1128
+ MultiAddress
1129
+ ]>;
918
1130
  /**
919
1131
  * Issue a new collection of non-fungible items from a privileged origin.
920
1132
  *
@@ -946,7 +1158,10 @@ declare module '@polkadot/api-base/types/submittable' {
946
1158
  settings?: any;
947
1159
  maxSupply?: any;
948
1160
  mintSettings?: any;
949
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletNftsCollectionConfig]>;
1161
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1162
+ MultiAddress,
1163
+ PalletNftsCollectionConfig
1164
+ ]>;
950
1165
  /**
951
1166
  * Mint an item of a particular collection from a privileged origin.
952
1167
  *
@@ -974,7 +1189,12 @@ declare module '@polkadot/api-base/types/submittable' {
974
1189
  Address20: any;
975
1190
  } | string | Uint8Array, itemConfig: PalletNftsItemConfig | {
976
1191
  settings?: any;
977
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, MultiAddress, PalletNftsItemConfig]>;
1192
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1193
+ u32,
1194
+ u32,
1195
+ MultiAddress,
1196
+ PalletNftsItemConfig
1197
+ ]>;
978
1198
  /**
979
1199
  * Force-set an attribute for a collection or item.
980
1200
  *
@@ -1002,7 +1222,14 @@ declare module '@polkadot/api-base/types/submittable' {
1002
1222
  ItemOwner: any;
1003
1223
  } | {
1004
1224
  Account: any;
1005
- } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>, u32, Option<u32>, PalletNftsAttributeNamespace, Bytes, Bytes]>;
1225
+ } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1226
+ Option<AccountId32>,
1227
+ u32,
1228
+ Option<u32>,
1229
+ PalletNftsAttributeNamespace,
1230
+ Bytes,
1231
+ Bytes
1232
+ ]>;
1006
1233
  /**
1007
1234
  * Disallows specified settings for the whole collection.
1008
1235
  *
@@ -1017,7 +1244,10 @@ declare module '@polkadot/api-base/types/submittable' {
1017
1244
  *
1018
1245
  * Weight: `O(1)`
1019
1246
  **/
1020
- lockCollection: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, lockSettings: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u64]>;
1247
+ lockCollection: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, lockSettings: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1248
+ u32,
1249
+ u64
1250
+ ]>;
1021
1251
  /**
1022
1252
  * Disallows changing the metadata or attributes of the item.
1023
1253
  *
@@ -1037,7 +1267,12 @@ declare module '@polkadot/api-base/types/submittable' {
1037
1267
  *
1038
1268
  * Weight: `O(1)`
1039
1269
  **/
1040
- lockItemProperties: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, lockMetadata: bool | boolean | Uint8Array, lockAttributes: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, bool, bool]>;
1270
+ lockItemProperties: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, lockMetadata: bool | boolean | Uint8Array, lockAttributes: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1271
+ u32,
1272
+ u32,
1273
+ bool,
1274
+ bool
1275
+ ]>;
1041
1276
  /**
1042
1277
  * Disallow further unprivileged transfer of an item.
1043
1278
  *
@@ -1050,7 +1285,10 @@ declare module '@polkadot/api-base/types/submittable' {
1050
1285
  *
1051
1286
  * Weight: `O(1)`
1052
1287
  **/
1053
- lockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1288
+ lockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1289
+ u32,
1290
+ u32
1291
+ ]>;
1054
1292
  /**
1055
1293
  * Mint an item of a particular collection.
1056
1294
  *
@@ -1082,7 +1320,12 @@ declare module '@polkadot/api-base/types/submittable' {
1082
1320
  } | string | Uint8Array, witnessData: Option<PalletNftsMintWitness> | null | Uint8Array | PalletNftsMintWitness | {
1083
1321
  ownedItem?: any;
1084
1322
  mintPrice?: any;
1085
- } | string) => SubmittableExtrinsic<ApiType>, [u32, u32, MultiAddress, Option<PalletNftsMintWitness>]>;
1323
+ } | string) => SubmittableExtrinsic<ApiType>, [
1324
+ u32,
1325
+ u32,
1326
+ MultiAddress,
1327
+ Option<PalletNftsMintWitness>
1328
+ ]>;
1086
1329
  /**
1087
1330
  * Mint an item by providing the pre-signed approval.
1088
1331
  *
@@ -1112,7 +1355,11 @@ declare module '@polkadot/api-base/types/submittable' {
1112
1355
  Sr25519: any;
1113
1356
  } | {
1114
1357
  Ecdsa: any;
1115
- } | string | Uint8Array, signer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNftsPreSignedMint, SpRuntimeMultiSignature, AccountId32]>;
1358
+ } | string | Uint8Array, signer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1359
+ PalletNftsPreSignedMint,
1360
+ SpRuntimeMultiSignature,
1361
+ AccountId32
1362
+ ]>;
1116
1363
  /**
1117
1364
  * Allows to pay the tips.
1118
1365
  *
@@ -1127,7 +1374,9 @@ declare module '@polkadot/api-base/types/submittable' {
1127
1374
  item?: any;
1128
1375
  receiver?: any;
1129
1376
  amount?: any;
1130
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletNftsItemTip>]>;
1377
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1378
+ Vec<PalletNftsItemTip>
1379
+ ]>;
1131
1380
  /**
1132
1381
  * Re-evaluate the deposits on some items.
1133
1382
  *
@@ -1147,7 +1396,10 @@ declare module '@polkadot/api-base/types/submittable' {
1147
1396
  *
1148
1397
  * Weight: `O(items.len())`
1149
1398
  **/
1150
- redeposit: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, items: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
1399
+ redeposit: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, items: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1400
+ u32,
1401
+ Vec<u32>
1402
+ ]>;
1151
1403
  /**
1152
1404
  * Set (or reset) the acceptance of ownership for a particular account.
1153
1405
  *
@@ -1160,7 +1412,9 @@ declare module '@polkadot/api-base/types/submittable' {
1160
1412
  *
1161
1413
  * Emits `OwnershipAcceptanceChanged`.
1162
1414
  **/
1163
- setAcceptOwnership: AugmentedSubmittable<(maybeCollection: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
1415
+ setAcceptOwnership: AugmentedSubmittable<(maybeCollection: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1416
+ Option<u32>
1417
+ ]>;
1164
1418
  /**
1165
1419
  * Set an attribute for a collection or item.
1166
1420
  *
@@ -1193,7 +1447,13 @@ declare module '@polkadot/api-base/types/submittable' {
1193
1447
  ItemOwner: any;
1194
1448
  } | {
1195
1449
  Account: any;
1196
- } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes, Bytes]>;
1450
+ } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1451
+ u32,
1452
+ Option<u32>,
1453
+ PalletNftsAttributeNamespace,
1454
+ Bytes,
1455
+ Bytes
1456
+ ]>;
1197
1457
  /**
1198
1458
  * Set attributes for an item by providing the pre-signed approval.
1199
1459
  *
@@ -1221,7 +1481,11 @@ declare module '@polkadot/api-base/types/submittable' {
1221
1481
  Sr25519: any;
1222
1482
  } | {
1223
1483
  Ecdsa: any;
1224
- } | string | Uint8Array, signer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNftsPreSignedAttributes, SpRuntimeMultiSignature, AccountId32]>;
1484
+ } | string | Uint8Array, signer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1485
+ PalletNftsPreSignedAttributes,
1486
+ SpRuntimeMultiSignature,
1487
+ AccountId32
1488
+ ]>;
1225
1489
  /**
1226
1490
  * Set the maximum number of items a collection could have.
1227
1491
  *
@@ -1233,7 +1497,10 @@ declare module '@polkadot/api-base/types/submittable' {
1233
1497
  *
1234
1498
  * Emits `CollectionMaxSupplySet` event when successful.
1235
1499
  **/
1236
- setCollectionMaxSupply: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, maxSupply: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1500
+ setCollectionMaxSupply: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, maxSupply: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1501
+ u32,
1502
+ u32
1503
+ ]>;
1237
1504
  /**
1238
1505
  * Set the metadata for a collection.
1239
1506
  *
@@ -1251,7 +1518,10 @@ declare module '@polkadot/api-base/types/submittable' {
1251
1518
  *
1252
1519
  * Weight: `O(1)`
1253
1520
  **/
1254
- setCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
1521
+ setCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1522
+ u32,
1523
+ Bytes
1524
+ ]>;
1255
1525
  /**
1256
1526
  * Set the metadata for an item.
1257
1527
  *
@@ -1270,7 +1540,11 @@ declare module '@polkadot/api-base/types/submittable' {
1270
1540
  *
1271
1541
  * Weight: `O(1)`
1272
1542
  **/
1273
- setMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes]>;
1543
+ setMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1544
+ u32,
1545
+ u32,
1546
+ Bytes
1547
+ ]>;
1274
1548
  /**
1275
1549
  * Set (or reset) the price for an item.
1276
1550
  *
@@ -1294,7 +1568,12 @@ declare module '@polkadot/api-base/types/submittable' {
1294
1568
  Address32: any;
1295
1569
  } | {
1296
1570
  Address20: any;
1297
- } | string) => SubmittableExtrinsic<ApiType>, [u32, u32, Option<u128>, Option<MultiAddress>]>;
1571
+ } | string) => SubmittableExtrinsic<ApiType>, [
1572
+ u32,
1573
+ u32,
1574
+ Option<u128>,
1575
+ Option<MultiAddress>
1576
+ ]>;
1298
1577
  /**
1299
1578
  * Change the Issuer, Admin and Freezer of a collection.
1300
1579
  *
@@ -1343,7 +1622,12 @@ declare module '@polkadot/api-base/types/submittable' {
1343
1622
  Address32: any;
1344
1623
  } | {
1345
1624
  Address20: any;
1346
- } | string) => SubmittableExtrinsic<ApiType>, [u32, Option<MultiAddress>, Option<MultiAddress>, Option<MultiAddress>]>;
1625
+ } | string) => SubmittableExtrinsic<ApiType>, [
1626
+ u32,
1627
+ Option<MultiAddress>,
1628
+ Option<MultiAddress>,
1629
+ Option<MultiAddress>
1630
+ ]>;
1347
1631
  /**
1348
1632
  * Move an item from the sender account to another.
1349
1633
  *
@@ -1370,7 +1654,11 @@ declare module '@polkadot/api-base/types/submittable' {
1370
1654
  Address32: any;
1371
1655
  } | {
1372
1656
  Address20: any;
1373
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, MultiAddress]>;
1657
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1658
+ u32,
1659
+ u32,
1660
+ MultiAddress
1661
+ ]>;
1374
1662
  /**
1375
1663
  * Change the Owner of a collection.
1376
1664
  *
@@ -1394,7 +1682,10 @@ declare module '@polkadot/api-base/types/submittable' {
1394
1682
  Address32: any;
1395
1683
  } | {
1396
1684
  Address20: any;
1397
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
1685
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1686
+ u32,
1687
+ MultiAddress
1688
+ ]>;
1398
1689
  /**
1399
1690
  * Re-allow unprivileged transfer of an item.
1400
1691
  *
@@ -1407,7 +1698,10 @@ declare module '@polkadot/api-base/types/submittable' {
1407
1698
  *
1408
1699
  * Weight: `O(1)`
1409
1700
  **/
1410
- unlockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1701
+ unlockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1702
+ u32,
1703
+ u32
1704
+ ]>;
1411
1705
  /**
1412
1706
  * Update mint settings.
1413
1707
  *
@@ -1425,7 +1719,10 @@ declare module '@polkadot/api-base/types/submittable' {
1425
1719
  startBlock?: any;
1426
1720
  endBlock?: any;
1427
1721
  defaultItemSettings?: any;
1428
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNftsMintSettings]>;
1722
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1723
+ u32,
1724
+ PalletNftsMintSettings
1725
+ ]>;
1429
1726
  /**
1430
1727
  * Generic tx
1431
1728
  **/
@@ -1454,8 +1751,12 @@ declare module '@polkadot/api-base/types/submittable' {
1454
1751
  relayChainState?: any;
1455
1752
  downwardMessages?: any;
1456
1753
  horizontalMessages?: any;
1457
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;
1458
- sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1754
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1755
+ CumulusPrimitivesParachainInherentParachainInherentData
1756
+ ]>;
1757
+ sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1758
+ Bytes
1759
+ ]>;
1459
1760
  /**
1460
1761
  * Generic tx
1461
1762
  **/
@@ -1470,7 +1771,9 @@ declare module '@polkadot/api-base/types/submittable' {
1470
1771
  **/
1471
1772
  setParameter: AugmentedSubmittable<(keyValue: ShParachainRuntimeConfigsRuntimeParamsRuntimeParameters | {
1472
1773
  RuntimeConfig: any;
1473
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ShParachainRuntimeConfigsRuntimeParamsRuntimeParameters]>;
1774
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1775
+ ShParachainRuntimeConfigsRuntimeParamsRuntimeParameters
1776
+ ]>;
1474
1777
  /**
1475
1778
  * Generic tx
1476
1779
  **/
@@ -1509,7 +1812,9 @@ declare module '@polkadot/api-base/types/submittable' {
1509
1812
  * Notes: a Provider could have both a fixed-rate and a dynamic-rate payment stream with a User. If that's the case, this extrinsic
1510
1813
  * will try to charge both and the amount charged will be the sum of the amounts charged for each payment stream.
1511
1814
  **/
1512
- chargeMultipleUsersPaymentStreams: AugmentedSubmittable<(userAccounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
1815
+ chargeMultipleUsersPaymentStreams: AugmentedSubmittable<(userAccounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1816
+ Vec<AccountId32>
1817
+ ]>;
1513
1818
  /**
1514
1819
  * Dispatchable extrinsic that allows Providers to charge a payment stream from a User.
1515
1820
  *
@@ -1540,7 +1845,9 @@ declare module '@polkadot/api-base/types/submittable' {
1540
1845
  * Notes: a Provider could have both a fixed-rate and a dynamic-rate payment stream with a User. If that's the case, this extrinsic
1541
1846
  * will try to charge both and the amount charged will be the sum of the amounts charged for each payment stream.
1542
1847
  **/
1543
- chargePaymentStreams: AugmentedSubmittable<(userAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
1848
+ chargePaymentStreams: AugmentedSubmittable<(userAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1849
+ AccountId32
1850
+ ]>;
1544
1851
  /**
1545
1852
  * Dispatchable extrinsic that allows a user flagged as without funds long ago enough to clear this flag from its account,
1546
1853
  * allowing it to begin contracting and paying for services again. It should have previously paid all its outstanding debt.
@@ -1578,7 +1885,11 @@ declare module '@polkadot/api-base/types/submittable' {
1578
1885
  *
1579
1886
  * Emits `DynamicRatePaymentStreamCreated` event when successful.
1580
1887
  **/
1581
- createDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array, amountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId32, u64]>;
1888
+ createDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array, amountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1889
+ H256,
1890
+ AccountId32,
1891
+ u64
1892
+ ]>;
1582
1893
  /**
1583
1894
  * Dispatchable extrinsic that allows root to add a fixed-rate payment stream from a User to a Provider.
1584
1895
  *
@@ -1599,7 +1910,11 @@ declare module '@polkadot/api-base/types/submittable' {
1599
1910
  *
1600
1911
  * Emits `FixedRatePaymentStreamCreated` event when successful.
1601
1912
  **/
1602
- createFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId32, u128]>;
1913
+ createFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1914
+ H256,
1915
+ AccountId32,
1916
+ u128
1917
+ ]>;
1603
1918
  /**
1604
1919
  * Dispatchable extrinsic that allows root to delete an existing dynamic-rate payment stream between a User and a Provider.
1605
1920
  *
@@ -1617,7 +1932,10 @@ declare module '@polkadot/api-base/types/submittable' {
1617
1932
  *
1618
1933
  * Emits `DynamicRatePaymentStreamDeleted` event when successful.
1619
1934
  **/
1620
- deleteDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId32]>;
1935
+ deleteDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1936
+ H256,
1937
+ AccountId32
1938
+ ]>;
1621
1939
  /**
1622
1940
  * Dispatchable extrinsic that allows root to delete an existing fixed-rate payment stream between a User and a Provider.
1623
1941
  *
@@ -1635,7 +1953,10 @@ declare module '@polkadot/api-base/types/submittable' {
1635
1953
  *
1636
1954
  * Emits `FixedRatePaymentStreamDeleted` event when successful.
1637
1955
  **/
1638
- deleteFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId32]>;
1956
+ deleteFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1957
+ H256,
1958
+ AccountId32
1959
+ ]>;
1639
1960
  /**
1640
1961
  * Dispatchable extrinsic that allows a user flagged as without funds to pay the Providers that still have payment streams
1641
1962
  * with it, in order to recover as much of its deposits as possible.
@@ -1659,7 +1980,9 @@ declare module '@polkadot/api-base/types/submittable' {
1659
1980
  * There was an idea to limit the amount of Providers that can be received by this extrinsic using a constant in the configuration of this pallet,
1660
1981
  * but the correct benchmarking of this extrinsic should be enough to avoid any potential abuse.
1661
1982
  **/
1662
- payOutstandingDebt: AugmentedSubmittable<(providers: Vec<H256> | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<H256>]>;
1983
+ payOutstandingDebt: AugmentedSubmittable<(providers: Vec<H256> | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1984
+ Vec<H256>
1985
+ ]>;
1663
1986
  /**
1664
1987
  * Dispatchable extrinsic that allows root to update an existing dynamic-rate payment stream between a User and a Provider.
1665
1988
  *
@@ -1678,7 +2001,11 @@ declare module '@polkadot/api-base/types/submittable' {
1678
2001
  *
1679
2002
  * Emits `DynamicRatePaymentStreamUpdated` event when successful.
1680
2003
  **/
1681
- updateDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array, newAmountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId32, u64]>;
2004
+ updateDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array, newAmountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2005
+ H256,
2006
+ AccountId32,
2007
+ u64
2008
+ ]>;
1682
2009
  /**
1683
2010
  * Dispatchable extrinsic that allows root to update an existing fixed-rate payment stream between a User and a Provider.
1684
2011
  *
@@ -1697,7 +2024,11 @@ declare module '@polkadot/api-base/types/submittable' {
1697
2024
  *
1698
2025
  * Emits `FixedRatePaymentStreamUpdated` event when successful.
1699
2026
  **/
1700
- updateFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array, newRate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId32, u128]>;
2027
+ updateFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId32 | string | Uint8Array, newRate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2028
+ H256,
2029
+ AccountId32,
2030
+ u128
2031
+ ]>;
1701
2032
  /**
1702
2033
  * Generic tx
1703
2034
  **/
@@ -1724,7 +2055,10 @@ declare module '@polkadot/api-base/types/submittable' {
1724
2055
  V4: any;
1725
2056
  } | {
1726
2057
  V5: any;
1727
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedAssets, XcmVersionedLocation]>;
2058
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2059
+ XcmVersionedAssets,
2060
+ XcmVersionedLocation
2061
+ ]>;
1728
2062
  /**
1729
2063
  * Execute an XCM message from a local, signed, origin.
1730
2064
  *
@@ -1744,7 +2078,10 @@ declare module '@polkadot/api-base/types/submittable' {
1744
2078
  } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | {
1745
2079
  refTime?: any;
1746
2080
  proofSize?: any;
1747
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, SpWeightsWeightV2Weight]>;
2081
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2082
+ XcmVersionedXcm,
2083
+ SpWeightsWeightV2Weight
2084
+ ]>;
1748
2085
  /**
1749
2086
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
1750
2087
  * version a destination can accept is unknown).
@@ -1752,7 +2089,9 @@ declare module '@polkadot/api-base/types/submittable' {
1752
2089
  * - `origin`: Must be an origin specified by AdminOrigin.
1753
2090
  * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
1754
2091
  **/
1755
- forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
2092
+ forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2093
+ Option<u32>
2094
+ ]>;
1756
2095
  /**
1757
2096
  * Ask a location to notify us regarding their XCM version and any changes to it.
1758
2097
  *
@@ -1765,14 +2104,18 @@ declare module '@polkadot/api-base/types/submittable' {
1765
2104
  V4: any;
1766
2105
  } | {
1767
2106
  V5: any;
1768
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
2107
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2108
+ XcmVersionedLocation
2109
+ ]>;
1769
2110
  /**
1770
2111
  * Set or unset the global suspension state of the XCM executor.
1771
2112
  *
1772
2113
  * - `origin`: Must be an origin specified by AdminOrigin.
1773
2114
  * - `suspended`: `true` to suspend, `false` to resume.
1774
2115
  **/
1775
- forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
2116
+ forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2117
+ bool
2118
+ ]>;
1776
2119
  /**
1777
2120
  * Require that a particular destination should no longer notify us regarding any XCM
1778
2121
  * version changes.
@@ -1787,7 +2130,9 @@ declare module '@polkadot/api-base/types/submittable' {
1787
2130
  V4: any;
1788
2131
  } | {
1789
2132
  V5: any;
1790
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
2133
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2134
+ XcmVersionedLocation
2135
+ ]>;
1791
2136
  /**
1792
2137
  * Extoll that a particular destination can be communicated with through a particular
1793
2138
  * version of XCM.
@@ -1799,7 +2144,10 @@ declare module '@polkadot/api-base/types/submittable' {
1799
2144
  forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV5Location | {
1800
2145
  parents?: any;
1801
2146
  interior?: any;
1802
- } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV5Location, u32]>;
2147
+ } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2148
+ StagingXcmV5Location,
2149
+ u32
2150
+ ]>;
1803
2151
  /**
1804
2152
  * Transfer some assets from the local chain to the destination chain through their local,
1805
2153
  * destination or remote reserve.
@@ -1854,7 +2202,13 @@ declare module '@polkadot/api-base/types/submittable' {
1854
2202
  Unlimited: any;
1855
2203
  } | {
1856
2204
  Limited: any;
1857
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
2205
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2206
+ XcmVersionedLocation,
2207
+ XcmVersionedLocation,
2208
+ XcmVersionedAssets,
2209
+ u32,
2210
+ XcmV3WeightLimit
2211
+ ]>;
1858
2212
  /**
1859
2213
  * Teleport some assets from the local chain to some destination chain.
1860
2214
  *
@@ -1897,7 +2251,13 @@ declare module '@polkadot/api-base/types/submittable' {
1897
2251
  Unlimited: any;
1898
2252
  } | {
1899
2253
  Limited: any;
1900
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
2254
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2255
+ XcmVersionedLocation,
2256
+ XcmVersionedLocation,
2257
+ XcmVersionedAssets,
2258
+ u32,
2259
+ XcmV3WeightLimit
2260
+ ]>;
1901
2261
  /**
1902
2262
  * Transfer some assets from the local chain to the destination chain through their local,
1903
2263
  * destination or remote reserve.
@@ -1948,7 +2308,12 @@ declare module '@polkadot/api-base/types/submittable' {
1948
2308
  V4: any;
1949
2309
  } | {
1950
2310
  V5: any;
1951
- } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
2311
+ } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2312
+ XcmVersionedLocation,
2313
+ XcmVersionedLocation,
2314
+ XcmVersionedAssets,
2315
+ u32
2316
+ ]>;
1952
2317
  send: AugmentedSubmittable<(dest: XcmVersionedLocation | {
1953
2318
  V3: any;
1954
2319
  } | {
@@ -1961,7 +2326,10 @@ declare module '@polkadot/api-base/types/submittable' {
1961
2326
  V4: any;
1962
2327
  } | {
1963
2328
  V5: any;
1964
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
2329
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2330
+ XcmVersionedLocation,
2331
+ XcmVersionedXcm
2332
+ ]>;
1965
2333
  /**
1966
2334
  * Teleport some assets from the local chain to some destination chain.
1967
2335
  *
@@ -2000,7 +2368,12 @@ declare module '@polkadot/api-base/types/submittable' {
2000
2368
  V4: any;
2001
2369
  } | {
2002
2370
  V5: any;
2003
- } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
2371
+ } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2372
+ XcmVersionedLocation,
2373
+ XcmVersionedLocation,
2374
+ XcmVersionedAssets,
2375
+ u32
2376
+ ]>;
2004
2377
  /**
2005
2378
  * Transfer some assets from the local chain to the destination chain through their local,
2006
2379
  * destination or remote reserve, or through teleports.
@@ -2058,7 +2431,13 @@ declare module '@polkadot/api-base/types/submittable' {
2058
2431
  Unlimited: any;
2059
2432
  } | {
2060
2433
  Limited: any;
2061
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
2434
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2435
+ XcmVersionedLocation,
2436
+ XcmVersionedLocation,
2437
+ XcmVersionedAssets,
2438
+ u32,
2439
+ XcmV3WeightLimit
2440
+ ]>;
2062
2441
  /**
2063
2442
  * Transfer assets from the local chain to the destination chain using explicit transfer
2064
2443
  * types for assets and fees.
@@ -2153,7 +2532,15 @@ declare module '@polkadot/api-base/types/submittable' {
2153
2532
  Unlimited: any;
2154
2533
  } | {
2155
2534
  Limited: any;
2156
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedAssets, StagingXcmExecutorAssetTransferTransferType, XcmVersionedAssetId, StagingXcmExecutorAssetTransferTransferType, XcmVersionedXcm, XcmV3WeightLimit]>;
2535
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2536
+ XcmVersionedLocation,
2537
+ XcmVersionedAssets,
2538
+ StagingXcmExecutorAssetTransferTransferType,
2539
+ XcmVersionedAssetId,
2540
+ StagingXcmExecutorAssetTransferTransferType,
2541
+ XcmVersionedXcm,
2542
+ XcmV3WeightLimit
2543
+ ]>;
2157
2544
  /**
2158
2545
  * Generic tx
2159
2546
  **/
@@ -2168,7 +2555,9 @@ declare module '@polkadot/api-base/types/submittable' {
2168
2555
  * Users are charged a small fee for submitting a challenge, which
2169
2556
  * goes to the Treasury.
2170
2557
  **/
2171
- challenge: AugmentedSubmittable<(key: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2558
+ challenge: AugmentedSubmittable<(key: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2559
+ H256
2560
+ ]>;
2172
2561
  /**
2173
2562
  * Initialise a Provider's challenge cycle.
2174
2563
  *
@@ -2177,14 +2566,21 @@ declare module '@polkadot/api-base/types/submittable' {
2177
2566
  * Sets the last tick the Provider submitted a proof for to the current tick, and sets the
2178
2567
  * deadline for submitting a proof to the current tick + the Provider's period + the tolerance.
2179
2568
  **/
2180
- forceInitialiseChallengeCycle: AugmentedSubmittable<(provider: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2181
- priorityChallenge: AugmentedSubmittable<(key: H256 | string | Uint8Array, shouldRemoveKey: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, bool]>;
2569
+ forceInitialiseChallengeCycle: AugmentedSubmittable<(provider: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2570
+ H256
2571
+ ]>;
2572
+ priorityChallenge: AugmentedSubmittable<(key: H256 | string | Uint8Array, shouldRemoveKey: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2573
+ H256,
2574
+ bool
2575
+ ]>;
2182
2576
  /**
2183
2577
  * Set the [`ChallengesTickerPaused`] to `true` or `false`.
2184
2578
  *
2185
2579
  * Only callable by sudo.
2186
2580
  **/
2187
- setPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
2581
+ setPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2582
+ bool
2583
+ ]>;
2188
2584
  /**
2189
2585
  * For a Provider to submit a proof.
2190
2586
  *
@@ -2215,7 +2611,10 @@ declare module '@polkadot/api-base/types/submittable' {
2215
2611
  submitProof: AugmentedSubmittable<(proof: PalletProofsDealerProof | {
2216
2612
  forestProof?: any;
2217
2613
  keyProofs?: any;
2218
- } | string | Uint8Array, provider: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [PalletProofsDealerProof, Option<H256>]>;
2614
+ } | string | Uint8Array, provider: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [
2615
+ PalletProofsDealerProof,
2616
+ Option<H256>
2617
+ ]>;
2219
2618
  /**
2220
2619
  * Generic tx
2221
2620
  **/
@@ -2240,7 +2639,9 @@ declare module '@polkadot/api-base/types/submittable' {
2240
2639
  *
2241
2640
  * Emits `MultiAddressAdded` event when successful.
2242
2641
  **/
2243
- addMultiaddress: AugmentedSubmittable<(newMultiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2642
+ addMultiaddress: AugmentedSubmittable<(newMultiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2643
+ Bytes
2644
+ ]>;
2244
2645
  /**
2245
2646
  * Dispatchable extrinsic only callable by an MSP that allows it to add a value proposition to its service
2246
2647
  *
@@ -2249,7 +2650,11 @@ declare module '@polkadot/api-base/types/submittable' {
2249
2650
  *
2250
2651
  * Emits `ValuePropAdded` event when successful.
2251
2652
  **/
2252
- addValueProp: AugmentedSubmittable<(pricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, bucketDataLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, Bytes, u64]>;
2653
+ addValueProp: AugmentedSubmittable<(pricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, bucketDataLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2654
+ u128,
2655
+ Bytes,
2656
+ u64
2657
+ ]>;
2253
2658
  /**
2254
2659
  * Dispatchable extrinsic that allows users to sign off as a Backup Storage Provider.
2255
2660
  *
@@ -2309,7 +2714,9 @@ declare module '@polkadot/api-base/types/submittable' {
2309
2714
  *
2310
2715
  * Emits `CapacityChanged` event when successful.
2311
2716
  **/
2312
- changeCapacity: AugmentedSubmittable<(newCapacity: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
2717
+ changeCapacity: AugmentedSubmittable<(newCapacity: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2718
+ u64
2719
+ ]>;
2313
2720
  /**
2314
2721
  * Dispatchable extrinsic that allows users to confirm their sign up as a Storage Provider, either MSP or BSP.
2315
2722
  *
@@ -2335,7 +2742,9 @@ declare module '@polkadot/api-base/types/submittable' {
2335
2742
  * - The deposit that the user has to pay to register as a SP is held when the user requests to register as a SP
2336
2743
  * - If this extrinsic is successful, it will be free for the caller, to incentive state de-bloating
2337
2744
  **/
2338
- confirmSignUp: AugmentedSubmittable<(providerAccount: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
2745
+ confirmSignUp: AugmentedSubmittable<(providerAccount: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [
2746
+ Option<AccountId32>
2747
+ ]>;
2339
2748
  /**
2340
2749
  * Delete a provider from the system.
2341
2750
  *
@@ -2353,7 +2762,9 @@ declare module '@polkadot/api-base/types/submittable' {
2353
2762
  * This operation is free if successful to encourage the community to delete insolvent providers,
2354
2763
  * debloating the state.
2355
2764
  **/
2356
- deleteProvider: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2765
+ deleteProvider: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2766
+ H256
2767
+ ]>;
2357
2768
  /**
2358
2769
  * Dispatchable extrinsic that allows to forcefully and automatically sing up a Backup Storage Provider.
2359
2770
  *
@@ -2375,7 +2786,14 @@ declare module '@polkadot/api-base/types/submittable' {
2375
2786
  *
2376
2787
  * Emits `BspRequestSignUpSuccess` and `BspSignUpSuccess` events when successful.
2377
2788
  **/
2378
- forceBspSignUp: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, bspId: H256 | string | Uint8Array, capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], paymentAccount: AccountId32 | string | Uint8Array, weight: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [AccountId32, H256, u64, Vec<Bytes>, AccountId32, Option<u32>]>;
2789
+ forceBspSignUp: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, bspId: H256 | string | Uint8Array, capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], paymentAccount: AccountId32 | string | Uint8Array, weight: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2790
+ AccountId32,
2791
+ H256,
2792
+ u64,
2793
+ Vec<Bytes>,
2794
+ AccountId32,
2795
+ Option<u32>
2796
+ ]>;
2379
2797
  /**
2380
2798
  * Dispatchable extrinsic that allows to forcefully and automatically sign up a Main Storage Provider.
2381
2799
  *
@@ -2400,14 +2818,25 @@ declare module '@polkadot/api-base/types/submittable' {
2400
2818
  *
2401
2819
  * Emits `MspRequestSignUpSuccess` and `MspSignUpSuccess` events when successful.
2402
2820
  **/
2403
- forceMspSignUp: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, mspId: H256 | string | Uint8Array, capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], valuePropPricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, valuePropMaxDataLimit: u64 | AnyNumber | Uint8Array, paymentAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, H256, u64, Vec<Bytes>, u128, Bytes, u64, AccountId32]>;
2821
+ forceMspSignUp: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, mspId: H256 | string | Uint8Array, capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], valuePropPricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, valuePropMaxDataLimit: u64 | AnyNumber | Uint8Array, paymentAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2822
+ AccountId32,
2823
+ H256,
2824
+ u64,
2825
+ Vec<Bytes>,
2826
+ u128,
2827
+ Bytes,
2828
+ u64,
2829
+ AccountId32
2830
+ ]>;
2404
2831
  /**
2405
2832
  * Dispatchable extrinsic only callable by an MSP that allows it to make a value proposition unavailable.
2406
2833
  *
2407
2834
  * This operation cannot be reversed. You can only add new value propositions.
2408
2835
  * This will not affect existing buckets which are using this value proposition.
2409
2836
  **/
2410
- makeValuePropUnavailable: AugmentedSubmittable<(valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2837
+ makeValuePropUnavailable: AugmentedSubmittable<(valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2838
+ H256
2839
+ ]>;
2411
2840
  /**
2412
2841
  * Dispatchable extrinsic that allows users to sign off as a Main Storage Provider.
2413
2842
  *
@@ -2424,7 +2853,9 @@ declare module '@polkadot/api-base/types/submittable' {
2424
2853
  *
2425
2854
  * Emits `MspSignOffSuccess` event when successful.
2426
2855
  **/
2427
- mspSignOff: AugmentedSubmittable<(mspId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2856
+ mspSignOff: AugmentedSubmittable<(mspId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2857
+ H256
2858
+ ]>;
2428
2859
  /**
2429
2860
  * Dispatchable extrinsic that allows BSPs and MSPs to remove an existing multiaddress from their account.
2430
2861
  *
@@ -2442,7 +2873,9 @@ declare module '@polkadot/api-base/types/submittable' {
2442
2873
  *
2443
2874
  * Emits `MultiAddressRemoved` event when successful.
2444
2875
  **/
2445
- removeMultiaddress: AugmentedSubmittable<(multiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2876
+ removeMultiaddress: AugmentedSubmittable<(multiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2877
+ Bytes
2878
+ ]>;
2446
2879
  /**
2447
2880
  * Dispatchable extrinsic that allows users to sign up as a Backup Storage Provider.
2448
2881
  *
@@ -2468,7 +2901,11 @@ declare module '@polkadot/api-base/types/submittable' {
2468
2901
  *
2469
2902
  * Emits `BspRequestSignUpSuccess` event when successful.
2470
2903
  **/
2471
- requestBspSignUp: AugmentedSubmittable<(capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], paymentAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Vec<Bytes>, AccountId32]>;
2904
+ requestBspSignUp: AugmentedSubmittable<(capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], paymentAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2905
+ u64,
2906
+ Vec<Bytes>,
2907
+ AccountId32
2908
+ ]>;
2472
2909
  /**
2473
2910
  * Dispatchable extrinsic that allows users to request to sign up as a Main Storage Provider.
2474
2911
  *
@@ -2497,7 +2934,14 @@ declare module '@polkadot/api-base/types/submittable' {
2497
2934
  *
2498
2935
  * Emits `MspRequestSignUpSuccess` event when successful.
2499
2936
  **/
2500
- requestMspSignUp: AugmentedSubmittable<(capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], valuePropPricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, valuePropMaxDataLimit: u64 | AnyNumber | Uint8Array, paymentAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Vec<Bytes>, u128, Bytes, u64, AccountId32]>;
2937
+ requestMspSignUp: AugmentedSubmittable<(capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], valuePropPricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, valuePropMaxDataLimit: u64 | AnyNumber | Uint8Array, paymentAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2938
+ u64,
2939
+ Vec<Bytes>,
2940
+ u128,
2941
+ Bytes,
2942
+ u64,
2943
+ AccountId32
2944
+ ]>;
2501
2945
  /**
2502
2946
  * Dispatchable extrinsic to slash a _slashable_ Storage Provider.
2503
2947
  *
@@ -2506,7 +2950,9 @@ declare module '@polkadot/api-base/types/submittable' {
2506
2950
  *
2507
2951
  * This is a free operation to incentivise the community to slash misbehaving providers.
2508
2952
  **/
2509
- slash: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2953
+ slash: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2954
+ H256
2955
+ ]>;
2510
2956
  /**
2511
2957
  * BSP operation to stop all of your automatic cycles.
2512
2958
  *
@@ -2570,7 +3016,10 @@ declare module '@polkadot/api-base/types/submittable' {
2570
3016
  **/
2571
3017
  setKeys: AugmentedSubmittable<(keys: ShParachainRuntimeSessionKeys | {
2572
3018
  aura?: any;
2573
- } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ShParachainRuntimeSessionKeys, Bytes]>;
3019
+ } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3020
+ ShParachainRuntimeSessionKeys,
3021
+ Bytes
3022
+ ]>;
2574
3023
  /**
2575
3024
  * Generic tx
2576
3025
  **/
@@ -2597,11 +3046,15 @@ declare module '@polkadot/api-base/types/submittable' {
2597
3046
  Address32: any;
2598
3047
  } | {
2599
3048
  Address20: any;
2600
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3049
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3050
+ MultiAddress
3051
+ ]>;
2601
3052
  /**
2602
3053
  * Authenticates the sudo key and dispatches a function call with `Root` origin.
2603
3054
  **/
2604
- sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
3055
+ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3056
+ Call
3057
+ ]>;
2605
3058
  /**
2606
3059
  * Authenticates the sudo key and dispatches a function call with `Signed` origin from
2607
3060
  * a given account.
@@ -2618,7 +3071,10 @@ declare module '@polkadot/api-base/types/submittable' {
2618
3071
  Address32: any;
2619
3072
  } | {
2620
3073
  Address20: any;
2621
- } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
3074
+ } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3075
+ MultiAddress,
3076
+ Call
3077
+ ]>;
2622
3078
  /**
2623
3079
  * Authenticates the sudo key and dispatches a function call with `Root` origin.
2624
3080
  * This function does not check the weight of the call, and instead allows the
@@ -2629,7 +3085,10 @@ declare module '@polkadot/api-base/types/submittable' {
2629
3085
  sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
2630
3086
  refTime?: any;
2631
3087
  proofSize?: any;
2632
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
3088
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3089
+ Call,
3090
+ SpWeightsWeightV2Weight
3091
+ ]>;
2633
3092
  /**
2634
3093
  * Generic tx
2635
3094
  **/
@@ -2647,14 +3106,18 @@ declare module '@polkadot/api-base/types/submittable' {
2647
3106
  *
2648
3107
  * All origins are allowed.
2649
3108
  **/
2650
- applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3109
+ applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3110
+ Bytes
3111
+ ]>;
2651
3112
  /**
2652
3113
  * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
2653
3114
  * later.
2654
3115
  *
2655
3116
  * This call requires Root origin.
2656
3117
  **/
2657
- authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3118
+ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3119
+ H256
3120
+ ]>;
2658
3121
  /**
2659
3122
  * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
2660
3123
  * later.
@@ -2665,47 +3128,66 @@ declare module '@polkadot/api-base/types/submittable' {
2665
3128
  *
2666
3129
  * This call requires Root origin.
2667
3130
  **/
2668
- authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3131
+ authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3132
+ H256
3133
+ ]>;
2669
3134
  /**
2670
3135
  * Kill all storage items with a key that starts with the given prefix.
2671
3136
  *
2672
3137
  * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
2673
3138
  * the prefix we are removing to accurately calculate the weight of this function.
2674
3139
  **/
2675
- killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
3140
+ killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3141
+ Bytes,
3142
+ u32
3143
+ ]>;
2676
3144
  /**
2677
3145
  * Kill some items from storage.
2678
3146
  **/
2679
- killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
3147
+ killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
3148
+ Vec<Bytes>
3149
+ ]>;
2680
3150
  /**
2681
3151
  * Make some on-chain remark.
2682
3152
  *
2683
3153
  * Can be executed by every `origin`.
2684
3154
  **/
2685
- remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3155
+ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3156
+ Bytes
3157
+ ]>;
2686
3158
  /**
2687
3159
  * Make some on-chain remark and emit event.
2688
3160
  **/
2689
- remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3161
+ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3162
+ Bytes
3163
+ ]>;
2690
3164
  /**
2691
3165
  * Set the new runtime code.
2692
3166
  **/
2693
- setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3167
+ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3168
+ Bytes
3169
+ ]>;
2694
3170
  /**
2695
3171
  * Set the new runtime code without doing any checks of the given `code`.
2696
3172
  *
2697
3173
  * Note that runtime upgrades will not run if this is called with a not-increasing spec
2698
3174
  * version!
2699
3175
  **/
2700
- setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3176
+ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3177
+ Bytes
3178
+ ]>;
2701
3179
  /**
2702
3180
  * Set the number of pages in the WebAssembly environment's heap.
2703
3181
  **/
2704
- setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
3182
+ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3183
+ u64
3184
+ ]>;
2705
3185
  /**
2706
3186
  * Set some items of storage.
2707
3187
  **/
2708
- setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
3188
+ setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array][]) => SubmittableExtrinsic<ApiType>, [
3189
+ Vec<ITuple<[Bytes, Bytes]>>
3190
+ ]>;
2709
3191
  /**
2710
3192
  * Generic tx
2711
3193
  **/
@@ -2733,7 +3215,9 @@ declare module '@polkadot/api-base/types/submittable' {
2733
3215
  * `on_finalize`)
2734
3216
  * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
2735
3217
  **/
2736
- set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
3218
+ set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3219
+ Compact<u64>
3220
+ ]>;
2737
3221
  /**
2738
3222
  * Generic tx
2739
3223
  **/
@@ -2761,7 +3245,9 @@ declare module '@polkadot/api-base/types/submittable' {
2761
3245
  * - `origin`: Must pass `Root`.
2762
3246
  * - `new`: Desired value for `QueueConfigData.drop_threshold`
2763
3247
  **/
2764
- updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3248
+ updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3249
+ u32
3250
+ ]>;
2765
3251
  /**
2766
3252
  * Overwrites the number of pages which the queue must be reduced to before it signals
2767
3253
  * that message sending may recommence after it has been suspended.
@@ -2769,7 +3255,9 @@ declare module '@polkadot/api-base/types/submittable' {
2769
3255
  * - `origin`: Must pass `Root`.
2770
3256
  * - `new`: Desired value for `QueueConfigData.resume_threshold`
2771
3257
  **/
2772
- updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3258
+ updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3259
+ u32
3260
+ ]>;
2773
3261
  /**
2774
3262
  * Overwrites the number of pages which must be in the queue for the other side to be
2775
3263
  * told to suspend their sending.
@@ -2777,7 +3265,9 @@ declare module '@polkadot/api-base/types/submittable' {
2777
3265
  * - `origin`: Must pass `Root`.
2778
3266
  * - `new`: Desired value for `QueueConfigData.suspend_value`
2779
3267
  **/
2780
- updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3268
+ updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3269
+ u32
3270
+ ]>;
2781
3271
  /**
2782
3272
  * Generic tx
2783
3273
  **/