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