@dedot/chaintypes 0.269.0 → 0.271.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/basilisk/consts.d.ts +9 -0
- package/basilisk/events.d.ts +15 -0
- package/basilisk/index.d.ts +1 -1
- package/basilisk/types.d.ts +6 -0
- package/hydration/consts.d.ts +0 -5
- package/hydration/errors.d.ts +17 -2
- package/hydration/events.d.ts +61 -0
- package/hydration/index.d.ts +1 -1
- package/hydration/query.d.ts +38 -0
- package/hydration/tx.d.ts +265 -0
- package/hydration/types.d.ts +333 -6
- package/moonbeam/index.d.ts +1 -1
- package/package.json +2 -2
- package/paseo/consts.d.ts +0 -9
- package/paseo/errors.d.ts +25 -108
- package/paseo/events.d.ts +0 -308
- package/paseo/index.d.ts +3 -1
- package/paseo/query.d.ts +82 -275
- package/paseo/runtime.d.ts +73 -2
- package/paseo/tx.d.ts +60 -375
- package/paseo/types.d.ts +160 -908
- package/paseo/view-functions.d.ts +0 -1
- package/paseo-people/consts.d.ts +2 -1
- package/paseo-people/events.d.ts +20 -0
- package/paseo-people/index.d.ts +3 -1
- package/paseo-people/json-rpc.d.ts +1 -0
- package/paseo-people/query.d.ts +45 -4
- package/paseo-people/runtime.d.ts +6 -2
- package/paseo-people/tx.d.ts +22 -13
- package/paseo-people/types.d.ts +104 -28
- package/paseo-people/view-functions.d.ts +38 -1
- package/polkadot-people/index.d.ts +1 -1
- package/westend-asset-hub/consts.d.ts +11 -2
- package/westend-asset-hub/errors.d.ts +29 -4
- package/westend-asset-hub/events.d.ts +60 -13
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +100 -13
- package/westend-asset-hub/runtime.d.ts +59 -3
- package/westend-asset-hub/tx.d.ts +76 -35
- package/westend-asset-hub/types.d.ts +186 -58
- package/westend-asset-hub/view-functions.d.ts +59 -1
package/paseo/query.d.ts
CHANGED
|
@@ -96,12 +96,14 @@ import type {
|
|
|
96
96
|
PolkadotRuntimeParachainsConfigurationHostConfiguration,
|
|
97
97
|
PolkadotPrimitivesV9ValidatorIndex,
|
|
98
98
|
PolkadotPrimitivesV9ValidatorAppPublic,
|
|
99
|
-
|
|
99
|
+
PolkadotRuntimeParachainsSharedAllowedSchedulingParentsTracker,
|
|
100
|
+
PolkadotPrimitivesVstagingRelayParentInfo,
|
|
100
101
|
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
|
|
101
102
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
102
103
|
PolkadotPrimitivesV9ScrapedOnChainVotes,
|
|
104
|
+
PolkadotRuntimeParachainsSchedulerAssignerCoretimeSchedule,
|
|
103
105
|
PolkadotPrimitivesV9CoreIndex,
|
|
104
|
-
|
|
106
|
+
PolkadotRuntimeParachainsSchedulerAssignerCoretimeCoreDescriptor,
|
|
105
107
|
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
|
|
106
108
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
107
109
|
PolkadotRuntimeParachainsParasParaLifecycle,
|
|
@@ -124,11 +126,7 @@ import type {
|
|
|
124
126
|
PolkadotPrimitivesV9DisputeState,
|
|
125
127
|
PolkadotCorePrimitivesCandidateHash,
|
|
126
128
|
PolkadotPrimitivesV9SlashingPendingSlashes,
|
|
127
|
-
|
|
128
|
-
PolkadotRuntimeParachainsOnDemandTypesQueueStatusType,
|
|
129
|
-
BinaryHeapEnqueuedOrder,
|
|
130
|
-
PolkadotRuntimeParachainsAssignerCoretimeSchedule,
|
|
131
|
-
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
129
|
+
PolkadotRuntimeParachainsOnDemandOrderStatus,
|
|
132
130
|
PolkadotRuntimeCommonParasRegistrarParaInfo,
|
|
133
131
|
PolkadotRuntimeCommonCrowdloanFundInfo,
|
|
134
132
|
PalletStateTrieMigrationMigrationTask,
|
|
@@ -146,14 +144,7 @@ import type {
|
|
|
146
144
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
147
145
|
SpConsensusBeefyEcdsaCryptoPublic,
|
|
148
146
|
SpConsensusBeefyMmrBeefyAuthoritySet,
|
|
149
|
-
|
|
150
|
-
PalletRcMigratorAccountsAccountState,
|
|
151
|
-
PalletRcMigratorAccountsMigratedBalances,
|
|
152
|
-
PalletRcMigratorQueuePriority,
|
|
153
|
-
FrameSupportScheduleDispatchTime,
|
|
154
|
-
PalletRcMigratorMigrationSettings,
|
|
155
|
-
PaseoRuntimeRuntimeCall,
|
|
156
|
-
PaseoRuntimeRuntimeCallLike,
|
|
147
|
+
PalletRcMigratorAccountState,
|
|
157
148
|
} from './types.js';
|
|
158
149
|
|
|
159
150
|
export interface ChainStorage extends GenericChainStorage {
|
|
@@ -191,11 +182,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
191
182
|
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
192
183
|
|
|
193
184
|
/**
|
|
194
|
-
* Total
|
|
185
|
+
* Total size (in bytes) of the current block.
|
|
186
|
+
*
|
|
187
|
+
* Tracks the size of the header and all extrinsics.
|
|
195
188
|
*
|
|
196
189
|
* @param {Callback<number | undefined> =} callback
|
|
197
190
|
**/
|
|
198
|
-
|
|
191
|
+
blockSize: GenericStorageQuery<() => number | undefined>;
|
|
199
192
|
|
|
200
193
|
/**
|
|
201
194
|
* Map of block numbers to block hashes.
|
|
@@ -278,6 +271,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
278
271
|
**/
|
|
279
272
|
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
280
273
|
|
|
274
|
+
/**
|
|
275
|
+
* Number of blocks till the pending code upgrade is applied.
|
|
276
|
+
*
|
|
277
|
+
* @param {Callback<number | undefined> =} callback
|
|
278
|
+
**/
|
|
279
|
+
blocksTillUpgrade: GenericStorageQuery<() => number | undefined>;
|
|
280
|
+
|
|
281
281
|
/**
|
|
282
282
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
283
283
|
*
|
|
@@ -2497,11 +2497,41 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2497
2497
|
activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV9ValidatorAppPublic>>;
|
|
2498
2498
|
|
|
2499
2499
|
/**
|
|
2500
|
-
* All allowed
|
|
2500
|
+
* All allowed scheduling parents.
|
|
2501
2501
|
*
|
|
2502
|
-
* @param {Callback<
|
|
2502
|
+
* @param {Callback<PolkadotRuntimeParachainsSharedAllowedSchedulingParentsTracker> =} callback
|
|
2503
2503
|
**/
|
|
2504
|
-
|
|
2504
|
+
allowedSchedulingParents: GenericStorageQuery<() => PolkadotRuntimeParachainsSharedAllowedSchedulingParentsTracker>;
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* All allowed relay parents, keyed by (session_index, relay_parent_hash).
|
|
2508
|
+
*
|
|
2509
|
+
* @param {[number, H256]} arg
|
|
2510
|
+
* @param {Callback<PolkadotPrimitivesVstagingRelayParentInfo | undefined> =} callback
|
|
2511
|
+
**/
|
|
2512
|
+
allowedRelayParents: GenericStorageQuery<
|
|
2513
|
+
(arg: [number, H256]) => PolkadotPrimitivesVstagingRelayParentInfo | undefined,
|
|
2514
|
+
[number, H256]
|
|
2515
|
+
>;
|
|
2516
|
+
|
|
2517
|
+
/**
|
|
2518
|
+
* The oldest session index for which we still have relay parent entries in
|
|
2519
|
+
* `AllowedRelayParents`. Used to efficiently prune all expired sessions
|
|
2520
|
+
* when `max_relay_parent_session_age` decreases.
|
|
2521
|
+
*
|
|
2522
|
+
* @param {Callback<number> =} callback
|
|
2523
|
+
**/
|
|
2524
|
+
oldestRelayParentSession: GenericStorageQuery<() => number>;
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* The minimum relay parent block number for each session that has entries in
|
|
2528
|
+
* `AllowedRelayParents`. This is the block number of the first relay parent
|
|
2529
|
+
* added to each session.
|
|
2530
|
+
*
|
|
2531
|
+
* @param {number} arg
|
|
2532
|
+
* @param {Callback<number | undefined> =} callback
|
|
2533
|
+
**/
|
|
2534
|
+
minimumRelayParentNumber: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
2505
2535
|
|
|
2506
2536
|
/**
|
|
2507
2537
|
* Generic pallet storage query
|
|
@@ -2593,13 +2623,34 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2593
2623
|
sessionStartBlock: GenericStorageQuery<() => number>;
|
|
2594
2624
|
|
|
2595
2625
|
/**
|
|
2596
|
-
*
|
|
2597
|
-
* scheduled on that core.
|
|
2626
|
+
* Scheduled assignment sets for coretime cores.
|
|
2598
2627
|
*
|
|
2599
|
-
*
|
|
2628
|
+
* Assignments as of the given block number. They will go into state once the block number is
|
|
2629
|
+
* reached (and replace whatever was in there before).
|
|
2630
|
+
*
|
|
2631
|
+
* Managed by the `assigner_coretime` submodule.
|
|
2632
|
+
*
|
|
2633
|
+
* @param {[number, PolkadotPrimitivesV9CoreIndex]} arg
|
|
2634
|
+
* @param {Callback<PolkadotRuntimeParachainsSchedulerAssignerCoretimeSchedule | undefined> =} callback
|
|
2635
|
+
**/
|
|
2636
|
+
coreSchedules: GenericStorageQuery<
|
|
2637
|
+
(
|
|
2638
|
+
arg: [number, PolkadotPrimitivesV9CoreIndex],
|
|
2639
|
+
) => PolkadotRuntimeParachainsSchedulerAssignerCoretimeSchedule | undefined,
|
|
2640
|
+
[number, PolkadotPrimitivesV9CoreIndex]
|
|
2641
|
+
>;
|
|
2642
|
+
|
|
2643
|
+
/**
|
|
2644
|
+
* Assignments which are currently active for each core.
|
|
2645
|
+
*
|
|
2646
|
+
* They will be picked from `CoreSchedules` once we reach the scheduled block number.
|
|
2647
|
+
*
|
|
2648
|
+
* Managed by the `assigner_coretime` submodule.
|
|
2649
|
+
*
|
|
2650
|
+
* @param {Callback<Array<[PolkadotPrimitivesV9CoreIndex, PolkadotRuntimeParachainsSchedulerAssignerCoretimeCoreDescriptor]>> =} callback
|
|
2600
2651
|
**/
|
|
2601
|
-
|
|
2602
|
-
() => Array<[PolkadotPrimitivesV9CoreIndex,
|
|
2652
|
+
coreDescriptors: GenericStorageQuery<
|
|
2653
|
+
() => Array<[PolkadotPrimitivesV9CoreIndex, PolkadotRuntimeParachainsSchedulerAssignerCoretimeCoreDescriptor]>
|
|
2603
2654
|
>;
|
|
2604
2655
|
|
|
2605
2656
|
/**
|
|
@@ -3302,45 +3353,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3302
3353
|
* Pallet `OnDemand`'s storage queries
|
|
3303
3354
|
**/
|
|
3304
3355
|
onDemand: {
|
|
3305
|
-
/**
|
|
3306
|
-
* Maps a `ParaId` to `CoreIndex` and keeps track of how many assignments the scheduler has in
|
|
3307
|
-
* it's lookahead. Keeping track of this affinity prevents parallel execution of the same
|
|
3308
|
-
* `ParaId` on two or more `CoreIndex`es.
|
|
3309
|
-
*
|
|
3310
|
-
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
3311
|
-
* @param {Callback<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined> =} callback
|
|
3312
|
-
**/
|
|
3313
|
-
paraIdAffinity: GenericStorageQuery<
|
|
3314
|
-
(
|
|
3315
|
-
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3316
|
-
) => PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined,
|
|
3317
|
-
PolkadotParachainPrimitivesPrimitivesId
|
|
3318
|
-
>;
|
|
3319
|
-
|
|
3320
|
-
/**
|
|
3321
|
-
* Overall status of queue (both free + affinity entries)
|
|
3322
|
-
*
|
|
3323
|
-
* @param {Callback<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType> =} callback
|
|
3324
|
-
**/
|
|
3325
|
-
queueStatus: GenericStorageQuery<() => PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>;
|
|
3326
|
-
|
|
3327
3356
|
/**
|
|
3328
3357
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
|
3329
3358
|
*
|
|
3330
|
-
* @param {Callback<
|
|
3359
|
+
* @param {Callback<PolkadotRuntimeParachainsOnDemandOrderStatus> =} callback
|
|
3331
3360
|
**/
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
/**
|
|
3335
|
-
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
3336
|
-
*
|
|
3337
|
-
* @param {PolkadotPrimitivesV9CoreIndex} arg
|
|
3338
|
-
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3339
|
-
**/
|
|
3340
|
-
affinityEntries: GenericStorageQuery<
|
|
3341
|
-
(arg: PolkadotPrimitivesV9CoreIndex) => BinaryHeapEnqueuedOrder,
|
|
3342
|
-
PolkadotPrimitivesV9CoreIndex
|
|
3343
|
-
>;
|
|
3361
|
+
orderStatus: GenericStorageQuery<() => PolkadotRuntimeParachainsOnDemandOrderStatus>;
|
|
3344
3362
|
|
|
3345
3363
|
/**
|
|
3346
3364
|
* Keeps track of accumulated revenue from on demand order sales.
|
|
@@ -3362,43 +3380,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3362
3380
|
**/
|
|
3363
3381
|
[storage: string]: GenericStorageQuery;
|
|
3364
3382
|
};
|
|
3365
|
-
/**
|
|
3366
|
-
* Pallet `CoretimeAssignmentProvider`'s storage queries
|
|
3367
|
-
**/
|
|
3368
|
-
coretimeAssignmentProvider: {
|
|
3369
|
-
/**
|
|
3370
|
-
* Scheduled assignment sets.
|
|
3371
|
-
*
|
|
3372
|
-
* Assignments as of the given block number. They will go into state once the block number is
|
|
3373
|
-
* reached (and replace whatever was in there before).
|
|
3374
|
-
*
|
|
3375
|
-
* @param {[number, PolkadotPrimitivesV9CoreIndex]} arg
|
|
3376
|
-
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
|
|
3377
|
-
**/
|
|
3378
|
-
coreSchedules: GenericStorageQuery<
|
|
3379
|
-
(arg: [number, PolkadotPrimitivesV9CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
|
|
3380
|
-
[number, PolkadotPrimitivesV9CoreIndex]
|
|
3381
|
-
>;
|
|
3382
|
-
|
|
3383
|
-
/**
|
|
3384
|
-
* Assignments which are currently active.
|
|
3385
|
-
*
|
|
3386
|
-
* They will be picked from `PendingAssignments` once we reach the scheduled block number in
|
|
3387
|
-
* `PendingAssignments`.
|
|
3388
|
-
*
|
|
3389
|
-
* @param {PolkadotPrimitivesV9CoreIndex} arg
|
|
3390
|
-
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
|
|
3391
|
-
**/
|
|
3392
|
-
coreDescriptors: GenericStorageQuery<
|
|
3393
|
-
(arg: PolkadotPrimitivesV9CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
3394
|
-
PolkadotPrimitivesV9CoreIndex
|
|
3395
|
-
>;
|
|
3396
|
-
|
|
3397
|
-
/**
|
|
3398
|
-
* Generic pallet storage query
|
|
3399
|
-
**/
|
|
3400
|
-
[storage: string]: GenericStorageQuery;
|
|
3401
|
-
};
|
|
3402
3383
|
/**
|
|
3403
3384
|
* Pallet `Registrar`'s storage queries
|
|
3404
3385
|
**/
|
|
@@ -3963,24 +3944,14 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3963
3944
|
* Pallet `RcMigrator`'s storage queries
|
|
3964
3945
|
**/
|
|
3965
3946
|
rcMigrator: {
|
|
3966
|
-
/**
|
|
3967
|
-
* The Relay Chain migration state.
|
|
3968
|
-
*
|
|
3969
|
-
* @param {Callback<PalletRcMigratorMigrationStage> =} callback
|
|
3970
|
-
**/
|
|
3971
|
-
rcMigrationStage: GenericStorageQuery<() => PalletRcMigratorMigrationStage>;
|
|
3972
|
-
|
|
3973
3947
|
/**
|
|
3974
3948
|
* Helper storage item to obtain and store the known accounts that should be kept partially or
|
|
3975
3949
|
* fully on Relay Chain.
|
|
3976
3950
|
*
|
|
3977
3951
|
* @param {AccountId32Like} arg
|
|
3978
|
-
* @param {Callback<
|
|
3952
|
+
* @param {Callback<PalletRcMigratorAccountState | undefined> =} callback
|
|
3979
3953
|
**/
|
|
3980
|
-
rcAccounts: GenericStorageQuery<
|
|
3981
|
-
(arg: AccountId32Like) => PalletRcMigratorAccountsAccountState | undefined,
|
|
3982
|
-
AccountId32
|
|
3983
|
-
>;
|
|
3954
|
+
rcAccounts: GenericStorageQuery<(arg: AccountId32Like) => PalletRcMigratorAccountState | undefined, AccountId32>;
|
|
3984
3955
|
|
|
3985
3956
|
/**
|
|
3986
3957
|
* Counter for the related counted storage map
|
|
@@ -3990,183 +3961,19 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3990
3961
|
counterForRcAccounts: GenericStorageQuery<() => number>;
|
|
3991
3962
|
|
|
3992
3963
|
/**
|
|
3993
|
-
*
|
|
3994
|
-
*
|
|
3995
|
-
* @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
|
|
3996
|
-
**/
|
|
3997
|
-
rcMigratedBalance: GenericStorageQuery<() => PalletRcMigratorAccountsMigratedBalances>;
|
|
3998
|
-
|
|
3999
|
-
/**
|
|
4000
|
-
* Helper storage item to store the total balance that should be kept on Relay Chain after
|
|
4001
|
-
* it is consumed from the `RcMigratedBalance` storage item and sent to the Asset Hub.
|
|
4002
|
-
*
|
|
4003
|
-
* This let us to take the value from the `RcMigratedBalance` storage item and keep the
|
|
4004
|
-
* `SignalMigrationFinish` stage to be idempotent while preserving these values for tests and
|
|
4005
|
-
* later discoveries.
|
|
4006
|
-
*
|
|
4007
|
-
* @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
|
|
4008
|
-
**/
|
|
4009
|
-
rcMigratedBalanceArchive: GenericStorageQuery<() => PalletRcMigratorAccountsMigratedBalances>;
|
|
4010
|
-
|
|
4011
|
-
/**
|
|
4012
|
-
* The pending XCM messages.
|
|
4013
|
-
*
|
|
4014
|
-
* Contains data messages that have been sent to the Asset Hub but not yet confirmed.
|
|
4015
|
-
*
|
|
4016
|
-
* Unconfirmed messages can be resent by calling the [`Pallet::resend_xcm`] function.
|
|
4017
|
-
*
|
|
4018
|
-
* @param {[bigint, H256]} arg
|
|
4019
|
-
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
4020
|
-
**/
|
|
4021
|
-
pendingXcmMessages: GenericStorageQuery<(arg: [bigint, H256]) => StagingXcmV5Xcm | undefined, [bigint, H256]>;
|
|
4022
|
-
|
|
4023
|
-
/**
|
|
4024
|
-
* Counter for the related counted storage map
|
|
4025
|
-
*
|
|
4026
|
-
* @param {Callback<number> =} callback
|
|
4027
|
-
**/
|
|
4028
|
-
counterForPendingXcmMessages: GenericStorageQuery<() => number>;
|
|
4029
|
-
|
|
4030
|
-
/**
|
|
4031
|
-
* Accounts that use the proxy pallet to delegate permissions and have no nonce.
|
|
4032
|
-
*
|
|
4033
|
-
* Boolean value is whether they have been migrated to the Asset Hub. Needed for idempotency.
|
|
4034
|
-
*
|
|
4035
|
-
* @param {AccountId32Like} arg
|
|
4036
|
-
* @param {Callback<boolean | undefined> =} callback
|
|
4037
|
-
**/
|
|
4038
|
-
pureProxyCandidatesMigrated: GenericStorageQuery<(arg: AccountId32Like) => boolean | undefined, AccountId32>;
|
|
4039
|
-
|
|
4040
|
-
/**
|
|
4041
|
-
* The pending XCM response queries and their XCM hash referencing the message in the
|
|
4042
|
-
* [`PendingXcmMessages`] storage.
|
|
4043
|
-
*
|
|
4044
|
-
* The `QueryId` is the identifier from the [`pallet_xcm`] query handler registry. The XCM
|
|
4045
|
-
* pallet will notify about the status of the message by calling the
|
|
4046
|
-
* [`Pallet::receive_query_response`] function with the `QueryId` and the
|
|
4047
|
-
* response.
|
|
4048
|
-
*
|
|
4049
|
-
* @param {bigint} arg
|
|
4050
|
-
* @param {Callback<H256 | undefined> =} callback
|
|
4051
|
-
**/
|
|
4052
|
-
pendingXcmQueries: GenericStorageQuery<(arg: bigint) => H256 | undefined, bigint>;
|
|
4053
|
-
|
|
4054
|
-
/**
|
|
4055
|
-
* Manual override for `type UnprocessedMsgBuffer: Get<u32>`. Look there for docs.
|
|
4056
|
-
*
|
|
4057
|
-
* @param {Callback<number | undefined> =} callback
|
|
4058
|
-
**/
|
|
4059
|
-
unprocessedMsgBuffer: GenericStorageQuery<() => number | undefined>;
|
|
4060
|
-
|
|
4061
|
-
/**
|
|
4062
|
-
* The priority of the Asset Hub UMP queue during migration.
|
|
4063
|
-
*
|
|
4064
|
-
* Controls how the Asset Hub UMP (Upward Message Passing) queue is processed relative to other
|
|
4065
|
-
* queues during the migration process. This helps ensure timely processing of migration
|
|
4066
|
-
* messages. The default priority pattern is defined in the pallet configuration, but can be
|
|
4067
|
-
* overridden by a storage value of this type.
|
|
4068
|
-
*
|
|
4069
|
-
* @param {Callback<PalletRcMigratorQueuePriority> =} callback
|
|
4070
|
-
**/
|
|
4071
|
-
ahUmpQueuePriorityConfig: GenericStorageQuery<() => PalletRcMigratorQueuePriority>;
|
|
4072
|
-
|
|
4073
|
-
/**
|
|
4074
|
-
* An optional account id of a manager.
|
|
4075
|
-
*
|
|
4076
|
-
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
|
4077
|
-
* can not set the manager account id via `set_manager` call.
|
|
4078
|
-
*
|
|
4079
|
-
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4080
|
-
**/
|
|
4081
|
-
manager: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
4082
|
-
|
|
4083
|
-
/**
|
|
4084
|
-
* An optional account id of a canceller.
|
|
4085
|
-
*
|
|
4086
|
-
* This account id can only stop scheduled migration.
|
|
4087
|
-
*
|
|
4088
|
-
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4089
|
-
**/
|
|
4090
|
-
canceller: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
4091
|
-
|
|
4092
|
-
/**
|
|
4093
|
-
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
4094
|
-
*
|
|
4095
|
-
* This value is set when entering the `WaitingForAh` stage, i.e., when
|
|
4096
|
-
* `RcMigrationStage::is_ongoing()` becomes `true`.
|
|
3964
|
+
* The block number when the migration started.
|
|
4097
3965
|
*
|
|
4098
3966
|
* @param {Callback<number | undefined> =} callback
|
|
4099
3967
|
**/
|
|
4100
3968
|
migrationStartBlock: GenericStorageQuery<() => number | undefined>;
|
|
4101
3969
|
|
|
4102
3970
|
/**
|
|
4103
|
-
*
|
|
4104
|
-
*
|
|
4105
|
-
* This is set when entering the `MigrationDone` stage hence when
|
|
4106
|
-
* `RcMigrationStage::is_finished()` becomes `true`.
|
|
3971
|
+
* The block number when the migration ended.
|
|
4107
3972
|
*
|
|
4108
3973
|
* @param {Callback<number | undefined> =} callback
|
|
4109
3974
|
**/
|
|
4110
3975
|
migrationEndBlock: GenericStorageQuery<() => number | undefined>;
|
|
4111
3976
|
|
|
4112
|
-
/**
|
|
4113
|
-
* The duration of the pre migration warm-up period.
|
|
4114
|
-
*
|
|
4115
|
-
* This is the duration of the warm-up period before the data migration starts. During this
|
|
4116
|
-
* period, the migration will be in ongoing state and the concerned extrinsics will be locked.
|
|
4117
|
-
*
|
|
4118
|
-
* @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
|
|
4119
|
-
**/
|
|
4120
|
-
warmUpPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
|
|
4121
|
-
|
|
4122
|
-
/**
|
|
4123
|
-
* The duration of the post migration cool-off period.
|
|
4124
|
-
*
|
|
4125
|
-
* This is the duration of the cool-off period after the data migration is finished. During
|
|
4126
|
-
* this period, the migration will be still in ongoing state and the concerned extrinsics will
|
|
4127
|
-
* be locked.
|
|
4128
|
-
*
|
|
4129
|
-
* @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
|
|
4130
|
-
**/
|
|
4131
|
-
coolOffPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
|
|
4132
|
-
|
|
4133
|
-
/**
|
|
4134
|
-
* The migration settings.
|
|
4135
|
-
*
|
|
4136
|
-
* @param {Callback<PalletRcMigratorMigrationSettings | undefined> =} callback
|
|
4137
|
-
**/
|
|
4138
|
-
settings: GenericStorageQuery<() => PalletRcMigratorMigrationSettings | undefined>;
|
|
4139
|
-
|
|
4140
|
-
/**
|
|
4141
|
-
* The multisig AccountIDs that votes to execute a specific call.
|
|
4142
|
-
*
|
|
4143
|
-
* @param {PaseoRuntimeRuntimeCallLike} arg
|
|
4144
|
-
* @param {Callback<Array<AccountId32>> =} callback
|
|
4145
|
-
**/
|
|
4146
|
-
managerMultisigs: GenericStorageQuery<
|
|
4147
|
-
(arg: PaseoRuntimeRuntimeCallLike) => Array<AccountId32>,
|
|
4148
|
-
PaseoRuntimeRuntimeCall
|
|
4149
|
-
>;
|
|
4150
|
-
|
|
4151
|
-
/**
|
|
4152
|
-
* The current round of the multisig voting.
|
|
4153
|
-
*
|
|
4154
|
-
* Votes are only valid for the current round.
|
|
4155
|
-
*
|
|
4156
|
-
* @param {Callback<number> =} callback
|
|
4157
|
-
**/
|
|
4158
|
-
managerMultisigRound: GenericStorageQuery<() => number>;
|
|
4159
|
-
|
|
4160
|
-
/**
|
|
4161
|
-
* How often each participant voted in the current round.
|
|
4162
|
-
*
|
|
4163
|
-
* Will be cleared at the end of each round.
|
|
4164
|
-
*
|
|
4165
|
-
* @param {AccountId32Like} arg
|
|
4166
|
-
* @param {Callback<number> =} callback
|
|
4167
|
-
**/
|
|
4168
|
-
managerVotesInCurrentRound: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
4169
|
-
|
|
4170
3977
|
/**
|
|
4171
3978
|
* Generic pallet storage query
|
|
4172
3979
|
**/
|
package/paseo/runtime.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ import type {
|
|
|
12
12
|
AccountId32,
|
|
13
13
|
H256,
|
|
14
14
|
BitSequence,
|
|
15
|
-
Bytes,
|
|
16
15
|
BytesLike,
|
|
16
|
+
Bytes,
|
|
17
17
|
} from 'dedot/codecs';
|
|
18
18
|
import type {
|
|
19
19
|
SpRuntimeBlockLazyBlock,
|
|
@@ -53,6 +53,8 @@ import type {
|
|
|
53
53
|
PolkadotPrimitivesV9ApprovalVotingParams,
|
|
54
54
|
PolkadotPrimitivesV9CoreIndex,
|
|
55
55
|
PolkadotPrimitivesV9AsyncBackingConstraints,
|
|
56
|
+
PolkadotPrimitivesV9SlashingPendingSlashes,
|
|
57
|
+
PolkadotPrimitivesVstagingRelayParentInfo,
|
|
56
58
|
SpConsensusBeefyValidatorSet,
|
|
57
59
|
SpConsensusBeefyDoubleVotingProof,
|
|
58
60
|
SpRuntimeOpaqueValue,
|
|
@@ -73,6 +75,7 @@ import type {
|
|
|
73
75
|
SpConsensusBabeAppPublic,
|
|
74
76
|
SpConsensusSlotsEquivocationProof,
|
|
75
77
|
SpAuthorityDiscoveryAppPublic,
|
|
78
|
+
SpSessionRuntimeApiOpaqueGeneratedSessionKeys,
|
|
76
79
|
SpCoreCryptoKeyTypeId,
|
|
77
80
|
FrameSupportViewFunctionsViewFunctionDispatchError,
|
|
78
81
|
FrameSupportViewFunctionsViewFunctionId,
|
|
@@ -786,6 +789,48 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
786
789
|
**/
|
|
787
790
|
schedulingLookahead: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
788
791
|
|
|
792
|
+
/**
|
|
793
|
+
* Retrieve paraids at relay parent
|
|
794
|
+
*
|
|
795
|
+
* @callname: ParachainHost_para_ids
|
|
796
|
+
**/
|
|
797
|
+
paraIds: GenericRuntimeApiMethod<() => Promise<Array<PolkadotParachainPrimitivesPrimitivesId>>>;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Returns a list of validators that lost a past session dispute and need to be slashed.
|
|
801
|
+
*
|
|
802
|
+
* @callname: ParachainHost_unapplied_slashes_v2
|
|
803
|
+
**/
|
|
804
|
+
unappliedSlashesV2: GenericRuntimeApiMethod<
|
|
805
|
+
() => Promise<Array<[number, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV9SlashingPendingSlashes]>>
|
|
806
|
+
>;
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Retrieve the maximum relay parent session age allowed for parachain blocks.
|
|
810
|
+
*
|
|
811
|
+
* @callname: ParachainHost_max_relay_parent_session_age
|
|
812
|
+
**/
|
|
813
|
+
maxRelayParentSessionAge: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Look up relay parent info for a block that is an **ancestor** of the block
|
|
817
|
+
* this API is called at. Returns `None` if the relay parent is not found
|
|
818
|
+
* in the allowed relay parents for the given session.
|
|
819
|
+
*
|
|
820
|
+
* NOTE: A block is not in its own `AllowedRelayParents` storage (it gets
|
|
821
|
+
* added during the next block's inherent). Querying a block about itself
|
|
822
|
+
* will always return `None`. Use the node-side `check_relay_parent_session`
|
|
823
|
+
* utility for a general-purpose check that handles both the self and
|
|
824
|
+
* ancestor cases.
|
|
825
|
+
*
|
|
826
|
+
* @callname: ParachainHost_ancestor_relay_parent_info
|
|
827
|
+
* @param {number} session_index
|
|
828
|
+
* @param {H256} relay_parent
|
|
829
|
+
**/
|
|
830
|
+
ancestorRelayParentInfo: GenericRuntimeApiMethod<
|
|
831
|
+
(sessionIndex: number, relayParent: H256) => Promise<PolkadotPrimitivesVstagingRelayParentInfo | undefined>
|
|
832
|
+
>;
|
|
833
|
+
|
|
789
834
|
/**
|
|
790
835
|
* Generic runtime api call
|
|
791
836
|
**/
|
|
@@ -1197,9 +1242,12 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
1197
1242
|
* Returns the concatenated SCALE encoded public keys.
|
|
1198
1243
|
*
|
|
1199
1244
|
* @callname: SessionKeys_generate_session_keys
|
|
1245
|
+
* @param {BytesLike} owner
|
|
1200
1246
|
* @param {BytesLike | undefined} seed
|
|
1201
1247
|
**/
|
|
1202
|
-
generateSessionKeys: GenericRuntimeApiMethod<
|
|
1248
|
+
generateSessionKeys: GenericRuntimeApiMethod<
|
|
1249
|
+
(owner: BytesLike, seed?: BytesLike | undefined) => Promise<SpSessionRuntimeApiOpaqueGeneratedSessionKeys>
|
|
1250
|
+
>;
|
|
1203
1251
|
|
|
1204
1252
|
/**
|
|
1205
1253
|
* Decode the given public session keys.
|
|
@@ -1536,6 +1584,29 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
1536
1584
|
**/
|
|
1537
1585
|
presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
|
|
1538
1586
|
|
|
1587
|
+
/**
|
|
1588
|
+
* Generic runtime api call
|
|
1589
|
+
**/
|
|
1590
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1591
|
+
};
|
|
1592
|
+
/**
|
|
1593
|
+
* @runtimeapi: AssetHubMigrationApi - 0xc1b8f0c037f97de8
|
|
1594
|
+
**/
|
|
1595
|
+
assetHubMigrationApi: {
|
|
1596
|
+
/**
|
|
1597
|
+
* Returns the block number when the migration started.
|
|
1598
|
+
*
|
|
1599
|
+
* @callname: AssetHubMigrationApi_migration_start_block
|
|
1600
|
+
**/
|
|
1601
|
+
migrationStartBlock: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* Returns the block number when the migration ended.
|
|
1605
|
+
*
|
|
1606
|
+
* @callname: AssetHubMigrationApi_migration_end_block
|
|
1607
|
+
**/
|
|
1608
|
+
migrationEndBlock: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
1609
|
+
|
|
1539
1610
|
/**
|
|
1540
1611
|
* Generic runtime api call
|
|
1541
1612
|
**/
|