@dedot/chaintypes 0.232.0 → 0.234.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/hydration/consts.d.ts +119 -47
- package/hydration/errors.d.ts +91 -130
- package/hydration/events.d.ts +340 -432
- package/hydration/index.d.ts +2 -3
- package/hydration/json-rpc.d.ts +10 -17
- package/hydration/query.d.ts +157 -277
- package/hydration/runtime.d.ts +21 -123
- package/hydration/tx.d.ts +502 -315
- package/hydration/types.d.ts +1366 -1284
- package/package.json +2 -2
- package/paseo/consts.d.ts +87 -18
- package/paseo/errors.d.ts +187 -30
- package/paseo/events.d.ts +676 -80
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +465 -71
- package/paseo/runtime.d.ts +85 -39
- package/paseo/tx.d.ts +1012 -165
- package/paseo/types.d.ts +8081 -6364
- package/paseo/view-functions.d.ts +75 -1
- package/paseo-asset-hub/consts.d.ts +0 -34
- package/paseo-asset-hub/errors.d.ts +0 -28
- package/paseo-asset-hub/events.d.ts +20 -205
- package/paseo-asset-hub/index.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +23 -66
- package/paseo-asset-hub/runtime.d.ts +15 -12
- package/paseo-asset-hub/tx.d.ts +127 -327
- package/paseo-asset-hub/types.d.ts +192 -513
- package/paseo-asset-hub/view-functions.d.ts +7 -7
- package/paseo-hydration/consts.d.ts +5 -0
- package/paseo-hydration/errors.d.ts +1 -1
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/json-rpc.d.ts +0 -10
- package/paseo-hydration/tx.d.ts +2 -1
- package/paseo-hydration/types.d.ts +5 -3
- package/paseo-people/consts.d.ts +75 -0
- package/paseo-people/errors.d.ts +165 -0
- package/paseo-people/events.d.ts +285 -2
- package/paseo-people/index.d.ts +5 -4
- package/paseo-people/query.d.ts +125 -0
- package/paseo-people/tx.d.ts +1286 -2
- package/paseo-people/types.d.ts +1776 -183
package/hydration/query.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ import type {
|
|
|
22
22
|
FrameSystemEventRecord,
|
|
23
23
|
FrameSystemLastRuntimeUpgradeInfo,
|
|
24
24
|
FrameSystemCodeUpgradeAuthorization,
|
|
25
|
+
SpWeightsWeightV2Weight,
|
|
25
26
|
PalletBalancesAccountData,
|
|
26
27
|
PalletBalancesBalanceLock,
|
|
27
28
|
PalletBalancesReserveData,
|
|
@@ -35,6 +36,8 @@ import type {
|
|
|
35
36
|
PalletIdentityRegistration,
|
|
36
37
|
PalletIdentityRegistrarInfo,
|
|
37
38
|
PalletIdentityAuthorityProperties,
|
|
39
|
+
PalletIdentityUsernameInformation,
|
|
40
|
+
PalletIdentityProvider,
|
|
38
41
|
FrameSupportPreimagesBounded,
|
|
39
42
|
PalletDemocracyReferendumInfo,
|
|
40
43
|
PalletDemocracyVoteVoting,
|
|
@@ -90,9 +93,9 @@ import type {
|
|
|
90
93
|
OrmlTokensReserveData,
|
|
91
94
|
OrmlVestingVestingSchedule,
|
|
92
95
|
PalletEvmCodeMetadata,
|
|
93
|
-
|
|
96
|
+
EthereumTransactionTransactionV3,
|
|
94
97
|
FpRpcTransactionStatus,
|
|
95
|
-
|
|
98
|
+
EthereumReceiptReceiptV4,
|
|
96
99
|
EthereumBlock,
|
|
97
100
|
PalletLiquidityMiningDepositData002,
|
|
98
101
|
PalletDcaSchedule,
|
|
@@ -109,29 +112,26 @@ import type {
|
|
|
109
112
|
CumulusPrimitivesParachainInherentMessageQueueChain,
|
|
110
113
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
111
114
|
PolkadotCorePrimitivesOutboundHrmpMessage,
|
|
112
|
-
SpWeightsWeightV2Weight,
|
|
113
115
|
PalletXcmQueryStatus,
|
|
114
116
|
XcmVersionedLocation,
|
|
115
117
|
PalletXcmVersionMigrationStage,
|
|
116
118
|
PalletXcmRemoteLockedFungibleRecord,
|
|
117
119
|
XcmVersionedAssetId,
|
|
118
|
-
|
|
120
|
+
StagingXcmV5Xcm,
|
|
121
|
+
PalletXcmAuthorizedAliasesEntry,
|
|
119
122
|
CumulusPalletXcmpQueueOutboundChannelDetails,
|
|
120
123
|
CumulusPalletXcmpQueueQueueConfigData,
|
|
121
124
|
PalletMessageQueueBookState,
|
|
122
125
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
123
126
|
PalletMessageQueuePage,
|
|
124
|
-
|
|
127
|
+
PalletMigrationsMigrationCursor,
|
|
128
|
+
StagingXcmV5Location,
|
|
125
129
|
PalletCollatorSelectionCandidateInfo,
|
|
126
130
|
HydradxRuntimeOpaqueSessionKeys,
|
|
131
|
+
SpStakingOffenceOffenceSeverity,
|
|
127
132
|
SpCoreCryptoKeyTypeId,
|
|
128
133
|
SpConsensusAuraSr25519AppSr25519Public,
|
|
129
134
|
SpConsensusSlotsSlot,
|
|
130
|
-
IsmpConsensusStateCommitment,
|
|
131
|
-
IsmpConsensusStateMachineHeight,
|
|
132
|
-
IsmpConsensusStateMachineId,
|
|
133
|
-
PalletHyperbridgeVersionedHostParams,
|
|
134
|
-
IsmpHostStateMachine,
|
|
135
135
|
PalletEmaOracleOracleEntry,
|
|
136
136
|
HydradxTraitsOracleOraclePeriod,
|
|
137
137
|
PalletBroadcastExecutionType,
|
|
@@ -288,6 +288,19 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
288
288
|
**/
|
|
289
289
|
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
290
290
|
|
|
291
|
+
/**
|
|
292
|
+
* The weight reclaimed for the extrinsic.
|
|
293
|
+
*
|
|
294
|
+
* This information is available until the end of the extrinsic execution.
|
|
295
|
+
* More precisely this information is removed in `note_applied_extrinsic`.
|
|
296
|
+
*
|
|
297
|
+
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
|
|
298
|
+
* reduction.
|
|
299
|
+
*
|
|
300
|
+
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
301
|
+
**/
|
|
302
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
303
|
+
|
|
291
304
|
/**
|
|
292
305
|
* Generic pallet storage query
|
|
293
306
|
**/
|
|
@@ -476,6 +489,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
476
489
|
**/
|
|
477
490
|
treasury: {
|
|
478
491
|
/**
|
|
492
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
493
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
494
|
+
*
|
|
479
495
|
* Number of proposals that have been made.
|
|
480
496
|
*
|
|
481
497
|
* @param {Callback<number> =} callback
|
|
@@ -483,6 +499,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
483
499
|
proposalCount: GenericStorageQuery<() => number>;
|
|
484
500
|
|
|
485
501
|
/**
|
|
502
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
503
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
504
|
+
*
|
|
486
505
|
* Proposals that have been made.
|
|
487
506
|
*
|
|
488
507
|
* @param {number} arg
|
|
@@ -498,6 +517,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
498
517
|
deactivated: GenericStorageQuery<() => bigint>;
|
|
499
518
|
|
|
500
519
|
/**
|
|
520
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
521
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
522
|
+
*
|
|
501
523
|
* Proposal indices that have been approved but not yet awarded.
|
|
502
524
|
*
|
|
503
525
|
* @param {Callback<Array<number>> =} callback
|
|
@@ -519,6 +541,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
519
541
|
**/
|
|
520
542
|
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
521
543
|
|
|
544
|
+
/**
|
|
545
|
+
* The blocknumber for the last triggered spend period.
|
|
546
|
+
*
|
|
547
|
+
* @param {Callback<number | undefined> =} callback
|
|
548
|
+
**/
|
|
549
|
+
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
550
|
+
|
|
522
551
|
/**
|
|
523
552
|
* Generic pallet storage query
|
|
524
553
|
**/
|
|
@@ -567,12 +596,17 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
567
596
|
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
|
|
568
597
|
*
|
|
569
598
|
* @param {AccountId32Like} arg
|
|
570
|
-
* @param {Callback<
|
|
599
|
+
* @param {Callback<PalletIdentityRegistration | undefined> =} callback
|
|
571
600
|
**/
|
|
572
|
-
identityOf: GenericStorageQuery<
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
601
|
+
identityOf: GenericStorageQuery<(arg: AccountId32Like) => PalletIdentityRegistration | undefined, AccountId32>;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Identifies the primary username of an account.
|
|
605
|
+
*
|
|
606
|
+
* @param {AccountId32Like} arg
|
|
607
|
+
* @param {Callback<Bytes | undefined> =} callback
|
|
608
|
+
**/
|
|
609
|
+
usernameOf: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
576
610
|
|
|
577
611
|
/**
|
|
578
612
|
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
@@ -608,38 +642,50 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
608
642
|
/**
|
|
609
643
|
* A map of the accounts who are authorized to grant usernames.
|
|
610
644
|
*
|
|
611
|
-
* @param {
|
|
645
|
+
* @param {BytesLike} arg
|
|
612
646
|
* @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
|
|
613
647
|
**/
|
|
614
|
-
|
|
615
|
-
(arg: AccountId32Like) => PalletIdentityAuthorityProperties | undefined,
|
|
616
|
-
AccountId32
|
|
617
|
-
>;
|
|
648
|
+
authorityOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
|
|
618
649
|
|
|
619
650
|
/**
|
|
620
|
-
* Reverse lookup from `username` to the `AccountId` that has registered it
|
|
621
|
-
* be a key in the `
|
|
651
|
+
* Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
|
|
652
|
+
* the username. The `owner` value should be a key in the `UsernameOf` map, but it may not if
|
|
653
|
+
* the user has cleared their username or it has been removed.
|
|
622
654
|
*
|
|
623
|
-
* Multiple usernames may map to the same `AccountId`, but `
|
|
655
|
+
* Multiple usernames may map to the same `AccountId`, but `UsernameOf` will only map to one
|
|
624
656
|
* primary username.
|
|
625
657
|
*
|
|
626
658
|
* @param {BytesLike} arg
|
|
627
|
-
* @param {Callback<
|
|
659
|
+
* @param {Callback<PalletIdentityUsernameInformation | undefined> =} callback
|
|
628
660
|
**/
|
|
629
|
-
|
|
661
|
+
usernameInfoOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
|
|
630
662
|
|
|
631
663
|
/**
|
|
632
664
|
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
633
665
|
* that they want it. Used primarily in cases where the `AccountId` cannot provide a signature
|
|
634
666
|
* because they are a pure proxy, multisig, etc. In order to confirm it, they should call
|
|
635
|
-
* [`Call::accept_username`
|
|
667
|
+
* [accept_username](`Call::accept_username`).
|
|
636
668
|
*
|
|
637
669
|
* First tuple item is the account and second is the acceptance deadline.
|
|
638
670
|
*
|
|
639
671
|
* @param {BytesLike} arg
|
|
640
|
-
* @param {Callback<[AccountId32, number] | undefined> =} callback
|
|
672
|
+
* @param {Callback<[AccountId32, number, PalletIdentityProvider] | undefined> =} callback
|
|
673
|
+
**/
|
|
674
|
+
pendingUsernames: GenericStorageQuery<
|
|
675
|
+
(arg: BytesLike) => [AccountId32, number, PalletIdentityProvider] | undefined,
|
|
676
|
+
Bytes
|
|
677
|
+
>;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Usernames for which the authority that granted them has started the removal process by
|
|
681
|
+
* unbinding them. Each unbinding username maps to its grace period expiry, which is the first
|
|
682
|
+
* block in which the username could be deleted through a
|
|
683
|
+
* [remove_username](`Call::remove_username`) call.
|
|
684
|
+
*
|
|
685
|
+
* @param {BytesLike} arg
|
|
686
|
+
* @param {Callback<number | undefined> =} callback
|
|
641
687
|
**/
|
|
642
|
-
|
|
688
|
+
unbindingUsernames: GenericStorageQuery<(arg: BytesLike) => number | undefined, Bytes>;
|
|
643
689
|
|
|
644
690
|
/**
|
|
645
691
|
* Generic pallet storage query
|
|
@@ -785,6 +831,17 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
785
831
|
**/
|
|
786
832
|
proposalOf: GenericStorageQuery<(arg: H256) => HydradxRuntimeRuntimeCall | undefined, H256>;
|
|
787
833
|
|
|
834
|
+
/**
|
|
835
|
+
* Consideration cost created for publishing and storing a proposal.
|
|
836
|
+
*
|
|
837
|
+
* Determined by [Config::Consideration] and may be not present for certain proposals (e.g. if
|
|
838
|
+
* the proposal count at the time of creation was below threshold N).
|
|
839
|
+
*
|
|
840
|
+
* @param {H256} arg
|
|
841
|
+
* @param {Callback<[AccountId32, []] | undefined> =} callback
|
|
842
|
+
**/
|
|
843
|
+
costOf: GenericStorageQuery<(arg: H256) => [AccountId32, []] | undefined, H256>;
|
|
844
|
+
|
|
788
845
|
/**
|
|
789
846
|
* Votes on a given proposal, if it is ongoing.
|
|
790
847
|
*
|
|
@@ -2086,13 +2143,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2086
2143
|
**/
|
|
2087
2144
|
accountStorages: GenericStorageQuery<(arg: [H160, H256]) => H256, [H160, H256]>;
|
|
2088
2145
|
|
|
2089
|
-
/**
|
|
2090
|
-
*
|
|
2091
|
-
* @param {H160} arg
|
|
2092
|
-
* @param {Callback<[] | undefined> =} callback
|
|
2093
|
-
**/
|
|
2094
|
-
suicided: GenericStorageQuery<(arg: H160) => [] | undefined, H160>;
|
|
2095
|
-
|
|
2096
2146
|
/**
|
|
2097
2147
|
* Generic pallet storage query
|
|
2098
2148
|
**/
|
|
@@ -2119,13 +2169,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2119
2169
|
**/
|
|
2120
2170
|
ethereum: {
|
|
2121
2171
|
/**
|
|
2122
|
-
*
|
|
2172
|
+
* Mapping from transaction index to transaction in the current building block.
|
|
2123
2173
|
*
|
|
2124
2174
|
* @param {number} arg
|
|
2125
|
-
* @param {Callback<[
|
|
2175
|
+
* @param {Callback<[EthereumTransactionTransactionV3, FpRpcTransactionStatus, EthereumReceiptReceiptV4] | undefined> =} callback
|
|
2126
2176
|
**/
|
|
2127
2177
|
pending: GenericStorageQuery<
|
|
2128
|
-
(arg: number) => [
|
|
2178
|
+
(arg: number) => [EthereumTransactionTransactionV3, FpRpcTransactionStatus, EthereumReceiptReceiptV4] | undefined,
|
|
2129
2179
|
number
|
|
2130
2180
|
>;
|
|
2131
2181
|
|
|
@@ -2146,9 +2196,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2146
2196
|
/**
|
|
2147
2197
|
* The current Ethereum receipts.
|
|
2148
2198
|
*
|
|
2149
|
-
* @param {Callback<Array<
|
|
2199
|
+
* @param {Callback<Array<EthereumReceiptReceiptV4> | undefined> =} callback
|
|
2150
2200
|
**/
|
|
2151
|
-
currentReceipts: GenericStorageQuery<() => Array<
|
|
2201
|
+
currentReceipts: GenericStorageQuery<() => Array<EthereumReceiptReceiptV4> | undefined>;
|
|
2152
2202
|
|
|
2153
2203
|
/**
|
|
2154
2204
|
* The current transaction statuses.
|
|
@@ -2354,6 +2404,16 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2354
2404
|
**/
|
|
2355
2405
|
scheduleIdsPerBlock: GenericStorageQuery<(arg: number) => Array<number>, number>;
|
|
2356
2406
|
|
|
2407
|
+
/**
|
|
2408
|
+
* Stores the current extra gas value for each schedule.
|
|
2409
|
+
* Initialized to 0, increments on EvmOutOfGas, persists after successful execution.
|
|
2410
|
+
* Cleaned up when schedule terminates or completes.
|
|
2411
|
+
*
|
|
2412
|
+
* @param {number} arg
|
|
2413
|
+
* @param {Callback<bigint> =} callback
|
|
2414
|
+
**/
|
|
2415
|
+
scheduleExtraGas: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
2416
|
+
|
|
2357
2417
|
/**
|
|
2358
2418
|
* Generic pallet storage query
|
|
2359
2419
|
**/
|
|
@@ -2364,6 +2424,7 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2364
2424
|
**/
|
|
2365
2425
|
scheduler: {
|
|
2366
2426
|
/**
|
|
2427
|
+
* Block number at which the agenda began incomplete execution.
|
|
2367
2428
|
*
|
|
2368
2429
|
* @param {Callback<number | undefined> =} callback
|
|
2369
2430
|
**/
|
|
@@ -2802,9 +2863,22 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2802
2863
|
* Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
|
|
2803
2864
|
* implementation in the XCM executor configuration.
|
|
2804
2865
|
*
|
|
2805
|
-
* @param {Callback<
|
|
2866
|
+
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
2867
|
+
**/
|
|
2868
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
2869
|
+
|
|
2870
|
+
/**
|
|
2871
|
+
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
2872
|
+
* other locations to alias into it. Each aliaser is only valid until its inner `expiry`
|
|
2873
|
+
* block number.
|
|
2874
|
+
*
|
|
2875
|
+
* @param {XcmVersionedLocation} arg
|
|
2876
|
+
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
2806
2877
|
**/
|
|
2807
|
-
|
|
2878
|
+
authorizedAliases: GenericStorageQuery<
|
|
2879
|
+
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
2880
|
+
XcmVersionedLocation
|
|
2881
|
+
>;
|
|
2808
2882
|
|
|
2809
2883
|
/**
|
|
2810
2884
|
* Generic pallet storage query
|
|
@@ -2931,6 +3005,35 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2931
3005
|
**/
|
|
2932
3006
|
[storage: string]: GenericStorageQuery;
|
|
2933
3007
|
};
|
|
3008
|
+
/**
|
|
3009
|
+
* Pallet `MultiBlockMigrations`'s storage queries
|
|
3010
|
+
**/
|
|
3011
|
+
multiBlockMigrations: {
|
|
3012
|
+
/**
|
|
3013
|
+
* The currently active migration to run and its cursor.
|
|
3014
|
+
*
|
|
3015
|
+
* `None` indicates that no migration is running.
|
|
3016
|
+
*
|
|
3017
|
+
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
3018
|
+
**/
|
|
3019
|
+
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
3020
|
+
|
|
3021
|
+
/**
|
|
3022
|
+
* Set of all successfully executed migrations.
|
|
3023
|
+
*
|
|
3024
|
+
* This is used as blacklist, to not re-execute migrations that have not been removed from the
|
|
3025
|
+
* codebase yet. Governance can regularly clear this out via `clear_historic`.
|
|
3026
|
+
*
|
|
3027
|
+
* @param {BytesLike} arg
|
|
3028
|
+
* @param {Callback<[] | undefined> =} callback
|
|
3029
|
+
**/
|
|
3030
|
+
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
3031
|
+
|
|
3032
|
+
/**
|
|
3033
|
+
* Generic pallet storage query
|
|
3034
|
+
**/
|
|
3035
|
+
[storage: string]: GenericStorageQuery;
|
|
3036
|
+
};
|
|
2934
3037
|
/**
|
|
2935
3038
|
* Pallet `UnknownTokens`'s storage queries
|
|
2936
3039
|
**/
|
|
@@ -2941,12 +3044,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2941
3044
|
*
|
|
2942
3045
|
* double_map: who, asset_id => u128
|
|
2943
3046
|
*
|
|
2944
|
-
* @param {[
|
|
3047
|
+
* @param {[StagingXcmV5Location, StagingXcmV5Location]} arg
|
|
2945
3048
|
* @param {Callback<bigint> =} callback
|
|
2946
3049
|
**/
|
|
2947
3050
|
concreteFungibleBalances: GenericStorageQuery<
|
|
2948
|
-
(arg: [
|
|
2949
|
-
[
|
|
3051
|
+
(arg: [StagingXcmV5Location, StagingXcmV5Location]) => bigint,
|
|
3052
|
+
[StagingXcmV5Location, StagingXcmV5Location]
|
|
2950
3053
|
>;
|
|
2951
3054
|
|
|
2952
3055
|
/**
|
|
@@ -2955,12 +3058,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2955
3058
|
*
|
|
2956
3059
|
* double_map: who, asset_id => u128
|
|
2957
3060
|
*
|
|
2958
|
-
* @param {[
|
|
3061
|
+
* @param {[StagingXcmV5Location, BytesLike]} arg
|
|
2959
3062
|
* @param {Callback<bigint> =} callback
|
|
2960
3063
|
**/
|
|
2961
3064
|
abstractFungibleBalances: GenericStorageQuery<
|
|
2962
|
-
(arg: [
|
|
2963
|
-
[
|
|
3065
|
+
(arg: [StagingXcmV5Location, BytesLike]) => bigint,
|
|
3066
|
+
[StagingXcmV5Location, Bytes]
|
|
2964
3067
|
>;
|
|
2965
3068
|
|
|
2966
3069
|
/**
|
|
@@ -3078,9 +3181,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3078
3181
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
|
3079
3182
|
* a new set of identities.
|
|
3080
3183
|
*
|
|
3081
|
-
* @param {Callback<Array<number>> =} callback
|
|
3184
|
+
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
3082
3185
|
**/
|
|
3083
|
-
disabledValidators: GenericStorageQuery<() => Array<number>>;
|
|
3186
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
3084
3187
|
|
|
3085
3188
|
/**
|
|
3086
3189
|
* The next session keys for a validator.
|
|
@@ -3147,237 +3250,14 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3147
3250
|
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
3148
3251
|
|
|
3149
3252
|
/**
|
|
3150
|
-
* Current slot paired with a number of authored blocks.
|
|
3253
|
+
* Current relay chain slot paired with a number of authored blocks.
|
|
3151
3254
|
*
|
|
3152
|
-
*
|
|
3255
|
+
* This is updated in [`FixedVelocityConsensusHook::on_state_proof`] with the current relay
|
|
3256
|
+
* chain slot as provided by the relay chain state proof.
|
|
3153
3257
|
*
|
|
3154
3258
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
3155
3259
|
**/
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
/**
|
|
3159
|
-
* Generic pallet storage query
|
|
3160
|
-
**/
|
|
3161
|
-
[storage: string]: GenericStorageQuery;
|
|
3162
|
-
};
|
|
3163
|
-
/**
|
|
3164
|
-
* Pallet `Ismp`'s storage queries
|
|
3165
|
-
**/
|
|
3166
|
-
ismp: {
|
|
3167
|
-
/**
|
|
3168
|
-
* Holds a map of state machine heights to their verified state commitments. These state
|
|
3169
|
-
* commitments end up here after they are successfully verified by a `ConsensusClient`
|
|
3170
|
-
*
|
|
3171
|
-
* @param {IsmpConsensusStateMachineHeight} arg
|
|
3172
|
-
* @param {Callback<IsmpConsensusStateCommitment | undefined> =} callback
|
|
3173
|
-
**/
|
|
3174
|
-
stateCommitments: GenericStorageQuery<
|
|
3175
|
-
(arg: IsmpConsensusStateMachineHeight) => IsmpConsensusStateCommitment | undefined,
|
|
3176
|
-
IsmpConsensusStateMachineHeight
|
|
3177
|
-
>;
|
|
3178
|
-
|
|
3179
|
-
/**
|
|
3180
|
-
* Holds a map of consensus state identifiers to their consensus state.
|
|
3181
|
-
*
|
|
3182
|
-
* @param {FixedBytes<4>} arg
|
|
3183
|
-
* @param {Callback<Bytes | undefined> =} callback
|
|
3184
|
-
**/
|
|
3185
|
-
consensusStates: GenericStorageQuery<(arg: FixedBytes<4>) => Bytes | undefined, FixedBytes<4>>;
|
|
3186
|
-
|
|
3187
|
-
/**
|
|
3188
|
-
* A mapping of consensus state identifier to it's associated consensus client identifier
|
|
3189
|
-
*
|
|
3190
|
-
* @param {FixedBytes<4>} arg
|
|
3191
|
-
* @param {Callback<FixedBytes<4> | undefined> =} callback
|
|
3192
|
-
**/
|
|
3193
|
-
consensusStateClient: GenericStorageQuery<(arg: FixedBytes<4>) => FixedBytes<4> | undefined, FixedBytes<4>>;
|
|
3194
|
-
|
|
3195
|
-
/**
|
|
3196
|
-
* A mapping of consensus state identifiers to their unbonding periods
|
|
3197
|
-
*
|
|
3198
|
-
* @param {FixedBytes<4>} arg
|
|
3199
|
-
* @param {Callback<bigint | undefined> =} callback
|
|
3200
|
-
**/
|
|
3201
|
-
unbondingPeriod: GenericStorageQuery<(arg: FixedBytes<4>) => bigint | undefined, FixedBytes<4>>;
|
|
3202
|
-
|
|
3203
|
-
/**
|
|
3204
|
-
* A mapping of state machine Ids to their challenge periods
|
|
3205
|
-
*
|
|
3206
|
-
* @param {IsmpConsensusStateMachineId} arg
|
|
3207
|
-
* @param {Callback<bigint | undefined> =} callback
|
|
3208
|
-
**/
|
|
3209
|
-
challengePeriod: GenericStorageQuery<
|
|
3210
|
-
(arg: IsmpConsensusStateMachineId) => bigint | undefined,
|
|
3211
|
-
IsmpConsensusStateMachineId
|
|
3212
|
-
>;
|
|
3213
|
-
|
|
3214
|
-
/**
|
|
3215
|
-
* Holds a map of consensus clients frozen due to byzantine
|
|
3216
|
-
* behaviour
|
|
3217
|
-
*
|
|
3218
|
-
* @param {FixedBytes<4>} arg
|
|
3219
|
-
* @param {Callback<boolean> =} callback
|
|
3220
|
-
**/
|
|
3221
|
-
frozenConsensusClients: GenericStorageQuery<(arg: FixedBytes<4>) => boolean, FixedBytes<4>>;
|
|
3222
|
-
|
|
3223
|
-
/**
|
|
3224
|
-
* The latest verified height for a state machine
|
|
3225
|
-
*
|
|
3226
|
-
* @param {IsmpConsensusStateMachineId} arg
|
|
3227
|
-
* @param {Callback<bigint | undefined> =} callback
|
|
3228
|
-
**/
|
|
3229
|
-
latestStateMachineHeight: GenericStorageQuery<
|
|
3230
|
-
(arg: IsmpConsensusStateMachineId) => bigint | undefined,
|
|
3231
|
-
IsmpConsensusStateMachineId
|
|
3232
|
-
>;
|
|
3233
|
-
|
|
3234
|
-
/**
|
|
3235
|
-
* Holds the timestamp at which a consensus client was recently updated.
|
|
3236
|
-
* Used in ensuring that the configured challenge period elapses.
|
|
3237
|
-
*
|
|
3238
|
-
* @param {FixedBytes<4>} arg
|
|
3239
|
-
* @param {Callback<bigint | undefined> =} callback
|
|
3240
|
-
**/
|
|
3241
|
-
consensusClientUpdateTime: GenericStorageQuery<(arg: FixedBytes<4>) => bigint | undefined, FixedBytes<4>>;
|
|
3242
|
-
|
|
3243
|
-
/**
|
|
3244
|
-
* Holds the timestamp at which a state machine height was updated.
|
|
3245
|
-
* Used in ensuring that the configured challenge period elapses.
|
|
3246
|
-
*
|
|
3247
|
-
* @param {IsmpConsensusStateMachineHeight} arg
|
|
3248
|
-
* @param {Callback<bigint | undefined> =} callback
|
|
3249
|
-
**/
|
|
3250
|
-
stateMachineUpdateTime: GenericStorageQuery<
|
|
3251
|
-
(arg: IsmpConsensusStateMachineHeight) => bigint | undefined,
|
|
3252
|
-
IsmpConsensusStateMachineHeight
|
|
3253
|
-
>;
|
|
3254
|
-
|
|
3255
|
-
/**
|
|
3256
|
-
* Tracks requests that have been responded to
|
|
3257
|
-
* The key is the request commitment
|
|
3258
|
-
*
|
|
3259
|
-
* @param {H256} arg
|
|
3260
|
-
* @param {Callback<boolean> =} callback
|
|
3261
|
-
**/
|
|
3262
|
-
responded: GenericStorageQuery<(arg: H256) => boolean, H256>;
|
|
3263
|
-
|
|
3264
|
-
/**
|
|
3265
|
-
* Latest nonce for messages sent from this chain
|
|
3266
|
-
*
|
|
3267
|
-
* @param {Callback<bigint> =} callback
|
|
3268
|
-
**/
|
|
3269
|
-
nonce: GenericStorageQuery<() => bigint>;
|
|
3270
|
-
|
|
3271
|
-
/**
|
|
3272
|
-
* The child trie root of messages
|
|
3273
|
-
*
|
|
3274
|
-
* @param {Callback<H256> =} callback
|
|
3275
|
-
**/
|
|
3276
|
-
childTrieRoot: GenericStorageQuery<() => H256>;
|
|
3277
|
-
|
|
3278
|
-
/**
|
|
3279
|
-
* Generic pallet storage query
|
|
3280
|
-
**/
|
|
3281
|
-
[storage: string]: GenericStorageQuery;
|
|
3282
|
-
};
|
|
3283
|
-
/**
|
|
3284
|
-
* Pallet `IsmpParachain`'s storage queries
|
|
3285
|
-
**/
|
|
3286
|
-
ismpParachain: {
|
|
3287
|
-
/**
|
|
3288
|
-
* Mapping of relay chain heights to it's state commitment. The state commitment of the parent
|
|
3289
|
-
* relay block is inserted at every block in `on_finalize`. This commitment is gotten from
|
|
3290
|
-
* parachain-system.
|
|
3291
|
-
*
|
|
3292
|
-
* @param {number} arg
|
|
3293
|
-
* @param {Callback<H256 | undefined> =} callback
|
|
3294
|
-
**/
|
|
3295
|
-
relayChainStateCommitments: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
3296
|
-
|
|
3297
|
-
/**
|
|
3298
|
-
* Tracks whether we've already seen the `update_parachain_consensus` inherent
|
|
3299
|
-
*
|
|
3300
|
-
* @param {Callback<boolean | undefined> =} callback
|
|
3301
|
-
**/
|
|
3302
|
-
consensusUpdated: GenericStorageQuery<() => boolean | undefined>;
|
|
3303
|
-
|
|
3304
|
-
/**
|
|
3305
|
-
* List of parachains that this state machine is interested in.
|
|
3306
|
-
*
|
|
3307
|
-
* @param {number} arg
|
|
3308
|
-
* @param {Callback<bigint | undefined> =} callback
|
|
3309
|
-
**/
|
|
3310
|
-
parachains: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
3311
|
-
|
|
3312
|
-
/**
|
|
3313
|
-
* Generic pallet storage query
|
|
3314
|
-
**/
|
|
3315
|
-
[storage: string]: GenericStorageQuery;
|
|
3316
|
-
};
|
|
3317
|
-
/**
|
|
3318
|
-
* Pallet `Hyperbridge`'s storage queries
|
|
3319
|
-
**/
|
|
3320
|
-
hyperbridge: {
|
|
3321
|
-
/**
|
|
3322
|
-
* The host parameters of the pallet-hyperbridge.
|
|
3323
|
-
*
|
|
3324
|
-
* @param {Callback<PalletHyperbridgeVersionedHostParams> =} callback
|
|
3325
|
-
**/
|
|
3326
|
-
hostParams: GenericStorageQuery<() => PalletHyperbridgeVersionedHostParams>;
|
|
3327
|
-
|
|
3328
|
-
/**
|
|
3329
|
-
* Generic pallet storage query
|
|
3330
|
-
**/
|
|
3331
|
-
[storage: string]: GenericStorageQuery;
|
|
3332
|
-
};
|
|
3333
|
-
/**
|
|
3334
|
-
* Pallet `TokenGateway`'s storage queries
|
|
3335
|
-
**/
|
|
3336
|
-
tokenGateway: {
|
|
3337
|
-
/**
|
|
3338
|
-
* Assets supported by this instance of token gateway
|
|
3339
|
-
* A map of the local asset id to the token gateway asset id
|
|
3340
|
-
*
|
|
3341
|
-
* @param {number} arg
|
|
3342
|
-
* @param {Callback<H256 | undefined> =} callback
|
|
3343
|
-
**/
|
|
3344
|
-
supportedAssets: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
3345
|
-
|
|
3346
|
-
/**
|
|
3347
|
-
* Assets that originate from this chain
|
|
3348
|
-
*
|
|
3349
|
-
* @param {number} arg
|
|
3350
|
-
* @param {Callback<boolean> =} callback
|
|
3351
|
-
**/
|
|
3352
|
-
nativeAssets: GenericStorageQuery<(arg: number) => boolean, number>;
|
|
3353
|
-
|
|
3354
|
-
/**
|
|
3355
|
-
* Assets supported by this instance of token gateway
|
|
3356
|
-
* A map of the token gateway asset id to the local asset id
|
|
3357
|
-
*
|
|
3358
|
-
* @param {H256} arg
|
|
3359
|
-
* @param {Callback<number | undefined> =} callback
|
|
3360
|
-
**/
|
|
3361
|
-
localAssets: GenericStorageQuery<(arg: H256) => number | undefined, H256>;
|
|
3362
|
-
|
|
3363
|
-
/**
|
|
3364
|
-
* The decimals used by the EVM counterpart of this asset
|
|
3365
|
-
*
|
|
3366
|
-
* @param {[number, IsmpHostStateMachine]} arg
|
|
3367
|
-
* @param {Callback<number | undefined> =} callback
|
|
3368
|
-
**/
|
|
3369
|
-
precisions: GenericStorageQuery<
|
|
3370
|
-
(arg: [number, IsmpHostStateMachine]) => number | undefined,
|
|
3371
|
-
[number, IsmpHostStateMachine]
|
|
3372
|
-
>;
|
|
3373
|
-
|
|
3374
|
-
/**
|
|
3375
|
-
* The token gateway adresses on different chains
|
|
3376
|
-
*
|
|
3377
|
-
* @param {IsmpHostStateMachine} arg
|
|
3378
|
-
* @param {Callback<Bytes | undefined> =} callback
|
|
3379
|
-
**/
|
|
3380
|
-
tokenGatewayAddresses: GenericStorageQuery<(arg: IsmpHostStateMachine) => Bytes | undefined, IsmpHostStateMachine>;
|
|
3260
|
+
relaySlotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
3381
3261
|
|
|
3382
3262
|
/**
|
|
3383
3263
|
* Generic pallet storage query
|