@dedot/chaintypes 0.4.0 → 0.6.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 (46) hide show
  1. package/kusama-asset-hub/consts.d.ts +765 -0
  2. package/kusama-asset-hub/errors.d.ts +1529 -0
  3. package/kusama-asset-hub/events.d.ts +2443 -0
  4. package/kusama-asset-hub/index.d.ts +27 -0
  5. package/kusama-asset-hub/json-rpc.d.ts +90 -0
  6. package/kusama-asset-hub/query.d.ts +1677 -0
  7. package/kusama-asset-hub/runtime.d.ts +555 -0
  8. package/kusama-asset-hub/tx.d.ts +6364 -0
  9. package/kusama-asset-hub/types.d.ts +6921 -0
  10. package/package.json +3 -3
  11. package/polkadot-asset-hub/consts.d.ts +730 -0
  12. package/polkadot-asset-hub/errors.d.ts +1500 -0
  13. package/polkadot-asset-hub/events.d.ts +2414 -0
  14. package/polkadot-asset-hub/index.d.ts +27 -0
  15. package/polkadot-asset-hub/json-rpc.d.ts +90 -0
  16. package/polkadot-asset-hub/query.d.ts +1655 -0
  17. package/polkadot-asset-hub/runtime.d.ts +558 -0
  18. package/polkadot-asset-hub/tx.d.ts +6293 -0
  19. package/polkadot-asset-hub/types.d.ts +6829 -0
  20. package/rococo-asset-hub/consts.d.ts +835 -0
  21. package/rococo-asset-hub/errors.d.ts +1590 -0
  22. package/rococo-asset-hub/events.d.ts +2573 -0
  23. package/rococo-asset-hub/index.d.ts +27 -0
  24. package/rococo-asset-hub/json-rpc.d.ts +90 -0
  25. package/rococo-asset-hub/query.d.ts +1829 -0
  26. package/rococo-asset-hub/runtime.d.ts +726 -0
  27. package/rococo-asset-hub/tx.d.ts +9011 -0
  28. package/rococo-asset-hub/types.d.ts +12431 -0
  29. package/westend-asset-hub/consts.d.ts +869 -0
  30. package/westend-asset-hub/errors.d.ts +1635 -0
  31. package/westend-asset-hub/events.d.ts +2610 -0
  32. package/westend-asset-hub/index.d.ts +27 -0
  33. package/westend-asset-hub/json-rpc.d.ts +90 -0
  34. package/westend-asset-hub/query.d.ts +1868 -0
  35. package/westend-asset-hub/runtime.d.ts +798 -0
  36. package/westend-asset-hub/tx.d.ts +9199 -0
  37. package/westend-asset-hub/types.d.ts +12661 -0
  38. package/westend-people/consts.d.ts +434 -0
  39. package/westend-people/errors.d.ts +769 -0
  40. package/westend-people/events.d.ts +1082 -0
  41. package/westend-people/index.d.ts +27 -0
  42. package/westend-people/json-rpc.d.ts +89 -0
  43. package/westend-people/query.d.ts +1209 -0
  44. package/westend-people/runtime.d.ts +636 -0
  45. package/westend-people/tx.d.ts +2891 -0
  46. package/westend-people/types.d.ts +4984 -0
@@ -0,0 +1,869 @@
1
+ // Generated by dedot cli
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
+ * Maximal number of outbound XCMP channels that can have messages queued at the same time.
254
+ *
255
+ * If this is reached, then no further messages can be sent to channels that do not yet
256
+ * have a message queued. This should be set to the expected maximum of outbound channels
257
+ * which is determined by [`Self::ChannelInfo`]. It is important to set this large enough,
258
+ * since otherwise the congestion control protocol will not work as intended and messages
259
+ * may be dropped. This value increases the PoV and should therefore not be picked too
260
+ * high. Governance needs to pay attention to not open more channels than this value.
261
+ **/
262
+ maxActiveOutboundChannels: number;
263
+
264
+ /**
265
+ * The maximal page size for HRMP message pages.
266
+ *
267
+ * A lower limit can be set dynamically, but this is the hard-limit for the PoV worst case
268
+ * benchmarking. The limit for the size of a message is slightly below this, since some
269
+ * overhead is incurred for encoding the format.
270
+ **/
271
+ maxPageSize: number;
272
+
273
+ /**
274
+ * Generic pallet constant
275
+ **/
276
+ [name: string]: any;
277
+ };
278
+ /**
279
+ * Pallet `PolkadotXcm`'s constants
280
+ **/
281
+ polkadotXcm: {
282
+ /**
283
+ * Generic pallet constant
284
+ **/
285
+ [name: string]: any;
286
+ };
287
+ /**
288
+ * Pallet `CumulusXcm`'s constants
289
+ **/
290
+ cumulusXcm: {
291
+ /**
292
+ * Generic pallet constant
293
+ **/
294
+ [name: string]: any;
295
+ };
296
+ /**
297
+ * Pallet `ToRococoXcmRouter`'s constants
298
+ **/
299
+ toRococoXcmRouter: {
300
+ /**
301
+ * Generic pallet constant
302
+ **/
303
+ [name: string]: any;
304
+ };
305
+ /**
306
+ * Pallet `MessageQueue`'s constants
307
+ **/
308
+ messageQueue: {
309
+ /**
310
+ * The size of the page; this implies the maximum message size which can be sent.
311
+ *
312
+ * A good value depends on the expected message sizes, their weights, the weight that is
313
+ * available for processing them and the maximal needed message size. The maximal message
314
+ * size is slightly lower than this as defined by [`MaxMessageLenOf`].
315
+ **/
316
+ heapSize: number;
317
+
318
+ /**
319
+ * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
320
+ * can happen. Once there are more stale pages than this, then historical pages may be
321
+ * dropped, even if they contain unprocessed overweight messages.
322
+ **/
323
+ maxStale: number;
324
+
325
+ /**
326
+ * The amount of weight (if any) which should be provided to the message queue for
327
+ * servicing enqueued items `on_initialize`.
328
+ *
329
+ * This may be legitimately `None` in the case that you will call
330
+ * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
331
+ * it run in `on_idle`.
332
+ **/
333
+ serviceWeight: SpWeightsWeightV2Weight | undefined;
334
+
335
+ /**
336
+ * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
337
+ * should be provided to the message queue for servicing enqueued items `on_idle`.
338
+ * Useful for parachains to process messages at the same block they are received.
339
+ *
340
+ * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
341
+ **/
342
+ idleMaxServiceWeight: SpWeightsWeightV2Weight | undefined;
343
+
344
+ /**
345
+ * Generic pallet constant
346
+ **/
347
+ [name: string]: any;
348
+ };
349
+ /**
350
+ * Pallet `Utility`'s constants
351
+ **/
352
+ utility: {
353
+ /**
354
+ * The limit on the number of batched calls.
355
+ **/
356
+ batchedCallsLimit: number;
357
+
358
+ /**
359
+ * Generic pallet constant
360
+ **/
361
+ [name: string]: any;
362
+ };
363
+ /**
364
+ * Pallet `Multisig`'s constants
365
+ **/
366
+ multisig: {
367
+ /**
368
+ * The base amount of currency needed to reserve for creating a multisig execution or to
369
+ * store a dispatch call for later.
370
+ *
371
+ * This is held for an additional storage item whose value size is
372
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
373
+ * `32 + sizeof(AccountId)` bytes.
374
+ **/
375
+ depositBase: bigint;
376
+
377
+ /**
378
+ * The amount of currency needed per unit threshold when creating a multisig execution.
379
+ *
380
+ * This is held for adding 32 bytes more into a pre-existing storage value.
381
+ **/
382
+ depositFactor: bigint;
383
+
384
+ /**
385
+ * The maximum amount of signatories allowed in the multisig.
386
+ **/
387
+ maxSignatories: number;
388
+
389
+ /**
390
+ * Generic pallet constant
391
+ **/
392
+ [name: string]: any;
393
+ };
394
+ /**
395
+ * Pallet `Proxy`'s constants
396
+ **/
397
+ proxy: {
398
+ /**
399
+ * The base amount of currency needed to reserve for creating a proxy.
400
+ *
401
+ * This is held for an additional storage item whose value size is
402
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
403
+ **/
404
+ proxyDepositBase: bigint;
405
+
406
+ /**
407
+ * The amount of currency needed per proxy added.
408
+ *
409
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
410
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
411
+ * into account `32 + proxy_type.encode().len()` bytes of data.
412
+ **/
413
+ proxyDepositFactor: bigint;
414
+
415
+ /**
416
+ * The maximum amount of proxies allowed for a single account.
417
+ **/
418
+ maxProxies: number;
419
+
420
+ /**
421
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
422
+ **/
423
+ maxPending: number;
424
+
425
+ /**
426
+ * The base amount of currency needed to reserve for creating an announcement.
427
+ *
428
+ * This is held when a new storage item holding a `Balance` is created (typically 16
429
+ * bytes).
430
+ **/
431
+ announcementDepositBase: bigint;
432
+
433
+ /**
434
+ * The amount of currency needed per announcement made.
435
+ *
436
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
437
+ * into a pre-existing storage value.
438
+ **/
439
+ announcementDepositFactor: bigint;
440
+
441
+ /**
442
+ * Generic pallet constant
443
+ **/
444
+ [name: string]: any;
445
+ };
446
+ /**
447
+ * Pallet `Assets`'s constants
448
+ **/
449
+ assets: {
450
+ /**
451
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
452
+ *
453
+ * Must be configured to result in a weight that makes each call fit in a block.
454
+ **/
455
+ removeItemsLimit: number;
456
+
457
+ /**
458
+ * The basic amount of funds that must be reserved for an asset.
459
+ **/
460
+ assetDeposit: bigint;
461
+
462
+ /**
463
+ * The amount of funds that must be reserved for a non-provider asset account to be
464
+ * maintained.
465
+ **/
466
+ assetAccountDeposit: bigint;
467
+
468
+ /**
469
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
470
+ **/
471
+ metadataDepositBase: bigint;
472
+
473
+ /**
474
+ * The additional funds that must be reserved for the number of bytes you store in your
475
+ * metadata.
476
+ **/
477
+ metadataDepositPerByte: bigint;
478
+
479
+ /**
480
+ * The amount of funds that must be reserved when creating a new approval.
481
+ **/
482
+ approvalDeposit: bigint;
483
+
484
+ /**
485
+ * The maximum length of a name or symbol stored on-chain.
486
+ **/
487
+ stringLimit: number;
488
+
489
+ /**
490
+ * Generic pallet constant
491
+ **/
492
+ [name: string]: any;
493
+ };
494
+ /**
495
+ * Pallet `Uniques`'s constants
496
+ **/
497
+ uniques: {
498
+ /**
499
+ * The basic amount of funds that must be reserved for collection.
500
+ **/
501
+ collectionDeposit: bigint;
502
+
503
+ /**
504
+ * The basic amount of funds that must be reserved for an item.
505
+ **/
506
+ itemDeposit: bigint;
507
+
508
+ /**
509
+ * The basic amount of funds that must be reserved when adding metadata to your item.
510
+ **/
511
+ metadataDepositBase: bigint;
512
+
513
+ /**
514
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
515
+ **/
516
+ attributeDepositBase: bigint;
517
+
518
+ /**
519
+ * The additional funds that must be reserved for the number of bytes store in metadata,
520
+ * either "normal" metadata or attribute metadata.
521
+ **/
522
+ depositPerByte: bigint;
523
+
524
+ /**
525
+ * The maximum length of data stored on-chain.
526
+ **/
527
+ stringLimit: number;
528
+
529
+ /**
530
+ * The maximum length of an attribute key.
531
+ **/
532
+ keyLimit: number;
533
+
534
+ /**
535
+ * The maximum length of an attribute value.
536
+ **/
537
+ valueLimit: number;
538
+
539
+ /**
540
+ * Generic pallet constant
541
+ **/
542
+ [name: string]: any;
543
+ };
544
+ /**
545
+ * Pallet `Nfts`'s constants
546
+ **/
547
+ nfts: {
548
+ /**
549
+ * The basic amount of funds that must be reserved for collection.
550
+ **/
551
+ collectionDeposit: bigint;
552
+
553
+ /**
554
+ * The basic amount of funds that must be reserved for an item.
555
+ **/
556
+ itemDeposit: bigint;
557
+
558
+ /**
559
+ * The basic amount of funds that must be reserved when adding metadata to your item.
560
+ **/
561
+ metadataDepositBase: bigint;
562
+
563
+ /**
564
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
565
+ **/
566
+ attributeDepositBase: bigint;
567
+
568
+ /**
569
+ * The additional funds that must be reserved for the number of bytes store in metadata,
570
+ * either "normal" metadata or attribute metadata.
571
+ **/
572
+ depositPerByte: bigint;
573
+
574
+ /**
575
+ * The maximum length of data stored on-chain.
576
+ **/
577
+ stringLimit: number;
578
+
579
+ /**
580
+ * The maximum length of an attribute key.
581
+ **/
582
+ keyLimit: number;
583
+
584
+ /**
585
+ * The maximum length of an attribute value.
586
+ **/
587
+ valueLimit: number;
588
+
589
+ /**
590
+ * The maximum approvals an item could have.
591
+ **/
592
+ approvalsLimit: number;
593
+
594
+ /**
595
+ * The maximum attributes approvals an item could have.
596
+ **/
597
+ itemAttributesApprovalsLimit: number;
598
+
599
+ /**
600
+ * The max number of tips a user could send.
601
+ **/
602
+ maxTips: number;
603
+
604
+ /**
605
+ * The max duration in blocks for deadlines.
606
+ **/
607
+ maxDeadlineDuration: number;
608
+
609
+ /**
610
+ * The max number of attributes a user could set per call.
611
+ **/
612
+ maxAttributesPerCall: number;
613
+
614
+ /**
615
+ * Disables some of pallet's features.
616
+ **/
617
+ features: PalletNftsBitFlagsPalletFeature;
618
+
619
+ /**
620
+ * Generic pallet constant
621
+ **/
622
+ [name: string]: any;
623
+ };
624
+ /**
625
+ * Pallet `ForeignAssets`'s constants
626
+ **/
627
+ foreignAssets: {
628
+ /**
629
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
630
+ *
631
+ * Must be configured to result in a weight that makes each call fit in a block.
632
+ **/
633
+ removeItemsLimit: number;
634
+
635
+ /**
636
+ * The basic amount of funds that must be reserved for an asset.
637
+ **/
638
+ assetDeposit: bigint;
639
+
640
+ /**
641
+ * The amount of funds that must be reserved for a non-provider asset account to be
642
+ * maintained.
643
+ **/
644
+ assetAccountDeposit: bigint;
645
+
646
+ /**
647
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
648
+ **/
649
+ metadataDepositBase: bigint;
650
+
651
+ /**
652
+ * The additional funds that must be reserved for the number of bytes you store in your
653
+ * metadata.
654
+ **/
655
+ metadataDepositPerByte: bigint;
656
+
657
+ /**
658
+ * The amount of funds that must be reserved when creating a new approval.
659
+ **/
660
+ approvalDeposit: bigint;
661
+
662
+ /**
663
+ * The maximum length of a name or symbol stored on-chain.
664
+ **/
665
+ stringLimit: number;
666
+
667
+ /**
668
+ * Generic pallet constant
669
+ **/
670
+ [name: string]: any;
671
+ };
672
+ /**
673
+ * Pallet `NftFractionalization`'s constants
674
+ **/
675
+ nftFractionalization: {
676
+ /**
677
+ * The deposit paid by the user locking an NFT. The deposit is returned to the original NFT
678
+ * owner when the asset is unified and the NFT is unlocked.
679
+ **/
680
+ deposit: bigint;
681
+
682
+ /**
683
+ * The pallet's id, used for deriving its sovereign account ID.
684
+ **/
685
+ palletId: FrameSupportPalletId;
686
+
687
+ /**
688
+ * The newly created asset's symbol.
689
+ **/
690
+ newAssetSymbol: Bytes;
691
+
692
+ /**
693
+ * The newly created asset's name.
694
+ **/
695
+ newAssetName: Bytes;
696
+
697
+ /**
698
+ * The maximum length of a name or symbol stored on-chain.
699
+ **/
700
+ stringLimit: number;
701
+
702
+ /**
703
+ * Generic pallet constant
704
+ **/
705
+ [name: string]: any;
706
+ };
707
+ /**
708
+ * Pallet `PoolAssets`'s constants
709
+ **/
710
+ poolAssets: {
711
+ /**
712
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
713
+ *
714
+ * Must be configured to result in a weight that makes each call fit in a block.
715
+ **/
716
+ removeItemsLimit: number;
717
+
718
+ /**
719
+ * The basic amount of funds that must be reserved for an asset.
720
+ **/
721
+ assetDeposit: bigint;
722
+
723
+ /**
724
+ * The amount of funds that must be reserved for a non-provider asset account to be
725
+ * maintained.
726
+ **/
727
+ assetAccountDeposit: bigint;
728
+
729
+ /**
730
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
731
+ **/
732
+ metadataDepositBase: bigint;
733
+
734
+ /**
735
+ * The additional funds that must be reserved for the number of bytes you store in your
736
+ * metadata.
737
+ **/
738
+ metadataDepositPerByte: bigint;
739
+
740
+ /**
741
+ * The amount of funds that must be reserved when creating a new approval.
742
+ **/
743
+ approvalDeposit: bigint;
744
+
745
+ /**
746
+ * The maximum length of a name or symbol stored on-chain.
747
+ **/
748
+ stringLimit: number;
749
+
750
+ /**
751
+ * Generic pallet constant
752
+ **/
753
+ [name: string]: any;
754
+ };
755
+ /**
756
+ * Pallet `AssetConversion`'s constants
757
+ **/
758
+ assetConversion: {
759
+ /**
760
+ * A % the liquidity providers will take of every swap. Represents 10ths of a percent.
761
+ **/
762
+ lpFee: number;
763
+
764
+ /**
765
+ * A one-time fee to setup the pool.
766
+ **/
767
+ poolSetupFee: bigint;
768
+
769
+ /**
770
+ * Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
771
+ **/
772
+ poolSetupFeeAsset: StagingXcmV3MultilocationMultiLocation;
773
+
774
+ /**
775
+ * A fee to withdraw the liquidity.
776
+ **/
777
+ liquidityWithdrawalFee: Permill;
778
+
779
+ /**
780
+ * The minimum LP token amount that could be minted. Ameliorates rounding errors.
781
+ **/
782
+ mintMinLiquidity: bigint;
783
+
784
+ /**
785
+ * The max number of hops in a swap.
786
+ **/
787
+ maxSwapPathLength: number;
788
+
789
+ /**
790
+ * The pallet's id, used for deriving its sovereign account ID.
791
+ **/
792
+ palletId: FrameSupportPalletId;
793
+
794
+ /**
795
+ * Generic pallet constant
796
+ **/
797
+ [name: string]: any;
798
+ };
799
+ /**
800
+ * Pallet `AssetsFreezer`'s constants
801
+ **/
802
+ assetsFreezer: {
803
+ /**
804
+ * Generic pallet constant
805
+ **/
806
+ [name: string]: any;
807
+ };
808
+ /**
809
+ * Pallet `ForeignAssetsFreezer`'s constants
810
+ **/
811
+ foreignAssetsFreezer: {
812
+ /**
813
+ * Generic pallet constant
814
+ **/
815
+ [name: string]: any;
816
+ };
817
+ /**
818
+ * Pallet `PoolAssetsFreezer`'s constants
819
+ **/
820
+ poolAssetsFreezer: {
821
+ /**
822
+ * Generic pallet constant
823
+ **/
824
+ [name: string]: any;
825
+ };
826
+ /**
827
+ * Pallet `StateTrieMigration`'s constants
828
+ **/
829
+ stateTrieMigration: {
830
+ /**
831
+ * Maximal number of bytes that a key can have.
832
+ *
833
+ * FRAME itself does not limit the key length.
834
+ * The concrete value must therefore depend on your storage usage.
835
+ * A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of
836
+ * keys which are then hashed and concatenated, resulting in arbitrarily long keys.
837
+ *
838
+ * Use the *state migration RPC* to retrieve the length of the longest key in your
839
+ * storage: <https://github.com/paritytech/substrate/issues/11642>
840
+ *
841
+ * The migration will halt with a `Halted` event if this value is too small.
842
+ * Since there is no real penalty from over-estimating, it is advised to use a large
843
+ * value. The default is 512 byte.
844
+ *
845
+ * Some key lengths for reference:
846
+ * - [`frame_support::storage::StorageValue`]: 32 byte
847
+ * - [`frame_support::storage::StorageMap`]: 64 byte
848
+ * - [`frame_support::storage::StorageDoubleMap`]: 96 byte
849
+ *
850
+ * For more info see
851
+ * <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
852
+ **/
853
+ maxKeyLen: number;
854
+
855
+ /**
856
+ * Generic pallet constant
857
+ **/
858
+ [name: string]: any;
859
+ };
860
+ /**
861
+ * Pallet `AssetConversionMigration`'s constants
862
+ **/
863
+ assetConversionMigration: {
864
+ /**
865
+ * Generic pallet constant
866
+ **/
867
+ [name: string]: any;
868
+ };
869
+ }