@totochain/api-augment 0.0.0-stage → 0.1.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 (59) hide show
  1. package/README.md +70 -2
  2. package/dist/definitions/definitions.d.ts +1 -0
  3. package/dist/definitions/definitions.js +2 -0
  4. package/dist/definitions/totochain/definitions.d.ts +5 -0
  5. package/dist/definitions/totochain/definitions.js +7 -0
  6. package/dist/index.d.ts +4 -0
  7. package/dist/index.js +12 -0
  8. package/dist/interfaces/augment-api-consts.d.ts +819 -0
  9. package/dist/interfaces/augment-api-consts.js +5 -0
  10. package/dist/interfaces/augment-api-errors.d.ts +1156 -0
  11. package/dist/interfaces/augment-api-errors.js +5 -0
  12. package/dist/interfaces/augment-api-events.d.ts +1999 -0
  13. package/dist/interfaces/augment-api-events.js +5 -0
  14. package/dist/interfaces/augment-api-query.d.ts +1334 -0
  15. package/dist/interfaces/augment-api-query.js +5 -0
  16. package/dist/interfaces/augment-api-rpc.d.ts +683 -0
  17. package/dist/interfaces/augment-api-rpc.js +5 -0
  18. package/dist/interfaces/augment-api-runtime.d.ts +298 -0
  19. package/dist/interfaces/augment-api-runtime.js +5 -0
  20. package/dist/interfaces/augment-api-tx.d.ts +2333 -0
  21. package/dist/interfaces/augment-api-tx.js +5 -0
  22. package/dist/interfaces/augment-api.d.ts +7 -0
  23. package/dist/interfaces/augment-api.js +9 -0
  24. package/dist/interfaces/augment-types.d.ts +1368 -0
  25. package/dist/interfaces/augment-types.js +5 -0
  26. package/dist/interfaces/definitions.d.ts +1 -0
  27. package/dist/interfaces/definitions.js +2 -0
  28. package/dist/interfaces/index.d.ts +1 -0
  29. package/dist/interfaces/index.js +3 -0
  30. package/dist/interfaces/lookup.d.ts +3899 -0
  31. package/dist/interfaces/lookup.js +3901 -0
  32. package/dist/interfaces/registry.d.ts +278 -0
  33. package/dist/interfaces/registry.js +5 -0
  34. package/dist/interfaces/totochain/definitions.d.ts +5 -0
  35. package/dist/interfaces/totochain/definitions.js +7 -0
  36. package/dist/interfaces/types-lookup.d.ts +4026 -0
  37. package/dist/interfaces/types-lookup.js +5 -0
  38. package/dist/interfaces/types.d.ts +1 -0
  39. package/dist/interfaces/types.js +3 -0
  40. package/package.json +69 -4
  41. package/src/definitions/definitions.ts +2 -0
  42. package/src/definitions/totochain/definitions.ts +7 -0
  43. package/src/index.ts +15 -0
  44. package/src/interfaces/augment-api-consts.ts +827 -0
  45. package/src/interfaces/augment-api-errors.ts +1164 -0
  46. package/src/interfaces/augment-api-events.ts +1294 -0
  47. package/src/interfaces/augment-api-query.ts +1342 -0
  48. package/src/interfaces/augment-api-rpc.ts +621 -0
  49. package/src/interfaces/augment-api-runtime.ts +264 -0
  50. package/src/interfaces/augment-api-tx.ts +2152 -0
  51. package/src/interfaces/augment-api.ts +10 -0
  52. package/src/interfaces/augment-types.ts +1375 -0
  53. package/src/interfaces/definitions.ts +2 -0
  54. package/src/interfaces/index.ts +4 -0
  55. package/src/interfaces/lookup.ts +3903 -0
  56. package/src/interfaces/registry.ts +285 -0
  57. package/src/interfaces/totochain/definitions.ts +7 -0
  58. package/src/interfaces/types-lookup.ts +4292 -0
  59. package/src/interfaces/types.ts +4 -0
@@ -0,0 +1,819 @@
1
+ import '@polkadot/api-base/types/consts';
2
+ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
3
+ import type { Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
+ import type { Codec, ITuple } from '@polkadot/types-codec/types';
5
+ import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
7
+ declare module '@polkadot/api-base/types/consts' {
8
+ interface AugmentedConsts<ApiType extends ApiTypes> {
9
+ activityTracker: {
10
+ /**
11
+ * Activity decay factor per block (in millionths)
12
+ * Higher values mean slower decay (e.g., 999_000 = 0.999 decay per block)
13
+ * MUST be greater than 0 and less than or equal to 1_000_000
14
+ **/
15
+ decayFactor: u32 & AugmentedConst<ApiType>;
16
+ /**
17
+ * Maximum age of activity in blocks (configured as DAYS_IN_MONTH × DAYS)
18
+ * Activities older than this will be automatically removed
19
+ **/
20
+ maxActivityAge: u32 & AugmentedConst<ApiType>;
21
+ /**
22
+ * Maximum activity reputation that can be earned from extrinsic execution
23
+ **/
24
+ maxActivityReputation: u32 & AugmentedConst<ApiType>;
25
+ /**
26
+ * Weight-to-reputation conversion factor
27
+ * This determines how much reputation is awarded per unit of weight
28
+ * MUST be greater than 0 to prevent division by zero
29
+ **/
30
+ weightToReputationFactor: u64 & AugmentedConst<ApiType>;
31
+ /**
32
+ * Generic const
33
+ **/
34
+ [key: string]: Codec;
35
+ };
36
+ attestation: {
37
+ maxClaimsPerSubject: u32 & AugmentedConst<ApiType>;
38
+ maxProviders: u32 & AugmentedConst<ApiType>;
39
+ /**
40
+ * Generic const
41
+ **/
42
+ [key: string]: Codec;
43
+ };
44
+ babe: {
45
+ /**
46
+ * The amount of time, in slots, that each epoch should last.
47
+ * NOTE: Currently it is not possible to change the epoch duration after
48
+ * the chain has started. Attempting to do so will brick block production.
49
+ **/
50
+ epochDuration: u64 & AugmentedConst<ApiType>;
51
+ /**
52
+ * The expected average block time at which BABE should be creating
53
+ * blocks. Since BABE is probabilistic it is not trivial to figure out
54
+ * what the expected average block time should be based on the slot
55
+ * duration and the security parameter `c` (where `1 - c` represents
56
+ * the probability of a slot being empty).
57
+ **/
58
+ expectedBlockTime: u64 & AugmentedConst<ApiType>;
59
+ /**
60
+ * Max number of authorities allowed
61
+ **/
62
+ maxAuthorities: u32 & AugmentedConst<ApiType>;
63
+ /**
64
+ * The maximum number of nominators for each validator.
65
+ **/
66
+ maxNominators: u32 & AugmentedConst<ApiType>;
67
+ /**
68
+ * Generic const
69
+ **/
70
+ [key: string]: Codec;
71
+ };
72
+ balances: {
73
+ /**
74
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
75
+ *
76
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
77
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
78
+ * In case you have multiple sources of provider references, you may also get unexpected
79
+ * behaviour if you set this to zero.
80
+ *
81
+ * Bottom line: Do yourself a favour and make it at least one!
82
+ **/
83
+ existentialDeposit: u128 & AugmentedConst<ApiType>;
84
+ /**
85
+ * The maximum number of individual freeze locks that can exist on an account at any time.
86
+ **/
87
+ maxFreezes: u32 & AugmentedConst<ApiType>;
88
+ /**
89
+ * The maximum number of locks that should exist on an account.
90
+ * Not strictly enforced, but used for weight estimation.
91
+ *
92
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
93
+ **/
94
+ maxLocks: u32 & AugmentedConst<ApiType>;
95
+ /**
96
+ * The maximum number of named reserves that can exist on an account.
97
+ *
98
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
99
+ **/
100
+ maxReserves: u32 & AugmentedConst<ApiType>;
101
+ /**
102
+ * Generic const
103
+ **/
104
+ [key: string]: Codec;
105
+ };
106
+ ctype: {
107
+ ctypeFee: u128 & AugmentedConst<ApiType>;
108
+ maxCtypeByteLength: u32 & AugmentedConst<ApiType>;
109
+ /**
110
+ * Generic const
111
+ **/
112
+ [key: string]: Codec;
113
+ };
114
+ did: {
115
+ didFee: u128 & AugmentedConst<ApiType>;
116
+ /**
117
+ * Generic const
118
+ **/
119
+ [key: string]: Codec;
120
+ };
121
+ fractionalNft: {
122
+ /**
123
+ * Block number at which the genesis boost period ends.
124
+ * During the boost period, GenesisWildcardThreshold is used instead of WildcardThreshold.
125
+ **/
126
+ genesisBoostEndBlock: u32 & AugmentedConst<ApiType>;
127
+ /**
128
+ * Wildcard threshold during the genesis boost period.
129
+ * After GenesisBoostEndBlock, the normal WildcardThreshold applies.
130
+ **/
131
+ genesisWildcardThreshold: u32 & AugmentedConst<ApiType>;
132
+ /**
133
+ * Maximum depth for lineage chain walking during block reward distribution.
134
+ * Prevents unbounded iteration in `on_finalize` if a lineage chain is very deep.
135
+ **/
136
+ maxLineageRewardDepth: u32 & AugmentedConst<ApiType>;
137
+ /**
138
+ * Maximum unused collection/item IDs tracked for fNFT distribution.
139
+ **/
140
+ maxUnusedIds: u32 & AugmentedConst<ApiType>;
141
+ /**
142
+ * Maximum delay in blocks before wildcard distribution (e.g. 24 hours).
143
+ **/
144
+ maxWildcardDistributionDelay: u32 & AugmentedConst<ApiType>;
145
+ /**
146
+ * Minimum delay in blocks before wildcard distribution (e.g. 1 hour).
147
+ **/
148
+ minWildcardDistributionDelay: u32 & AugmentedConst<ApiType>;
149
+ /**
150
+ * Because this pallet emits events, it depends on the runtime's definition of an event.
151
+ * The reward pool's pallet id, used for deriving its sovereign account ID.
152
+ **/
153
+ rewardPoolPalletId: FrameSupportPalletId & AugmentedConst<ApiType>;
154
+ /**
155
+ * The collection ID used for wildcard NFTs.
156
+ * Set once at genesis; must match the ID assigned by `pallet_uniques::create`.
157
+ **/
158
+ wildcardCollectionId: u32 & AugmentedConst<ApiType>;
159
+ /**
160
+ * Generic const
161
+ **/
162
+ [key: string]: Codec;
163
+ };
164
+ grandpa: {
165
+ /**
166
+ * Max Authorities in use
167
+ **/
168
+ maxAuthorities: u32 & AugmentedConst<ApiType>;
169
+ /**
170
+ * The maximum number of nominators for each validator.
171
+ **/
172
+ maxNominators: u32 & AugmentedConst<ApiType>;
173
+ /**
174
+ * The maximum number of entries to keep in the set id to session index mapping.
175
+ *
176
+ * Since the `SetIdSession` map is only used for validating equivocations this
177
+ * value should relate to the bonding duration of whatever staking system is
178
+ * being used (if any). If equivocation handling is not enabled then this value
179
+ * can be zero.
180
+ **/
181
+ maxSetIdSessionEntries: u64 & AugmentedConst<ApiType>;
182
+ /**
183
+ * Generic const
184
+ **/
185
+ [key: string]: Codec;
186
+ };
187
+ identity: {
188
+ /**
189
+ * The amount held on deposit for a registered identity.
190
+ **/
191
+ basicDeposit: u128 & AugmentedConst<ApiType>;
192
+ /**
193
+ * The amount held on deposit per encoded byte for a registered identity.
194
+ **/
195
+ byteDeposit: u128 & AugmentedConst<ApiType>;
196
+ /**
197
+ * Maximum number of registrars allowed in the system. Needed to bound the complexity
198
+ * of, e.g., updating judgements.
199
+ **/
200
+ maxRegistrars: u32 & AugmentedConst<ApiType>;
201
+ /**
202
+ * The maximum number of sub-accounts allowed per identified account.
203
+ **/
204
+ maxSubAccounts: u32 & AugmentedConst<ApiType>;
205
+ /**
206
+ * The maximum length of a suffix.
207
+ **/
208
+ maxSuffixLength: u32 & AugmentedConst<ApiType>;
209
+ /**
210
+ * The maximum length of a username, including its suffix and any system-added delimiters.
211
+ **/
212
+ maxUsernameLength: u32 & AugmentedConst<ApiType>;
213
+ /**
214
+ * The number of blocks within which a username grant must be accepted.
215
+ **/
216
+ pendingUsernameExpiration: u32 & AugmentedConst<ApiType>;
217
+ /**
218
+ * The amount held on deposit for a registered subaccount. This should account for the fact
219
+ * that one storage item's value will increase by the size of an account ID, and there will
220
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
221
+ **/
222
+ subAccountDeposit: u128 & AugmentedConst<ApiType>;
223
+ /**
224
+ * The amount held on deposit per registered username. This value should change only in
225
+ * runtime upgrades with proper migration of existing deposits.
226
+ **/
227
+ usernameDeposit: u128 & AugmentedConst<ApiType>;
228
+ /**
229
+ * The number of blocks that must pass to enable the permanent deletion of a username by
230
+ * its respective authority.
231
+ **/
232
+ usernameGracePeriod: u32 & AugmentedConst<ApiType>;
233
+ /**
234
+ * Generic const
235
+ **/
236
+ [key: string]: Codec;
237
+ };
238
+ imOnline: {
239
+ /**
240
+ * A configuration for base priority of unsigned transactions.
241
+ *
242
+ * This is exposed so that it can be tuned for particular runtime, when
243
+ * multiple pallets send unsigned transactions.
244
+ **/
245
+ unsignedPriority: u64 & AugmentedConst<ApiType>;
246
+ /**
247
+ * Generic const
248
+ **/
249
+ [key: string]: Codec;
250
+ };
251
+ multisig: {
252
+ /**
253
+ * The base amount of currency needed to reserve for creating a multisig execution or to
254
+ * store a dispatch call for later.
255
+ *
256
+ * This is held for an additional storage item whose value size is
257
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
258
+ * `32 + sizeof(AccountId)` bytes.
259
+ **/
260
+ depositBase: u128 & AugmentedConst<ApiType>;
261
+ /**
262
+ * The amount of currency needed per unit threshold when creating a multisig execution.
263
+ *
264
+ * This is held for adding 32 bytes more into a pre-existing storage value.
265
+ **/
266
+ depositFactor: u128 & AugmentedConst<ApiType>;
267
+ /**
268
+ * The maximum amount of signatories allowed in the multisig.
269
+ **/
270
+ maxSignatories: u32 & AugmentedConst<ApiType>;
271
+ /**
272
+ * Generic const
273
+ **/
274
+ [key: string]: Codec;
275
+ };
276
+ potential: {
277
+ /**
278
+ * Number of blocks in one economic month. Used to compute per-block reward.
279
+ **/
280
+ blocksInMonth: u32 & AugmentedConst<ApiType>;
281
+ /**
282
+ * Maximum accounts to process per batch during burn operations.
283
+ **/
284
+ burnBatchSize: u32 & AugmentedConst<ApiType>;
285
+ /**
286
+ * Day duration in seconds.
287
+ **/
288
+ dayDuration: u64 & AugmentedConst<ApiType>;
289
+ /**
290
+ * Days in a month.
291
+ **/
292
+ daysInMonth: u32 & AugmentedConst<ApiType>;
293
+ /**
294
+ * Share of potential reward that goes to active referrals by default.
295
+ **/
296
+ defaultActiveReferralShare: u32 & AugmentedConst<ApiType>;
297
+ /**
298
+ * The amount of time, in slots, that each epoch should last.
299
+ **/
300
+ epochDuration: u64 & AugmentedConst<ApiType>;
301
+ /**
302
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
303
+ *
304
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
305
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
306
+ * In case you have multiple sources of provider references, you may also get unexpected
307
+ * behaviour if you set this to zero.
308
+ *
309
+ * Bottom line: Do yourself a favour and make it at least one!
310
+ **/
311
+ existentialDeposit: u128 & AugmentedConst<ApiType>;
312
+ /**
313
+ * Genesis reward pool balance.
314
+ **/
315
+ genesisRewardPoolBalance: u128 & AugmentedConst<ApiType>;
316
+ /**
317
+ * Maximum number of active referral edges the deferred-reward sweeper
318
+ * processes per `on_idle` block. Bounds the reward-propagation work so a
319
+ * wide parent (up to `MaxChildrenPerNode` children) drains across many
320
+ * blocks instead of in one unbounded pass. Tuned from the
321
+ * `reward_sweep_edge` benchmark.
322
+ **/
323
+ maxRewardSweepEdgesPerIdleBlock: u32 & AugmentedConst<ApiType>;
324
+ /**
325
+ * The maximum supply of potential.
326
+ **/
327
+ maxSupply: u128 & AugmentedConst<ApiType>;
328
+ /**
329
+ * Month in a cycle.
330
+ **/
331
+ monthsInCycle: u32 & AugmentedConst<ApiType>;
332
+ /**
333
+ * Multiplier for referral incentive amount (multiplied by ExistentialDeposit).
334
+ **/
335
+ referralIncentiveMultiplier: u32 & AugmentedConst<ApiType>;
336
+ /**
337
+ * Seconds per block.
338
+ **/
339
+ secondsPerBlock: u64 & AugmentedConst<ApiType>;
340
+ /**
341
+ * Generic const
342
+ **/
343
+ [key: string]: Codec;
344
+ };
345
+ proxy: {
346
+ /**
347
+ * The base amount of currency needed to reserve for creating an announcement.
348
+ *
349
+ * This is held when a new storage item holding a `Balance` is created (typically 16
350
+ * bytes).
351
+ **/
352
+ announcementDepositBase: u128 & AugmentedConst<ApiType>;
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: u128 & AugmentedConst<ApiType>;
360
+ /**
361
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
362
+ **/
363
+ maxPending: u32 & AugmentedConst<ApiType>;
364
+ /**
365
+ * The maximum amount of proxies allowed for a single account.
366
+ **/
367
+ maxProxies: u32 & AugmentedConst<ApiType>;
368
+ /**
369
+ * The base amount of currency needed to reserve for creating a proxy.
370
+ *
371
+ * This is held for an additional storage item whose value size is
372
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
373
+ **/
374
+ proxyDepositBase: u128 & AugmentedConst<ApiType>;
375
+ /**
376
+ * The amount of currency needed per proxy added.
377
+ *
378
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
379
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
380
+ * into account `32 + proxy_type.encode().len()` bytes of data.
381
+ **/
382
+ proxyDepositFactor: u128 & AugmentedConst<ApiType>;
383
+ /**
384
+ * Generic const
385
+ **/
386
+ [key: string]: Codec;
387
+ };
388
+ referenda: {
389
+ /**
390
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
391
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
392
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
393
+ **/
394
+ alarmInterval: u32 & AugmentedConst<ApiType>;
395
+ /**
396
+ * Maximum size of the referendum queue for a single track.
397
+ **/
398
+ maxQueued: u32 & AugmentedConst<ApiType>;
399
+ /**
400
+ * The minimum amount to be used as a deposit for a public referendum proposal.
401
+ **/
402
+ submissionDeposit: u128 & AugmentedConst<ApiType>;
403
+ /**
404
+ * A list of tracks.
405
+ *
406
+ * Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
407
+ **/
408
+ tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
409
+ /**
410
+ * The number of blocks after submission that a referendum must begin being decided by.
411
+ * Once this passes, then anyone may cancel the referendum.
412
+ **/
413
+ undecidingTimeout: u32 & AugmentedConst<ApiType>;
414
+ /**
415
+ * Generic const
416
+ **/
417
+ [key: string]: Codec;
418
+ };
419
+ referral: {
420
+ /**
421
+ * Per-node cap for direct active children (runtime-checked at insert time in
422
+ * `add_referral` against active children plus pending entries).
423
+ **/
424
+ maxChildrenPerNode: u32 & AugmentedConst<ApiType>;
425
+ /**
426
+ * Per-referrer cap for `PendingReferralsByReferrer`.
427
+ **/
428
+ maxPendingReferrals: u32 & AugmentedConst<ApiType>;
429
+ /**
430
+ * Reputation cap from referrals — used by the runtime's reputation
431
+ * calculation in `runtime/common`.
432
+ **/
433
+ maxReferralsReputation: u32 & AugmentedConst<ApiType>;
434
+ /**
435
+ * Reputation contributed per active referral, capped by
436
+ * `MaxReferralsReputation`.
437
+ **/
438
+ referralReputationFactor: u32 & AugmentedConst<ApiType>;
439
+ /**
440
+ * Generic const
441
+ **/
442
+ [key: string]: Codec;
443
+ };
444
+ reputationVoting: {
445
+ /**
446
+ * Fixed electorate size multiplier for the support calculation.
447
+ * electorate = max_account_reputation * electorate_size.
448
+ * Changing this does not retroactively update cached tallies for active polls.
449
+ **/
450
+ electorateSize: u32 & AugmentedConst<ApiType>;
451
+ /**
452
+ * Maximum number of voters per poll. Enforced as a count cap on
453
+ * `PendingPolls` so that pathological polls cannot grow without bound.
454
+ **/
455
+ maxVotersPerPoll: u32 & AugmentedConst<ApiType>;
456
+ /**
457
+ * Maximum number of simultaneous active poll votes per account
458
+ **/
459
+ maxVotesPerAccount: u32 & AugmentedConst<ApiType>;
460
+ /**
461
+ * Maximum positive voting reputation that can be accumulated
462
+ **/
463
+ maxVotingReputation: u32 & AugmentedConst<ApiType>;
464
+ /**
465
+ * Minimum reputation required to vote
466
+ **/
467
+ minimumReputation: u32 & AugmentedConst<ApiType>;
468
+ /**
469
+ * Reputation decrease for unsuccessful vote (voted against winning side)
470
+ **/
471
+ votingReputationDecrease: u32 & AugmentedConst<ApiType>;
472
+ /**
473
+ * Reputation increase for successful vote (voted with winning side)
474
+ **/
475
+ votingReputationIncrease: u32 & AugmentedConst<ApiType>;
476
+ /**
477
+ * Generic const
478
+ **/
479
+ [key: string]: Codec;
480
+ };
481
+ rewardPool: {
482
+ /**
483
+ * Number of blocks in a day (for daily limit calculation)
484
+ **/
485
+ blocksPerDay: u32 & AugmentedConst<ApiType>;
486
+ /**
487
+ * Maximum number of NFTs a user can submit per day
488
+ **/
489
+ maxDailyNftSubmissions: u32 & AugmentedConst<ApiType>;
490
+ /**
491
+ * Maximum number of fractional NFTs
492
+ **/
493
+ maxVectorLength: u32 & AugmentedConst<ApiType>;
494
+ /**
495
+ * Minimum reputation a sender must hold to submit an NFT to the pool.
496
+ **/
497
+ minReputationForNftSubmission: u32 & AugmentedConst<ApiType>;
498
+ /**
499
+ * The reward pool's pallet id, used for deriving its sovereign account ID.
500
+ **/
501
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
502
+ /**
503
+ * Reward calculator maximum percentage (cap) in Permill parts
504
+ **/
505
+ rewardCapParts: u32 & AugmentedConst<ApiType>;
506
+ /**
507
+ * Reward calculator epsilon (strict cap margin) in Permill parts
508
+ **/
509
+ rewardEpsParts: u32 & AugmentedConst<ApiType>;
510
+ /**
511
+ * Reward calculator Gamma parameter (Noisy-OR combination exponent)
512
+ **/
513
+ rewardGamma: u32 & AugmentedConst<ApiType>;
514
+ /**
515
+ * Reward calculator H_nft parameter (Hill function half-maximal for NFT count)
516
+ **/
517
+ rewardHNft: u128 & AugmentedConst<ApiType>;
518
+ /**
519
+ * Reward calculator H_ref parameter (Hill function half-maximal for referral count)
520
+ **/
521
+ rewardHRef: u128 & AugmentedConst<ApiType>;
522
+ /**
523
+ * Reward calculator K_nft parameter (Hill function exponent for NFT count)
524
+ **/
525
+ rewardKNft: u32 & AugmentedConst<ApiType>;
526
+ /**
527
+ * Reward calculator K_ref parameter (Hill function exponent for referral count)
528
+ **/
529
+ rewardKRef: u32 & AugmentedConst<ApiType>;
530
+ /**
531
+ * Reward calculator minimum percentage (floor) in Permill parts
532
+ **/
533
+ rewardMinParts: u32 & AugmentedConst<ApiType>;
534
+ /**
535
+ * Unlock coefficient
536
+ **/
537
+ unlockCoefficient: u128 & AugmentedConst<ApiType>;
538
+ /**
539
+ * Generic const
540
+ **/
541
+ [key: string]: Codec;
542
+ };
543
+ safeMode: {
544
+ /**
545
+ * The amount that will be reserved upon calling [`Pallet::enter`].
546
+ *
547
+ * `None` disallows permissionlessly enabling the safe-mode and is a sane default.
548
+ **/
549
+ enterDepositAmount: Option<u128> & AugmentedConst<ApiType>;
550
+ /**
551
+ * For how many blocks the safe-mode will be entered by [`Pallet::enter`].
552
+ **/
553
+ enterDuration: u32 & AugmentedConst<ApiType>;
554
+ /**
555
+ * The amount that will be reserved upon calling [`Pallet::extend`].
556
+ *
557
+ * `None` disallows permissionlessly extending the safe-mode and is a sane default.
558
+ **/
559
+ extendDepositAmount: Option<u128> & AugmentedConst<ApiType>;
560
+ /**
561
+ * For how many blocks the safe-mode can be extended by each [`Pallet::extend`] call.
562
+ *
563
+ * This does not impose a hard limit as the safe-mode can be extended multiple times.
564
+ **/
565
+ extendDuration: u32 & AugmentedConst<ApiType>;
566
+ /**
567
+ * The minimal duration a deposit will remain reserved after safe-mode is entered or
568
+ * extended, unless [`Pallet::force_release_deposit`] is successfully called sooner.
569
+ *
570
+ * Every deposit is tied to a specific activation or extension, thus each deposit can be
571
+ * released independently after the delay for it has passed.
572
+ *
573
+ * `None` disallows permissionlessly releasing the safe-mode deposits and is a sane
574
+ * default.
575
+ **/
576
+ releaseDelay: Option<u32> & AugmentedConst<ApiType>;
577
+ /**
578
+ * Generic const
579
+ **/
580
+ [key: string]: Codec;
581
+ };
582
+ scheduler: {
583
+ /**
584
+ * The maximum weight that may be scheduled per block for any dispatchables.
585
+ **/
586
+ maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
587
+ /**
588
+ * The maximum number of scheduled calls in the queue for a single block.
589
+ *
590
+ * NOTE:
591
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
592
+ * higher limit under `runtime-benchmarks` feature.
593
+ **/
594
+ maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
595
+ /**
596
+ * Generic const
597
+ **/
598
+ [key: string]: Codec;
599
+ };
600
+ session: {
601
+ /**
602
+ * The amount to be held when setting keys.
603
+ **/
604
+ keyDeposit: u128 & AugmentedConst<ApiType>;
605
+ /**
606
+ * Generic const
607
+ **/
608
+ [key: string]: Codec;
609
+ };
610
+ system: {
611
+ /**
612
+ * Maximum number of block number to block hash mappings to keep (oldest pruned first).
613
+ **/
614
+ blockHashCount: u32 & AugmentedConst<ApiType>;
615
+ /**
616
+ * The maximum length of a block (in bytes).
617
+ **/
618
+ blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;
619
+ /**
620
+ * Block & extrinsics weights: base values and limits.
621
+ **/
622
+ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;
623
+ /**
624
+ * The weight of runtime database operations the runtime can invoke.
625
+ **/
626
+ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
627
+ /**
628
+ * The designated SS58 prefix of this chain.
629
+ *
630
+ * This replaces the "ss58Format" property declared in the chain spec. Reason is
631
+ * that the runtime should know about the prefix in order to make use of it as
632
+ * an identifier of the chain.
633
+ **/
634
+ ss58Prefix: u16 & AugmentedConst<ApiType>;
635
+ /**
636
+ * Get the chain's in-code version.
637
+ **/
638
+ version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
639
+ /**
640
+ * Generic const
641
+ **/
642
+ [key: string]: Codec;
643
+ };
644
+ techCommitteeManager: {
645
+ maxCandidates: u32 & AugmentedConst<ApiType>;
646
+ /**
647
+ * Smallest committee that may act.
648
+ **/
649
+ minMembers: u32 & AugmentedConst<ApiType>;
650
+ /**
651
+ * Generic const
652
+ **/
653
+ [key: string]: Codec;
654
+ };
655
+ technicalCommittee: {
656
+ /**
657
+ * The maximum weight of a dispatch call that can be proposed and executed.
658
+ **/
659
+ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
660
+ /**
661
+ * Generic const
662
+ **/
663
+ [key: string]: Codec;
664
+ };
665
+ timestamp: {
666
+ /**
667
+ * The minimum period between blocks.
668
+ *
669
+ * Be aware that this is different to the *expected* period that the block production
670
+ * apparatus provides. Your chosen consensus system will generally work with this to
671
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
672
+ * period on default settings.
673
+ **/
674
+ minimumPeriod: u64 & AugmentedConst<ApiType>;
675
+ /**
676
+ * Generic const
677
+ **/
678
+ [key: string]: Codec;
679
+ };
680
+ transactionPayment: {
681
+ /**
682
+ * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
683
+ * `priority`
684
+ *
685
+ * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
686
+ * added to a tip component in regular `priority` calculations.
687
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
688
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
689
+ *
690
+ * ```rust,ignore
691
+ * // For `Normal`
692
+ * let priority = priority_calc(tip);
693
+ *
694
+ * // For `Operational`
695
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
696
+ * let priority = priority_calc(tip + virtual_tip);
697
+ * ```
698
+ *
699
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
700
+ * sent with the transaction. So, not only does the transaction get a priority bump based
701
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
702
+ * transactions.
703
+ **/
704
+ operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
705
+ /**
706
+ * Generic const
707
+ **/
708
+ [key: string]: Codec;
709
+ };
710
+ txPause: {
711
+ /**
712
+ * Maximum length for pallet name and call name SCALE encoded string names.
713
+ *
714
+ * TOO LONG NAMES WILL BE TREATED AS PAUSED.
715
+ **/
716
+ maxNameLen: u32 & AugmentedConst<ApiType>;
717
+ /**
718
+ * Generic const
719
+ **/
720
+ [key: string]: Codec;
721
+ };
722
+ uniques: {
723
+ /**
724
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
725
+ **/
726
+ attributeDepositBase: u128 & AugmentedConst<ApiType>;
727
+ /**
728
+ * The basic amount of funds that must be reserved for collection.
729
+ **/
730
+ collectionDeposit: u128 & AugmentedConst<ApiType>;
731
+ /**
732
+ * The additional funds that must be reserved for the number of bytes store in metadata,
733
+ * either "normal" metadata or attribute metadata.
734
+ **/
735
+ depositPerByte: u128 & AugmentedConst<ApiType>;
736
+ /**
737
+ * The basic amount of funds that must be reserved for an item.
738
+ **/
739
+ itemDeposit: u128 & AugmentedConst<ApiType>;
740
+ /**
741
+ * The maximum length of an attribute key.
742
+ **/
743
+ keyLimit: u32 & AugmentedConst<ApiType>;
744
+ /**
745
+ * The basic amount of funds that must be reserved when adding metadata to your item.
746
+ **/
747
+ metadataDepositBase: u128 & AugmentedConst<ApiType>;
748
+ /**
749
+ * The maximum length of data stored on-chain.
750
+ **/
751
+ stringLimit: u32 & AugmentedConst<ApiType>;
752
+ /**
753
+ * The maximum length of an attribute value.
754
+ **/
755
+ valueLimit: u32 & AugmentedConst<ApiType>;
756
+ /**
757
+ * Generic const
758
+ **/
759
+ [key: string]: Codec;
760
+ };
761
+ utility: {
762
+ /**
763
+ * The limit on the number of batched calls.
764
+ **/
765
+ batchedCallsLimit: u32 & AugmentedConst<ApiType>;
766
+ /**
767
+ * Generic const
768
+ **/
769
+ [key: string]: Codec;
770
+ };
771
+ validatorManager: {
772
+ /**
773
+ * Base reputation penalty for equivocation offences (scaled by slash_fraction)
774
+ **/
775
+ equivocationBasePenalty: u32 & AugmentedConst<ApiType>;
776
+ /**
777
+ * The maximal number of active validators
778
+ **/
779
+ maxActiveValidators: u32 & AugmentedConst<ApiType>;
780
+ /**
781
+ * Maximum number of offence validator entries
782
+ **/
783
+ maxOffenceEntries: u32 & AugmentedConst<ApiType>;
784
+ /**
785
+ * Maximum number of offline validator entries
786
+ **/
787
+ maxOfflineEntries: u32 & AugmentedConst<ApiType>;
788
+ /**
789
+ * Maximum number of registered (candidate) validators
790
+ **/
791
+ maxRegisteredValidators: u32 & AugmentedConst<ApiType>;
792
+ /**
793
+ * Maximum cumulative reputation penalty
794
+ **/
795
+ maxReputationPenalty: u32 & AugmentedConst<ApiType>;
796
+ /**
797
+ * Maximum total reputation cap
798
+ **/
799
+ maxTotalReputation: u32 & AugmentedConst<ApiType>;
800
+ /**
801
+ * Minimum number of validators a new selection must contain; below it the
802
+ * previous validator set and candidate registry are retained.
803
+ **/
804
+ minValidators: u32 & AugmentedConst<ApiType>;
805
+ /**
806
+ * Reputation penalty applied per offline offence
807
+ **/
808
+ offlinePenalty: u32 & AugmentedConst<ApiType>;
809
+ /**
810
+ * Amount of penalty decayed (subtracted) each session during maintenance
811
+ **/
812
+ penaltyDecayPerSession: u32 & AugmentedConst<ApiType>;
813
+ /**
814
+ * Generic const
815
+ **/
816
+ [key: string]: Codec;
817
+ };
818
+ }
819
+ }