@storagehub/api-augment 0.1.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 (86) hide show
  1. package/README.md +54 -0
  2. package/biome.json +10 -0
  3. package/dist/index.js +4 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/interfaces/augment-api-consts.js +6 -0
  6. package/dist/interfaces/augment-api-consts.js.map +1 -0
  7. package/dist/interfaces/augment-api-errors.js +6 -0
  8. package/dist/interfaces/augment-api-errors.js.map +1 -0
  9. package/dist/interfaces/augment-api-events.js +6 -0
  10. package/dist/interfaces/augment-api-events.js.map +1 -0
  11. package/dist/interfaces/augment-api-query.js +6 -0
  12. package/dist/interfaces/augment-api-query.js.map +1 -0
  13. package/dist/interfaces/augment-api-rpc.js +6 -0
  14. package/dist/interfaces/augment-api-rpc.js.map +1 -0
  15. package/dist/interfaces/augment-api-runtime.js +6 -0
  16. package/dist/interfaces/augment-api-runtime.js.map +1 -0
  17. package/dist/interfaces/augment-api-tx.js +6 -0
  18. package/dist/interfaces/augment-api-tx.js.map +1 -0
  19. package/dist/interfaces/augment-api.js +10 -0
  20. package/dist/interfaces/augment-api.js.map +1 -0
  21. package/dist/interfaces/augment-types.js +6 -0
  22. package/dist/interfaces/augment-types.js.map +1 -0
  23. package/dist/interfaces/definitions.js +2 -0
  24. package/dist/interfaces/definitions.js.map +1 -0
  25. package/dist/interfaces/index.js +4 -0
  26. package/dist/interfaces/index.js.map +1 -0
  27. package/dist/interfaces/lookup.js +4504 -0
  28. package/dist/interfaces/lookup.js.map +1 -0
  29. package/dist/interfaces/registry.js +6 -0
  30. package/dist/interfaces/registry.js.map +1 -0
  31. package/dist/interfaces/storagehubclient/definitions.js +7 -0
  32. package/dist/interfaces/storagehubclient/definitions.js.map +1 -0
  33. package/dist/interfaces/storagehubclient/index.js +4 -0
  34. package/dist/interfaces/storagehubclient/index.js.map +1 -0
  35. package/dist/interfaces/storagehubclient/runtime.js +152 -0
  36. package/dist/interfaces/storagehubclient/runtime.js.map +1 -0
  37. package/dist/interfaces/storagehubclient/types.js +4 -0
  38. package/dist/interfaces/storagehubclient/types.js.map +1 -0
  39. package/dist/interfaces/types-lookup.js +6 -0
  40. package/dist/interfaces/types-lookup.js.map +1 -0
  41. package/dist/interfaces/types.js +4 -0
  42. package/dist/interfaces/types.js.map +1 -0
  43. package/dist/types/index.d.ts +3 -0
  44. package/dist/types/interfaces/augment-api-consts.d.ts +556 -0
  45. package/dist/types/interfaces/augment-api-errors.d.ts +1195 -0
  46. package/dist/types/interfaces/augment-api-events.d.ts +2070 -0
  47. package/dist/types/interfaces/augment-api-query.d.ts +1439 -0
  48. package/dist/types/interfaces/augment-api-rpc.d.ts +718 -0
  49. package/dist/types/interfaces/augment-api-runtime.d.ts +441 -0
  50. package/dist/types/interfaces/augment-api-tx.d.ts +3039 -0
  51. package/dist/types/interfaces/augment-api.d.ts +7 -0
  52. package/dist/types/interfaces/augment-types.d.ts +1285 -0
  53. package/dist/types/interfaces/definitions.d.ts +1 -0
  54. package/dist/types/interfaces/index.d.ts +1 -0
  55. package/dist/types/interfaces/lookup.d.ts +4179 -0
  56. package/dist/types/interfaces/registry.d.ts +272 -0
  57. package/dist/types/interfaces/storagehubclient/definitions.d.ts +6 -0
  58. package/dist/types/interfaces/storagehubclient/index.d.ts +1 -0
  59. package/dist/types/interfaces/storagehubclient/runtime.d.ts +2 -0
  60. package/dist/types/interfaces/storagehubclient/types.d.ts +198 -0
  61. package/dist/types/interfaces/types-lookup.d.ts +4457 -0
  62. package/dist/types/interfaces/types.d.ts +1 -0
  63. package/package.json +38 -0
  64. package/scripts/scrapeMetadata.ts +77 -0
  65. package/src/index.ts +3 -0
  66. package/src/interfaces/augment-api-consts.ts +570 -0
  67. package/src/interfaces/augment-api-errors.ts +1203 -0
  68. package/src/interfaces/augment-api-events.ts +1836 -0
  69. package/src/interfaces/augment-api-query.ts +1975 -0
  70. package/src/interfaces/augment-api-rpc.ts +1201 -0
  71. package/src/interfaces/augment-api-runtime.ts +707 -0
  72. package/src/interfaces/augment-api-tx.ts +3418 -0
  73. package/src/interfaces/augment-api.ts +10 -0
  74. package/src/interfaces/augment-types.ts +2508 -0
  75. package/src/interfaces/definitions.ts +1 -0
  76. package/src/interfaces/index.ts +4 -0
  77. package/src/interfaces/lookup.ts +4511 -0
  78. package/src/interfaces/registry.ts +546 -0
  79. package/src/interfaces/storagehubclient/definitions.ts +7 -0
  80. package/src/interfaces/storagehubclient/index.ts +4 -0
  81. package/src/interfaces/storagehubclient/runtime.ts +156 -0
  82. package/src/interfaces/storagehubclient/types.ts +241 -0
  83. package/src/interfaces/types-lookup.ts +5623 -0
  84. package/src/interfaces/types.ts +4 -0
  85. package/storagehub.json +1 -0
  86. package/tsconfig.json +22 -0
@@ -0,0 +1,4457 @@
1
+ import "@polkadot/types/lookup";
2
+ import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from "@polkadot/types-codec";
3
+ import type { ITuple } from "@polkadot/types-codec/types";
4
+ import type { AccountId32, Call, H256, MultiAddress } from "@polkadot/types/interfaces/runtime";
5
+ import type { Event } from "@polkadot/types/interfaces/system";
6
+ declare module "@polkadot/types/lookup" {
7
+ /** @name FrameSystemAccountInfo (3) */
8
+ interface FrameSystemAccountInfo extends Struct {
9
+ readonly nonce: u32;
10
+ readonly consumers: u32;
11
+ readonly providers: u32;
12
+ readonly sufficients: u32;
13
+ readonly data: PalletBalancesAccountData;
14
+ }
15
+ /** @name PalletBalancesAccountData (5) */
16
+ interface PalletBalancesAccountData extends Struct {
17
+ readonly free: u128;
18
+ readonly reserved: u128;
19
+ readonly frozen: u128;
20
+ readonly flags: u128;
21
+ }
22
+ /** @name FrameSupportDispatchPerDispatchClassWeight (9) */
23
+ interface FrameSupportDispatchPerDispatchClassWeight extends Struct {
24
+ readonly normal: SpWeightsWeightV2Weight;
25
+ readonly operational: SpWeightsWeightV2Weight;
26
+ readonly mandatory: SpWeightsWeightV2Weight;
27
+ }
28
+ /** @name SpWeightsWeightV2Weight (10) */
29
+ interface SpWeightsWeightV2Weight extends Struct {
30
+ readonly refTime: Compact<u64>;
31
+ readonly proofSize: Compact<u64>;
32
+ }
33
+ /** @name SpRuntimeDigest (15) */
34
+ interface SpRuntimeDigest extends Struct {
35
+ readonly logs: Vec<SpRuntimeDigestDigestItem>;
36
+ }
37
+ /** @name SpRuntimeDigestDigestItem (17) */
38
+ interface SpRuntimeDigestDigestItem extends Enum {
39
+ readonly isOther: boolean;
40
+ readonly asOther: Bytes;
41
+ readonly isConsensus: boolean;
42
+ readonly asConsensus: ITuple<[U8aFixed, Bytes]>;
43
+ readonly isSeal: boolean;
44
+ readonly asSeal: ITuple<[U8aFixed, Bytes]>;
45
+ readonly isPreRuntime: boolean;
46
+ readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;
47
+ readonly isRuntimeEnvironmentUpdated: boolean;
48
+ readonly type: "Other" | "Consensus" | "Seal" | "PreRuntime" | "RuntimeEnvironmentUpdated";
49
+ }
50
+ /** @name FrameSystemEventRecord (20) */
51
+ interface FrameSystemEventRecord extends Struct {
52
+ readonly phase: FrameSystemPhase;
53
+ readonly event: Event;
54
+ readonly topics: Vec<H256>;
55
+ }
56
+ /** @name FrameSystemEvent (22) */
57
+ interface FrameSystemEvent extends Enum {
58
+ readonly isExtrinsicSuccess: boolean;
59
+ readonly asExtrinsicSuccess: {
60
+ readonly dispatchInfo: FrameSupportDispatchDispatchInfo;
61
+ } & Struct;
62
+ readonly isExtrinsicFailed: boolean;
63
+ readonly asExtrinsicFailed: {
64
+ readonly dispatchError: SpRuntimeDispatchError;
65
+ readonly dispatchInfo: FrameSupportDispatchDispatchInfo;
66
+ } & Struct;
67
+ readonly isCodeUpdated: boolean;
68
+ readonly isNewAccount: boolean;
69
+ readonly asNewAccount: {
70
+ readonly account: AccountId32;
71
+ } & Struct;
72
+ readonly isKilledAccount: boolean;
73
+ readonly asKilledAccount: {
74
+ readonly account: AccountId32;
75
+ } & Struct;
76
+ readonly isRemarked: boolean;
77
+ readonly asRemarked: {
78
+ readonly sender: AccountId32;
79
+ readonly hash_: H256;
80
+ } & Struct;
81
+ readonly isUpgradeAuthorized: boolean;
82
+ readonly asUpgradeAuthorized: {
83
+ readonly codeHash: H256;
84
+ readonly checkVersion: bool;
85
+ } & Struct;
86
+ readonly type: "ExtrinsicSuccess" | "ExtrinsicFailed" | "CodeUpdated" | "NewAccount" | "KilledAccount" | "Remarked" | "UpgradeAuthorized";
87
+ }
88
+ /** @name FrameSupportDispatchDispatchInfo (23) */
89
+ interface FrameSupportDispatchDispatchInfo extends Struct {
90
+ readonly weight: SpWeightsWeightV2Weight;
91
+ readonly class: FrameSupportDispatchDispatchClass;
92
+ readonly paysFee: FrameSupportDispatchPays;
93
+ }
94
+ /** @name FrameSupportDispatchDispatchClass (24) */
95
+ interface FrameSupportDispatchDispatchClass extends Enum {
96
+ readonly isNormal: boolean;
97
+ readonly isOperational: boolean;
98
+ readonly isMandatory: boolean;
99
+ readonly type: "Normal" | "Operational" | "Mandatory";
100
+ }
101
+ /** @name FrameSupportDispatchPays (25) */
102
+ interface FrameSupportDispatchPays extends Enum {
103
+ readonly isYes: boolean;
104
+ readonly isNo: boolean;
105
+ readonly type: "Yes" | "No";
106
+ }
107
+ /** @name SpRuntimeDispatchError (26) */
108
+ interface SpRuntimeDispatchError extends Enum {
109
+ readonly isOther: boolean;
110
+ readonly isCannotLookup: boolean;
111
+ readonly isBadOrigin: boolean;
112
+ readonly isModule: boolean;
113
+ readonly asModule: SpRuntimeModuleError;
114
+ readonly isConsumerRemaining: boolean;
115
+ readonly isNoProviders: boolean;
116
+ readonly isTooManyConsumers: boolean;
117
+ readonly isToken: boolean;
118
+ readonly asToken: SpRuntimeTokenError;
119
+ readonly isArithmetic: boolean;
120
+ readonly asArithmetic: SpArithmeticArithmeticError;
121
+ readonly isTransactional: boolean;
122
+ readonly asTransactional: SpRuntimeTransactionalError;
123
+ readonly isExhausted: boolean;
124
+ readonly isCorruption: boolean;
125
+ readonly isUnavailable: boolean;
126
+ readonly isRootNotAllowed: boolean;
127
+ readonly type: "Other" | "CannotLookup" | "BadOrigin" | "Module" | "ConsumerRemaining" | "NoProviders" | "TooManyConsumers" | "Token" | "Arithmetic" | "Transactional" | "Exhausted" | "Corruption" | "Unavailable" | "RootNotAllowed";
128
+ }
129
+ /** @name SpRuntimeModuleError (27) */
130
+ interface SpRuntimeModuleError extends Struct {
131
+ readonly index: u8;
132
+ readonly error: U8aFixed;
133
+ }
134
+ /** @name SpRuntimeTokenError (28) */
135
+ interface SpRuntimeTokenError extends Enum {
136
+ readonly isFundsUnavailable: boolean;
137
+ readonly isOnlyProvider: boolean;
138
+ readonly isBelowMinimum: boolean;
139
+ readonly isCannotCreate: boolean;
140
+ readonly isUnknownAsset: boolean;
141
+ readonly isFrozen: boolean;
142
+ readonly isUnsupported: boolean;
143
+ readonly isCannotCreateHold: boolean;
144
+ readonly isNotExpendable: boolean;
145
+ readonly isBlocked: boolean;
146
+ readonly type: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
147
+ }
148
+ /** @name SpArithmeticArithmeticError (29) */
149
+ interface SpArithmeticArithmeticError extends Enum {
150
+ readonly isUnderflow: boolean;
151
+ readonly isOverflow: boolean;
152
+ readonly isDivisionByZero: boolean;
153
+ readonly type: "Underflow" | "Overflow" | "DivisionByZero";
154
+ }
155
+ /** @name SpRuntimeTransactionalError (30) */
156
+ interface SpRuntimeTransactionalError extends Enum {
157
+ readonly isLimitReached: boolean;
158
+ readonly isNoLayer: boolean;
159
+ readonly type: "LimitReached" | "NoLayer";
160
+ }
161
+ /** @name CumulusPalletParachainSystemEvent (31) */
162
+ interface CumulusPalletParachainSystemEvent extends Enum {
163
+ readonly isValidationFunctionStored: boolean;
164
+ readonly isValidationFunctionApplied: boolean;
165
+ readonly asValidationFunctionApplied: {
166
+ readonly relayChainBlockNum: u32;
167
+ } & Struct;
168
+ readonly isValidationFunctionDiscarded: boolean;
169
+ readonly isDownwardMessagesReceived: boolean;
170
+ readonly asDownwardMessagesReceived: {
171
+ readonly count: u32;
172
+ } & Struct;
173
+ readonly isDownwardMessagesProcessed: boolean;
174
+ readonly asDownwardMessagesProcessed: {
175
+ readonly weightUsed: SpWeightsWeightV2Weight;
176
+ readonly dmqHead: H256;
177
+ } & Struct;
178
+ readonly isUpwardMessageSent: boolean;
179
+ readonly asUpwardMessageSent: {
180
+ readonly messageHash: Option<U8aFixed>;
181
+ } & Struct;
182
+ readonly type: "ValidationFunctionStored" | "ValidationFunctionApplied" | "ValidationFunctionDiscarded" | "DownwardMessagesReceived" | "DownwardMessagesProcessed" | "UpwardMessageSent";
183
+ }
184
+ /** @name PalletBalancesEvent (33) */
185
+ interface PalletBalancesEvent extends Enum {
186
+ readonly isEndowed: boolean;
187
+ readonly asEndowed: {
188
+ readonly account: AccountId32;
189
+ readonly freeBalance: u128;
190
+ } & Struct;
191
+ readonly isDustLost: boolean;
192
+ readonly asDustLost: {
193
+ readonly account: AccountId32;
194
+ readonly amount: u128;
195
+ } & Struct;
196
+ readonly isTransfer: boolean;
197
+ readonly asTransfer: {
198
+ readonly from: AccountId32;
199
+ readonly to: AccountId32;
200
+ readonly amount: u128;
201
+ } & Struct;
202
+ readonly isBalanceSet: boolean;
203
+ readonly asBalanceSet: {
204
+ readonly who: AccountId32;
205
+ readonly free: u128;
206
+ } & Struct;
207
+ readonly isReserved: boolean;
208
+ readonly asReserved: {
209
+ readonly who: AccountId32;
210
+ readonly amount: u128;
211
+ } & Struct;
212
+ readonly isUnreserved: boolean;
213
+ readonly asUnreserved: {
214
+ readonly who: AccountId32;
215
+ readonly amount: u128;
216
+ } & Struct;
217
+ readonly isReserveRepatriated: boolean;
218
+ readonly asReserveRepatriated: {
219
+ readonly from: AccountId32;
220
+ readonly to: AccountId32;
221
+ readonly amount: u128;
222
+ readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;
223
+ } & Struct;
224
+ readonly isDeposit: boolean;
225
+ readonly asDeposit: {
226
+ readonly who: AccountId32;
227
+ readonly amount: u128;
228
+ } & Struct;
229
+ readonly isWithdraw: boolean;
230
+ readonly asWithdraw: {
231
+ readonly who: AccountId32;
232
+ readonly amount: u128;
233
+ } & Struct;
234
+ readonly isSlashed: boolean;
235
+ readonly asSlashed: {
236
+ readonly who: AccountId32;
237
+ readonly amount: u128;
238
+ } & Struct;
239
+ readonly isMinted: boolean;
240
+ readonly asMinted: {
241
+ readonly who: AccountId32;
242
+ readonly amount: u128;
243
+ } & Struct;
244
+ readonly isBurned: boolean;
245
+ readonly asBurned: {
246
+ readonly who: AccountId32;
247
+ readonly amount: u128;
248
+ } & Struct;
249
+ readonly isSuspended: boolean;
250
+ readonly asSuspended: {
251
+ readonly who: AccountId32;
252
+ readonly amount: u128;
253
+ } & Struct;
254
+ readonly isRestored: boolean;
255
+ readonly asRestored: {
256
+ readonly who: AccountId32;
257
+ readonly amount: u128;
258
+ } & Struct;
259
+ readonly isUpgraded: boolean;
260
+ readonly asUpgraded: {
261
+ readonly who: AccountId32;
262
+ } & Struct;
263
+ readonly isIssued: boolean;
264
+ readonly asIssued: {
265
+ readonly amount: u128;
266
+ } & Struct;
267
+ readonly isRescinded: boolean;
268
+ readonly asRescinded: {
269
+ readonly amount: u128;
270
+ } & Struct;
271
+ readonly isLocked: boolean;
272
+ readonly asLocked: {
273
+ readonly who: AccountId32;
274
+ readonly amount: u128;
275
+ } & Struct;
276
+ readonly isUnlocked: boolean;
277
+ readonly asUnlocked: {
278
+ readonly who: AccountId32;
279
+ readonly amount: u128;
280
+ } & Struct;
281
+ readonly isFrozen: boolean;
282
+ readonly asFrozen: {
283
+ readonly who: AccountId32;
284
+ readonly amount: u128;
285
+ } & Struct;
286
+ readonly isThawed: boolean;
287
+ readonly asThawed: {
288
+ readonly who: AccountId32;
289
+ readonly amount: u128;
290
+ } & Struct;
291
+ readonly isTotalIssuanceForced: boolean;
292
+ readonly asTotalIssuanceForced: {
293
+ readonly old: u128;
294
+ readonly new_: u128;
295
+ } & Struct;
296
+ readonly type: "Endowed" | "DustLost" | "Transfer" | "BalanceSet" | "Reserved" | "Unreserved" | "ReserveRepatriated" | "Deposit" | "Withdraw" | "Slashed" | "Minted" | "Burned" | "Suspended" | "Restored" | "Upgraded" | "Issued" | "Rescinded" | "Locked" | "Unlocked" | "Frozen" | "Thawed" | "TotalIssuanceForced";
297
+ }
298
+ /** @name FrameSupportTokensMiscBalanceStatus (34) */
299
+ interface FrameSupportTokensMiscBalanceStatus extends Enum {
300
+ readonly isFree: boolean;
301
+ readonly isReserved: boolean;
302
+ readonly type: "Free" | "Reserved";
303
+ }
304
+ /** @name PalletTransactionPaymentEvent (35) */
305
+ interface PalletTransactionPaymentEvent extends Enum {
306
+ readonly isTransactionFeePaid: boolean;
307
+ readonly asTransactionFeePaid: {
308
+ readonly who: AccountId32;
309
+ readonly actualFee: u128;
310
+ readonly tip: u128;
311
+ } & Struct;
312
+ readonly type: "TransactionFeePaid";
313
+ }
314
+ /** @name PalletSudoEvent (36) */
315
+ interface PalletSudoEvent extends Enum {
316
+ readonly isSudid: boolean;
317
+ readonly asSudid: {
318
+ readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
319
+ } & Struct;
320
+ readonly isKeyChanged: boolean;
321
+ readonly asKeyChanged: {
322
+ readonly old: Option<AccountId32>;
323
+ readonly new_: AccountId32;
324
+ } & Struct;
325
+ readonly isKeyRemoved: boolean;
326
+ readonly isSudoAsDone: boolean;
327
+ readonly asSudoAsDone: {
328
+ readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
329
+ } & Struct;
330
+ readonly type: "Sudid" | "KeyChanged" | "KeyRemoved" | "SudoAsDone";
331
+ }
332
+ /** @name PalletCollatorSelectionEvent (40) */
333
+ interface PalletCollatorSelectionEvent extends Enum {
334
+ readonly isNewInvulnerables: boolean;
335
+ readonly asNewInvulnerables: {
336
+ readonly invulnerables: Vec<AccountId32>;
337
+ } & Struct;
338
+ readonly isInvulnerableAdded: boolean;
339
+ readonly asInvulnerableAdded: {
340
+ readonly accountId: AccountId32;
341
+ } & Struct;
342
+ readonly isInvulnerableRemoved: boolean;
343
+ readonly asInvulnerableRemoved: {
344
+ readonly accountId: AccountId32;
345
+ } & Struct;
346
+ readonly isNewDesiredCandidates: boolean;
347
+ readonly asNewDesiredCandidates: {
348
+ readonly desiredCandidates: u32;
349
+ } & Struct;
350
+ readonly isNewCandidacyBond: boolean;
351
+ readonly asNewCandidacyBond: {
352
+ readonly bondAmount: u128;
353
+ } & Struct;
354
+ readonly isCandidateAdded: boolean;
355
+ readonly asCandidateAdded: {
356
+ readonly accountId: AccountId32;
357
+ readonly deposit: u128;
358
+ } & Struct;
359
+ readonly isCandidateBondUpdated: boolean;
360
+ readonly asCandidateBondUpdated: {
361
+ readonly accountId: AccountId32;
362
+ readonly deposit: u128;
363
+ } & Struct;
364
+ readonly isCandidateRemoved: boolean;
365
+ readonly asCandidateRemoved: {
366
+ readonly accountId: AccountId32;
367
+ } & Struct;
368
+ readonly isCandidateReplaced: boolean;
369
+ readonly asCandidateReplaced: {
370
+ readonly old: AccountId32;
371
+ readonly new_: AccountId32;
372
+ readonly deposit: u128;
373
+ } & Struct;
374
+ readonly isInvalidInvulnerableSkipped: boolean;
375
+ readonly asInvalidInvulnerableSkipped: {
376
+ readonly accountId: AccountId32;
377
+ } & Struct;
378
+ readonly type: "NewInvulnerables" | "InvulnerableAdded" | "InvulnerableRemoved" | "NewDesiredCandidates" | "NewCandidacyBond" | "CandidateAdded" | "CandidateBondUpdated" | "CandidateRemoved" | "CandidateReplaced" | "InvalidInvulnerableSkipped";
379
+ }
380
+ /** @name PalletSessionEvent (42) */
381
+ interface PalletSessionEvent extends Enum {
382
+ readonly isNewSession: boolean;
383
+ readonly asNewSession: {
384
+ readonly sessionIndex: u32;
385
+ } & Struct;
386
+ readonly type: "NewSession";
387
+ }
388
+ /** @name CumulusPalletXcmpQueueEvent (43) */
389
+ interface CumulusPalletXcmpQueueEvent extends Enum {
390
+ readonly isXcmpMessageSent: boolean;
391
+ readonly asXcmpMessageSent: {
392
+ readonly messageHash: U8aFixed;
393
+ } & Struct;
394
+ readonly type: "XcmpMessageSent";
395
+ }
396
+ /** @name PalletXcmEvent (44) */
397
+ interface PalletXcmEvent extends Enum {
398
+ readonly isAttempted: boolean;
399
+ readonly asAttempted: {
400
+ readonly outcome: StagingXcmV4TraitsOutcome;
401
+ } & Struct;
402
+ readonly isSent: boolean;
403
+ readonly asSent: {
404
+ readonly origin: StagingXcmV4Location;
405
+ readonly destination: StagingXcmV4Location;
406
+ readonly message: StagingXcmV4Xcm;
407
+ readonly messageId: U8aFixed;
408
+ } & Struct;
409
+ readonly isUnexpectedResponse: boolean;
410
+ readonly asUnexpectedResponse: {
411
+ readonly origin: StagingXcmV4Location;
412
+ readonly queryId: u64;
413
+ } & Struct;
414
+ readonly isResponseReady: boolean;
415
+ readonly asResponseReady: {
416
+ readonly queryId: u64;
417
+ readonly response: StagingXcmV4Response;
418
+ } & Struct;
419
+ readonly isNotified: boolean;
420
+ readonly asNotified: {
421
+ readonly queryId: u64;
422
+ readonly palletIndex: u8;
423
+ readonly callIndex: u8;
424
+ } & Struct;
425
+ readonly isNotifyOverweight: boolean;
426
+ readonly asNotifyOverweight: {
427
+ readonly queryId: u64;
428
+ readonly palletIndex: u8;
429
+ readonly callIndex: u8;
430
+ readonly actualWeight: SpWeightsWeightV2Weight;
431
+ readonly maxBudgetedWeight: SpWeightsWeightV2Weight;
432
+ } & Struct;
433
+ readonly isNotifyDispatchError: boolean;
434
+ readonly asNotifyDispatchError: {
435
+ readonly queryId: u64;
436
+ readonly palletIndex: u8;
437
+ readonly callIndex: u8;
438
+ } & Struct;
439
+ readonly isNotifyDecodeFailed: boolean;
440
+ readonly asNotifyDecodeFailed: {
441
+ readonly queryId: u64;
442
+ readonly palletIndex: u8;
443
+ readonly callIndex: u8;
444
+ } & Struct;
445
+ readonly isInvalidResponder: boolean;
446
+ readonly asInvalidResponder: {
447
+ readonly origin: StagingXcmV4Location;
448
+ readonly queryId: u64;
449
+ readonly expectedLocation: Option<StagingXcmV4Location>;
450
+ } & Struct;
451
+ readonly isInvalidResponderVersion: boolean;
452
+ readonly asInvalidResponderVersion: {
453
+ readonly origin: StagingXcmV4Location;
454
+ readonly queryId: u64;
455
+ } & Struct;
456
+ readonly isResponseTaken: boolean;
457
+ readonly asResponseTaken: {
458
+ readonly queryId: u64;
459
+ } & Struct;
460
+ readonly isAssetsTrapped: boolean;
461
+ readonly asAssetsTrapped: {
462
+ readonly hash_: H256;
463
+ readonly origin: StagingXcmV4Location;
464
+ readonly assets: XcmVersionedAssets;
465
+ } & Struct;
466
+ readonly isVersionChangeNotified: boolean;
467
+ readonly asVersionChangeNotified: {
468
+ readonly destination: StagingXcmV4Location;
469
+ readonly result: u32;
470
+ readonly cost: StagingXcmV4AssetAssets;
471
+ readonly messageId: U8aFixed;
472
+ } & Struct;
473
+ readonly isSupportedVersionChanged: boolean;
474
+ readonly asSupportedVersionChanged: {
475
+ readonly location: StagingXcmV4Location;
476
+ readonly version: u32;
477
+ } & Struct;
478
+ readonly isNotifyTargetSendFail: boolean;
479
+ readonly asNotifyTargetSendFail: {
480
+ readonly location: StagingXcmV4Location;
481
+ readonly queryId: u64;
482
+ readonly error: XcmV3TraitsError;
483
+ } & Struct;
484
+ readonly isNotifyTargetMigrationFail: boolean;
485
+ readonly asNotifyTargetMigrationFail: {
486
+ readonly location: XcmVersionedLocation;
487
+ readonly queryId: u64;
488
+ } & Struct;
489
+ readonly isInvalidQuerierVersion: boolean;
490
+ readonly asInvalidQuerierVersion: {
491
+ readonly origin: StagingXcmV4Location;
492
+ readonly queryId: u64;
493
+ } & Struct;
494
+ readonly isInvalidQuerier: boolean;
495
+ readonly asInvalidQuerier: {
496
+ readonly origin: StagingXcmV4Location;
497
+ readonly queryId: u64;
498
+ readonly expectedQuerier: StagingXcmV4Location;
499
+ readonly maybeActualQuerier: Option<StagingXcmV4Location>;
500
+ } & Struct;
501
+ readonly isVersionNotifyStarted: boolean;
502
+ readonly asVersionNotifyStarted: {
503
+ readonly destination: StagingXcmV4Location;
504
+ readonly cost: StagingXcmV4AssetAssets;
505
+ readonly messageId: U8aFixed;
506
+ } & Struct;
507
+ readonly isVersionNotifyRequested: boolean;
508
+ readonly asVersionNotifyRequested: {
509
+ readonly destination: StagingXcmV4Location;
510
+ readonly cost: StagingXcmV4AssetAssets;
511
+ readonly messageId: U8aFixed;
512
+ } & Struct;
513
+ readonly isVersionNotifyUnrequested: boolean;
514
+ readonly asVersionNotifyUnrequested: {
515
+ readonly destination: StagingXcmV4Location;
516
+ readonly cost: StagingXcmV4AssetAssets;
517
+ readonly messageId: U8aFixed;
518
+ } & Struct;
519
+ readonly isFeesPaid: boolean;
520
+ readonly asFeesPaid: {
521
+ readonly paying: StagingXcmV4Location;
522
+ readonly fees: StagingXcmV4AssetAssets;
523
+ } & Struct;
524
+ readonly isAssetsClaimed: boolean;
525
+ readonly asAssetsClaimed: {
526
+ readonly hash_: H256;
527
+ readonly origin: StagingXcmV4Location;
528
+ readonly assets: XcmVersionedAssets;
529
+ } & Struct;
530
+ readonly isVersionMigrationFinished: boolean;
531
+ readonly asVersionMigrationFinished: {
532
+ readonly version: u32;
533
+ } & Struct;
534
+ readonly type: "Attempted" | "Sent" | "UnexpectedResponse" | "ResponseReady" | "Notified" | "NotifyOverweight" | "NotifyDispatchError" | "NotifyDecodeFailed" | "InvalidResponder" | "InvalidResponderVersion" | "ResponseTaken" | "AssetsTrapped" | "VersionChangeNotified" | "SupportedVersionChanged" | "NotifyTargetSendFail" | "NotifyTargetMigrationFail" | "InvalidQuerierVersion" | "InvalidQuerier" | "VersionNotifyStarted" | "VersionNotifyRequested" | "VersionNotifyUnrequested" | "FeesPaid" | "AssetsClaimed" | "VersionMigrationFinished";
535
+ }
536
+ /** @name StagingXcmV4TraitsOutcome (45) */
537
+ interface StagingXcmV4TraitsOutcome extends Enum {
538
+ readonly isComplete: boolean;
539
+ readonly asComplete: {
540
+ readonly used: SpWeightsWeightV2Weight;
541
+ } & Struct;
542
+ readonly isIncomplete: boolean;
543
+ readonly asIncomplete: {
544
+ readonly used: SpWeightsWeightV2Weight;
545
+ readonly error: XcmV3TraitsError;
546
+ } & Struct;
547
+ readonly isError: boolean;
548
+ readonly asError: {
549
+ readonly error: XcmV3TraitsError;
550
+ } & Struct;
551
+ readonly type: "Complete" | "Incomplete" | "Error";
552
+ }
553
+ /** @name XcmV3TraitsError (46) */
554
+ interface XcmV3TraitsError extends Enum {
555
+ readonly isOverflow: boolean;
556
+ readonly isUnimplemented: boolean;
557
+ readonly isUntrustedReserveLocation: boolean;
558
+ readonly isUntrustedTeleportLocation: boolean;
559
+ readonly isLocationFull: boolean;
560
+ readonly isLocationNotInvertible: boolean;
561
+ readonly isBadOrigin: boolean;
562
+ readonly isInvalidLocation: boolean;
563
+ readonly isAssetNotFound: boolean;
564
+ readonly isFailedToTransactAsset: boolean;
565
+ readonly isNotWithdrawable: boolean;
566
+ readonly isLocationCannotHold: boolean;
567
+ readonly isExceedsMaxMessageSize: boolean;
568
+ readonly isDestinationUnsupported: boolean;
569
+ readonly isTransport: boolean;
570
+ readonly isUnroutable: boolean;
571
+ readonly isUnknownClaim: boolean;
572
+ readonly isFailedToDecode: boolean;
573
+ readonly isMaxWeightInvalid: boolean;
574
+ readonly isNotHoldingFees: boolean;
575
+ readonly isTooExpensive: boolean;
576
+ readonly isTrap: boolean;
577
+ readonly asTrap: u64;
578
+ readonly isExpectationFalse: boolean;
579
+ readonly isPalletNotFound: boolean;
580
+ readonly isNameMismatch: boolean;
581
+ readonly isVersionIncompatible: boolean;
582
+ readonly isHoldingWouldOverflow: boolean;
583
+ readonly isExportError: boolean;
584
+ readonly isReanchorFailed: boolean;
585
+ readonly isNoDeal: boolean;
586
+ readonly isFeesNotMet: boolean;
587
+ readonly isLockError: boolean;
588
+ readonly isNoPermission: boolean;
589
+ readonly isUnanchored: boolean;
590
+ readonly isNotDepositable: boolean;
591
+ readonly isUnhandledXcmVersion: boolean;
592
+ readonly isWeightLimitReached: boolean;
593
+ readonly asWeightLimitReached: SpWeightsWeightV2Weight;
594
+ readonly isBarrier: boolean;
595
+ readonly isWeightNotComputable: boolean;
596
+ readonly isExceedsStackLimit: boolean;
597
+ readonly type: "Overflow" | "Unimplemented" | "UntrustedReserveLocation" | "UntrustedTeleportLocation" | "LocationFull" | "LocationNotInvertible" | "BadOrigin" | "InvalidLocation" | "AssetNotFound" | "FailedToTransactAsset" | "NotWithdrawable" | "LocationCannotHold" | "ExceedsMaxMessageSize" | "DestinationUnsupported" | "Transport" | "Unroutable" | "UnknownClaim" | "FailedToDecode" | "MaxWeightInvalid" | "NotHoldingFees" | "TooExpensive" | "Trap" | "ExpectationFalse" | "PalletNotFound" | "NameMismatch" | "VersionIncompatible" | "HoldingWouldOverflow" | "ExportError" | "ReanchorFailed" | "NoDeal" | "FeesNotMet" | "LockError" | "NoPermission" | "Unanchored" | "NotDepositable" | "UnhandledXcmVersion" | "WeightLimitReached" | "Barrier" | "WeightNotComputable" | "ExceedsStackLimit";
598
+ }
599
+ /** @name StagingXcmV4Location (47) */
600
+ interface StagingXcmV4Location extends Struct {
601
+ readonly parents: u8;
602
+ readonly interior: StagingXcmV4Junctions;
603
+ }
604
+ /** @name StagingXcmV4Junctions (48) */
605
+ interface StagingXcmV4Junctions extends Enum {
606
+ readonly isHere: boolean;
607
+ readonly isX1: boolean;
608
+ readonly asX1: StagingXcmV4Junction;
609
+ readonly isX2: boolean;
610
+ readonly asX2: StagingXcmV4Junction;
611
+ readonly isX3: boolean;
612
+ readonly asX3: StagingXcmV4Junction;
613
+ readonly isX4: boolean;
614
+ readonly asX4: StagingXcmV4Junction;
615
+ readonly isX5: boolean;
616
+ readonly asX5: StagingXcmV4Junction;
617
+ readonly isX6: boolean;
618
+ readonly asX6: StagingXcmV4Junction;
619
+ readonly isX7: boolean;
620
+ readonly asX7: StagingXcmV4Junction;
621
+ readonly isX8: boolean;
622
+ readonly asX8: StagingXcmV4Junction;
623
+ readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8";
624
+ }
625
+ /** @name StagingXcmV4Junction (50) */
626
+ interface StagingXcmV4Junction extends Enum {
627
+ readonly isParachain: boolean;
628
+ readonly asParachain: Compact<u32>;
629
+ readonly isAccountId32: boolean;
630
+ readonly asAccountId32: {
631
+ readonly network: Option<StagingXcmV4JunctionNetworkId>;
632
+ readonly id: U8aFixed;
633
+ } & Struct;
634
+ readonly isAccountIndex64: boolean;
635
+ readonly asAccountIndex64: {
636
+ readonly network: Option<StagingXcmV4JunctionNetworkId>;
637
+ readonly index: Compact<u64>;
638
+ } & Struct;
639
+ readonly isAccountKey20: boolean;
640
+ readonly asAccountKey20: {
641
+ readonly network: Option<StagingXcmV4JunctionNetworkId>;
642
+ readonly key: U8aFixed;
643
+ } & Struct;
644
+ readonly isPalletInstance: boolean;
645
+ readonly asPalletInstance: u8;
646
+ readonly isGeneralIndex: boolean;
647
+ readonly asGeneralIndex: Compact<u128>;
648
+ readonly isGeneralKey: boolean;
649
+ readonly asGeneralKey: {
650
+ readonly length: u8;
651
+ readonly data: U8aFixed;
652
+ } & Struct;
653
+ readonly isOnlyChild: boolean;
654
+ readonly isPlurality: boolean;
655
+ readonly asPlurality: {
656
+ readonly id: XcmV3JunctionBodyId;
657
+ readonly part: XcmV3JunctionBodyPart;
658
+ } & Struct;
659
+ readonly isGlobalConsensus: boolean;
660
+ readonly asGlobalConsensus: StagingXcmV4JunctionNetworkId;
661
+ readonly type: "Parachain" | "AccountId32" | "AccountIndex64" | "AccountKey20" | "PalletInstance" | "GeneralIndex" | "GeneralKey" | "OnlyChild" | "Plurality" | "GlobalConsensus";
662
+ }
663
+ /** @name StagingXcmV4JunctionNetworkId (53) */
664
+ interface StagingXcmV4JunctionNetworkId extends Enum {
665
+ readonly isByGenesis: boolean;
666
+ readonly asByGenesis: U8aFixed;
667
+ readonly isByFork: boolean;
668
+ readonly asByFork: {
669
+ readonly blockNumber: u64;
670
+ readonly blockHash: U8aFixed;
671
+ } & Struct;
672
+ readonly isPolkadot: boolean;
673
+ readonly isKusama: boolean;
674
+ readonly isWestend: boolean;
675
+ readonly isRococo: boolean;
676
+ readonly isWococo: boolean;
677
+ readonly isEthereum: boolean;
678
+ readonly asEthereum: {
679
+ readonly chainId: Compact<u64>;
680
+ } & Struct;
681
+ readonly isBitcoinCore: boolean;
682
+ readonly isBitcoinCash: boolean;
683
+ readonly isPolkadotBulletin: boolean;
684
+ readonly type: "ByGenesis" | "ByFork" | "Polkadot" | "Kusama" | "Westend" | "Rococo" | "Wococo" | "Ethereum" | "BitcoinCore" | "BitcoinCash" | "PolkadotBulletin";
685
+ }
686
+ /** @name XcmV3JunctionBodyId (56) */
687
+ interface XcmV3JunctionBodyId extends Enum {
688
+ readonly isUnit: boolean;
689
+ readonly isMoniker: boolean;
690
+ readonly asMoniker: U8aFixed;
691
+ readonly isIndex: boolean;
692
+ readonly asIndex: Compact<u32>;
693
+ readonly isExecutive: boolean;
694
+ readonly isTechnical: boolean;
695
+ readonly isLegislative: boolean;
696
+ readonly isJudicial: boolean;
697
+ readonly isDefense: boolean;
698
+ readonly isAdministration: boolean;
699
+ readonly isTreasury: boolean;
700
+ readonly type: "Unit" | "Moniker" | "Index" | "Executive" | "Technical" | "Legislative" | "Judicial" | "Defense" | "Administration" | "Treasury";
701
+ }
702
+ /** @name XcmV3JunctionBodyPart (57) */
703
+ interface XcmV3JunctionBodyPart extends Enum {
704
+ readonly isVoice: boolean;
705
+ readonly isMembers: boolean;
706
+ readonly asMembers: {
707
+ readonly count: Compact<u32>;
708
+ } & Struct;
709
+ readonly isFraction: boolean;
710
+ readonly asFraction: {
711
+ readonly nom: Compact<u32>;
712
+ readonly denom: Compact<u32>;
713
+ } & Struct;
714
+ readonly isAtLeastProportion: boolean;
715
+ readonly asAtLeastProportion: {
716
+ readonly nom: Compact<u32>;
717
+ readonly denom: Compact<u32>;
718
+ } & Struct;
719
+ readonly isMoreThanProportion: boolean;
720
+ readonly asMoreThanProportion: {
721
+ readonly nom: Compact<u32>;
722
+ readonly denom: Compact<u32>;
723
+ } & Struct;
724
+ readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion";
725
+ }
726
+ /** @name StagingXcmV4Xcm (65) */
727
+ interface StagingXcmV4Xcm extends Vec<StagingXcmV4Instruction> {
728
+ }
729
+ /** @name StagingXcmV4Instruction (67) */
730
+ interface StagingXcmV4Instruction extends Enum {
731
+ readonly isWithdrawAsset: boolean;
732
+ readonly asWithdrawAsset: StagingXcmV4AssetAssets;
733
+ readonly isReserveAssetDeposited: boolean;
734
+ readonly asReserveAssetDeposited: StagingXcmV4AssetAssets;
735
+ readonly isReceiveTeleportedAsset: boolean;
736
+ readonly asReceiveTeleportedAsset: StagingXcmV4AssetAssets;
737
+ readonly isQueryResponse: boolean;
738
+ readonly asQueryResponse: {
739
+ readonly queryId: Compact<u64>;
740
+ readonly response: StagingXcmV4Response;
741
+ readonly maxWeight: SpWeightsWeightV2Weight;
742
+ readonly querier: Option<StagingXcmV4Location>;
743
+ } & Struct;
744
+ readonly isTransferAsset: boolean;
745
+ readonly asTransferAsset: {
746
+ readonly assets: StagingXcmV4AssetAssets;
747
+ readonly beneficiary: StagingXcmV4Location;
748
+ } & Struct;
749
+ readonly isTransferReserveAsset: boolean;
750
+ readonly asTransferReserveAsset: {
751
+ readonly assets: StagingXcmV4AssetAssets;
752
+ readonly dest: StagingXcmV4Location;
753
+ readonly xcm: StagingXcmV4Xcm;
754
+ } & Struct;
755
+ readonly isTransact: boolean;
756
+ readonly asTransact: {
757
+ readonly originKind: XcmV3OriginKind;
758
+ readonly requireWeightAtMost: SpWeightsWeightV2Weight;
759
+ readonly call: XcmDoubleEncoded;
760
+ } & Struct;
761
+ readonly isHrmpNewChannelOpenRequest: boolean;
762
+ readonly asHrmpNewChannelOpenRequest: {
763
+ readonly sender: Compact<u32>;
764
+ readonly maxMessageSize: Compact<u32>;
765
+ readonly maxCapacity: Compact<u32>;
766
+ } & Struct;
767
+ readonly isHrmpChannelAccepted: boolean;
768
+ readonly asHrmpChannelAccepted: {
769
+ readonly recipient: Compact<u32>;
770
+ } & Struct;
771
+ readonly isHrmpChannelClosing: boolean;
772
+ readonly asHrmpChannelClosing: {
773
+ readonly initiator: Compact<u32>;
774
+ readonly sender: Compact<u32>;
775
+ readonly recipient: Compact<u32>;
776
+ } & Struct;
777
+ readonly isClearOrigin: boolean;
778
+ readonly isDescendOrigin: boolean;
779
+ readonly asDescendOrigin: StagingXcmV4Junctions;
780
+ readonly isReportError: boolean;
781
+ readonly asReportError: StagingXcmV4QueryResponseInfo;
782
+ readonly isDepositAsset: boolean;
783
+ readonly asDepositAsset: {
784
+ readonly assets: StagingXcmV4AssetAssetFilter;
785
+ readonly beneficiary: StagingXcmV4Location;
786
+ } & Struct;
787
+ readonly isDepositReserveAsset: boolean;
788
+ readonly asDepositReserveAsset: {
789
+ readonly assets: StagingXcmV4AssetAssetFilter;
790
+ readonly dest: StagingXcmV4Location;
791
+ readonly xcm: StagingXcmV4Xcm;
792
+ } & Struct;
793
+ readonly isExchangeAsset: boolean;
794
+ readonly asExchangeAsset: {
795
+ readonly give: StagingXcmV4AssetAssetFilter;
796
+ readonly want: StagingXcmV4AssetAssets;
797
+ readonly maximal: bool;
798
+ } & Struct;
799
+ readonly isInitiateReserveWithdraw: boolean;
800
+ readonly asInitiateReserveWithdraw: {
801
+ readonly assets: StagingXcmV4AssetAssetFilter;
802
+ readonly reserve: StagingXcmV4Location;
803
+ readonly xcm: StagingXcmV4Xcm;
804
+ } & Struct;
805
+ readonly isInitiateTeleport: boolean;
806
+ readonly asInitiateTeleport: {
807
+ readonly assets: StagingXcmV4AssetAssetFilter;
808
+ readonly dest: StagingXcmV4Location;
809
+ readonly xcm: StagingXcmV4Xcm;
810
+ } & Struct;
811
+ readonly isReportHolding: boolean;
812
+ readonly asReportHolding: {
813
+ readonly responseInfo: StagingXcmV4QueryResponseInfo;
814
+ readonly assets: StagingXcmV4AssetAssetFilter;
815
+ } & Struct;
816
+ readonly isBuyExecution: boolean;
817
+ readonly asBuyExecution: {
818
+ readonly fees: StagingXcmV4Asset;
819
+ readonly weightLimit: XcmV3WeightLimit;
820
+ } & Struct;
821
+ readonly isRefundSurplus: boolean;
822
+ readonly isSetErrorHandler: boolean;
823
+ readonly asSetErrorHandler: StagingXcmV4Xcm;
824
+ readonly isSetAppendix: boolean;
825
+ readonly asSetAppendix: StagingXcmV4Xcm;
826
+ readonly isClearError: boolean;
827
+ readonly isClaimAsset: boolean;
828
+ readonly asClaimAsset: {
829
+ readonly assets: StagingXcmV4AssetAssets;
830
+ readonly ticket: StagingXcmV4Location;
831
+ } & Struct;
832
+ readonly isTrap: boolean;
833
+ readonly asTrap: Compact<u64>;
834
+ readonly isSubscribeVersion: boolean;
835
+ readonly asSubscribeVersion: {
836
+ readonly queryId: Compact<u64>;
837
+ readonly maxResponseWeight: SpWeightsWeightV2Weight;
838
+ } & Struct;
839
+ readonly isUnsubscribeVersion: boolean;
840
+ readonly isBurnAsset: boolean;
841
+ readonly asBurnAsset: StagingXcmV4AssetAssets;
842
+ readonly isExpectAsset: boolean;
843
+ readonly asExpectAsset: StagingXcmV4AssetAssets;
844
+ readonly isExpectOrigin: boolean;
845
+ readonly asExpectOrigin: Option<StagingXcmV4Location>;
846
+ readonly isExpectError: boolean;
847
+ readonly asExpectError: Option<ITuple<[u32, XcmV3TraitsError]>>;
848
+ readonly isExpectTransactStatus: boolean;
849
+ readonly asExpectTransactStatus: XcmV3MaybeErrorCode;
850
+ readonly isQueryPallet: boolean;
851
+ readonly asQueryPallet: {
852
+ readonly moduleName: Bytes;
853
+ readonly responseInfo: StagingXcmV4QueryResponseInfo;
854
+ } & Struct;
855
+ readonly isExpectPallet: boolean;
856
+ readonly asExpectPallet: {
857
+ readonly index: Compact<u32>;
858
+ readonly name: Bytes;
859
+ readonly moduleName: Bytes;
860
+ readonly crateMajor: Compact<u32>;
861
+ readonly minCrateMinor: Compact<u32>;
862
+ } & Struct;
863
+ readonly isReportTransactStatus: boolean;
864
+ readonly asReportTransactStatus: StagingXcmV4QueryResponseInfo;
865
+ readonly isClearTransactStatus: boolean;
866
+ readonly isUniversalOrigin: boolean;
867
+ readonly asUniversalOrigin: StagingXcmV4Junction;
868
+ readonly isExportMessage: boolean;
869
+ readonly asExportMessage: {
870
+ readonly network: StagingXcmV4JunctionNetworkId;
871
+ readonly destination: StagingXcmV4Junctions;
872
+ readonly xcm: StagingXcmV4Xcm;
873
+ } & Struct;
874
+ readonly isLockAsset: boolean;
875
+ readonly asLockAsset: {
876
+ readonly asset: StagingXcmV4Asset;
877
+ readonly unlocker: StagingXcmV4Location;
878
+ } & Struct;
879
+ readonly isUnlockAsset: boolean;
880
+ readonly asUnlockAsset: {
881
+ readonly asset: StagingXcmV4Asset;
882
+ readonly target: StagingXcmV4Location;
883
+ } & Struct;
884
+ readonly isNoteUnlockable: boolean;
885
+ readonly asNoteUnlockable: {
886
+ readonly asset: StagingXcmV4Asset;
887
+ readonly owner: StagingXcmV4Location;
888
+ } & Struct;
889
+ readonly isRequestUnlock: boolean;
890
+ readonly asRequestUnlock: {
891
+ readonly asset: StagingXcmV4Asset;
892
+ readonly locker: StagingXcmV4Location;
893
+ } & Struct;
894
+ readonly isSetFeesMode: boolean;
895
+ readonly asSetFeesMode: {
896
+ readonly jitWithdraw: bool;
897
+ } & Struct;
898
+ readonly isSetTopic: boolean;
899
+ readonly asSetTopic: U8aFixed;
900
+ readonly isClearTopic: boolean;
901
+ readonly isAliasOrigin: boolean;
902
+ readonly asAliasOrigin: StagingXcmV4Location;
903
+ readonly isUnpaidExecution: boolean;
904
+ readonly asUnpaidExecution: {
905
+ readonly weightLimit: XcmV3WeightLimit;
906
+ readonly checkOrigin: Option<StagingXcmV4Location>;
907
+ } & Struct;
908
+ readonly type: "WithdrawAsset" | "ReserveAssetDeposited" | "ReceiveTeleportedAsset" | "QueryResponse" | "TransferAsset" | "TransferReserveAsset" | "Transact" | "HrmpNewChannelOpenRequest" | "HrmpChannelAccepted" | "HrmpChannelClosing" | "ClearOrigin" | "DescendOrigin" | "ReportError" | "DepositAsset" | "DepositReserveAsset" | "ExchangeAsset" | "InitiateReserveWithdraw" | "InitiateTeleport" | "ReportHolding" | "BuyExecution" | "RefundSurplus" | "SetErrorHandler" | "SetAppendix" | "ClearError" | "ClaimAsset" | "Trap" | "SubscribeVersion" | "UnsubscribeVersion" | "BurnAsset" | "ExpectAsset" | "ExpectOrigin" | "ExpectError" | "ExpectTransactStatus" | "QueryPallet" | "ExpectPallet" | "ReportTransactStatus" | "ClearTransactStatus" | "UniversalOrigin" | "ExportMessage" | "LockAsset" | "UnlockAsset" | "NoteUnlockable" | "RequestUnlock" | "SetFeesMode" | "SetTopic" | "ClearTopic" | "AliasOrigin" | "UnpaidExecution";
909
+ }
910
+ /** @name StagingXcmV4AssetAssets (68) */
911
+ interface StagingXcmV4AssetAssets extends Vec<StagingXcmV4Asset> {
912
+ }
913
+ /** @name StagingXcmV4Asset (70) */
914
+ interface StagingXcmV4Asset extends Struct {
915
+ readonly id: StagingXcmV4AssetAssetId;
916
+ readonly fun: StagingXcmV4AssetFungibility;
917
+ }
918
+ /** @name StagingXcmV4AssetAssetId (71) */
919
+ interface StagingXcmV4AssetAssetId extends StagingXcmV4Location {
920
+ }
921
+ /** @name StagingXcmV4AssetFungibility (72) */
922
+ interface StagingXcmV4AssetFungibility extends Enum {
923
+ readonly isFungible: boolean;
924
+ readonly asFungible: Compact<u128>;
925
+ readonly isNonFungible: boolean;
926
+ readonly asNonFungible: StagingXcmV4AssetAssetInstance;
927
+ readonly type: "Fungible" | "NonFungible";
928
+ }
929
+ /** @name StagingXcmV4AssetAssetInstance (73) */
930
+ interface StagingXcmV4AssetAssetInstance extends Enum {
931
+ readonly isUndefined: boolean;
932
+ readonly isIndex: boolean;
933
+ readonly asIndex: Compact<u128>;
934
+ readonly isArray4: boolean;
935
+ readonly asArray4: U8aFixed;
936
+ readonly isArray8: boolean;
937
+ readonly asArray8: U8aFixed;
938
+ readonly isArray16: boolean;
939
+ readonly asArray16: U8aFixed;
940
+ readonly isArray32: boolean;
941
+ readonly asArray32: U8aFixed;
942
+ readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32";
943
+ }
944
+ /** @name StagingXcmV4Response (76) */
945
+ interface StagingXcmV4Response extends Enum {
946
+ readonly isNull: boolean;
947
+ readonly isAssets: boolean;
948
+ readonly asAssets: StagingXcmV4AssetAssets;
949
+ readonly isExecutionResult: boolean;
950
+ readonly asExecutionResult: Option<ITuple<[u32, XcmV3TraitsError]>>;
951
+ readonly isVersion: boolean;
952
+ readonly asVersion: u32;
953
+ readonly isPalletsInfo: boolean;
954
+ readonly asPalletsInfo: Vec<StagingXcmV4PalletInfo>;
955
+ readonly isDispatchResult: boolean;
956
+ readonly asDispatchResult: XcmV3MaybeErrorCode;
957
+ readonly type: "Null" | "Assets" | "ExecutionResult" | "Version" | "PalletsInfo" | "DispatchResult";
958
+ }
959
+ /** @name StagingXcmV4PalletInfo (80) */
960
+ interface StagingXcmV4PalletInfo extends Struct {
961
+ readonly index: Compact<u32>;
962
+ readonly name: Bytes;
963
+ readonly moduleName: Bytes;
964
+ readonly major: Compact<u32>;
965
+ readonly minor: Compact<u32>;
966
+ readonly patch: Compact<u32>;
967
+ }
968
+ /** @name XcmV3MaybeErrorCode (83) */
969
+ interface XcmV3MaybeErrorCode extends Enum {
970
+ readonly isSuccess: boolean;
971
+ readonly isError: boolean;
972
+ readonly asError: Bytes;
973
+ readonly isTruncatedError: boolean;
974
+ readonly asTruncatedError: Bytes;
975
+ readonly type: "Success" | "Error" | "TruncatedError";
976
+ }
977
+ /** @name XcmV3OriginKind (86) */
978
+ interface XcmV3OriginKind extends Enum {
979
+ readonly isNative: boolean;
980
+ readonly isSovereignAccount: boolean;
981
+ readonly isSuperuser: boolean;
982
+ readonly isXcm: boolean;
983
+ readonly type: "Native" | "SovereignAccount" | "Superuser" | "Xcm";
984
+ }
985
+ /** @name XcmDoubleEncoded (87) */
986
+ interface XcmDoubleEncoded extends Struct {
987
+ readonly encoded: Bytes;
988
+ }
989
+ /** @name StagingXcmV4QueryResponseInfo (88) */
990
+ interface StagingXcmV4QueryResponseInfo extends Struct {
991
+ readonly destination: StagingXcmV4Location;
992
+ readonly queryId: Compact<u64>;
993
+ readonly maxWeight: SpWeightsWeightV2Weight;
994
+ }
995
+ /** @name StagingXcmV4AssetAssetFilter (89) */
996
+ interface StagingXcmV4AssetAssetFilter extends Enum {
997
+ readonly isDefinite: boolean;
998
+ readonly asDefinite: StagingXcmV4AssetAssets;
999
+ readonly isWild: boolean;
1000
+ readonly asWild: StagingXcmV4AssetWildAsset;
1001
+ readonly type: "Definite" | "Wild";
1002
+ }
1003
+ /** @name StagingXcmV4AssetWildAsset (90) */
1004
+ interface StagingXcmV4AssetWildAsset extends Enum {
1005
+ readonly isAll: boolean;
1006
+ readonly isAllOf: boolean;
1007
+ readonly asAllOf: {
1008
+ readonly id: StagingXcmV4AssetAssetId;
1009
+ readonly fun: StagingXcmV4AssetWildFungibility;
1010
+ } & Struct;
1011
+ readonly isAllCounted: boolean;
1012
+ readonly asAllCounted: Compact<u32>;
1013
+ readonly isAllOfCounted: boolean;
1014
+ readonly asAllOfCounted: {
1015
+ readonly id: StagingXcmV4AssetAssetId;
1016
+ readonly fun: StagingXcmV4AssetWildFungibility;
1017
+ readonly count: Compact<u32>;
1018
+ } & Struct;
1019
+ readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted";
1020
+ }
1021
+ /** @name StagingXcmV4AssetWildFungibility (91) */
1022
+ interface StagingXcmV4AssetWildFungibility extends Enum {
1023
+ readonly isFungible: boolean;
1024
+ readonly isNonFungible: boolean;
1025
+ readonly type: "Fungible" | "NonFungible";
1026
+ }
1027
+ /** @name XcmV3WeightLimit (92) */
1028
+ interface XcmV3WeightLimit extends Enum {
1029
+ readonly isUnlimited: boolean;
1030
+ readonly isLimited: boolean;
1031
+ readonly asLimited: SpWeightsWeightV2Weight;
1032
+ readonly type: "Unlimited" | "Limited";
1033
+ }
1034
+ /** @name XcmVersionedAssets (93) */
1035
+ interface XcmVersionedAssets extends Enum {
1036
+ readonly isV2: boolean;
1037
+ readonly asV2: XcmV2MultiassetMultiAssets;
1038
+ readonly isV3: boolean;
1039
+ readonly asV3: XcmV3MultiassetMultiAssets;
1040
+ readonly isV4: boolean;
1041
+ readonly asV4: StagingXcmV4AssetAssets;
1042
+ readonly type: "V2" | "V3" | "V4";
1043
+ }
1044
+ /** @name XcmV2MultiassetMultiAssets (94) */
1045
+ interface XcmV2MultiassetMultiAssets extends Vec<XcmV2MultiAsset> {
1046
+ }
1047
+ /** @name XcmV2MultiAsset (96) */
1048
+ interface XcmV2MultiAsset extends Struct {
1049
+ readonly id: XcmV2MultiassetAssetId;
1050
+ readonly fun: XcmV2MultiassetFungibility;
1051
+ }
1052
+ /** @name XcmV2MultiassetAssetId (97) */
1053
+ interface XcmV2MultiassetAssetId extends Enum {
1054
+ readonly isConcrete: boolean;
1055
+ readonly asConcrete: XcmV2MultiLocation;
1056
+ readonly isAbstract: boolean;
1057
+ readonly asAbstract: Bytes;
1058
+ readonly type: "Concrete" | "Abstract";
1059
+ }
1060
+ /** @name XcmV2MultiLocation (98) */
1061
+ interface XcmV2MultiLocation extends Struct {
1062
+ readonly parents: u8;
1063
+ readonly interior: XcmV2MultilocationJunctions;
1064
+ }
1065
+ /** @name XcmV2MultilocationJunctions (99) */
1066
+ interface XcmV2MultilocationJunctions extends Enum {
1067
+ readonly isHere: boolean;
1068
+ readonly isX1: boolean;
1069
+ readonly asX1: XcmV2Junction;
1070
+ readonly isX2: boolean;
1071
+ readonly asX2: ITuple<[XcmV2Junction, XcmV2Junction]>;
1072
+ readonly isX3: boolean;
1073
+ readonly asX3: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
1074
+ readonly isX4: boolean;
1075
+ readonly asX4: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>;
1076
+ readonly isX5: boolean;
1077
+ readonly asX5: ITuple<[
1078
+ XcmV2Junction,
1079
+ XcmV2Junction,
1080
+ XcmV2Junction,
1081
+ XcmV2Junction,
1082
+ XcmV2Junction
1083
+ ]>;
1084
+ readonly isX6: boolean;
1085
+ readonly asX6: ITuple<[
1086
+ XcmV2Junction,
1087
+ XcmV2Junction,
1088
+ XcmV2Junction,
1089
+ XcmV2Junction,
1090
+ XcmV2Junction,
1091
+ XcmV2Junction
1092
+ ]>;
1093
+ readonly isX7: boolean;
1094
+ readonly asX7: ITuple<[
1095
+ XcmV2Junction,
1096
+ XcmV2Junction,
1097
+ XcmV2Junction,
1098
+ XcmV2Junction,
1099
+ XcmV2Junction,
1100
+ XcmV2Junction,
1101
+ XcmV2Junction
1102
+ ]>;
1103
+ readonly isX8: boolean;
1104
+ readonly asX8: ITuple<[
1105
+ XcmV2Junction,
1106
+ XcmV2Junction,
1107
+ XcmV2Junction,
1108
+ XcmV2Junction,
1109
+ XcmV2Junction,
1110
+ XcmV2Junction,
1111
+ XcmV2Junction,
1112
+ XcmV2Junction
1113
+ ]>;
1114
+ readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8";
1115
+ }
1116
+ /** @name XcmV2Junction (100) */
1117
+ interface XcmV2Junction extends Enum {
1118
+ readonly isParachain: boolean;
1119
+ readonly asParachain: Compact<u32>;
1120
+ readonly isAccountId32: boolean;
1121
+ readonly asAccountId32: {
1122
+ readonly network: XcmV2NetworkId;
1123
+ readonly id: U8aFixed;
1124
+ } & Struct;
1125
+ readonly isAccountIndex64: boolean;
1126
+ readonly asAccountIndex64: {
1127
+ readonly network: XcmV2NetworkId;
1128
+ readonly index: Compact<u64>;
1129
+ } & Struct;
1130
+ readonly isAccountKey20: boolean;
1131
+ readonly asAccountKey20: {
1132
+ readonly network: XcmV2NetworkId;
1133
+ readonly key: U8aFixed;
1134
+ } & Struct;
1135
+ readonly isPalletInstance: boolean;
1136
+ readonly asPalletInstance: u8;
1137
+ readonly isGeneralIndex: boolean;
1138
+ readonly asGeneralIndex: Compact<u128>;
1139
+ readonly isGeneralKey: boolean;
1140
+ readonly asGeneralKey: Bytes;
1141
+ readonly isOnlyChild: boolean;
1142
+ readonly isPlurality: boolean;
1143
+ readonly asPlurality: {
1144
+ readonly id: XcmV2BodyId;
1145
+ readonly part: XcmV2BodyPart;
1146
+ } & Struct;
1147
+ readonly type: "Parachain" | "AccountId32" | "AccountIndex64" | "AccountKey20" | "PalletInstance" | "GeneralIndex" | "GeneralKey" | "OnlyChild" | "Plurality";
1148
+ }
1149
+ /** @name XcmV2NetworkId (101) */
1150
+ interface XcmV2NetworkId extends Enum {
1151
+ readonly isAny: boolean;
1152
+ readonly isNamed: boolean;
1153
+ readonly asNamed: Bytes;
1154
+ readonly isPolkadot: boolean;
1155
+ readonly isKusama: boolean;
1156
+ readonly type: "Any" | "Named" | "Polkadot" | "Kusama";
1157
+ }
1158
+ /** @name XcmV2BodyId (103) */
1159
+ interface XcmV2BodyId extends Enum {
1160
+ readonly isUnit: boolean;
1161
+ readonly isNamed: boolean;
1162
+ readonly asNamed: Bytes;
1163
+ readonly isIndex: boolean;
1164
+ readonly asIndex: Compact<u32>;
1165
+ readonly isExecutive: boolean;
1166
+ readonly isTechnical: boolean;
1167
+ readonly isLegislative: boolean;
1168
+ readonly isJudicial: boolean;
1169
+ readonly isDefense: boolean;
1170
+ readonly isAdministration: boolean;
1171
+ readonly isTreasury: boolean;
1172
+ readonly type: "Unit" | "Named" | "Index" | "Executive" | "Technical" | "Legislative" | "Judicial" | "Defense" | "Administration" | "Treasury";
1173
+ }
1174
+ /** @name XcmV2BodyPart (104) */
1175
+ interface XcmV2BodyPart extends Enum {
1176
+ readonly isVoice: boolean;
1177
+ readonly isMembers: boolean;
1178
+ readonly asMembers: {
1179
+ readonly count: Compact<u32>;
1180
+ } & Struct;
1181
+ readonly isFraction: boolean;
1182
+ readonly asFraction: {
1183
+ readonly nom: Compact<u32>;
1184
+ readonly denom: Compact<u32>;
1185
+ } & Struct;
1186
+ readonly isAtLeastProportion: boolean;
1187
+ readonly asAtLeastProportion: {
1188
+ readonly nom: Compact<u32>;
1189
+ readonly denom: Compact<u32>;
1190
+ } & Struct;
1191
+ readonly isMoreThanProportion: boolean;
1192
+ readonly asMoreThanProportion: {
1193
+ readonly nom: Compact<u32>;
1194
+ readonly denom: Compact<u32>;
1195
+ } & Struct;
1196
+ readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion";
1197
+ }
1198
+ /** @name XcmV2MultiassetFungibility (105) */
1199
+ interface XcmV2MultiassetFungibility extends Enum {
1200
+ readonly isFungible: boolean;
1201
+ readonly asFungible: Compact<u128>;
1202
+ readonly isNonFungible: boolean;
1203
+ readonly asNonFungible: XcmV2MultiassetAssetInstance;
1204
+ readonly type: "Fungible" | "NonFungible";
1205
+ }
1206
+ /** @name XcmV2MultiassetAssetInstance (106) */
1207
+ interface XcmV2MultiassetAssetInstance extends Enum {
1208
+ readonly isUndefined: boolean;
1209
+ readonly isIndex: boolean;
1210
+ readonly asIndex: Compact<u128>;
1211
+ readonly isArray4: boolean;
1212
+ readonly asArray4: U8aFixed;
1213
+ readonly isArray8: boolean;
1214
+ readonly asArray8: U8aFixed;
1215
+ readonly isArray16: boolean;
1216
+ readonly asArray16: U8aFixed;
1217
+ readonly isArray32: boolean;
1218
+ readonly asArray32: U8aFixed;
1219
+ readonly isBlob: boolean;
1220
+ readonly asBlob: Bytes;
1221
+ readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32" | "Blob";
1222
+ }
1223
+ /** @name XcmV3MultiassetMultiAssets (107) */
1224
+ interface XcmV3MultiassetMultiAssets extends Vec<XcmV3MultiAsset> {
1225
+ }
1226
+ /** @name XcmV3MultiAsset (109) */
1227
+ interface XcmV3MultiAsset extends Struct {
1228
+ readonly id: XcmV3MultiassetAssetId;
1229
+ readonly fun: XcmV3MultiassetFungibility;
1230
+ }
1231
+ /** @name XcmV3MultiassetAssetId (110) */
1232
+ interface XcmV3MultiassetAssetId extends Enum {
1233
+ readonly isConcrete: boolean;
1234
+ readonly asConcrete: StagingXcmV3MultiLocation;
1235
+ readonly isAbstract: boolean;
1236
+ readonly asAbstract: U8aFixed;
1237
+ readonly type: "Concrete" | "Abstract";
1238
+ }
1239
+ /** @name StagingXcmV3MultiLocation (111) */
1240
+ interface StagingXcmV3MultiLocation extends Struct {
1241
+ readonly parents: u8;
1242
+ readonly interior: XcmV3Junctions;
1243
+ }
1244
+ /** @name XcmV3Junctions (112) */
1245
+ interface XcmV3Junctions extends Enum {
1246
+ readonly isHere: boolean;
1247
+ readonly isX1: boolean;
1248
+ readonly asX1: XcmV3Junction;
1249
+ readonly isX2: boolean;
1250
+ readonly asX2: ITuple<[XcmV3Junction, XcmV3Junction]>;
1251
+ readonly isX3: boolean;
1252
+ readonly asX3: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
1253
+ readonly isX4: boolean;
1254
+ readonly asX4: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>;
1255
+ readonly isX5: boolean;
1256
+ readonly asX5: ITuple<[
1257
+ XcmV3Junction,
1258
+ XcmV3Junction,
1259
+ XcmV3Junction,
1260
+ XcmV3Junction,
1261
+ XcmV3Junction
1262
+ ]>;
1263
+ readonly isX6: boolean;
1264
+ readonly asX6: ITuple<[
1265
+ XcmV3Junction,
1266
+ XcmV3Junction,
1267
+ XcmV3Junction,
1268
+ XcmV3Junction,
1269
+ XcmV3Junction,
1270
+ XcmV3Junction
1271
+ ]>;
1272
+ readonly isX7: boolean;
1273
+ readonly asX7: ITuple<[
1274
+ XcmV3Junction,
1275
+ XcmV3Junction,
1276
+ XcmV3Junction,
1277
+ XcmV3Junction,
1278
+ XcmV3Junction,
1279
+ XcmV3Junction,
1280
+ XcmV3Junction
1281
+ ]>;
1282
+ readonly isX8: boolean;
1283
+ readonly asX8: ITuple<[
1284
+ XcmV3Junction,
1285
+ XcmV3Junction,
1286
+ XcmV3Junction,
1287
+ XcmV3Junction,
1288
+ XcmV3Junction,
1289
+ XcmV3Junction,
1290
+ XcmV3Junction,
1291
+ XcmV3Junction
1292
+ ]>;
1293
+ readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8";
1294
+ }
1295
+ /** @name XcmV3Junction (113) */
1296
+ interface XcmV3Junction extends Enum {
1297
+ readonly isParachain: boolean;
1298
+ readonly asParachain: Compact<u32>;
1299
+ readonly isAccountId32: boolean;
1300
+ readonly asAccountId32: {
1301
+ readonly network: Option<XcmV3JunctionNetworkId>;
1302
+ readonly id: U8aFixed;
1303
+ } & Struct;
1304
+ readonly isAccountIndex64: boolean;
1305
+ readonly asAccountIndex64: {
1306
+ readonly network: Option<XcmV3JunctionNetworkId>;
1307
+ readonly index: Compact<u64>;
1308
+ } & Struct;
1309
+ readonly isAccountKey20: boolean;
1310
+ readonly asAccountKey20: {
1311
+ readonly network: Option<XcmV3JunctionNetworkId>;
1312
+ readonly key: U8aFixed;
1313
+ } & Struct;
1314
+ readonly isPalletInstance: boolean;
1315
+ readonly asPalletInstance: u8;
1316
+ readonly isGeneralIndex: boolean;
1317
+ readonly asGeneralIndex: Compact<u128>;
1318
+ readonly isGeneralKey: boolean;
1319
+ readonly asGeneralKey: {
1320
+ readonly length: u8;
1321
+ readonly data: U8aFixed;
1322
+ } & Struct;
1323
+ readonly isOnlyChild: boolean;
1324
+ readonly isPlurality: boolean;
1325
+ readonly asPlurality: {
1326
+ readonly id: XcmV3JunctionBodyId;
1327
+ readonly part: XcmV3JunctionBodyPart;
1328
+ } & Struct;
1329
+ readonly isGlobalConsensus: boolean;
1330
+ readonly asGlobalConsensus: XcmV3JunctionNetworkId;
1331
+ readonly type: "Parachain" | "AccountId32" | "AccountIndex64" | "AccountKey20" | "PalletInstance" | "GeneralIndex" | "GeneralKey" | "OnlyChild" | "Plurality" | "GlobalConsensus";
1332
+ }
1333
+ /** @name XcmV3JunctionNetworkId (115) */
1334
+ interface XcmV3JunctionNetworkId extends Enum {
1335
+ readonly isByGenesis: boolean;
1336
+ readonly asByGenesis: U8aFixed;
1337
+ readonly isByFork: boolean;
1338
+ readonly asByFork: {
1339
+ readonly blockNumber: u64;
1340
+ readonly blockHash: U8aFixed;
1341
+ } & Struct;
1342
+ readonly isPolkadot: boolean;
1343
+ readonly isKusama: boolean;
1344
+ readonly isWestend: boolean;
1345
+ readonly isRococo: boolean;
1346
+ readonly isWococo: boolean;
1347
+ readonly isEthereum: boolean;
1348
+ readonly asEthereum: {
1349
+ readonly chainId: Compact<u64>;
1350
+ } & Struct;
1351
+ readonly isBitcoinCore: boolean;
1352
+ readonly isBitcoinCash: boolean;
1353
+ readonly isPolkadotBulletin: boolean;
1354
+ readonly type: "ByGenesis" | "ByFork" | "Polkadot" | "Kusama" | "Westend" | "Rococo" | "Wococo" | "Ethereum" | "BitcoinCore" | "BitcoinCash" | "PolkadotBulletin";
1355
+ }
1356
+ /** @name XcmV3MultiassetFungibility (116) */
1357
+ interface XcmV3MultiassetFungibility extends Enum {
1358
+ readonly isFungible: boolean;
1359
+ readonly asFungible: Compact<u128>;
1360
+ readonly isNonFungible: boolean;
1361
+ readonly asNonFungible: XcmV3MultiassetAssetInstance;
1362
+ readonly type: "Fungible" | "NonFungible";
1363
+ }
1364
+ /** @name XcmV3MultiassetAssetInstance (117) */
1365
+ interface XcmV3MultiassetAssetInstance extends Enum {
1366
+ readonly isUndefined: boolean;
1367
+ readonly isIndex: boolean;
1368
+ readonly asIndex: Compact<u128>;
1369
+ readonly isArray4: boolean;
1370
+ readonly asArray4: U8aFixed;
1371
+ readonly isArray8: boolean;
1372
+ readonly asArray8: U8aFixed;
1373
+ readonly isArray16: boolean;
1374
+ readonly asArray16: U8aFixed;
1375
+ readonly isArray32: boolean;
1376
+ readonly asArray32: U8aFixed;
1377
+ readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32";
1378
+ }
1379
+ /** @name XcmVersionedLocation (118) */
1380
+ interface XcmVersionedLocation extends Enum {
1381
+ readonly isV2: boolean;
1382
+ readonly asV2: XcmV2MultiLocation;
1383
+ readonly isV3: boolean;
1384
+ readonly asV3: StagingXcmV3MultiLocation;
1385
+ readonly isV4: boolean;
1386
+ readonly asV4: StagingXcmV4Location;
1387
+ readonly type: "V2" | "V3" | "V4";
1388
+ }
1389
+ /** @name CumulusPalletXcmEvent (119) */
1390
+ interface CumulusPalletXcmEvent extends Enum {
1391
+ readonly isInvalidFormat: boolean;
1392
+ readonly asInvalidFormat: U8aFixed;
1393
+ readonly isUnsupportedVersion: boolean;
1394
+ readonly asUnsupportedVersion: U8aFixed;
1395
+ readonly isExecutedDownward: boolean;
1396
+ readonly asExecutedDownward: ITuple<[U8aFixed, StagingXcmV4TraitsOutcome]>;
1397
+ readonly type: "InvalidFormat" | "UnsupportedVersion" | "ExecutedDownward";
1398
+ }
1399
+ /** @name PalletMessageQueueEvent (120) */
1400
+ interface PalletMessageQueueEvent extends Enum {
1401
+ readonly isProcessingFailed: boolean;
1402
+ readonly asProcessingFailed: {
1403
+ readonly id: H256;
1404
+ readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin;
1405
+ readonly error: FrameSupportMessagesProcessMessageError;
1406
+ } & Struct;
1407
+ readonly isProcessed: boolean;
1408
+ readonly asProcessed: {
1409
+ readonly id: H256;
1410
+ readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin;
1411
+ readonly weightUsed: SpWeightsWeightV2Weight;
1412
+ readonly success: bool;
1413
+ } & Struct;
1414
+ readonly isOverweightEnqueued: boolean;
1415
+ readonly asOverweightEnqueued: {
1416
+ readonly id: U8aFixed;
1417
+ readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin;
1418
+ readonly pageIndex: u32;
1419
+ readonly messageIndex: u32;
1420
+ } & Struct;
1421
+ readonly isPageReaped: boolean;
1422
+ readonly asPageReaped: {
1423
+ readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin;
1424
+ readonly index: u32;
1425
+ } & Struct;
1426
+ readonly type: "ProcessingFailed" | "Processed" | "OverweightEnqueued" | "PageReaped";
1427
+ }
1428
+ /** @name CumulusPrimitivesCoreAggregateMessageOrigin (121) */
1429
+ interface CumulusPrimitivesCoreAggregateMessageOrigin extends Enum {
1430
+ readonly isHere: boolean;
1431
+ readonly isParent: boolean;
1432
+ readonly isSibling: boolean;
1433
+ readonly asSibling: u32;
1434
+ readonly type: "Here" | "Parent" | "Sibling";
1435
+ }
1436
+ /** @name FrameSupportMessagesProcessMessageError (123) */
1437
+ interface FrameSupportMessagesProcessMessageError extends Enum {
1438
+ readonly isBadFormat: boolean;
1439
+ readonly isCorrupt: boolean;
1440
+ readonly isUnsupported: boolean;
1441
+ readonly isOverweight: boolean;
1442
+ readonly asOverweight: SpWeightsWeightV2Weight;
1443
+ readonly isYield: boolean;
1444
+ readonly isStackLimitReached: boolean;
1445
+ readonly type: "BadFormat" | "Corrupt" | "Unsupported" | "Overweight" | "Yield" | "StackLimitReached";
1446
+ }
1447
+ /** @name PalletStorageProvidersEvent (124) */
1448
+ interface PalletStorageProvidersEvent extends Enum {
1449
+ readonly isMspRequestSignUpSuccess: boolean;
1450
+ readonly asMspRequestSignUpSuccess: {
1451
+ readonly who: AccountId32;
1452
+ readonly multiaddresses: Vec<Bytes>;
1453
+ readonly capacity: u64;
1454
+ readonly valueProp: PalletStorageProvidersValueProposition;
1455
+ } & Struct;
1456
+ readonly isMspSignUpSuccess: boolean;
1457
+ readonly asMspSignUpSuccess: {
1458
+ readonly who: AccountId32;
1459
+ readonly mspId: H256;
1460
+ readonly multiaddresses: Vec<Bytes>;
1461
+ readonly capacity: u64;
1462
+ readonly valueProp: PalletStorageProvidersValueProposition;
1463
+ } & Struct;
1464
+ readonly isBspRequestSignUpSuccess: boolean;
1465
+ readonly asBspRequestSignUpSuccess: {
1466
+ readonly who: AccountId32;
1467
+ readonly multiaddresses: Vec<Bytes>;
1468
+ readonly capacity: u64;
1469
+ } & Struct;
1470
+ readonly isBspSignUpSuccess: boolean;
1471
+ readonly asBspSignUpSuccess: {
1472
+ readonly who: AccountId32;
1473
+ readonly bspId: H256;
1474
+ readonly multiaddresses: Vec<Bytes>;
1475
+ readonly capacity: u64;
1476
+ } & Struct;
1477
+ readonly isSignUpRequestCanceled: boolean;
1478
+ readonly asSignUpRequestCanceled: {
1479
+ readonly who: AccountId32;
1480
+ } & Struct;
1481
+ readonly isMspSignOffSuccess: boolean;
1482
+ readonly asMspSignOffSuccess: {
1483
+ readonly who: AccountId32;
1484
+ readonly mspId: H256;
1485
+ } & Struct;
1486
+ readonly isBspSignOffSuccess: boolean;
1487
+ readonly asBspSignOffSuccess: {
1488
+ readonly who: AccountId32;
1489
+ readonly bspId: H256;
1490
+ } & Struct;
1491
+ readonly isCapacityChanged: boolean;
1492
+ readonly asCapacityChanged: {
1493
+ readonly who: AccountId32;
1494
+ readonly providerId: PalletStorageProvidersStorageProviderId;
1495
+ readonly oldCapacity: u64;
1496
+ readonly newCapacity: u64;
1497
+ readonly nextBlockWhenChangeAllowed: u32;
1498
+ } & Struct;
1499
+ readonly isSlashed: boolean;
1500
+ readonly asSlashed: {
1501
+ readonly providerId: H256;
1502
+ readonly amountSlashed: u128;
1503
+ } & Struct;
1504
+ readonly type: "MspRequestSignUpSuccess" | "MspSignUpSuccess" | "BspRequestSignUpSuccess" | "BspSignUpSuccess" | "SignUpRequestCanceled" | "MspSignOffSuccess" | "BspSignOffSuccess" | "CapacityChanged" | "Slashed";
1505
+ }
1506
+ /** @name PalletStorageProvidersValueProposition (128) */
1507
+ interface PalletStorageProvidersValueProposition extends Struct {
1508
+ readonly identifier: H256;
1509
+ readonly dataLimit: u64;
1510
+ readonly protocols: Vec<Bytes>;
1511
+ }
1512
+ /** @name PalletStorageProvidersStorageProviderId (130) */
1513
+ interface PalletStorageProvidersStorageProviderId extends Enum {
1514
+ readonly isBackupStorageProvider: boolean;
1515
+ readonly asBackupStorageProvider: H256;
1516
+ readonly isMainStorageProvider: boolean;
1517
+ readonly asMainStorageProvider: H256;
1518
+ readonly type: "BackupStorageProvider" | "MainStorageProvider";
1519
+ }
1520
+ /** @name PalletFileSystemEvent (131) */
1521
+ interface PalletFileSystemEvent extends Enum {
1522
+ readonly isNewBucket: boolean;
1523
+ readonly asNewBucket: {
1524
+ readonly who: AccountId32;
1525
+ readonly mspId: H256;
1526
+ readonly bucketId: H256;
1527
+ readonly name: Bytes;
1528
+ readonly collectionId: Option<u32>;
1529
+ readonly private: bool;
1530
+ } & Struct;
1531
+ readonly isMoveBucketRequested: boolean;
1532
+ readonly asMoveBucketRequested: {
1533
+ readonly who: AccountId32;
1534
+ readonly bucketId: H256;
1535
+ readonly newMspId: H256;
1536
+ } & Struct;
1537
+ readonly isBucketPrivacyUpdated: boolean;
1538
+ readonly asBucketPrivacyUpdated: {
1539
+ readonly who: AccountId32;
1540
+ readonly bucketId: H256;
1541
+ readonly collectionId: Option<u32>;
1542
+ readonly private: bool;
1543
+ } & Struct;
1544
+ readonly isNewCollectionAndAssociation: boolean;
1545
+ readonly asNewCollectionAndAssociation: {
1546
+ readonly who: AccountId32;
1547
+ readonly bucketId: H256;
1548
+ readonly collectionId: u32;
1549
+ } & Struct;
1550
+ readonly isNewStorageRequest: boolean;
1551
+ readonly asNewStorageRequest: {
1552
+ readonly who: AccountId32;
1553
+ readonly fileKey: H256;
1554
+ readonly bucketId: H256;
1555
+ readonly location: Bytes;
1556
+ readonly fingerprint: H256;
1557
+ readonly size_: u64;
1558
+ readonly peerIds: Vec<Bytes>;
1559
+ } & Struct;
1560
+ readonly isMspRespondedToStorageRequests: boolean;
1561
+ readonly asMspRespondedToStorageRequests: {
1562
+ readonly results: PalletFileSystemMspRespondStorageRequestsResult;
1563
+ } & Struct;
1564
+ readonly isAcceptedBspVolunteer: boolean;
1565
+ readonly asAcceptedBspVolunteer: {
1566
+ readonly bspId: H256;
1567
+ readonly bucketId: H256;
1568
+ readonly location: Bytes;
1569
+ readonly fingerprint: H256;
1570
+ readonly multiaddresses: Vec<Bytes>;
1571
+ readonly owner: AccountId32;
1572
+ readonly size_: u64;
1573
+ } & Struct;
1574
+ readonly isBspConfirmedStoring: boolean;
1575
+ readonly asBspConfirmedStoring: {
1576
+ readonly who: AccountId32;
1577
+ readonly bspId: H256;
1578
+ readonly fileKeys: Vec<H256>;
1579
+ readonly newRoot: H256;
1580
+ } & Struct;
1581
+ readonly isStorageRequestFulfilled: boolean;
1582
+ readonly asStorageRequestFulfilled: {
1583
+ readonly fileKey: H256;
1584
+ } & Struct;
1585
+ readonly isStorageRequestExpired: boolean;
1586
+ readonly asStorageRequestExpired: {
1587
+ readonly fileKey: H256;
1588
+ } & Struct;
1589
+ readonly isStorageRequestRevoked: boolean;
1590
+ readonly asStorageRequestRevoked: {
1591
+ readonly fileKey: H256;
1592
+ } & Struct;
1593
+ readonly isBspRequestedToStopStoring: boolean;
1594
+ readonly asBspRequestedToStopStoring: {
1595
+ readonly bspId: H256;
1596
+ readonly fileKey: H256;
1597
+ readonly owner: AccountId32;
1598
+ readonly location: Bytes;
1599
+ } & Struct;
1600
+ readonly isBspConfirmStoppedStoring: boolean;
1601
+ readonly asBspConfirmStoppedStoring: {
1602
+ readonly bspId: H256;
1603
+ readonly fileKey: H256;
1604
+ readonly newRoot: H256;
1605
+ } & Struct;
1606
+ readonly isPriorityChallengeForFileDeletionQueued: boolean;
1607
+ readonly asPriorityChallengeForFileDeletionQueued: {
1608
+ readonly issuer: PalletFileSystemEitherAccountIdOrMspId;
1609
+ readonly fileKey: H256;
1610
+ } & Struct;
1611
+ readonly isSpStopStoringInsolventUser: boolean;
1612
+ readonly asSpStopStoringInsolventUser: {
1613
+ readonly spId: H256;
1614
+ readonly fileKey: H256;
1615
+ readonly owner: AccountId32;
1616
+ readonly location: Bytes;
1617
+ readonly newRoot: H256;
1618
+ } & Struct;
1619
+ readonly isFailedToQueuePriorityChallenge: boolean;
1620
+ readonly asFailedToQueuePriorityChallenge: {
1621
+ readonly user: AccountId32;
1622
+ readonly fileKey: H256;
1623
+ } & Struct;
1624
+ readonly isFileDeletionRequest: boolean;
1625
+ readonly asFileDeletionRequest: {
1626
+ readonly user: AccountId32;
1627
+ readonly fileKey: H256;
1628
+ readonly bucketId: H256;
1629
+ readonly mspId: H256;
1630
+ readonly proofOfInclusion: bool;
1631
+ } & Struct;
1632
+ readonly isProofSubmittedForPendingFileDeletionRequest: boolean;
1633
+ readonly asProofSubmittedForPendingFileDeletionRequest: {
1634
+ readonly mspId: H256;
1635
+ readonly user: AccountId32;
1636
+ readonly fileKey: H256;
1637
+ readonly bucketId: H256;
1638
+ readonly proofOfInclusion: bool;
1639
+ } & Struct;
1640
+ readonly isBspChallengeCycleInitialised: boolean;
1641
+ readonly asBspChallengeCycleInitialised: {
1642
+ readonly who: AccountId32;
1643
+ readonly bspId: H256;
1644
+ } & Struct;
1645
+ readonly isMoveBucketRequestExpired: boolean;
1646
+ readonly asMoveBucketRequestExpired: {
1647
+ readonly mspId: H256;
1648
+ readonly bucketId: H256;
1649
+ } & Struct;
1650
+ readonly isMoveBucketAccepted: boolean;
1651
+ readonly asMoveBucketAccepted: {
1652
+ readonly bucketId: H256;
1653
+ readonly mspId: H256;
1654
+ } & Struct;
1655
+ readonly isMoveBucketRejected: boolean;
1656
+ readonly asMoveBucketRejected: {
1657
+ readonly bucketId: H256;
1658
+ readonly mspId: H256;
1659
+ } & Struct;
1660
+ readonly isDataServerRegisteredForMoveBucket: boolean;
1661
+ readonly asDataServerRegisteredForMoveBucket: {
1662
+ readonly bspId: H256;
1663
+ readonly bucketId: H256;
1664
+ } & Struct;
1665
+ readonly type: "NewBucket" | "MoveBucketRequested" | "BucketPrivacyUpdated" | "NewCollectionAndAssociation" | "NewStorageRequest" | "MspRespondedToStorageRequests" | "AcceptedBspVolunteer" | "BspConfirmedStoring" | "StorageRequestFulfilled" | "StorageRequestExpired" | "StorageRequestRevoked" | "BspRequestedToStopStoring" | "BspConfirmStoppedStoring" | "PriorityChallengeForFileDeletionQueued" | "SpStopStoringInsolventUser" | "FailedToQueuePriorityChallenge" | "FileDeletionRequest" | "ProofSubmittedForPendingFileDeletionRequest" | "BspChallengeCycleInitialised" | "MoveBucketRequestExpired" | "MoveBucketAccepted" | "MoveBucketRejected" | "DataServerRegisteredForMoveBucket";
1666
+ }
1667
+ /** @name PalletFileSystemMspRespondStorageRequestsResult (134) */
1668
+ interface PalletFileSystemMspRespondStorageRequestsResult extends Struct {
1669
+ readonly mspId: H256;
1670
+ readonly responses: Vec<PalletFileSystemBatchResponses>;
1671
+ }
1672
+ /** @name PalletFileSystemBatchResponses (136) */
1673
+ interface PalletFileSystemBatchResponses extends Enum {
1674
+ readonly isAccepted: boolean;
1675
+ readonly asAccepted: PalletFileSystemMspAcceptedBatchStorageRequests;
1676
+ readonly isRejected: boolean;
1677
+ readonly asRejected: PalletFileSystemMspRejectedBatchStorageRequests;
1678
+ readonly isFailed: boolean;
1679
+ readonly asFailed: PalletFileSystemMspFailedBatchStorageRequests;
1680
+ readonly type: "Accepted" | "Rejected" | "Failed";
1681
+ }
1682
+ /** @name PalletFileSystemMspAcceptedBatchStorageRequests (137) */
1683
+ interface PalletFileSystemMspAcceptedBatchStorageRequests extends Struct {
1684
+ readonly fileKeys: Vec<H256>;
1685
+ readonly bucketId: H256;
1686
+ readonly newBucketRoot: H256;
1687
+ readonly owner: AccountId32;
1688
+ }
1689
+ /** @name PalletFileSystemMspRejectedBatchStorageRequests (140) */
1690
+ interface PalletFileSystemMspRejectedBatchStorageRequests extends Struct {
1691
+ readonly fileKeys: Vec<ITuple<[H256, PalletFileSystemRejectedStorageRequestReason]>>;
1692
+ readonly bucketId: H256;
1693
+ readonly owner: AccountId32;
1694
+ }
1695
+ /** @name PalletFileSystemRejectedStorageRequestReason (143) */
1696
+ interface PalletFileSystemRejectedStorageRequestReason extends Enum {
1697
+ readonly isReachedMaximumCapacity: boolean;
1698
+ readonly isReceivedInvalidProof: boolean;
1699
+ readonly isFileKeyAlreadyStored: boolean;
1700
+ readonly isInternalError: boolean;
1701
+ readonly type: "ReachedMaximumCapacity" | "ReceivedInvalidProof" | "FileKeyAlreadyStored" | "InternalError";
1702
+ }
1703
+ /** @name PalletFileSystemMspFailedBatchStorageRequests (145) */
1704
+ interface PalletFileSystemMspFailedBatchStorageRequests extends Struct {
1705
+ readonly fileKeys: Vec<ITuple<[H256, SpRuntimeDispatchError]>>;
1706
+ readonly bucketId: H256;
1707
+ readonly owner: AccountId32;
1708
+ }
1709
+ /** @name PalletFileSystemEitherAccountIdOrMspId (150) */
1710
+ interface PalletFileSystemEitherAccountIdOrMspId extends Enum {
1711
+ readonly isAccountId: boolean;
1712
+ readonly asAccountId: AccountId32;
1713
+ readonly isMspId: boolean;
1714
+ readonly asMspId: H256;
1715
+ readonly type: "AccountId" | "MspId";
1716
+ }
1717
+ /** @name PalletProofsDealerEvent (151) */
1718
+ interface PalletProofsDealerEvent extends Enum {
1719
+ readonly isNewChallenge: boolean;
1720
+ readonly asNewChallenge: {
1721
+ readonly who: AccountId32;
1722
+ readonly keyChallenged: H256;
1723
+ } & Struct;
1724
+ readonly isProofAccepted: boolean;
1725
+ readonly asProofAccepted: {
1726
+ readonly provider: H256;
1727
+ readonly proof: PalletProofsDealerProof;
1728
+ } & Struct;
1729
+ readonly isNewChallengeSeed: boolean;
1730
+ readonly asNewChallengeSeed: {
1731
+ readonly challengesTicker: u32;
1732
+ readonly seed: H256;
1733
+ } & Struct;
1734
+ readonly isNewCheckpointChallenge: boolean;
1735
+ readonly asNewCheckpointChallenge: {
1736
+ readonly challengesTicker: u32;
1737
+ readonly challenges: Vec<ITuple<[H256, Option<ShpTraitsTrieRemoveMutation>]>>;
1738
+ } & Struct;
1739
+ readonly isSlashableProvider: boolean;
1740
+ readonly asSlashableProvider: {
1741
+ readonly provider: H256;
1742
+ readonly nextChallengeDeadline: u32;
1743
+ } & Struct;
1744
+ readonly isNoRecordOfLastSubmittedProof: boolean;
1745
+ readonly asNoRecordOfLastSubmittedProof: {
1746
+ readonly provider: H256;
1747
+ } & Struct;
1748
+ readonly isNewChallengeCycleInitialised: boolean;
1749
+ readonly asNewChallengeCycleInitialised: {
1750
+ readonly currentTick: u32;
1751
+ readonly nextChallengeDeadline: u32;
1752
+ readonly provider: H256;
1753
+ readonly maybeProviderAccount: Option<AccountId32>;
1754
+ } & Struct;
1755
+ readonly isMutationsApplied: boolean;
1756
+ readonly asMutationsApplied: {
1757
+ readonly provider: H256;
1758
+ readonly mutations: Vec<ITuple<[H256, ShpTraitsTrieRemoveMutation]>>;
1759
+ readonly newRoot: H256;
1760
+ } & Struct;
1761
+ readonly isChallengesTickerSet: boolean;
1762
+ readonly asChallengesTickerSet: {
1763
+ readonly paused: bool;
1764
+ } & Struct;
1765
+ readonly type: "NewChallenge" | "ProofAccepted" | "NewChallengeSeed" | "NewCheckpointChallenge" | "SlashableProvider" | "NoRecordOfLastSubmittedProof" | "NewChallengeCycleInitialised" | "MutationsApplied" | "ChallengesTickerSet";
1766
+ }
1767
+ /** @name PalletProofsDealerProof (152) */
1768
+ interface PalletProofsDealerProof extends Struct {
1769
+ readonly forestProof: SpTrieStorageProofCompactProof;
1770
+ readonly keyProofs: BTreeMap<H256, PalletProofsDealerKeyProof>;
1771
+ }
1772
+ /** @name SpTrieStorageProofCompactProof (153) */
1773
+ interface SpTrieStorageProofCompactProof extends Struct {
1774
+ readonly encodedNodes: Vec<Bytes>;
1775
+ }
1776
+ /** @name PalletProofsDealerKeyProof (156) */
1777
+ interface PalletProofsDealerKeyProof extends Struct {
1778
+ readonly proof: ShpFileKeyVerifierFileKeyProof;
1779
+ readonly challengeCount: u32;
1780
+ }
1781
+ /** @name ShpFileKeyVerifierFileKeyProof (157) */
1782
+ interface ShpFileKeyVerifierFileKeyProof extends Struct {
1783
+ readonly fileMetadata: ShpFileMetadataFileMetadata;
1784
+ readonly proof: SpTrieStorageProofCompactProof;
1785
+ }
1786
+ /** @name ShpFileMetadataFileMetadata (158) */
1787
+ interface ShpFileMetadataFileMetadata extends Struct {
1788
+ readonly owner: Bytes;
1789
+ readonly bucketId: Bytes;
1790
+ readonly location: Bytes;
1791
+ readonly fileSize: Compact<u64>;
1792
+ readonly fingerprint: ShpFileMetadataFingerprint;
1793
+ }
1794
+ /** @name ShpFileMetadataFingerprint (159) */
1795
+ interface ShpFileMetadataFingerprint extends U8aFixed {
1796
+ }
1797
+ /** @name ShpTraitsTrieRemoveMutation (165) */
1798
+ type ShpTraitsTrieRemoveMutation = Null;
1799
+ /** @name PalletRandomnessEvent (169) */
1800
+ interface PalletRandomnessEvent extends Enum {
1801
+ readonly isNewOneEpochAgoRandomnessAvailable: boolean;
1802
+ readonly asNewOneEpochAgoRandomnessAvailable: {
1803
+ readonly randomnessSeed: H256;
1804
+ readonly fromEpoch: u64;
1805
+ readonly validUntilBlock: u32;
1806
+ } & Struct;
1807
+ readonly type: "NewOneEpochAgoRandomnessAvailable";
1808
+ }
1809
+ /** @name PalletPaymentStreamsEvent (170) */
1810
+ interface PalletPaymentStreamsEvent extends Enum {
1811
+ readonly isFixedRatePaymentStreamCreated: boolean;
1812
+ readonly asFixedRatePaymentStreamCreated: {
1813
+ readonly userAccount: AccountId32;
1814
+ readonly providerId: H256;
1815
+ readonly rate: u128;
1816
+ } & Struct;
1817
+ readonly isFixedRatePaymentStreamUpdated: boolean;
1818
+ readonly asFixedRatePaymentStreamUpdated: {
1819
+ readonly userAccount: AccountId32;
1820
+ readonly providerId: H256;
1821
+ readonly newRate: u128;
1822
+ } & Struct;
1823
+ readonly isFixedRatePaymentStreamDeleted: boolean;
1824
+ readonly asFixedRatePaymentStreamDeleted: {
1825
+ readonly userAccount: AccountId32;
1826
+ readonly providerId: H256;
1827
+ } & Struct;
1828
+ readonly isDynamicRatePaymentStreamCreated: boolean;
1829
+ readonly asDynamicRatePaymentStreamCreated: {
1830
+ readonly userAccount: AccountId32;
1831
+ readonly providerId: H256;
1832
+ readonly amountProvided: u64;
1833
+ } & Struct;
1834
+ readonly isDynamicRatePaymentStreamUpdated: boolean;
1835
+ readonly asDynamicRatePaymentStreamUpdated: {
1836
+ readonly userAccount: AccountId32;
1837
+ readonly providerId: H256;
1838
+ readonly newAmountProvided: u64;
1839
+ } & Struct;
1840
+ readonly isDynamicRatePaymentStreamDeleted: boolean;
1841
+ readonly asDynamicRatePaymentStreamDeleted: {
1842
+ readonly userAccount: AccountId32;
1843
+ readonly providerId: H256;
1844
+ } & Struct;
1845
+ readonly isPaymentStreamCharged: boolean;
1846
+ readonly asPaymentStreamCharged: {
1847
+ readonly userAccount: AccountId32;
1848
+ readonly providerId: H256;
1849
+ readonly amount: u128;
1850
+ readonly lastTickCharged: u32;
1851
+ readonly chargedAtTick: u32;
1852
+ } & Struct;
1853
+ readonly isLastChargeableInfoUpdated: boolean;
1854
+ readonly asLastChargeableInfoUpdated: {
1855
+ readonly providerId: H256;
1856
+ readonly lastChargeableTick: u32;
1857
+ readonly lastChargeablePriceIndex: u128;
1858
+ } & Struct;
1859
+ readonly isUserWithoutFunds: boolean;
1860
+ readonly asUserWithoutFunds: {
1861
+ readonly who: AccountId32;
1862
+ } & Struct;
1863
+ readonly isUserPaidDebts: boolean;
1864
+ readonly asUserPaidDebts: {
1865
+ readonly who: AccountId32;
1866
+ } & Struct;
1867
+ readonly isUserSolvent: boolean;
1868
+ readonly asUserSolvent: {
1869
+ readonly who: AccountId32;
1870
+ } & Struct;
1871
+ readonly type: "FixedRatePaymentStreamCreated" | "FixedRatePaymentStreamUpdated" | "FixedRatePaymentStreamDeleted" | "DynamicRatePaymentStreamCreated" | "DynamicRatePaymentStreamUpdated" | "DynamicRatePaymentStreamDeleted" | "PaymentStreamCharged" | "LastChargeableInfoUpdated" | "UserWithoutFunds" | "UserPaidDebts" | "UserSolvent";
1872
+ }
1873
+ /** @name PalletBucketNftsEvent (171) */
1874
+ interface PalletBucketNftsEvent extends Enum {
1875
+ readonly isAccessShared: boolean;
1876
+ readonly asAccessShared: {
1877
+ readonly issuer: AccountId32;
1878
+ readonly recipient: AccountId32;
1879
+ } & Struct;
1880
+ readonly isItemReadAccessUpdated: boolean;
1881
+ readonly asItemReadAccessUpdated: {
1882
+ readonly admin: AccountId32;
1883
+ readonly bucket: H256;
1884
+ readonly itemId: u32;
1885
+ } & Struct;
1886
+ readonly isItemBurned: boolean;
1887
+ readonly asItemBurned: {
1888
+ readonly account: AccountId32;
1889
+ readonly bucket: H256;
1890
+ readonly itemId: u32;
1891
+ } & Struct;
1892
+ readonly type: "AccessShared" | "ItemReadAccessUpdated" | "ItemBurned";
1893
+ }
1894
+ /** @name PalletNftsEvent (172) */
1895
+ interface PalletNftsEvent extends Enum {
1896
+ readonly isCreated: boolean;
1897
+ readonly asCreated: {
1898
+ readonly collection: u32;
1899
+ readonly creator: AccountId32;
1900
+ readonly owner: AccountId32;
1901
+ } & Struct;
1902
+ readonly isForceCreated: boolean;
1903
+ readonly asForceCreated: {
1904
+ readonly collection: u32;
1905
+ readonly owner: AccountId32;
1906
+ } & Struct;
1907
+ readonly isDestroyed: boolean;
1908
+ readonly asDestroyed: {
1909
+ readonly collection: u32;
1910
+ } & Struct;
1911
+ readonly isIssued: boolean;
1912
+ readonly asIssued: {
1913
+ readonly collection: u32;
1914
+ readonly item: u32;
1915
+ readonly owner: AccountId32;
1916
+ } & Struct;
1917
+ readonly isTransferred: boolean;
1918
+ readonly asTransferred: {
1919
+ readonly collection: u32;
1920
+ readonly item: u32;
1921
+ readonly from: AccountId32;
1922
+ readonly to: AccountId32;
1923
+ } & Struct;
1924
+ readonly isBurned: boolean;
1925
+ readonly asBurned: {
1926
+ readonly collection: u32;
1927
+ readonly item: u32;
1928
+ readonly owner: AccountId32;
1929
+ } & Struct;
1930
+ readonly isItemTransferLocked: boolean;
1931
+ readonly asItemTransferLocked: {
1932
+ readonly collection: u32;
1933
+ readonly item: u32;
1934
+ } & Struct;
1935
+ readonly isItemTransferUnlocked: boolean;
1936
+ readonly asItemTransferUnlocked: {
1937
+ readonly collection: u32;
1938
+ readonly item: u32;
1939
+ } & Struct;
1940
+ readonly isItemPropertiesLocked: boolean;
1941
+ readonly asItemPropertiesLocked: {
1942
+ readonly collection: u32;
1943
+ readonly item: u32;
1944
+ readonly lockMetadata: bool;
1945
+ readonly lockAttributes: bool;
1946
+ } & Struct;
1947
+ readonly isCollectionLocked: boolean;
1948
+ readonly asCollectionLocked: {
1949
+ readonly collection: u32;
1950
+ } & Struct;
1951
+ readonly isOwnerChanged: boolean;
1952
+ readonly asOwnerChanged: {
1953
+ readonly collection: u32;
1954
+ readonly newOwner: AccountId32;
1955
+ } & Struct;
1956
+ readonly isTeamChanged: boolean;
1957
+ readonly asTeamChanged: {
1958
+ readonly collection: u32;
1959
+ readonly issuer: Option<AccountId32>;
1960
+ readonly admin: Option<AccountId32>;
1961
+ readonly freezer: Option<AccountId32>;
1962
+ } & Struct;
1963
+ readonly isTransferApproved: boolean;
1964
+ readonly asTransferApproved: {
1965
+ readonly collection: u32;
1966
+ readonly item: u32;
1967
+ readonly owner: AccountId32;
1968
+ readonly delegate: AccountId32;
1969
+ readonly deadline: Option<u32>;
1970
+ } & Struct;
1971
+ readonly isApprovalCancelled: boolean;
1972
+ readonly asApprovalCancelled: {
1973
+ readonly collection: u32;
1974
+ readonly item: u32;
1975
+ readonly owner: AccountId32;
1976
+ readonly delegate: AccountId32;
1977
+ } & Struct;
1978
+ readonly isAllApprovalsCancelled: boolean;
1979
+ readonly asAllApprovalsCancelled: {
1980
+ readonly collection: u32;
1981
+ readonly item: u32;
1982
+ readonly owner: AccountId32;
1983
+ } & Struct;
1984
+ readonly isCollectionConfigChanged: boolean;
1985
+ readonly asCollectionConfigChanged: {
1986
+ readonly collection: u32;
1987
+ } & Struct;
1988
+ readonly isCollectionMetadataSet: boolean;
1989
+ readonly asCollectionMetadataSet: {
1990
+ readonly collection: u32;
1991
+ readonly data: Bytes;
1992
+ } & Struct;
1993
+ readonly isCollectionMetadataCleared: boolean;
1994
+ readonly asCollectionMetadataCleared: {
1995
+ readonly collection: u32;
1996
+ } & Struct;
1997
+ readonly isItemMetadataSet: boolean;
1998
+ readonly asItemMetadataSet: {
1999
+ readonly collection: u32;
2000
+ readonly item: u32;
2001
+ readonly data: Bytes;
2002
+ } & Struct;
2003
+ readonly isItemMetadataCleared: boolean;
2004
+ readonly asItemMetadataCleared: {
2005
+ readonly collection: u32;
2006
+ readonly item: u32;
2007
+ } & Struct;
2008
+ readonly isRedeposited: boolean;
2009
+ readonly asRedeposited: {
2010
+ readonly collection: u32;
2011
+ readonly successfulItems: Vec<u32>;
2012
+ } & Struct;
2013
+ readonly isAttributeSet: boolean;
2014
+ readonly asAttributeSet: {
2015
+ readonly collection: u32;
2016
+ readonly maybeItem: Option<u32>;
2017
+ readonly key: Bytes;
2018
+ readonly value: Bytes;
2019
+ readonly namespace: PalletNftsAttributeNamespace;
2020
+ } & Struct;
2021
+ readonly isAttributeCleared: boolean;
2022
+ readonly asAttributeCleared: {
2023
+ readonly collection: u32;
2024
+ readonly maybeItem: Option<u32>;
2025
+ readonly key: Bytes;
2026
+ readonly namespace: PalletNftsAttributeNamespace;
2027
+ } & Struct;
2028
+ readonly isItemAttributesApprovalAdded: boolean;
2029
+ readonly asItemAttributesApprovalAdded: {
2030
+ readonly collection: u32;
2031
+ readonly item: u32;
2032
+ readonly delegate: AccountId32;
2033
+ } & Struct;
2034
+ readonly isItemAttributesApprovalRemoved: boolean;
2035
+ readonly asItemAttributesApprovalRemoved: {
2036
+ readonly collection: u32;
2037
+ readonly item: u32;
2038
+ readonly delegate: AccountId32;
2039
+ } & Struct;
2040
+ readonly isOwnershipAcceptanceChanged: boolean;
2041
+ readonly asOwnershipAcceptanceChanged: {
2042
+ readonly who: AccountId32;
2043
+ readonly maybeCollection: Option<u32>;
2044
+ } & Struct;
2045
+ readonly isCollectionMaxSupplySet: boolean;
2046
+ readonly asCollectionMaxSupplySet: {
2047
+ readonly collection: u32;
2048
+ readonly maxSupply: u32;
2049
+ } & Struct;
2050
+ readonly isCollectionMintSettingsUpdated: boolean;
2051
+ readonly asCollectionMintSettingsUpdated: {
2052
+ readonly collection: u32;
2053
+ } & Struct;
2054
+ readonly isNextCollectionIdIncremented: boolean;
2055
+ readonly asNextCollectionIdIncremented: {
2056
+ readonly nextId: Option<u32>;
2057
+ } & Struct;
2058
+ readonly isItemPriceSet: boolean;
2059
+ readonly asItemPriceSet: {
2060
+ readonly collection: u32;
2061
+ readonly item: u32;
2062
+ readonly price: u128;
2063
+ readonly whitelistedBuyer: Option<AccountId32>;
2064
+ } & Struct;
2065
+ readonly isItemPriceRemoved: boolean;
2066
+ readonly asItemPriceRemoved: {
2067
+ readonly collection: u32;
2068
+ readonly item: u32;
2069
+ } & Struct;
2070
+ readonly isItemBought: boolean;
2071
+ readonly asItemBought: {
2072
+ readonly collection: u32;
2073
+ readonly item: u32;
2074
+ readonly price: u128;
2075
+ readonly seller: AccountId32;
2076
+ readonly buyer: AccountId32;
2077
+ } & Struct;
2078
+ readonly isTipSent: boolean;
2079
+ readonly asTipSent: {
2080
+ readonly collection: u32;
2081
+ readonly item: u32;
2082
+ readonly sender: AccountId32;
2083
+ readonly receiver: AccountId32;
2084
+ readonly amount: u128;
2085
+ } & Struct;
2086
+ readonly isSwapCreated: boolean;
2087
+ readonly asSwapCreated: {
2088
+ readonly offeredCollection: u32;
2089
+ readonly offeredItem: u32;
2090
+ readonly desiredCollection: u32;
2091
+ readonly desiredItem: Option<u32>;
2092
+ readonly price: Option<PalletNftsPriceWithDirection>;
2093
+ readonly deadline: u32;
2094
+ } & Struct;
2095
+ readonly isSwapCancelled: boolean;
2096
+ readonly asSwapCancelled: {
2097
+ readonly offeredCollection: u32;
2098
+ readonly offeredItem: u32;
2099
+ readonly desiredCollection: u32;
2100
+ readonly desiredItem: Option<u32>;
2101
+ readonly price: Option<PalletNftsPriceWithDirection>;
2102
+ readonly deadline: u32;
2103
+ } & Struct;
2104
+ readonly isSwapClaimed: boolean;
2105
+ readonly asSwapClaimed: {
2106
+ readonly sentCollection: u32;
2107
+ readonly sentItem: u32;
2108
+ readonly sentItemOwner: AccountId32;
2109
+ readonly receivedCollection: u32;
2110
+ readonly receivedItem: u32;
2111
+ readonly receivedItemOwner: AccountId32;
2112
+ readonly price: Option<PalletNftsPriceWithDirection>;
2113
+ readonly deadline: u32;
2114
+ } & Struct;
2115
+ readonly isPreSignedAttributesSet: boolean;
2116
+ readonly asPreSignedAttributesSet: {
2117
+ readonly collection: u32;
2118
+ readonly item: u32;
2119
+ readonly namespace: PalletNftsAttributeNamespace;
2120
+ } & Struct;
2121
+ readonly isPalletAttributeSet: boolean;
2122
+ readonly asPalletAttributeSet: {
2123
+ readonly collection: u32;
2124
+ readonly item: Option<u32>;
2125
+ readonly attribute: PalletNftsPalletAttributes;
2126
+ readonly value: Bytes;
2127
+ } & Struct;
2128
+ readonly type: "Created" | "ForceCreated" | "Destroyed" | "Issued" | "Transferred" | "Burned" | "ItemTransferLocked" | "ItemTransferUnlocked" | "ItemPropertiesLocked" | "CollectionLocked" | "OwnerChanged" | "TeamChanged" | "TransferApproved" | "ApprovalCancelled" | "AllApprovalsCancelled" | "CollectionConfigChanged" | "CollectionMetadataSet" | "CollectionMetadataCleared" | "ItemMetadataSet" | "ItemMetadataCleared" | "Redeposited" | "AttributeSet" | "AttributeCleared" | "ItemAttributesApprovalAdded" | "ItemAttributesApprovalRemoved" | "OwnershipAcceptanceChanged" | "CollectionMaxSupplySet" | "CollectionMintSettingsUpdated" | "NextCollectionIdIncremented" | "ItemPriceSet" | "ItemPriceRemoved" | "ItemBought" | "TipSent" | "SwapCreated" | "SwapCancelled" | "SwapClaimed" | "PreSignedAttributesSet" | "PalletAttributeSet";
2129
+ }
2130
+ /** @name PalletNftsAttributeNamespace (176) */
2131
+ interface PalletNftsAttributeNamespace extends Enum {
2132
+ readonly isPallet: boolean;
2133
+ readonly isCollectionOwner: boolean;
2134
+ readonly isItemOwner: boolean;
2135
+ readonly isAccount: boolean;
2136
+ readonly asAccount: AccountId32;
2137
+ readonly type: "Pallet" | "CollectionOwner" | "ItemOwner" | "Account";
2138
+ }
2139
+ /** @name PalletNftsPriceWithDirection (178) */
2140
+ interface PalletNftsPriceWithDirection extends Struct {
2141
+ readonly amount: u128;
2142
+ readonly direction: PalletNftsPriceDirection;
2143
+ }
2144
+ /** @name PalletNftsPriceDirection (179) */
2145
+ interface PalletNftsPriceDirection extends Enum {
2146
+ readonly isSend: boolean;
2147
+ readonly isReceive: boolean;
2148
+ readonly type: "Send" | "Receive";
2149
+ }
2150
+ /** @name PalletNftsPalletAttributes (180) */
2151
+ interface PalletNftsPalletAttributes extends Enum {
2152
+ readonly isUsedToClaim: boolean;
2153
+ readonly asUsedToClaim: u32;
2154
+ readonly isTransferDisabled: boolean;
2155
+ readonly type: "UsedToClaim" | "TransferDisabled";
2156
+ }
2157
+ /** @name PalletParametersEvent (181) */
2158
+ interface PalletParametersEvent extends Enum {
2159
+ readonly isUpdated: boolean;
2160
+ readonly asUpdated: {
2161
+ readonly key: StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey;
2162
+ readonly oldValue: Option<StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
2163
+ readonly newValue: Option<StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
2164
+ } & Struct;
2165
+ readonly type: "Updated";
2166
+ }
2167
+ /** @name StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey (182) */
2168
+ interface StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey extends Enum {
2169
+ readonly isRuntimeConfig: boolean;
2170
+ readonly asRuntimeConfig: StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey;
2171
+ readonly type: "RuntimeConfig";
2172
+ }
2173
+ /** @name StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey (183) */
2174
+ interface StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey extends Enum {
2175
+ readonly isSlashAmountPerMaxFileSize: boolean;
2176
+ readonly isStakeToChallengePeriod: boolean;
2177
+ readonly isCheckpointChallengePeriod: boolean;
2178
+ readonly isMinChallengePeriod: boolean;
2179
+ readonly type: "SlashAmountPerMaxFileSize" | "StakeToChallengePeriod" | "CheckpointChallengePeriod" | "MinChallengePeriod";
2180
+ }
2181
+ /** @name StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize (184) */
2182
+ type StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize = Null;
2183
+ /** @name StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod (185) */
2184
+ type StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod = Null;
2185
+ /** @name StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod (186) */
2186
+ type StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod = Null;
2187
+ /** @name StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod (187) */
2188
+ type StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod = Null;
2189
+ /** @name StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue (189) */
2190
+ interface StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue extends Enum {
2191
+ readonly isRuntimeConfig: boolean;
2192
+ readonly asRuntimeConfig: StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue;
2193
+ readonly type: "RuntimeConfig";
2194
+ }
2195
+ /** @name StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue (190) */
2196
+ interface StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue extends Enum {
2197
+ readonly isSlashAmountPerMaxFileSize: boolean;
2198
+ readonly asSlashAmountPerMaxFileSize: u128;
2199
+ readonly isStakeToChallengePeriod: boolean;
2200
+ readonly asStakeToChallengePeriod: u128;
2201
+ readonly isCheckpointChallengePeriod: boolean;
2202
+ readonly asCheckpointChallengePeriod: u32;
2203
+ readonly isMinChallengePeriod: boolean;
2204
+ readonly asMinChallengePeriod: u32;
2205
+ readonly type: "SlashAmountPerMaxFileSize" | "StakeToChallengePeriod" | "CheckpointChallengePeriod" | "MinChallengePeriod";
2206
+ }
2207
+ /** @name FrameSystemPhase (191) */
2208
+ interface FrameSystemPhase extends Enum {
2209
+ readonly isApplyExtrinsic: boolean;
2210
+ readonly asApplyExtrinsic: u32;
2211
+ readonly isFinalization: boolean;
2212
+ readonly isInitialization: boolean;
2213
+ readonly type: "ApplyExtrinsic" | "Finalization" | "Initialization";
2214
+ }
2215
+ /** @name FrameSystemLastRuntimeUpgradeInfo (194) */
2216
+ interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
2217
+ readonly specVersion: Compact<u32>;
2218
+ readonly specName: Text;
2219
+ }
2220
+ /** @name FrameSystemCodeUpgradeAuthorization (196) */
2221
+ interface FrameSystemCodeUpgradeAuthorization extends Struct {
2222
+ readonly codeHash: H256;
2223
+ readonly checkVersion: bool;
2224
+ }
2225
+ /** @name FrameSystemCall (197) */
2226
+ interface FrameSystemCall extends Enum {
2227
+ readonly isRemark: boolean;
2228
+ readonly asRemark: {
2229
+ readonly remark: Bytes;
2230
+ } & Struct;
2231
+ readonly isSetHeapPages: boolean;
2232
+ readonly asSetHeapPages: {
2233
+ readonly pages: u64;
2234
+ } & Struct;
2235
+ readonly isSetCode: boolean;
2236
+ readonly asSetCode: {
2237
+ readonly code: Bytes;
2238
+ } & Struct;
2239
+ readonly isSetCodeWithoutChecks: boolean;
2240
+ readonly asSetCodeWithoutChecks: {
2241
+ readonly code: Bytes;
2242
+ } & Struct;
2243
+ readonly isSetStorage: boolean;
2244
+ readonly asSetStorage: {
2245
+ readonly items: Vec<ITuple<[Bytes, Bytes]>>;
2246
+ } & Struct;
2247
+ readonly isKillStorage: boolean;
2248
+ readonly asKillStorage: {
2249
+ readonly keys_: Vec<Bytes>;
2250
+ } & Struct;
2251
+ readonly isKillPrefix: boolean;
2252
+ readonly asKillPrefix: {
2253
+ readonly prefix: Bytes;
2254
+ readonly subkeys: u32;
2255
+ } & Struct;
2256
+ readonly isRemarkWithEvent: boolean;
2257
+ readonly asRemarkWithEvent: {
2258
+ readonly remark: Bytes;
2259
+ } & Struct;
2260
+ readonly isAuthorizeUpgrade: boolean;
2261
+ readonly asAuthorizeUpgrade: {
2262
+ readonly codeHash: H256;
2263
+ } & Struct;
2264
+ readonly isAuthorizeUpgradeWithoutChecks: boolean;
2265
+ readonly asAuthorizeUpgradeWithoutChecks: {
2266
+ readonly codeHash: H256;
2267
+ } & Struct;
2268
+ readonly isApplyAuthorizedUpgrade: boolean;
2269
+ readonly asApplyAuthorizedUpgrade: {
2270
+ readonly code: Bytes;
2271
+ } & Struct;
2272
+ readonly type: "Remark" | "SetHeapPages" | "SetCode" | "SetCodeWithoutChecks" | "SetStorage" | "KillStorage" | "KillPrefix" | "RemarkWithEvent" | "AuthorizeUpgrade" | "AuthorizeUpgradeWithoutChecks" | "ApplyAuthorizedUpgrade";
2273
+ }
2274
+ /** @name FrameSystemLimitsBlockWeights (200) */
2275
+ interface FrameSystemLimitsBlockWeights extends Struct {
2276
+ readonly baseBlock: SpWeightsWeightV2Weight;
2277
+ readonly maxBlock: SpWeightsWeightV2Weight;
2278
+ readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
2279
+ }
2280
+ /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (201) */
2281
+ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
2282
+ readonly normal: FrameSystemLimitsWeightsPerClass;
2283
+ readonly operational: FrameSystemLimitsWeightsPerClass;
2284
+ readonly mandatory: FrameSystemLimitsWeightsPerClass;
2285
+ }
2286
+ /** @name FrameSystemLimitsWeightsPerClass (202) */
2287
+ interface FrameSystemLimitsWeightsPerClass extends Struct {
2288
+ readonly baseExtrinsic: SpWeightsWeightV2Weight;
2289
+ readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
2290
+ readonly maxTotal: Option<SpWeightsWeightV2Weight>;
2291
+ readonly reserved: Option<SpWeightsWeightV2Weight>;
2292
+ }
2293
+ /** @name FrameSystemLimitsBlockLength (204) */
2294
+ interface FrameSystemLimitsBlockLength extends Struct {
2295
+ readonly max: FrameSupportDispatchPerDispatchClassU32;
2296
+ }
2297
+ /** @name FrameSupportDispatchPerDispatchClassU32 (205) */
2298
+ interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
2299
+ readonly normal: u32;
2300
+ readonly operational: u32;
2301
+ readonly mandatory: u32;
2302
+ }
2303
+ /** @name SpWeightsRuntimeDbWeight (206) */
2304
+ interface SpWeightsRuntimeDbWeight extends Struct {
2305
+ readonly read: u64;
2306
+ readonly write: u64;
2307
+ }
2308
+ /** @name SpVersionRuntimeVersion (207) */
2309
+ interface SpVersionRuntimeVersion extends Struct {
2310
+ readonly specName: Text;
2311
+ readonly implName: Text;
2312
+ readonly authoringVersion: u32;
2313
+ readonly specVersion: u32;
2314
+ readonly implVersion: u32;
2315
+ readonly apis: Vec<ITuple<[U8aFixed, u32]>>;
2316
+ readonly transactionVersion: u32;
2317
+ readonly stateVersion: u8;
2318
+ }
2319
+ /** @name FrameSystemError (212) */
2320
+ interface FrameSystemError extends Enum {
2321
+ readonly isInvalidSpecName: boolean;
2322
+ readonly isSpecVersionNeedsToIncrease: boolean;
2323
+ readonly isFailedToExtractRuntimeVersion: boolean;
2324
+ readonly isNonDefaultComposite: boolean;
2325
+ readonly isNonZeroRefCount: boolean;
2326
+ readonly isCallFiltered: boolean;
2327
+ readonly isMultiBlockMigrationsOngoing: boolean;
2328
+ readonly isNothingAuthorized: boolean;
2329
+ readonly isUnauthorized: boolean;
2330
+ readonly type: "InvalidSpecName" | "SpecVersionNeedsToIncrease" | "FailedToExtractRuntimeVersion" | "NonDefaultComposite" | "NonZeroRefCount" | "CallFiltered" | "MultiBlockMigrationsOngoing" | "NothingAuthorized" | "Unauthorized";
2331
+ }
2332
+ /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (214) */
2333
+ interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct {
2334
+ readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
2335
+ readonly paraHeadHash: Option<H256>;
2336
+ readonly consumedGoAheadSignal: Option<PolkadotPrimitivesV7UpgradeGoAhead>;
2337
+ }
2338
+ /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (215) */
2339
+ interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct {
2340
+ readonly umpMsgCount: u32;
2341
+ readonly umpTotalBytes: u32;
2342
+ readonly hrmpOutgoing: BTreeMap<u32, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate>;
2343
+ }
2344
+ /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (217) */
2345
+ interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct {
2346
+ readonly msgCount: u32;
2347
+ readonly totalBytes: u32;
2348
+ }
2349
+ /** @name PolkadotPrimitivesV7UpgradeGoAhead (222) */
2350
+ interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum {
2351
+ readonly isAbort: boolean;
2352
+ readonly isGoAhead: boolean;
2353
+ readonly type: "Abort" | "GoAhead";
2354
+ }
2355
+ /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (223) */
2356
+ interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct {
2357
+ readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
2358
+ readonly hrmpWatermark: Option<u32>;
2359
+ readonly consumedGoAheadSignal: Option<PolkadotPrimitivesV7UpgradeGoAhead>;
2360
+ }
2361
+ /** @name PolkadotPrimitivesV7PersistedValidationData (224) */
2362
+ interface PolkadotPrimitivesV7PersistedValidationData extends Struct {
2363
+ readonly parentHead: Bytes;
2364
+ readonly relayParentNumber: u32;
2365
+ readonly relayParentStorageRoot: H256;
2366
+ readonly maxPovSize: u32;
2367
+ }
2368
+ /** @name PolkadotPrimitivesV7UpgradeRestriction (227) */
2369
+ interface PolkadotPrimitivesV7UpgradeRestriction extends Enum {
2370
+ readonly isPresent: boolean;
2371
+ readonly type: "Present";
2372
+ }
2373
+ /** @name SpTrieStorageProof (228) */
2374
+ interface SpTrieStorageProof extends Struct {
2375
+ readonly trieNodes: BTreeSet<Bytes>;
2376
+ }
2377
+ /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (230) */
2378
+ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
2379
+ readonly dmqMqcHead: H256;
2380
+ readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
2381
+ readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV7AbridgedHrmpChannel]>>;
2382
+ readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV7AbridgedHrmpChannel]>>;
2383
+ }
2384
+ /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (231) */
2385
+ interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct {
2386
+ readonly remainingCount: u32;
2387
+ readonly remainingSize: u32;
2388
+ }
2389
+ /** @name PolkadotPrimitivesV7AbridgedHrmpChannel (234) */
2390
+ interface PolkadotPrimitivesV7AbridgedHrmpChannel extends Struct {
2391
+ readonly maxCapacity: u32;
2392
+ readonly maxTotalSize: u32;
2393
+ readonly maxMessageSize: u32;
2394
+ readonly msgCount: u32;
2395
+ readonly totalSize: u32;
2396
+ readonly mqcHead: Option<H256>;
2397
+ }
2398
+ /** @name PolkadotPrimitivesV7AbridgedHostConfiguration (235) */
2399
+ interface PolkadotPrimitivesV7AbridgedHostConfiguration extends Struct {
2400
+ readonly maxCodeSize: u32;
2401
+ readonly maxHeadDataSize: u32;
2402
+ readonly maxUpwardQueueCount: u32;
2403
+ readonly maxUpwardQueueSize: u32;
2404
+ readonly maxUpwardMessageSize: u32;
2405
+ readonly maxUpwardMessageNumPerCandidate: u32;
2406
+ readonly hrmpMaxMessageNumPerCandidate: u32;
2407
+ readonly validationUpgradeCooldown: u32;
2408
+ readonly validationUpgradeDelay: u32;
2409
+ readonly asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams;
2410
+ }
2411
+ /** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams (236) */
2412
+ interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct {
2413
+ readonly maxCandidateDepth: u32;
2414
+ readonly allowedAncestryLen: u32;
2415
+ }
2416
+ /** @name PolkadotCorePrimitivesOutboundHrmpMessage (242) */
2417
+ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
2418
+ readonly recipient: u32;
2419
+ readonly data: Bytes;
2420
+ }
2421
+ /** @name CumulusPalletParachainSystemCall (244) */
2422
+ interface CumulusPalletParachainSystemCall extends Enum {
2423
+ readonly isSetValidationData: boolean;
2424
+ readonly asSetValidationData: {
2425
+ readonly data: CumulusPrimitivesParachainInherentParachainInherentData;
2426
+ } & Struct;
2427
+ readonly isSudoSendUpwardMessage: boolean;
2428
+ readonly asSudoSendUpwardMessage: {
2429
+ readonly message: Bytes;
2430
+ } & Struct;
2431
+ readonly isAuthorizeUpgrade: boolean;
2432
+ readonly asAuthorizeUpgrade: {
2433
+ readonly codeHash: H256;
2434
+ readonly checkVersion: bool;
2435
+ } & Struct;
2436
+ readonly isEnactAuthorizedUpgrade: boolean;
2437
+ readonly asEnactAuthorizedUpgrade: {
2438
+ readonly code: Bytes;
2439
+ } & Struct;
2440
+ readonly type: "SetValidationData" | "SudoSendUpwardMessage" | "AuthorizeUpgrade" | "EnactAuthorizedUpgrade";
2441
+ }
2442
+ /** @name CumulusPrimitivesParachainInherentParachainInherentData (245) */
2443
+ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
2444
+ readonly validationData: PolkadotPrimitivesV7PersistedValidationData;
2445
+ readonly relayChainState: SpTrieStorageProof;
2446
+ readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
2447
+ readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
2448
+ }
2449
+ /** @name PolkadotCorePrimitivesInboundDownwardMessage (247) */
2450
+ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
2451
+ readonly sentAt: u32;
2452
+ readonly msg: Bytes;
2453
+ }
2454
+ /** @name PolkadotCorePrimitivesInboundHrmpMessage (250) */
2455
+ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
2456
+ readonly sentAt: u32;
2457
+ readonly data: Bytes;
2458
+ }
2459
+ /** @name CumulusPalletParachainSystemError (253) */
2460
+ interface CumulusPalletParachainSystemError extends Enum {
2461
+ readonly isOverlappingUpgrades: boolean;
2462
+ readonly isProhibitedByPolkadot: boolean;
2463
+ readonly isTooBig: boolean;
2464
+ readonly isValidationDataNotAvailable: boolean;
2465
+ readonly isHostConfigurationNotAvailable: boolean;
2466
+ readonly isNotScheduled: boolean;
2467
+ readonly isNothingAuthorized: boolean;
2468
+ readonly isUnauthorized: boolean;
2469
+ readonly type: "OverlappingUpgrades" | "ProhibitedByPolkadot" | "TooBig" | "ValidationDataNotAvailable" | "HostConfigurationNotAvailable" | "NotScheduled" | "NothingAuthorized" | "Unauthorized";
2470
+ }
2471
+ /** @name PalletTimestampCall (254) */
2472
+ interface PalletTimestampCall extends Enum {
2473
+ readonly isSet: boolean;
2474
+ readonly asSet: {
2475
+ readonly now: Compact<u64>;
2476
+ } & Struct;
2477
+ readonly type: "Set";
2478
+ }
2479
+ /** @name StagingParachainInfoCall (255) */
2480
+ type StagingParachainInfoCall = Null;
2481
+ /** @name PalletBalancesBalanceLock (257) */
2482
+ interface PalletBalancesBalanceLock extends Struct {
2483
+ readonly id: U8aFixed;
2484
+ readonly amount: u128;
2485
+ readonly reasons: PalletBalancesReasons;
2486
+ }
2487
+ /** @name PalletBalancesReasons (258) */
2488
+ interface PalletBalancesReasons extends Enum {
2489
+ readonly isFee: boolean;
2490
+ readonly isMisc: boolean;
2491
+ readonly isAll: boolean;
2492
+ readonly type: "Fee" | "Misc" | "All";
2493
+ }
2494
+ /** @name PalletBalancesReserveData (261) */
2495
+ interface PalletBalancesReserveData extends Struct {
2496
+ readonly id: U8aFixed;
2497
+ readonly amount: u128;
2498
+ }
2499
+ /** @name StorageHubRuntimeRuntimeHoldReason (265) */
2500
+ interface StorageHubRuntimeRuntimeHoldReason extends Enum {
2501
+ readonly isProviders: boolean;
2502
+ readonly asProviders: PalletStorageProvidersHoldReason;
2503
+ readonly isPaymentStreams: boolean;
2504
+ readonly asPaymentStreams: PalletPaymentStreamsHoldReason;
2505
+ readonly type: "Providers" | "PaymentStreams";
2506
+ }
2507
+ /** @name PalletStorageProvidersHoldReason (266) */
2508
+ interface PalletStorageProvidersHoldReason extends Enum {
2509
+ readonly isStorageProviderDeposit: boolean;
2510
+ readonly isBucketDeposit: boolean;
2511
+ readonly type: "StorageProviderDeposit" | "BucketDeposit";
2512
+ }
2513
+ /** @name PalletPaymentStreamsHoldReason (267) */
2514
+ interface PalletPaymentStreamsHoldReason extends Enum {
2515
+ readonly isPaymentStreamDeposit: boolean;
2516
+ readonly type: "PaymentStreamDeposit";
2517
+ }
2518
+ /** @name FrameSupportTokensMiscIdAmount (270) */
2519
+ interface FrameSupportTokensMiscIdAmount extends Struct {
2520
+ readonly id: Null;
2521
+ readonly amount: u128;
2522
+ }
2523
+ /** @name PalletBalancesCall (272) */
2524
+ interface PalletBalancesCall extends Enum {
2525
+ readonly isTransferAllowDeath: boolean;
2526
+ readonly asTransferAllowDeath: {
2527
+ readonly dest: MultiAddress;
2528
+ readonly value: Compact<u128>;
2529
+ } & Struct;
2530
+ readonly isForceTransfer: boolean;
2531
+ readonly asForceTransfer: {
2532
+ readonly source: MultiAddress;
2533
+ readonly dest: MultiAddress;
2534
+ readonly value: Compact<u128>;
2535
+ } & Struct;
2536
+ readonly isTransferKeepAlive: boolean;
2537
+ readonly asTransferKeepAlive: {
2538
+ readonly dest: MultiAddress;
2539
+ readonly value: Compact<u128>;
2540
+ } & Struct;
2541
+ readonly isTransferAll: boolean;
2542
+ readonly asTransferAll: {
2543
+ readonly dest: MultiAddress;
2544
+ readonly keepAlive: bool;
2545
+ } & Struct;
2546
+ readonly isForceUnreserve: boolean;
2547
+ readonly asForceUnreserve: {
2548
+ readonly who: MultiAddress;
2549
+ readonly amount: u128;
2550
+ } & Struct;
2551
+ readonly isUpgradeAccounts: boolean;
2552
+ readonly asUpgradeAccounts: {
2553
+ readonly who: Vec<AccountId32>;
2554
+ } & Struct;
2555
+ readonly isForceSetBalance: boolean;
2556
+ readonly asForceSetBalance: {
2557
+ readonly who: MultiAddress;
2558
+ readonly newFree: Compact<u128>;
2559
+ } & Struct;
2560
+ readonly isForceAdjustTotalIssuance: boolean;
2561
+ readonly asForceAdjustTotalIssuance: {
2562
+ readonly direction: PalletBalancesAdjustmentDirection;
2563
+ readonly delta: Compact<u128>;
2564
+ } & Struct;
2565
+ readonly isBurn: boolean;
2566
+ readonly asBurn: {
2567
+ readonly value: Compact<u128>;
2568
+ readonly keepAlive: bool;
2569
+ } & Struct;
2570
+ readonly type: "TransferAllowDeath" | "ForceTransfer" | "TransferKeepAlive" | "TransferAll" | "ForceUnreserve" | "UpgradeAccounts" | "ForceSetBalance" | "ForceAdjustTotalIssuance" | "Burn";
2571
+ }
2572
+ /** @name PalletBalancesAdjustmentDirection (275) */
2573
+ interface PalletBalancesAdjustmentDirection extends Enum {
2574
+ readonly isIncrease: boolean;
2575
+ readonly isDecrease: boolean;
2576
+ readonly type: "Increase" | "Decrease";
2577
+ }
2578
+ /** @name PalletBalancesError (276) */
2579
+ interface PalletBalancesError extends Enum {
2580
+ readonly isVestingBalance: boolean;
2581
+ readonly isLiquidityRestrictions: boolean;
2582
+ readonly isInsufficientBalance: boolean;
2583
+ readonly isExistentialDeposit: boolean;
2584
+ readonly isExpendability: boolean;
2585
+ readonly isExistingVestingSchedule: boolean;
2586
+ readonly isDeadAccount: boolean;
2587
+ readonly isTooManyReserves: boolean;
2588
+ readonly isTooManyHolds: boolean;
2589
+ readonly isTooManyFreezes: boolean;
2590
+ readonly isIssuanceDeactivated: boolean;
2591
+ readonly isDeltaZero: boolean;
2592
+ readonly type: "VestingBalance" | "LiquidityRestrictions" | "InsufficientBalance" | "ExistentialDeposit" | "Expendability" | "ExistingVestingSchedule" | "DeadAccount" | "TooManyReserves" | "TooManyHolds" | "TooManyFreezes" | "IssuanceDeactivated" | "DeltaZero";
2593
+ }
2594
+ /** @name PalletTransactionPaymentReleases (277) */
2595
+ interface PalletTransactionPaymentReleases extends Enum {
2596
+ readonly isV1Ancient: boolean;
2597
+ readonly isV2: boolean;
2598
+ readonly type: "V1Ancient" | "V2";
2599
+ }
2600
+ /** @name PalletSudoCall (278) */
2601
+ interface PalletSudoCall extends Enum {
2602
+ readonly isSudo: boolean;
2603
+ readonly asSudo: {
2604
+ readonly call: Call;
2605
+ } & Struct;
2606
+ readonly isSudoUncheckedWeight: boolean;
2607
+ readonly asSudoUncheckedWeight: {
2608
+ readonly call: Call;
2609
+ readonly weight: SpWeightsWeightV2Weight;
2610
+ } & Struct;
2611
+ readonly isSetKey: boolean;
2612
+ readonly asSetKey: {
2613
+ readonly new_: MultiAddress;
2614
+ } & Struct;
2615
+ readonly isSudoAs: boolean;
2616
+ readonly asSudoAs: {
2617
+ readonly who: MultiAddress;
2618
+ readonly call: Call;
2619
+ } & Struct;
2620
+ readonly isRemoveKey: boolean;
2621
+ readonly type: "Sudo" | "SudoUncheckedWeight" | "SetKey" | "SudoAs" | "RemoveKey";
2622
+ }
2623
+ /** @name PalletCollatorSelectionCall (280) */
2624
+ interface PalletCollatorSelectionCall extends Enum {
2625
+ readonly isSetInvulnerables: boolean;
2626
+ readonly asSetInvulnerables: {
2627
+ readonly new_: Vec<AccountId32>;
2628
+ } & Struct;
2629
+ readonly isSetDesiredCandidates: boolean;
2630
+ readonly asSetDesiredCandidates: {
2631
+ readonly max: u32;
2632
+ } & Struct;
2633
+ readonly isSetCandidacyBond: boolean;
2634
+ readonly asSetCandidacyBond: {
2635
+ readonly bond: u128;
2636
+ } & Struct;
2637
+ readonly isRegisterAsCandidate: boolean;
2638
+ readonly isLeaveIntent: boolean;
2639
+ readonly isAddInvulnerable: boolean;
2640
+ readonly asAddInvulnerable: {
2641
+ readonly who: AccountId32;
2642
+ } & Struct;
2643
+ readonly isRemoveInvulnerable: boolean;
2644
+ readonly asRemoveInvulnerable: {
2645
+ readonly who: AccountId32;
2646
+ } & Struct;
2647
+ readonly isUpdateBond: boolean;
2648
+ readonly asUpdateBond: {
2649
+ readonly newDeposit: u128;
2650
+ } & Struct;
2651
+ readonly isTakeCandidateSlot: boolean;
2652
+ readonly asTakeCandidateSlot: {
2653
+ readonly deposit: u128;
2654
+ readonly target: AccountId32;
2655
+ } & Struct;
2656
+ readonly type: "SetInvulnerables" | "SetDesiredCandidates" | "SetCandidacyBond" | "RegisterAsCandidate" | "LeaveIntent" | "AddInvulnerable" | "RemoveInvulnerable" | "UpdateBond" | "TakeCandidateSlot";
2657
+ }
2658
+ /** @name PalletSessionCall (281) */
2659
+ interface PalletSessionCall extends Enum {
2660
+ readonly isSetKeys: boolean;
2661
+ readonly asSetKeys: {
2662
+ readonly keys_: StorageHubRuntimeSessionKeys;
2663
+ readonly proof: Bytes;
2664
+ } & Struct;
2665
+ readonly isPurgeKeys: boolean;
2666
+ readonly type: "SetKeys" | "PurgeKeys";
2667
+ }
2668
+ /** @name StorageHubRuntimeSessionKeys (282) */
2669
+ interface StorageHubRuntimeSessionKeys extends Struct {
2670
+ readonly aura: SpConsensusAuraSr25519AppSr25519Public;
2671
+ }
2672
+ /** @name SpConsensusAuraSr25519AppSr25519Public (283) */
2673
+ interface SpConsensusAuraSr25519AppSr25519Public extends U8aFixed {
2674
+ }
2675
+ /** @name CumulusPalletXcmpQueueCall (284) */
2676
+ interface CumulusPalletXcmpQueueCall extends Enum {
2677
+ readonly isSuspendXcmExecution: boolean;
2678
+ readonly isResumeXcmExecution: boolean;
2679
+ readonly isUpdateSuspendThreshold: boolean;
2680
+ readonly asUpdateSuspendThreshold: {
2681
+ readonly new_: u32;
2682
+ } & Struct;
2683
+ readonly isUpdateDropThreshold: boolean;
2684
+ readonly asUpdateDropThreshold: {
2685
+ readonly new_: u32;
2686
+ } & Struct;
2687
+ readonly isUpdateResumeThreshold: boolean;
2688
+ readonly asUpdateResumeThreshold: {
2689
+ readonly new_: u32;
2690
+ } & Struct;
2691
+ readonly type: "SuspendXcmExecution" | "ResumeXcmExecution" | "UpdateSuspendThreshold" | "UpdateDropThreshold" | "UpdateResumeThreshold";
2692
+ }
2693
+ /** @name PalletXcmCall (285) */
2694
+ interface PalletXcmCall extends Enum {
2695
+ readonly isSend: boolean;
2696
+ readonly asSend: {
2697
+ readonly dest: XcmVersionedLocation;
2698
+ readonly message: XcmVersionedXcm;
2699
+ } & Struct;
2700
+ readonly isTeleportAssets: boolean;
2701
+ readonly asTeleportAssets: {
2702
+ readonly dest: XcmVersionedLocation;
2703
+ readonly beneficiary: XcmVersionedLocation;
2704
+ readonly assets: XcmVersionedAssets;
2705
+ readonly feeAssetItem: u32;
2706
+ } & Struct;
2707
+ readonly isReserveTransferAssets: boolean;
2708
+ readonly asReserveTransferAssets: {
2709
+ readonly dest: XcmVersionedLocation;
2710
+ readonly beneficiary: XcmVersionedLocation;
2711
+ readonly assets: XcmVersionedAssets;
2712
+ readonly feeAssetItem: u32;
2713
+ } & Struct;
2714
+ readonly isExecute: boolean;
2715
+ readonly asExecute: {
2716
+ readonly message: XcmVersionedXcm;
2717
+ readonly maxWeight: SpWeightsWeightV2Weight;
2718
+ } & Struct;
2719
+ readonly isForceXcmVersion: boolean;
2720
+ readonly asForceXcmVersion: {
2721
+ readonly location: StagingXcmV4Location;
2722
+ readonly version: u32;
2723
+ } & Struct;
2724
+ readonly isForceDefaultXcmVersion: boolean;
2725
+ readonly asForceDefaultXcmVersion: {
2726
+ readonly maybeXcmVersion: Option<u32>;
2727
+ } & Struct;
2728
+ readonly isForceSubscribeVersionNotify: boolean;
2729
+ readonly asForceSubscribeVersionNotify: {
2730
+ readonly location: XcmVersionedLocation;
2731
+ } & Struct;
2732
+ readonly isForceUnsubscribeVersionNotify: boolean;
2733
+ readonly asForceUnsubscribeVersionNotify: {
2734
+ readonly location: XcmVersionedLocation;
2735
+ } & Struct;
2736
+ readonly isLimitedReserveTransferAssets: boolean;
2737
+ readonly asLimitedReserveTransferAssets: {
2738
+ readonly dest: XcmVersionedLocation;
2739
+ readonly beneficiary: XcmVersionedLocation;
2740
+ readonly assets: XcmVersionedAssets;
2741
+ readonly feeAssetItem: u32;
2742
+ readonly weightLimit: XcmV3WeightLimit;
2743
+ } & Struct;
2744
+ readonly isLimitedTeleportAssets: boolean;
2745
+ readonly asLimitedTeleportAssets: {
2746
+ readonly dest: XcmVersionedLocation;
2747
+ readonly beneficiary: XcmVersionedLocation;
2748
+ readonly assets: XcmVersionedAssets;
2749
+ readonly feeAssetItem: u32;
2750
+ readonly weightLimit: XcmV3WeightLimit;
2751
+ } & Struct;
2752
+ readonly isForceSuspension: boolean;
2753
+ readonly asForceSuspension: {
2754
+ readonly suspended: bool;
2755
+ } & Struct;
2756
+ readonly isTransferAssets: boolean;
2757
+ readonly asTransferAssets: {
2758
+ readonly dest: XcmVersionedLocation;
2759
+ readonly beneficiary: XcmVersionedLocation;
2760
+ readonly assets: XcmVersionedAssets;
2761
+ readonly feeAssetItem: u32;
2762
+ readonly weightLimit: XcmV3WeightLimit;
2763
+ } & Struct;
2764
+ readonly isClaimAssets: boolean;
2765
+ readonly asClaimAssets: {
2766
+ readonly assets: XcmVersionedAssets;
2767
+ readonly beneficiary: XcmVersionedLocation;
2768
+ } & Struct;
2769
+ readonly isTransferAssetsUsingTypeAndThen: boolean;
2770
+ readonly asTransferAssetsUsingTypeAndThen: {
2771
+ readonly dest: XcmVersionedLocation;
2772
+ readonly assets: XcmVersionedAssets;
2773
+ readonly assetsTransferType: StagingXcmExecutorAssetTransferTransferType;
2774
+ readonly remoteFeesId: XcmVersionedAssetId;
2775
+ readonly feesTransferType: StagingXcmExecutorAssetTransferTransferType;
2776
+ readonly customXcmOnDest: XcmVersionedXcm;
2777
+ readonly weightLimit: XcmV3WeightLimit;
2778
+ } & Struct;
2779
+ readonly type: "Send" | "TeleportAssets" | "ReserveTransferAssets" | "Execute" | "ForceXcmVersion" | "ForceDefaultXcmVersion" | "ForceSubscribeVersionNotify" | "ForceUnsubscribeVersionNotify" | "LimitedReserveTransferAssets" | "LimitedTeleportAssets" | "ForceSuspension" | "TransferAssets" | "ClaimAssets" | "TransferAssetsUsingTypeAndThen";
2780
+ }
2781
+ /** @name XcmVersionedXcm (286) */
2782
+ interface XcmVersionedXcm extends Enum {
2783
+ readonly isV2: boolean;
2784
+ readonly asV2: XcmV2Xcm;
2785
+ readonly isV3: boolean;
2786
+ readonly asV3: XcmV3Xcm;
2787
+ readonly isV4: boolean;
2788
+ readonly asV4: StagingXcmV4Xcm;
2789
+ readonly type: "V2" | "V3" | "V4";
2790
+ }
2791
+ /** @name XcmV2Xcm (287) */
2792
+ interface XcmV2Xcm extends Vec<XcmV2Instruction> {
2793
+ }
2794
+ /** @name XcmV2Instruction (289) */
2795
+ interface XcmV2Instruction extends Enum {
2796
+ readonly isWithdrawAsset: boolean;
2797
+ readonly asWithdrawAsset: XcmV2MultiassetMultiAssets;
2798
+ readonly isReserveAssetDeposited: boolean;
2799
+ readonly asReserveAssetDeposited: XcmV2MultiassetMultiAssets;
2800
+ readonly isReceiveTeleportedAsset: boolean;
2801
+ readonly asReceiveTeleportedAsset: XcmV2MultiassetMultiAssets;
2802
+ readonly isQueryResponse: boolean;
2803
+ readonly asQueryResponse: {
2804
+ readonly queryId: Compact<u64>;
2805
+ readonly response: XcmV2Response;
2806
+ readonly maxWeight: Compact<u64>;
2807
+ } & Struct;
2808
+ readonly isTransferAsset: boolean;
2809
+ readonly asTransferAsset: {
2810
+ readonly assets: XcmV2MultiassetMultiAssets;
2811
+ readonly beneficiary: XcmV2MultiLocation;
2812
+ } & Struct;
2813
+ readonly isTransferReserveAsset: boolean;
2814
+ readonly asTransferReserveAsset: {
2815
+ readonly assets: XcmV2MultiassetMultiAssets;
2816
+ readonly dest: XcmV2MultiLocation;
2817
+ readonly xcm: XcmV2Xcm;
2818
+ } & Struct;
2819
+ readonly isTransact: boolean;
2820
+ readonly asTransact: {
2821
+ readonly originType: XcmV2OriginKind;
2822
+ readonly requireWeightAtMost: Compact<u64>;
2823
+ readonly call: XcmDoubleEncoded;
2824
+ } & Struct;
2825
+ readonly isHrmpNewChannelOpenRequest: boolean;
2826
+ readonly asHrmpNewChannelOpenRequest: {
2827
+ readonly sender: Compact<u32>;
2828
+ readonly maxMessageSize: Compact<u32>;
2829
+ readonly maxCapacity: Compact<u32>;
2830
+ } & Struct;
2831
+ readonly isHrmpChannelAccepted: boolean;
2832
+ readonly asHrmpChannelAccepted: {
2833
+ readonly recipient: Compact<u32>;
2834
+ } & Struct;
2835
+ readonly isHrmpChannelClosing: boolean;
2836
+ readonly asHrmpChannelClosing: {
2837
+ readonly initiator: Compact<u32>;
2838
+ readonly sender: Compact<u32>;
2839
+ readonly recipient: Compact<u32>;
2840
+ } & Struct;
2841
+ readonly isClearOrigin: boolean;
2842
+ readonly isDescendOrigin: boolean;
2843
+ readonly asDescendOrigin: XcmV2MultilocationJunctions;
2844
+ readonly isReportError: boolean;
2845
+ readonly asReportError: {
2846
+ readonly queryId: Compact<u64>;
2847
+ readonly dest: XcmV2MultiLocation;
2848
+ readonly maxResponseWeight: Compact<u64>;
2849
+ } & Struct;
2850
+ readonly isDepositAsset: boolean;
2851
+ readonly asDepositAsset: {
2852
+ readonly assets: XcmV2MultiassetMultiAssetFilter;
2853
+ readonly maxAssets: Compact<u32>;
2854
+ readonly beneficiary: XcmV2MultiLocation;
2855
+ } & Struct;
2856
+ readonly isDepositReserveAsset: boolean;
2857
+ readonly asDepositReserveAsset: {
2858
+ readonly assets: XcmV2MultiassetMultiAssetFilter;
2859
+ readonly maxAssets: Compact<u32>;
2860
+ readonly dest: XcmV2MultiLocation;
2861
+ readonly xcm: XcmV2Xcm;
2862
+ } & Struct;
2863
+ readonly isExchangeAsset: boolean;
2864
+ readonly asExchangeAsset: {
2865
+ readonly give: XcmV2MultiassetMultiAssetFilter;
2866
+ readonly receive: XcmV2MultiassetMultiAssets;
2867
+ } & Struct;
2868
+ readonly isInitiateReserveWithdraw: boolean;
2869
+ readonly asInitiateReserveWithdraw: {
2870
+ readonly assets: XcmV2MultiassetMultiAssetFilter;
2871
+ readonly reserve: XcmV2MultiLocation;
2872
+ readonly xcm: XcmV2Xcm;
2873
+ } & Struct;
2874
+ readonly isInitiateTeleport: boolean;
2875
+ readonly asInitiateTeleport: {
2876
+ readonly assets: XcmV2MultiassetMultiAssetFilter;
2877
+ readonly dest: XcmV2MultiLocation;
2878
+ readonly xcm: XcmV2Xcm;
2879
+ } & Struct;
2880
+ readonly isQueryHolding: boolean;
2881
+ readonly asQueryHolding: {
2882
+ readonly queryId: Compact<u64>;
2883
+ readonly dest: XcmV2MultiLocation;
2884
+ readonly assets: XcmV2MultiassetMultiAssetFilter;
2885
+ readonly maxResponseWeight: Compact<u64>;
2886
+ } & Struct;
2887
+ readonly isBuyExecution: boolean;
2888
+ readonly asBuyExecution: {
2889
+ readonly fees: XcmV2MultiAsset;
2890
+ readonly weightLimit: XcmV2WeightLimit;
2891
+ } & Struct;
2892
+ readonly isRefundSurplus: boolean;
2893
+ readonly isSetErrorHandler: boolean;
2894
+ readonly asSetErrorHandler: XcmV2Xcm;
2895
+ readonly isSetAppendix: boolean;
2896
+ readonly asSetAppendix: XcmV2Xcm;
2897
+ readonly isClearError: boolean;
2898
+ readonly isClaimAsset: boolean;
2899
+ readonly asClaimAsset: {
2900
+ readonly assets: XcmV2MultiassetMultiAssets;
2901
+ readonly ticket: XcmV2MultiLocation;
2902
+ } & Struct;
2903
+ readonly isTrap: boolean;
2904
+ readonly asTrap: Compact<u64>;
2905
+ readonly isSubscribeVersion: boolean;
2906
+ readonly asSubscribeVersion: {
2907
+ readonly queryId: Compact<u64>;
2908
+ readonly maxResponseWeight: Compact<u64>;
2909
+ } & Struct;
2910
+ readonly isUnsubscribeVersion: boolean;
2911
+ readonly type: "WithdrawAsset" | "ReserveAssetDeposited" | "ReceiveTeleportedAsset" | "QueryResponse" | "TransferAsset" | "TransferReserveAsset" | "Transact" | "HrmpNewChannelOpenRequest" | "HrmpChannelAccepted" | "HrmpChannelClosing" | "ClearOrigin" | "DescendOrigin" | "ReportError" | "DepositAsset" | "DepositReserveAsset" | "ExchangeAsset" | "InitiateReserveWithdraw" | "InitiateTeleport" | "QueryHolding" | "BuyExecution" | "RefundSurplus" | "SetErrorHandler" | "SetAppendix" | "ClearError" | "ClaimAsset" | "Trap" | "SubscribeVersion" | "UnsubscribeVersion";
2912
+ }
2913
+ /** @name XcmV2Response (290) */
2914
+ interface XcmV2Response extends Enum {
2915
+ readonly isNull: boolean;
2916
+ readonly isAssets: boolean;
2917
+ readonly asAssets: XcmV2MultiassetMultiAssets;
2918
+ readonly isExecutionResult: boolean;
2919
+ readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;
2920
+ readonly isVersion: boolean;
2921
+ readonly asVersion: u32;
2922
+ readonly type: "Null" | "Assets" | "ExecutionResult" | "Version";
2923
+ }
2924
+ /** @name XcmV2TraitsError (293) */
2925
+ interface XcmV2TraitsError extends Enum {
2926
+ readonly isOverflow: boolean;
2927
+ readonly isUnimplemented: boolean;
2928
+ readonly isUntrustedReserveLocation: boolean;
2929
+ readonly isUntrustedTeleportLocation: boolean;
2930
+ readonly isMultiLocationFull: boolean;
2931
+ readonly isMultiLocationNotInvertible: boolean;
2932
+ readonly isBadOrigin: boolean;
2933
+ readonly isInvalidLocation: boolean;
2934
+ readonly isAssetNotFound: boolean;
2935
+ readonly isFailedToTransactAsset: boolean;
2936
+ readonly isNotWithdrawable: boolean;
2937
+ readonly isLocationCannotHold: boolean;
2938
+ readonly isExceedsMaxMessageSize: boolean;
2939
+ readonly isDestinationUnsupported: boolean;
2940
+ readonly isTransport: boolean;
2941
+ readonly isUnroutable: boolean;
2942
+ readonly isUnknownClaim: boolean;
2943
+ readonly isFailedToDecode: boolean;
2944
+ readonly isMaxWeightInvalid: boolean;
2945
+ readonly isNotHoldingFees: boolean;
2946
+ readonly isTooExpensive: boolean;
2947
+ readonly isTrap: boolean;
2948
+ readonly asTrap: u64;
2949
+ readonly isUnhandledXcmVersion: boolean;
2950
+ readonly isWeightLimitReached: boolean;
2951
+ readonly asWeightLimitReached: u64;
2952
+ readonly isBarrier: boolean;
2953
+ readonly isWeightNotComputable: boolean;
2954
+ readonly type: "Overflow" | "Unimplemented" | "UntrustedReserveLocation" | "UntrustedTeleportLocation" | "MultiLocationFull" | "MultiLocationNotInvertible" | "BadOrigin" | "InvalidLocation" | "AssetNotFound" | "FailedToTransactAsset" | "NotWithdrawable" | "LocationCannotHold" | "ExceedsMaxMessageSize" | "DestinationUnsupported" | "Transport" | "Unroutable" | "UnknownClaim" | "FailedToDecode" | "MaxWeightInvalid" | "NotHoldingFees" | "TooExpensive" | "Trap" | "UnhandledXcmVersion" | "WeightLimitReached" | "Barrier" | "WeightNotComputable";
2955
+ }
2956
+ /** @name XcmV2OriginKind (294) */
2957
+ interface XcmV2OriginKind extends Enum {
2958
+ readonly isNative: boolean;
2959
+ readonly isSovereignAccount: boolean;
2960
+ readonly isSuperuser: boolean;
2961
+ readonly isXcm: boolean;
2962
+ readonly type: "Native" | "SovereignAccount" | "Superuser" | "Xcm";
2963
+ }
2964
+ /** @name XcmV2MultiassetMultiAssetFilter (295) */
2965
+ interface XcmV2MultiassetMultiAssetFilter extends Enum {
2966
+ readonly isDefinite: boolean;
2967
+ readonly asDefinite: XcmV2MultiassetMultiAssets;
2968
+ readonly isWild: boolean;
2969
+ readonly asWild: XcmV2MultiassetWildMultiAsset;
2970
+ readonly type: "Definite" | "Wild";
2971
+ }
2972
+ /** @name XcmV2MultiassetWildMultiAsset (296) */
2973
+ interface XcmV2MultiassetWildMultiAsset extends Enum {
2974
+ readonly isAll: boolean;
2975
+ readonly isAllOf: boolean;
2976
+ readonly asAllOf: {
2977
+ readonly id: XcmV2MultiassetAssetId;
2978
+ readonly fun: XcmV2MultiassetWildFungibility;
2979
+ } & Struct;
2980
+ readonly type: "All" | "AllOf";
2981
+ }
2982
+ /** @name XcmV2MultiassetWildFungibility (297) */
2983
+ interface XcmV2MultiassetWildFungibility extends Enum {
2984
+ readonly isFungible: boolean;
2985
+ readonly isNonFungible: boolean;
2986
+ readonly type: "Fungible" | "NonFungible";
2987
+ }
2988
+ /** @name XcmV2WeightLimit (298) */
2989
+ interface XcmV2WeightLimit extends Enum {
2990
+ readonly isUnlimited: boolean;
2991
+ readonly isLimited: boolean;
2992
+ readonly asLimited: Compact<u64>;
2993
+ readonly type: "Unlimited" | "Limited";
2994
+ }
2995
+ /** @name XcmV3Xcm (299) */
2996
+ interface XcmV3Xcm extends Vec<XcmV3Instruction> {
2997
+ }
2998
+ /** @name XcmV3Instruction (301) */
2999
+ interface XcmV3Instruction extends Enum {
3000
+ readonly isWithdrawAsset: boolean;
3001
+ readonly asWithdrawAsset: XcmV3MultiassetMultiAssets;
3002
+ readonly isReserveAssetDeposited: boolean;
3003
+ readonly asReserveAssetDeposited: XcmV3MultiassetMultiAssets;
3004
+ readonly isReceiveTeleportedAsset: boolean;
3005
+ readonly asReceiveTeleportedAsset: XcmV3MultiassetMultiAssets;
3006
+ readonly isQueryResponse: boolean;
3007
+ readonly asQueryResponse: {
3008
+ readonly queryId: Compact<u64>;
3009
+ readonly response: XcmV3Response;
3010
+ readonly maxWeight: SpWeightsWeightV2Weight;
3011
+ readonly querier: Option<StagingXcmV3MultiLocation>;
3012
+ } & Struct;
3013
+ readonly isTransferAsset: boolean;
3014
+ readonly asTransferAsset: {
3015
+ readonly assets: XcmV3MultiassetMultiAssets;
3016
+ readonly beneficiary: StagingXcmV3MultiLocation;
3017
+ } & Struct;
3018
+ readonly isTransferReserveAsset: boolean;
3019
+ readonly asTransferReserveAsset: {
3020
+ readonly assets: XcmV3MultiassetMultiAssets;
3021
+ readonly dest: StagingXcmV3MultiLocation;
3022
+ readonly xcm: XcmV3Xcm;
3023
+ } & Struct;
3024
+ readonly isTransact: boolean;
3025
+ readonly asTransact: {
3026
+ readonly originKind: XcmV3OriginKind;
3027
+ readonly requireWeightAtMost: SpWeightsWeightV2Weight;
3028
+ readonly call: XcmDoubleEncoded;
3029
+ } & Struct;
3030
+ readonly isHrmpNewChannelOpenRequest: boolean;
3031
+ readonly asHrmpNewChannelOpenRequest: {
3032
+ readonly sender: Compact<u32>;
3033
+ readonly maxMessageSize: Compact<u32>;
3034
+ readonly maxCapacity: Compact<u32>;
3035
+ } & Struct;
3036
+ readonly isHrmpChannelAccepted: boolean;
3037
+ readonly asHrmpChannelAccepted: {
3038
+ readonly recipient: Compact<u32>;
3039
+ } & Struct;
3040
+ readonly isHrmpChannelClosing: boolean;
3041
+ readonly asHrmpChannelClosing: {
3042
+ readonly initiator: Compact<u32>;
3043
+ readonly sender: Compact<u32>;
3044
+ readonly recipient: Compact<u32>;
3045
+ } & Struct;
3046
+ readonly isClearOrigin: boolean;
3047
+ readonly isDescendOrigin: boolean;
3048
+ readonly asDescendOrigin: XcmV3Junctions;
3049
+ readonly isReportError: boolean;
3050
+ readonly asReportError: XcmV3QueryResponseInfo;
3051
+ readonly isDepositAsset: boolean;
3052
+ readonly asDepositAsset: {
3053
+ readonly assets: XcmV3MultiassetMultiAssetFilter;
3054
+ readonly beneficiary: StagingXcmV3MultiLocation;
3055
+ } & Struct;
3056
+ readonly isDepositReserveAsset: boolean;
3057
+ readonly asDepositReserveAsset: {
3058
+ readonly assets: XcmV3MultiassetMultiAssetFilter;
3059
+ readonly dest: StagingXcmV3MultiLocation;
3060
+ readonly xcm: XcmV3Xcm;
3061
+ } & Struct;
3062
+ readonly isExchangeAsset: boolean;
3063
+ readonly asExchangeAsset: {
3064
+ readonly give: XcmV3MultiassetMultiAssetFilter;
3065
+ readonly want: XcmV3MultiassetMultiAssets;
3066
+ readonly maximal: bool;
3067
+ } & Struct;
3068
+ readonly isInitiateReserveWithdraw: boolean;
3069
+ readonly asInitiateReserveWithdraw: {
3070
+ readonly assets: XcmV3MultiassetMultiAssetFilter;
3071
+ readonly reserve: StagingXcmV3MultiLocation;
3072
+ readonly xcm: XcmV3Xcm;
3073
+ } & Struct;
3074
+ readonly isInitiateTeleport: boolean;
3075
+ readonly asInitiateTeleport: {
3076
+ readonly assets: XcmV3MultiassetMultiAssetFilter;
3077
+ readonly dest: StagingXcmV3MultiLocation;
3078
+ readonly xcm: XcmV3Xcm;
3079
+ } & Struct;
3080
+ readonly isReportHolding: boolean;
3081
+ readonly asReportHolding: {
3082
+ readonly responseInfo: XcmV3QueryResponseInfo;
3083
+ readonly assets: XcmV3MultiassetMultiAssetFilter;
3084
+ } & Struct;
3085
+ readonly isBuyExecution: boolean;
3086
+ readonly asBuyExecution: {
3087
+ readonly fees: XcmV3MultiAsset;
3088
+ readonly weightLimit: XcmV3WeightLimit;
3089
+ } & Struct;
3090
+ readonly isRefundSurplus: boolean;
3091
+ readonly isSetErrorHandler: boolean;
3092
+ readonly asSetErrorHandler: XcmV3Xcm;
3093
+ readonly isSetAppendix: boolean;
3094
+ readonly asSetAppendix: XcmV3Xcm;
3095
+ readonly isClearError: boolean;
3096
+ readonly isClaimAsset: boolean;
3097
+ readonly asClaimAsset: {
3098
+ readonly assets: XcmV3MultiassetMultiAssets;
3099
+ readonly ticket: StagingXcmV3MultiLocation;
3100
+ } & Struct;
3101
+ readonly isTrap: boolean;
3102
+ readonly asTrap: Compact<u64>;
3103
+ readonly isSubscribeVersion: boolean;
3104
+ readonly asSubscribeVersion: {
3105
+ readonly queryId: Compact<u64>;
3106
+ readonly maxResponseWeight: SpWeightsWeightV2Weight;
3107
+ } & Struct;
3108
+ readonly isUnsubscribeVersion: boolean;
3109
+ readonly isBurnAsset: boolean;
3110
+ readonly asBurnAsset: XcmV3MultiassetMultiAssets;
3111
+ readonly isExpectAsset: boolean;
3112
+ readonly asExpectAsset: XcmV3MultiassetMultiAssets;
3113
+ readonly isExpectOrigin: boolean;
3114
+ readonly asExpectOrigin: Option<StagingXcmV3MultiLocation>;
3115
+ readonly isExpectError: boolean;
3116
+ readonly asExpectError: Option<ITuple<[u32, XcmV3TraitsError]>>;
3117
+ readonly isExpectTransactStatus: boolean;
3118
+ readonly asExpectTransactStatus: XcmV3MaybeErrorCode;
3119
+ readonly isQueryPallet: boolean;
3120
+ readonly asQueryPallet: {
3121
+ readonly moduleName: Bytes;
3122
+ readonly responseInfo: XcmV3QueryResponseInfo;
3123
+ } & Struct;
3124
+ readonly isExpectPallet: boolean;
3125
+ readonly asExpectPallet: {
3126
+ readonly index: Compact<u32>;
3127
+ readonly name: Bytes;
3128
+ readonly moduleName: Bytes;
3129
+ readonly crateMajor: Compact<u32>;
3130
+ readonly minCrateMinor: Compact<u32>;
3131
+ } & Struct;
3132
+ readonly isReportTransactStatus: boolean;
3133
+ readonly asReportTransactStatus: XcmV3QueryResponseInfo;
3134
+ readonly isClearTransactStatus: boolean;
3135
+ readonly isUniversalOrigin: boolean;
3136
+ readonly asUniversalOrigin: XcmV3Junction;
3137
+ readonly isExportMessage: boolean;
3138
+ readonly asExportMessage: {
3139
+ readonly network: XcmV3JunctionNetworkId;
3140
+ readonly destination: XcmV3Junctions;
3141
+ readonly xcm: XcmV3Xcm;
3142
+ } & Struct;
3143
+ readonly isLockAsset: boolean;
3144
+ readonly asLockAsset: {
3145
+ readonly asset: XcmV3MultiAsset;
3146
+ readonly unlocker: StagingXcmV3MultiLocation;
3147
+ } & Struct;
3148
+ readonly isUnlockAsset: boolean;
3149
+ readonly asUnlockAsset: {
3150
+ readonly asset: XcmV3MultiAsset;
3151
+ readonly target: StagingXcmV3MultiLocation;
3152
+ } & Struct;
3153
+ readonly isNoteUnlockable: boolean;
3154
+ readonly asNoteUnlockable: {
3155
+ readonly asset: XcmV3MultiAsset;
3156
+ readonly owner: StagingXcmV3MultiLocation;
3157
+ } & Struct;
3158
+ readonly isRequestUnlock: boolean;
3159
+ readonly asRequestUnlock: {
3160
+ readonly asset: XcmV3MultiAsset;
3161
+ readonly locker: StagingXcmV3MultiLocation;
3162
+ } & Struct;
3163
+ readonly isSetFeesMode: boolean;
3164
+ readonly asSetFeesMode: {
3165
+ readonly jitWithdraw: bool;
3166
+ } & Struct;
3167
+ readonly isSetTopic: boolean;
3168
+ readonly asSetTopic: U8aFixed;
3169
+ readonly isClearTopic: boolean;
3170
+ readonly isAliasOrigin: boolean;
3171
+ readonly asAliasOrigin: StagingXcmV3MultiLocation;
3172
+ readonly isUnpaidExecution: boolean;
3173
+ readonly asUnpaidExecution: {
3174
+ readonly weightLimit: XcmV3WeightLimit;
3175
+ readonly checkOrigin: Option<StagingXcmV3MultiLocation>;
3176
+ } & Struct;
3177
+ readonly type: "WithdrawAsset" | "ReserveAssetDeposited" | "ReceiveTeleportedAsset" | "QueryResponse" | "TransferAsset" | "TransferReserveAsset" | "Transact" | "HrmpNewChannelOpenRequest" | "HrmpChannelAccepted" | "HrmpChannelClosing" | "ClearOrigin" | "DescendOrigin" | "ReportError" | "DepositAsset" | "DepositReserveAsset" | "ExchangeAsset" | "InitiateReserveWithdraw" | "InitiateTeleport" | "ReportHolding" | "BuyExecution" | "RefundSurplus" | "SetErrorHandler" | "SetAppendix" | "ClearError" | "ClaimAsset" | "Trap" | "SubscribeVersion" | "UnsubscribeVersion" | "BurnAsset" | "ExpectAsset" | "ExpectOrigin" | "ExpectError" | "ExpectTransactStatus" | "QueryPallet" | "ExpectPallet" | "ReportTransactStatus" | "ClearTransactStatus" | "UniversalOrigin" | "ExportMessage" | "LockAsset" | "UnlockAsset" | "NoteUnlockable" | "RequestUnlock" | "SetFeesMode" | "SetTopic" | "ClearTopic" | "AliasOrigin" | "UnpaidExecution";
3178
+ }
3179
+ /** @name XcmV3Response (302) */
3180
+ interface XcmV3Response extends Enum {
3181
+ readonly isNull: boolean;
3182
+ readonly isAssets: boolean;
3183
+ readonly asAssets: XcmV3MultiassetMultiAssets;
3184
+ readonly isExecutionResult: boolean;
3185
+ readonly asExecutionResult: Option<ITuple<[u32, XcmV3TraitsError]>>;
3186
+ readonly isVersion: boolean;
3187
+ readonly asVersion: u32;
3188
+ readonly isPalletsInfo: boolean;
3189
+ readonly asPalletsInfo: Vec<XcmV3PalletInfo>;
3190
+ readonly isDispatchResult: boolean;
3191
+ readonly asDispatchResult: XcmV3MaybeErrorCode;
3192
+ readonly type: "Null" | "Assets" | "ExecutionResult" | "Version" | "PalletsInfo" | "DispatchResult";
3193
+ }
3194
+ /** @name XcmV3PalletInfo (304) */
3195
+ interface XcmV3PalletInfo extends Struct {
3196
+ readonly index: Compact<u32>;
3197
+ readonly name: Bytes;
3198
+ readonly moduleName: Bytes;
3199
+ readonly major: Compact<u32>;
3200
+ readonly minor: Compact<u32>;
3201
+ readonly patch: Compact<u32>;
3202
+ }
3203
+ /** @name XcmV3QueryResponseInfo (308) */
3204
+ interface XcmV3QueryResponseInfo extends Struct {
3205
+ readonly destination: StagingXcmV3MultiLocation;
3206
+ readonly queryId: Compact<u64>;
3207
+ readonly maxWeight: SpWeightsWeightV2Weight;
3208
+ }
3209
+ /** @name XcmV3MultiassetMultiAssetFilter (309) */
3210
+ interface XcmV3MultiassetMultiAssetFilter extends Enum {
3211
+ readonly isDefinite: boolean;
3212
+ readonly asDefinite: XcmV3MultiassetMultiAssets;
3213
+ readonly isWild: boolean;
3214
+ readonly asWild: XcmV3MultiassetWildMultiAsset;
3215
+ readonly type: "Definite" | "Wild";
3216
+ }
3217
+ /** @name XcmV3MultiassetWildMultiAsset (310) */
3218
+ interface XcmV3MultiassetWildMultiAsset extends Enum {
3219
+ readonly isAll: boolean;
3220
+ readonly isAllOf: boolean;
3221
+ readonly asAllOf: {
3222
+ readonly id: XcmV3MultiassetAssetId;
3223
+ readonly fun: XcmV3MultiassetWildFungibility;
3224
+ } & Struct;
3225
+ readonly isAllCounted: boolean;
3226
+ readonly asAllCounted: Compact<u32>;
3227
+ readonly isAllOfCounted: boolean;
3228
+ readonly asAllOfCounted: {
3229
+ readonly id: XcmV3MultiassetAssetId;
3230
+ readonly fun: XcmV3MultiassetWildFungibility;
3231
+ readonly count: Compact<u32>;
3232
+ } & Struct;
3233
+ readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted";
3234
+ }
3235
+ /** @name XcmV3MultiassetWildFungibility (311) */
3236
+ interface XcmV3MultiassetWildFungibility extends Enum {
3237
+ readonly isFungible: boolean;
3238
+ readonly isNonFungible: boolean;
3239
+ readonly type: "Fungible" | "NonFungible";
3240
+ }
3241
+ /** @name StagingXcmExecutorAssetTransferTransferType (323) */
3242
+ interface StagingXcmExecutorAssetTransferTransferType extends Enum {
3243
+ readonly isTeleport: boolean;
3244
+ readonly isLocalReserve: boolean;
3245
+ readonly isDestinationReserve: boolean;
3246
+ readonly isRemoteReserve: boolean;
3247
+ readonly asRemoteReserve: XcmVersionedLocation;
3248
+ readonly type: "Teleport" | "LocalReserve" | "DestinationReserve" | "RemoteReserve";
3249
+ }
3250
+ /** @name XcmVersionedAssetId (324) */
3251
+ interface XcmVersionedAssetId extends Enum {
3252
+ readonly isV3: boolean;
3253
+ readonly asV3: XcmV3MultiassetAssetId;
3254
+ readonly isV4: boolean;
3255
+ readonly asV4: StagingXcmV4AssetAssetId;
3256
+ readonly type: "V3" | "V4";
3257
+ }
3258
+ /** @name CumulusPalletXcmCall (325) */
3259
+ type CumulusPalletXcmCall = Null;
3260
+ /** @name PalletMessageQueueCall (326) */
3261
+ interface PalletMessageQueueCall extends Enum {
3262
+ readonly isReapPage: boolean;
3263
+ readonly asReapPage: {
3264
+ readonly messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin;
3265
+ readonly pageIndex: u32;
3266
+ } & Struct;
3267
+ readonly isExecuteOverweight: boolean;
3268
+ readonly asExecuteOverweight: {
3269
+ readonly messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin;
3270
+ readonly page: u32;
3271
+ readonly index: u32;
3272
+ readonly weightLimit: SpWeightsWeightV2Weight;
3273
+ } & Struct;
3274
+ readonly type: "ReapPage" | "ExecuteOverweight";
3275
+ }
3276
+ /** @name PalletStorageProvidersCall (327) */
3277
+ interface PalletStorageProvidersCall extends Enum {
3278
+ readonly isRequestMspSignUp: boolean;
3279
+ readonly asRequestMspSignUp: {
3280
+ readonly capacity: u64;
3281
+ readonly multiaddresses: Vec<Bytes>;
3282
+ readonly valueProp: PalletStorageProvidersValueProposition;
3283
+ readonly paymentAccount: AccountId32;
3284
+ } & Struct;
3285
+ readonly isRequestBspSignUp: boolean;
3286
+ readonly asRequestBspSignUp: {
3287
+ readonly capacity: u64;
3288
+ readonly multiaddresses: Vec<Bytes>;
3289
+ readonly paymentAccount: AccountId32;
3290
+ } & Struct;
3291
+ readonly isConfirmSignUp: boolean;
3292
+ readonly asConfirmSignUp: {
3293
+ readonly providerAccount: Option<AccountId32>;
3294
+ } & Struct;
3295
+ readonly isCancelSignUp: boolean;
3296
+ readonly isMspSignOff: boolean;
3297
+ readonly isBspSignOff: boolean;
3298
+ readonly isChangeCapacity: boolean;
3299
+ readonly asChangeCapacity: {
3300
+ readonly newCapacity: u64;
3301
+ } & Struct;
3302
+ readonly isAddValueProp: boolean;
3303
+ readonly asAddValueProp: {
3304
+ readonly newValueProp: PalletStorageProvidersValueProposition;
3305
+ } & Struct;
3306
+ readonly isForceMspSignUp: boolean;
3307
+ readonly asForceMspSignUp: {
3308
+ readonly who: AccountId32;
3309
+ readonly mspId: H256;
3310
+ readonly capacity: u64;
3311
+ readonly multiaddresses: Vec<Bytes>;
3312
+ readonly valueProp: PalletStorageProvidersValueProposition;
3313
+ readonly paymentAccount: AccountId32;
3314
+ } & Struct;
3315
+ readonly isForceBspSignUp: boolean;
3316
+ readonly asForceBspSignUp: {
3317
+ readonly who: AccountId32;
3318
+ readonly bspId: H256;
3319
+ readonly capacity: u64;
3320
+ readonly multiaddresses: Vec<Bytes>;
3321
+ readonly paymentAccount: AccountId32;
3322
+ readonly weight: Option<u32>;
3323
+ } & Struct;
3324
+ readonly isSlash: boolean;
3325
+ readonly asSlash: {
3326
+ readonly providerId: H256;
3327
+ } & Struct;
3328
+ readonly type: "RequestMspSignUp" | "RequestBspSignUp" | "ConfirmSignUp" | "CancelSignUp" | "MspSignOff" | "BspSignOff" | "ChangeCapacity" | "AddValueProp" | "ForceMspSignUp" | "ForceBspSignUp" | "Slash";
3329
+ }
3330
+ /** @name PalletFileSystemCall (328) */
3331
+ interface PalletFileSystemCall extends Enum {
3332
+ readonly isCreateBucket: boolean;
3333
+ readonly asCreateBucket: {
3334
+ readonly mspId: H256;
3335
+ readonly name: Bytes;
3336
+ readonly private: bool;
3337
+ } & Struct;
3338
+ readonly isRequestMoveBucket: boolean;
3339
+ readonly asRequestMoveBucket: {
3340
+ readonly bucketId: H256;
3341
+ readonly newMspId: H256;
3342
+ } & Struct;
3343
+ readonly isMspRespondMoveBucketRequest: boolean;
3344
+ readonly asMspRespondMoveBucketRequest: {
3345
+ readonly bucketId: H256;
3346
+ readonly response: PalletFileSystemBucketMoveRequestResponse;
3347
+ } & Struct;
3348
+ readonly isUpdateBucketPrivacy: boolean;
3349
+ readonly asUpdateBucketPrivacy: {
3350
+ readonly bucketId: H256;
3351
+ readonly private: bool;
3352
+ } & Struct;
3353
+ readonly isCreateAndAssociateCollectionWithBucket: boolean;
3354
+ readonly asCreateAndAssociateCollectionWithBucket: {
3355
+ readonly bucketId: H256;
3356
+ } & Struct;
3357
+ readonly isIssueStorageRequest: boolean;
3358
+ readonly asIssueStorageRequest: {
3359
+ readonly bucketId: H256;
3360
+ readonly location: Bytes;
3361
+ readonly fingerprint: H256;
3362
+ readonly size_: u64;
3363
+ readonly mspId: H256;
3364
+ readonly peerIds: Vec<Bytes>;
3365
+ } & Struct;
3366
+ readonly isRevokeStorageRequest: boolean;
3367
+ readonly asRevokeStorageRequest: {
3368
+ readonly fileKey: H256;
3369
+ } & Struct;
3370
+ readonly isBspAddDataServerForMoveBucketRequest: boolean;
3371
+ readonly asBspAddDataServerForMoveBucketRequest: {
3372
+ readonly bucketId: H256;
3373
+ } & Struct;
3374
+ readonly isMspRespondStorageRequestsMultipleBuckets: boolean;
3375
+ readonly asMspRespondStorageRequestsMultipleBuckets: {
3376
+ readonly fileKeyResponsesInput: Vec<ITuple<[H256, PalletFileSystemMspStorageRequestResponse]>>;
3377
+ } & Struct;
3378
+ readonly isBspVolunteer: boolean;
3379
+ readonly asBspVolunteer: {
3380
+ readonly fileKey: H256;
3381
+ } & Struct;
3382
+ readonly isBspConfirmStoring: boolean;
3383
+ readonly asBspConfirmStoring: {
3384
+ readonly nonInclusionForestProof: SpTrieStorageProofCompactProof;
3385
+ readonly fileKeysAndProofs: Vec<ITuple<[H256, ShpFileKeyVerifierFileKeyProof]>>;
3386
+ } & Struct;
3387
+ readonly isBspRequestStopStoring: boolean;
3388
+ readonly asBspRequestStopStoring: {
3389
+ readonly fileKey: H256;
3390
+ readonly bucketId: H256;
3391
+ readonly location: Bytes;
3392
+ readonly owner: AccountId32;
3393
+ readonly fingerprint: H256;
3394
+ readonly size_: u64;
3395
+ readonly canServe: bool;
3396
+ readonly inclusionForestProof: SpTrieStorageProofCompactProof;
3397
+ } & Struct;
3398
+ readonly isBspConfirmStopStoring: boolean;
3399
+ readonly asBspConfirmStopStoring: {
3400
+ readonly fileKey: H256;
3401
+ readonly inclusionForestProof: SpTrieStorageProofCompactProof;
3402
+ } & Struct;
3403
+ readonly isStopStoringForInsolventUser: boolean;
3404
+ readonly asStopStoringForInsolventUser: {
3405
+ readonly fileKey: H256;
3406
+ readonly bucketId: H256;
3407
+ readonly location: Bytes;
3408
+ readonly owner: AccountId32;
3409
+ readonly fingerprint: H256;
3410
+ readonly size_: u64;
3411
+ readonly inclusionForestProof: SpTrieStorageProofCompactProof;
3412
+ } & Struct;
3413
+ readonly isDeleteFile: boolean;
3414
+ readonly asDeleteFile: {
3415
+ readonly bucketId: H256;
3416
+ readonly fileKey: H256;
3417
+ readonly location: Bytes;
3418
+ readonly size_: u64;
3419
+ readonly fingerprint: H256;
3420
+ readonly maybeInclusionForestProof: Option<SpTrieStorageProofCompactProof>;
3421
+ } & Struct;
3422
+ readonly isPendingFileDeletionRequestSubmitProof: boolean;
3423
+ readonly asPendingFileDeletionRequestSubmitProof: {
3424
+ readonly user: AccountId32;
3425
+ readonly fileKey: H256;
3426
+ readonly bucketId: H256;
3427
+ readonly forestProof: SpTrieStorageProofCompactProof;
3428
+ } & Struct;
3429
+ readonly isSetGlobalParameters: boolean;
3430
+ readonly asSetGlobalParameters: {
3431
+ readonly replicationTarget: Option<u32>;
3432
+ readonly tickRangeToMaximumThreshold: Option<u32>;
3433
+ } & Struct;
3434
+ readonly type: "CreateBucket" | "RequestMoveBucket" | "MspRespondMoveBucketRequest" | "UpdateBucketPrivacy" | "CreateAndAssociateCollectionWithBucket" | "IssueStorageRequest" | "RevokeStorageRequest" | "BspAddDataServerForMoveBucketRequest" | "MspRespondStorageRequestsMultipleBuckets" | "BspVolunteer" | "BspConfirmStoring" | "BspRequestStopStoring" | "BspConfirmStopStoring" | "StopStoringForInsolventUser" | "DeleteFile" | "PendingFileDeletionRequestSubmitProof" | "SetGlobalParameters";
3435
+ }
3436
+ /** @name PalletFileSystemBucketMoveRequestResponse (329) */
3437
+ interface PalletFileSystemBucketMoveRequestResponse extends Enum {
3438
+ readonly isAccepted: boolean;
3439
+ readonly isRejected: boolean;
3440
+ readonly type: "Accepted" | "Rejected";
3441
+ }
3442
+ /** @name PalletFileSystemMspStorageRequestResponse (332) */
3443
+ interface PalletFileSystemMspStorageRequestResponse extends Struct {
3444
+ readonly accept: Option<PalletFileSystemAcceptedStorageRequestParameters>;
3445
+ readonly reject: Option<Vec<ITuple<[H256, PalletFileSystemRejectedStorageRequestReason]>>>;
3446
+ }
3447
+ /** @name PalletFileSystemAcceptedStorageRequestParameters (334) */
3448
+ interface PalletFileSystemAcceptedStorageRequestParameters extends Struct {
3449
+ readonly fileKeysAndProofs: Vec<ITuple<[H256, ShpFileKeyVerifierFileKeyProof]>>;
3450
+ readonly nonInclusionForestProof: SpTrieStorageProofCompactProof;
3451
+ }
3452
+ /** @name PalletProofsDealerCall (341) */
3453
+ interface PalletProofsDealerCall extends Enum {
3454
+ readonly isChallenge: boolean;
3455
+ readonly asChallenge: {
3456
+ readonly key: H256;
3457
+ } & Struct;
3458
+ readonly isSubmitProof: boolean;
3459
+ readonly asSubmitProof: {
3460
+ readonly proof: PalletProofsDealerProof;
3461
+ readonly provider: Option<H256>;
3462
+ } & Struct;
3463
+ readonly isForceInitialiseChallengeCycle: boolean;
3464
+ readonly asForceInitialiseChallengeCycle: {
3465
+ readonly provider: H256;
3466
+ } & Struct;
3467
+ readonly isSetPaused: boolean;
3468
+ readonly asSetPaused: {
3469
+ readonly paused: bool;
3470
+ } & Struct;
3471
+ readonly type: "Challenge" | "SubmitProof" | "ForceInitialiseChallengeCycle" | "SetPaused";
3472
+ }
3473
+ /** @name PalletRandomnessCall (342) */
3474
+ interface PalletRandomnessCall extends Enum {
3475
+ readonly isSetBabeRandomness: boolean;
3476
+ readonly type: "SetBabeRandomness";
3477
+ }
3478
+ /** @name PalletPaymentStreamsCall (343) */
3479
+ interface PalletPaymentStreamsCall extends Enum {
3480
+ readonly isCreateFixedRatePaymentStream: boolean;
3481
+ readonly asCreateFixedRatePaymentStream: {
3482
+ readonly providerId: H256;
3483
+ readonly userAccount: AccountId32;
3484
+ readonly rate: u128;
3485
+ } & Struct;
3486
+ readonly isUpdateFixedRatePaymentStream: boolean;
3487
+ readonly asUpdateFixedRatePaymentStream: {
3488
+ readonly providerId: H256;
3489
+ readonly userAccount: AccountId32;
3490
+ readonly newRate: u128;
3491
+ } & Struct;
3492
+ readonly isDeleteFixedRatePaymentStream: boolean;
3493
+ readonly asDeleteFixedRatePaymentStream: {
3494
+ readonly providerId: H256;
3495
+ readonly userAccount: AccountId32;
3496
+ } & Struct;
3497
+ readonly isCreateDynamicRatePaymentStream: boolean;
3498
+ readonly asCreateDynamicRatePaymentStream: {
3499
+ readonly providerId: H256;
3500
+ readonly userAccount: AccountId32;
3501
+ readonly amountProvided: u64;
3502
+ } & Struct;
3503
+ readonly isUpdateDynamicRatePaymentStream: boolean;
3504
+ readonly asUpdateDynamicRatePaymentStream: {
3505
+ readonly providerId: H256;
3506
+ readonly userAccount: AccountId32;
3507
+ readonly newAmountProvided: u64;
3508
+ } & Struct;
3509
+ readonly isDeleteDynamicRatePaymentStream: boolean;
3510
+ readonly asDeleteDynamicRatePaymentStream: {
3511
+ readonly providerId: H256;
3512
+ readonly userAccount: AccountId32;
3513
+ } & Struct;
3514
+ readonly isChargePaymentStreams: boolean;
3515
+ readonly asChargePaymentStreams: {
3516
+ readonly userAccount: AccountId32;
3517
+ } & Struct;
3518
+ readonly isPayOutstandingDebt: boolean;
3519
+ readonly isClearInsolventFlag: boolean;
3520
+ readonly type: "CreateFixedRatePaymentStream" | "UpdateFixedRatePaymentStream" | "DeleteFixedRatePaymentStream" | "CreateDynamicRatePaymentStream" | "UpdateDynamicRatePaymentStream" | "DeleteDynamicRatePaymentStream" | "ChargePaymentStreams" | "PayOutstandingDebt" | "ClearInsolventFlag";
3521
+ }
3522
+ /** @name PalletBucketNftsCall (344) */
3523
+ interface PalletBucketNftsCall extends Enum {
3524
+ readonly isShareAccess: boolean;
3525
+ readonly asShareAccess: {
3526
+ readonly recipient: MultiAddress;
3527
+ readonly bucket: H256;
3528
+ readonly itemId: u32;
3529
+ readonly readAccessRegex: Option<Bytes>;
3530
+ } & Struct;
3531
+ readonly isUpdateReadAccess: boolean;
3532
+ readonly asUpdateReadAccess: {
3533
+ readonly bucket: H256;
3534
+ readonly itemId: u32;
3535
+ readonly readAccessRegex: Option<Bytes>;
3536
+ } & Struct;
3537
+ readonly type: "ShareAccess" | "UpdateReadAccess";
3538
+ }
3539
+ /** @name PalletNftsCall (346) */
3540
+ interface PalletNftsCall extends Enum {
3541
+ readonly isCreate: boolean;
3542
+ readonly asCreate: {
3543
+ readonly admin: MultiAddress;
3544
+ readonly config: PalletNftsCollectionConfig;
3545
+ } & Struct;
3546
+ readonly isForceCreate: boolean;
3547
+ readonly asForceCreate: {
3548
+ readonly owner: MultiAddress;
3549
+ readonly config: PalletNftsCollectionConfig;
3550
+ } & Struct;
3551
+ readonly isDestroy: boolean;
3552
+ readonly asDestroy: {
3553
+ readonly collection: u32;
3554
+ readonly witness: PalletNftsDestroyWitness;
3555
+ } & Struct;
3556
+ readonly isMint: boolean;
3557
+ readonly asMint: {
3558
+ readonly collection: u32;
3559
+ readonly item: u32;
3560
+ readonly mintTo: MultiAddress;
3561
+ readonly witnessData: Option<PalletNftsMintWitness>;
3562
+ } & Struct;
3563
+ readonly isForceMint: boolean;
3564
+ readonly asForceMint: {
3565
+ readonly collection: u32;
3566
+ readonly item: u32;
3567
+ readonly mintTo: MultiAddress;
3568
+ readonly itemConfig: PalletNftsItemConfig;
3569
+ } & Struct;
3570
+ readonly isBurn: boolean;
3571
+ readonly asBurn: {
3572
+ readonly collection: u32;
3573
+ readonly item: u32;
3574
+ } & Struct;
3575
+ readonly isTransfer: boolean;
3576
+ readonly asTransfer: {
3577
+ readonly collection: u32;
3578
+ readonly item: u32;
3579
+ readonly dest: MultiAddress;
3580
+ } & Struct;
3581
+ readonly isRedeposit: boolean;
3582
+ readonly asRedeposit: {
3583
+ readonly collection: u32;
3584
+ readonly items: Vec<u32>;
3585
+ } & Struct;
3586
+ readonly isLockItemTransfer: boolean;
3587
+ readonly asLockItemTransfer: {
3588
+ readonly collection: u32;
3589
+ readonly item: u32;
3590
+ } & Struct;
3591
+ readonly isUnlockItemTransfer: boolean;
3592
+ readonly asUnlockItemTransfer: {
3593
+ readonly collection: u32;
3594
+ readonly item: u32;
3595
+ } & Struct;
3596
+ readonly isLockCollection: boolean;
3597
+ readonly asLockCollection: {
3598
+ readonly collection: u32;
3599
+ readonly lockSettings: u64;
3600
+ } & Struct;
3601
+ readonly isTransferOwnership: boolean;
3602
+ readonly asTransferOwnership: {
3603
+ readonly collection: u32;
3604
+ readonly newOwner: MultiAddress;
3605
+ } & Struct;
3606
+ readonly isSetTeam: boolean;
3607
+ readonly asSetTeam: {
3608
+ readonly collection: u32;
3609
+ readonly issuer: Option<MultiAddress>;
3610
+ readonly admin: Option<MultiAddress>;
3611
+ readonly freezer: Option<MultiAddress>;
3612
+ } & Struct;
3613
+ readonly isForceCollectionOwner: boolean;
3614
+ readonly asForceCollectionOwner: {
3615
+ readonly collection: u32;
3616
+ readonly owner: MultiAddress;
3617
+ } & Struct;
3618
+ readonly isForceCollectionConfig: boolean;
3619
+ readonly asForceCollectionConfig: {
3620
+ readonly collection: u32;
3621
+ readonly config: PalletNftsCollectionConfig;
3622
+ } & Struct;
3623
+ readonly isApproveTransfer: boolean;
3624
+ readonly asApproveTransfer: {
3625
+ readonly collection: u32;
3626
+ readonly item: u32;
3627
+ readonly delegate: MultiAddress;
3628
+ readonly maybeDeadline: Option<u32>;
3629
+ } & Struct;
3630
+ readonly isCancelApproval: boolean;
3631
+ readonly asCancelApproval: {
3632
+ readonly collection: u32;
3633
+ readonly item: u32;
3634
+ readonly delegate: MultiAddress;
3635
+ } & Struct;
3636
+ readonly isClearAllTransferApprovals: boolean;
3637
+ readonly asClearAllTransferApprovals: {
3638
+ readonly collection: u32;
3639
+ readonly item: u32;
3640
+ } & Struct;
3641
+ readonly isLockItemProperties: boolean;
3642
+ readonly asLockItemProperties: {
3643
+ readonly collection: u32;
3644
+ readonly item: u32;
3645
+ readonly lockMetadata: bool;
3646
+ readonly lockAttributes: bool;
3647
+ } & Struct;
3648
+ readonly isSetAttribute: boolean;
3649
+ readonly asSetAttribute: {
3650
+ readonly collection: u32;
3651
+ readonly maybeItem: Option<u32>;
3652
+ readonly namespace: PalletNftsAttributeNamespace;
3653
+ readonly key: Bytes;
3654
+ readonly value: Bytes;
3655
+ } & Struct;
3656
+ readonly isForceSetAttribute: boolean;
3657
+ readonly asForceSetAttribute: {
3658
+ readonly setAs: Option<AccountId32>;
3659
+ readonly collection: u32;
3660
+ readonly maybeItem: Option<u32>;
3661
+ readonly namespace: PalletNftsAttributeNamespace;
3662
+ readonly key: Bytes;
3663
+ readonly value: Bytes;
3664
+ } & Struct;
3665
+ readonly isClearAttribute: boolean;
3666
+ readonly asClearAttribute: {
3667
+ readonly collection: u32;
3668
+ readonly maybeItem: Option<u32>;
3669
+ readonly namespace: PalletNftsAttributeNamespace;
3670
+ readonly key: Bytes;
3671
+ } & Struct;
3672
+ readonly isApproveItemAttributes: boolean;
3673
+ readonly asApproveItemAttributes: {
3674
+ readonly collection: u32;
3675
+ readonly item: u32;
3676
+ readonly delegate: MultiAddress;
3677
+ } & Struct;
3678
+ readonly isCancelItemAttributesApproval: boolean;
3679
+ readonly asCancelItemAttributesApproval: {
3680
+ readonly collection: u32;
3681
+ readonly item: u32;
3682
+ readonly delegate: MultiAddress;
3683
+ readonly witness: PalletNftsCancelAttributesApprovalWitness;
3684
+ } & Struct;
3685
+ readonly isSetMetadata: boolean;
3686
+ readonly asSetMetadata: {
3687
+ readonly collection: u32;
3688
+ readonly item: u32;
3689
+ readonly data: Bytes;
3690
+ } & Struct;
3691
+ readonly isClearMetadata: boolean;
3692
+ readonly asClearMetadata: {
3693
+ readonly collection: u32;
3694
+ readonly item: u32;
3695
+ } & Struct;
3696
+ readonly isSetCollectionMetadata: boolean;
3697
+ readonly asSetCollectionMetadata: {
3698
+ readonly collection: u32;
3699
+ readonly data: Bytes;
3700
+ } & Struct;
3701
+ readonly isClearCollectionMetadata: boolean;
3702
+ readonly asClearCollectionMetadata: {
3703
+ readonly collection: u32;
3704
+ } & Struct;
3705
+ readonly isSetAcceptOwnership: boolean;
3706
+ readonly asSetAcceptOwnership: {
3707
+ readonly maybeCollection: Option<u32>;
3708
+ } & Struct;
3709
+ readonly isSetCollectionMaxSupply: boolean;
3710
+ readonly asSetCollectionMaxSupply: {
3711
+ readonly collection: u32;
3712
+ readonly maxSupply: u32;
3713
+ } & Struct;
3714
+ readonly isUpdateMintSettings: boolean;
3715
+ readonly asUpdateMintSettings: {
3716
+ readonly collection: u32;
3717
+ readonly mintSettings: PalletNftsMintSettings;
3718
+ } & Struct;
3719
+ readonly isSetPrice: boolean;
3720
+ readonly asSetPrice: {
3721
+ readonly collection: u32;
3722
+ readonly item: u32;
3723
+ readonly price: Option<u128>;
3724
+ readonly whitelistedBuyer: Option<MultiAddress>;
3725
+ } & Struct;
3726
+ readonly isBuyItem: boolean;
3727
+ readonly asBuyItem: {
3728
+ readonly collection: u32;
3729
+ readonly item: u32;
3730
+ readonly bidPrice: u128;
3731
+ } & Struct;
3732
+ readonly isPayTips: boolean;
3733
+ readonly asPayTips: {
3734
+ readonly tips: Vec<PalletNftsItemTip>;
3735
+ } & Struct;
3736
+ readonly isCreateSwap: boolean;
3737
+ readonly asCreateSwap: {
3738
+ readonly offeredCollection: u32;
3739
+ readonly offeredItem: u32;
3740
+ readonly desiredCollection: u32;
3741
+ readonly maybeDesiredItem: Option<u32>;
3742
+ readonly maybePrice: Option<PalletNftsPriceWithDirection>;
3743
+ readonly duration: u32;
3744
+ } & Struct;
3745
+ readonly isCancelSwap: boolean;
3746
+ readonly asCancelSwap: {
3747
+ readonly offeredCollection: u32;
3748
+ readonly offeredItem: u32;
3749
+ } & Struct;
3750
+ readonly isClaimSwap: boolean;
3751
+ readonly asClaimSwap: {
3752
+ readonly sendCollection: u32;
3753
+ readonly sendItem: u32;
3754
+ readonly receiveCollection: u32;
3755
+ readonly receiveItem: u32;
3756
+ readonly witnessPrice: Option<PalletNftsPriceWithDirection>;
3757
+ } & Struct;
3758
+ readonly isMintPreSigned: boolean;
3759
+ readonly asMintPreSigned: {
3760
+ readonly mintData: PalletNftsPreSignedMint;
3761
+ readonly signature: SpRuntimeMultiSignature;
3762
+ readonly signer: AccountId32;
3763
+ } & Struct;
3764
+ readonly isSetAttributesPreSigned: boolean;
3765
+ readonly asSetAttributesPreSigned: {
3766
+ readonly data: PalletNftsPreSignedAttributes;
3767
+ readonly signature: SpRuntimeMultiSignature;
3768
+ readonly signer: AccountId32;
3769
+ } & Struct;
3770
+ readonly type: "Create" | "ForceCreate" | "Destroy" | "Mint" | "ForceMint" | "Burn" | "Transfer" | "Redeposit" | "LockItemTransfer" | "UnlockItemTransfer" | "LockCollection" | "TransferOwnership" | "SetTeam" | "ForceCollectionOwner" | "ForceCollectionConfig" | "ApproveTransfer" | "CancelApproval" | "ClearAllTransferApprovals" | "LockItemProperties" | "SetAttribute" | "ForceSetAttribute" | "ClearAttribute" | "ApproveItemAttributes" | "CancelItemAttributesApproval" | "SetMetadata" | "ClearMetadata" | "SetCollectionMetadata" | "ClearCollectionMetadata" | "SetAcceptOwnership" | "SetCollectionMaxSupply" | "UpdateMintSettings" | "SetPrice" | "BuyItem" | "PayTips" | "CreateSwap" | "CancelSwap" | "ClaimSwap" | "MintPreSigned" | "SetAttributesPreSigned";
3771
+ }
3772
+ /** @name PalletNftsCollectionConfig (347) */
3773
+ interface PalletNftsCollectionConfig extends Struct {
3774
+ readonly settings: u64;
3775
+ readonly maxSupply: Option<u32>;
3776
+ readonly mintSettings: PalletNftsMintSettings;
3777
+ }
3778
+ /** @name PalletNftsCollectionSetting (349) */
3779
+ interface PalletNftsCollectionSetting extends Enum {
3780
+ readonly isTransferableItems: boolean;
3781
+ readonly isUnlockedMetadata: boolean;
3782
+ readonly isUnlockedAttributes: boolean;
3783
+ readonly isUnlockedMaxSupply: boolean;
3784
+ readonly isDepositRequired: boolean;
3785
+ readonly type: "TransferableItems" | "UnlockedMetadata" | "UnlockedAttributes" | "UnlockedMaxSupply" | "DepositRequired";
3786
+ }
3787
+ /** @name PalletNftsMintSettings (350) */
3788
+ interface PalletNftsMintSettings extends Struct {
3789
+ readonly mintType: PalletNftsMintType;
3790
+ readonly price: Option<u128>;
3791
+ readonly startBlock: Option<u32>;
3792
+ readonly endBlock: Option<u32>;
3793
+ readonly defaultItemSettings: u64;
3794
+ }
3795
+ /** @name PalletNftsMintType (351) */
3796
+ interface PalletNftsMintType extends Enum {
3797
+ readonly isIssuer: boolean;
3798
+ readonly isPublic: boolean;
3799
+ readonly isHolderOf: boolean;
3800
+ readonly asHolderOf: u32;
3801
+ readonly type: "Issuer" | "Public" | "HolderOf";
3802
+ }
3803
+ /** @name PalletNftsItemSetting (354) */
3804
+ interface PalletNftsItemSetting extends Enum {
3805
+ readonly isTransferable: boolean;
3806
+ readonly isUnlockedMetadata: boolean;
3807
+ readonly isUnlockedAttributes: boolean;
3808
+ readonly type: "Transferable" | "UnlockedMetadata" | "UnlockedAttributes";
3809
+ }
3810
+ /** @name PalletNftsDestroyWitness (355) */
3811
+ interface PalletNftsDestroyWitness extends Struct {
3812
+ readonly itemMetadatas: Compact<u32>;
3813
+ readonly itemConfigs: Compact<u32>;
3814
+ readonly attributes: Compact<u32>;
3815
+ }
3816
+ /** @name PalletNftsMintWitness (357) */
3817
+ interface PalletNftsMintWitness extends Struct {
3818
+ readonly ownedItem: Option<u32>;
3819
+ readonly mintPrice: Option<u128>;
3820
+ }
3821
+ /** @name PalletNftsItemConfig (358) */
3822
+ interface PalletNftsItemConfig extends Struct {
3823
+ readonly settings: u64;
3824
+ }
3825
+ /** @name PalletNftsCancelAttributesApprovalWitness (360) */
3826
+ interface PalletNftsCancelAttributesApprovalWitness extends Struct {
3827
+ readonly accountAttributes: u32;
3828
+ }
3829
+ /** @name PalletNftsItemTip (362) */
3830
+ interface PalletNftsItemTip extends Struct {
3831
+ readonly collection: u32;
3832
+ readonly item: u32;
3833
+ readonly receiver: AccountId32;
3834
+ readonly amount: u128;
3835
+ }
3836
+ /** @name PalletNftsPreSignedMint (364) */
3837
+ interface PalletNftsPreSignedMint extends Struct {
3838
+ readonly collection: u32;
3839
+ readonly item: u32;
3840
+ readonly attributes: Vec<ITuple<[Bytes, Bytes]>>;
3841
+ readonly metadata: Bytes;
3842
+ readonly onlyAccount: Option<AccountId32>;
3843
+ readonly deadline: u32;
3844
+ readonly mintPrice: Option<u128>;
3845
+ }
3846
+ /** @name SpRuntimeMultiSignature (365) */
3847
+ interface SpRuntimeMultiSignature extends Enum {
3848
+ readonly isEd25519: boolean;
3849
+ readonly asEd25519: U8aFixed;
3850
+ readonly isSr25519: boolean;
3851
+ readonly asSr25519: U8aFixed;
3852
+ readonly isEcdsa: boolean;
3853
+ readonly asEcdsa: U8aFixed;
3854
+ readonly type: "Ed25519" | "Sr25519" | "Ecdsa";
3855
+ }
3856
+ /** @name PalletNftsPreSignedAttributes (368) */
3857
+ interface PalletNftsPreSignedAttributes extends Struct {
3858
+ readonly collection: u32;
3859
+ readonly item: u32;
3860
+ readonly attributes: Vec<ITuple<[Bytes, Bytes]>>;
3861
+ readonly namespace: PalletNftsAttributeNamespace;
3862
+ readonly deadline: u32;
3863
+ }
3864
+ /** @name PalletParametersCall (369) */
3865
+ interface PalletParametersCall extends Enum {
3866
+ readonly isSetParameter: boolean;
3867
+ readonly asSetParameter: {
3868
+ readonly keyValue: StorageHubRuntimeConfigsRuntimeParamsRuntimeParameters;
3869
+ } & Struct;
3870
+ readonly type: "SetParameter";
3871
+ }
3872
+ /** @name StorageHubRuntimeConfigsRuntimeParamsRuntimeParameters (370) */
3873
+ interface StorageHubRuntimeConfigsRuntimeParamsRuntimeParameters extends Enum {
3874
+ readonly isRuntimeConfig: boolean;
3875
+ readonly asRuntimeConfig: StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters;
3876
+ readonly type: "RuntimeConfig";
3877
+ }
3878
+ /** @name StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters (371) */
3879
+ interface StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters extends Enum {
3880
+ readonly isSlashAmountPerMaxFileSize: boolean;
3881
+ readonly asSlashAmountPerMaxFileSize: ITuple<[
3882
+ StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize,
3883
+ Option<u128>
3884
+ ]>;
3885
+ readonly isStakeToChallengePeriod: boolean;
3886
+ readonly asStakeToChallengePeriod: ITuple<[
3887
+ StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod,
3888
+ Option<u128>
3889
+ ]>;
3890
+ readonly isCheckpointChallengePeriod: boolean;
3891
+ readonly asCheckpointChallengePeriod: ITuple<[
3892
+ StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod,
3893
+ Option<u32>
3894
+ ]>;
3895
+ readonly isMinChallengePeriod: boolean;
3896
+ readonly asMinChallengePeriod: ITuple<[
3897
+ StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod,
3898
+ Option<u32>
3899
+ ]>;
3900
+ readonly type: "SlashAmountPerMaxFileSize" | "StakeToChallengePeriod" | "CheckpointChallengePeriod" | "MinChallengePeriod";
3901
+ }
3902
+ /** @name PalletSudoError (372) */
3903
+ interface PalletSudoError extends Enum {
3904
+ readonly isRequireSudo: boolean;
3905
+ readonly type: "RequireSudo";
3906
+ }
3907
+ /** @name PalletCollatorSelectionCandidateInfo (375) */
3908
+ interface PalletCollatorSelectionCandidateInfo extends Struct {
3909
+ readonly who: AccountId32;
3910
+ readonly deposit: u128;
3911
+ }
3912
+ /** @name PalletCollatorSelectionError (377) */
3913
+ interface PalletCollatorSelectionError extends Enum {
3914
+ readonly isTooManyCandidates: boolean;
3915
+ readonly isTooFewEligibleCollators: boolean;
3916
+ readonly isAlreadyCandidate: boolean;
3917
+ readonly isNotCandidate: boolean;
3918
+ readonly isTooManyInvulnerables: boolean;
3919
+ readonly isAlreadyInvulnerable: boolean;
3920
+ readonly isNotInvulnerable: boolean;
3921
+ readonly isNoAssociatedValidatorId: boolean;
3922
+ readonly isValidatorNotRegistered: boolean;
3923
+ readonly isInsertToCandidateListFailed: boolean;
3924
+ readonly isRemoveFromCandidateListFailed: boolean;
3925
+ readonly isDepositTooLow: boolean;
3926
+ readonly isUpdateCandidateListFailed: boolean;
3927
+ readonly isInsufficientBond: boolean;
3928
+ readonly isTargetIsNotCandidate: boolean;
3929
+ readonly isIdenticalDeposit: boolean;
3930
+ readonly isInvalidUnreserve: boolean;
3931
+ readonly type: "TooManyCandidates" | "TooFewEligibleCollators" | "AlreadyCandidate" | "NotCandidate" | "TooManyInvulnerables" | "AlreadyInvulnerable" | "NotInvulnerable" | "NoAssociatedValidatorId" | "ValidatorNotRegistered" | "InsertToCandidateListFailed" | "RemoveFromCandidateListFailed" | "DepositTooLow" | "UpdateCandidateListFailed" | "InsufficientBond" | "TargetIsNotCandidate" | "IdenticalDeposit" | "InvalidUnreserve";
3932
+ }
3933
+ /** @name SpCoreCryptoKeyTypeId (381) */
3934
+ interface SpCoreCryptoKeyTypeId extends U8aFixed {
3935
+ }
3936
+ /** @name PalletSessionError (382) */
3937
+ interface PalletSessionError extends Enum {
3938
+ readonly isInvalidProof: boolean;
3939
+ readonly isNoAssociatedValidatorId: boolean;
3940
+ readonly isDuplicatedKey: boolean;
3941
+ readonly isNoKeys: boolean;
3942
+ readonly isNoAccount: boolean;
3943
+ readonly type: "InvalidProof" | "NoAssociatedValidatorId" | "DuplicatedKey" | "NoKeys" | "NoAccount";
3944
+ }
3945
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (391) */
3946
+ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
3947
+ readonly recipient: u32;
3948
+ readonly state: CumulusPalletXcmpQueueOutboundState;
3949
+ readonly signalsExist: bool;
3950
+ readonly firstIndex: u16;
3951
+ readonly lastIndex: u16;
3952
+ }
3953
+ /** @name CumulusPalletXcmpQueueOutboundState (392) */
3954
+ interface CumulusPalletXcmpQueueOutboundState extends Enum {
3955
+ readonly isOk: boolean;
3956
+ readonly isSuspended: boolean;
3957
+ readonly type: "Ok" | "Suspended";
3958
+ }
3959
+ /** @name CumulusPalletXcmpQueueQueueConfigData (396) */
3960
+ interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
3961
+ readonly suspendThreshold: u32;
3962
+ readonly dropThreshold: u32;
3963
+ readonly resumeThreshold: u32;
3964
+ }
3965
+ /** @name CumulusPalletXcmpQueueError (397) */
3966
+ interface CumulusPalletXcmpQueueError extends Enum {
3967
+ readonly isBadQueueConfig: boolean;
3968
+ readonly isAlreadySuspended: boolean;
3969
+ readonly isAlreadyResumed: boolean;
3970
+ readonly isTooManyActiveOutboundChannels: boolean;
3971
+ readonly isTooBig: boolean;
3972
+ readonly type: "BadQueueConfig" | "AlreadySuspended" | "AlreadyResumed" | "TooManyActiveOutboundChannels" | "TooBig";
3973
+ }
3974
+ /** @name PalletXcmQueryStatus (398) */
3975
+ interface PalletXcmQueryStatus extends Enum {
3976
+ readonly isPending: boolean;
3977
+ readonly asPending: {
3978
+ readonly responder: XcmVersionedLocation;
3979
+ readonly maybeMatchQuerier: Option<XcmVersionedLocation>;
3980
+ readonly maybeNotify: Option<ITuple<[u8, u8]>>;
3981
+ readonly timeout: u32;
3982
+ } & Struct;
3983
+ readonly isVersionNotifier: boolean;
3984
+ readonly asVersionNotifier: {
3985
+ readonly origin: XcmVersionedLocation;
3986
+ readonly isActive: bool;
3987
+ } & Struct;
3988
+ readonly isReady: boolean;
3989
+ readonly asReady: {
3990
+ readonly response: XcmVersionedResponse;
3991
+ readonly at: u32;
3992
+ } & Struct;
3993
+ readonly type: "Pending" | "VersionNotifier" | "Ready";
3994
+ }
3995
+ /** @name XcmVersionedResponse (402) */
3996
+ interface XcmVersionedResponse extends Enum {
3997
+ readonly isV2: boolean;
3998
+ readonly asV2: XcmV2Response;
3999
+ readonly isV3: boolean;
4000
+ readonly asV3: XcmV3Response;
4001
+ readonly isV4: boolean;
4002
+ readonly asV4: StagingXcmV4Response;
4003
+ readonly type: "V2" | "V3" | "V4";
4004
+ }
4005
+ /** @name PalletXcmVersionMigrationStage (408) */
4006
+ interface PalletXcmVersionMigrationStage extends Enum {
4007
+ readonly isMigrateSupportedVersion: boolean;
4008
+ readonly isMigrateVersionNotifiers: boolean;
4009
+ readonly isNotifyCurrentTargets: boolean;
4010
+ readonly asNotifyCurrentTargets: Option<Bytes>;
4011
+ readonly isMigrateAndNotifyOldTargets: boolean;
4012
+ readonly type: "MigrateSupportedVersion" | "MigrateVersionNotifiers" | "NotifyCurrentTargets" | "MigrateAndNotifyOldTargets";
4013
+ }
4014
+ /** @name PalletXcmRemoteLockedFungibleRecord (411) */
4015
+ interface PalletXcmRemoteLockedFungibleRecord extends Struct {
4016
+ readonly amount: u128;
4017
+ readonly owner: XcmVersionedLocation;
4018
+ readonly locker: XcmVersionedLocation;
4019
+ readonly consumers: Vec<ITuple<[Null, u128]>>;
4020
+ }
4021
+ /** @name PalletXcmError (418) */
4022
+ interface PalletXcmError extends Enum {
4023
+ readonly isUnreachable: boolean;
4024
+ readonly isSendFailure: boolean;
4025
+ readonly isFiltered: boolean;
4026
+ readonly isUnweighableMessage: boolean;
4027
+ readonly isDestinationNotInvertible: boolean;
4028
+ readonly isEmpty: boolean;
4029
+ readonly isCannotReanchor: boolean;
4030
+ readonly isTooManyAssets: boolean;
4031
+ readonly isInvalidOrigin: boolean;
4032
+ readonly isBadVersion: boolean;
4033
+ readonly isBadLocation: boolean;
4034
+ readonly isNoSubscription: boolean;
4035
+ readonly isAlreadySubscribed: boolean;
4036
+ readonly isCannotCheckOutTeleport: boolean;
4037
+ readonly isLowBalance: boolean;
4038
+ readonly isTooManyLocks: boolean;
4039
+ readonly isAccountNotSovereign: boolean;
4040
+ readonly isFeesNotMet: boolean;
4041
+ readonly isLockNotFound: boolean;
4042
+ readonly isInUse: boolean;
4043
+ readonly isInvalidAssetUnknownReserve: boolean;
4044
+ readonly isInvalidAssetUnsupportedReserve: boolean;
4045
+ readonly isTooManyReserves: boolean;
4046
+ readonly isLocalExecutionIncomplete: boolean;
4047
+ readonly type: "Unreachable" | "SendFailure" | "Filtered" | "UnweighableMessage" | "DestinationNotInvertible" | "Empty" | "CannotReanchor" | "TooManyAssets" | "InvalidOrigin" | "BadVersion" | "BadLocation" | "NoSubscription" | "AlreadySubscribed" | "CannotCheckOutTeleport" | "LowBalance" | "TooManyLocks" | "AccountNotSovereign" | "FeesNotMet" | "LockNotFound" | "InUse" | "InvalidAssetUnknownReserve" | "InvalidAssetUnsupportedReserve" | "TooManyReserves" | "LocalExecutionIncomplete";
4048
+ }
4049
+ /** @name PalletMessageQueueBookState (419) */
4050
+ interface PalletMessageQueueBookState extends Struct {
4051
+ readonly begin: u32;
4052
+ readonly end: u32;
4053
+ readonly count: u32;
4054
+ readonly readyNeighbours: Option<PalletMessageQueueNeighbours>;
4055
+ readonly messageCount: u64;
4056
+ readonly size_: u64;
4057
+ }
4058
+ /** @name PalletMessageQueueNeighbours (421) */
4059
+ interface PalletMessageQueueNeighbours extends Struct {
4060
+ readonly prev: CumulusPrimitivesCoreAggregateMessageOrigin;
4061
+ readonly next: CumulusPrimitivesCoreAggregateMessageOrigin;
4062
+ }
4063
+ /** @name PalletMessageQueuePage (423) */
4064
+ interface PalletMessageQueuePage extends Struct {
4065
+ readonly remaining: u32;
4066
+ readonly remainingSize: u32;
4067
+ readonly firstIndex: u32;
4068
+ readonly first: u32;
4069
+ readonly last: u32;
4070
+ readonly heap: Bytes;
4071
+ }
4072
+ /** @name PalletMessageQueueError (425) */
4073
+ interface PalletMessageQueueError extends Enum {
4074
+ readonly isNotReapable: boolean;
4075
+ readonly isNoPage: boolean;
4076
+ readonly isNoMessage: boolean;
4077
+ readonly isAlreadyProcessed: boolean;
4078
+ readonly isQueued: boolean;
4079
+ readonly isInsufficientWeight: boolean;
4080
+ readonly isTemporarilyUnprocessable: boolean;
4081
+ readonly isQueuePaused: boolean;
4082
+ readonly isRecursiveDisallowed: boolean;
4083
+ readonly type: "NotReapable" | "NoPage" | "NoMessage" | "AlreadyProcessed" | "Queued" | "InsufficientWeight" | "TemporarilyUnprocessable" | "QueuePaused" | "RecursiveDisallowed";
4084
+ }
4085
+ /** @name PalletStorageProvidersStorageProvider (427) */
4086
+ interface PalletStorageProvidersStorageProvider extends Enum {
4087
+ readonly isBackupStorageProvider: boolean;
4088
+ readonly asBackupStorageProvider: PalletStorageProvidersBackupStorageProvider;
4089
+ readonly isMainStorageProvider: boolean;
4090
+ readonly asMainStorageProvider: PalletStorageProvidersMainStorageProvider;
4091
+ readonly type: "BackupStorageProvider" | "MainStorageProvider";
4092
+ }
4093
+ /** @name PalletStorageProvidersBackupStorageProvider (428) */
4094
+ interface PalletStorageProvidersBackupStorageProvider extends Struct {
4095
+ readonly capacity: u64;
4096
+ readonly capacityUsed: u64;
4097
+ readonly multiaddresses: Vec<Bytes>;
4098
+ readonly root: H256;
4099
+ readonly lastCapacityChange: u32;
4100
+ readonly ownerAccount: AccountId32;
4101
+ readonly paymentAccount: AccountId32;
4102
+ readonly reputationWeight: u32;
4103
+ }
4104
+ /** @name PalletStorageProvidersMainStorageProvider (429) */
4105
+ interface PalletStorageProvidersMainStorageProvider extends Struct {
4106
+ readonly buckets: Vec<PalletStorageProvidersBucket>;
4107
+ readonly capacity: u64;
4108
+ readonly capacityUsed: u64;
4109
+ readonly multiaddresses: Vec<Bytes>;
4110
+ readonly valueProp: PalletStorageProvidersValueProposition;
4111
+ readonly lastCapacityChange: u32;
4112
+ readonly ownerAccount: AccountId32;
4113
+ readonly paymentAccount: AccountId32;
4114
+ }
4115
+ /** @name PalletStorageProvidersBucket (431) */
4116
+ interface PalletStorageProvidersBucket extends Struct {
4117
+ readonly root: H256;
4118
+ readonly userId: AccountId32;
4119
+ readonly mspId: H256;
4120
+ readonly private: bool;
4121
+ readonly readAccessGroupId: Option<u32>;
4122
+ readonly size_: u64;
4123
+ }
4124
+ /** @name PalletStorageProvidersError (434) */
4125
+ interface PalletStorageProvidersError extends Enum {
4126
+ readonly isAlreadyRegistered: boolean;
4127
+ readonly isSignUpNotRequested: boolean;
4128
+ readonly isSignUpRequestPending: boolean;
4129
+ readonly isNoMultiAddress: boolean;
4130
+ readonly isInvalidMultiAddress: boolean;
4131
+ readonly isStorageTooLow: boolean;
4132
+ readonly isNotEnoughBalance: boolean;
4133
+ readonly isCannotHoldDeposit: boolean;
4134
+ readonly isStorageStillInUse: boolean;
4135
+ readonly isRandomnessNotValidYet: boolean;
4136
+ readonly isSignUpRequestExpired: boolean;
4137
+ readonly isNewCapacityLessThanUsedStorage: boolean;
4138
+ readonly isNewCapacityEqualsCurrentCapacity: boolean;
4139
+ readonly isNewCapacityCantBeZero: boolean;
4140
+ readonly isNotEnoughTimePassed: boolean;
4141
+ readonly isNewUsedCapacityExceedsStorageCapacity: boolean;
4142
+ readonly isNotRegistered: boolean;
4143
+ readonly isNoUserId: boolean;
4144
+ readonly isNoBucketId: boolean;
4145
+ readonly isSpRegisteredButDataNotFound: boolean;
4146
+ readonly isBucketNotFound: boolean;
4147
+ readonly isBucketAlreadyExists: boolean;
4148
+ readonly isAppendBucketToMspFailed: boolean;
4149
+ readonly isProviderNotSlashable: boolean;
4150
+ readonly isInvalidEncodedFileMetadata: boolean;
4151
+ readonly isInvalidEncodedAccountId: boolean;
4152
+ readonly isPaymentStreamNotFound: boolean;
4153
+ readonly type: "AlreadyRegistered" | "SignUpNotRequested" | "SignUpRequestPending" | "NoMultiAddress" | "InvalidMultiAddress" | "StorageTooLow" | "NotEnoughBalance" | "CannotHoldDeposit" | "StorageStillInUse" | "RandomnessNotValidYet" | "SignUpRequestExpired" | "NewCapacityLessThanUsedStorage" | "NewCapacityEqualsCurrentCapacity" | "NewCapacityCantBeZero" | "NotEnoughTimePassed" | "NewUsedCapacityExceedsStorageCapacity" | "NotRegistered" | "NoUserId" | "NoBucketId" | "SpRegisteredButDataNotFound" | "BucketNotFound" | "BucketAlreadyExists" | "AppendBucketToMspFailed" | "ProviderNotSlashable" | "InvalidEncodedFileMetadata" | "InvalidEncodedAccountId" | "PaymentStreamNotFound";
4154
+ }
4155
+ /** @name PalletFileSystemStorageRequestMetadata (435) */
4156
+ interface PalletFileSystemStorageRequestMetadata extends Struct {
4157
+ readonly requestedAt: u32;
4158
+ readonly owner: AccountId32;
4159
+ readonly bucketId: H256;
4160
+ readonly location: Bytes;
4161
+ readonly fingerprint: H256;
4162
+ readonly size_: u64;
4163
+ readonly msp: Option<ITuple<[H256, bool]>>;
4164
+ readonly userPeerIds: Vec<Bytes>;
4165
+ readonly dataServerSps: Vec<H256>;
4166
+ readonly bspsRequired: u32;
4167
+ readonly bspsConfirmed: u32;
4168
+ readonly bspsVolunteered: u32;
4169
+ }
4170
+ /** @name PalletFileSystemStorageRequestBspsMetadata (440) */
4171
+ interface PalletFileSystemStorageRequestBspsMetadata extends Struct {
4172
+ readonly confirmed: bool;
4173
+ }
4174
+ /** @name PalletFileSystemMoveBucketRequestMetadata (449) */
4175
+ interface PalletFileSystemMoveBucketRequestMetadata extends Struct {
4176
+ readonly requester: AccountId32;
4177
+ }
4178
+ /** @name PalletFileSystemError (450) */
4179
+ interface PalletFileSystemError extends Enum {
4180
+ readonly isStorageRequestAlreadyRegistered: boolean;
4181
+ readonly isStorageRequestNotFound: boolean;
4182
+ readonly isStorageRequestNotRevoked: boolean;
4183
+ readonly isStorageRequestExists: boolean;
4184
+ readonly isReplicationTargetCannotBeZero: boolean;
4185
+ readonly isBspsRequiredExceedsTarget: boolean;
4186
+ readonly isNotABsp: boolean;
4187
+ readonly isNotAMsp: boolean;
4188
+ readonly isNotASp: boolean;
4189
+ readonly isBspNotVolunteered: boolean;
4190
+ readonly isBspNotConfirmed: boolean;
4191
+ readonly isBspAlreadyConfirmed: boolean;
4192
+ readonly isStorageRequestBspsRequiredFulfilled: boolean;
4193
+ readonly isBspAlreadyVolunteered: boolean;
4194
+ readonly isInsufficientAvailableCapacity: boolean;
4195
+ readonly isUnexpectedNumberOfRemovedVolunteeredBsps: boolean;
4196
+ readonly isStorageRequestExpiredNoSlotAvailable: boolean;
4197
+ readonly isStorageRequestNotAuthorized: boolean;
4198
+ readonly isMaxBlockNumberReached: boolean;
4199
+ readonly isFailedToEncodeBsp: boolean;
4200
+ readonly isFailedToEncodeFingerprint: boolean;
4201
+ readonly isFailedToDecodeThreshold: boolean;
4202
+ readonly isAboveThreshold: boolean;
4203
+ readonly isThresholdArithmeticError: boolean;
4204
+ readonly isFailedTypeConversion: boolean;
4205
+ readonly isDividedByZero: boolean;
4206
+ readonly isImpossibleFailedToGetValue: boolean;
4207
+ readonly isBucketIsNotPrivate: boolean;
4208
+ readonly isBucketNotFound: boolean;
4209
+ readonly isNotBucketOwner: boolean;
4210
+ readonly isProviderRootNotFound: boolean;
4211
+ readonly isExpectedNonInclusionProof: boolean;
4212
+ readonly isExpectedInclusionProof: boolean;
4213
+ readonly isInvalidFileKeyMetadata: boolean;
4214
+ readonly isThresholdBelowAsymptote: boolean;
4215
+ readonly isNotFileOwner: boolean;
4216
+ readonly isFileKeyAlreadyPendingDeletion: boolean;
4217
+ readonly isMaxUserPendingDeletionRequestsReached: boolean;
4218
+ readonly isMspNotStoringBucket: boolean;
4219
+ readonly isFileKeyNotPendingDeletion: boolean;
4220
+ readonly isFileSizeCannotBeZero: boolean;
4221
+ readonly isNoGlobalReputationWeightSet: boolean;
4222
+ readonly isMaximumThresholdCannotBeZero: boolean;
4223
+ readonly isTickRangeToMaximumThresholdCannotBeZero: boolean;
4224
+ readonly isPendingStopStoringRequestNotFound: boolean;
4225
+ readonly isMinWaitForStopStoringNotReached: boolean;
4226
+ readonly isPendingStopStoringRequestAlreadyExists: boolean;
4227
+ readonly isUserNotInsolvent: boolean;
4228
+ readonly isNotSelectedMsp: boolean;
4229
+ readonly isMspAlreadyConfirmed: boolean;
4230
+ readonly isRequestWithoutMsp: boolean;
4231
+ readonly isMspAlreadyStoringBucket: boolean;
4232
+ readonly isMoveBucketRequestNotFound: boolean;
4233
+ readonly isBucketIsBeingMoved: boolean;
4234
+ readonly isBspAlreadyDataServer: boolean;
4235
+ readonly isBspDataServersExceeded: boolean;
4236
+ readonly isFileMetadataProcessingQueueFull: boolean;
4237
+ readonly isTooManyBatchResponses: boolean;
4238
+ readonly isTooManyStorageRequestResponses: boolean;
4239
+ readonly isInvalidBucketIdFileKeyPair: boolean;
4240
+ readonly isInconsistentStateKeyAlreadyExists: boolean;
4241
+ readonly type: "StorageRequestAlreadyRegistered" | "StorageRequestNotFound" | "StorageRequestNotRevoked" | "StorageRequestExists" | "ReplicationTargetCannotBeZero" | "BspsRequiredExceedsTarget" | "NotABsp" | "NotAMsp" | "NotASp" | "BspNotVolunteered" | "BspNotConfirmed" | "BspAlreadyConfirmed" | "StorageRequestBspsRequiredFulfilled" | "BspAlreadyVolunteered" | "InsufficientAvailableCapacity" | "UnexpectedNumberOfRemovedVolunteeredBsps" | "StorageRequestExpiredNoSlotAvailable" | "StorageRequestNotAuthorized" | "MaxBlockNumberReached" | "FailedToEncodeBsp" | "FailedToEncodeFingerprint" | "FailedToDecodeThreshold" | "AboveThreshold" | "ThresholdArithmeticError" | "FailedTypeConversion" | "DividedByZero" | "ImpossibleFailedToGetValue" | "BucketIsNotPrivate" | "BucketNotFound" | "NotBucketOwner" | "ProviderRootNotFound" | "ExpectedNonInclusionProof" | "ExpectedInclusionProof" | "InvalidFileKeyMetadata" | "ThresholdBelowAsymptote" | "NotFileOwner" | "FileKeyAlreadyPendingDeletion" | "MaxUserPendingDeletionRequestsReached" | "MspNotStoringBucket" | "FileKeyNotPendingDeletion" | "FileSizeCannotBeZero" | "NoGlobalReputationWeightSet" | "MaximumThresholdCannotBeZero" | "TickRangeToMaximumThresholdCannotBeZero" | "PendingStopStoringRequestNotFound" | "MinWaitForStopStoringNotReached" | "PendingStopStoringRequestAlreadyExists" | "UserNotInsolvent" | "NotSelectedMsp" | "MspAlreadyConfirmed" | "RequestWithoutMsp" | "MspAlreadyStoringBucket" | "MoveBucketRequestNotFound" | "BucketIsBeingMoved" | "BspAlreadyDataServer" | "BspDataServersExceeded" | "FileMetadataProcessingQueueFull" | "TooManyBatchResponses" | "TooManyStorageRequestResponses" | "InvalidBucketIdFileKeyPair" | "InconsistentStateKeyAlreadyExists";
4242
+ }
4243
+ /** @name PalletProofsDealerError (457) */
4244
+ interface PalletProofsDealerError extends Enum {
4245
+ readonly isNotProvider: boolean;
4246
+ readonly isChallengesQueueOverflow: boolean;
4247
+ readonly isPriorityChallengesQueueOverflow: boolean;
4248
+ readonly isFeeChargeFailed: boolean;
4249
+ readonly isEmptyKeyProofs: boolean;
4250
+ readonly isProviderRootNotFound: boolean;
4251
+ readonly isZeroRoot: boolean;
4252
+ readonly isNoRecordOfLastSubmittedProof: boolean;
4253
+ readonly isProviderStakeNotFound: boolean;
4254
+ readonly isZeroStake: boolean;
4255
+ readonly isStakeCouldNotBeConverted: boolean;
4256
+ readonly isChallengesTickNotReached: boolean;
4257
+ readonly isChallengesTickTooOld: boolean;
4258
+ readonly isChallengesTickTooLate: boolean;
4259
+ readonly isSeedNotFound: boolean;
4260
+ readonly isCheckpointChallengesNotFound: boolean;
4261
+ readonly isForestProofVerificationFailed: boolean;
4262
+ readonly isKeyProofNotFound: boolean;
4263
+ readonly isKeyProofVerificationFailed: boolean;
4264
+ readonly isFailedToApplyDelta: boolean;
4265
+ readonly isFailedToUpdateProviderAfterKeyRemoval: boolean;
4266
+ readonly isTooManyValidProofSubmitters: boolean;
4267
+ readonly type: "NotProvider" | "ChallengesQueueOverflow" | "PriorityChallengesQueueOverflow" | "FeeChargeFailed" | "EmptyKeyProofs" | "ProviderRootNotFound" | "ZeroRoot" | "NoRecordOfLastSubmittedProof" | "ProviderStakeNotFound" | "ZeroStake" | "StakeCouldNotBeConverted" | "ChallengesTickNotReached" | "ChallengesTickTooOld" | "ChallengesTickTooLate" | "SeedNotFound" | "CheckpointChallengesNotFound" | "ForestProofVerificationFailed" | "KeyProofNotFound" | "KeyProofVerificationFailed" | "FailedToApplyDelta" | "FailedToUpdateProviderAfterKeyRemoval" | "TooManyValidProofSubmitters";
4268
+ }
4269
+ /** @name PalletPaymentStreamsFixedRatePaymentStream (460) */
4270
+ interface PalletPaymentStreamsFixedRatePaymentStream extends Struct {
4271
+ readonly rate: u128;
4272
+ readonly lastChargedTick: u32;
4273
+ readonly userDeposit: u128;
4274
+ readonly outOfFundsTick: Option<u32>;
4275
+ }
4276
+ /** @name PalletPaymentStreamsDynamicRatePaymentStream (461) */
4277
+ interface PalletPaymentStreamsDynamicRatePaymentStream extends Struct {
4278
+ readonly amountProvided: u64;
4279
+ readonly priceIndexWhenLastCharged: u128;
4280
+ readonly userDeposit: u128;
4281
+ readonly outOfFundsTick: Option<u32>;
4282
+ }
4283
+ /** @name PalletPaymentStreamsProviderLastChargeableInfo (462) */
4284
+ interface PalletPaymentStreamsProviderLastChargeableInfo extends Struct {
4285
+ readonly lastChargeableTick: u32;
4286
+ readonly priceIndex: u128;
4287
+ }
4288
+ /** @name PalletPaymentStreamsError (463) */
4289
+ interface PalletPaymentStreamsError extends Enum {
4290
+ readonly isPaymentStreamAlreadyExists: boolean;
4291
+ readonly isPaymentStreamNotFound: boolean;
4292
+ readonly isNotAProvider: boolean;
4293
+ readonly isProviderInconsistencyError: boolean;
4294
+ readonly isCannotHoldDeposit: boolean;
4295
+ readonly isUpdateRateToSameRate: boolean;
4296
+ readonly isUpdateAmountToSameAmount: boolean;
4297
+ readonly isRateCantBeZero: boolean;
4298
+ readonly isAmountProvidedCantBeZero: boolean;
4299
+ readonly isLastChargedGreaterThanLastChargeable: boolean;
4300
+ readonly isInvalidLastChargeableBlockNumber: boolean;
4301
+ readonly isInvalidLastChargeablePriceIndex: boolean;
4302
+ readonly isChargeOverflow: boolean;
4303
+ readonly isUserWithoutFunds: boolean;
4304
+ readonly isUserNotFlaggedAsWithoutFunds: boolean;
4305
+ readonly isCooldownPeriodNotPassed: boolean;
4306
+ readonly type: "PaymentStreamAlreadyExists" | "PaymentStreamNotFound" | "NotAProvider" | "ProviderInconsistencyError" | "CannotHoldDeposit" | "UpdateRateToSameRate" | "UpdateAmountToSameAmount" | "RateCantBeZero" | "AmountProvidedCantBeZero" | "LastChargedGreaterThanLastChargeable" | "InvalidLastChargeableBlockNumber" | "InvalidLastChargeablePriceIndex" | "ChargeOverflow" | "UserWithoutFunds" | "UserNotFlaggedAsWithoutFunds" | "CooldownPeriodNotPassed";
4307
+ }
4308
+ /** @name PalletBucketNftsError (464) */
4309
+ interface PalletBucketNftsError extends Enum {
4310
+ readonly isBucketIsNotPrivate: boolean;
4311
+ readonly isNotBucketOwner: boolean;
4312
+ readonly isNoCorrespondingCollection: boolean;
4313
+ readonly isConvertBytesToBoundedVec: boolean;
4314
+ readonly type: "BucketIsNotPrivate" | "NotBucketOwner" | "NoCorrespondingCollection" | "ConvertBytesToBoundedVec";
4315
+ }
4316
+ /** @name PalletNftsCollectionDetails (465) */
4317
+ interface PalletNftsCollectionDetails extends Struct {
4318
+ readonly owner: AccountId32;
4319
+ readonly ownerDeposit: u128;
4320
+ readonly items: u32;
4321
+ readonly itemMetadatas: u32;
4322
+ readonly itemConfigs: u32;
4323
+ readonly attributes: u32;
4324
+ }
4325
+ /** @name PalletNftsCollectionRole (470) */
4326
+ interface PalletNftsCollectionRole extends Enum {
4327
+ readonly isIssuer: boolean;
4328
+ readonly isFreezer: boolean;
4329
+ readonly isAdmin: boolean;
4330
+ readonly type: "Issuer" | "Freezer" | "Admin";
4331
+ }
4332
+ /** @name PalletNftsItemDetails (471) */
4333
+ interface PalletNftsItemDetails extends Struct {
4334
+ readonly owner: AccountId32;
4335
+ readonly approvals: BTreeMap<AccountId32, Option<u32>>;
4336
+ readonly deposit: PalletNftsItemDeposit;
4337
+ }
4338
+ /** @name PalletNftsItemDeposit (472) */
4339
+ interface PalletNftsItemDeposit extends Struct {
4340
+ readonly account: AccountId32;
4341
+ readonly amount: u128;
4342
+ }
4343
+ /** @name PalletNftsCollectionMetadata (477) */
4344
+ interface PalletNftsCollectionMetadata extends Struct {
4345
+ readonly deposit: u128;
4346
+ readonly data: Bytes;
4347
+ }
4348
+ /** @name PalletNftsItemMetadata (478) */
4349
+ interface PalletNftsItemMetadata extends Struct {
4350
+ readonly deposit: PalletNftsItemMetadataDeposit;
4351
+ readonly data: Bytes;
4352
+ }
4353
+ /** @name PalletNftsItemMetadataDeposit (479) */
4354
+ interface PalletNftsItemMetadataDeposit extends Struct {
4355
+ readonly account: Option<AccountId32>;
4356
+ readonly amount: u128;
4357
+ }
4358
+ /** @name PalletNftsAttributeDeposit (482) */
4359
+ interface PalletNftsAttributeDeposit extends Struct {
4360
+ readonly account: Option<AccountId32>;
4361
+ readonly amount: u128;
4362
+ }
4363
+ /** @name PalletNftsPendingSwap (486) */
4364
+ interface PalletNftsPendingSwap extends Struct {
4365
+ readonly desiredCollection: u32;
4366
+ readonly desiredItem: Option<u32>;
4367
+ readonly price: Option<PalletNftsPriceWithDirection>;
4368
+ readonly deadline: u32;
4369
+ }
4370
+ /** @name PalletNftsPalletFeature (488) */
4371
+ interface PalletNftsPalletFeature extends Enum {
4372
+ readonly isTrading: boolean;
4373
+ readonly isAttributes: boolean;
4374
+ readonly isApprovals: boolean;
4375
+ readonly isSwaps: boolean;
4376
+ readonly type: "Trading" | "Attributes" | "Approvals" | "Swaps";
4377
+ }
4378
+ /** @name PalletNftsError (489) */
4379
+ interface PalletNftsError extends Enum {
4380
+ readonly isNoPermission: boolean;
4381
+ readonly isUnknownCollection: boolean;
4382
+ readonly isAlreadyExists: boolean;
4383
+ readonly isApprovalExpired: boolean;
4384
+ readonly isWrongOwner: boolean;
4385
+ readonly isBadWitness: boolean;
4386
+ readonly isCollectionIdInUse: boolean;
4387
+ readonly isItemsNonTransferable: boolean;
4388
+ readonly isNotDelegate: boolean;
4389
+ readonly isWrongDelegate: boolean;
4390
+ readonly isUnapproved: boolean;
4391
+ readonly isUnaccepted: boolean;
4392
+ readonly isItemLocked: boolean;
4393
+ readonly isLockedItemAttributes: boolean;
4394
+ readonly isLockedCollectionAttributes: boolean;
4395
+ readonly isLockedItemMetadata: boolean;
4396
+ readonly isLockedCollectionMetadata: boolean;
4397
+ readonly isMaxSupplyReached: boolean;
4398
+ readonly isMaxSupplyLocked: boolean;
4399
+ readonly isMaxSupplyTooSmall: boolean;
4400
+ readonly isUnknownItem: boolean;
4401
+ readonly isUnknownSwap: boolean;
4402
+ readonly isMetadataNotFound: boolean;
4403
+ readonly isAttributeNotFound: boolean;
4404
+ readonly isNotForSale: boolean;
4405
+ readonly isBidTooLow: boolean;
4406
+ readonly isReachedApprovalLimit: boolean;
4407
+ readonly isDeadlineExpired: boolean;
4408
+ readonly isWrongDuration: boolean;
4409
+ readonly isMethodDisabled: boolean;
4410
+ readonly isWrongSetting: boolean;
4411
+ readonly isInconsistentItemConfig: boolean;
4412
+ readonly isNoConfig: boolean;
4413
+ readonly isRolesNotCleared: boolean;
4414
+ readonly isMintNotStarted: boolean;
4415
+ readonly isMintEnded: boolean;
4416
+ readonly isAlreadyClaimed: boolean;
4417
+ readonly isIncorrectData: boolean;
4418
+ readonly isWrongOrigin: boolean;
4419
+ readonly isWrongSignature: boolean;
4420
+ readonly isIncorrectMetadata: boolean;
4421
+ readonly isMaxAttributesLimitReached: boolean;
4422
+ readonly isWrongNamespace: boolean;
4423
+ readonly isCollectionNotEmpty: boolean;
4424
+ readonly isWitnessRequired: boolean;
4425
+ readonly type: "NoPermission" | "UnknownCollection" | "AlreadyExists" | "ApprovalExpired" | "WrongOwner" | "BadWitness" | "CollectionIdInUse" | "ItemsNonTransferable" | "NotDelegate" | "WrongDelegate" | "Unapproved" | "Unaccepted" | "ItemLocked" | "LockedItemAttributes" | "LockedCollectionAttributes" | "LockedItemMetadata" | "LockedCollectionMetadata" | "MaxSupplyReached" | "MaxSupplyLocked" | "MaxSupplyTooSmall" | "UnknownItem" | "UnknownSwap" | "MetadataNotFound" | "AttributeNotFound" | "NotForSale" | "BidTooLow" | "ReachedApprovalLimit" | "DeadlineExpired" | "WrongDuration" | "MethodDisabled" | "WrongSetting" | "InconsistentItemConfig" | "NoConfig" | "RolesNotCleared" | "MintNotStarted" | "MintEnded" | "AlreadyClaimed" | "IncorrectData" | "WrongOrigin" | "WrongSignature" | "IncorrectMetadata" | "MaxAttributesLimitReached" | "WrongNamespace" | "CollectionNotEmpty" | "WitnessRequired";
4426
+ }
4427
+ /** @name FrameSystemExtensionsCheckNonZeroSender (492) */
4428
+ type FrameSystemExtensionsCheckNonZeroSender = Null;
4429
+ /** @name FrameSystemExtensionsCheckSpecVersion (493) */
4430
+ type FrameSystemExtensionsCheckSpecVersion = Null;
4431
+ /** @name FrameSystemExtensionsCheckTxVersion (494) */
4432
+ type FrameSystemExtensionsCheckTxVersion = Null;
4433
+ /** @name FrameSystemExtensionsCheckGenesis (495) */
4434
+ type FrameSystemExtensionsCheckGenesis = Null;
4435
+ /** @name FrameSystemExtensionsCheckNonce (498) */
4436
+ interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
4437
+ }
4438
+ /** @name FrameSystemExtensionsCheckWeight (499) */
4439
+ type FrameSystemExtensionsCheckWeight = Null;
4440
+ /** @name PalletTransactionPaymentChargeTransactionPayment (500) */
4441
+ interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
4442
+ }
4443
+ /** @name CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim (501) */
4444
+ type CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim = Null;
4445
+ /** @name FrameMetadataHashExtensionCheckMetadataHash (502) */
4446
+ interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
4447
+ readonly mode: FrameMetadataHashExtensionMode;
4448
+ }
4449
+ /** @name FrameMetadataHashExtensionMode (503) */
4450
+ interface FrameMetadataHashExtensionMode extends Enum {
4451
+ readonly isDisabled: boolean;
4452
+ readonly isEnabled: boolean;
4453
+ readonly type: "Disabled" | "Enabled";
4454
+ }
4455
+ /** @name StorageHubRuntimeRuntime (504) */
4456
+ type StorageHubRuntimeRuntime = Null;
4457
+ }