@dedot/chaintypes 0.0.1-alpha.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +5 -0
  3. package/aleph/consts.d.ts +676 -0
  4. package/aleph/errors.d.ts +1054 -0
  5. package/aleph/events.d.ts +1201 -0
  6. package/aleph/index.d.ts +27 -0
  7. package/aleph/json-rpc.d.ts +85 -0
  8. package/aleph/query.d.ts +1573 -0
  9. package/aleph/runtime.d.ts +596 -0
  10. package/aleph/tx.d.ts +3440 -0
  11. package/aleph/types.d.ts +3951 -0
  12. package/astar/consts.d.ts +737 -0
  13. package/astar/errors.d.ts +1508 -0
  14. package/astar/events.d.ts +1878 -0
  15. package/astar/index.d.ts +27 -0
  16. package/astar/json-rpc.d.ts +131 -0
  17. package/astar/query.d.ts +1851 -0
  18. package/astar/runtime.d.ts +803 -0
  19. package/astar/tx.d.ts +4516 -0
  20. package/astar/types.d.ts +6141 -0
  21. package/index.d.ts +11 -0
  22. package/index.js +1 -0
  23. package/index.ts +11 -0
  24. package/kusama/consts.d.ts +1578 -0
  25. package/kusama/errors.d.ts +3152 -0
  26. package/kusama/events.d.ts +3579 -0
  27. package/kusama/index.d.ts +27 -0
  28. package/kusama/json-rpc.d.ts +103 -0
  29. package/kusama/query.d.ts +4229 -0
  30. package/kusama/runtime.d.ts +1196 -0
  31. package/kusama/tx.d.ts +9040 -0
  32. package/kusama/types.d.ts +11369 -0
  33. package/kusamaAssetHub/consts.d.ts +759 -0
  34. package/kusamaAssetHub/errors.d.ts +1494 -0
  35. package/kusamaAssetHub/events.d.ts +2491 -0
  36. package/kusamaAssetHub/index.d.ts +27 -0
  37. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  38. package/kusamaAssetHub/query.d.ts +1662 -0
  39. package/kusamaAssetHub/runtime.d.ts +555 -0
  40. package/kusamaAssetHub/tx.d.ts +6192 -0
  41. package/kusamaAssetHub/types.d.ts +6831 -0
  42. package/moonbeam/consts.d.ts +1010 -0
  43. package/moonbeam/errors.d.ts +1932 -0
  44. package/moonbeam/events.d.ts +2928 -0
  45. package/moonbeam/index.d.ts +27 -0
  46. package/moonbeam/json-rpc.d.ts +137 -0
  47. package/moonbeam/query.d.ts +2282 -0
  48. package/moonbeam/runtime.d.ts +724 -0
  49. package/moonbeam/tx.d.ts +6222 -0
  50. package/moonbeam/types.d.ts +8165 -0
  51. package/package.json +25 -0
  52. package/polkadot/consts.d.ts +1313 -0
  53. package/polkadot/errors.d.ts +2575 -0
  54. package/polkadot/events.d.ts +2757 -0
  55. package/polkadot/index.d.ts +27 -0
  56. package/polkadot/json-rpc.d.ts +103 -0
  57. package/polkadot/query.d.ts +3693 -0
  58. package/polkadot/runtime.d.ts +1196 -0
  59. package/polkadot/tx.d.ts +7706 -0
  60. package/polkadot/types.d.ts +9893 -0
  61. package/polkadotAssetHub/consts.d.ts +724 -0
  62. package/polkadotAssetHub/errors.d.ts +1465 -0
  63. package/polkadotAssetHub/events.d.ts +2462 -0
  64. package/polkadotAssetHub/index.d.ts +27 -0
  65. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  66. package/polkadotAssetHub/query.d.ts +1640 -0
  67. package/polkadotAssetHub/runtime.d.ts +558 -0
  68. package/polkadotAssetHub/tx.d.ts +6121 -0
  69. package/polkadotAssetHub/types.d.ts +6739 -0
  70. package/rococo/consts.d.ts +1423 -0
  71. package/rococo/errors.d.ts +2783 -0
  72. package/rococo/events.d.ts +3361 -0
  73. package/rococo/index.d.ts +27 -0
  74. package/rococo/json-rpc.d.ts +103 -0
  75. package/rococo/query.d.ts +3561 -0
  76. package/rococo/runtime.d.ts +1257 -0
  77. package/rococo/tx.d.ts +10721 -0
  78. package/rococo/types.d.ts +14828 -0
  79. package/rococoAssetHub/consts.d.ts +787 -0
  80. package/rococoAssetHub/errors.d.ts +1523 -0
  81. package/rococoAssetHub/events.d.ts +2517 -0
  82. package/rococoAssetHub/index.d.ts +27 -0
  83. package/rococoAssetHub/json-rpc.d.ts +89 -0
  84. package/rococoAssetHub/query.d.ts +1682 -0
  85. package/rococoAssetHub/runtime.d.ts +704 -0
  86. package/rococoAssetHub/tx.d.ts +9013 -0
  87. package/rococoAssetHub/types.d.ts +12352 -0
  88. package/substrate/consts.d.ts +2223 -0
  89. package/substrate/errors.d.ts +4023 -0
  90. package/substrate/events.d.ts +5430 -0
  91. package/substrate/index.d.ts +27 -0
  92. package/substrate/json-rpc.d.ts +101 -0
  93. package/substrate/query.d.ts +4083 -0
  94. package/substrate/runtime.d.ts +971 -0
  95. package/substrate/tx.d.ts +12501 -0
  96. package/substrate/types.d.ts +13380 -0
  97. package/westendAssetHub/consts.d.ts +787 -0
  98. package/westendAssetHub/errors.d.ts +1523 -0
  99. package/westendAssetHub/events.d.ts +2477 -0
  100. package/westendAssetHub/index.d.ts +27 -0
  101. package/westendAssetHub/json-rpc.d.ts +89 -0
  102. package/westendAssetHub/query.d.ts +1656 -0
  103. package/westendAssetHub/runtime.d.ts +652 -0
  104. package/westendAssetHub/tx.d.ts +8984 -0
  105. package/westendAssetHub/types.d.ts +12292 -0
@@ -0,0 +1,724 @@
1
+ // Generated by @dedot/codegen
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
+ SpWeightsWeightV2Weight,
10
+ PalletNftsBitFlagsPalletFeature,
11
+ StagingXcmV3MultilocationMultiLocation,
12
+ FrameSupportPalletId,
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 `Authorship`'s constants
178
+ **/
179
+ authorship: {
180
+ /**
181
+ * Generic pallet constant
182
+ **/
183
+ [name: string]: any;
184
+ };
185
+ /**
186
+ * Pallet `CollatorSelection`'s constants
187
+ **/
188
+ collatorSelection: {
189
+ /**
190
+ * Generic pallet constant
191
+ **/
192
+ [name: string]: any;
193
+ };
194
+ /**
195
+ * Pallet `Session`'s constants
196
+ **/
197
+ session: {
198
+ /**
199
+ * Generic pallet constant
200
+ **/
201
+ [name: string]: any;
202
+ };
203
+ /**
204
+ * Pallet `Aura`'s constants
205
+ **/
206
+ aura: {
207
+ /**
208
+ * Generic pallet constant
209
+ **/
210
+ [name: string]: any;
211
+ };
212
+ /**
213
+ * Pallet `AuraExt`'s constants
214
+ **/
215
+ auraExt: {
216
+ /**
217
+ * Generic pallet constant
218
+ **/
219
+ [name: string]: any;
220
+ };
221
+ /**
222
+ * Pallet `XcmpQueue`'s constants
223
+ **/
224
+ xcmpQueue: {
225
+ /**
226
+ * The maximum number of inbound XCMP channels that can be suspended simultaneously.
227
+ *
228
+ * Any further channel suspensions will fail and messages may get dropped without further
229
+ * notice. Choosing a high value (1000) is okay; the trade-off that is described in
230
+ * [`InboundXcmpSuspended`] still applies at that scale.
231
+ **/
232
+ maxInboundSuspended: number;
233
+
234
+ /**
235
+ * Generic pallet constant
236
+ **/
237
+ [name: string]: any;
238
+ };
239
+ /**
240
+ * Pallet `PolkadotXcm`'s constants
241
+ **/
242
+ polkadotXcm: {
243
+ /**
244
+ * Generic pallet constant
245
+ **/
246
+ [name: string]: any;
247
+ };
248
+ /**
249
+ * Pallet `CumulusXcm`'s constants
250
+ **/
251
+ cumulusXcm: {
252
+ /**
253
+ * Generic pallet constant
254
+ **/
255
+ [name: string]: any;
256
+ };
257
+ /**
258
+ * Pallet `DmpQueue`'s constants
259
+ **/
260
+ dmpQueue: {
261
+ /**
262
+ * Generic pallet constant
263
+ **/
264
+ [name: string]: any;
265
+ };
266
+ /**
267
+ * Pallet `ToKusamaXcmRouter`'s constants
268
+ **/
269
+ toKusamaXcmRouter: {
270
+ /**
271
+ * Generic pallet constant
272
+ **/
273
+ [name: string]: any;
274
+ };
275
+ /**
276
+ * Pallet `MessageQueue`'s constants
277
+ **/
278
+ messageQueue: {
279
+ /**
280
+ * The size of the page; this implies the maximum message size which can be sent.
281
+ *
282
+ * A good value depends on the expected message sizes, their weights, the weight that is
283
+ * available for processing them and the maximal needed message size. The maximal message
284
+ * size is slightly lower than this as defined by [`MaxMessageLenOf`].
285
+ **/
286
+ heapSize: number;
287
+
288
+ /**
289
+ * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
290
+ * can happen. Once there are more stale pages than this, then historical pages may be
291
+ * dropped, even if they contain unprocessed overweight messages.
292
+ **/
293
+ maxStale: number;
294
+
295
+ /**
296
+ * The amount of weight (if any) which should be provided to the message queue for
297
+ * servicing enqueued items.
298
+ *
299
+ * This may be legitimately `None` in the case that you will call
300
+ * `ServiceQueues::service_queues` manually.
301
+ **/
302
+ serviceWeight: SpWeightsWeightV2Weight | undefined;
303
+
304
+ /**
305
+ * Generic pallet constant
306
+ **/
307
+ [name: string]: any;
308
+ };
309
+ /**
310
+ * Pallet `Utility`'s constants
311
+ **/
312
+ utility: {
313
+ /**
314
+ * The limit on the number of batched calls.
315
+ **/
316
+ batchedCallsLimit: number;
317
+
318
+ /**
319
+ * Generic pallet constant
320
+ **/
321
+ [name: string]: any;
322
+ };
323
+ /**
324
+ * Pallet `Multisig`'s constants
325
+ **/
326
+ multisig: {
327
+ /**
328
+ * The base amount of currency needed to reserve for creating a multisig execution or to
329
+ * store a dispatch call for later.
330
+ *
331
+ * This is held for an additional storage item whose value size is
332
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
333
+ * `32 + sizeof(AccountId)` bytes.
334
+ **/
335
+ depositBase: bigint;
336
+
337
+ /**
338
+ * The amount of currency needed per unit threshold when creating a multisig execution.
339
+ *
340
+ * This is held for adding 32 bytes more into a pre-existing storage value.
341
+ **/
342
+ depositFactor: bigint;
343
+
344
+ /**
345
+ * The maximum amount of signatories allowed in the multisig.
346
+ **/
347
+ maxSignatories: number;
348
+
349
+ /**
350
+ * Generic pallet constant
351
+ **/
352
+ [name: string]: any;
353
+ };
354
+ /**
355
+ * Pallet `Proxy`'s constants
356
+ **/
357
+ proxy: {
358
+ /**
359
+ * The base amount of currency needed to reserve for creating a proxy.
360
+ *
361
+ * This is held for an additional storage item whose value size is
362
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
363
+ **/
364
+ proxyDepositBase: bigint;
365
+
366
+ /**
367
+ * The amount of currency needed per proxy added.
368
+ *
369
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
370
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
371
+ * into account `32 + proxy_type.encode().len()` bytes of data.
372
+ **/
373
+ proxyDepositFactor: bigint;
374
+
375
+ /**
376
+ * The maximum amount of proxies allowed for a single account.
377
+ **/
378
+ maxProxies: number;
379
+
380
+ /**
381
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
382
+ **/
383
+ maxPending: number;
384
+
385
+ /**
386
+ * The base amount of currency needed to reserve for creating an announcement.
387
+ *
388
+ * This is held when a new storage item holding a `Balance` is created (typically 16
389
+ * bytes).
390
+ **/
391
+ announcementDepositBase: bigint;
392
+
393
+ /**
394
+ * The amount of currency needed per announcement made.
395
+ *
396
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
397
+ * into a pre-existing storage value.
398
+ **/
399
+ announcementDepositFactor: bigint;
400
+
401
+ /**
402
+ * Generic pallet constant
403
+ **/
404
+ [name: string]: any;
405
+ };
406
+ /**
407
+ * Pallet `Assets`'s constants
408
+ **/
409
+ assets: {
410
+ /**
411
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
412
+ *
413
+ * Must be configured to result in a weight that makes each call fit in a block.
414
+ **/
415
+ removeItemsLimit: number;
416
+
417
+ /**
418
+ * The basic amount of funds that must be reserved for an asset.
419
+ **/
420
+ assetDeposit: bigint;
421
+
422
+ /**
423
+ * The amount of funds that must be reserved for a non-provider asset account to be
424
+ * maintained.
425
+ **/
426
+ assetAccountDeposit: bigint;
427
+
428
+ /**
429
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
430
+ **/
431
+ metadataDepositBase: bigint;
432
+
433
+ /**
434
+ * The additional funds that must be reserved for the number of bytes you store in your
435
+ * metadata.
436
+ **/
437
+ metadataDepositPerByte: bigint;
438
+
439
+ /**
440
+ * The amount of funds that must be reserved when creating a new approval.
441
+ **/
442
+ approvalDeposit: bigint;
443
+
444
+ /**
445
+ * The maximum length of a name or symbol stored on-chain.
446
+ **/
447
+ stringLimit: number;
448
+
449
+ /**
450
+ * Generic pallet constant
451
+ **/
452
+ [name: string]: any;
453
+ };
454
+ /**
455
+ * Pallet `Uniques`'s constants
456
+ **/
457
+ uniques: {
458
+ /**
459
+ * The basic amount of funds that must be reserved for collection.
460
+ **/
461
+ collectionDeposit: bigint;
462
+
463
+ /**
464
+ * The basic amount of funds that must be reserved for an item.
465
+ **/
466
+ itemDeposit: bigint;
467
+
468
+ /**
469
+ * The basic amount of funds that must be reserved when adding metadata to your item.
470
+ **/
471
+ metadataDepositBase: bigint;
472
+
473
+ /**
474
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
475
+ **/
476
+ attributeDepositBase: bigint;
477
+
478
+ /**
479
+ * The additional funds that must be reserved for the number of bytes store in metadata,
480
+ * either "normal" metadata or attribute metadata.
481
+ **/
482
+ depositPerByte: bigint;
483
+
484
+ /**
485
+ * The maximum length of data stored on-chain.
486
+ **/
487
+ stringLimit: number;
488
+
489
+ /**
490
+ * The maximum length of an attribute key.
491
+ **/
492
+ keyLimit: number;
493
+
494
+ /**
495
+ * The maximum length of an attribute value.
496
+ **/
497
+ valueLimit: number;
498
+
499
+ /**
500
+ * Generic pallet constant
501
+ **/
502
+ [name: string]: any;
503
+ };
504
+ /**
505
+ * Pallet `Nfts`'s constants
506
+ **/
507
+ nfts: {
508
+ /**
509
+ * The basic amount of funds that must be reserved for collection.
510
+ **/
511
+ collectionDeposit: bigint;
512
+
513
+ /**
514
+ * The basic amount of funds that must be reserved for an item.
515
+ **/
516
+ itemDeposit: bigint;
517
+
518
+ /**
519
+ * The basic amount of funds that must be reserved when adding metadata to your item.
520
+ **/
521
+ metadataDepositBase: bigint;
522
+
523
+ /**
524
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
525
+ **/
526
+ attributeDepositBase: bigint;
527
+
528
+ /**
529
+ * The additional funds that must be reserved for the number of bytes store in metadata,
530
+ * either "normal" metadata or attribute metadata.
531
+ **/
532
+ depositPerByte: bigint;
533
+
534
+ /**
535
+ * The maximum length of data stored on-chain.
536
+ **/
537
+ stringLimit: number;
538
+
539
+ /**
540
+ * The maximum length of an attribute key.
541
+ **/
542
+ keyLimit: number;
543
+
544
+ /**
545
+ * The maximum length of an attribute value.
546
+ **/
547
+ valueLimit: number;
548
+
549
+ /**
550
+ * The maximum approvals an item could have.
551
+ **/
552
+ approvalsLimit: number;
553
+
554
+ /**
555
+ * The maximum attributes approvals an item could have.
556
+ **/
557
+ itemAttributesApprovalsLimit: number;
558
+
559
+ /**
560
+ * The max number of tips a user could send.
561
+ **/
562
+ maxTips: number;
563
+
564
+ /**
565
+ * The max duration in blocks for deadlines.
566
+ **/
567
+ maxDeadlineDuration: number;
568
+
569
+ /**
570
+ * The max number of attributes a user could set per call.
571
+ **/
572
+ maxAttributesPerCall: number;
573
+
574
+ /**
575
+ * Disables some of pallet's features.
576
+ **/
577
+ features: PalletNftsBitFlagsPalletFeature;
578
+
579
+ /**
580
+ * Generic pallet constant
581
+ **/
582
+ [name: string]: any;
583
+ };
584
+ /**
585
+ * Pallet `ForeignAssets`'s constants
586
+ **/
587
+ foreignAssets: {
588
+ /**
589
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
590
+ *
591
+ * Must be configured to result in a weight that makes each call fit in a block.
592
+ **/
593
+ removeItemsLimit: number;
594
+
595
+ /**
596
+ * The basic amount of funds that must be reserved for an asset.
597
+ **/
598
+ assetDeposit: bigint;
599
+
600
+ /**
601
+ * The amount of funds that must be reserved for a non-provider asset account to be
602
+ * maintained.
603
+ **/
604
+ assetAccountDeposit: bigint;
605
+
606
+ /**
607
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
608
+ **/
609
+ metadataDepositBase: bigint;
610
+
611
+ /**
612
+ * The additional funds that must be reserved for the number of bytes you store in your
613
+ * metadata.
614
+ **/
615
+ metadataDepositPerByte: bigint;
616
+
617
+ /**
618
+ * The amount of funds that must be reserved when creating a new approval.
619
+ **/
620
+ approvalDeposit: bigint;
621
+
622
+ /**
623
+ * The maximum length of a name or symbol stored on-chain.
624
+ **/
625
+ stringLimit: number;
626
+
627
+ /**
628
+ * Generic pallet constant
629
+ **/
630
+ [name: string]: any;
631
+ };
632
+ /**
633
+ * Pallet `PoolAssets`'s constants
634
+ **/
635
+ poolAssets: {
636
+ /**
637
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
638
+ *
639
+ * Must be configured to result in a weight that makes each call fit in a block.
640
+ **/
641
+ removeItemsLimit: number;
642
+
643
+ /**
644
+ * The basic amount of funds that must be reserved for an asset.
645
+ **/
646
+ assetDeposit: bigint;
647
+
648
+ /**
649
+ * The amount of funds that must be reserved for a non-provider asset account to be
650
+ * maintained.
651
+ **/
652
+ assetAccountDeposit: bigint;
653
+
654
+ /**
655
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
656
+ **/
657
+ metadataDepositBase: bigint;
658
+
659
+ /**
660
+ * The additional funds that must be reserved for the number of bytes you store in your
661
+ * metadata.
662
+ **/
663
+ metadataDepositPerByte: bigint;
664
+
665
+ /**
666
+ * The amount of funds that must be reserved when creating a new approval.
667
+ **/
668
+ approvalDeposit: bigint;
669
+
670
+ /**
671
+ * The maximum length of a name or symbol stored on-chain.
672
+ **/
673
+ stringLimit: number;
674
+
675
+ /**
676
+ * Generic pallet constant
677
+ **/
678
+ [name: string]: any;
679
+ };
680
+ /**
681
+ * Pallet `AssetConversion`'s constants
682
+ **/
683
+ assetConversion: {
684
+ /**
685
+ * A % the liquidity providers will take of every swap. Represents 10ths of a percent.
686
+ **/
687
+ lpFee: number;
688
+
689
+ /**
690
+ * A one-time fee to setup the pool.
691
+ **/
692
+ poolSetupFee: bigint;
693
+
694
+ /**
695
+ * Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
696
+ **/
697
+ poolSetupFeeAsset: StagingXcmV3MultilocationMultiLocation;
698
+
699
+ /**
700
+ * A fee to withdraw the liquidity.
701
+ **/
702
+ liquidityWithdrawalFee: Permill;
703
+
704
+ /**
705
+ * The minimum LP token amount that could be minted. Ameliorates rounding errors.
706
+ **/
707
+ mintMinLiquidity: bigint;
708
+
709
+ /**
710
+ * The max number of hops in a swap.
711
+ **/
712
+ maxSwapPathLength: number;
713
+
714
+ /**
715
+ * The pallet's id, used for deriving its sovereign account ID.
716
+ **/
717
+ palletId: FrameSupportPalletId;
718
+
719
+ /**
720
+ * Generic pallet constant
721
+ **/
722
+ [name: string]: any;
723
+ };
724
+ }