@dedot/chaintypes 0.151.0 → 0.153.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.
Files changed (52) hide show
  1. package/aleph/index.d.ts +32 -1
  2. package/astar/index.d.ts +32 -1
  3. package/astar/json-rpc.d.ts +0 -1
  4. package/basilisk/index.d.ts +30 -1
  5. package/hydration/index.d.ts +38 -1
  6. package/kusama/index.d.ts +34 -1
  7. package/kusama/json-rpc.d.ts +0 -1
  8. package/kusama-asset-hub/index.d.ts +34 -1
  9. package/kusama-asset-hub/json-rpc.d.ts +0 -1
  10. package/kusama-people/index.d.ts +34 -1
  11. package/kusama-people/json-rpc.d.ts +0 -1
  12. package/moonbeam/index.d.ts +38 -1
  13. package/moonbeam/json-rpc.d.ts +0 -1
  14. package/package.json +3 -3
  15. package/paseo/index.d.ts +36 -1
  16. package/paseo/json-rpc.d.ts +0 -1
  17. package/paseo-asset-hub/index.d.ts +34 -1
  18. package/paseo-asset-hub/json-rpc.d.ts +0 -1
  19. package/paseo-hydration/index.d.ts +38 -1
  20. package/paseo-people/index.d.ts +34 -1
  21. package/paseo-people/json-rpc.d.ts +0 -1
  22. package/polkadot/index.d.ts +36 -1
  23. package/polkadot/json-rpc.d.ts +0 -1
  24. package/polkadot-asset-hub/index.d.ts +34 -1
  25. package/polkadot-asset-hub/json-rpc.d.ts +0 -1
  26. package/polkadot-people/index.d.ts +34 -1
  27. package/polkadot-people/json-rpc.d.ts +0 -1
  28. package/substrate/index.d.ts +36 -1
  29. package/vara/index.d.ts +36 -1
  30. package/westend/events.d.ts +79 -5
  31. package/westend/index.d.ts +39 -2
  32. package/westend/json-rpc.d.ts +0 -1
  33. package/westend/types.d.ts +70 -23
  34. package/westend-asset-hub/consts.d.ts +14 -0
  35. package/westend-asset-hub/errors.d.ts +29 -9
  36. package/westend-asset-hub/events.d.ts +95 -12
  37. package/westend-asset-hub/index.d.ts +38 -2
  38. package/westend-asset-hub/json-rpc.d.ts +0 -1
  39. package/westend-asset-hub/query.d.ts +27 -4
  40. package/westend-asset-hub/runtime.d.ts +17 -0
  41. package/westend-asset-hub/tx.d.ts +110 -26
  42. package/westend-asset-hub/types.d.ts +281 -102
  43. package/westend-people/consts.d.ts +27 -0
  44. package/westend-people/errors.d.ts +26 -12
  45. package/westend-people/events.d.ts +181 -3
  46. package/westend-people/index.d.ts +36 -2
  47. package/westend-people/json-rpc.d.ts +0 -1
  48. package/westend-people/query.d.ts +40 -2
  49. package/westend-people/runtime.d.ts +131 -31
  50. package/westend-people/tx.d.ts +156 -12
  51. package/westend-people/types.d.ts +1153 -783
  52. package/westend-people/view-functions.d.ts +34 -1
@@ -8,6 +8,7 @@ import type {
8
8
  SpWeightsRuntimeDbWeight,
9
9
  PolkadotParachainPrimitivesPrimitivesId,
10
10
  FrameSupportPalletId,
11
+ StagingXcmV5Junctions,
11
12
  SpWeightsWeightV2Weight,
12
13
  } from './types.js';
13
14
 
@@ -233,6 +234,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
233
234
  * Pallet `Session`'s constants
234
235
  **/
235
236
  session: {
237
+ /**
238
+ * The amount to be held when setting keys.
239
+ **/
240
+ keyDeposit: bigint;
241
+
236
242
  /**
237
243
  * Generic pallet constant
238
244
  **/
@@ -307,6 +313,27 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
307
313
  * Pallet `PolkadotXcm`'s constants
308
314
  **/
309
315
  polkadotXcm: {
316
+ /**
317
+ * This chain's Universal Location.
318
+ **/
319
+ universalLocation: StagingXcmV5Junctions;
320
+
321
+ /**
322
+ * The latest supported version that we advertise. Generally just set it to
323
+ * `pallet_xcm::CurrentXcmVersion`.
324
+ **/
325
+ advertisedXcmVersion: number;
326
+
327
+ /**
328
+ * The maximum number of local XCM locks that a single account may have.
329
+ **/
330
+ maxLockers: number;
331
+
332
+ /**
333
+ * The maximum number of consumers a single remote lock may have.
334
+ **/
335
+ maxRemoteLockConsumers: number;
336
+
310
337
  /**
311
338
  * Generic pallet constant
312
339
  **/
@@ -96,16 +96,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
96
96
  **/
97
97
  NotScheduled: GenericPalletError<Rv>;
98
98
 
99
- /**
100
- * No code upgrade has been authorized.
101
- **/
102
- NothingAuthorized: GenericPalletError<Rv>;
103
-
104
- /**
105
- * The given code upgrade has not been authorized.
106
- **/
107
- Unauthorized: GenericPalletError<Rv>;
108
-
109
99
  /**
110
100
  * Generic pallet error
111
101
  **/
@@ -469,6 +459,29 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
469
459
  **/
470
460
  LocalExecutionIncomplete: GenericPalletError<Rv>;
471
461
 
462
+ /**
463
+ * Too many locations authorized to alias origin.
464
+ *
465
+ * @deprecated Use `LocalExecutionIncompleteWithError` instead (since 20.0.0)
466
+ **/
467
+ TooManyAuthorizedAliases: GenericPalletError<Rv>;
468
+
469
+ /**
470
+ * Expiry block number is in the past.
471
+ **/
472
+ ExpiresInPast: GenericPalletError<Rv>;
473
+
474
+ /**
475
+ * The alias to remove authorization for was not found.
476
+ **/
477
+ AliasNotFound: GenericPalletError<Rv>;
478
+
479
+ /**
480
+ * Local XCM execution incomplete with the actual XCM error and the index of the
481
+ * instruction that caused the error.
482
+ **/
483
+ LocalExecutionIncompleteWithError: GenericPalletError<Rv>;
484
+
472
485
  /**
473
486
  * Generic pallet error
474
487
  **/
@@ -588,12 +601,13 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
588
601
  SenderInSignatories: GenericPalletError<Rv>;
589
602
 
590
603
  /**
591
- * Multisig operation not found when attempting to cancel.
604
+ * Multisig operation not found in storage.
592
605
  **/
593
606
  NotFound: GenericPalletError<Rv>;
594
607
 
595
608
  /**
596
- * Only the account that originally created the multisig is able to cancel it.
609
+ * Only the account that originally created the multisig is able to cancel it or update
610
+ * its deposits.
597
611
  **/
598
612
  NotOwner: GenericPalletError<Rv>;
599
613
 
@@ -6,18 +6,22 @@ import type {
6
6
  FrameSystemDispatchEventInfo,
7
7
  SpWeightsWeightV2Weight,
8
8
  FrameSupportTokensMiscBalanceStatus,
9
+ PeopleWestendRuntimeRuntimeHoldReason,
10
+ PalletBalancesUnexpectedKind,
9
11
  StagingXcmV5TraitsOutcome,
10
12
  StagingXcmV5Location,
11
13
  StagingXcmV5Xcm,
14
+ XcmV3TraitsSendError,
15
+ XcmV5TraitsError,
12
16
  StagingXcmV5Response,
13
17
  XcmVersionedAssets,
14
18
  StagingXcmV5AssetAssets,
15
- XcmV5TraitsError,
16
19
  XcmVersionedLocation,
17
20
  CumulusPrimitivesCoreAggregateMessageOrigin,
18
21
  FrameSupportMessagesProcessMessageError,
19
22
  PalletMultisigTimepoint,
20
23
  PeopleWestendRuntimeProxyType,
24
+ PalletProxyDepositKind,
21
25
  } from './types.js';
22
26
 
23
27
  export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
@@ -70,6 +74,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
70
74
  **/
71
75
  UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
72
76
 
77
+ /**
78
+ * An invalid authorized upgrade was rejected while trying to apply it.
79
+ **/
80
+ RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
81
+ Rv,
82
+ 'System',
83
+ 'RejectedInvalidAuthorizedUpgrade',
84
+ { codeHash: H256; error: DispatchError }
85
+ >;
86
+
73
87
  /**
74
88
  * Generic pallet event
75
89
  **/
@@ -195,11 +209,21 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
195
209
  **/
196
210
  Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
197
211
 
212
+ /**
213
+ * Some credit was balanced and added to the TotalIssuance.
214
+ **/
215
+ MintedCredit: GenericPalletEvent<Rv, 'Balances', 'MintedCredit', { amount: bigint }>;
216
+
198
217
  /**
199
218
  * Some amount was burned from an account.
200
219
  **/
201
220
  Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
202
221
 
222
+ /**
223
+ * Some debt has been dropped from the Total Issuance.
224
+ **/
225
+ BurnedDebt: GenericPalletEvent<Rv, 'Balances', 'BurnedDebt', { amount: bigint }>;
226
+
203
227
  /**
204
228
  * Some amount was suspended from an account (it can be restored later).
205
229
  **/
@@ -250,6 +274,61 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
250
274
  **/
251
275
  TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
252
276
 
277
+ /**
278
+ * Some balance was placed on hold.
279
+ **/
280
+ Held: GenericPalletEvent<
281
+ Rv,
282
+ 'Balances',
283
+ 'Held',
284
+ { reason: PeopleWestendRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
285
+ >;
286
+
287
+ /**
288
+ * Held balance was burned from an account.
289
+ **/
290
+ BurnedHeld: GenericPalletEvent<
291
+ Rv,
292
+ 'Balances',
293
+ 'BurnedHeld',
294
+ { reason: PeopleWestendRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
295
+ >;
296
+
297
+ /**
298
+ * A transfer of `amount` on hold from `source` to `dest` was initiated.
299
+ **/
300
+ TransferOnHold: GenericPalletEvent<
301
+ Rv,
302
+ 'Balances',
303
+ 'TransferOnHold',
304
+ { reason: PeopleWestendRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint }
305
+ >;
306
+
307
+ /**
308
+ * The `transferred` balance is placed on hold at the `dest` account.
309
+ **/
310
+ TransferAndHold: GenericPalletEvent<
311
+ Rv,
312
+ 'Balances',
313
+ 'TransferAndHold',
314
+ { reason: PeopleWestendRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; transferred: bigint }
315
+ >;
316
+
317
+ /**
318
+ * Some balance was released from hold.
319
+ **/
320
+ Released: GenericPalletEvent<
321
+ Rv,
322
+ 'Balances',
323
+ 'Released',
324
+ { reason: PeopleWestendRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
325
+ >;
326
+
327
+ /**
328
+ * An unexpected/defensive event was triggered.
329
+ **/
330
+ Unexpected: GenericPalletEvent<Rv, 'Balances', 'Unexpected', PalletBalancesUnexpectedKind>;
331
+
253
332
  /**
254
333
  * Generic pallet event
255
334
  **/
@@ -375,6 +454,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
375
454
  **/
376
455
  NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
377
456
 
457
+ /**
458
+ * The `NewSession` event in the current block also implies a new validator set to be
459
+ * queued.
460
+ **/
461
+ NewQueued: GenericPalletEvent<Rv, 'Session', 'NewQueued', null>;
462
+
378
463
  /**
379
464
  * Validator has been disabled.
380
465
  **/
@@ -414,7 +499,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
414
499
  Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
415
500
 
416
501
  /**
417
- * A XCM message was sent.
502
+ * An XCM message was sent.
418
503
  **/
419
504
  Sent: GenericPalletEvent<
420
505
  Rv,
@@ -428,6 +513,31 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
428
513
  }
429
514
  >;
430
515
 
516
+ /**
517
+ * An XCM message failed to send.
518
+ **/
519
+ SendFailed: GenericPalletEvent<
520
+ Rv,
521
+ 'PolkadotXcm',
522
+ 'SendFailed',
523
+ {
524
+ origin: StagingXcmV5Location;
525
+ destination: StagingXcmV5Location;
526
+ error: XcmV3TraitsSendError;
527
+ messageId: FixedBytes<32>;
528
+ }
529
+ >;
530
+
531
+ /**
532
+ * An XCM message failed to process.
533
+ **/
534
+ ProcessXcmError: GenericPalletEvent<
535
+ Rv,
536
+ 'PolkadotXcm',
537
+ 'ProcessXcmError',
538
+ { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
539
+ >;
540
+
431
541
  /**
432
542
  * Query response received which does not match a registered query. This may be because a
433
543
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -681,6 +791,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
681
791
  **/
682
792
  VersionMigrationFinished: GenericPalletEvent<Rv, 'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
683
793
 
794
+ /**
795
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
796
+ * `expiry` block number.
797
+ **/
798
+ AliasAuthorized: GenericPalletEvent<
799
+ Rv,
800
+ 'PolkadotXcm',
801
+ 'AliasAuthorized',
802
+ { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
803
+ >;
804
+
805
+ /**
806
+ * `target` removed alias authorization for `aliaser`.
807
+ **/
808
+ AliasAuthorizationRemoved: GenericPalletEvent<
809
+ Rv,
810
+ 'PolkadotXcm',
811
+ 'AliasAuthorizationRemoved',
812
+ { aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
813
+ >;
814
+
815
+ /**
816
+ * `target` removed all alias authorizations.
817
+ **/
818
+ AliasesAuthorizationsRemoved: GenericPalletEvent<
819
+ Rv,
820
+ 'PolkadotXcm',
821
+ 'AliasesAuthorizationsRemoved',
822
+ { target: StagingXcmV5Location }
823
+ >;
824
+
684
825
  /**
685
826
  * Generic pallet event
686
827
  **/
@@ -940,6 +1081,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
940
1081
  { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
941
1082
  >;
942
1083
 
1084
+ /**
1085
+ * The deposit for a multisig operation has been updated/poked.
1086
+ **/
1087
+ DepositPoked: GenericPalletEvent<
1088
+ Rv,
1089
+ 'Multisig',
1090
+ 'DepositPoked',
1091
+ { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
1092
+ >;
1093
+
943
1094
  /**
944
1095
  * Generic pallet event
945
1096
  **/
@@ -962,7 +1113,24 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
962
1113
  Rv,
963
1114
  'Proxy',
964
1115
  'PureCreated',
965
- { pure: AccountId32; who: AccountId32; proxyType: PeopleWestendRuntimeProxyType; disambiguationIndex: number }
1116
+ {
1117
+ pure: AccountId32;
1118
+ who: AccountId32;
1119
+ proxyType: PeopleWestendRuntimeProxyType;
1120
+ disambiguationIndex: number;
1121
+ at: number;
1122
+ extrinsicIndex: number;
1123
+ }
1124
+ >;
1125
+
1126
+ /**
1127
+ * A pure proxy was killed by its spawner.
1128
+ **/
1129
+ PureKilled: GenericPalletEvent<
1130
+ Rv,
1131
+ 'Proxy',
1132
+ 'PureKilled',
1133
+ { pure: AccountId32; spawner: AccountId32; proxyType: PeopleWestendRuntimeProxyType; disambiguationIndex: number }
966
1134
  >;
967
1135
 
968
1136
  /**
@@ -990,6 +1158,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
990
1158
  { delegator: AccountId32; delegatee: AccountId32; proxyType: PeopleWestendRuntimeProxyType; delay: number }
991
1159
  >;
992
1160
 
1161
+ /**
1162
+ * A deposit stored for proxies or announcements was poked / updated.
1163
+ **/
1164
+ DepositPoked: GenericPalletEvent<
1165
+ Rv,
1166
+ 'Proxy',
1167
+ 'DepositPoked',
1168
+ { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
1169
+ >;
1170
+
993
1171
  /**
994
1172
  * Generic pallet event
995
1173
  **/
@@ -1,6 +1,20 @@
1
1
  // Generated by dedot cli
2
2
 
3
- import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
3
+ import type { GenericSubstrateApi, GenericChainKnownTypes, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
4
+ import type { MultiAddress } from 'dedot/codecs';
5
+ import type {
6
+ PeopleWestendRuntimeRuntimeCall,
7
+ SpRuntimeMultiSignature,
8
+ FrameSystemExtensionsAuthorizeCall,
9
+ FrameSystemExtensionsCheckNonZeroSender,
10
+ FrameSystemExtensionsCheckSpecVersion,
11
+ FrameSystemExtensionsCheckTxVersion,
12
+ FrameSystemExtensionsCheckGenesis,
13
+ FrameSystemExtensionsCheckMortality,
14
+ FrameSystemExtensionsCheckNonce,
15
+ FrameSystemExtensionsCheckWeight,
16
+ PalletTransactionPaymentChargeTransactionPayment,
17
+ } from './types.js';
4
18
  import { ChainConsts } from './consts.js';
5
19
  import { ChainStorage } from './query.js';
6
20
  import { ChainJsonRpcApis } from './json-rpc.js';
@@ -12,6 +26,24 @@ import { ChainTx } from './tx.js';
12
26
 
13
27
  export * from './types.js';
14
28
 
29
+ interface ChainKnownTypes extends GenericChainKnownTypes {
30
+ Address: MultiAddress;
31
+ Signature: SpRuntimeMultiSignature;
32
+ RuntimeCall: PeopleWestendRuntimeRuntimeCall;
33
+ Extra: [
34
+ FrameSystemExtensionsAuthorizeCall,
35
+ FrameSystemExtensionsCheckNonZeroSender,
36
+ FrameSystemExtensionsCheckSpecVersion,
37
+ FrameSystemExtensionsCheckTxVersion,
38
+ FrameSystemExtensionsCheckGenesis,
39
+ FrameSystemExtensionsCheckMortality,
40
+ FrameSystemExtensionsCheckNonce,
41
+ FrameSystemExtensionsCheckWeight,
42
+ PalletTransactionPaymentChargeTransactionPayment,
43
+ [],
44
+ ];
45
+ }
46
+
15
47
  export interface VersionedWestendPeopleApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
16
48
  rpc: ChainJsonRpcApis<Rv>;
17
49
  consts: ChainConsts<Rv>;
@@ -21,11 +53,13 @@ export interface VersionedWestendPeopleApi<Rv extends RpcVersion> extends Generi
21
53
  call: RuntimeApis<Rv>;
22
54
  view: ChainViewFunctions<Rv>;
23
55
  tx: ChainTx<Rv>;
56
+
57
+ types: ChainKnownTypes;
24
58
  }
25
59
 
26
60
  /**
27
61
  * @name: WestendPeopleApi
28
- * @specVersion: 1018000
62
+ * @specVersion: 1020000
29
63
  **/
30
64
  export interface WestendPeopleApi {
31
65
  legacy: VersionedWestendPeopleApi<RpcLegacy>;
@@ -11,7 +11,6 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
11
11
  | 'archive_v1_genesisHash'
12
12
  | 'archive_v1_hashByHeight'
13
13
  | 'archive_v1_header'
14
- | 'archive_v1_stopStorage'
15
14
  | 'archive_v1_storage'
16
15
  | 'archive_v1_storageDiff'
17
16
  | 'archive_v1_storageDiff_stopStorageDiff'
@@ -30,6 +30,7 @@ import type {
30
30
  PolkadotPrimitivesV8AbridgedHostConfiguration,
31
31
  CumulusPrimitivesParachainInherentMessageQueueChain,
32
32
  PolkadotParachainPrimitivesPrimitivesId,
33
+ CumulusPalletParachainSystemParachainInherentInboundMessageId,
33
34
  PolkadotCorePrimitivesOutboundHrmpMessage,
34
35
  PalletBalancesAccountData,
35
36
  PalletBalancesBalanceLock,
@@ -51,6 +52,7 @@ import type {
51
52
  PalletXcmRemoteLockedFungibleRecord,
52
53
  XcmVersionedAssetId,
53
54
  StagingXcmV5Xcm,
55
+ PalletXcmAuthorizedAliasesEntry,
54
56
  PalletMessageQueueBookState,
55
57
  CumulusPrimitivesCoreAggregateMessageOrigin,
56
58
  PalletMessageQueuePage,
@@ -407,14 +409,36 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
407
409
  processedDownwardMessages: GenericStorageQuery<Rv, () => number>;
408
410
 
409
411
  /**
410
- * HRMP watermark that was set in a block.
412
+ * The last processed downward message.
411
413
  *
412
- * This will be cleared in `on_initialize` of each new block.
414
+ * We need to keep track of this to filter the messages that have been already processed.
415
+ *
416
+ * @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
417
+ **/
418
+ lastProcessedDownwardMessage: GenericStorageQuery<
419
+ Rv,
420
+ () => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
421
+ >;
422
+
423
+ /**
424
+ * HRMP watermark that was set in a block.
413
425
  *
414
426
  * @param {Callback<number> =} callback
415
427
  **/
416
428
  hrmpWatermark: GenericStorageQuery<Rv, () => number>;
417
429
 
430
+ /**
431
+ * The last processed HRMP message.
432
+ *
433
+ * We need to keep track of this to filter the messages that have been already processed.
434
+ *
435
+ * @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
436
+ **/
437
+ lastProcessedHrmpMessage: GenericStorageQuery<
438
+ Rv,
439
+ () => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
440
+ >;
441
+
418
442
  /**
419
443
  * HRMP messages that were sent in a block.
420
444
  *
@@ -1068,6 +1092,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1068
1092
  **/
1069
1093
  recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV5Xcm | undefined>;
1070
1094
 
1095
+ /**
1096
+ * Map of authorized aliasers of local origins. Each local location can authorize a list of
1097
+ * other locations to alias into it. Each aliaser is only valid until its inner `expiry`
1098
+ * block number.
1099
+ *
1100
+ * @param {XcmVersionedLocation} arg
1101
+ * @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
1102
+ **/
1103
+ authorizedAliases: GenericStorageQuery<
1104
+ Rv,
1105
+ (arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
1106
+ XcmVersionedLocation
1107
+ >;
1108
+
1071
1109
  /**
1072
1110
  * Generic pallet storage query
1073
1111
  **/