@dedot/chaintypes 0.0.1-alpha.100

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 (105) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +5 -0
  3. package/aleph/consts.d.ts +676 -0
  4. package/aleph/errors.d.ts +1054 -0
  5. package/aleph/events.d.ts +1201 -0
  6. package/aleph/index.d.ts +27 -0
  7. package/aleph/json-rpc.d.ts +85 -0
  8. package/aleph/query.d.ts +1573 -0
  9. package/aleph/runtime.d.ts +596 -0
  10. package/aleph/tx.d.ts +3440 -0
  11. package/aleph/types.d.ts +3951 -0
  12. package/astar/consts.d.ts +737 -0
  13. package/astar/errors.d.ts +1508 -0
  14. package/astar/events.d.ts +1878 -0
  15. package/astar/index.d.ts +27 -0
  16. package/astar/json-rpc.d.ts +131 -0
  17. package/astar/query.d.ts +1851 -0
  18. package/astar/runtime.d.ts +803 -0
  19. package/astar/tx.d.ts +4516 -0
  20. package/astar/types.d.ts +6141 -0
  21. package/index.d.ts +11 -0
  22. package/index.js +1 -0
  23. package/index.ts +11 -0
  24. package/kusama/consts.d.ts +1578 -0
  25. package/kusama/errors.d.ts +3152 -0
  26. package/kusama/events.d.ts +3579 -0
  27. package/kusama/index.d.ts +27 -0
  28. package/kusama/json-rpc.d.ts +103 -0
  29. package/kusama/query.d.ts +4229 -0
  30. package/kusama/runtime.d.ts +1196 -0
  31. package/kusama/tx.d.ts +9040 -0
  32. package/kusama/types.d.ts +11369 -0
  33. package/kusamaAssetHub/consts.d.ts +759 -0
  34. package/kusamaAssetHub/errors.d.ts +1494 -0
  35. package/kusamaAssetHub/events.d.ts +2491 -0
  36. package/kusamaAssetHub/index.d.ts +27 -0
  37. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  38. package/kusamaAssetHub/query.d.ts +1662 -0
  39. package/kusamaAssetHub/runtime.d.ts +555 -0
  40. package/kusamaAssetHub/tx.d.ts +6192 -0
  41. package/kusamaAssetHub/types.d.ts +6831 -0
  42. package/moonbeam/consts.d.ts +1010 -0
  43. package/moonbeam/errors.d.ts +1932 -0
  44. package/moonbeam/events.d.ts +2928 -0
  45. package/moonbeam/index.d.ts +27 -0
  46. package/moonbeam/json-rpc.d.ts +137 -0
  47. package/moonbeam/query.d.ts +2282 -0
  48. package/moonbeam/runtime.d.ts +724 -0
  49. package/moonbeam/tx.d.ts +6222 -0
  50. package/moonbeam/types.d.ts +8165 -0
  51. package/package.json +25 -0
  52. package/polkadot/consts.d.ts +1313 -0
  53. package/polkadot/errors.d.ts +2575 -0
  54. package/polkadot/events.d.ts +2757 -0
  55. package/polkadot/index.d.ts +27 -0
  56. package/polkadot/json-rpc.d.ts +103 -0
  57. package/polkadot/query.d.ts +3693 -0
  58. package/polkadot/runtime.d.ts +1196 -0
  59. package/polkadot/tx.d.ts +7706 -0
  60. package/polkadot/types.d.ts +9893 -0
  61. package/polkadotAssetHub/consts.d.ts +724 -0
  62. package/polkadotAssetHub/errors.d.ts +1465 -0
  63. package/polkadotAssetHub/events.d.ts +2462 -0
  64. package/polkadotAssetHub/index.d.ts +27 -0
  65. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  66. package/polkadotAssetHub/query.d.ts +1640 -0
  67. package/polkadotAssetHub/runtime.d.ts +558 -0
  68. package/polkadotAssetHub/tx.d.ts +6121 -0
  69. package/polkadotAssetHub/types.d.ts +6739 -0
  70. package/rococo/consts.d.ts +1423 -0
  71. package/rococo/errors.d.ts +2783 -0
  72. package/rococo/events.d.ts +3361 -0
  73. package/rococo/index.d.ts +27 -0
  74. package/rococo/json-rpc.d.ts +103 -0
  75. package/rococo/query.d.ts +3561 -0
  76. package/rococo/runtime.d.ts +1257 -0
  77. package/rococo/tx.d.ts +10721 -0
  78. package/rococo/types.d.ts +14828 -0
  79. package/rococoAssetHub/consts.d.ts +787 -0
  80. package/rococoAssetHub/errors.d.ts +1523 -0
  81. package/rococoAssetHub/events.d.ts +2517 -0
  82. package/rococoAssetHub/index.d.ts +27 -0
  83. package/rococoAssetHub/json-rpc.d.ts +89 -0
  84. package/rococoAssetHub/query.d.ts +1682 -0
  85. package/rococoAssetHub/runtime.d.ts +704 -0
  86. package/rococoAssetHub/tx.d.ts +9013 -0
  87. package/rococoAssetHub/types.d.ts +12352 -0
  88. package/substrate/consts.d.ts +2223 -0
  89. package/substrate/errors.d.ts +4023 -0
  90. package/substrate/events.d.ts +5430 -0
  91. package/substrate/index.d.ts +27 -0
  92. package/substrate/json-rpc.d.ts +101 -0
  93. package/substrate/query.d.ts +4083 -0
  94. package/substrate/runtime.d.ts +971 -0
  95. package/substrate/tx.d.ts +12501 -0
  96. package/substrate/types.d.ts +13380 -0
  97. package/westendAssetHub/consts.d.ts +787 -0
  98. package/westendAssetHub/errors.d.ts +1523 -0
  99. package/westendAssetHub/events.d.ts +2477 -0
  100. package/westendAssetHub/index.d.ts +27 -0
  101. package/westendAssetHub/json-rpc.d.ts +89 -0
  102. package/westendAssetHub/query.d.ts +1656 -0
  103. package/westendAssetHub/runtime.d.ts +652 -0
  104. package/westendAssetHub/tx.d.ts +8984 -0
  105. package/westendAssetHub/types.d.ts +12292 -0
@@ -0,0 +1,787 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
+ import type { RuntimeVersion, Bytes, Permill } from 'dedot/codecs';
5
+ import type {
6
+ FrameSystemLimitsBlockWeights,
7
+ FrameSystemLimitsBlockLength,
8
+ SpWeightsRuntimeDbWeight,
9
+ PolkadotParachainPrimitivesPrimitivesId,
10
+ SpWeightsWeightV2Weight,
11
+ PalletNftsBitFlagsPalletFeature,
12
+ FrameSupportPalletId,
13
+ StagingXcmV3MultilocationMultiLocation,
14
+ } from './types';
15
+
16
+ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
17
+ /**
18
+ * Pallet `System`'s constants
19
+ **/
20
+ system: {
21
+ /**
22
+ * Block & extrinsics weights: base values and limits.
23
+ **/
24
+ blockWeights: FrameSystemLimitsBlockWeights;
25
+
26
+ /**
27
+ * The maximum length of a block (in bytes).
28
+ **/
29
+ blockLength: FrameSystemLimitsBlockLength;
30
+
31
+ /**
32
+ * Maximum number of block number to block hash mappings to keep (oldest pruned first).
33
+ **/
34
+ blockHashCount: number;
35
+
36
+ /**
37
+ * The weight of runtime database operations the runtime can invoke.
38
+ **/
39
+ dbWeight: SpWeightsRuntimeDbWeight;
40
+
41
+ /**
42
+ * Get the chain's in-code version.
43
+ **/
44
+ version: RuntimeVersion;
45
+
46
+ /**
47
+ * The designated SS58 prefix of this chain.
48
+ *
49
+ * This replaces the "ss58Format" property declared in the chain spec. Reason is
50
+ * that the runtime should know about the prefix in order to make use of it as
51
+ * an identifier of the chain.
52
+ **/
53
+ ss58Prefix: number;
54
+
55
+ /**
56
+ * Generic pallet constant
57
+ **/
58
+ [name: string]: any;
59
+ };
60
+ /**
61
+ * Pallet `ParachainSystem`'s constants
62
+ **/
63
+ parachainSystem: {
64
+ /**
65
+ * Returns the parachain ID we are running with.
66
+ **/
67
+ selfParaId: PolkadotParachainPrimitivesPrimitivesId;
68
+
69
+ /**
70
+ * Generic pallet constant
71
+ **/
72
+ [name: string]: any;
73
+ };
74
+ /**
75
+ * Pallet `Timestamp`'s constants
76
+ **/
77
+ timestamp: {
78
+ /**
79
+ * The minimum period between blocks.
80
+ *
81
+ * Be aware that this is different to the *expected* period that the block production
82
+ * apparatus provides. Your chosen consensus system will generally work with this to
83
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
84
+ * period on default settings.
85
+ **/
86
+ minimumPeriod: bigint;
87
+
88
+ /**
89
+ * Generic pallet constant
90
+ **/
91
+ [name: string]: any;
92
+ };
93
+ /**
94
+ * Pallet `ParachainInfo`'s constants
95
+ **/
96
+ parachainInfo: {
97
+ /**
98
+ * Generic pallet constant
99
+ **/
100
+ [name: string]: any;
101
+ };
102
+ /**
103
+ * Pallet `Balances`'s constants
104
+ **/
105
+ balances: {
106
+ /**
107
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
108
+ *
109
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
110
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
111
+ * In case you have multiple sources of provider references, you may also get unexpected
112
+ * behaviour if you set this to zero.
113
+ *
114
+ * Bottom line: Do yourself a favour and make it at least one!
115
+ **/
116
+ existentialDeposit: bigint;
117
+
118
+ /**
119
+ * The maximum number of locks that should exist on an account.
120
+ * Not strictly enforced, but used for weight estimation.
121
+ *
122
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
123
+ **/
124
+ maxLocks: number;
125
+
126
+ /**
127
+ * The maximum number of named reserves that can exist on an account.
128
+ *
129
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
130
+ **/
131
+ maxReserves: number;
132
+
133
+ /**
134
+ * The maximum number of individual freeze locks that can exist on an account at any time.
135
+ **/
136
+ maxFreezes: number;
137
+
138
+ /**
139
+ * Generic pallet constant
140
+ **/
141
+ [name: string]: any;
142
+ };
143
+ /**
144
+ * Pallet `TransactionPayment`'s constants
145
+ **/
146
+ transactionPayment: {
147
+ /**
148
+ * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
149
+ * `priority`
150
+ *
151
+ * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
152
+ * added to a tip component in regular `priority` calculations.
153
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
154
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
155
+ *
156
+ * ```rust,ignore
157
+ * // For `Normal`
158
+ * let priority = priority_calc(tip);
159
+ *
160
+ * // For `Operational`
161
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
162
+ * let priority = priority_calc(tip + virtual_tip);
163
+ * ```
164
+ *
165
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
166
+ * sent with the transaction. So, not only does the transaction get a priority bump based
167
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
168
+ * transactions.
169
+ **/
170
+ operationalFeeMultiplier: number;
171
+
172
+ /**
173
+ * Generic pallet constant
174
+ **/
175
+ [name: string]: any;
176
+ };
177
+ /**
178
+ * Pallet `AssetTxPayment`'s constants
179
+ **/
180
+ assetTxPayment: {
181
+ /**
182
+ * Generic pallet constant
183
+ **/
184
+ [name: string]: any;
185
+ };
186
+ /**
187
+ * Pallet `Authorship`'s constants
188
+ **/
189
+ authorship: {
190
+ /**
191
+ * Generic pallet constant
192
+ **/
193
+ [name: string]: any;
194
+ };
195
+ /**
196
+ * Pallet `CollatorSelection`'s constants
197
+ **/
198
+ collatorSelection: {
199
+ /**
200
+ * Generic pallet constant
201
+ **/
202
+ [name: string]: any;
203
+ };
204
+ /**
205
+ * Pallet `Session`'s constants
206
+ **/
207
+ session: {
208
+ /**
209
+ * Generic pallet constant
210
+ **/
211
+ [name: string]: any;
212
+ };
213
+ /**
214
+ * Pallet `Aura`'s constants
215
+ **/
216
+ aura: {
217
+ /**
218
+ * The slot duration Aura should run with, expressed in milliseconds.
219
+ * The effective value of this type should not change while the chain is running.
220
+ *
221
+ * For backwards compatibility either use [`MinimumPeriodTimesTwo`] or a const.
222
+ **/
223
+ slotDuration: bigint;
224
+
225
+ /**
226
+ * Generic pallet constant
227
+ **/
228
+ [name: string]: any;
229
+ };
230
+ /**
231
+ * Pallet `AuraExt`'s constants
232
+ **/
233
+ auraExt: {
234
+ /**
235
+ * Generic pallet constant
236
+ **/
237
+ [name: string]: any;
238
+ };
239
+ /**
240
+ * Pallet `XcmpQueue`'s constants
241
+ **/
242
+ xcmpQueue: {
243
+ /**
244
+ * The maximum number of inbound XCMP channels that can be suspended simultaneously.
245
+ *
246
+ * Any further channel suspensions will fail and messages may get dropped without further
247
+ * notice. Choosing a high value (1000) is okay; the trade-off that is described in
248
+ * [`InboundXcmpSuspended`] still applies at that scale.
249
+ **/
250
+ maxInboundSuspended: number;
251
+
252
+ /**
253
+ * Generic pallet constant
254
+ **/
255
+ [name: string]: any;
256
+ };
257
+ /**
258
+ * Pallet `PolkadotXcm`'s constants
259
+ **/
260
+ polkadotXcm: {
261
+ /**
262
+ * Generic pallet constant
263
+ **/
264
+ [name: string]: any;
265
+ };
266
+ /**
267
+ * Pallet `CumulusXcm`'s constants
268
+ **/
269
+ cumulusXcm: {
270
+ /**
271
+ * Generic pallet constant
272
+ **/
273
+ [name: string]: any;
274
+ };
275
+ /**
276
+ * Pallet `ToRococoXcmRouter`'s constants
277
+ **/
278
+ toRococoXcmRouter: {
279
+ /**
280
+ * Generic pallet constant
281
+ **/
282
+ [name: string]: any;
283
+ };
284
+ /**
285
+ * Pallet `MessageQueue`'s constants
286
+ **/
287
+ messageQueue: {
288
+ /**
289
+ * The size of the page; this implies the maximum message size which can be sent.
290
+ *
291
+ * A good value depends on the expected message sizes, their weights, the weight that is
292
+ * available for processing them and the maximal needed message size. The maximal message
293
+ * size is slightly lower than this as defined by [`MaxMessageLenOf`].
294
+ **/
295
+ heapSize: number;
296
+
297
+ /**
298
+ * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
299
+ * can happen. Once there are more stale pages than this, then historical pages may be
300
+ * dropped, even if they contain unprocessed overweight messages.
301
+ **/
302
+ maxStale: number;
303
+
304
+ /**
305
+ * The amount of weight (if any) which should be provided to the message queue for
306
+ * servicing enqueued items `on_initialize`.
307
+ *
308
+ * This may be legitimately `None` in the case that you will call
309
+ * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
310
+ * it run in `on_idle`.
311
+ **/
312
+ serviceWeight: SpWeightsWeightV2Weight | undefined;
313
+
314
+ /**
315
+ * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
316
+ * should be provided to the message queue for servicing enqueued items `on_idle`.
317
+ * Useful for parachains to process messages at the same block they are received.
318
+ *
319
+ * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
320
+ **/
321
+ idleMaxServiceWeight: SpWeightsWeightV2Weight | undefined;
322
+
323
+ /**
324
+ * Generic pallet constant
325
+ **/
326
+ [name: string]: any;
327
+ };
328
+ /**
329
+ * Pallet `Utility`'s constants
330
+ **/
331
+ utility: {
332
+ /**
333
+ * The limit on the number of batched calls.
334
+ **/
335
+ batchedCallsLimit: number;
336
+
337
+ /**
338
+ * Generic pallet constant
339
+ **/
340
+ [name: string]: any;
341
+ };
342
+ /**
343
+ * Pallet `Multisig`'s constants
344
+ **/
345
+ multisig: {
346
+ /**
347
+ * The base amount of currency needed to reserve for creating a multisig execution or to
348
+ * store a dispatch call for later.
349
+ *
350
+ * This is held for an additional storage item whose value size is
351
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
352
+ * `32 + sizeof(AccountId)` bytes.
353
+ **/
354
+ depositBase: bigint;
355
+
356
+ /**
357
+ * The amount of currency needed per unit threshold when creating a multisig execution.
358
+ *
359
+ * This is held for adding 32 bytes more into a pre-existing storage value.
360
+ **/
361
+ depositFactor: bigint;
362
+
363
+ /**
364
+ * The maximum amount of signatories allowed in the multisig.
365
+ **/
366
+ maxSignatories: number;
367
+
368
+ /**
369
+ * Generic pallet constant
370
+ **/
371
+ [name: string]: any;
372
+ };
373
+ /**
374
+ * Pallet `Proxy`'s constants
375
+ **/
376
+ proxy: {
377
+ /**
378
+ * The base amount of currency needed to reserve for creating a proxy.
379
+ *
380
+ * This is held for an additional storage item whose value size is
381
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
382
+ **/
383
+ proxyDepositBase: bigint;
384
+
385
+ /**
386
+ * The amount of currency needed per proxy added.
387
+ *
388
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
389
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
390
+ * into account `32 + proxy_type.encode().len()` bytes of data.
391
+ **/
392
+ proxyDepositFactor: bigint;
393
+
394
+ /**
395
+ * The maximum amount of proxies allowed for a single account.
396
+ **/
397
+ maxProxies: number;
398
+
399
+ /**
400
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
401
+ **/
402
+ maxPending: number;
403
+
404
+ /**
405
+ * The base amount of currency needed to reserve for creating an announcement.
406
+ *
407
+ * This is held when a new storage item holding a `Balance` is created (typically 16
408
+ * bytes).
409
+ **/
410
+ announcementDepositBase: bigint;
411
+
412
+ /**
413
+ * The amount of currency needed per announcement made.
414
+ *
415
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
416
+ * into a pre-existing storage value.
417
+ **/
418
+ announcementDepositFactor: bigint;
419
+
420
+ /**
421
+ * Generic pallet constant
422
+ **/
423
+ [name: string]: any;
424
+ };
425
+ /**
426
+ * Pallet `Assets`'s constants
427
+ **/
428
+ assets: {
429
+ /**
430
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
431
+ *
432
+ * Must be configured to result in a weight that makes each call fit in a block.
433
+ **/
434
+ removeItemsLimit: number;
435
+
436
+ /**
437
+ * The basic amount of funds that must be reserved for an asset.
438
+ **/
439
+ assetDeposit: bigint;
440
+
441
+ /**
442
+ * The amount of funds that must be reserved for a non-provider asset account to be
443
+ * maintained.
444
+ **/
445
+ assetAccountDeposit: bigint;
446
+
447
+ /**
448
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
449
+ **/
450
+ metadataDepositBase: bigint;
451
+
452
+ /**
453
+ * The additional funds that must be reserved for the number of bytes you store in your
454
+ * metadata.
455
+ **/
456
+ metadataDepositPerByte: bigint;
457
+
458
+ /**
459
+ * The amount of funds that must be reserved when creating a new approval.
460
+ **/
461
+ approvalDeposit: bigint;
462
+
463
+ /**
464
+ * The maximum length of a name or symbol stored on-chain.
465
+ **/
466
+ stringLimit: number;
467
+
468
+ /**
469
+ * Generic pallet constant
470
+ **/
471
+ [name: string]: any;
472
+ };
473
+ /**
474
+ * Pallet `Uniques`'s constants
475
+ **/
476
+ uniques: {
477
+ /**
478
+ * The basic amount of funds that must be reserved for collection.
479
+ **/
480
+ collectionDeposit: bigint;
481
+
482
+ /**
483
+ * The basic amount of funds that must be reserved for an item.
484
+ **/
485
+ itemDeposit: bigint;
486
+
487
+ /**
488
+ * The basic amount of funds that must be reserved when adding metadata to your item.
489
+ **/
490
+ metadataDepositBase: bigint;
491
+
492
+ /**
493
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
494
+ **/
495
+ attributeDepositBase: bigint;
496
+
497
+ /**
498
+ * The additional funds that must be reserved for the number of bytes store in metadata,
499
+ * either "normal" metadata or attribute metadata.
500
+ **/
501
+ depositPerByte: bigint;
502
+
503
+ /**
504
+ * The maximum length of data stored on-chain.
505
+ **/
506
+ stringLimit: number;
507
+
508
+ /**
509
+ * The maximum length of an attribute key.
510
+ **/
511
+ keyLimit: number;
512
+
513
+ /**
514
+ * The maximum length of an attribute value.
515
+ **/
516
+ valueLimit: number;
517
+
518
+ /**
519
+ * Generic pallet constant
520
+ **/
521
+ [name: string]: any;
522
+ };
523
+ /**
524
+ * Pallet `Nfts`'s constants
525
+ **/
526
+ nfts: {
527
+ /**
528
+ * The basic amount of funds that must be reserved for collection.
529
+ **/
530
+ collectionDeposit: bigint;
531
+
532
+ /**
533
+ * The basic amount of funds that must be reserved for an item.
534
+ **/
535
+ itemDeposit: bigint;
536
+
537
+ /**
538
+ * The basic amount of funds that must be reserved when adding metadata to your item.
539
+ **/
540
+ metadataDepositBase: bigint;
541
+
542
+ /**
543
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
544
+ **/
545
+ attributeDepositBase: bigint;
546
+
547
+ /**
548
+ * The additional funds that must be reserved for the number of bytes store in metadata,
549
+ * either "normal" metadata or attribute metadata.
550
+ **/
551
+ depositPerByte: bigint;
552
+
553
+ /**
554
+ * The maximum length of data stored on-chain.
555
+ **/
556
+ stringLimit: number;
557
+
558
+ /**
559
+ * The maximum length of an attribute key.
560
+ **/
561
+ keyLimit: number;
562
+
563
+ /**
564
+ * The maximum length of an attribute value.
565
+ **/
566
+ valueLimit: number;
567
+
568
+ /**
569
+ * The maximum approvals an item could have.
570
+ **/
571
+ approvalsLimit: number;
572
+
573
+ /**
574
+ * The maximum attributes approvals an item could have.
575
+ **/
576
+ itemAttributesApprovalsLimit: number;
577
+
578
+ /**
579
+ * The max number of tips a user could send.
580
+ **/
581
+ maxTips: number;
582
+
583
+ /**
584
+ * The max duration in blocks for deadlines.
585
+ **/
586
+ maxDeadlineDuration: number;
587
+
588
+ /**
589
+ * The max number of attributes a user could set per call.
590
+ **/
591
+ maxAttributesPerCall: number;
592
+
593
+ /**
594
+ * Disables some of pallet's features.
595
+ **/
596
+ features: PalletNftsBitFlagsPalletFeature;
597
+
598
+ /**
599
+ * Generic pallet constant
600
+ **/
601
+ [name: string]: any;
602
+ };
603
+ /**
604
+ * Pallet `ForeignAssets`'s constants
605
+ **/
606
+ foreignAssets: {
607
+ /**
608
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
609
+ *
610
+ * Must be configured to result in a weight that makes each call fit in a block.
611
+ **/
612
+ removeItemsLimit: number;
613
+
614
+ /**
615
+ * The basic amount of funds that must be reserved for an asset.
616
+ **/
617
+ assetDeposit: bigint;
618
+
619
+ /**
620
+ * The amount of funds that must be reserved for a non-provider asset account to be
621
+ * maintained.
622
+ **/
623
+ assetAccountDeposit: bigint;
624
+
625
+ /**
626
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
627
+ **/
628
+ metadataDepositBase: bigint;
629
+
630
+ /**
631
+ * The additional funds that must be reserved for the number of bytes you store in your
632
+ * metadata.
633
+ **/
634
+ metadataDepositPerByte: bigint;
635
+
636
+ /**
637
+ * The amount of funds that must be reserved when creating a new approval.
638
+ **/
639
+ approvalDeposit: bigint;
640
+
641
+ /**
642
+ * The maximum length of a name or symbol stored on-chain.
643
+ **/
644
+ stringLimit: number;
645
+
646
+ /**
647
+ * Generic pallet constant
648
+ **/
649
+ [name: string]: any;
650
+ };
651
+ /**
652
+ * Pallet `NftFractionalization`'s constants
653
+ **/
654
+ nftFractionalization: {
655
+ /**
656
+ * The deposit paid by the user locking an NFT. The deposit is returned to the original NFT
657
+ * owner when the asset is unified and the NFT is unlocked.
658
+ **/
659
+ deposit: bigint;
660
+
661
+ /**
662
+ * The pallet's id, used for deriving its sovereign account ID.
663
+ **/
664
+ palletId: FrameSupportPalletId;
665
+
666
+ /**
667
+ * The newly created asset's symbol.
668
+ **/
669
+ newAssetSymbol: Bytes;
670
+
671
+ /**
672
+ * The newly created asset's name.
673
+ **/
674
+ newAssetName: Bytes;
675
+
676
+ /**
677
+ * The maximum length of a name or symbol stored on-chain.
678
+ **/
679
+ stringLimit: number;
680
+
681
+ /**
682
+ * Generic pallet constant
683
+ **/
684
+ [name: string]: any;
685
+ };
686
+ /**
687
+ * Pallet `PoolAssets`'s constants
688
+ **/
689
+ poolAssets: {
690
+ /**
691
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
692
+ *
693
+ * Must be configured to result in a weight that makes each call fit in a block.
694
+ **/
695
+ removeItemsLimit: number;
696
+
697
+ /**
698
+ * The basic amount of funds that must be reserved for an asset.
699
+ **/
700
+ assetDeposit: bigint;
701
+
702
+ /**
703
+ * The amount of funds that must be reserved for a non-provider asset account to be
704
+ * maintained.
705
+ **/
706
+ assetAccountDeposit: bigint;
707
+
708
+ /**
709
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
710
+ **/
711
+ metadataDepositBase: bigint;
712
+
713
+ /**
714
+ * The additional funds that must be reserved for the number of bytes you store in your
715
+ * metadata.
716
+ **/
717
+ metadataDepositPerByte: bigint;
718
+
719
+ /**
720
+ * The amount of funds that must be reserved when creating a new approval.
721
+ **/
722
+ approvalDeposit: bigint;
723
+
724
+ /**
725
+ * The maximum length of a name or symbol stored on-chain.
726
+ **/
727
+ stringLimit: number;
728
+
729
+ /**
730
+ * Generic pallet constant
731
+ **/
732
+ [name: string]: any;
733
+ };
734
+ /**
735
+ * Pallet `AssetConversion`'s constants
736
+ **/
737
+ assetConversion: {
738
+ /**
739
+ * A % the liquidity providers will take of every swap. Represents 10ths of a percent.
740
+ **/
741
+ lpFee: number;
742
+
743
+ /**
744
+ * A one-time fee to setup the pool.
745
+ **/
746
+ poolSetupFee: bigint;
747
+
748
+ /**
749
+ * Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
750
+ **/
751
+ poolSetupFeeAsset: StagingXcmV3MultilocationMultiLocation;
752
+
753
+ /**
754
+ * A fee to withdraw the liquidity.
755
+ **/
756
+ liquidityWithdrawalFee: Permill;
757
+
758
+ /**
759
+ * The minimum LP token amount that could be minted. Ameliorates rounding errors.
760
+ **/
761
+ mintMinLiquidity: bigint;
762
+
763
+ /**
764
+ * The max number of hops in a swap.
765
+ **/
766
+ maxSwapPathLength: number;
767
+
768
+ /**
769
+ * The pallet's id, used for deriving its sovereign account ID.
770
+ **/
771
+ palletId: FrameSupportPalletId;
772
+
773
+ /**
774
+ * Generic pallet constant
775
+ **/
776
+ [name: string]: any;
777
+ };
778
+ /**
779
+ * Pallet `AssetConversionMigration`'s constants
780
+ **/
781
+ assetConversionMigration: {
782
+ /**
783
+ * Generic pallet constant
784
+ **/
785
+ [name: string]: any;
786
+ };
787
+ }