@dedot/chaintypes 0.159.0 → 0.161.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/kusama/consts.d.ts +24 -122
- package/kusama/errors.d.ts +108 -154
- package/kusama/events.d.ts +343 -246
- package/kusama/index.d.ts +1 -1
- package/kusama/query.d.ts +311 -138
- package/kusama/tx.d.ts +412 -444
- package/kusama/types.d.ts +871 -311
- package/kusama-asset-hub/consts.d.ts +762 -2
- package/kusama-asset-hub/errors.d.ts +1664 -127
- package/kusama-asset-hub/events.d.ts +2031 -1
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +2068 -64
- package/kusama-asset-hub/tx.d.ts +12102 -5716
- package/kusama-asset-hub/types.d.ts +18076 -8899
- package/kusama-asset-hub/view-functions.d.ts +44 -0
- package/kusama-people/index.d.ts +1 -1
- package/moonbeam/json-rpc.d.ts +10 -9
- package/package.json +2 -2
package/kusama/query.d.ts
CHANGED
|
@@ -93,10 +93,6 @@ import type {
|
|
|
93
93
|
PalletElectionProviderMultiPhaseSolutionOrSnapshotSize,
|
|
94
94
|
SpNposElectionsElectionScore,
|
|
95
95
|
PalletElectionProviderMultiPhaseSignedSignedSubmission,
|
|
96
|
-
PalletNisBid,
|
|
97
|
-
PalletNisSummaryRecord,
|
|
98
|
-
PalletNisReceiptRecord,
|
|
99
|
-
FrameSupportTokensMiscIdAmount003,
|
|
100
96
|
PalletBagsListListNode,
|
|
101
97
|
PalletBagsListListBag,
|
|
102
98
|
PalletNominationPoolsPoolMember,
|
|
@@ -107,6 +103,9 @@ import type {
|
|
|
107
103
|
PalletFastUnstakeUnstakeRequest,
|
|
108
104
|
PalletDelegatedStakingDelegation,
|
|
109
105
|
PalletDelegatedStakingAgentLedger,
|
|
106
|
+
PalletStakingAsyncRcClientValidatorSetReport,
|
|
107
|
+
PalletStakingAsyncAhClientOperatingMode,
|
|
108
|
+
PalletStakingAsyncAhClientBufferedOffence,
|
|
110
109
|
PolkadotRuntimeParachainsConfigurationHostConfiguration,
|
|
111
110
|
PolkadotPrimitivesV8ValidatorIndex,
|
|
112
111
|
PolkadotPrimitivesV8ValidatorAppPublic,
|
|
@@ -158,6 +157,14 @@ import type {
|
|
|
158
157
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
159
158
|
SpConsensusBeefyEcdsaCryptoPublic,
|
|
160
159
|
SpConsensusBeefyMmrBeefyAuthoritySet,
|
|
160
|
+
PalletRcMigratorMigrationStage,
|
|
161
|
+
PalletRcMigratorAccountsAccountState,
|
|
162
|
+
PalletRcMigratorAccountsMigratedBalances,
|
|
163
|
+
PalletRcMigratorQueuePriority,
|
|
164
|
+
FrameSupportScheduleDispatchTime,
|
|
165
|
+
SpRuntimeMultiSigner,
|
|
166
|
+
StagingKusamaRuntimeRuntimeCall,
|
|
167
|
+
StagingKusamaRuntimeRuntimeCallLike,
|
|
161
168
|
} from './types.js';
|
|
162
169
|
|
|
163
170
|
export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
|
|
@@ -1901,6 +1908,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1901
1908
|
[number, AccountId32]
|
|
1902
1909
|
>;
|
|
1903
1910
|
|
|
1911
|
+
/**
|
|
1912
|
+
* Next intake rotation scheduled with [Config::BlockNumberProvider].
|
|
1913
|
+
*
|
|
1914
|
+
* @param {Callback<number | undefined> =} callback
|
|
1915
|
+
**/
|
|
1916
|
+
nextIntakeAt: GenericStorageQuery<Rv, () => number | undefined>;
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* Next challenge rotation scheduled with [Config::BlockNumberProvider].
|
|
1920
|
+
*
|
|
1921
|
+
* @param {Callback<number | undefined> =} callback
|
|
1922
|
+
**/
|
|
1923
|
+
nextChallengeAt: GenericStorageQuery<Rv, () => number | undefined>;
|
|
1924
|
+
|
|
1904
1925
|
/**
|
|
1905
1926
|
* Generic pallet storage query
|
|
1906
1927
|
**/
|
|
@@ -2355,140 +2376,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2355
2376
|
**/
|
|
2356
2377
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
2357
2378
|
};
|
|
2358
|
-
/**
|
|
2359
|
-
* Pallet `Nis`'s storage queries
|
|
2360
|
-
**/
|
|
2361
|
-
nis: {
|
|
2362
|
-
/**
|
|
2363
|
-
* The totals of items and balances within each queue. Saves a lot of storage reads in the
|
|
2364
|
-
* case of sparsely packed queues.
|
|
2365
|
-
*
|
|
2366
|
-
* The vector is indexed by duration in `Period`s, offset by one, so information on the queue
|
|
2367
|
-
* whose duration is one `Period` would be storage `0`.
|
|
2368
|
-
*
|
|
2369
|
-
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
2370
|
-
**/
|
|
2371
|
-
queueTotals: GenericStorageQuery<Rv, () => Array<[number, bigint]>>;
|
|
2372
|
-
|
|
2373
|
-
/**
|
|
2374
|
-
* The queues of bids. Indexed by duration (in `Period`s).
|
|
2375
|
-
*
|
|
2376
|
-
* @param {number} arg
|
|
2377
|
-
* @param {Callback<Array<PalletNisBid>> =} callback
|
|
2378
|
-
**/
|
|
2379
|
-
queues: GenericStorageQuery<Rv, (arg: number) => Array<PalletNisBid>, number>;
|
|
2380
|
-
|
|
2381
|
-
/**
|
|
2382
|
-
* Summary information over the general state.
|
|
2383
|
-
*
|
|
2384
|
-
* @param {Callback<PalletNisSummaryRecord> =} callback
|
|
2385
|
-
**/
|
|
2386
|
-
summary: GenericStorageQuery<Rv, () => PalletNisSummaryRecord>;
|
|
2387
|
-
|
|
2388
|
-
/**
|
|
2389
|
-
* The currently outstanding receipts, indexed according to the order of creation.
|
|
2390
|
-
*
|
|
2391
|
-
* @param {number} arg
|
|
2392
|
-
* @param {Callback<PalletNisReceiptRecord | undefined> =} callback
|
|
2393
|
-
**/
|
|
2394
|
-
receipts: GenericStorageQuery<Rv, (arg: number) => PalletNisReceiptRecord | undefined, number>;
|
|
2395
|
-
|
|
2396
|
-
/**
|
|
2397
|
-
* Generic pallet storage query
|
|
2398
|
-
**/
|
|
2399
|
-
[storage: string]: GenericStorageQuery<Rv>;
|
|
2400
|
-
};
|
|
2401
|
-
/**
|
|
2402
|
-
* Pallet `NisCounterpartBalances`'s storage queries
|
|
2403
|
-
**/
|
|
2404
|
-
nisCounterpartBalances: {
|
|
2405
|
-
/**
|
|
2406
|
-
* The total units issued in the system.
|
|
2407
|
-
*
|
|
2408
|
-
* @param {Callback<bigint> =} callback
|
|
2409
|
-
**/
|
|
2410
|
-
totalIssuance: GenericStorageQuery<Rv, () => bigint>;
|
|
2411
|
-
|
|
2412
|
-
/**
|
|
2413
|
-
* The total units of outstanding deactivated balance in the system.
|
|
2414
|
-
*
|
|
2415
|
-
* @param {Callback<bigint> =} callback
|
|
2416
|
-
**/
|
|
2417
|
-
inactiveIssuance: GenericStorageQuery<Rv, () => bigint>;
|
|
2418
|
-
|
|
2419
|
-
/**
|
|
2420
|
-
* The Balances pallet example of storing the balance of an account.
|
|
2421
|
-
*
|
|
2422
|
-
* # Example
|
|
2423
|
-
*
|
|
2424
|
-
* ```nocompile
|
|
2425
|
-
* impl pallet_balances::Config for Runtime {
|
|
2426
|
-
* type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
|
|
2427
|
-
* }
|
|
2428
|
-
* ```
|
|
2429
|
-
*
|
|
2430
|
-
* You can also store the balance of an account in the `System` pallet.
|
|
2431
|
-
*
|
|
2432
|
-
* # Example
|
|
2433
|
-
*
|
|
2434
|
-
* ```nocompile
|
|
2435
|
-
* impl pallet_balances::Config for Runtime {
|
|
2436
|
-
* type AccountStore = System
|
|
2437
|
-
* }
|
|
2438
|
-
* ```
|
|
2439
|
-
*
|
|
2440
|
-
* But this comes with tradeoffs, storing account balances in the system pallet stores
|
|
2441
|
-
* `frame_system` data alongside the account data contrary to storing account balances in the
|
|
2442
|
-
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
|
2443
|
-
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
2444
|
-
*
|
|
2445
|
-
* @param {AccountId32Like} arg
|
|
2446
|
-
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
2447
|
-
**/
|
|
2448
|
-
account: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
2449
|
-
|
|
2450
|
-
/**
|
|
2451
|
-
* Any liquidity locks on some account balances.
|
|
2452
|
-
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
|
2453
|
-
*
|
|
2454
|
-
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
2455
|
-
*
|
|
2456
|
-
* @param {AccountId32Like} arg
|
|
2457
|
-
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
2458
|
-
**/
|
|
2459
|
-
locks: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
2460
|
-
|
|
2461
|
-
/**
|
|
2462
|
-
* Named reserves on some account balances.
|
|
2463
|
-
*
|
|
2464
|
-
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
2465
|
-
*
|
|
2466
|
-
* @param {AccountId32Like} arg
|
|
2467
|
-
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
2468
|
-
**/
|
|
2469
|
-
reserves: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
2470
|
-
|
|
2471
|
-
/**
|
|
2472
|
-
* Holds on account balances.
|
|
2473
|
-
*
|
|
2474
|
-
* @param {AccountId32Like} arg
|
|
2475
|
-
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
2476
|
-
**/
|
|
2477
|
-
holds: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
2478
|
-
|
|
2479
|
-
/**
|
|
2480
|
-
* Freeze locks on account balances.
|
|
2481
|
-
*
|
|
2482
|
-
* @param {AccountId32Like} arg
|
|
2483
|
-
* @param {Callback<Array<FrameSupportTokensMiscIdAmount003>> =} callback
|
|
2484
|
-
**/
|
|
2485
|
-
freezes: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount003>, AccountId32>;
|
|
2486
|
-
|
|
2487
|
-
/**
|
|
2488
|
-
* Generic pallet storage query
|
|
2489
|
-
**/
|
|
2490
|
-
[storage: string]: GenericStorageQuery<Rv>;
|
|
2491
|
-
};
|
|
2492
2379
|
/**
|
|
2493
2380
|
* Pallet `VoterList`'s storage queries
|
|
2494
2381
|
**/
|
|
@@ -2835,6 +2722,98 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2835
2722
|
**/
|
|
2836
2723
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
2837
2724
|
};
|
|
2725
|
+
/**
|
|
2726
|
+
* Pallet `StakingAhClient`'s storage queries
|
|
2727
|
+
**/
|
|
2728
|
+
stakingAhClient: {
|
|
2729
|
+
/**
|
|
2730
|
+
* The queued validator sets for a given planning session index.
|
|
2731
|
+
*
|
|
2732
|
+
* This is received via a call from AssetHub.
|
|
2733
|
+
*
|
|
2734
|
+
* @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
|
|
2735
|
+
**/
|
|
2736
|
+
validatorSet: GenericStorageQuery<Rv, () => [number, Array<AccountId32>] | undefined>;
|
|
2737
|
+
|
|
2738
|
+
/**
|
|
2739
|
+
* An incomplete validator set report.
|
|
2740
|
+
*
|
|
2741
|
+
* @param {Callback<PalletStakingAsyncRcClientValidatorSetReport | undefined> =} callback
|
|
2742
|
+
**/
|
|
2743
|
+
incompleteValidatorSetReport: GenericStorageQuery<
|
|
2744
|
+
Rv,
|
|
2745
|
+
() => PalletStakingAsyncRcClientValidatorSetReport | undefined
|
|
2746
|
+
>;
|
|
2747
|
+
|
|
2748
|
+
/**
|
|
2749
|
+
* All of the points of the validators.
|
|
2750
|
+
*
|
|
2751
|
+
* This is populated during a session, and is flushed and sent over via [`SendToAssetHub`]
|
|
2752
|
+
* at each session end.
|
|
2753
|
+
*
|
|
2754
|
+
* @param {AccountId32Like} arg
|
|
2755
|
+
* @param {Callback<number> =} callback
|
|
2756
|
+
**/
|
|
2757
|
+
validatorPoints: GenericStorageQuery<Rv, (arg: AccountId32Like) => number, AccountId32>;
|
|
2758
|
+
|
|
2759
|
+
/**
|
|
2760
|
+
* Indicates the current operating mode of the pallet.
|
|
2761
|
+
*
|
|
2762
|
+
* This value determines how the pallet behaves in response to incoming and outgoing messages,
|
|
2763
|
+
* particularly whether it should execute logic directly, defer it, or delegate it entirely.
|
|
2764
|
+
*
|
|
2765
|
+
* @param {Callback<PalletStakingAsyncAhClientOperatingMode> =} callback
|
|
2766
|
+
**/
|
|
2767
|
+
mode: GenericStorageQuery<Rv, () => PalletStakingAsyncAhClientOperatingMode>;
|
|
2768
|
+
|
|
2769
|
+
/**
|
|
2770
|
+
* A storage value that is set when a `new_session` gives a new validator set to the session
|
|
2771
|
+
* pallet, and is cleared on the next call.
|
|
2772
|
+
*
|
|
2773
|
+
* The inner u32 is the id of the said activated validator set. While not relevant here, good
|
|
2774
|
+
* to know this is the planning era index of staking-async on AH.
|
|
2775
|
+
*
|
|
2776
|
+
* Once cleared, we know a validator set has been activated, and therefore we can send a
|
|
2777
|
+
* timestamp to AH.
|
|
2778
|
+
*
|
|
2779
|
+
* @param {Callback<number | undefined> =} callback
|
|
2780
|
+
**/
|
|
2781
|
+
nextSessionChangesValidators: GenericStorageQuery<Rv, () => number | undefined>;
|
|
2782
|
+
|
|
2783
|
+
/**
|
|
2784
|
+
* The session index at which the latest elected validator set was applied.
|
|
2785
|
+
*
|
|
2786
|
+
* This is used to determine if an offence, given a session index, is in the current active era
|
|
2787
|
+
* or not.
|
|
2788
|
+
*
|
|
2789
|
+
* @param {Callback<number | undefined> =} callback
|
|
2790
|
+
**/
|
|
2791
|
+
validatorSetAppliedAt: GenericStorageQuery<Rv, () => number | undefined>;
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
* Offences collected while in [`OperatingMode::Buffered`] mode.
|
|
2795
|
+
*
|
|
2796
|
+
* These are temporarily stored and sent once the pallet switches to [`OperatingMode::Active`].
|
|
2797
|
+
* For each offender, only the highest `slash_fraction` is kept.
|
|
2798
|
+
*
|
|
2799
|
+
* Internally stores as a nested BTreeMap:
|
|
2800
|
+
* `session_index -> (offender -> (reporter, slash_fraction))`.
|
|
2801
|
+
*
|
|
2802
|
+
* Note: While the [`rc_client::Offence`] type includes a list of reporters, in practice there
|
|
2803
|
+
* is only one. In this pallet, we assume this is the case and store only the first reporter.
|
|
2804
|
+
*
|
|
2805
|
+
* @param {Callback<Array<[number, Array<[AccountId32, PalletStakingAsyncAhClientBufferedOffence]>]>> =} callback
|
|
2806
|
+
**/
|
|
2807
|
+
bufferedOffences: GenericStorageQuery<
|
|
2808
|
+
Rv,
|
|
2809
|
+
() => Array<[number, Array<[AccountId32, PalletStakingAsyncAhClientBufferedOffence]>]>
|
|
2810
|
+
>;
|
|
2811
|
+
|
|
2812
|
+
/**
|
|
2813
|
+
* Generic pallet storage query
|
|
2814
|
+
**/
|
|
2815
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2816
|
+
};
|
|
2838
2817
|
/**
|
|
2839
2818
|
* Pallet `Configuration`'s storage queries
|
|
2840
2819
|
**/
|
|
@@ -4373,6 +4352,200 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4373
4352
|
**/
|
|
4374
4353
|
beefyNextAuthorities: GenericStorageQuery<Rv, () => SpConsensusBeefyMmrBeefyAuthoritySet>;
|
|
4375
4354
|
|
|
4355
|
+
/**
|
|
4356
|
+
* Generic pallet storage query
|
|
4357
|
+
**/
|
|
4358
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
4359
|
+
};
|
|
4360
|
+
/**
|
|
4361
|
+
* Pallet `RcMigrator`'s storage queries
|
|
4362
|
+
**/
|
|
4363
|
+
rcMigrator: {
|
|
4364
|
+
/**
|
|
4365
|
+
* The Relay Chain migration state.
|
|
4366
|
+
*
|
|
4367
|
+
* @param {Callback<PalletRcMigratorMigrationStage> =} callback
|
|
4368
|
+
**/
|
|
4369
|
+
rcMigrationStage: GenericStorageQuery<Rv, () => PalletRcMigratorMigrationStage>;
|
|
4370
|
+
|
|
4371
|
+
/**
|
|
4372
|
+
* Helper storage item to obtain and store the known accounts that should be kept partially or
|
|
4373
|
+
* fully on Relay Chain.
|
|
4374
|
+
*
|
|
4375
|
+
* @param {AccountId32Like} arg
|
|
4376
|
+
* @param {Callback<PalletRcMigratorAccountsAccountState | undefined> =} callback
|
|
4377
|
+
**/
|
|
4378
|
+
rcAccounts: GenericStorageQuery<
|
|
4379
|
+
Rv,
|
|
4380
|
+
(arg: AccountId32Like) => PalletRcMigratorAccountsAccountState | undefined,
|
|
4381
|
+
AccountId32
|
|
4382
|
+
>;
|
|
4383
|
+
|
|
4384
|
+
/**
|
|
4385
|
+
* Counter for the related counted storage map
|
|
4386
|
+
*
|
|
4387
|
+
* @param {Callback<number> =} callback
|
|
4388
|
+
**/
|
|
4389
|
+
counterForRcAccounts: GenericStorageQuery<Rv, () => number>;
|
|
4390
|
+
|
|
4391
|
+
/**
|
|
4392
|
+
* Helper storage item to store the total balance that should be kept on Relay Chain.
|
|
4393
|
+
*
|
|
4394
|
+
* @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
|
|
4395
|
+
**/
|
|
4396
|
+
rcMigratedBalance: GenericStorageQuery<Rv, () => PalletRcMigratorAccountsMigratedBalances>;
|
|
4397
|
+
|
|
4398
|
+
/**
|
|
4399
|
+
* Helper storage item to store the total balance that should be kept on Relay Chain after
|
|
4400
|
+
* it is consumed from the `RcMigratedBalance` storage item and sent to the Asset Hub.
|
|
4401
|
+
*
|
|
4402
|
+
* This let us to take the value from the `RcMigratedBalance` storage item and keep the
|
|
4403
|
+
* `SignalMigrationFinish` stage to be idempotent while preserving these values for tests and
|
|
4404
|
+
* later discoveries.
|
|
4405
|
+
*
|
|
4406
|
+
* @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
|
|
4407
|
+
**/
|
|
4408
|
+
rcMigratedBalanceArchive: GenericStorageQuery<Rv, () => PalletRcMigratorAccountsMigratedBalances>;
|
|
4409
|
+
|
|
4410
|
+
/**
|
|
4411
|
+
* The pending XCM messages.
|
|
4412
|
+
*
|
|
4413
|
+
* Contains data messages that have been sent to the Asset Hub but not yet confirmed.
|
|
4414
|
+
*
|
|
4415
|
+
* Unconfirmed messages can be resent by calling the [`Pallet::resend_xcm`] function.
|
|
4416
|
+
*
|
|
4417
|
+
* @param {H256} arg
|
|
4418
|
+
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
4419
|
+
**/
|
|
4420
|
+
pendingXcmMessages: GenericStorageQuery<Rv, (arg: H256) => StagingXcmV5Xcm | undefined, H256>;
|
|
4421
|
+
|
|
4422
|
+
/**
|
|
4423
|
+
* Counter for the related counted storage map
|
|
4424
|
+
*
|
|
4425
|
+
* @param {Callback<number> =} callback
|
|
4426
|
+
**/
|
|
4427
|
+
counterForPendingXcmMessages: GenericStorageQuery<Rv, () => number>;
|
|
4428
|
+
|
|
4429
|
+
/**
|
|
4430
|
+
* Accounts that use the proxy pallet to delegate permissions and have no nonce.
|
|
4431
|
+
*
|
|
4432
|
+
* Boolean value is whether they have been migrated to the Asset Hub. Needed for idempotency.
|
|
4433
|
+
*
|
|
4434
|
+
* @param {AccountId32Like} arg
|
|
4435
|
+
* @param {Callback<boolean | undefined> =} callback
|
|
4436
|
+
**/
|
|
4437
|
+
pureProxyCandidatesMigrated: GenericStorageQuery<Rv, (arg: AccountId32Like) => boolean | undefined, AccountId32>;
|
|
4438
|
+
|
|
4439
|
+
/**
|
|
4440
|
+
* The pending XCM response queries and their XCM hash referencing the message in the
|
|
4441
|
+
* [`PendingXcmMessages`] storage.
|
|
4442
|
+
*
|
|
4443
|
+
* The `QueryId` is the identifier from the [`pallet_xcm`] query handler registry. The XCM
|
|
4444
|
+
* pallet will notify about the status of the message by calling the
|
|
4445
|
+
* [`Pallet::receive_query_response`] function with the `QueryId` and the
|
|
4446
|
+
* response.
|
|
4447
|
+
*
|
|
4448
|
+
* @param {bigint} arg
|
|
4449
|
+
* @param {Callback<H256 | undefined> =} callback
|
|
4450
|
+
**/
|
|
4451
|
+
pendingXcmQueries: GenericStorageQuery<Rv, (arg: bigint) => H256 | undefined, bigint>;
|
|
4452
|
+
|
|
4453
|
+
/**
|
|
4454
|
+
* Manual override for `type UnprocessedMsgBuffer: Get<u32>`. Look there for docs.
|
|
4455
|
+
*
|
|
4456
|
+
* @param {Callback<number | undefined> =} callback
|
|
4457
|
+
**/
|
|
4458
|
+
unprocessedMsgBuffer: GenericStorageQuery<Rv, () => number | undefined>;
|
|
4459
|
+
|
|
4460
|
+
/**
|
|
4461
|
+
* The priority of the Asset Hub UMP queue during migration.
|
|
4462
|
+
*
|
|
4463
|
+
* Controls how the Asset Hub UMP (Upward Message Passing) queue is processed relative to other
|
|
4464
|
+
* queues during the migration process. This helps ensure timely processing of migration
|
|
4465
|
+
* messages. The default priority pattern is defined in the pallet configuration, but can be
|
|
4466
|
+
* overridden by a storage value of this type.
|
|
4467
|
+
*
|
|
4468
|
+
* @param {Callback<PalletRcMigratorQueuePriority> =} callback
|
|
4469
|
+
**/
|
|
4470
|
+
ahUmpQueuePriorityConfig: GenericStorageQuery<Rv, () => PalletRcMigratorQueuePriority>;
|
|
4471
|
+
|
|
4472
|
+
/**
|
|
4473
|
+
* An optional account id of a manager.
|
|
4474
|
+
*
|
|
4475
|
+
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
|
4476
|
+
* can not set the manager account id via `set_manager` call.
|
|
4477
|
+
*
|
|
4478
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4479
|
+
**/
|
|
4480
|
+
manager: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
4481
|
+
|
|
4482
|
+
/**
|
|
4483
|
+
* An optional account id of a canceller.
|
|
4484
|
+
*
|
|
4485
|
+
* This account id can only stop scheduled migration.
|
|
4486
|
+
*
|
|
4487
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4488
|
+
**/
|
|
4489
|
+
canceller: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
4490
|
+
|
|
4491
|
+
/**
|
|
4492
|
+
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
4493
|
+
*
|
|
4494
|
+
* This value is set when entering the `WaitingForAh` stage, i.e., when
|
|
4495
|
+
* `RcMigrationStage::is_ongoing()` becomes `true`.
|
|
4496
|
+
*
|
|
4497
|
+
* @param {Callback<number | undefined> =} callback
|
|
4498
|
+
**/
|
|
4499
|
+
migrationStartBlock: GenericStorageQuery<Rv, () => number | undefined>;
|
|
4500
|
+
|
|
4501
|
+
/**
|
|
4502
|
+
* Block number when migration finished and extrinsics were unlocked.
|
|
4503
|
+
*
|
|
4504
|
+
* This is set when entering the `MigrationDone` stage hence when
|
|
4505
|
+
* `RcMigrationStage::is_finished()` becomes `true`.
|
|
4506
|
+
*
|
|
4507
|
+
* @param {Callback<number | undefined> =} callback
|
|
4508
|
+
**/
|
|
4509
|
+
migrationEndBlock: GenericStorageQuery<Rv, () => number | undefined>;
|
|
4510
|
+
|
|
4511
|
+
/**
|
|
4512
|
+
* The duration of the pre migration warm-up period.
|
|
4513
|
+
*
|
|
4514
|
+
* This is the duration of the warm-up period before the data migration starts. During this
|
|
4515
|
+
* period, the migration will be in ongoing state and the concerned extrinsics will be locked.
|
|
4516
|
+
*
|
|
4517
|
+
* @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
|
|
4518
|
+
**/
|
|
4519
|
+
warmUpPeriod: GenericStorageQuery<Rv, () => FrameSupportScheduleDispatchTime | undefined>;
|
|
4520
|
+
|
|
4521
|
+
/**
|
|
4522
|
+
* The duration of the post migration cool-off period.
|
|
4523
|
+
*
|
|
4524
|
+
* This is the duration of the cool-off period after the data migration is finished. During
|
|
4525
|
+
* this period, the migration will be still in ongoing state and the concerned extrinsics will
|
|
4526
|
+
* be locked.
|
|
4527
|
+
*
|
|
4528
|
+
* @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
|
|
4529
|
+
**/
|
|
4530
|
+
coolOffPeriod: GenericStorageQuery<Rv, () => FrameSupportScheduleDispatchTime | undefined>;
|
|
4531
|
+
|
|
4532
|
+
/**
|
|
4533
|
+
*
|
|
4534
|
+
* @param {StagingKusamaRuntimeRuntimeCallLike} arg
|
|
4535
|
+
* @param {Callback<Array<SpRuntimeMultiSigner>> =} callback
|
|
4536
|
+
**/
|
|
4537
|
+
managerMultisigs: GenericStorageQuery<
|
|
4538
|
+
Rv,
|
|
4539
|
+
(arg: StagingKusamaRuntimeRuntimeCallLike) => Array<SpRuntimeMultiSigner>,
|
|
4540
|
+
StagingKusamaRuntimeRuntimeCall
|
|
4541
|
+
>;
|
|
4542
|
+
|
|
4543
|
+
/**
|
|
4544
|
+
*
|
|
4545
|
+
* @param {Callback<number> =} callback
|
|
4546
|
+
**/
|
|
4547
|
+
managerMultisigRound: GenericStorageQuery<Rv, () => number>;
|
|
4548
|
+
|
|
4376
4549
|
/**
|
|
4377
4550
|
* Generic pallet storage query
|
|
4378
4551
|
**/
|