@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,676 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
+ import type { RuntimeVersion, Permill, Perbill } from 'dedot/codecs';
5
+ import type {
6
+ FrameSystemLimitsBlockWeights,
7
+ FrameSystemLimitsBlockLength,
8
+ SpWeightsRuntimeDbWeight,
9
+ SpWeightsWeightV2Weight,
10
+ FrameSupportPalletId,
11
+ PalletContractsSchedule,
12
+ PalletContractsEnvironment,
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 `RandomnessCollectiveFlip`'s constants
61
+ **/
62
+ randomnessCollectiveFlip: {
63
+ /**
64
+ * Generic pallet constant
65
+ **/
66
+ [name: string]: any;
67
+ };
68
+ /**
69
+ * Pallet `Scheduler`'s constants
70
+ **/
71
+ scheduler: {
72
+ /**
73
+ * The maximum weight that may be scheduled per block for any dispatchables.
74
+ **/
75
+ maximumWeight: SpWeightsWeightV2Weight;
76
+
77
+ /**
78
+ * The maximum number of scheduled calls in the queue for a single block.
79
+ *
80
+ * NOTE:
81
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
82
+ * higher limit under `runtime-benchmarks` feature.
83
+ **/
84
+ maxScheduledPerBlock: number;
85
+
86
+ /**
87
+ * Generic pallet constant
88
+ **/
89
+ [name: string]: any;
90
+ };
91
+ /**
92
+ * Pallet `Aura`'s constants
93
+ **/
94
+ aura: {
95
+ /**
96
+ * Generic pallet constant
97
+ **/
98
+ [name: string]: any;
99
+ };
100
+ /**
101
+ * Pallet `Timestamp`'s constants
102
+ **/
103
+ timestamp: {
104
+ /**
105
+ * The minimum period between blocks.
106
+ *
107
+ * Be aware that this is different to the *expected* period that the block production
108
+ * apparatus provides. Your chosen consensus system will generally work with this to
109
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
110
+ * period on default settings.
111
+ **/
112
+ minimumPeriod: bigint;
113
+
114
+ /**
115
+ * Generic pallet constant
116
+ **/
117
+ [name: string]: any;
118
+ };
119
+ /**
120
+ * Pallet `Balances`'s constants
121
+ **/
122
+ balances: {
123
+ /**
124
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
125
+ *
126
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
127
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
128
+ * In case you have multiple sources of provider references, you may also get unexpected
129
+ * behaviour if you set this to zero.
130
+ *
131
+ * Bottom line: Do yourself a favour and make it at least one!
132
+ **/
133
+ existentialDeposit: bigint;
134
+
135
+ /**
136
+ * The maximum number of locks that should exist on an account.
137
+ * Not strictly enforced, but used for weight estimation.
138
+ **/
139
+ maxLocks: number;
140
+
141
+ /**
142
+ * The maximum number of named reserves that can exist on an account.
143
+ **/
144
+ maxReserves: number;
145
+
146
+ /**
147
+ * The maximum number of holds that can exist on an account at any time.
148
+ **/
149
+ maxHolds: number;
150
+
151
+ /**
152
+ * The maximum number of individual freeze locks that can exist on an account at any time.
153
+ **/
154
+ maxFreezes: number;
155
+
156
+ /**
157
+ * Generic pallet constant
158
+ **/
159
+ [name: string]: any;
160
+ };
161
+ /**
162
+ * Pallet `TransactionPayment`'s constants
163
+ **/
164
+ transactionPayment: {
165
+ /**
166
+ * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
167
+ * `priority`
168
+ *
169
+ * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
170
+ * added to a tip component in regular `priority` calculations.
171
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
172
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
173
+ *
174
+ * ```rust,ignore
175
+ * // For `Normal`
176
+ * let priority = priority_calc(tip);
177
+ *
178
+ * // For `Operational`
179
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
180
+ * let priority = priority_calc(tip + virtual_tip);
181
+ * ```
182
+ *
183
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
184
+ * sent with the transaction. So, not only does the transaction get a priority bump based
185
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
186
+ * transactions.
187
+ **/
188
+ operationalFeeMultiplier: number;
189
+
190
+ /**
191
+ * Generic pallet constant
192
+ **/
193
+ [name: string]: any;
194
+ };
195
+ /**
196
+ * Pallet `Authorship`'s constants
197
+ **/
198
+ authorship: {
199
+ /**
200
+ * Generic pallet constant
201
+ **/
202
+ [name: string]: any;
203
+ };
204
+ /**
205
+ * Pallet `Staking`'s constants
206
+ **/
207
+ staking: {
208
+ /**
209
+ * Number of eras to keep in history.
210
+ *
211
+ * Following information is kept for eras in `[current_era -
212
+ * HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
213
+ * `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
214
+ * `ErasTotalStake`, `ErasStartSessionIndex`,
215
+ * `StakingLedger.claimed_rewards`.
216
+ *
217
+ * Must be more than the number of eras delayed by session.
218
+ * I.e. active era must always be in history. I.e. `active_era >
219
+ * current_era - history_depth` must be guaranteed.
220
+ *
221
+ * If migrating an existing pallet from storage value to config value,
222
+ * this should be set to same value or greater as in storage.
223
+ *
224
+ * Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
225
+ * item `StakingLedger.claimed_rewards`. Setting this value lower than
226
+ * the existing value can lead to inconsistencies in the
227
+ * `StakingLedger` and will need to be handled properly in a migration.
228
+ * The test `reducing_history_depth_abrupt` shows this effect.
229
+ **/
230
+ historyDepth: number;
231
+
232
+ /**
233
+ * Number of sessions per era.
234
+ **/
235
+ sessionsPerEra: number;
236
+
237
+ /**
238
+ * Number of eras that staked funds must remain bonded for.
239
+ **/
240
+ bondingDuration: number;
241
+
242
+ /**
243
+ * Number of eras that slashes are deferred by, after computation.
244
+ *
245
+ * This should be less than the bonding duration. Set to 0 if slashes
246
+ * should be applied immediately, without opportunity for intervention.
247
+ **/
248
+ slashDeferDuration: number;
249
+
250
+ /**
251
+ * The maximum number of nominators rewarded for each validator.
252
+ *
253
+ * For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can
254
+ * claim their reward. This used to limit the i/o cost for the nominator payout.
255
+ **/
256
+ maxNominatorRewardedPerValidator: number;
257
+
258
+ /**
259
+ * The maximum number of `unlocking` chunks a [`StakingLedger`] can
260
+ * have. Effectively determines how many unique eras a staker may be
261
+ * unbonding in.
262
+ *
263
+ * Note: `MaxUnlockingChunks` is used as the upper bound for the
264
+ * `BoundedVec` item `StakingLedger.unlocking`. Setting this value
265
+ * lower than the existing value can lead to inconsistencies in the
266
+ * `StakingLedger` and will need to be handled properly in a runtime
267
+ * migration. The test `reducing_max_unlocking_chunks_abrupt` shows
268
+ * this effect.
269
+ **/
270
+ maxUnlockingChunks: number;
271
+
272
+ /**
273
+ * Generic pallet constant
274
+ **/
275
+ [name: string]: any;
276
+ };
277
+ /**
278
+ * Pallet `History`'s constants
279
+ **/
280
+ history: {
281
+ /**
282
+ * Generic pallet constant
283
+ **/
284
+ [name: string]: any;
285
+ };
286
+ /**
287
+ * Pallet `Session`'s constants
288
+ **/
289
+ session: {
290
+ /**
291
+ * Generic pallet constant
292
+ **/
293
+ [name: string]: any;
294
+ };
295
+ /**
296
+ * Pallet `Aleph`'s constants
297
+ **/
298
+ aleph: {
299
+ /**
300
+ * Generic pallet constant
301
+ **/
302
+ [name: string]: any;
303
+ };
304
+ /**
305
+ * Pallet `Elections`'s constants
306
+ **/
307
+ elections: {
308
+ /**
309
+ * The maximum number of winners that can be elected by this `ElectionProvider`
310
+ * implementation.
311
+ *
312
+ * Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
313
+ **/
314
+ maxWinners: number;
315
+
316
+ /**
317
+ * Generic pallet constant
318
+ **/
319
+ [name: string]: any;
320
+ };
321
+ /**
322
+ * Pallet `Treasury`'s constants
323
+ **/
324
+ treasury: {
325
+ /**
326
+ * Fraction of a proposal's value that should be bonded in order to place the proposal.
327
+ * An accepted proposal gets these back. A rejected proposal does not.
328
+ **/
329
+ proposalBond: Permill;
330
+
331
+ /**
332
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
333
+ **/
334
+ proposalBondMinimum: bigint;
335
+
336
+ /**
337
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
338
+ **/
339
+ proposalBondMaximum: bigint | undefined;
340
+
341
+ /**
342
+ * Period between successive spends.
343
+ **/
344
+ spendPeriod: number;
345
+
346
+ /**
347
+ * Percentage of spare funds (if any) that are burnt per spend period.
348
+ **/
349
+ burn: Permill;
350
+
351
+ /**
352
+ * The treasury's pallet id, used for deriving its sovereign account ID.
353
+ **/
354
+ palletId: FrameSupportPalletId;
355
+
356
+ /**
357
+ * The maximum number of approvals that can wait in the spending queue.
358
+ *
359
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
360
+ **/
361
+ maxApprovals: number;
362
+
363
+ /**
364
+ * Generic pallet constant
365
+ **/
366
+ [name: string]: any;
367
+ };
368
+ /**
369
+ * Pallet `Vesting`'s constants
370
+ **/
371
+ vesting: {
372
+ /**
373
+ * The minimum amount transferred to call `vested_transfer`.
374
+ **/
375
+ minVestedTransfer: bigint;
376
+ maxVestingSchedules: number;
377
+
378
+ /**
379
+ * Generic pallet constant
380
+ **/
381
+ [name: string]: any;
382
+ };
383
+ /**
384
+ * Pallet `Utility`'s constants
385
+ **/
386
+ utility: {
387
+ /**
388
+ * The limit on the number of batched calls.
389
+ **/
390
+ batchedCallsLimit: number;
391
+
392
+ /**
393
+ * Generic pallet constant
394
+ **/
395
+ [name: string]: any;
396
+ };
397
+ /**
398
+ * Pallet `Multisig`'s constants
399
+ **/
400
+ multisig: {
401
+ /**
402
+ * The base amount of currency needed to reserve for creating a multisig execution or to
403
+ * store a dispatch call for later.
404
+ *
405
+ * This is held for an additional storage item whose value size is
406
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
407
+ * `32 + sizeof(AccountId)` bytes.
408
+ **/
409
+ depositBase: bigint;
410
+
411
+ /**
412
+ * The amount of currency needed per unit threshold when creating a multisig execution.
413
+ *
414
+ * This is held for adding 32 bytes more into a pre-existing storage value.
415
+ **/
416
+ depositFactor: bigint;
417
+
418
+ /**
419
+ * The maximum amount of signatories allowed in the multisig.
420
+ **/
421
+ maxSignatories: number;
422
+
423
+ /**
424
+ * Generic pallet constant
425
+ **/
426
+ [name: string]: any;
427
+ };
428
+ /**
429
+ * Pallet `Sudo`'s constants
430
+ **/
431
+ sudo: {
432
+ /**
433
+ * Generic pallet constant
434
+ **/
435
+ [name: string]: any;
436
+ };
437
+ /**
438
+ * Pallet `Contracts`'s constants
439
+ **/
440
+ contracts: {
441
+ /**
442
+ * Cost schedule and limits.
443
+ **/
444
+ schedule: PalletContractsSchedule;
445
+
446
+ /**
447
+ * The amount of balance a caller has to pay for each byte of storage.
448
+ *
449
+ * # Note
450
+ *
451
+ * Changing this value for an existing chain might need a storage migration.
452
+ **/
453
+ depositPerByte: bigint;
454
+
455
+ /**
456
+ * Fallback value to limit the storage deposit if it's not being set by the caller.
457
+ **/
458
+ defaultDepositLimit: bigint;
459
+
460
+ /**
461
+ * The amount of balance a caller has to pay for each storage item.
462
+ *
463
+ * # Note
464
+ *
465
+ * Changing this value for an existing chain might need a storage migration.
466
+ **/
467
+ depositPerItem: bigint;
468
+
469
+ /**
470
+ * The percentage of the storage deposit that should be held for using a code hash.
471
+ * Instantiating a contract, or calling [`chain_extension::Ext::add_delegate_dependency`]
472
+ * protects the code from being removed. In order to prevent abuse these actions are
473
+ * protected with a percentage of the code deposit.
474
+ **/
475
+ codeHashLockupDepositPercent: Perbill;
476
+
477
+ /**
478
+ * The maximum length of a contract code in bytes.
479
+ *
480
+ * The value should be chosen carefully taking into the account the overall memory limit
481
+ * your runtime has, as well as the [maximum allowed callstack
482
+ * depth](#associatedtype.CallStack). Look into the `integrity_test()` for some insights.
483
+ **/
484
+ maxCodeLen: number;
485
+
486
+ /**
487
+ * The maximum allowable length in bytes for storage keys.
488
+ **/
489
+ maxStorageKeyLen: number;
490
+
491
+ /**
492
+ * The maximum number of delegate_dependencies that a contract can lock with
493
+ * [`chain_extension::Ext::add_delegate_dependency`].
494
+ **/
495
+ maxDelegateDependencies: number;
496
+
497
+ /**
498
+ * Make contract callable functions marked as `#[unstable]` available.
499
+ *
500
+ * Contracts that use `#[unstable]` functions won't be able to be uploaded unless
501
+ * this is set to `true`. This is only meant for testnets and dev nodes in order to
502
+ * experiment with new features.
503
+ *
504
+ * # Warning
505
+ *
506
+ * Do **not** set to `true` on productions chains.
507
+ **/
508
+ unsafeUnstableInterface: boolean;
509
+
510
+ /**
511
+ * The maximum length of the debug buffer in bytes.
512
+ **/
513
+ maxDebugBufferLen: number;
514
+
515
+ /**
516
+ * Type that bundles together all the runtime configurable interface types.
517
+ *
518
+ * This is not a real config. We just mention the type here as constant so that
519
+ * its type appears in the metadata. Only valid value is `()`.
520
+ **/
521
+ environment: PalletContractsEnvironment;
522
+
523
+ /**
524
+ * Generic pallet constant
525
+ **/
526
+ [name: string]: any;
527
+ };
528
+ /**
529
+ * Pallet `NominationPools`'s constants
530
+ **/
531
+ nominationPools: {
532
+ /**
533
+ * The nomination pool's pallet id.
534
+ **/
535
+ palletId: FrameSupportPalletId;
536
+
537
+ /**
538
+ * The maximum pool points-to-balance ratio that an `open` pool can have.
539
+ *
540
+ * This is important in the event slashing takes place and the pool's points-to-balance
541
+ * ratio becomes disproportional.
542
+ *
543
+ * Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
544
+ * are a function of number of points, and by setting this value to e.g. 10, you ensure
545
+ * that the total number of points in the system are at most 10 times the total_issuance of
546
+ * the chain, in the absolute worse case.
547
+ *
548
+ * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
549
+ * Such a scenario would also be the equivalent of the pool being 90% slashed.
550
+ **/
551
+ maxPointsToBalance: number;
552
+
553
+ /**
554
+ * Generic pallet constant
555
+ **/
556
+ [name: string]: any;
557
+ };
558
+ /**
559
+ * Pallet `Identity`'s constants
560
+ **/
561
+ identity: {
562
+ /**
563
+ * The amount held on deposit for a registered identity
564
+ **/
565
+ basicDeposit: bigint;
566
+
567
+ /**
568
+ * The amount held on deposit per additional field for a registered identity.
569
+ **/
570
+ fieldDeposit: bigint;
571
+
572
+ /**
573
+ * The amount held on deposit for a registered subaccount. This should account for the fact
574
+ * that one storage item's value will increase by the size of an account ID, and there will
575
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
576
+ **/
577
+ subAccountDeposit: bigint;
578
+
579
+ /**
580
+ * The maximum number of sub-accounts allowed per identified account.
581
+ **/
582
+ maxSubAccounts: number;
583
+
584
+ /**
585
+ * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
586
+ * required to access an identity, but can be pretty high.
587
+ **/
588
+ maxAdditionalFields: number;
589
+
590
+ /**
591
+ * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
592
+ * of, e.g., updating judgements.
593
+ **/
594
+ maxRegistrars: number;
595
+
596
+ /**
597
+ * Generic pallet constant
598
+ **/
599
+ [name: string]: any;
600
+ };
601
+ /**
602
+ * Pallet `CommitteeManagement`'s constants
603
+ **/
604
+ committeeManagement: {
605
+ /**
606
+ * Nr of blocks in the session.
607
+ **/
608
+ sessionPeriod: number;
609
+
610
+ /**
611
+ * Generic pallet constant
612
+ **/
613
+ [name: string]: any;
614
+ };
615
+ /**
616
+ * Pallet `Proxy`'s constants
617
+ **/
618
+ proxy: {
619
+ /**
620
+ * The base amount of currency needed to reserve for creating a proxy.
621
+ *
622
+ * This is held for an additional storage item whose value size is
623
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
624
+ **/
625
+ proxyDepositBase: bigint;
626
+
627
+ /**
628
+ * The amount of currency needed per proxy added.
629
+ *
630
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
631
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
632
+ * into account `32 + proxy_type.encode().len()` bytes of data.
633
+ **/
634
+ proxyDepositFactor: bigint;
635
+
636
+ /**
637
+ * The maximum amount of proxies allowed for a single account.
638
+ **/
639
+ maxProxies: number;
640
+
641
+ /**
642
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
643
+ **/
644
+ maxPending: number;
645
+
646
+ /**
647
+ * The base amount of currency needed to reserve for creating an announcement.
648
+ *
649
+ * This is held when a new storage item holding a `Balance` is created (typically 16
650
+ * bytes).
651
+ **/
652
+ announcementDepositBase: bigint;
653
+
654
+ /**
655
+ * The amount of currency needed per announcement made.
656
+ *
657
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
658
+ * into a pre-existing storage value.
659
+ **/
660
+ announcementDepositFactor: bigint;
661
+
662
+ /**
663
+ * Generic pallet constant
664
+ **/
665
+ [name: string]: any;
666
+ };
667
+ /**
668
+ * Pallet `Operations`'s constants
669
+ **/
670
+ operations: {
671
+ /**
672
+ * Generic pallet constant
673
+ **/
674
+ [name: string]: any;
675
+ };
676
+ }