@dedot/chaintypes 0.76.0 → 0.78.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 (41) hide show
  1. package/README.md +8 -4
  2. package/kusama-people/consts.d.ts +477 -0
  3. package/kusama-people/errors.d.ts +818 -0
  4. package/kusama-people/events.d.ts +1108 -0
  5. package/kusama-people/index.d.ts +31 -0
  6. package/kusama-people/json-rpc.d.ts +97 -0
  7. package/kusama-people/query.d.ts +1245 -0
  8. package/kusama-people/runtime.d.ts +636 -0
  9. package/kusama-people/tx.d.ts +3153 -0
  10. package/kusama-people/types.d.ts +5330 -0
  11. package/package.json +14 -2
  12. package/paseo-asset-hub/consts.d.ts +788 -0
  13. package/paseo-asset-hub/errors.d.ts +1539 -0
  14. package/paseo-asset-hub/events.d.ts +2538 -0
  15. package/paseo-asset-hub/index.d.ts +31 -0
  16. package/paseo-asset-hub/json-rpc.d.ts +97 -0
  17. package/paseo-asset-hub/query.d.ts +1753 -0
  18. package/paseo-asset-hub/runtime.d.ts +726 -0
  19. package/paseo-asset-hub/tx.d.ts +9202 -0
  20. package/paseo-asset-hub/types.d.ts +12526 -0
  21. package/paseo-people/consts.d.ts +486 -0
  22. package/paseo-people/errors.d.ts +832 -0
  23. package/paseo-people/events.d.ts +1172 -0
  24. package/paseo-people/index.d.ts +31 -0
  25. package/paseo-people/json-rpc.d.ts +96 -0
  26. package/paseo-people/query.d.ts +1257 -0
  27. package/paseo-people/runtime.d.ts +636 -0
  28. package/paseo-people/tx.d.ts +3273 -0
  29. package/paseo-people/types.d.ts +5460 -0
  30. package/polkadot-people/consts.d.ts +477 -0
  31. package/polkadot-people/errors.d.ts +818 -0
  32. package/polkadot-people/events.d.ts +1108 -0
  33. package/polkadot-people/index.d.ts +31 -0
  34. package/polkadot-people/json-rpc.d.ts +97 -0
  35. package/polkadot-people/query.d.ts +1245 -0
  36. package/polkadot-people/runtime.d.ts +636 -0
  37. package/polkadot-people/tx.d.ts +3153 -0
  38. package/polkadot-people/types.d.ts +5349 -0
  39. package/westend/json-rpc.d.ts +10 -10
  40. package/westend-asset-hub/json-rpc.d.ts +10 -10
  41. package/westend-people/json-rpc.d.ts +11 -10
@@ -0,0 +1,788 @@
1
+ // Generated by dedot cli
2
+
3
+ import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
+ import type { RuntimeVersion, Permill } from 'dedot/codecs';
5
+ import type {
6
+ FrameSystemLimitsBlockWeights,
7
+ FrameSystemLimitsBlockLength,
8
+ SpWeightsRuntimeDbWeight,
9
+ PolkadotParachainPrimitivesPrimitivesId,
10
+ SpWeightsWeightV2Weight,
11
+ PalletNftsBitFlagsPalletFeature,
12
+ StagingXcmV3MultilocationMultiLocation,
13
+ FrameSupportPalletId,
14
+ } from './types.js';
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 `Vesting`'s constants
188
+ **/
189
+ vesting: {
190
+ /**
191
+ * The minimum amount transferred to call `vested_transfer`.
192
+ **/
193
+ minVestedTransfer: bigint;
194
+ maxVestingSchedules: number;
195
+
196
+ /**
197
+ * Generic pallet constant
198
+ **/
199
+ [name: string]: any;
200
+ };
201
+ /**
202
+ * Pallet `Authorship`'s constants
203
+ **/
204
+ authorship: {
205
+ /**
206
+ * Generic pallet constant
207
+ **/
208
+ [name: string]: any;
209
+ };
210
+ /**
211
+ * Pallet `CollatorSelection`'s constants
212
+ **/
213
+ collatorSelection: {
214
+ /**
215
+ * Generic pallet constant
216
+ **/
217
+ [name: string]: any;
218
+ };
219
+ /**
220
+ * Pallet `Session`'s constants
221
+ **/
222
+ session: {
223
+ /**
224
+ * Generic pallet constant
225
+ **/
226
+ [name: string]: any;
227
+ };
228
+ /**
229
+ * Pallet `Aura`'s constants
230
+ **/
231
+ aura: {
232
+ /**
233
+ * The slot duration Aura should run with, expressed in milliseconds.
234
+ * The effective value of this type should not change while the chain is running.
235
+ *
236
+ * For backwards compatibility either use [`MinimumPeriodTimesTwo`] or a const.
237
+ **/
238
+ slotDuration: bigint;
239
+
240
+ /**
241
+ * Generic pallet constant
242
+ **/
243
+ [name: string]: any;
244
+ };
245
+ /**
246
+ * Pallet `AuraExt`'s constants
247
+ **/
248
+ auraExt: {
249
+ /**
250
+ * Generic pallet constant
251
+ **/
252
+ [name: string]: any;
253
+ };
254
+ /**
255
+ * Pallet `XcmpQueue`'s constants
256
+ **/
257
+ xcmpQueue: {
258
+ /**
259
+ * The maximum number of inbound XCMP channels that can be suspended simultaneously.
260
+ *
261
+ * Any further channel suspensions will fail and messages may get dropped without further
262
+ * notice. Choosing a high value (1000) is okay; the trade-off that is described in
263
+ * [`InboundXcmpSuspended`] still applies at that scale.
264
+ **/
265
+ maxInboundSuspended: number;
266
+
267
+ /**
268
+ * Maximal number of outbound XCMP channels that can have messages queued at the same time.
269
+ *
270
+ * If this is reached, then no further messages can be sent to channels that do not yet
271
+ * have a message queued. This should be set to the expected maximum of outbound channels
272
+ * which is determined by [`Self::ChannelInfo`]. It is important to set this large enough,
273
+ * since otherwise the congestion control protocol will not work as intended and messages
274
+ * may be dropped. This value increases the PoV and should therefore not be picked too
275
+ * high. Governance needs to pay attention to not open more channels than this value.
276
+ **/
277
+ maxActiveOutboundChannels: number;
278
+
279
+ /**
280
+ * The maximal page size for HRMP message pages.
281
+ *
282
+ * A lower limit can be set dynamically, but this is the hard-limit for the PoV worst case
283
+ * benchmarking. The limit for the size of a message is slightly below this, since some
284
+ * overhead is incurred for encoding the format.
285
+ **/
286
+ maxPageSize: number;
287
+
288
+ /**
289
+ * Generic pallet constant
290
+ **/
291
+ [name: string]: any;
292
+ };
293
+ /**
294
+ * Pallet `PolkadotXcm`'s constants
295
+ **/
296
+ polkadotXcm: {
297
+ /**
298
+ * Generic pallet constant
299
+ **/
300
+ [name: string]: any;
301
+ };
302
+ /**
303
+ * Pallet `CumulusXcm`'s constants
304
+ **/
305
+ cumulusXcm: {
306
+ /**
307
+ * Generic pallet constant
308
+ **/
309
+ [name: string]: any;
310
+ };
311
+ /**
312
+ * Pallet `ToKusamaXcmRouter`'s constants
313
+ **/
314
+ toKusamaXcmRouter: {
315
+ /**
316
+ * Generic pallet constant
317
+ **/
318
+ [name: string]: any;
319
+ };
320
+ /**
321
+ * Pallet `MessageQueue`'s constants
322
+ **/
323
+ messageQueue: {
324
+ /**
325
+ * The size of the page; this implies the maximum message size which can be sent.
326
+ *
327
+ * A good value depends on the expected message sizes, their weights, the weight that is
328
+ * available for processing them and the maximal needed message size. The maximal message
329
+ * size is slightly lower than this as defined by [`MaxMessageLenOf`].
330
+ **/
331
+ heapSize: number;
332
+
333
+ /**
334
+ * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
335
+ * can happen. Once there are more stale pages than this, then historical pages may be
336
+ * dropped, even if they contain unprocessed overweight messages.
337
+ **/
338
+ maxStale: number;
339
+
340
+ /**
341
+ * The amount of weight (if any) which should be provided to the message queue for
342
+ * servicing enqueued items `on_initialize`.
343
+ *
344
+ * This may be legitimately `None` in the case that you will call
345
+ * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
346
+ * it run in `on_idle`.
347
+ **/
348
+ serviceWeight: SpWeightsWeightV2Weight | undefined;
349
+
350
+ /**
351
+ * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
352
+ * should be provided to the message queue for servicing enqueued items `on_idle`.
353
+ * Useful for parachains to process messages at the same block they are received.
354
+ *
355
+ * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
356
+ **/
357
+ idleMaxServiceWeight: SpWeightsWeightV2Weight | undefined;
358
+
359
+ /**
360
+ * Generic pallet constant
361
+ **/
362
+ [name: string]: any;
363
+ };
364
+ /**
365
+ * Pallet `Utility`'s constants
366
+ **/
367
+ utility: {
368
+ /**
369
+ * The limit on the number of batched calls.
370
+ **/
371
+ batchedCallsLimit: number;
372
+
373
+ /**
374
+ * Generic pallet constant
375
+ **/
376
+ [name: string]: any;
377
+ };
378
+ /**
379
+ * Pallet `Multisig`'s constants
380
+ **/
381
+ multisig: {
382
+ /**
383
+ * The base amount of currency needed to reserve for creating a multisig execution or to
384
+ * store a dispatch call for later.
385
+ *
386
+ * This is held for an additional storage item whose value size is
387
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
388
+ * `32 + sizeof(AccountId)` bytes.
389
+ **/
390
+ depositBase: bigint;
391
+
392
+ /**
393
+ * The amount of currency needed per unit threshold when creating a multisig execution.
394
+ *
395
+ * This is held for adding 32 bytes more into a pre-existing storage value.
396
+ **/
397
+ depositFactor: bigint;
398
+
399
+ /**
400
+ * The maximum amount of signatories allowed in the multisig.
401
+ **/
402
+ maxSignatories: number;
403
+
404
+ /**
405
+ * Generic pallet constant
406
+ **/
407
+ [name: string]: any;
408
+ };
409
+ /**
410
+ * Pallet `Proxy`'s constants
411
+ **/
412
+ proxy: {
413
+ /**
414
+ * The base amount of currency needed to reserve for creating a proxy.
415
+ *
416
+ * This is held for an additional storage item whose value size is
417
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
418
+ **/
419
+ proxyDepositBase: bigint;
420
+
421
+ /**
422
+ * The amount of currency needed per proxy added.
423
+ *
424
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
425
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
426
+ * into account `32 + proxy_type.encode().len()` bytes of data.
427
+ **/
428
+ proxyDepositFactor: bigint;
429
+
430
+ /**
431
+ * The maximum amount of proxies allowed for a single account.
432
+ **/
433
+ maxProxies: number;
434
+
435
+ /**
436
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
437
+ **/
438
+ maxPending: number;
439
+
440
+ /**
441
+ * The base amount of currency needed to reserve for creating an announcement.
442
+ *
443
+ * This is held when a new storage item holding a `Balance` is created (typically 16
444
+ * bytes).
445
+ **/
446
+ announcementDepositBase: bigint;
447
+
448
+ /**
449
+ * The amount of currency needed per announcement made.
450
+ *
451
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
452
+ * into a pre-existing storage value.
453
+ **/
454
+ announcementDepositFactor: bigint;
455
+
456
+ /**
457
+ * Generic pallet constant
458
+ **/
459
+ [name: string]: any;
460
+ };
461
+ /**
462
+ * Pallet `Assets`'s constants
463
+ **/
464
+ assets: {
465
+ /**
466
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
467
+ *
468
+ * Must be configured to result in a weight that makes each call fit in a block.
469
+ **/
470
+ removeItemsLimit: number;
471
+
472
+ /**
473
+ * The basic amount of funds that must be reserved for an asset.
474
+ **/
475
+ assetDeposit: bigint;
476
+
477
+ /**
478
+ * The amount of funds that must be reserved for a non-provider asset account to be
479
+ * maintained.
480
+ **/
481
+ assetAccountDeposit: bigint;
482
+
483
+ /**
484
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
485
+ **/
486
+ metadataDepositBase: bigint;
487
+
488
+ /**
489
+ * The additional funds that must be reserved for the number of bytes you store in your
490
+ * metadata.
491
+ **/
492
+ metadataDepositPerByte: bigint;
493
+
494
+ /**
495
+ * The amount of funds that must be reserved when creating a new approval.
496
+ **/
497
+ approvalDeposit: bigint;
498
+
499
+ /**
500
+ * The maximum length of a name or symbol stored on-chain.
501
+ **/
502
+ stringLimit: number;
503
+
504
+ /**
505
+ * Generic pallet constant
506
+ **/
507
+ [name: string]: any;
508
+ };
509
+ /**
510
+ * Pallet `Uniques`'s constants
511
+ **/
512
+ uniques: {
513
+ /**
514
+ * The basic amount of funds that must be reserved for collection.
515
+ **/
516
+ collectionDeposit: bigint;
517
+
518
+ /**
519
+ * The basic amount of funds that must be reserved for an item.
520
+ **/
521
+ itemDeposit: bigint;
522
+
523
+ /**
524
+ * The basic amount of funds that must be reserved when adding metadata to your item.
525
+ **/
526
+ metadataDepositBase: bigint;
527
+
528
+ /**
529
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
530
+ **/
531
+ attributeDepositBase: bigint;
532
+
533
+ /**
534
+ * The additional funds that must be reserved for the number of bytes store in metadata,
535
+ * either "normal" metadata or attribute metadata.
536
+ **/
537
+ depositPerByte: bigint;
538
+
539
+ /**
540
+ * The maximum length of data stored on-chain.
541
+ **/
542
+ stringLimit: number;
543
+
544
+ /**
545
+ * The maximum length of an attribute key.
546
+ **/
547
+ keyLimit: number;
548
+
549
+ /**
550
+ * The maximum length of an attribute value.
551
+ **/
552
+ valueLimit: number;
553
+
554
+ /**
555
+ * Generic pallet constant
556
+ **/
557
+ [name: string]: any;
558
+ };
559
+ /**
560
+ * Pallet `Nfts`'s constants
561
+ **/
562
+ nfts: {
563
+ /**
564
+ * The basic amount of funds that must be reserved for collection.
565
+ **/
566
+ collectionDeposit: bigint;
567
+
568
+ /**
569
+ * The basic amount of funds that must be reserved for an item.
570
+ **/
571
+ itemDeposit: bigint;
572
+
573
+ /**
574
+ * The basic amount of funds that must be reserved when adding metadata to your item.
575
+ **/
576
+ metadataDepositBase: bigint;
577
+
578
+ /**
579
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
580
+ **/
581
+ attributeDepositBase: bigint;
582
+
583
+ /**
584
+ * The additional funds that must be reserved for the number of bytes store in metadata,
585
+ * either "normal" metadata or attribute metadata.
586
+ **/
587
+ depositPerByte: bigint;
588
+
589
+ /**
590
+ * The maximum length of data stored on-chain.
591
+ **/
592
+ stringLimit: number;
593
+
594
+ /**
595
+ * The maximum length of an attribute key.
596
+ **/
597
+ keyLimit: number;
598
+
599
+ /**
600
+ * The maximum length of an attribute value.
601
+ **/
602
+ valueLimit: number;
603
+
604
+ /**
605
+ * The maximum approvals an item could have.
606
+ **/
607
+ approvalsLimit: number;
608
+
609
+ /**
610
+ * The maximum attributes approvals an item could have.
611
+ **/
612
+ itemAttributesApprovalsLimit: number;
613
+
614
+ /**
615
+ * The max number of tips a user could send.
616
+ **/
617
+ maxTips: number;
618
+
619
+ /**
620
+ * The max duration in blocks for deadlines.
621
+ **/
622
+ maxDeadlineDuration: number;
623
+
624
+ /**
625
+ * The max number of attributes a user could set per call.
626
+ **/
627
+ maxAttributesPerCall: number;
628
+
629
+ /**
630
+ * Disables some of pallet's features.
631
+ **/
632
+ features: PalletNftsBitFlagsPalletFeature;
633
+
634
+ /**
635
+ * Generic pallet constant
636
+ **/
637
+ [name: string]: any;
638
+ };
639
+ /**
640
+ * Pallet `ForeignAssets`'s constants
641
+ **/
642
+ foreignAssets: {
643
+ /**
644
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
645
+ *
646
+ * Must be configured to result in a weight that makes each call fit in a block.
647
+ **/
648
+ removeItemsLimit: number;
649
+
650
+ /**
651
+ * The basic amount of funds that must be reserved for an asset.
652
+ **/
653
+ assetDeposit: bigint;
654
+
655
+ /**
656
+ * The amount of funds that must be reserved for a non-provider asset account to be
657
+ * maintained.
658
+ **/
659
+ assetAccountDeposit: bigint;
660
+
661
+ /**
662
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
663
+ **/
664
+ metadataDepositBase: bigint;
665
+
666
+ /**
667
+ * The additional funds that must be reserved for the number of bytes you store in your
668
+ * metadata.
669
+ **/
670
+ metadataDepositPerByte: bigint;
671
+
672
+ /**
673
+ * The amount of funds that must be reserved when creating a new approval.
674
+ **/
675
+ approvalDeposit: bigint;
676
+
677
+ /**
678
+ * The maximum length of a name or symbol stored on-chain.
679
+ **/
680
+ stringLimit: number;
681
+
682
+ /**
683
+ * Generic pallet constant
684
+ **/
685
+ [name: string]: any;
686
+ };
687
+ /**
688
+ * Pallet `PoolAssets`'s constants
689
+ **/
690
+ poolAssets: {
691
+ /**
692
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
693
+ *
694
+ * Must be configured to result in a weight that makes each call fit in a block.
695
+ **/
696
+ removeItemsLimit: number;
697
+
698
+ /**
699
+ * The basic amount of funds that must be reserved for an asset.
700
+ **/
701
+ assetDeposit: bigint;
702
+
703
+ /**
704
+ * The amount of funds that must be reserved for a non-provider asset account to be
705
+ * maintained.
706
+ **/
707
+ assetAccountDeposit: bigint;
708
+
709
+ /**
710
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
711
+ **/
712
+ metadataDepositBase: bigint;
713
+
714
+ /**
715
+ * The additional funds that must be reserved for the number of bytes you store in your
716
+ * metadata.
717
+ **/
718
+ metadataDepositPerByte: bigint;
719
+
720
+ /**
721
+ * The amount of funds that must be reserved when creating a new approval.
722
+ **/
723
+ approvalDeposit: bigint;
724
+
725
+ /**
726
+ * The maximum length of a name or symbol stored on-chain.
727
+ **/
728
+ stringLimit: number;
729
+
730
+ /**
731
+ * Generic pallet constant
732
+ **/
733
+ [name: string]: any;
734
+ };
735
+ /**
736
+ * Pallet `AssetConversion`'s constants
737
+ **/
738
+ assetConversion: {
739
+ /**
740
+ * A % the liquidity providers will take of every swap. Represents 10ths of a percent.
741
+ **/
742
+ lpFee: number;
743
+
744
+ /**
745
+ * A one-time fee to setup the pool.
746
+ **/
747
+ poolSetupFee: bigint;
748
+
749
+ /**
750
+ * Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
751
+ **/
752
+ poolSetupFeeAsset: StagingXcmV3MultilocationMultiLocation;
753
+
754
+ /**
755
+ * A fee to withdraw the liquidity.
756
+ **/
757
+ liquidityWithdrawalFee: Permill;
758
+
759
+ /**
760
+ * The minimum LP token amount that could be minted. Ameliorates rounding errors.
761
+ **/
762
+ mintMinLiquidity: bigint;
763
+
764
+ /**
765
+ * The max number of hops in a swap.
766
+ **/
767
+ maxSwapPathLength: number;
768
+
769
+ /**
770
+ * The pallet's id, used for deriving its sovereign account ID.
771
+ **/
772
+ palletId: FrameSupportPalletId;
773
+
774
+ /**
775
+ * Generic pallet constant
776
+ **/
777
+ [name: string]: any;
778
+ };
779
+ /**
780
+ * Pallet `Sudo`'s constants
781
+ **/
782
+ sudo: {
783
+ /**
784
+ * Generic pallet constant
785
+ **/
786
+ [name: string]: any;
787
+ };
788
+ }