@@ -6,7 +6,7 @@ import type { ApiTypes, AugmentedConst } from 'https://deno.land/x/polkadot/api-
6
6
import type { Bytes , Option , Vec , u128 , u16 , u32 , u64 , u8 } from 'https://deno.land/x/polkadot/types-codec/mod.ts' ;
7
7
import type { Codec , ITuple } from 'https://deno.land/x/polkadot/types-codec/types/index.ts' ;
8
8
import type { Perbill , Permill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts' ;
9
- import type { FrameSupportPalletId , FrameSystemLimitsBlockLength , FrameSystemLimitsBlockWeights , PalletReferendaTrackInfo , SpVersionRuntimeVersion , SpWeightsRuntimeDbWeight , SpWeightsWeightV2Weight } from 'https://deno.land/x/polkadot/types/lookup.ts' ;
9
+ import type { FrameSupportPalletId , FrameSystemLimitsBlockLength , FrameSystemLimitsBlockWeights , PalletReferendaTrackInfo , SpVersionRuntimeVersion , SpWeightsRuntimeDbWeight , SpWeightsWeightV2Weight , StagingXcmV4Junctions } from 'https://deno.land/x/polkadot/types/lookup.ts' ;
10
10
11
11
export type __AugmentedConst < ApiType extends ApiTypes > = AugmentedConst < ApiType > ;
12
12
@@ -77,10 +77,14 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
77
77
/**
78
78
* The maximum number of locks that should exist on an account.
79
79
* Not strictly enforced, but used for weight estimation.
80
+ *
81
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
80
82
**/
81
83
maxLocks : u32 & AugmentedConst < ApiType > ;
82
84
/**
83
85
* The maximum number of named reserves that can exist on an account.
86
+ *
87
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
84
88
**/
85
89
maxReserves : u32 & AugmentedConst < ApiType > ;
86
90
/**
@@ -199,6 +203,20 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
199
203
**/
200
204
[ key : string ] : Codec ;
201
205
} ;
206
+ coretime : {
207
+ /**
208
+ * The ParaId of the coretime chain.
209
+ **/
210
+ brokerId : u32 & AugmentedConst < ApiType > ;
211
+ /**
212
+ * The coretime chain pot location.
213
+ **/
214
+ brokerPotLocation : StagingXcmV4Junctions & AugmentedConst < ApiType > ;
215
+ /**
216
+ * Generic const
217
+ **/
218
+ [ key : string ] : Codec ;
219
+ } ;
202
220
crowdloan : {
203
221
/**
204
222
* The minimum amount that may be contributed into a crowdloan. Should almost certainly be
@@ -277,18 +295,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
277
295
* this value.
278
296
**/
279
297
signedMaxWeight : SpWeightsWeightV2Weight & AugmentedConst < ApiType > ;
280
- /**
281
- * Duration of the signed phase.
282
- **/
283
- signedPhase : u32 & AugmentedConst < ApiType > ;
284
298
/**
285
299
* Base reward for a signed solution
286
300
**/
287
301
signedRewardBase : u128 & AugmentedConst < ApiType > ;
288
- /**
289
- * Duration of the unsigned phase.
290
- **/
291
- unsignedPhase : u32 & AugmentedConst < ApiType > ;
292
302
/**
293
303
* Generic const
294
304
**/
@@ -328,47 +338,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
328
338
**/
329
339
[ key : string ] : Codec ;
330
340
} ;
331
- identity : {
332
- /**
333
- * The amount held on deposit for a registered identity.
334
- **/
335
- basicDeposit : u128 & AugmentedConst < ApiType > ;
336
- /**
337
- * The amount held on deposit per encoded byte for a registered identity.
338
- **/
339
- byteDeposit : u128 & AugmentedConst < ApiType > ;
340
- /**
341
- * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
342
- * of, e.g., updating judgements.
343
- **/
344
- maxRegistrars : u32 & AugmentedConst < ApiType > ;
345
- /**
346
- * The maximum number of sub-accounts allowed per identified account.
347
- **/
348
- maxSubAccounts : u32 & AugmentedConst < ApiType > ;
349
- /**
350
- * The maximum length of a suffix.
351
- **/
352
- maxSuffixLength : u32 & AugmentedConst < ApiType > ;
353
- /**
354
- * The maximum length of a username, including its suffix and any system-added delimiters.
355
- **/
356
- maxUsernameLength : u32 & AugmentedConst < ApiType > ;
357
- /**
358
- * The number of blocks within which a username grant must be accepted.
359
- **/
360
- pendingUsernameExpiration : u32 & AugmentedConst < ApiType > ;
361
- /**
362
- * The amount held on deposit for a registered subaccount. This should account for the fact
363
- * that one storage item's value will increase by the size of an account ID, and there will
364
- * be another trie item whose value is the size of an account ID plus 32 bytes.
365
- **/
366
- subAccountDeposit : u128 & AugmentedConst < ApiType > ;
367
- /**
368
- * Generic const
369
- **/
370
- [ key : string ] : Codec ;
371
- } ;
372
341
indices : {
373
342
/**
374
343
* The deposit needed for reserving an index.
@@ -388,6 +357,14 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
388
357
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
389
358
**/
390
359
heapSize : u32 & AugmentedConst < ApiType > ;
360
+ /**
361
+ * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
362
+ * should be provided to the message queue for servicing enqueued items `on_idle`.
363
+ * Useful for parachains to process messages at the same block they are received.
364
+ *
365
+ * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
366
+ **/
367
+ idleMaxServiceWeight : Option < SpWeightsWeightV2Weight > & AugmentedConst < ApiType > ;
391
368
/**
392
369
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
393
370
* can happen. Once there are more stale pages than this, then historical pages may be
@@ -396,10 +373,11 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
396
373
maxStale : u32 & AugmentedConst < ApiType > ;
397
374
/**
398
375
* The amount of weight (if any) which should be provided to the message queue for
399
- * servicing enqueued items.
376
+ * servicing enqueued items `on_initialize` .
400
377
*
401
378
* This may be legitimately `None` in the case that you will call
402
- * `ServiceQueues::service_queues` manually.
379
+ * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
380
+ * it run in `on_idle`.
403
381
**/
404
382
serviceWeight : Option < SpWeightsWeightV2Weight > & AugmentedConst < ApiType > ;
405
383
/**
@@ -461,6 +439,25 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
461
439
**/
462
440
[ key : string ] : Codec ;
463
441
} ;
442
+ onDemand : {
443
+ /**
444
+ * The maximum number of blocks some historical revenue
445
+ * information stored for.
446
+ **/
447
+ maxHistoricalRevenue : u32 & AugmentedConst < ApiType > ;
448
+ /**
449
+ * Identifier for the internal revenue balance.
450
+ **/
451
+ palletId : FrameSupportPalletId & AugmentedConst < ApiType > ;
452
+ /**
453
+ * The default value for the spot traffic multiplier.
454
+ **/
455
+ trafficDefaultValue : u128 & AugmentedConst < ApiType > ;
456
+ /**
457
+ * Generic const
458
+ **/
459
+ [ key : string ] : Codec ;
460
+ } ;
464
461
paras : {
465
462
unsignedPriority : u64 & AugmentedConst < ApiType > ;
466
463
/**
@@ -714,7 +711,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
714
711
**/
715
712
ss58Prefix : u16 & AugmentedConst < ApiType > ;
716
713
/**
717
- * Get the chain's current version.
714
+ * Get the chain's in-code version.
718
715
**/
719
716
version : SpVersionRuntimeVersion & AugmentedConst < ApiType > ;
720
717
/**
@@ -786,19 +783,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
786
783
* The period during which an approved treasury spend has to be claimed.
787
784
**/
788
785
payoutPeriod : u32 & AugmentedConst < ApiType > ;
789
- /**
790
- * Fraction of a proposal's value that should be bonded in order to place the proposal.
791
- * An accepted proposal gets these back. A rejected proposal does not.
792
- **/
793
- proposalBond : Permill & AugmentedConst < ApiType > ;
794
- /**
795
- * Maximum amount of funds that should be placed in a deposit for making a proposal.
796
- **/
797
- proposalBondMaximum : Option < u128 > & AugmentedConst < ApiType > ;
798
- /**
799
- * Minimum amount of funds that should be placed in a deposit for making a proposal.
800
- **/
801
- proposalBondMinimum : u128 & AugmentedConst < ApiType > ;
802
786
/**
803
787
* Period between successive spends.
804
788
**/
0 commit comments