@dedot/chaintypes 0.0.1-next.0 → 0.0.1-next.3

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