@dedot/chaintypes 0.244.0 → 0.246.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.
- package/astar/consts.d.ts +5 -0
- package/astar/index.d.ts +1 -1
- package/astar/types.d.ts +1 -0
- package/kusama/errors.d.ts +5 -0
- package/kusama/events.d.ts +99 -16
- package/kusama/index.d.ts +1 -1
- package/kusama/query.d.ts +85 -46
- package/kusama/runtime.d.ts +90 -79
- package/kusama/tx.d.ts +105 -32
- package/kusama/types.d.ts +307 -209
- package/kusama-asset-hub/consts.d.ts +45 -0
- package/kusama-asset-hub/errors.d.ts +156 -0
- package/kusama-asset-hub/events.d.ts +234 -5
- package/kusama-asset-hub/index.d.ts +3 -1
- package/kusama-asset-hub/query.d.ts +230 -16
- package/kusama-asset-hub/runtime.d.ts +11 -6
- package/kusama-asset-hub/tx.d.ts +650 -1
- package/kusama-asset-hub/types.d.ts +1225 -146
- package/kusama-asset-hub/view-functions.d.ts +195 -2
- package/kusama-people/events.d.ts +64 -1
- package/kusama-people/index.d.ts +1 -1
- package/kusama-people/query.d.ts +36 -16
- package/kusama-people/runtime.d.ts +9 -5
- package/kusama-people/types.d.ts +67 -21
- package/package.json +2 -2
package/astar/consts.d.ts
CHANGED
|
@@ -417,6 +417,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
417
417
|
**/
|
|
418
418
|
maxNumberOfContracts: number;
|
|
419
419
|
|
|
420
|
+
/**
|
|
421
|
+
* Legacy bound for backward compatibility with pre-v11 DAppTierRewards.
|
|
422
|
+
**/
|
|
423
|
+
maxNumberOfContractsLegacy: number;
|
|
424
|
+
|
|
420
425
|
/**
|
|
421
426
|
* Maximum number of unlocking chunks that can exist per account at a time.
|
|
422
427
|
**/
|
package/astar/index.d.ts
CHANGED
package/astar/types.d.ts
CHANGED
|
@@ -2954,6 +2954,7 @@ export type PalletDappStakingTierParameters = {
|
|
|
2954
2954
|
slotDistribution: Array<Permill>;
|
|
2955
2955
|
tierThresholds: Array<PalletDappStakingTierThreshold>;
|
|
2956
2956
|
slotNumberArgs: [bigint, bigint];
|
|
2957
|
+
tierRankMultipliers: Array<number>;
|
|
2957
2958
|
};
|
|
2958
2959
|
|
|
2959
2960
|
export type PalletDappStakingTierThreshold =
|
package/kusama/errors.d.ts
CHANGED
|
@@ -2983,6 +2983,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2983
2983
|
**/
|
|
2984
2984
|
InvalidEquivocationProofSession: GenericPalletError;
|
|
2985
2985
|
|
|
2986
|
+
/**
|
|
2987
|
+
* The session of the equivocation proof is not in the mapping (anymore)
|
|
2988
|
+
**/
|
|
2989
|
+
InvalidEquivocationProofSessionMember: GenericPalletError;
|
|
2990
|
+
|
|
2986
2991
|
/**
|
|
2987
2992
|
* A given equivocation report is valid but already previously reported.
|
|
2988
2993
|
**/
|
package/kusama/events.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import type {
|
|
|
15
15
|
import type {
|
|
16
16
|
FrameSystemDispatchEventInfo,
|
|
17
17
|
FrameSupportTokensMiscBalanceStatus,
|
|
18
|
+
StagingKusamaRuntimeRuntimeHoldReason,
|
|
18
19
|
PalletBalancesUnexpectedKind,
|
|
19
20
|
PalletStakingRewardDestination,
|
|
20
21
|
PalletStakingValidatorPrefs,
|
|
@@ -44,10 +45,11 @@ import type {
|
|
|
44
45
|
PalletNominationPoolsCommissionClaimPermission,
|
|
45
46
|
PalletNominationPoolsClaimPermission,
|
|
46
47
|
PalletStakingAsyncAhClientUnexpectedKind,
|
|
47
|
-
|
|
48
|
+
PalletStakingAsyncAhClientSessionKeysUpdate,
|
|
49
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
48
50
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
52
|
+
PolkadotPrimitivesV9GroupIndex,
|
|
51
53
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
52
54
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
53
55
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
@@ -227,11 +229,21 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
227
229
|
**/
|
|
228
230
|
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
229
231
|
|
|
232
|
+
/**
|
|
233
|
+
* Some credit was balanced and added to the TotalIssuance.
|
|
234
|
+
**/
|
|
235
|
+
MintedCredit: GenericPalletEvent<'Balances', 'MintedCredit', { amount: bigint }>;
|
|
236
|
+
|
|
230
237
|
/**
|
|
231
238
|
* Some amount was burned from an account.
|
|
232
239
|
**/
|
|
233
240
|
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
234
241
|
|
|
242
|
+
/**
|
|
243
|
+
* Some debt has been dropped from the Total Issuance.
|
|
244
|
+
**/
|
|
245
|
+
BurnedDebt: GenericPalletEvent<'Balances', 'BurnedDebt', { amount: bigint }>;
|
|
246
|
+
|
|
235
247
|
/**
|
|
236
248
|
* Some amount was suspended from an account (it can be restored later).
|
|
237
249
|
**/
|
|
@@ -282,6 +294,51 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
282
294
|
**/
|
|
283
295
|
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
284
296
|
|
|
297
|
+
/**
|
|
298
|
+
* Some balance was placed on hold.
|
|
299
|
+
**/
|
|
300
|
+
Held: GenericPalletEvent<
|
|
301
|
+
'Balances',
|
|
302
|
+
'Held',
|
|
303
|
+
{ reason: StagingKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
304
|
+
>;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Held balance was burned from an account.
|
|
308
|
+
**/
|
|
309
|
+
BurnedHeld: GenericPalletEvent<
|
|
310
|
+
'Balances',
|
|
311
|
+
'BurnedHeld',
|
|
312
|
+
{ reason: StagingKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
313
|
+
>;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* A transfer of `amount` on hold from `source` to `dest` was initiated.
|
|
317
|
+
**/
|
|
318
|
+
TransferOnHold: GenericPalletEvent<
|
|
319
|
+
'Balances',
|
|
320
|
+
'TransferOnHold',
|
|
321
|
+
{ reason: StagingKusamaRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint }
|
|
322
|
+
>;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* The `transferred` balance is placed on hold at the `dest` account.
|
|
326
|
+
**/
|
|
327
|
+
TransferAndHold: GenericPalletEvent<
|
|
328
|
+
'Balances',
|
|
329
|
+
'TransferAndHold',
|
|
330
|
+
{ reason: StagingKusamaRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; transferred: bigint }
|
|
331
|
+
>;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Some balance was released from hold.
|
|
335
|
+
**/
|
|
336
|
+
Released: GenericPalletEvent<
|
|
337
|
+
'Balances',
|
|
338
|
+
'Released',
|
|
339
|
+
{ reason: StagingKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
340
|
+
>;
|
|
341
|
+
|
|
285
342
|
/**
|
|
286
343
|
* An unexpected/defensive event was triggered.
|
|
287
344
|
**/
|
|
@@ -625,12 +682,12 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
625
682
|
/**
|
|
626
683
|
* An account has delegated their vote to another account. \[who, target\]
|
|
627
684
|
**/
|
|
628
|
-
Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
|
|
685
|
+
Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32, number]>;
|
|
629
686
|
|
|
630
687
|
/**
|
|
631
688
|
* An \[account\] has cancelled a previous delegation operation.
|
|
632
689
|
**/
|
|
633
|
-
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
|
|
690
|
+
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', [AccountId32, number]>;
|
|
634
691
|
|
|
635
692
|
/**
|
|
636
693
|
* An account has voted
|
|
@@ -638,7 +695,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
638
695
|
Voted: GenericPalletEvent<
|
|
639
696
|
'ConvictionVoting',
|
|
640
697
|
'Voted',
|
|
641
|
-
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
698
|
+
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number }
|
|
642
699
|
>;
|
|
643
700
|
|
|
644
701
|
/**
|
|
@@ -647,7 +704,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
647
704
|
VoteRemoved: GenericPalletEvent<
|
|
648
705
|
'ConvictionVoting',
|
|
649
706
|
'VoteRemoved',
|
|
650
|
-
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
707
|
+
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number }
|
|
651
708
|
>;
|
|
652
709
|
|
|
653
710
|
/**
|
|
@@ -1568,6 +1625,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1568
1625
|
{ who: AccountId32; oldDeposit: bigint; newDeposit: bigint }
|
|
1569
1626
|
>;
|
|
1570
1627
|
|
|
1628
|
+
/**
|
|
1629
|
+
* A member was kicked by the founder.
|
|
1630
|
+
**/
|
|
1631
|
+
MemberKicked: GenericPalletEvent<'Society', 'MemberKicked', { member: AccountId32 }>;
|
|
1632
|
+
|
|
1571
1633
|
/**
|
|
1572
1634
|
* Generic pallet event
|
|
1573
1635
|
**/
|
|
@@ -1771,6 +1833,8 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1771
1833
|
who: AccountId32;
|
|
1772
1834
|
proxyType: KusamaRuntimeConstantsProxyProxyType;
|
|
1773
1835
|
disambiguationIndex: number;
|
|
1836
|
+
at: number;
|
|
1837
|
+
extrinsicIndex: number;
|
|
1774
1838
|
}
|
|
1775
1839
|
>;
|
|
1776
1840
|
|
|
@@ -2444,6 +2508,25 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2444
2508
|
**/
|
|
2445
2509
|
Unexpected: GenericPalletEvent<'StakingAhClient', 'Unexpected', PalletStakingAsyncAhClientUnexpectedKind>;
|
|
2446
2510
|
|
|
2511
|
+
/**
|
|
2512
|
+
* Session keys updated for a validator.
|
|
2513
|
+
**/
|
|
2514
|
+
SessionKeysUpdated: GenericPalletEvent<
|
|
2515
|
+
'StakingAhClient',
|
|
2516
|
+
'SessionKeysUpdated',
|
|
2517
|
+
{ stash: AccountId32; update: PalletStakingAsyncAhClientSessionKeysUpdate }
|
|
2518
|
+
>;
|
|
2519
|
+
|
|
2520
|
+
/**
|
|
2521
|
+
* Session key update from AssetHub failed on the relay chain.
|
|
2522
|
+
* Logged as an event for fail-safe observability.
|
|
2523
|
+
**/
|
|
2524
|
+
SessionKeysUpdateFailed: GenericPalletEvent<
|
|
2525
|
+
'StakingAhClient',
|
|
2526
|
+
'SessionKeysUpdateFailed',
|
|
2527
|
+
{ stash: AccountId32; update: PalletStakingAsyncAhClientSessionKeysUpdate; error: DispatchError }
|
|
2528
|
+
>;
|
|
2529
|
+
|
|
2447
2530
|
/**
|
|
2448
2531
|
* Generic pallet event
|
|
2449
2532
|
**/
|
|
@@ -2460,10 +2543,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2460
2543
|
'ParaInclusion',
|
|
2461
2544
|
'CandidateBacked',
|
|
2462
2545
|
[
|
|
2463
|
-
|
|
2546
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
2464
2547
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
2465
|
-
|
|
2466
|
-
|
|
2548
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
2549
|
+
PolkadotPrimitivesV9GroupIndex,
|
|
2467
2550
|
]
|
|
2468
2551
|
>;
|
|
2469
2552
|
|
|
@@ -2474,10 +2557,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2474
2557
|
'ParaInclusion',
|
|
2475
2558
|
'CandidateIncluded',
|
|
2476
2559
|
[
|
|
2477
|
-
|
|
2560
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
2478
2561
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
2479
|
-
|
|
2480
|
-
|
|
2562
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
2563
|
+
PolkadotPrimitivesV9GroupIndex,
|
|
2481
2564
|
]
|
|
2482
2565
|
>;
|
|
2483
2566
|
|
|
@@ -2488,9 +2571,9 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2488
2571
|
'ParaInclusion',
|
|
2489
2572
|
'CandidateTimedOut',
|
|
2490
2573
|
[
|
|
2491
|
-
|
|
2574
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
2492
2575
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
2493
|
-
|
|
2576
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
2494
2577
|
]
|
|
2495
2578
|
>;
|
|
2496
2579
|
|
|
@@ -2995,7 +3078,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2995
3078
|
/**
|
|
2996
3079
|
* A core has received a new assignment from the broker chain.
|
|
2997
3080
|
**/
|
|
2998
|
-
CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core:
|
|
3081
|
+
CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV9CoreIndex }>;
|
|
2999
3082
|
|
|
3000
3083
|
/**
|
|
3001
3084
|
* Generic pallet event
|
package/kusama/index.d.ts
CHANGED
package/kusama/query.d.ts
CHANGED
|
@@ -109,13 +109,13 @@ import type {
|
|
|
109
109
|
PalletStakingAsyncRcClientSessionReport,
|
|
110
110
|
PalletStakingAsyncRcClientOffence,
|
|
111
111
|
PolkadotRuntimeParachainsConfigurationHostConfiguration,
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
PolkadotPrimitivesV9ValidatorIndex,
|
|
113
|
+
PolkadotPrimitivesV9ValidatorAppPublic,
|
|
114
114
|
PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
|
|
115
115
|
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
|
|
116
116
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
PolkadotPrimitivesV9ScrapedOnChainVotes,
|
|
118
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
119
119
|
PolkadotRuntimeParachainsSchedulerCommonAssignment,
|
|
120
120
|
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
|
|
121
121
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
@@ -123,8 +123,8 @@ import type {
|
|
|
123
123
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
124
124
|
PolkadotRuntimeParachainsParasParaPastCodeMeta,
|
|
125
125
|
PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry,
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
PolkadotPrimitivesV9UpgradeGoAhead,
|
|
127
|
+
PolkadotPrimitivesV9UpgradeRestriction,
|
|
128
128
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
129
129
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
130
130
|
PolkadotRuntimeParachainsInitializerBufferedSessionChange,
|
|
@@ -133,12 +133,12 @@ import type {
|
|
|
133
133
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
134
134
|
PolkadotRuntimeParachainsHrmpHrmpChannel,
|
|
135
135
|
PolkadotCorePrimitivesInboundHrmpMessage,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
136
|
+
PolkadotPrimitivesV9AssignmentAppPublic,
|
|
137
|
+
PolkadotPrimitivesV9SessionInfo,
|
|
138
|
+
PolkadotPrimitivesV9ExecutorParams,
|
|
139
|
+
PolkadotPrimitivesV9DisputeState,
|
|
140
140
|
PolkadotCorePrimitivesCandidateHash,
|
|
141
|
-
|
|
141
|
+
PolkadotPrimitivesV9SlashingPendingSlashes,
|
|
142
142
|
PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount,
|
|
143
143
|
PolkadotRuntimeParachainsOnDemandTypesQueueStatusType,
|
|
144
144
|
BinaryHeapEnqueuedOrder,
|
|
@@ -1267,6 +1267,17 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1267
1267
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
1268
1268
|
>;
|
|
1269
1269
|
|
|
1270
|
+
/**
|
|
1271
|
+
* Accounts whose keys were set via `SessionInterface` (external path) without
|
|
1272
|
+
* incrementing the consumer reference or placing a key deposit. `do_purge_keys`
|
|
1273
|
+
* only decrements consumers for accounts that were registered through the local
|
|
1274
|
+
* session pallet.
|
|
1275
|
+
*
|
|
1276
|
+
* @param {AccountId32Like} arg
|
|
1277
|
+
* @param {Callback<[] | undefined> =} callback
|
|
1278
|
+
**/
|
|
1279
|
+
externallySetKeys: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
1280
|
+
|
|
1270
1281
|
/**
|
|
1271
1282
|
* Generic pallet storage query
|
|
1272
1283
|
**/
|
|
@@ -2379,6 +2390,34 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2379
2390
|
**/
|
|
2380
2391
|
lock: GenericStorageQuery<() => [] | undefined>;
|
|
2381
2392
|
|
|
2393
|
+
/**
|
|
2394
|
+
* Accounts that failed to be inserted into the bags-list due to locking.
|
|
2395
|
+
* These accounts will be processed with priority in `on_idle` or via `rebag` extrinsic.
|
|
2396
|
+
*
|
|
2397
|
+
* Note: This storage is intentionally unbounded. The following factors make bounding
|
|
2398
|
+
* unnecessary:
|
|
2399
|
+
* 1. The storage usage is temporary - accounts are processed and removed in `on_idle`
|
|
2400
|
+
* 2. The pallet is only locked during snapshot generation, which is weight-limited
|
|
2401
|
+
* 3. Processing happens at multiple accounts per block, clearing even large backlogs quickly
|
|
2402
|
+
* 4. An artificial limit could be exhausted by an attacker, preventing legitimate
|
|
2403
|
+
* auto-rebagging from putting accounts in the correct position
|
|
2404
|
+
*
|
|
2405
|
+
* We don't store the score here - it's always fetched from `ScoreProvider` when processing,
|
|
2406
|
+
* ensuring we use the most up-to-date score (accounts may have been slashed, rewarded, etc.
|
|
2407
|
+
* while waiting in the queue).
|
|
2408
|
+
*
|
|
2409
|
+
* @param {AccountId32Like} arg
|
|
2410
|
+
* @param {Callback<[] | undefined> =} callback
|
|
2411
|
+
**/
|
|
2412
|
+
pendingRebag: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
2413
|
+
|
|
2414
|
+
/**
|
|
2415
|
+
* Counter for the related counted storage map
|
|
2416
|
+
*
|
|
2417
|
+
* @param {Callback<number> =} callback
|
|
2418
|
+
**/
|
|
2419
|
+
counterForPendingRebag: GenericStorageQuery<() => number>;
|
|
2420
|
+
|
|
2382
2421
|
/**
|
|
2383
2422
|
* Generic pallet storage query
|
|
2384
2423
|
**/
|
|
@@ -2816,17 +2855,17 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2816
2855
|
* All the validators actively participating in parachain consensus.
|
|
2817
2856
|
* Indices are into the broader validator set.
|
|
2818
2857
|
*
|
|
2819
|
-
* @param {Callback<Array<
|
|
2858
|
+
* @param {Callback<Array<PolkadotPrimitivesV9ValidatorIndex>> =} callback
|
|
2820
2859
|
**/
|
|
2821
|
-
activeValidatorIndices: GenericStorageQuery<() => Array<
|
|
2860
|
+
activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV9ValidatorIndex>>;
|
|
2822
2861
|
|
|
2823
2862
|
/**
|
|
2824
2863
|
* The parachain attestation keys of the validators actively participating in parachain
|
|
2825
2864
|
* consensus. This should be the same length as `ActiveValidatorIndices`.
|
|
2826
2865
|
*
|
|
2827
|
-
* @param {Callback<Array<
|
|
2866
|
+
* @param {Callback<Array<PolkadotPrimitivesV9ValidatorAppPublic>> =} callback
|
|
2828
2867
|
**/
|
|
2829
|
-
activeValidatorKeys: GenericStorageQuery<() => Array<
|
|
2868
|
+
activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV9ValidatorAppPublic>>;
|
|
2830
2869
|
|
|
2831
2870
|
/**
|
|
2832
2871
|
* All allowed relay-parents.
|
|
@@ -2885,9 +2924,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2885
2924
|
/**
|
|
2886
2925
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
2887
2926
|
*
|
|
2888
|
-
* @param {Callback<
|
|
2927
|
+
* @param {Callback<PolkadotPrimitivesV9ScrapedOnChainVotes | undefined> =} callback
|
|
2889
2928
|
**/
|
|
2890
|
-
onChainVotes: GenericStorageQuery<() =>
|
|
2929
|
+
onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesV9ScrapedOnChainVotes | undefined>;
|
|
2891
2930
|
|
|
2892
2931
|
/**
|
|
2893
2932
|
* Generic pallet storage query
|
|
@@ -2907,9 +2946,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2907
2946
|
* multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
|
|
2908
2947
|
* upper bound at 10k.
|
|
2909
2948
|
*
|
|
2910
|
-
* @param {Callback<Array<Array<
|
|
2949
|
+
* @param {Callback<Array<Array<PolkadotPrimitivesV9ValidatorIndex>>> =} callback
|
|
2911
2950
|
**/
|
|
2912
|
-
validatorGroups: GenericStorageQuery<() => Array<Array<
|
|
2951
|
+
validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV9ValidatorIndex>>>;
|
|
2913
2952
|
|
|
2914
2953
|
/**
|
|
2915
2954
|
* The block number where the session start occurred. Used to track how many group rotations
|
|
@@ -2928,10 +2967,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2928
2967
|
* One entry for each availability core. The `VecDeque` represents the assignments to be
|
|
2929
2968
|
* scheduled on that core.
|
|
2930
2969
|
*
|
|
2931
|
-
* @param {Callback<Array<[
|
|
2970
|
+
* @param {Callback<Array<[PolkadotPrimitivesV9CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>> =} callback
|
|
2932
2971
|
**/
|
|
2933
2972
|
claimQueue: GenericStorageQuery<
|
|
2934
|
-
() => Array<[
|
|
2973
|
+
() => Array<[PolkadotPrimitivesV9CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>
|
|
2935
2974
|
>;
|
|
2936
2975
|
|
|
2937
2976
|
/**
|
|
@@ -3134,10 +3173,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3134
3173
|
* the format will require migration of parachains.
|
|
3135
3174
|
*
|
|
3136
3175
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
3137
|
-
* @param {Callback<
|
|
3176
|
+
* @param {Callback<PolkadotPrimitivesV9UpgradeGoAhead | undefined> =} callback
|
|
3138
3177
|
**/
|
|
3139
3178
|
upgradeGoAheadSignal: GenericStorageQuery<
|
|
3140
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
3179
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV9UpgradeGoAhead | undefined,
|
|
3141
3180
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3142
3181
|
>;
|
|
3143
3182
|
|
|
@@ -3153,10 +3192,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3153
3192
|
* the format will require migration of parachains.
|
|
3154
3193
|
*
|
|
3155
3194
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
3156
|
-
* @param {Callback<
|
|
3195
|
+
* @param {Callback<PolkadotPrimitivesV9UpgradeRestriction | undefined> =} callback
|
|
3157
3196
|
**/
|
|
3158
3197
|
upgradeRestrictionSignal: GenericStorageQuery<
|
|
3159
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
3198
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV9UpgradeRestriction | undefined,
|
|
3160
3199
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3161
3200
|
>;
|
|
3162
3201
|
|
|
@@ -3498,9 +3537,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3498
3537
|
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
|
3499
3538
|
* When in doubt, use `Sessions` API instead.
|
|
3500
3539
|
*
|
|
3501
|
-
* @param {Callback<Array<
|
|
3540
|
+
* @param {Callback<Array<PolkadotPrimitivesV9AssignmentAppPublic>> =} callback
|
|
3502
3541
|
**/
|
|
3503
|
-
assignmentKeysUnsafe: GenericStorageQuery<() => Array<
|
|
3542
|
+
assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV9AssignmentAppPublic>>;
|
|
3504
3543
|
|
|
3505
3544
|
/**
|
|
3506
3545
|
* The earliest session for which previous session info is stored.
|
|
@@ -3515,9 +3554,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3515
3554
|
* Does not have any entries before the session index in the first session change notification.
|
|
3516
3555
|
*
|
|
3517
3556
|
* @param {number} arg
|
|
3518
|
-
* @param {Callback<
|
|
3557
|
+
* @param {Callback<PolkadotPrimitivesV9SessionInfo | undefined> =} callback
|
|
3519
3558
|
**/
|
|
3520
|
-
sessions: GenericStorageQuery<(arg: number) =>
|
|
3559
|
+
sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV9SessionInfo | undefined, number>;
|
|
3521
3560
|
|
|
3522
3561
|
/**
|
|
3523
3562
|
* The validator account keys of the validators actively participating in parachain consensus.
|
|
@@ -3531,9 +3570,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3531
3570
|
* Executor parameter set for a given session index
|
|
3532
3571
|
*
|
|
3533
3572
|
* @param {number} arg
|
|
3534
|
-
* @param {Callback<
|
|
3573
|
+
* @param {Callback<PolkadotPrimitivesV9ExecutorParams | undefined> =} callback
|
|
3535
3574
|
**/
|
|
3536
|
-
sessionExecutorParams: GenericStorageQuery<(arg: number) =>
|
|
3575
|
+
sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV9ExecutorParams | undefined, number>;
|
|
3537
3576
|
|
|
3538
3577
|
/**
|
|
3539
3578
|
* Generic pallet storage query
|
|
@@ -3556,10 +3595,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3556
3595
|
* All ongoing or concluded disputes for the last several sessions.
|
|
3557
3596
|
*
|
|
3558
3597
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3559
|
-
* @param {Callback<
|
|
3598
|
+
* @param {Callback<PolkadotPrimitivesV9DisputeState | undefined> =} callback
|
|
3560
3599
|
**/
|
|
3561
3600
|
disputes: GenericStorageQuery<
|
|
3562
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
3601
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV9DisputeState | undefined,
|
|
3563
3602
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3564
3603
|
>;
|
|
3565
3604
|
|
|
@@ -3568,10 +3607,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3568
3607
|
* This storage is used for slashing.
|
|
3569
3608
|
*
|
|
3570
3609
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3571
|
-
* @param {Callback<Array<
|
|
3610
|
+
* @param {Callback<Array<PolkadotPrimitivesV9ValidatorIndex> | undefined> =} callback
|
|
3572
3611
|
**/
|
|
3573
3612
|
backersOnDisputes: GenericStorageQuery<
|
|
3574
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<
|
|
3613
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV9ValidatorIndex> | undefined,
|
|
3575
3614
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3576
3615
|
>;
|
|
3577
3616
|
|
|
@@ -3610,10 +3649,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3610
3649
|
* Validators pending dispute slashes.
|
|
3611
3650
|
*
|
|
3612
3651
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3613
|
-
* @param {Callback<
|
|
3652
|
+
* @param {Callback<PolkadotPrimitivesV9SlashingPendingSlashes | undefined> =} callback
|
|
3614
3653
|
**/
|
|
3615
3654
|
unappliedSlashes: GenericStorageQuery<
|
|
3616
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
3655
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV9SlashingPendingSlashes | undefined,
|
|
3617
3656
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3618
3657
|
>;
|
|
3619
3658
|
|
|
@@ -3666,12 +3705,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3666
3705
|
/**
|
|
3667
3706
|
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
3668
3707
|
*
|
|
3669
|
-
* @param {
|
|
3708
|
+
* @param {PolkadotPrimitivesV9CoreIndex} arg
|
|
3670
3709
|
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3671
3710
|
**/
|
|
3672
3711
|
affinityEntries: GenericStorageQuery<
|
|
3673
|
-
(arg:
|
|
3674
|
-
|
|
3712
|
+
(arg: PolkadotPrimitivesV9CoreIndex) => BinaryHeapEnqueuedOrder,
|
|
3713
|
+
PolkadotPrimitivesV9CoreIndex
|
|
3675
3714
|
>;
|
|
3676
3715
|
|
|
3677
3716
|
/**
|
|
@@ -3704,12 +3743,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3704
3743
|
* Assignments as of the given block number. They will go into state once the block number is
|
|
3705
3744
|
* reached (and replace whatever was in there before).
|
|
3706
3745
|
*
|
|
3707
|
-
* @param {[number,
|
|
3746
|
+
* @param {[number, PolkadotPrimitivesV9CoreIndex]} arg
|
|
3708
3747
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
|
|
3709
3748
|
**/
|
|
3710
3749
|
coreSchedules: GenericStorageQuery<
|
|
3711
|
-
(arg: [number,
|
|
3712
|
-
[number,
|
|
3750
|
+
(arg: [number, PolkadotPrimitivesV9CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
|
|
3751
|
+
[number, PolkadotPrimitivesV9CoreIndex]
|
|
3713
3752
|
>;
|
|
3714
3753
|
|
|
3715
3754
|
/**
|
|
@@ -3718,12 +3757,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3718
3757
|
* They will be picked from `PendingAssignments` once we reach the scheduled block number in
|
|
3719
3758
|
* `PendingAssignments`.
|
|
3720
3759
|
*
|
|
3721
|
-
* @param {
|
|
3760
|
+
* @param {PolkadotPrimitivesV9CoreIndex} arg
|
|
3722
3761
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
|
|
3723
3762
|
**/
|
|
3724
3763
|
coreDescriptors: GenericStorageQuery<
|
|
3725
|
-
(arg:
|
|
3726
|
-
|
|
3764
|
+
(arg: PolkadotPrimitivesV9CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
3765
|
+
PolkadotPrimitivesV9CoreIndex
|
|
3727
3766
|
>;
|
|
3728
3767
|
|
|
3729
3768
|
/**
|