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