@polkadot/api-augment 16.5.6 → 17.0.1

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 (51) hide show
  1. package/assetHubKusama/consts.d.ts +140 -53
  2. package/assetHubKusama/errors.d.ts +310 -111
  3. package/assetHubKusama/events.d.ts +420 -149
  4. package/assetHubKusama/query.d.ts +370 -92
  5. package/assetHubKusama/runtime.d.ts +157 -8
  6. package/assetHubKusama/tx.d.ts +690 -600
  7. package/cjs/assetHubKusama/consts.d.ts +140 -53
  8. package/cjs/assetHubKusama/errors.d.ts +310 -111
  9. package/cjs/assetHubKusama/events.d.ts +420 -149
  10. package/cjs/assetHubKusama/query.d.ts +370 -92
  11. package/cjs/assetHubKusama/runtime.d.ts +157 -8
  12. package/cjs/assetHubKusama/tx.d.ts +690 -600
  13. package/cjs/kusama/consts.d.ts +0 -40
  14. package/cjs/kusama/errors.d.ts +25 -151
  15. package/cjs/kusama/events.d.ts +93 -208
  16. package/cjs/kusama/query.d.ts +98 -177
  17. package/cjs/kusama/runtime.d.ts +86 -46
  18. package/cjs/kusama/tx.d.ts +108 -608
  19. package/cjs/packageInfo.js +1 -1
  20. package/cjs/polkadot/consts.d.ts +1 -1
  21. package/cjs/polkadot/errors.d.ts +25 -85
  22. package/cjs/polkadot/events.d.ts +103 -159
  23. package/cjs/polkadot/query.d.ts +108 -172
  24. package/cjs/polkadot/runtime.d.ts +72 -46
  25. package/cjs/polkadot/tx.d.ts +101 -351
  26. package/cjs/substrate/consts.d.ts +12 -3
  27. package/cjs/substrate/errors.d.ts +28 -14
  28. package/cjs/substrate/events.d.ts +66 -1
  29. package/cjs/substrate/query.d.ts +9 -0
  30. package/cjs/substrate/runtime.d.ts +5 -1
  31. package/cjs/substrate/tx.d.ts +81 -2
  32. package/kusama/consts.d.ts +0 -40
  33. package/kusama/errors.d.ts +25 -151
  34. package/kusama/events.d.ts +93 -208
  35. package/kusama/query.d.ts +98 -177
  36. package/kusama/runtime.d.ts +86 -46
  37. package/kusama/tx.d.ts +108 -608
  38. package/package.json +6 -6
  39. package/packageInfo.js +1 -1
  40. package/polkadot/consts.d.ts +1 -1
  41. package/polkadot/errors.d.ts +25 -85
  42. package/polkadot/events.d.ts +103 -159
  43. package/polkadot/query.d.ts +108 -172
  44. package/polkadot/runtime.d.ts +72 -46
  45. package/polkadot/tx.d.ts +101 -351
  46. package/substrate/consts.d.ts +12 -3
  47. package/substrate/errors.d.ts +28 -14
  48. package/substrate/events.d.ts +66 -1
  49. package/substrate/query.d.ts +9 -0
  50. package/substrate/runtime.d.ts +5 -1
  51. package/substrate/tx.d.ts +81 -2
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "./cjs/packageDetect.js"
19
19
  ],
20
20
  "type": "module",
21
- "version": "16.5.6",
21
+ "version": "17.0.1",
22
22
  "main": "./cjs/index.js",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts",
@@ -603,11 +603,11 @@
603
603
  }
604
604
  },
605
605
  "dependencies": {
606
- "@polkadot/api-base": "16.5.6",
607
- "@polkadot/rpc-augment": "16.5.6",
608
- "@polkadot/types": "16.5.6",
609
- "@polkadot/types-augment": "16.5.6",
610
- "@polkadot/types-codec": "16.5.6",
606
+ "@polkadot/api-base": "17.0.1",
607
+ "@polkadot/rpc-augment": "17.0.1",
608
+ "@polkadot/types": "17.0.1",
609
+ "@polkadot/types-augment": "17.0.1",
610
+ "@polkadot/types-codec": "17.0.1",
611
611
  "@polkadot/util": "^14.0.3",
612
612
  "tslib": "^2.8.1"
613
613
  }
package/packageInfo.js CHANGED
@@ -1 +1 @@
1
- export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '16.5.6' };
1
+ export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '17.0.1' };
@@ -712,7 +712,7 @@ declare module '@polkadot/api-base/types/consts' {
712
712
  * - [`frame_support::storage::StorageDoubleMap`]: 96 byte
713
713
  *
714
714
  * For more info see
715
- * <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
715
+ * <https://www.shawntabrizi.com/blog/interacting-with-the-substrate-rpc-endpoint/>
716
716
  **/
717
717
  maxKeyLen: u32 & AugmentedConst<ApiType>;
718
718
  /**
@@ -148,6 +148,10 @@ declare module '@polkadot/api-base/types/errors' {
148
148
  * The session of the equivocation proof is invalid
149
149
  **/
150
150
  InvalidEquivocationProofSession: AugmentedError<ApiType>;
151
+ /**
152
+ * The session of the equivocation proof is not in the mapping (anymore)
153
+ **/
154
+ InvalidEquivocationProofSessionMember: AugmentedError<ApiType>;
151
155
  /**
152
156
  * A fork voting proof provided as part of an equivocation report is invalid.
153
157
  **/
@@ -353,18 +357,6 @@ declare module '@polkadot/api-base/types/errors' {
353
357
  **/
354
358
  [key: string]: AugmentedError<ApiType>;
355
359
  };
356
- coretimeAssignmentProvider: {
357
- AssignmentsEmpty: AugmentedError<ApiType>;
358
- /**
359
- * assign_core is only allowed to append new assignments at the end of already existing
360
- * ones or update the last entry.
361
- **/
362
- DisallowedInsert: AugmentedError<ApiType>;
363
- /**
364
- * Generic error
365
- **/
366
- [key: string]: AugmentedError<ApiType>;
367
- };
368
360
  crowdloan: {
369
361
  /**
370
362
  * The fund is already in `NewRaise`
@@ -1071,6 +1063,10 @@ declare module '@polkadot/api-base/types/errors' {
1071
1063
  * not recent enough or it didn't advance based on the last parachain block.
1072
1064
  **/
1073
1065
  DisallowedRelayParent: AugmentedError<ApiType>;
1066
+ /**
1067
+ * The candidate's scheduling-parent was not allowed.
1068
+ **/
1069
+ DisallowedSchedulingParent: AugmentedError<ApiType>;
1074
1070
  /**
1075
1071
  * Head data exceeds the configured maximum.
1076
1072
  **/
@@ -1089,7 +1085,7 @@ declare module '@polkadot/api-base/types/errors' {
1089
1085
  InsufficientBacking: AugmentedError<ApiType>;
1090
1086
  /**
1091
1087
  * Failed to compute group index for the core: either it's out of bounds
1092
- * or the relay parent doesn't belong to the current session.
1088
+ * or the scheduling parent doesn't belong to the current session.
1093
1089
  **/
1094
1090
  InvalidAssignment: AugmentedError<ApiType>;
1095
1091
  /**
@@ -1236,6 +1232,20 @@ declare module '@polkadot/api-base/types/errors' {
1236
1232
  **/
1237
1233
  [key: string]: AugmentedError<ApiType>;
1238
1234
  };
1235
+ paraScheduler: {
1236
+ /**
1237
+ * assign_core was called with no assignments.
1238
+ **/
1239
+ AssignmentsEmpty: AugmentedError<ApiType>;
1240
+ /**
1241
+ * assign_core with non allowed insertion.
1242
+ **/
1243
+ DisallowedInsert: AugmentedError<ApiType>;
1244
+ /**
1245
+ * Generic error
1246
+ **/
1247
+ [key: string]: AugmentedError<ApiType>;
1248
+ };
1239
1249
  parasDisputes: {
1240
1250
  /**
1241
1251
  * Ancient dispute statement provided.
@@ -1386,78 +1396,6 @@ declare module '@polkadot/api-base/types/errors' {
1386
1396
  [key: string]: AugmentedError<ApiType>;
1387
1397
  };
1388
1398
  rcMigrator: {
1389
- /**
1390
- * The account is referenced by some other pallet. It might have freezes or holds.
1391
- **/
1392
- AccountReferenced: AugmentedError<ApiType>;
1393
- /**
1394
- * The AH UMP queue priority configuration is already set.
1395
- **/
1396
- AhUmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
1397
- /**
1398
- * The XCM version is invalid.
1399
- **/
1400
- BadXcmVersion: AugmentedError<ApiType>;
1401
- /**
1402
- * Balance accounting overflow.
1403
- **/
1404
- BalanceOverflow: AugmentedError<ApiType>;
1405
- /**
1406
- * Balance accounting underflow.
1407
- **/
1408
- BalanceUnderflow: AugmentedError<ApiType>;
1409
- /**
1410
- * Indicates that there is not enough time for staking to lock.
1411
- *
1412
- * Schedule the migration at least two sessions before the current era ends.
1413
- **/
1414
- EraEndsTooSoon: AugmentedError<ApiType>;
1415
- /**
1416
- * Failed to withdraw account from RC for migration to AH.
1417
- **/
1418
- FailedToWithdrawAccount: AugmentedError<ApiType>;
1419
- /**
1420
- * The origin is invalid.
1421
- **/
1422
- InvalidOrigin: AugmentedError<ApiType>;
1423
- /**
1424
- * Invalid parameter.
1425
- **/
1426
- InvalidParameter: AugmentedError<ApiType>;
1427
- /**
1428
- * The query response is invalid.
1429
- **/
1430
- InvalidQueryResponse: AugmentedError<ApiType>;
1431
- /**
1432
- * The stage transition is invalid.
1433
- **/
1434
- InvalidStageTransition: AugmentedError<ApiType>;
1435
- OutOfWeight: AugmentedError<ApiType>;
1436
- /**
1437
- * Indicates that the specified block number is in the past.
1438
- **/
1439
- PastBlockNumber: AugmentedError<ApiType>;
1440
- /**
1441
- * The xcm query was not found.
1442
- **/
1443
- QueryNotFound: AugmentedError<ApiType>;
1444
- Unreachable: AugmentedError<ApiType>;
1445
- /**
1446
- * The migration stage is not reachable from the current stage.
1447
- **/
1448
- UnreachableStage: AugmentedError<ApiType>;
1449
- /**
1450
- * Unsigned validation failed.
1451
- **/
1452
- UnsignedValidationFailed: AugmentedError<ApiType>;
1453
- /**
1454
- * Failed to send XCM message to AH.
1455
- **/
1456
- XcmError: AugmentedError<ApiType>;
1457
- /**
1458
- * Failed to send XCM message.
1459
- **/
1460
- XcmSendError: AugmentedError<ApiType>;
1461
1399
  /**
1462
1400
  * Generic error
1463
1401
  **/
@@ -2090,6 +2028,8 @@ declare module '@polkadot/api-base/types/errors' {
2090
2028
  InvalidOrigin: AugmentedError<ApiType>;
2091
2029
  /**
2092
2030
  * Local XCM execution incomplete.
2031
+ *
2032
+ * @deprecated Use `LocalExecutionIncompleteWithError` instead Since 20.0.0.
2093
2033
  **/
2094
2034
  LocalExecutionIncomplete: AugmentedError<ApiType>;
2095
2035
  /**
@@ -4,7 +4,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientUnexpectedKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3MaybeErrorCode, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletStakingAsyncAhClientSessionKeysUpdate, PalletStakingAsyncAhClientUnexpectedKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV9CandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeRuntimeHoldReason, PolkadotRuntimeRuntimeParametersKey, PolkadotRuntimeRuntimeParametersValue, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
9
9
  declare module '@polkadot/api-base/types/events' {
10
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -105,6 +105,20 @@ declare module '@polkadot/api-base/types/events' {
105
105
  who: AccountId32;
106
106
  amount: u128;
107
107
  }>;
108
+ /**
109
+ * Some debt has been dropped from the Total Issuance.
110
+ **/
111
+ BurnedDebt: AugmentedEvent<ApiType, [amount: u128], {
112
+ amount: u128;
113
+ }>;
114
+ /**
115
+ * Held balance was burned from an account.
116
+ **/
117
+ BurnedHeld: AugmentedEvent<ApiType, [reason: PolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], {
118
+ reason: PolkadotRuntimeRuntimeHoldReason;
119
+ who: AccountId32;
120
+ amount: u128;
121
+ }>;
108
122
  /**
109
123
  * Some amount was deposited (e.g. for transaction fees).
110
124
  **/
@@ -134,6 +148,14 @@ declare module '@polkadot/api-base/types/events' {
134
148
  who: AccountId32;
135
149
  amount: u128;
136
150
  }>;
151
+ /**
152
+ * Some balance was placed on hold.
153
+ **/
154
+ Held: AugmentedEvent<ApiType, [reason: PolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], {
155
+ reason: PolkadotRuntimeRuntimeHoldReason;
156
+ who: AccountId32;
157
+ amount: u128;
158
+ }>;
137
159
  /**
138
160
  * Total issuance was increased by `amount`, creating a credit to be balanced.
139
161
  **/
@@ -154,6 +176,20 @@ declare module '@polkadot/api-base/types/events' {
154
176
  who: AccountId32;
155
177
  amount: u128;
156
178
  }>;
179
+ /**
180
+ * Some credit was balanced and added to the TotalIssuance.
181
+ **/
182
+ MintedCredit: AugmentedEvent<ApiType, [amount: u128], {
183
+ amount: u128;
184
+ }>;
185
+ /**
186
+ * Some balance was released from hold.
187
+ **/
188
+ Released: AugmentedEvent<ApiType, [reason: PolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], {
189
+ reason: PolkadotRuntimeRuntimeHoldReason;
190
+ who: AccountId32;
191
+ amount: u128;
192
+ }>;
157
193
  /**
158
194
  * Total issuance was decreased by `amount`, creating a debt to be balanced.
159
195
  **/
@@ -220,6 +256,24 @@ declare module '@polkadot/api-base/types/events' {
220
256
  to: AccountId32;
221
257
  amount: u128;
222
258
  }>;
259
+ /**
260
+ * The `transferred` balance is placed on hold at the `dest` account.
261
+ **/
262
+ TransferAndHold: AugmentedEvent<ApiType, [reason: PolkadotRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128], {
263
+ reason: PolkadotRuntimeRuntimeHoldReason;
264
+ source: AccountId32;
265
+ dest: AccountId32;
266
+ transferred: u128;
267
+ }>;
268
+ /**
269
+ * A transfer of `amount` on hold from `source` to `dest` was initiated.
270
+ **/
271
+ TransferOnHold: AugmentedEvent<ApiType, [reason: PolkadotRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128], {
272
+ reason: PolkadotRuntimeRuntimeHoldReason;
273
+ source: AccountId32;
274
+ dest: AccountId32;
275
+ amount: u128;
276
+ }>;
223
277
  /**
224
278
  * An unexpected/defensive event was triggered.
225
279
  **/
@@ -398,24 +452,26 @@ declare module '@polkadot/api-base/types/events' {
398
452
  /**
399
453
  * An account has delegated their vote to another account. \[who, target\]
400
454
  **/
401
- Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
455
+ Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u16]>;
402
456
  /**
403
457
  * An \[account\] has cancelled a previous delegation operation.
404
458
  **/
405
- Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
459
+ Undelegated: AugmentedEvent<ApiType, [AccountId32, u16]>;
406
460
  /**
407
461
  * An account has voted
408
462
  **/
409
- Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
463
+ Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], {
410
464
  who: AccountId32;
411
465
  vote: PalletConvictionVotingVoteAccountVote;
466
+ pollIndex: u32;
412
467
  }>;
413
468
  /**
414
469
  * A vote has been removed
415
470
  **/
416
- VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
471
+ VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], {
417
472
  who: AccountId32;
418
473
  vote: PalletConvictionVotingVoteAccountVote;
474
+ pollIndex: u32;
419
475
  }>;
420
476
  /**
421
477
  * The lockup period of a conviction vote expired, and the funds have been unlocked.
@@ -1125,15 +1181,15 @@ declare module '@polkadot/api-base/types/events' {
1125
1181
  /**
1126
1182
  * A candidate was backed. `[candidate, head_data]`
1127
1183
  **/
1128
- CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
1184
+ CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32, u32]>;
1129
1185
  /**
1130
1186
  * A candidate was included. `[candidate, head_data]`
1131
1187
  **/
1132
- CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
1188
+ CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32, u32]>;
1133
1189
  /**
1134
1190
  * A candidate timed out. `[candidate, head_data]`
1135
1191
  **/
1136
- CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32]>;
1192
+ CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32]>;
1137
1193
  /**
1138
1194
  * Some upward messages have been received and will be processed.
1139
1195
  **/
@@ -1146,6 +1202,22 @@ declare module '@polkadot/api-base/types/events' {
1146
1202
  **/
1147
1203
  [key: string]: AugmentedEvent<ApiType>;
1148
1204
  };
1205
+ parameters: {
1206
+ /**
1207
+ * A Parameter was set.
1208
+ *
1209
+ * Is also emitted when the value was not changed.
1210
+ **/
1211
+ Updated: AugmentedEvent<ApiType, [key: PolkadotRuntimeRuntimeParametersKey, oldValue: Option<PolkadotRuntimeRuntimeParametersValue>, newValue: Option<PolkadotRuntimeRuntimeParametersValue>], {
1212
+ key: PolkadotRuntimeRuntimeParametersKey;
1213
+ oldValue: Option<PolkadotRuntimeRuntimeParametersValue>;
1214
+ newValue: Option<PolkadotRuntimeRuntimeParametersValue>;
1215
+ }>;
1216
+ /**
1217
+ * Generic event
1218
+ **/
1219
+ [key: string]: AugmentedEvent<ApiType>;
1220
+ };
1149
1221
  paras: {
1150
1222
  /**
1151
1223
  * A para has been queued to execute pending actions. `para_id`
@@ -1293,11 +1365,13 @@ declare module '@polkadot/api-base/types/events' {
1293
1365
  * A pure account has been created by new proxy with given
1294
1366
  * disambiguation index and proxy type.
1295
1367
  **/
1296
- PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16], {
1368
+ PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32], {
1297
1369
  pure: AccountId32;
1298
1370
  who: AccountId32;
1299
1371
  proxyType: PolkadotRuntimeConstantsProxyProxyType;
1300
1372
  disambiguationIndex: u16;
1373
+ at: u32;
1374
+ extrinsicIndex: u32;
1301
1375
  }>;
1302
1376
  /**
1303
1377
  * A pure proxy was killed by its spawner.
@@ -1313,154 +1387,6 @@ declare module '@polkadot/api-base/types/events' {
1313
1387
  **/
1314
1388
  [key: string]: AugmentedEvent<ApiType>;
1315
1389
  };
1316
- rcMigrator: {
1317
- /**
1318
- * The accounts to be preserved on Relay Chain were set.
1319
- **/
1320
- AccountsPreserved: AugmentedEvent<ApiType, [accounts: Vec<AccountId32>], {
1321
- accounts: Vec<AccountId32>;
1322
- }>;
1323
- /**
1324
- * The AH UMP queue priority config was set.
1325
- **/
1326
- AhUmpQueuePriorityConfigSet: AugmentedEvent<ApiType, [old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority], {
1327
- old: PalletRcMigratorQueuePriority;
1328
- new_: PalletRcMigratorQueuePriority;
1329
- }>;
1330
- /**
1331
- * Whether the AH UMP queue was prioritized for the next block.
1332
- **/
1333
- AhUmpQueuePrioritySet: AugmentedEvent<ApiType, [prioritized: bool, cycleBlock: u32, cyclePeriod: u32], {
1334
- prioritized: bool;
1335
- cycleBlock: u32;
1336
- cyclePeriod: u32;
1337
- }>;
1338
- /**
1339
- * The Asset Hub Migration finished.
1340
- *
1341
- * This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
1342
- * to understand. The finishing is immediate and affects all events happening
1343
- * afterwards.
1344
- **/
1345
- AssetHubMigrationFinished: AugmentedEvent<ApiType, []>;
1346
- /**
1347
- * The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
1348
- * emitted.
1349
- *
1350
- * This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
1351
- * to understand. The activation is immediate and affects all events happening
1352
- * afterwards.
1353
- **/
1354
- AssetHubMigrationStarted: AugmentedEvent<ApiType, []>;
1355
- /**
1356
- * The canceller account id was set.
1357
- **/
1358
- CancellerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], {
1359
- old: Option<AccountId32>;
1360
- new_: Option<AccountId32>;
1361
- }>;
1362
- /**
1363
- * The manager multisig dispatched something.
1364
- **/
1365
- ManagerMultisigDispatched: AugmentedEvent<ApiType, [res: Result<Null, SpRuntimeDispatchError>], {
1366
- res: Result<Null, SpRuntimeDispatchError>;
1367
- }>;
1368
- /**
1369
- * The manager multisig received a vote.
1370
- **/
1371
- ManagerMultisigVoted: AugmentedEvent<ApiType, [votes: u32], {
1372
- votes: u32;
1373
- }>;
1374
- /**
1375
- * The manager account id was set.
1376
- **/
1377
- ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], {
1378
- old: Option<AccountId32>;
1379
- new_: Option<AccountId32>;
1380
- }>;
1381
- /**
1382
- * The RC kept balance was consumed.
1383
- **/
1384
- MigratedBalanceConsumed: AugmentedEvent<ApiType, [kept: u128, migrated: u128], {
1385
- kept: u128;
1386
- migrated: u128;
1387
- }>;
1388
- /**
1389
- * The total issuance was recorded.
1390
- **/
1391
- MigratedBalanceRecordSet: AugmentedEvent<ApiType, [kept: u128, migrated: u128], {
1392
- kept: u128;
1393
- migrated: u128;
1394
- }>;
1395
- /**
1396
- * The migration was cancelled.
1397
- **/
1398
- MigrationCancelled: AugmentedEvent<ApiType, []>;
1399
- /**
1400
- * The migration was paused.
1401
- **/
1402
- MigrationPaused: AugmentedEvent<ApiType, [pauseStage: PalletRcMigratorMigrationStage], {
1403
- pauseStage: PalletRcMigratorMigrationStage;
1404
- }>;
1405
- /**
1406
- * The migration settings were set.
1407
- **/
1408
- MigrationSettingsSet: AugmentedEvent<ApiType, [old: Option<PalletRcMigratorMigrationSettings>, new_: Option<PalletRcMigratorMigrationSettings>], {
1409
- old: Option<PalletRcMigratorMigrationSettings>;
1410
- new_: Option<PalletRcMigratorMigrationSettings>;
1411
- }>;
1412
- /**
1413
- * Some pure accounts were indexed for possibly receiving free `Any` proxies.
1414
- **/
1415
- PureAccountsIndexed: AugmentedEvent<ApiType, [numPureAccounts: u32], {
1416
- numPureAccounts: u32;
1417
- }>;
1418
- /**
1419
- * A query response has been received.
1420
- **/
1421
- QueryResponseReceived: AugmentedEvent<ApiType, [queryId: u64, response: XcmV3MaybeErrorCode], {
1422
- queryId: u64;
1423
- response: XcmV3MaybeErrorCode;
1424
- }>;
1425
- /**
1426
- * A stage transition has occurred.
1427
- **/
1428
- StageTransition: AugmentedEvent<ApiType, [old: PalletRcMigratorMigrationStage, new_: PalletRcMigratorMigrationStage], {
1429
- old: PalletRcMigratorMigrationStage;
1430
- new_: PalletRcMigratorMigrationStage;
1431
- }>;
1432
- /**
1433
- * The staking elections were paused.
1434
- **/
1435
- StakingElectionsPaused: AugmentedEvent<ApiType, []>;
1436
- /**
1437
- * The unprocessed message buffer size has been set.
1438
- **/
1439
- UnprocessedMsgBufferSet: AugmentedEvent<ApiType, [new_: u32, old: u32], {
1440
- new_: u32;
1441
- old: u32;
1442
- }>;
1443
- /**
1444
- * A XCM message has been resent.
1445
- **/
1446
- XcmResendAttempt: AugmentedEvent<ApiType, [queryId: u64, sendError: Option<XcmV3TraitsSendError>], {
1447
- queryId: u64;
1448
- sendError: Option<XcmV3TraitsSendError>;
1449
- }>;
1450
- /**
1451
- * An XCM message was sent.
1452
- **/
1453
- XcmSent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
1454
- origin: StagingXcmV5Location;
1455
- destination: StagingXcmV5Location;
1456
- message: StagingXcmV5Xcm;
1457
- messageId: U8aFixed;
1458
- }>;
1459
- /**
1460
- * Generic event
1461
- **/
1462
- [key: string]: AugmentedEvent<ApiType>;
1463
- };
1464
1390
  referenda: {
1465
1391
  /**
1466
1392
  * A referendum has been approved and its proposal has been scheduled.
@@ -1879,6 +1805,22 @@ declare module '@polkadot/api-base/types/events' {
1879
1805
  * pallet we need to mutate storage upon some failures.
1880
1806
  **/
1881
1807
  CouldNotMergeAndDropped: AugmentedEvent<ApiType, []>;
1808
+ /**
1809
+ * Session keys updated for a validator.
1810
+ **/
1811
+ SessionKeysUpdated: AugmentedEvent<ApiType, [stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate], {
1812
+ stash: AccountId32;
1813
+ update: PalletStakingAsyncAhClientSessionKeysUpdate;
1814
+ }>;
1815
+ /**
1816
+ * Session key update from AssetHub failed on the relay chain.
1817
+ * Logged as an event for fail-safe observability.
1818
+ **/
1819
+ SessionKeysUpdateFailed: AugmentedEvent<ApiType, [stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate, error: SpRuntimeDispatchError], {
1820
+ stash: AccountId32;
1821
+ update: PalletStakingAsyncAhClientSessionKeysUpdate;
1822
+ error: SpRuntimeDispatchError;
1823
+ }>;
1882
1824
  /**
1883
1825
  * The validator set received is way too small, as per
1884
1826
  * [`Config::MinimumValidatorSetSize`].
@@ -1937,9 +1879,11 @@ declare module '@polkadot/api-base/types/events' {
1937
1879
  };
1938
1880
  system: {
1939
1881
  /**
1940
- * `:code` was updated.
1882
+ * `:code` was updated to the code with the given hash.
1941
1883
  **/
1942
- CodeUpdated: AugmentedEvent<ApiType, []>;
1884
+ CodeUpdated: AugmentedEvent<ApiType, [hash_: H256], {
1885
+ hash_: H256;
1886
+ }>;
1943
1887
  /**
1944
1888
  * An extrinsic failed.
1945
1889
  **/