@dedot/chaintypes 0.228.0 → 0.230.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/paseo/events.d.ts CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  import type { GenericChainEvents, GenericPalletEvent } from 'dedot/types';
4
4
  import type {
5
+ DispatchInfo,
5
6
  DispatchError,
6
7
  AccountId32,
7
8
  H256,
@@ -13,22 +14,18 @@ import type {
13
14
  FixedU128,
14
15
  } from 'dedot/codecs';
15
16
  import type {
16
- FrameSystemDispatchEventInfo,
17
17
  FrameSupportTokensMiscBalanceStatus,
18
- PalletBalancesUnexpectedKind,
19
18
  PalletStakingRewardDestination,
20
19
  PalletStakingValidatorPrefs,
21
20
  PalletStakingForcing,
22
21
  SpConsensusGrandpaAppPublic,
23
22
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
24
23
  XcmVersionedLocation,
25
- PalletConvictionVotingVoteAccountVote,
26
24
  FrameSupportPreimagesBounded,
27
25
  PalletConvictionVotingTally,
28
26
  FrameSupportDispatchPostDispatchInfo,
29
27
  SpRuntimeDispatchErrorWithPostInfo,
30
- PaseoRuntimeConstantsProxyProxyType,
31
- PalletProxyDepositKind,
28
+ PaseoRuntimeProxyType,
32
29
  PalletMultisigTimepoint,
33
30
  PalletElectionProviderMultiPhaseElectionCompute,
34
31
  SpNposElectionsElectionScore,
@@ -36,12 +33,10 @@ import type {
36
33
  PalletNominationPoolsPoolState,
37
34
  PalletNominationPoolsCommissionChangeRate,
38
35
  PalletNominationPoolsCommissionClaimPermission,
39
- PalletNominationPoolsClaimPermission,
40
- PalletStakingAsyncAhClientUnexpectedKind,
41
- PolkadotPrimitivesVstagingCandidateReceiptV2,
36
+ PolkadotPrimitivesV7CandidateReceipt,
42
37
  PolkadotParachainPrimitivesPrimitivesHeadData,
43
- PolkadotPrimitivesV8CoreIndex,
44
- PolkadotPrimitivesV8GroupIndex,
38
+ PolkadotPrimitivesV7CoreIndex,
39
+ PolkadotPrimitivesV7GroupIndex,
45
40
  PolkadotParachainPrimitivesPrimitivesId,
46
41
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
47
42
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
@@ -50,21 +45,16 @@ import type {
50
45
  PolkadotRuntimeParachainsDisputesDisputeResult,
51
46
  PalletStateTrieMigrationMigrationCompute,
52
47
  PalletStateTrieMigrationError,
53
- StagingXcmV5TraitsOutcome,
54
- StagingXcmV5Location,
55
- StagingXcmV5Xcm,
56
- XcmV3TraitsSendError,
57
- XcmV5TraitsError,
58
- StagingXcmV5Response,
48
+ StagingXcmV4TraitsOutcome,
49
+ StagingXcmV4Location,
50
+ StagingXcmV4Xcm,
51
+ StagingXcmV4Response,
59
52
  SpWeightsWeightV2Weight,
60
53
  XcmVersionedAssets,
61
- StagingXcmV5AssetAssets,
54
+ StagingXcmV4AssetAssets,
55
+ XcmV3TraitsError,
62
56
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
63
57
  FrameSupportMessagesProcessMessageError,
64
- PalletRcMigratorMigrationStage,
65
- XcmV3MaybeErrorCode,
66
- PalletRcMigratorQueuePriority,
67
- PalletRcMigratorMigrationSettings,
68
58
  } from './types.js';
69
59
 
70
60
  export interface ChainEvents extends GenericChainEvents {
@@ -75,7 +65,7 @@ export interface ChainEvents extends GenericChainEvents {
75
65
  /**
76
66
  * An extrinsic completed successfully.
77
67
  **/
78
- ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: FrameSystemDispatchEventInfo }>;
68
+ ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
79
69
 
80
70
  /**
81
71
  * An extrinsic failed.
@@ -83,7 +73,7 @@ export interface ChainEvents extends GenericChainEvents {
83
73
  ExtrinsicFailed: GenericPalletEvent<
84
74
  'System',
85
75
  'ExtrinsicFailed',
86
- { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
76
+ { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
87
77
  >;
88
78
 
89
79
  /**
@@ -111,15 +101,6 @@ export interface ChainEvents extends GenericChainEvents {
111
101
  **/
112
102
  UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
113
103
 
114
- /**
115
- * An invalid authorized upgrade was rejected while trying to apply it.
116
- **/
117
- RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
118
- 'System',
119
- 'RejectedInvalidAuthorizedUpgrade',
120
- { codeHash: H256; error: DispatchError }
121
- >;
122
-
123
104
  /**
124
105
  * Generic pallet event
125
106
  **/
@@ -203,11 +184,6 @@ export interface ChainEvents extends GenericChainEvents {
203
184
  { task: [number, number]; id?: FixedBytes<32> | undefined }
204
185
  >;
205
186
 
206
- /**
207
- * Agenda is incomplete from `when`.
208
- **/
209
- AgendaIncomplete: GenericPalletEvent<'Scheduler', 'AgendaIncomplete', { when: number }>;
210
-
211
187
  /**
212
188
  * Generic pallet event
213
189
  **/
@@ -256,15 +232,6 @@ export interface ChainEvents extends GenericChainEvents {
256
232
  **/
257
233
  IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
258
234
 
259
- /**
260
- * A deposit to reserve an index has been poked/reconsidered.
261
- **/
262
- DepositPoked: GenericPalletEvent<
263
- 'Indices',
264
- 'DepositPoked',
265
- { who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint }
266
- >;
267
-
268
235
  /**
269
236
  * Generic pallet event
270
237
  **/
@@ -390,11 +357,6 @@ export interface ChainEvents extends GenericChainEvents {
390
357
  **/
391
358
  TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
392
359
 
393
- /**
394
- * An unexpected/defensive event was triggered.
395
- **/
396
- Unexpected: GenericPalletEvent<'Balances', 'Unexpected', PalletBalancesUnexpectedKind>;
397
-
398
360
  /**
399
361
  * Generic pallet event
400
362
  **/
@@ -499,13 +461,9 @@ export interface ChainEvents extends GenericChainEvents {
499
461
  Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
500
462
 
501
463
  /**
502
- * A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
464
+ * The stakers' rewards are getting paid.
503
465
  **/
504
- PayoutStarted: GenericPalletEvent<
505
- 'Staking',
506
- 'PayoutStarted',
507
- { eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined }
508
- >;
466
+ PayoutStarted: GenericPalletEvent<'Staking', 'PayoutStarted', { eraIndex: number; validatorStash: AccountId32 }>;
509
467
 
510
468
  /**
511
469
  * A validator has set their preferences.
@@ -536,12 +494,6 @@ export interface ChainEvents extends GenericChainEvents {
536
494
  **/
537
495
  ControllerBatchDeprecated: GenericPalletEvent<'Staking', 'ControllerBatchDeprecated', { failures: number }>;
538
496
 
539
- /**
540
- * Staking balance migrated from locks to holds, with any balance that could not be held
541
- * is force withdrawn.
542
- **/
543
- CurrencyMigrated: GenericPalletEvent<'Staking', 'CurrencyMigrated', { stash: AccountId32; forceWithdraw: bigint }>;
544
-
545
497
  /**
546
498
  * Generic pallet event
547
499
  **/
@@ -563,25 +515,6 @@ export interface ChainEvents extends GenericChainEvents {
563
515
  **/
564
516
  [prop: string]: GenericPalletEvent;
565
517
  };
566
- /**
567
- * Pallet `Historical`'s events
568
- **/
569
- historical: {
570
- /**
571
- * The merkle root of the validators of the said session were stored
572
- **/
573
- RootStored: GenericPalletEvent<'Historical', 'RootStored', { index: number }>;
574
-
575
- /**
576
- * The merkle roots of up to this session index were pruned
577
- **/
578
- RootsPruned: GenericPalletEvent<'Historical', 'RootsPruned', { upTo: number }>;
579
-
580
- /**
581
- * Generic pallet event
582
- **/
583
- [prop: string]: GenericPalletEvent;
584
- };
585
518
  /**
586
519
  * Pallet `Session`'s events
587
520
  **/
@@ -592,22 +525,6 @@ export interface ChainEvents extends GenericChainEvents {
592
525
  **/
593
526
  NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
594
527
 
595
- /**
596
- * The `NewSession` event in the current block also implies a new validator set to be
597
- * queued.
598
- **/
599
- NewQueued: GenericPalletEvent<'Session', 'NewQueued', null>;
600
-
601
- /**
602
- * Validator has been disabled.
603
- **/
604
- ValidatorDisabled: GenericPalletEvent<'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
605
-
606
- /**
607
- * Validator has been re-enabled.
608
- **/
609
- ValidatorReenabled: GenericPalletEvent<'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
610
-
611
528
  /**
612
529
  * Generic pallet event
613
530
  **/
@@ -740,29 +657,6 @@ export interface ChainEvents extends GenericChainEvents {
740
657
  **/
741
658
  Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
742
659
 
743
- /**
744
- * An account has voted
745
- **/
746
- Voted: GenericPalletEvent<
747
- 'ConvictionVoting',
748
- 'Voted',
749
- { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
750
- >;
751
-
752
- /**
753
- * A vote has been removed
754
- **/
755
- VoteRemoved: GenericPalletEvent<
756
- 'ConvictionVoting',
757
- 'VoteRemoved',
758
- { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
759
- >;
760
-
761
- /**
762
- * The lockup period of a conviction vote expired, and the funds have been unlocked.
763
- **/
764
- VoteUnlocked: GenericPalletEvent<'ConvictionVoting', 'VoteUnlocked', { who: AccountId32; class: number }>;
765
-
766
660
  /**
767
661
  * Generic pallet event
768
662
  **/
@@ -1127,11 +1021,6 @@ export interface ChainEvents extends GenericChainEvents {
1127
1021
  * Pallet `Vesting`'s events
1128
1022
  **/
1129
1023
  vesting: {
1130
- /**
1131
- * A vesting schedule has been created.
1132
- **/
1133
- VestingCreated: GenericPalletEvent<'Vesting', 'VestingCreated', { account: AccountId32; scheduleIndex: number }>;
1134
-
1135
1024
  /**
1136
1025
  * The amount vested has been updated. This could indicate a change in funds available.
1137
1026
  * The balance given is the amount which is left unvested (and thus locked).
@@ -1183,16 +1072,6 @@ export interface ChainEvents extends GenericChainEvents {
1183
1072
  **/
1184
1073
  DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
1185
1074
 
1186
- /**
1187
- * Main call was dispatched.
1188
- **/
1189
- IfElseMainSuccess: GenericPalletEvent<'Utility', 'IfElseMainSuccess', null>;
1190
-
1191
- /**
1192
- * The fallback call was dispatched.
1193
- **/
1194
- IfElseFallbackCalled: GenericPalletEvent<'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
1195
-
1196
1075
  /**
1197
1076
  * Generic pallet event
1198
1077
  **/
@@ -1214,26 +1093,7 @@ export interface ChainEvents extends GenericChainEvents {
1214
1093
  PureCreated: GenericPalletEvent<
1215
1094
  'Proxy',
1216
1095
  'PureCreated',
1217
- {
1218
- pure: AccountId32;
1219
- who: AccountId32;
1220
- proxyType: PaseoRuntimeConstantsProxyProxyType;
1221
- disambiguationIndex: number;
1222
- }
1223
- >;
1224
-
1225
- /**
1226
- * A pure proxy was killed by its spawner.
1227
- **/
1228
- PureKilled: GenericPalletEvent<
1229
- 'Proxy',
1230
- 'PureKilled',
1231
- {
1232
- pure: AccountId32;
1233
- spawner: AccountId32;
1234
- proxyType: PaseoRuntimeConstantsProxyProxyType;
1235
- disambiguationIndex: number;
1236
- }
1096
+ { pure: AccountId32; who: AccountId32; proxyType: PaseoRuntimeProxyType; disambiguationIndex: number }
1237
1097
  >;
1238
1098
 
1239
1099
  /**
@@ -1247,7 +1107,7 @@ export interface ChainEvents extends GenericChainEvents {
1247
1107
  ProxyAdded: GenericPalletEvent<
1248
1108
  'Proxy',
1249
1109
  'ProxyAdded',
1250
- { delegator: AccountId32; delegatee: AccountId32; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number }
1110
+ { delegator: AccountId32; delegatee: AccountId32; proxyType: PaseoRuntimeProxyType; delay: number }
1251
1111
  >;
1252
1112
 
1253
1113
  /**
@@ -1256,16 +1116,7 @@ export interface ChainEvents extends GenericChainEvents {
1256
1116
  ProxyRemoved: GenericPalletEvent<
1257
1117
  'Proxy',
1258
1118
  'ProxyRemoved',
1259
- { delegator: AccountId32; delegatee: AccountId32; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number }
1260
- >;
1261
-
1262
- /**
1263
- * A deposit stored for proxies or announcements was poked / updated.
1264
- **/
1265
- DepositPoked: GenericPalletEvent<
1266
- 'Proxy',
1267
- 'DepositPoked',
1268
- { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
1119
+ { delegator: AccountId32; delegatee: AccountId32; proxyType: PaseoRuntimeProxyType; delay: number }
1269
1120
  >;
1270
1121
 
1271
1122
  /**
@@ -1319,15 +1170,6 @@ export interface ChainEvents extends GenericChainEvents {
1319
1170
  { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1320
1171
  >;
1321
1172
 
1322
- /**
1323
- * The deposit for a multisig operation has been updated/poked.
1324
- **/
1325
- DepositPoked: GenericPalletEvent<
1326
- 'Multisig',
1327
- 'DepositPoked',
1328
- { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
1329
- >;
1330
-
1331
1173
  /**
1332
1174
  * Generic pallet event
1333
1175
  **/
@@ -1396,15 +1238,6 @@ export interface ChainEvents extends GenericChainEvents {
1396
1238
  **/
1397
1239
  CuratorAccepted: GenericPalletEvent<'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
1398
1240
 
1399
- /**
1400
- * A bounty deposit has been poked.
1401
- **/
1402
- DepositPoked: GenericPalletEvent<
1403
- 'Bounties',
1404
- 'DepositPoked',
1405
- { bountyId: number; proposer: AccountId32; oldDeposit: bigint; newDeposit: bigint }
1406
- >;
1407
-
1408
1241
  /**
1409
1242
  * Generic pallet event
1410
1243
  **/
@@ -1603,14 +1436,8 @@ export interface ChainEvents extends GenericChainEvents {
1603
1436
  * A member has been removed from a pool.
1604
1437
  *
1605
1438
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
1606
- * Any funds that are still delegated (i.e. dangling delegation) are released and are
1607
- * represented by `released_balance`.
1608
1439
  **/
1609
- MemberRemoved: GenericPalletEvent<
1610
- 'NominationPools',
1611
- 'MemberRemoved',
1612
- { poolId: number; member: AccountId32; releasedBalance: bigint }
1613
- >;
1440
+ MemberRemoved: GenericPalletEvent<'NominationPools', 'MemberRemoved', { poolId: number; member: AccountId32 }>;
1614
1441
 
1615
1442
  /**
1616
1443
  * The roles of a pool have been updated to the given new roles. Note that the depositor
@@ -1699,55 +1526,6 @@ export interface ChainEvents extends GenericChainEvents {
1699
1526
  { poolId: number; amount: bigint }
1700
1527
  >;
1701
1528
 
1702
- /**
1703
- * A pool member's claim permission has been updated.
1704
- **/
1705
- MemberClaimPermissionUpdated: GenericPalletEvent<
1706
- 'NominationPools',
1707
- 'MemberClaimPermissionUpdated',
1708
- { member: AccountId32; permission: PalletNominationPoolsClaimPermission }
1709
- >;
1710
-
1711
- /**
1712
- * A pool's metadata was updated.
1713
- **/
1714
- MetadataUpdated: GenericPalletEvent<'NominationPools', 'MetadataUpdated', { poolId: number; caller: AccountId32 }>;
1715
-
1716
- /**
1717
- * A pool's nominating account (or the pool's root account) has nominated a validator set
1718
- * on behalf of the pool.
1719
- **/
1720
- PoolNominationMade: GenericPalletEvent<
1721
- 'NominationPools',
1722
- 'PoolNominationMade',
1723
- { poolId: number; caller: AccountId32 }
1724
- >;
1725
-
1726
- /**
1727
- * The pool is chilled i.e. no longer nominating.
1728
- **/
1729
- PoolNominatorChilled: GenericPalletEvent<
1730
- 'NominationPools',
1731
- 'PoolNominatorChilled',
1732
- { poolId: number; caller: AccountId32 }
1733
- >;
1734
-
1735
- /**
1736
- * Global parameters regulating nomination pools have been updated.
1737
- **/
1738
- GlobalParamsUpdated: GenericPalletEvent<
1739
- 'NominationPools',
1740
- 'GlobalParamsUpdated',
1741
- {
1742
- minJoinBond: bigint;
1743
- minCreateBond: bigint;
1744
- maxPools?: number | undefined;
1745
- maxMembers?: number | undefined;
1746
- maxMembersPerPool?: number | undefined;
1747
- globalMaxCommission?: Perbill | undefined;
1748
- }
1749
- >;
1750
-
1751
1529
  /**
1752
1530
  * Generic pallet event
1753
1531
  **/
@@ -1790,89 +1568,6 @@ export interface ChainEvents extends GenericChainEvents {
1790
1568
  **/
1791
1569
  [prop: string]: GenericPalletEvent;
1792
1570
  };
1793
- /**
1794
- * Pallet `DelegatedStaking`'s events
1795
- **/
1796
- delegatedStaking: {
1797
- /**
1798
- * Funds delegated by a delegator.
1799
- **/
1800
- Delegated: GenericPalletEvent<
1801
- 'DelegatedStaking',
1802
- 'Delegated',
1803
- { agent: AccountId32; delegator: AccountId32; amount: bigint }
1804
- >;
1805
-
1806
- /**
1807
- * Funds released to a delegator.
1808
- **/
1809
- Released: GenericPalletEvent<
1810
- 'DelegatedStaking',
1811
- 'Released',
1812
- { agent: AccountId32; delegator: AccountId32; amount: bigint }
1813
- >;
1814
-
1815
- /**
1816
- * Funds slashed from a delegator.
1817
- **/
1818
- Slashed: GenericPalletEvent<
1819
- 'DelegatedStaking',
1820
- 'Slashed',
1821
- { agent: AccountId32; delegator: AccountId32; amount: bigint }
1822
- >;
1823
-
1824
- /**
1825
- * Unclaimed delegation funds migrated to delegator.
1826
- **/
1827
- MigratedDelegation: GenericPalletEvent<
1828
- 'DelegatedStaking',
1829
- 'MigratedDelegation',
1830
- { agent: AccountId32; delegator: AccountId32; amount: bigint }
1831
- >;
1832
-
1833
- /**
1834
- * Generic pallet event
1835
- **/
1836
- [prop: string]: GenericPalletEvent;
1837
- };
1838
- /**
1839
- * Pallet `StakingAhClient`'s events
1840
- **/
1841
- stakingAhClient: {
1842
- /**
1843
- * A new validator set has been received.
1844
- **/
1845
- ValidatorSetReceived: GenericPalletEvent<
1846
- 'StakingAhClient',
1847
- 'ValidatorSetReceived',
1848
- { id: number; newValidatorSetCount: number; pruneUpTo?: number | undefined; leftover: boolean }
1849
- >;
1850
-
1851
- /**
1852
- * We could not merge, and therefore dropped a buffered message.
1853
- *
1854
- * Note that this event is more resembling an error, but we use an event because in this
1855
- * pallet we need to mutate storage upon some failures.
1856
- **/
1857
- CouldNotMergeAndDropped: GenericPalletEvent<'StakingAhClient', 'CouldNotMergeAndDropped', null>;
1858
-
1859
- /**
1860
- * The validator set received is way too small, as per
1861
- * [`Config::MinimumValidatorSetSize`].
1862
- **/
1863
- SetTooSmallAndDropped: GenericPalletEvent<'StakingAhClient', 'SetTooSmallAndDropped', null>;
1864
-
1865
- /**
1866
- * Something occurred that should never happen under normal operation. Logged as an event
1867
- * for fail-safe observability.
1868
- **/
1869
- Unexpected: GenericPalletEvent<'StakingAhClient', 'Unexpected', PalletStakingAsyncAhClientUnexpectedKind>;
1870
-
1871
- /**
1872
- * Generic pallet event
1873
- **/
1874
- [prop: string]: GenericPalletEvent;
1875
- };
1876
1571
  /**
1877
1572
  * Pallet `ParaInclusion`'s events
1878
1573
  **/
@@ -1884,10 +1579,10 @@ export interface ChainEvents extends GenericChainEvents {
1884
1579
  'ParaInclusion',
1885
1580
  'CandidateBacked',
1886
1581
  [
1887
- PolkadotPrimitivesVstagingCandidateReceiptV2,
1582
+ PolkadotPrimitivesV7CandidateReceipt,
1888
1583
  PolkadotParachainPrimitivesPrimitivesHeadData,
1889
- PolkadotPrimitivesV8CoreIndex,
1890
- PolkadotPrimitivesV8GroupIndex,
1584
+ PolkadotPrimitivesV7CoreIndex,
1585
+ PolkadotPrimitivesV7GroupIndex,
1891
1586
  ]
1892
1587
  >;
1893
1588
 
@@ -1898,10 +1593,10 @@ export interface ChainEvents extends GenericChainEvents {
1898
1593
  'ParaInclusion',
1899
1594
  'CandidateIncluded',
1900
1595
  [
1901
- PolkadotPrimitivesVstagingCandidateReceiptV2,
1596
+ PolkadotPrimitivesV7CandidateReceipt,
1902
1597
  PolkadotParachainPrimitivesPrimitivesHeadData,
1903
- PolkadotPrimitivesV8CoreIndex,
1904
- PolkadotPrimitivesV8GroupIndex,
1598
+ PolkadotPrimitivesV7CoreIndex,
1599
+ PolkadotPrimitivesV7GroupIndex,
1905
1600
  ]
1906
1601
  >;
1907
1602
 
@@ -1912,9 +1607,9 @@ export interface ChainEvents extends GenericChainEvents {
1912
1607
  'ParaInclusion',
1913
1608
  'CandidateTimedOut',
1914
1609
  [
1915
- PolkadotPrimitivesVstagingCandidateReceiptV2,
1610
+ PolkadotPrimitivesV7CandidateReceipt,
1916
1611
  PolkadotParachainPrimitivesPrimitivesHeadData,
1917
- PolkadotPrimitivesV8CoreIndex,
1612
+ PolkadotPrimitivesV7CoreIndex,
1918
1613
  ]
1919
1614
  >;
1920
1615
 
@@ -1991,44 +1686,6 @@ export interface ChainEvents extends GenericChainEvents {
1991
1686
  [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
1992
1687
  >;
1993
1688
 
1994
- /**
1995
- * The upgrade cooldown was removed.
1996
- **/
1997
- UpgradeCooldownRemoved: GenericPalletEvent<
1998
- 'Paras',
1999
- 'UpgradeCooldownRemoved',
2000
- {
2001
- /**
2002
- * The parachain for which the cooldown got removed.
2003
- **/
2004
- paraId: PolkadotParachainPrimitivesPrimitivesId;
2005
- }
2006
- >;
2007
-
2008
- /**
2009
- * A new code hash has been authorized for a Para.
2010
- **/
2011
- CodeAuthorized: GenericPalletEvent<
2012
- 'Paras',
2013
- 'CodeAuthorized',
2014
- {
2015
- /**
2016
- * Para
2017
- **/
2018
- paraId: PolkadotParachainPrimitivesPrimitivesId;
2019
-
2020
- /**
2021
- * Authorized code hash.
2022
- **/
2023
- codeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
2024
-
2025
- /**
2026
- * Block at which authorization expires and will be removed.
2027
- **/
2028
- expireAt: number;
2029
- }
2030
- >;
2031
-
2032
1689
  /**
2033
1690
  * Generic pallet event
2034
1691
  **/
@@ -2181,11 +1838,6 @@ export interface ChainEvents extends GenericChainEvents {
2181
1838
  **/
2182
1839
  SpotPriceSet: GenericPalletEvent<'OnDemand', 'SpotPriceSet', { spotPrice: bigint }>;
2183
1840
 
2184
- /**
2185
- * An account was given credits.
2186
- **/
2187
- AccountCredited: GenericPalletEvent<'OnDemand', 'AccountCredited', { who: AccountId32; amount: bigint }>;
2188
-
2189
1841
  /**
2190
1842
  * Generic pallet event
2191
1843
  **/
@@ -2415,7 +2067,7 @@ export interface ChainEvents extends GenericChainEvents {
2415
2067
  /**
2416
2068
  * A core has received a new assignment from the broker chain.
2417
2069
  **/
2418
- CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV8CoreIndex }>;
2070
+ CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV7CoreIndex }>;
2419
2071
 
2420
2072
  /**
2421
2073
  * Generic pallet event
@@ -2463,45 +2115,22 @@ export interface ChainEvents extends GenericChainEvents {
2463
2115
  /**
2464
2116
  * Execution of an XCM message was attempted.
2465
2117
  **/
2466
- Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
2118
+ Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
2467
2119
 
2468
2120
  /**
2469
- * An XCM message was sent.
2121
+ * A XCM message was sent.
2470
2122
  **/
2471
2123
  Sent: GenericPalletEvent<
2472
2124
  'XcmPallet',
2473
2125
  'Sent',
2474
2126
  {
2475
- origin: StagingXcmV5Location;
2476
- destination: StagingXcmV5Location;
2477
- message: StagingXcmV5Xcm;
2127
+ origin: StagingXcmV4Location;
2128
+ destination: StagingXcmV4Location;
2129
+ message: StagingXcmV4Xcm;
2478
2130
  messageId: FixedBytes<32>;
2479
2131
  }
2480
2132
  >;
2481
2133
 
2482
- /**
2483
- * An XCM message failed to send.
2484
- **/
2485
- SendFailed: GenericPalletEvent<
2486
- 'XcmPallet',
2487
- 'SendFailed',
2488
- {
2489
- origin: StagingXcmV5Location;
2490
- destination: StagingXcmV5Location;
2491
- error: XcmV3TraitsSendError;
2492
- messageId: FixedBytes<32>;
2493
- }
2494
- >;
2495
-
2496
- /**
2497
- * An XCM message failed to process.
2498
- **/
2499
- ProcessXcmError: GenericPalletEvent<
2500
- 'XcmPallet',
2501
- 'ProcessXcmError',
2502
- { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
2503
- >;
2504
-
2505
2134
  /**
2506
2135
  * Query response received which does not match a registered query. This may be because a
2507
2136
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -2510,7 +2139,7 @@ export interface ChainEvents extends GenericChainEvents {
2510
2139
  UnexpectedResponse: GenericPalletEvent<
2511
2140
  'XcmPallet',
2512
2141
  'UnexpectedResponse',
2513
- { origin: StagingXcmV5Location; queryId: bigint }
2142
+ { origin: StagingXcmV4Location; queryId: bigint }
2514
2143
  >;
2515
2144
 
2516
2145
  /**
@@ -2520,7 +2149,7 @@ export interface ChainEvents extends GenericChainEvents {
2520
2149
  ResponseReady: GenericPalletEvent<
2521
2150
  'XcmPallet',
2522
2151
  'ResponseReady',
2523
- { queryId: bigint; response: StagingXcmV5Response }
2152
+ { queryId: bigint; response: StagingXcmV4Response }
2524
2153
  >;
2525
2154
 
2526
2155
  /**
@@ -2575,7 +2204,7 @@ export interface ChainEvents extends GenericChainEvents {
2575
2204
  InvalidResponder: GenericPalletEvent<
2576
2205
  'XcmPallet',
2577
2206
  'InvalidResponder',
2578
- { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
2207
+ { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
2579
2208
  >;
2580
2209
 
2581
2210
  /**
@@ -2590,7 +2219,7 @@ export interface ChainEvents extends GenericChainEvents {
2590
2219
  InvalidResponderVersion: GenericPalletEvent<
2591
2220
  'XcmPallet',
2592
2221
  'InvalidResponderVersion',
2593
- { origin: StagingXcmV5Location; queryId: bigint }
2222
+ { origin: StagingXcmV4Location; queryId: bigint }
2594
2223
  >;
2595
2224
 
2596
2225
  /**
@@ -2604,7 +2233,7 @@ export interface ChainEvents extends GenericChainEvents {
2604
2233
  AssetsTrapped: GenericPalletEvent<
2605
2234
  'XcmPallet',
2606
2235
  'AssetsTrapped',
2607
- { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
2236
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
2608
2237
  >;
2609
2238
 
2610
2239
  /**
@@ -2615,7 +2244,7 @@ export interface ChainEvents extends GenericChainEvents {
2615
2244
  VersionChangeNotified: GenericPalletEvent<
2616
2245
  'XcmPallet',
2617
2246
  'VersionChangeNotified',
2618
- { destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
2247
+ { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2619
2248
  >;
2620
2249
 
2621
2250
  /**
@@ -2625,7 +2254,7 @@ export interface ChainEvents extends GenericChainEvents {
2625
2254
  SupportedVersionChanged: GenericPalletEvent<
2626
2255
  'XcmPallet',
2627
2256
  'SupportedVersionChanged',
2628
- { location: StagingXcmV5Location; version: number }
2257
+ { location: StagingXcmV4Location; version: number }
2629
2258
  >;
2630
2259
 
2631
2260
  /**
@@ -2635,7 +2264,7 @@ export interface ChainEvents extends GenericChainEvents {
2635
2264
  NotifyTargetSendFail: GenericPalletEvent<
2636
2265
  'XcmPallet',
2637
2266
  'NotifyTargetSendFail',
2638
- { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
2267
+ { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
2639
2268
  >;
2640
2269
 
2641
2270
  /**
@@ -2660,7 +2289,7 @@ export interface ChainEvents extends GenericChainEvents {
2660
2289
  InvalidQuerierVersion: GenericPalletEvent<
2661
2290
  'XcmPallet',
2662
2291
  'InvalidQuerierVersion',
2663
- { origin: StagingXcmV5Location; queryId: bigint }
2292
+ { origin: StagingXcmV4Location; queryId: bigint }
2664
2293
  >;
2665
2294
 
2666
2295
  /**
@@ -2672,10 +2301,10 @@ export interface ChainEvents extends GenericChainEvents {
2672
2301
  'XcmPallet',
2673
2302
  'InvalidQuerier',
2674
2303
  {
2675
- origin: StagingXcmV5Location;
2304
+ origin: StagingXcmV4Location;
2676
2305
  queryId: bigint;
2677
- expectedQuerier: StagingXcmV5Location;
2678
- maybeActualQuerier?: StagingXcmV5Location | undefined;
2306
+ expectedQuerier: StagingXcmV4Location;
2307
+ maybeActualQuerier?: StagingXcmV4Location | undefined;
2679
2308
  }
2680
2309
  >;
2681
2310
 
@@ -2686,7 +2315,7 @@ export interface ChainEvents extends GenericChainEvents {
2686
2315
  VersionNotifyStarted: GenericPalletEvent<
2687
2316
  'XcmPallet',
2688
2317
  'VersionNotifyStarted',
2689
- { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
2318
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2690
2319
  >;
2691
2320
 
2692
2321
  /**
@@ -2695,7 +2324,7 @@ export interface ChainEvents extends GenericChainEvents {
2695
2324
  VersionNotifyRequested: GenericPalletEvent<
2696
2325
  'XcmPallet',
2697
2326
  'VersionNotifyRequested',
2698
- { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
2327
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2699
2328
  >;
2700
2329
 
2701
2330
  /**
@@ -2705,7 +2334,7 @@ export interface ChainEvents extends GenericChainEvents {
2705
2334
  VersionNotifyUnrequested: GenericPalletEvent<
2706
2335
  'XcmPallet',
2707
2336
  'VersionNotifyUnrequested',
2708
- { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
2337
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2709
2338
  >;
2710
2339
 
2711
2340
  /**
@@ -2714,7 +2343,7 @@ export interface ChainEvents extends GenericChainEvents {
2714
2343
  FeesPaid: GenericPalletEvent<
2715
2344
  'XcmPallet',
2716
2345
  'FeesPaid',
2717
- { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
2346
+ { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
2718
2347
  >;
2719
2348
 
2720
2349
  /**
@@ -2723,7 +2352,7 @@ export interface ChainEvents extends GenericChainEvents {
2723
2352
  AssetsClaimed: GenericPalletEvent<
2724
2353
  'XcmPallet',
2725
2354
  'AssetsClaimed',
2726
- { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
2355
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
2727
2356
  >;
2728
2357
 
2729
2358
  /**
@@ -2731,34 +2360,6 @@ export interface ChainEvents extends GenericChainEvents {
2731
2360
  **/
2732
2361
  VersionMigrationFinished: GenericPalletEvent<'XcmPallet', 'VersionMigrationFinished', { version: number }>;
2733
2362
 
2734
- /**
2735
- * An `aliaser` location was authorized by `target` to alias it, authorization valid until
2736
- * `expiry` block number.
2737
- **/
2738
- AliasAuthorized: GenericPalletEvent<
2739
- 'XcmPallet',
2740
- 'AliasAuthorized',
2741
- { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
2742
- >;
2743
-
2744
- /**
2745
- * `target` removed alias authorization for `aliaser`.
2746
- **/
2747
- AliasAuthorizationRemoved: GenericPalletEvent<
2748
- 'XcmPallet',
2749
- 'AliasAuthorizationRemoved',
2750
- { aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
2751
- >;
2752
-
2753
- /**
2754
- * `target` removed all alias authorizations.
2755
- **/
2756
- AliasesAuthorizationsRemoved: GenericPalletEvent<
2757
- 'XcmPallet',
2758
- 'AliasesAuthorizationsRemoved',
2759
- { target: StagingXcmV5Location }
2760
- >;
2761
-
2762
2363
  /**
2763
2364
  * Generic pallet event
2764
2365
  **/
@@ -2963,310 +2564,6 @@ export interface ChainEvents extends GenericChainEvents {
2963
2564
  }
2964
2565
  >;
2965
2566
 
2966
- /**
2967
- * Generic pallet event
2968
- **/
2969
- [prop: string]: GenericPalletEvent;
2970
- };
2971
- /**
2972
- * Pallet `RcMigrator`'s events
2973
- **/
2974
- rcMigrator: {
2975
- /**
2976
- * A stage transition has occurred.
2977
- **/
2978
- StageTransition: GenericPalletEvent<
2979
- 'RcMigrator',
2980
- 'StageTransition',
2981
- {
2982
- /**
2983
- * The old stage before the transition.
2984
- **/
2985
- old: PalletRcMigratorMigrationStage;
2986
-
2987
- /**
2988
- * The new stage after the transition.
2989
- **/
2990
- new: PalletRcMigratorMigrationStage;
2991
- }
2992
- >;
2993
-
2994
- /**
2995
- * The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
2996
- * emitted.
2997
- *
2998
- * This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
2999
- * to understand. The activation is immediate and affects all events happening
3000
- * afterwards.
3001
- **/
3002
- AssetHubMigrationStarted: GenericPalletEvent<'RcMigrator', 'AssetHubMigrationStarted', null>;
3003
-
3004
- /**
3005
- * The Asset Hub Migration finished.
3006
- *
3007
- * This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
3008
- * to understand. The finishing is immediate and affects all events happening
3009
- * afterwards.
3010
- **/
3011
- AssetHubMigrationFinished: GenericPalletEvent<'RcMigrator', 'AssetHubMigrationFinished', null>;
3012
-
3013
- /**
3014
- * A query response has been received.
3015
- **/
3016
- QueryResponseReceived: GenericPalletEvent<
3017
- 'RcMigrator',
3018
- 'QueryResponseReceived',
3019
- {
3020
- /**
3021
- * The query ID.
3022
- **/
3023
- queryId: bigint;
3024
-
3025
- /**
3026
- * The response.
3027
- **/
3028
- response: XcmV3MaybeErrorCode;
3029
- }
3030
- >;
3031
-
3032
- /**
3033
- * A XCM message has been resent.
3034
- **/
3035
- XcmResendAttempt: GenericPalletEvent<
3036
- 'RcMigrator',
3037
- 'XcmResendAttempt',
3038
- {
3039
- /**
3040
- * The query ID.
3041
- **/
3042
- queryId: bigint;
3043
-
3044
- /**
3045
- * The error message.
3046
- **/
3047
- sendError?: XcmV3TraitsSendError | undefined;
3048
- }
3049
- >;
3050
-
3051
- /**
3052
- * The unprocessed message buffer size has been set.
3053
- **/
3054
- UnprocessedMsgBufferSet: GenericPalletEvent<
3055
- 'RcMigrator',
3056
- 'UnprocessedMsgBufferSet',
3057
- {
3058
- /**
3059
- * The new size.
3060
- **/
3061
- new: number;
3062
-
3063
- /**
3064
- * The old size.
3065
- **/
3066
- old: number;
3067
- }
3068
- >;
3069
-
3070
- /**
3071
- * Whether the AH UMP queue was prioritized for the next block.
3072
- **/
3073
- AhUmpQueuePrioritySet: GenericPalletEvent<
3074
- 'RcMigrator',
3075
- 'AhUmpQueuePrioritySet',
3076
- {
3077
- /**
3078
- * Indicates if AH UMP queue was successfully set as priority.
3079
- * If `false`, it means we're in the round-robin phase of our priority pattern
3080
- * (see [`Config::AhUmpQueuePriorityPattern`]), where no queue gets priority.
3081
- **/
3082
- prioritized: boolean;
3083
-
3084
- /**
3085
- * Current block number within the pattern cycle (1 to period).
3086
- **/
3087
- cycleBlock: number;
3088
-
3089
- /**
3090
- * Total number of blocks in the pattern cycle
3091
- **/
3092
- cyclePeriod: number;
3093
- }
3094
- >;
3095
-
3096
- /**
3097
- * The AH UMP queue priority config was set.
3098
- **/
3099
- AhUmpQueuePriorityConfigSet: GenericPalletEvent<
3100
- 'RcMigrator',
3101
- 'AhUmpQueuePriorityConfigSet',
3102
- {
3103
- /**
3104
- * The old priority pattern.
3105
- **/
3106
- old: PalletRcMigratorQueuePriority;
3107
-
3108
- /**
3109
- * The new priority pattern.
3110
- **/
3111
- new: PalletRcMigratorQueuePriority;
3112
- }
3113
- >;
3114
-
3115
- /**
3116
- * The total issuance was recorded.
3117
- **/
3118
- MigratedBalanceRecordSet: GenericPalletEvent<
3119
- 'RcMigrator',
3120
- 'MigratedBalanceRecordSet',
3121
- { kept: bigint; migrated: bigint }
3122
- >;
3123
-
3124
- /**
3125
- * The RC kept balance was consumed.
3126
- **/
3127
- MigratedBalanceConsumed: GenericPalletEvent<
3128
- 'RcMigrator',
3129
- 'MigratedBalanceConsumed',
3130
- { kept: bigint; migrated: bigint }
3131
- >;
3132
-
3133
- /**
3134
- * The manager account id was set.
3135
- **/
3136
- ManagerSet: GenericPalletEvent<
3137
- 'RcMigrator',
3138
- 'ManagerSet',
3139
- {
3140
- /**
3141
- * The old manager account id.
3142
- **/
3143
- old?: AccountId32 | undefined;
3144
-
3145
- /**
3146
- * The new manager account id.
3147
- **/
3148
- new?: AccountId32 | undefined;
3149
- }
3150
- >;
3151
-
3152
- /**
3153
- * An XCM message was sent.
3154
- **/
3155
- XcmSent: GenericPalletEvent<
3156
- 'RcMigrator',
3157
- 'XcmSent',
3158
- {
3159
- origin: StagingXcmV5Location;
3160
- destination: StagingXcmV5Location;
3161
- message: StagingXcmV5Xcm;
3162
- messageId: FixedBytes<32>;
3163
- }
3164
- >;
3165
-
3166
- /**
3167
- * The staking elections were paused.
3168
- **/
3169
- StakingElectionsPaused: GenericPalletEvent<'RcMigrator', 'StakingElectionsPaused', null>;
3170
-
3171
- /**
3172
- * The accounts to be preserved on Relay Chain were set.
3173
- **/
3174
- AccountsPreserved: GenericPalletEvent<
3175
- 'RcMigrator',
3176
- 'AccountsPreserved',
3177
- {
3178
- /**
3179
- * The accounts that will be preserved.
3180
- **/
3181
- accounts: Array<AccountId32>;
3182
- }
3183
- >;
3184
-
3185
- /**
3186
- * The canceller account id was set.
3187
- **/
3188
- CancellerSet: GenericPalletEvent<
3189
- 'RcMigrator',
3190
- 'CancellerSet',
3191
- {
3192
- /**
3193
- * The old canceller account id.
3194
- **/
3195
- old?: AccountId32 | undefined;
3196
-
3197
- /**
3198
- * The new canceller account id.
3199
- **/
3200
- new?: AccountId32 | undefined;
3201
- }
3202
- >;
3203
-
3204
- /**
3205
- * The migration was paused.
3206
- **/
3207
- MigrationPaused: GenericPalletEvent<
3208
- 'RcMigrator',
3209
- 'MigrationPaused',
3210
- {
3211
- /**
3212
- * The stage at which the migration was paused.
3213
- **/
3214
- pauseStage: PalletRcMigratorMigrationStage;
3215
- }
3216
- >;
3217
-
3218
- /**
3219
- * The migration was cancelled.
3220
- **/
3221
- MigrationCancelled: GenericPalletEvent<'RcMigrator', 'MigrationCancelled', null>;
3222
-
3223
- /**
3224
- * Some pure accounts were indexed for possibly receiving free `Any` proxies.
3225
- **/
3226
- PureAccountsIndexed: GenericPalletEvent<
3227
- 'RcMigrator',
3228
- 'PureAccountsIndexed',
3229
- {
3230
- /**
3231
- * The number of indexed pure accounts.
3232
- **/
3233
- numPureAccounts: number;
3234
- }
3235
- >;
3236
-
3237
- /**
3238
- * The manager multisig dispatched something.
3239
- **/
3240
- ManagerMultisigDispatched: GenericPalletEvent<
3241
- 'RcMigrator',
3242
- 'ManagerMultisigDispatched',
3243
- { res: Result<[], DispatchError> }
3244
- >;
3245
-
3246
- /**
3247
- * The manager multisig received a vote.
3248
- **/
3249
- ManagerMultisigVoted: GenericPalletEvent<'RcMigrator', 'ManagerMultisigVoted', { votes: number }>;
3250
-
3251
- /**
3252
- * The migration settings were set.
3253
- **/
3254
- MigrationSettingsSet: GenericPalletEvent<
3255
- 'RcMigrator',
3256
- 'MigrationSettingsSet',
3257
- {
3258
- /**
3259
- * The old migration settings.
3260
- **/
3261
- old?: PalletRcMigratorMigrationSettings | undefined;
3262
-
3263
- /**
3264
- * The new migration settings.
3265
- **/
3266
- new?: PalletRcMigratorMigrationSettings | undefined;
3267
- }
3268
- >;
3269
-
3270
2567
  /**
3271
2568
  * Generic pallet event
3272
2569
  **/