@dedot/chaintypes 0.0.1-next.f5bf4fc2.1 → 0.1.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 (144) hide show
  1. package/README.md +3 -1
  2. package/aleph/consts.d.ts +94 -13
  3. package/aleph/errors.d.ts +251 -182
  4. package/aleph/events.d.ts +319 -102
  5. package/aleph/index.d.ts +16 -11
  6. package/aleph/json-rpc.d.ts +76 -0
  7. package/aleph/query.d.ts +261 -168
  8. package/aleph/runtime.d.ts +90 -39
  9. package/aleph/tx.d.ts +1822 -1052
  10. package/aleph/types.d.ts +458 -138
  11. package/astar/consts.d.ts +112 -116
  12. package/astar/errors.d.ts +342 -409
  13. package/astar/events.d.ts +449 -358
  14. package/astar/index.d.ts +16 -11
  15. package/astar/json-rpc.d.ts +131 -0
  16. package/astar/query.d.ts +459 -367
  17. package/astar/runtime.d.ts +591 -98
  18. package/astar/tx.d.ts +2485 -3430
  19. package/astar/types.d.ts +1530 -4436
  20. package/index.d.ts +3 -0
  21. package/index.ts +3 -0
  22. package/kusama/consts.d.ts +54 -115
  23. package/kusama/errors.d.ts +696 -682
  24. package/kusama/events.d.ts +592 -407
  25. package/kusama/index.d.ts +16 -11
  26. package/kusama/json-rpc.d.ts +103 -0
  27. package/kusama/query.d.ts +840 -538
  28. package/kusama/runtime.d.ts +136 -65
  29. package/kusama/tx.d.ts +4557 -3051
  30. package/kusama/types.d.ts +1437 -1161
  31. package/kusamaAssetHub/consts.d.ts +66 -20
  32. package/kusamaAssetHub/errors.d.ts +428 -308
  33. package/kusamaAssetHub/events.d.ts +497 -305
  34. package/kusamaAssetHub/index.d.ts +16 -11
  35. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  36. package/kusamaAssetHub/query.d.ts +376 -253
  37. package/kusamaAssetHub/runtime.d.ts +82 -41
  38. package/kusamaAssetHub/tx.d.ts +3264 -1955
  39. package/kusamaAssetHub/types.d.ts +1262 -726
  40. package/moonbeam/consts.d.ts +115 -170
  41. package/moonbeam/errors.d.ts +564 -787
  42. package/moonbeam/events.d.ts +583 -746
  43. package/moonbeam/index.d.ts +16 -11
  44. package/moonbeam/json-rpc.d.ts +137 -0
  45. package/moonbeam/query.d.ts +507 -607
  46. package/moonbeam/runtime.d.ts +132 -47
  47. package/moonbeam/tx.d.ts +3309 -3268
  48. package/moonbeam/types.d.ts +1484 -1375
  49. package/package.json +4 -14
  50. package/paseo/consts.d.ts +1331 -0
  51. package/paseo/errors.d.ts +2644 -0
  52. package/paseo/events.d.ts +2821 -0
  53. package/paseo/index.d.ts +27 -0
  54. package/paseo/json-rpc.d.ts +103 -0
  55. package/paseo/query.d.ts +3709 -0
  56. package/paseo/runtime.d.ts +1205 -0
  57. package/paseo/tx.d.ts +8024 -0
  58. package/paseo/types.d.ts +10194 -0
  59. package/polkadot/consts.d.ts +95 -50
  60. package/polkadot/errors.d.ts +619 -468
  61. package/polkadot/events.d.ts +582 -257
  62. package/polkadot/index.d.ts +16 -11
  63. package/polkadot/json-rpc.d.ts +103 -0
  64. package/polkadot/query.d.ts +770 -399
  65. package/polkadot/runtime.d.ts +136 -65
  66. package/polkadot/tx.d.ts +4268 -2368
  67. package/polkadot/types.d.ts +1570 -745
  68. package/polkadotAssetHub/consts.d.ts +154 -15
  69. package/polkadotAssetHub/errors.d.ts +615 -234
  70. package/polkadotAssetHub/events.d.ts +829 -270
  71. package/polkadotAssetHub/index.d.ts +16 -11
  72. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  73. package/polkadotAssetHub/query.d.ts +438 -243
  74. package/polkadotAssetHub/runtime.d.ts +147 -40
  75. package/polkadotAssetHub/tx.d.ts +3747 -1643
  76. package/polkadotAssetHub/types.d.ts +2096 -806
  77. package/rococo/consts.d.ts +51 -32
  78. package/rococo/errors.d.ts +549 -605
  79. package/rococo/events.d.ts +447 -238
  80. package/rococo/index.d.ts +16 -11
  81. package/rococo/json-rpc.d.ts +103 -0
  82. package/rococo/query.d.ts +724 -426
  83. package/rococo/runtime.d.ts +366 -144
  84. package/rococo/tx.d.ts +6850 -3079
  85. package/rococo/types.d.ts +5959 -1619
  86. package/rococoAssetHub/consts.d.ts +92 -7
  87. package/rococoAssetHub/errors.d.ts +381 -285
  88. package/rococoAssetHub/events.d.ts +461 -140
  89. package/rococoAssetHub/index.d.ts +16 -11
  90. package/rococoAssetHub/json-rpc.d.ts +89 -0
  91. package/rococoAssetHub/query.d.ts +487 -174
  92. package/rococoAssetHub/runtime.d.ts +235 -51
  93. package/rococoAssetHub/tx.d.ts +6005 -2163
  94. package/rococoAssetHub/types.d.ts +6683 -1003
  95. package/substrate/consts.d.ts +233 -52
  96. package/substrate/errors.d.ts +966 -781
  97. package/substrate/events.d.ts +1226 -381
  98. package/substrate/index.d.ts +16 -11
  99. package/substrate/json-rpc.d.ts +103 -0
  100. package/substrate/query.d.ts +1090 -460
  101. package/substrate/runtime.d.ts +274 -71
  102. package/substrate/tx.d.ts +12313 -4510
  103. package/substrate/types.d.ts +11036 -1432
  104. package/westend/consts.d.ts +1349 -0
  105. package/westend/errors.d.ts +2736 -0
  106. package/westend/events.d.ts +2906 -0
  107. package/westend/index.d.ts +27 -0
  108. package/westend/json-rpc.d.ts +103 -0
  109. package/westend/query.d.ts +3855 -0
  110. package/westend/runtime.d.ts +1437 -0
  111. package/westend/tx.d.ts +10248 -0
  112. package/westend/types.d.ts +14769 -0
  113. package/westendAssetHub/consts.d.ts +126 -7
  114. package/westendAssetHub/errors.d.ts +426 -285
  115. package/westendAssetHub/events.d.ts +498 -140
  116. package/westendAssetHub/index.d.ts +16 -11
  117. package/westendAssetHub/json-rpc.d.ts +89 -0
  118. package/westendAssetHub/query.d.ts +526 -174
  119. package/westendAssetHub/runtime.d.ts +245 -56
  120. package/westendAssetHub/tx.d.ts +6196 -2166
  121. package/westendAssetHub/types.d.ts +6913 -1002
  122. package/westendPeople/consts.d.ts +434 -0
  123. package/westendPeople/errors.d.ts +769 -0
  124. package/westendPeople/events.d.ts +1082 -0
  125. package/westendPeople/index.d.ts +27 -0
  126. package/westendPeople/json-rpc.d.ts +89 -0
  127. package/westendPeople/query.d.ts +1209 -0
  128. package/westendPeople/runtime.d.ts +636 -0
  129. package/westendPeople/tx.d.ts +2891 -0
  130. package/westendPeople/types.d.ts +4984 -0
  131. package/aleph/rpc.d.ts +0 -727
  132. package/astar/rpc.d.ts +0 -974
  133. package/kusama/rpc.d.ts +0 -904
  134. package/kusamaAssetHub/rpc.d.ts +0 -746
  135. package/moonbeam/rpc.d.ts +0 -1015
  136. package/packageInfo.d.ts +0 -4
  137. package/packageInfo.js +0 -2
  138. package/packageInfo.ts +0 -3
  139. package/polkadot/rpc.d.ts +0 -904
  140. package/polkadotAssetHub/rpc.d.ts +0 -746
  141. package/rococo/rpc.d.ts +0 -904
  142. package/rococoAssetHub/rpc.d.ts +0 -746
  143. package/substrate/rpc.d.ts +0 -894
  144. package/westendAssetHub/rpc.d.ts +0 -746
@@ -1,6 +1,6 @@
1
- // Generated by @dedot/codegen
1
+ // Generated by dedot cli
2
2
 
3
- import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
3
+ import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
4
  import type {
5
5
  DispatchInfo,
6
6
  DispatchError,
@@ -12,17 +12,15 @@ import type {
12
12
  Bytes,
13
13
  EthereumAddress,
14
14
  FixedU128,
15
- } from '@dedot/codecs';
15
+ } from 'dedot/codecs';
16
16
  import type {
17
17
  FrameSupportTokensMiscBalanceStatus,
18
18
  PalletStakingRewardDestination,
19
19
  PalletStakingValidatorPrefs,
20
20
  PalletStakingForcing,
21
21
  SpConsensusGrandpaAppPublic,
22
- PalletImOnlineSr25519AppSr25519Public,
23
- PalletStakingExposure,
24
22
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
25
- XcmVersionedMultiLocation,
23
+ XcmVersionedLocation,
26
24
  FrameSupportPreimagesBounded,
27
25
  PalletConvictionVotingTally,
28
26
  FrameSupportDispatchPostDispatchInfo,
@@ -34,6 +32,7 @@ import type {
34
32
  PalletElectionProviderMultiPhasePhase,
35
33
  PalletNominationPoolsPoolState,
36
34
  PalletNominationPoolsCommissionChangeRate,
35
+ PalletNominationPoolsCommissionClaimPermission,
37
36
  PolkadotPrimitivesV6CandidateReceipt,
38
37
  PolkadotParachainPrimitivesPrimitivesHeadData,
39
38
  PolkadotPrimitivesV6CoreIndex,
@@ -44,19 +43,21 @@ import type {
44
43
  PolkadotCorePrimitivesCandidateHash,
45
44
  PolkadotRuntimeParachainsDisputesDisputeLocation,
46
45
  PolkadotRuntimeParachainsDisputesDisputeResult,
47
- XcmV3TraitsOutcome,
48
- StagingXcmV3MultilocationMultiLocation,
49
- XcmV3Xcm,
50
- XcmV3Response,
46
+ PalletStateTrieMigrationMigrationCompute,
47
+ PalletStateTrieMigrationError,
48
+ StagingXcmV4TraitsOutcome,
49
+ StagingXcmV4Location,
50
+ StagingXcmV4Xcm,
51
+ StagingXcmV4Response,
51
52
  SpWeightsWeightV2Weight,
52
- XcmVersionedMultiAssets,
53
- XcmV3MultiassetMultiAssets,
53
+ XcmVersionedAssets,
54
+ StagingXcmV4AssetAssets,
54
55
  XcmV3TraitsError,
55
56
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
56
57
  FrameSupportMessagesProcessMessageError,
57
58
  } from './types';
58
59
 
59
- export interface ChainEvents extends GenericChainEvents {
60
+ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
60
61
  /**
61
62
  * Pallet `System`'s events
62
63
  **/
@@ -64,12 +65,13 @@ export interface ChainEvents extends GenericChainEvents {
64
65
  /**
65
66
  * An extrinsic completed successfully.
66
67
  **/
67
- ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
68
+ ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
68
69
 
69
70
  /**
70
71
  * An extrinsic failed.
71
72
  **/
72
73
  ExtrinsicFailed: GenericPalletEvent<
74
+ Rv,
73
75
  'System',
74
76
  'ExtrinsicFailed',
75
77
  { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
@@ -78,27 +80,32 @@ export interface ChainEvents extends GenericChainEvents {
78
80
  /**
79
81
  * `:code` was updated.
80
82
  **/
81
- CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
83
+ CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
82
84
 
83
85
  /**
84
86
  * A new account was created.
85
87
  **/
86
- NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
88
+ NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId32 }>;
87
89
 
88
90
  /**
89
91
  * An account was reaped.
90
92
  **/
91
- KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
93
+ KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId32 }>;
92
94
 
93
95
  /**
94
96
  * On on-chain remark happened.
95
97
  **/
96
- Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
98
+ Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
99
+
100
+ /**
101
+ * An upgrade was authorized.
102
+ **/
103
+ UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
97
104
 
98
105
  /**
99
106
  * Generic pallet event
100
107
  **/
101
- [prop: string]: GenericPalletEvent;
108
+ [prop: string]: GenericPalletEvent<Rv>;
102
109
  };
103
110
  /**
104
111
  * Pallet `Scheduler`'s events
@@ -107,17 +114,18 @@ export interface ChainEvents extends GenericChainEvents {
107
114
  /**
108
115
  * Scheduled some task.
109
116
  **/
110
- Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
117
+ Scheduled: GenericPalletEvent<Rv, 'Scheduler', 'Scheduled', { when: number; index: number }>;
111
118
 
112
119
  /**
113
120
  * Canceled some task.
114
121
  **/
115
- Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
122
+ Canceled: GenericPalletEvent<Rv, 'Scheduler', 'Canceled', { when: number; index: number }>;
116
123
 
117
124
  /**
118
125
  * Dispatched some task.
119
126
  **/
120
127
  Dispatched: GenericPalletEvent<
128
+ Rv,
121
129
  'Scheduler',
122
130
  'Dispatched',
123
131
  { task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
@@ -127,6 +135,7 @@ export interface ChainEvents extends GenericChainEvents {
127
135
  * The call for the provided hash was not found so the task has been aborted.
128
136
  **/
129
137
  CallUnavailable: GenericPalletEvent<
138
+ Rv,
130
139
  'Scheduler',
131
140
  'CallUnavailable',
132
141
  { task: [number, number]; id?: FixedBytes<32> | undefined }
@@ -136,6 +145,7 @@ export interface ChainEvents extends GenericChainEvents {
136
145
  * The given task was unable to be renewed since the agenda is full at that block.
137
146
  **/
138
147
  PeriodicFailed: GenericPalletEvent<
148
+ Rv,
139
149
  'Scheduler',
140
150
  'PeriodicFailed',
141
151
  { task: [number, number]; id?: FixedBytes<32> | undefined }
@@ -145,6 +155,7 @@ export interface ChainEvents extends GenericChainEvents {
145
155
  * The given task can never be executed since it is overweight.
146
156
  **/
147
157
  PermanentlyOverweight: GenericPalletEvent<
158
+ Rv,
148
159
  'Scheduler',
149
160
  'PermanentlyOverweight',
150
161
  { task: [number, number]; id?: FixedBytes<32> | undefined }
@@ -153,7 +164,7 @@ export interface ChainEvents extends GenericChainEvents {
153
164
  /**
154
165
  * Generic pallet event
155
166
  **/
156
- [prop: string]: GenericPalletEvent;
167
+ [prop: string]: GenericPalletEvent<Rv>;
157
168
  };
158
169
  /**
159
170
  * Pallet `Preimage`'s events
@@ -162,22 +173,22 @@ export interface ChainEvents extends GenericChainEvents {
162
173
  /**
163
174
  * A preimage has been noted.
164
175
  **/
165
- Noted: GenericPalletEvent<'Preimage', 'Noted', { hash: H256 }>;
176
+ Noted: GenericPalletEvent<Rv, 'Preimage', 'Noted', { hash: H256 }>;
166
177
 
167
178
  /**
168
179
  * A preimage has been requested.
169
180
  **/
170
- Requested: GenericPalletEvent<'Preimage', 'Requested', { hash: H256 }>;
181
+ Requested: GenericPalletEvent<Rv, 'Preimage', 'Requested', { hash: H256 }>;
171
182
 
172
183
  /**
173
184
  * A preimage has ben cleared.
174
185
  **/
175
- Cleared: GenericPalletEvent<'Preimage', 'Cleared', { hash: H256 }>;
186
+ Cleared: GenericPalletEvent<Rv, 'Preimage', 'Cleared', { hash: H256 }>;
176
187
 
177
188
  /**
178
189
  * Generic pallet event
179
190
  **/
180
- [prop: string]: GenericPalletEvent;
191
+ [prop: string]: GenericPalletEvent<Rv>;
181
192
  };
182
193
  /**
183
194
  * Pallet `Indices`'s events
@@ -186,22 +197,22 @@ export interface ChainEvents extends GenericChainEvents {
186
197
  /**
187
198
  * A account index was assigned.
188
199
  **/
189
- IndexAssigned: GenericPalletEvent<'Indices', 'IndexAssigned', { who: AccountId32; index: number }>;
200
+ IndexAssigned: GenericPalletEvent<Rv, 'Indices', 'IndexAssigned', { who: AccountId32; index: number }>;
190
201
 
191
202
  /**
192
203
  * A account index has been freed up (unassigned).
193
204
  **/
194
- IndexFreed: GenericPalletEvent<'Indices', 'IndexFreed', { index: number }>;
205
+ IndexFreed: GenericPalletEvent<Rv, 'Indices', 'IndexFreed', { index: number }>;
195
206
 
196
207
  /**
197
208
  * A account index has been frozen to its current account ID.
198
209
  **/
199
- IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
210
+ IndexFrozen: GenericPalletEvent<Rv, 'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
200
211
 
201
212
  /**
202
213
  * Generic pallet event
203
214
  **/
204
- [prop: string]: GenericPalletEvent;
215
+ [prop: string]: GenericPalletEvent<Rv>;
205
216
  };
206
217
  /**
207
218
  * Pallet `Balances`'s events
@@ -210,39 +221,40 @@ export interface ChainEvents extends GenericChainEvents {
210
221
  /**
211
222
  * An account was created with some free balance.
212
223
  **/
213
- Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
224
+ Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
214
225
 
215
226
  /**
216
227
  * An account was removed whose balance was non-zero but below ExistentialDeposit,
217
228
  * resulting in an outright loss.
218
229
  **/
219
- DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
230
+ DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
220
231
 
221
232
  /**
222
233
  * Transfer succeeded.
223
234
  **/
224
- Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
235
+ Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
225
236
 
226
237
  /**
227
238
  * A balance was set by root.
228
239
  **/
229
- BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
240
+ BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
230
241
 
231
242
  /**
232
243
  * Some balance was reserved (moved from free to reserved).
233
244
  **/
234
- Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
245
+ Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
235
246
 
236
247
  /**
237
248
  * Some balance was unreserved (moved from reserved to free).
238
249
  **/
239
- Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
250
+ Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
240
251
 
241
252
  /**
242
253
  * Some balance was moved from the reserve of the first account to the second account.
243
254
  * Final argument indicates the destination balance type.
244
255
  **/
245
256
  ReserveRepatriated: GenericPalletEvent<
257
+ Rv,
246
258
  'Balances',
247
259
  'ReserveRepatriated',
248
260
  { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
@@ -251,77 +263,82 @@ export interface ChainEvents extends GenericChainEvents {
251
263
  /**
252
264
  * Some amount was deposited (e.g. for transaction fees).
253
265
  **/
254
- Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
266
+ Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
255
267
 
256
268
  /**
257
269
  * Some amount was withdrawn from the account (e.g. for transaction fees).
258
270
  **/
259
- Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
271
+ Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
260
272
 
261
273
  /**
262
274
  * Some amount was removed from the account (e.g. for misbehavior).
263
275
  **/
264
- Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
276
+ Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
265
277
 
266
278
  /**
267
279
  * Some amount was minted into an account.
268
280
  **/
269
- Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
281
+ Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
270
282
 
271
283
  /**
272
284
  * Some amount was burned from an account.
273
285
  **/
274
- Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
286
+ Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
275
287
 
276
288
  /**
277
289
  * Some amount was suspended from an account (it can be restored later).
278
290
  **/
279
- Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
291
+ Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
280
292
 
281
293
  /**
282
294
  * Some amount was restored into an account.
283
295
  **/
284
- Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
296
+ Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
285
297
 
286
298
  /**
287
299
  * An account was upgraded.
288
300
  **/
289
- Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
301
+ Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId32 }>;
290
302
 
291
303
  /**
292
304
  * Total issuance was increased by `amount`, creating a credit to be balanced.
293
305
  **/
294
- Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
306
+ Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
295
307
 
296
308
  /**
297
309
  * Total issuance was decreased by `amount`, creating a debt to be balanced.
298
310
  **/
299
- Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
311
+ Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
300
312
 
301
313
  /**
302
314
  * Some balance was locked.
303
315
  **/
304
- Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
316
+ Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
305
317
 
306
318
  /**
307
319
  * Some balance was unlocked.
308
320
  **/
309
- Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
321
+ Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
310
322
 
311
323
  /**
312
324
  * Some balance was frozen.
313
325
  **/
314
- Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
326
+ Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
315
327
 
316
328
  /**
317
329
  * Some balance was thawed.
318
330
  **/
319
- Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
331
+ Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
332
+
333
+ /**
334
+ * The `TotalIssuance` was forcefully changed.
335
+ **/
336
+ TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
320
337
 
321
338
  /**
322
339
  * Generic pallet event
323
340
  **/
324
- [prop: string]: GenericPalletEvent;
341
+ [prop: string]: GenericPalletEvent<Rv>;
325
342
  };
326
343
  /**
327
344
  * Pallet `TransactionPayment`'s events
@@ -332,6 +349,7 @@ export interface ChainEvents extends GenericChainEvents {
332
349
  * has been paid by `who`.
333
350
  **/
334
351
  TransactionFeePaid: GenericPalletEvent<
352
+ Rv,
335
353
  'TransactionPayment',
336
354
  'TransactionFeePaid',
337
355
  { who: AccountId32; actualFee: bigint; tip: bigint }
@@ -340,7 +358,7 @@ export interface ChainEvents extends GenericChainEvents {
340
358
  /**
341
359
  * Generic pallet event
342
360
  **/
343
- [prop: string]: GenericPalletEvent;
361
+ [prop: string]: GenericPalletEvent<Rv>;
344
362
  };
345
363
  /**
346
364
  * Pallet `Staking`'s events
@@ -350,12 +368,18 @@ export interface ChainEvents extends GenericChainEvents {
350
368
  * The era payout has been set; the first balance is the validator-payout; the second is
351
369
  * the remainder from the maximum amount of reward.
352
370
  **/
353
- EraPaid: GenericPalletEvent<'Staking', 'EraPaid', { eraIndex: number; validatorPayout: bigint; remainder: bigint }>;
371
+ EraPaid: GenericPalletEvent<
372
+ Rv,
373
+ 'Staking',
374
+ 'EraPaid',
375
+ { eraIndex: number; validatorPayout: bigint; remainder: bigint }
376
+ >;
354
377
 
355
378
  /**
356
379
  * The nominator has been rewarded by this amount to this destination.
357
380
  **/
358
381
  Rewarded: GenericPalletEvent<
382
+ Rv,
359
383
  'Staking',
360
384
  'Rewarded',
361
385
  { stash: AccountId32; dest: PalletStakingRewardDestination; amount: bigint }
@@ -364,13 +388,14 @@ export interface ChainEvents extends GenericChainEvents {
364
388
  /**
365
389
  * A staker (validator or nominator) has been slashed by the given amount.
366
390
  **/
367
- Slashed: GenericPalletEvent<'Staking', 'Slashed', { staker: AccountId32; amount: bigint }>;
391
+ Slashed: GenericPalletEvent<Rv, 'Staking', 'Slashed', { staker: AccountId32; amount: bigint }>;
368
392
 
369
393
  /**
370
394
  * A slash for the given validator, for the given percentage of their stake, at the given
371
395
  * era as been reported.
372
396
  **/
373
397
  SlashReported: GenericPalletEvent<
398
+ Rv,
374
399
  'Staking',
375
400
  'SlashReported',
376
401
  { validator: AccountId32; fraction: Perbill; slashEra: number }
@@ -380,12 +405,17 @@ export interface ChainEvents extends GenericChainEvents {
380
405
  * An old slashing report from a prior era was discarded because it could
381
406
  * not be processed.
382
407
  **/
383
- OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', { sessionIndex: number }>;
408
+ OldSlashingReportDiscarded: GenericPalletEvent<
409
+ Rv,
410
+ 'Staking',
411
+ 'OldSlashingReportDiscarded',
412
+ { sessionIndex: number }
413
+ >;
384
414
 
385
415
  /**
386
416
  * A new set of stakers was elected.
387
417
  **/
388
- StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
418
+ StakersElected: GenericPalletEvent<Rv, 'Staking', 'StakersElected', null>;
389
419
 
390
420
  /**
391
421
  * An account has bonded this amount. \[stash, amount\]
@@ -393,43 +423,49 @@ export interface ChainEvents extends GenericChainEvents {
393
423
  * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
394
424
  * it will not be emitted for staking rewards when they are added to stake.
395
425
  **/
396
- Bonded: GenericPalletEvent<'Staking', 'Bonded', { stash: AccountId32; amount: bigint }>;
426
+ Bonded: GenericPalletEvent<Rv, 'Staking', 'Bonded', { stash: AccountId32; amount: bigint }>;
397
427
 
398
428
  /**
399
429
  * An account has unbonded this amount.
400
430
  **/
401
- Unbonded: GenericPalletEvent<'Staking', 'Unbonded', { stash: AccountId32; amount: bigint }>;
431
+ Unbonded: GenericPalletEvent<Rv, 'Staking', 'Unbonded', { stash: AccountId32; amount: bigint }>;
402
432
 
403
433
  /**
404
434
  * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
405
435
  * from the unlocking queue.
406
436
  **/
407
- Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', { stash: AccountId32; amount: bigint }>;
437
+ Withdrawn: GenericPalletEvent<Rv, 'Staking', 'Withdrawn', { stash: AccountId32; amount: bigint }>;
408
438
 
409
439
  /**
410
440
  * A nominator has been kicked from a validator.
411
441
  **/
412
- Kicked: GenericPalletEvent<'Staking', 'Kicked', { nominator: AccountId32; stash: AccountId32 }>;
442
+ Kicked: GenericPalletEvent<Rv, 'Staking', 'Kicked', { nominator: AccountId32; stash: AccountId32 }>;
413
443
 
414
444
  /**
415
445
  * The election failed. No new era is planned.
416
446
  **/
417
- StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
447
+ StakingElectionFailed: GenericPalletEvent<Rv, 'Staking', 'StakingElectionFailed', null>;
418
448
 
419
449
  /**
420
450
  * An account has stopped participating as either a validator or nominator.
421
451
  **/
422
- Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
452
+ Chilled: GenericPalletEvent<Rv, 'Staking', 'Chilled', { stash: AccountId32 }>;
423
453
 
424
454
  /**
425
455
  * The stakers' rewards are getting paid.
426
456
  **/
427
- PayoutStarted: GenericPalletEvent<'Staking', 'PayoutStarted', { eraIndex: number; validatorStash: AccountId32 }>;
457
+ PayoutStarted: GenericPalletEvent<
458
+ Rv,
459
+ 'Staking',
460
+ 'PayoutStarted',
461
+ { eraIndex: number; validatorStash: AccountId32 }
462
+ >;
428
463
 
429
464
  /**
430
465
  * A validator has set their preferences.
431
466
  **/
432
467
  ValidatorPrefsSet: GenericPalletEvent<
468
+ Rv,
433
469
  'Staking',
434
470
  'ValidatorPrefsSet',
435
471
  { stash: AccountId32; prefs: PalletStakingValidatorPrefs }
@@ -438,22 +474,27 @@ export interface ChainEvents extends GenericChainEvents {
438
474
  /**
439
475
  * Voters size limit reached.
440
476
  **/
441
- SnapshotVotersSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotVotersSizeExceeded', { size: number }>;
477
+ SnapshotVotersSizeExceeded: GenericPalletEvent<Rv, 'Staking', 'SnapshotVotersSizeExceeded', { size: number }>;
442
478
 
443
479
  /**
444
480
  * Targets size limit reached.
445
481
  **/
446
- SnapshotTargetsSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotTargetsSizeExceeded', { size: number }>;
482
+ SnapshotTargetsSizeExceeded: GenericPalletEvent<Rv, 'Staking', 'SnapshotTargetsSizeExceeded', { size: number }>;
447
483
 
448
484
  /**
449
485
  * A new force era mode was set.
450
486
  **/
451
- ForceEra: GenericPalletEvent<'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
487
+ ForceEra: GenericPalletEvent<Rv, 'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
488
+
489
+ /**
490
+ * Report of a controller batch deprecation.
491
+ **/
492
+ ControllerBatchDeprecated: GenericPalletEvent<Rv, 'Staking', 'ControllerBatchDeprecated', { failures: number }>;
452
493
 
453
494
  /**
454
495
  * Generic pallet event
455
496
  **/
456
- [prop: string]: GenericPalletEvent;
497
+ [prop: string]: GenericPalletEvent<Rv>;
457
498
  };
458
499
  /**
459
500
  * Pallet `Offences`'s events
@@ -464,12 +505,12 @@ export interface ChainEvents extends GenericChainEvents {
464
505
  * (kind-specific) time slot. This event is not deposited for duplicate slashes.
465
506
  * \[kind, timeslot\].
466
507
  **/
467
- Offence: GenericPalletEvent<'Offences', 'Offence', { kind: FixedBytes<16>; timeslot: Bytes }>;
508
+ Offence: GenericPalletEvent<Rv, 'Offences', 'Offence', { kind: FixedBytes<16>; timeslot: Bytes }>;
468
509
 
469
510
  /**
470
511
  * Generic pallet event
471
512
  **/
472
- [prop: string]: GenericPalletEvent;
513
+ [prop: string]: GenericPalletEvent<Rv>;
473
514
  };
474
515
  /**
475
516
  * Pallet `Session`'s events
@@ -479,12 +520,12 @@ export interface ChainEvents extends GenericChainEvents {
479
520
  * New session has happened. Note that the argument is the session index, not the
480
521
  * block number as the type might suggest.
481
522
  **/
482
- NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
523
+ NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
483
524
 
484
525
  /**
485
526
  * Generic pallet event
486
527
  **/
487
- [prop: string]: GenericPalletEvent;
528
+ [prop: string]: GenericPalletEvent<Rv>;
488
529
  };
489
530
  /**
490
531
  * Pallet `Grandpa`'s events
@@ -494,6 +535,7 @@ export interface ChainEvents extends GenericChainEvents {
494
535
  * New authority set has been applied.
495
536
  **/
496
537
  NewAuthorities: GenericPalletEvent<
538
+ Rv,
497
539
  'Grandpa',
498
540
  'NewAuthorities',
499
541
  { authoritySet: Array<[SpConsensusGrandpaAppPublic, bigint]> }
@@ -502,49 +544,17 @@ export interface ChainEvents extends GenericChainEvents {
502
544
  /**
503
545
  * Current authority set has been paused.
504
546
  **/
505
- Paused: GenericPalletEvent<'Grandpa', 'Paused', null>;
547
+ Paused: GenericPalletEvent<Rv, 'Grandpa', 'Paused', null>;
506
548
 
507
549
  /**
508
550
  * Current authority set has been resumed.
509
551
  **/
510
- Resumed: GenericPalletEvent<'Grandpa', 'Resumed', null>;
552
+ Resumed: GenericPalletEvent<Rv, 'Grandpa', 'Resumed', null>;
511
553
 
512
554
  /**
513
555
  * Generic pallet event
514
556
  **/
515
- [prop: string]: GenericPalletEvent;
516
- };
517
- /**
518
- * Pallet `ImOnline`'s events
519
- **/
520
- imOnline: {
521
- /**
522
- * A new heartbeat was received from `AuthorityId`.
523
- **/
524
- HeartbeatReceived: GenericPalletEvent<
525
- 'ImOnline',
526
- 'HeartbeatReceived',
527
- { authorityId: PalletImOnlineSr25519AppSr25519Public }
528
- >;
529
-
530
- /**
531
- * At the end of the session, no offence was committed.
532
- **/
533
- AllGood: GenericPalletEvent<'ImOnline', 'AllGood', null>;
534
-
535
- /**
536
- * At the end of the session, at least one validator was found to be offline.
537
- **/
538
- SomeOffline: GenericPalletEvent<
539
- 'ImOnline',
540
- 'SomeOffline',
541
- { offline: Array<[AccountId32, PalletStakingExposure]> }
542
- >;
543
-
544
- /**
545
- * Generic pallet event
546
- **/
547
- [prop: string]: GenericPalletEvent;
557
+ [prop: string]: GenericPalletEvent<Rv>;
548
558
  };
549
559
  /**
550
560
  * Pallet `Treasury`'s events
@@ -553,42 +563,48 @@ export interface ChainEvents extends GenericChainEvents {
553
563
  /**
554
564
  * New proposal.
555
565
  **/
556
- Proposed: GenericPalletEvent<'Treasury', 'Proposed', { proposalIndex: number }>;
566
+ Proposed: GenericPalletEvent<Rv, 'Treasury', 'Proposed', { proposalIndex: number }>;
557
567
 
558
568
  /**
559
569
  * We have ended a spend period and will now allocate funds.
560
570
  **/
561
- Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
571
+ Spending: GenericPalletEvent<Rv, 'Treasury', 'Spending', { budgetRemaining: bigint }>;
562
572
 
563
573
  /**
564
574
  * Some funds have been allocated.
565
575
  **/
566
- Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId32 }>;
576
+ Awarded: GenericPalletEvent<
577
+ Rv,
578
+ 'Treasury',
579
+ 'Awarded',
580
+ { proposalIndex: number; award: bigint; account: AccountId32 }
581
+ >;
567
582
 
568
583
  /**
569
584
  * A proposal was rejected; funds were slashed.
570
585
  **/
571
- Rejected: GenericPalletEvent<'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
586
+ Rejected: GenericPalletEvent<Rv, 'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
572
587
 
573
588
  /**
574
589
  * Some of our funds have been burnt.
575
590
  **/
576
- Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
591
+ Burnt: GenericPalletEvent<Rv, 'Treasury', 'Burnt', { burntFunds: bigint }>;
577
592
 
578
593
  /**
579
594
  * Spending has finished; this is the amount that rolls over until next spend.
580
595
  **/
581
- Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
596
+ Rollover: GenericPalletEvent<Rv, 'Treasury', 'Rollover', { rolloverBalance: bigint }>;
582
597
 
583
598
  /**
584
599
  * Some funds have been deposited.
585
600
  **/
586
- Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
601
+ Deposit: GenericPalletEvent<Rv, 'Treasury', 'Deposit', { value: bigint }>;
587
602
 
588
603
  /**
589
604
  * A new spend proposal has been approved.
590
605
  **/
591
606
  SpendApproved: GenericPalletEvent<
607
+ Rv,
592
608
  'Treasury',
593
609
  'SpendApproved',
594
610
  { proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
@@ -597,19 +613,25 @@ export interface ChainEvents extends GenericChainEvents {
597
613
  /**
598
614
  * The inactive funds of the pallet have been updated.
599
615
  **/
600
- UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
616
+ UpdatedInactive: GenericPalletEvent<
617
+ Rv,
618
+ 'Treasury',
619
+ 'UpdatedInactive',
620
+ { reactivated: bigint; deactivated: bigint }
621
+ >;
601
622
 
602
623
  /**
603
624
  * A new asset spend proposal has been approved.
604
625
  **/
605
626
  AssetSpendApproved: GenericPalletEvent<
627
+ Rv,
606
628
  'Treasury',
607
629
  'AssetSpendApproved',
608
630
  {
609
631
  index: number;
610
632
  assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
611
633
  amount: bigint;
612
- beneficiary: XcmVersionedMultiLocation;
634
+ beneficiary: XcmVersionedLocation;
613
635
  validFrom: number;
614
636
  expireAt: number;
615
637
  }
@@ -618,28 +640,28 @@ export interface ChainEvents extends GenericChainEvents {
618
640
  /**
619
641
  * An approved spend was voided.
620
642
  **/
621
- AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', { index: number }>;
643
+ AssetSpendVoided: GenericPalletEvent<Rv, 'Treasury', 'AssetSpendVoided', { index: number }>;
622
644
 
623
645
  /**
624
646
  * A payment happened.
625
647
  **/
626
- Paid: GenericPalletEvent<'Treasury', 'Paid', { index: number; paymentId: bigint }>;
648
+ Paid: GenericPalletEvent<Rv, 'Treasury', 'Paid', { index: number; paymentId: bigint }>;
627
649
 
628
650
  /**
629
651
  * A payment failed and can be retried.
630
652
  **/
631
- PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', { index: number; paymentId: bigint }>;
653
+ PaymentFailed: GenericPalletEvent<Rv, 'Treasury', 'PaymentFailed', { index: number; paymentId: bigint }>;
632
654
 
633
655
  /**
634
656
  * A spend was processed and removed from the storage. It might have been successfully
635
657
  * paid or it may have expired.
636
658
  **/
637
- SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', { index: number }>;
659
+ SpendProcessed: GenericPalletEvent<Rv, 'Treasury', 'SpendProcessed', { index: number }>;
638
660
 
639
661
  /**
640
662
  * Generic pallet event
641
663
  **/
642
- [prop: string]: GenericPalletEvent;
664
+ [prop: string]: GenericPalletEvent<Rv>;
643
665
  };
644
666
  /**
645
667
  * Pallet `ConvictionVoting`'s events
@@ -648,17 +670,17 @@ export interface ChainEvents extends GenericChainEvents {
648
670
  /**
649
671
  * An account has delegated their vote to another account. \[who, target\]
650
672
  **/
651
- Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
673
+ Delegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
652
674
 
653
675
  /**
654
676
  * An \[account\] has cancelled a previous delegation operation.
655
677
  **/
656
- Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
678
+ Undelegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Undelegated', AccountId32>;
657
679
 
658
680
  /**
659
681
  * Generic pallet event
660
682
  **/
661
- [prop: string]: GenericPalletEvent;
683
+ [prop: string]: GenericPalletEvent<Rv>;
662
684
  };
663
685
  /**
664
686
  * Pallet `Referenda`'s events
@@ -668,6 +690,7 @@ export interface ChainEvents extends GenericChainEvents {
668
690
  * A referendum has been submitted.
669
691
  **/
670
692
  Submitted: GenericPalletEvent<
693
+ Rv,
671
694
  'Referenda',
672
695
  'Submitted',
673
696
  {
@@ -692,6 +715,7 @@ export interface ChainEvents extends GenericChainEvents {
692
715
  * The decision deposit has been placed.
693
716
  **/
694
717
  DecisionDepositPlaced: GenericPalletEvent<
718
+ Rv,
695
719
  'Referenda',
696
720
  'DecisionDepositPlaced',
697
721
  {
@@ -716,6 +740,7 @@ export interface ChainEvents extends GenericChainEvents {
716
740
  * The decision deposit has been refunded.
717
741
  **/
718
742
  DecisionDepositRefunded: GenericPalletEvent<
743
+ Rv,
719
744
  'Referenda',
720
745
  'DecisionDepositRefunded',
721
746
  {
@@ -737,9 +762,10 @@ export interface ChainEvents extends GenericChainEvents {
737
762
  >;
738
763
 
739
764
  /**
740
- * A deposit has been slashaed.
765
+ * A deposit has been slashed.
741
766
  **/
742
767
  DepositSlashed: GenericPalletEvent<
768
+ Rv,
743
769
  'Referenda',
744
770
  'DepositSlashed',
745
771
  {
@@ -759,6 +785,7 @@ export interface ChainEvents extends GenericChainEvents {
759
785
  * A referendum has moved into the deciding phase.
760
786
  **/
761
787
  DecisionStarted: GenericPalletEvent<
788
+ Rv,
762
789
  'Referenda',
763
790
  'DecisionStarted',
764
791
  {
@@ -784,6 +811,7 @@ export interface ChainEvents extends GenericChainEvents {
784
811
  }
785
812
  >;
786
813
  ConfirmStarted: GenericPalletEvent<
814
+ Rv,
787
815
  'Referenda',
788
816
  'ConfirmStarted',
789
817
  {
@@ -794,6 +822,7 @@ export interface ChainEvents extends GenericChainEvents {
794
822
  }
795
823
  >;
796
824
  ConfirmAborted: GenericPalletEvent<
825
+ Rv,
797
826
  'Referenda',
798
827
  'ConfirmAborted',
799
828
  {
@@ -808,6 +837,7 @@ export interface ChainEvents extends GenericChainEvents {
808
837
  * A referendum has ended its confirmation phase and is ready for approval.
809
838
  **/
810
839
  Confirmed: GenericPalletEvent<
840
+ Rv,
811
841
  'Referenda',
812
842
  'Confirmed',
813
843
  {
@@ -827,6 +857,7 @@ export interface ChainEvents extends GenericChainEvents {
827
857
  * A referendum has been approved and its proposal has been scheduled.
828
858
  **/
829
859
  Approved: GenericPalletEvent<
860
+ Rv,
830
861
  'Referenda',
831
862
  'Approved',
832
863
  {
@@ -841,6 +872,7 @@ export interface ChainEvents extends GenericChainEvents {
841
872
  * A proposal has been rejected by referendum.
842
873
  **/
843
874
  Rejected: GenericPalletEvent<
875
+ Rv,
844
876
  'Referenda',
845
877
  'Rejected',
846
878
  {
@@ -860,6 +892,7 @@ export interface ChainEvents extends GenericChainEvents {
860
892
  * A referendum has been timed out without being decided.
861
893
  **/
862
894
  TimedOut: GenericPalletEvent<
895
+ Rv,
863
896
  'Referenda',
864
897
  'TimedOut',
865
898
  {
@@ -879,6 +912,7 @@ export interface ChainEvents extends GenericChainEvents {
879
912
  * A referendum has been cancelled.
880
913
  **/
881
914
  Cancelled: GenericPalletEvent<
915
+ Rv,
882
916
  'Referenda',
883
917
  'Cancelled',
884
918
  {
@@ -898,6 +932,7 @@ export interface ChainEvents extends GenericChainEvents {
898
932
  * A referendum has been killed.
899
933
  **/
900
934
  Killed: GenericPalletEvent<
935
+ Rv,
901
936
  'Referenda',
902
937
  'Killed',
903
938
  {
@@ -917,6 +952,7 @@ export interface ChainEvents extends GenericChainEvents {
917
952
  * The submission deposit has been refunded.
918
953
  **/
919
954
  SubmissionDepositRefunded: GenericPalletEvent<
955
+ Rv,
920
956
  'Referenda',
921
957
  'SubmissionDepositRefunded',
922
958
  {
@@ -941,6 +977,7 @@ export interface ChainEvents extends GenericChainEvents {
941
977
  * Metadata for a referendum has been set.
942
978
  **/
943
979
  MetadataSet: GenericPalletEvent<
980
+ Rv,
944
981
  'Referenda',
945
982
  'MetadataSet',
946
983
  {
@@ -960,6 +997,7 @@ export interface ChainEvents extends GenericChainEvents {
960
997
  * Metadata for a referendum has been cleared.
961
998
  **/
962
999
  MetadataCleared: GenericPalletEvent<
1000
+ Rv,
963
1001
  'Referenda',
964
1002
  'MetadataCleared',
965
1003
  {
@@ -978,15 +1016,16 @@ export interface ChainEvents extends GenericChainEvents {
978
1016
  /**
979
1017
  * Generic pallet event
980
1018
  **/
981
- [prop: string]: GenericPalletEvent;
1019
+ [prop: string]: GenericPalletEvent<Rv>;
982
1020
  };
983
1021
  /**
984
1022
  * Pallet `Whitelist`'s events
985
1023
  **/
986
1024
  whitelist: {
987
- CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
988
- WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
1025
+ CallWhitelisted: GenericPalletEvent<Rv, 'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
1026
+ WhitelistedCallRemoved: GenericPalletEvent<Rv, 'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
989
1027
  WhitelistedCallDispatched: GenericPalletEvent<
1028
+ Rv,
990
1029
  'Whitelist',
991
1030
  'WhitelistedCallDispatched',
992
1031
  { callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
@@ -995,7 +1034,7 @@ export interface ChainEvents extends GenericChainEvents {
995
1034
  /**
996
1035
  * Generic pallet event
997
1036
  **/
998
- [prop: string]: GenericPalletEvent;
1037
+ [prop: string]: GenericPalletEvent<Rv>;
999
1038
  };
1000
1039
  /**
1001
1040
  * Pallet `Claims`'s events
@@ -1005,6 +1044,7 @@ export interface ChainEvents extends GenericChainEvents {
1005
1044
  * Someone claimed some DOTs.
1006
1045
  **/
1007
1046
  Claimed: GenericPalletEvent<
1047
+ Rv,
1008
1048
  'Claims',
1009
1049
  'Claimed',
1010
1050
  { who: AccountId32; ethereumAddress: EthereumAddress; amount: bigint }
@@ -1013,7 +1053,7 @@ export interface ChainEvents extends GenericChainEvents {
1013
1053
  /**
1014
1054
  * Generic pallet event
1015
1055
  **/
1016
- [prop: string]: GenericPalletEvent;
1056
+ [prop: string]: GenericPalletEvent<Rv>;
1017
1057
  };
1018
1058
  /**
1019
1059
  * Pallet `Vesting`'s events
@@ -1023,17 +1063,17 @@ export interface ChainEvents extends GenericChainEvents {
1023
1063
  * The amount vested has been updated. This could indicate a change in funds available.
1024
1064
  * The balance given is the amount which is left unvested (and thus locked).
1025
1065
  **/
1026
- VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
1066
+ VestingUpdated: GenericPalletEvent<Rv, 'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
1027
1067
 
1028
1068
  /**
1029
1069
  * An \[account\] has become fully vested.
1030
1070
  **/
1031
- VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
1071
+ VestingCompleted: GenericPalletEvent<Rv, 'Vesting', 'VestingCompleted', { account: AccountId32 }>;
1032
1072
 
1033
1073
  /**
1034
1074
  * Generic pallet event
1035
1075
  **/
1036
- [prop: string]: GenericPalletEvent;
1076
+ [prop: string]: GenericPalletEvent<Rv>;
1037
1077
  };
1038
1078
  /**
1039
1079
  * Pallet `Utility`'s events
@@ -1043,37 +1083,37 @@ export interface ChainEvents extends GenericChainEvents {
1043
1083
  * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1044
1084
  * well as the error.
1045
1085
  **/
1046
- BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
1086
+ BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
1047
1087
 
1048
1088
  /**
1049
1089
  * Batch of dispatches completed fully with no error.
1050
1090
  **/
1051
- BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
1091
+ BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
1052
1092
 
1053
1093
  /**
1054
1094
  * Batch of dispatches completed but has errors.
1055
1095
  **/
1056
- BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
1096
+ BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
1057
1097
 
1058
1098
  /**
1059
1099
  * A single item within a Batch of dispatches has completed with no error.
1060
1100
  **/
1061
- ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
1101
+ ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
1062
1102
 
1063
1103
  /**
1064
1104
  * A single item within a Batch of dispatches has completed with error.
1065
1105
  **/
1066
- ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
1106
+ ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
1067
1107
 
1068
1108
  /**
1069
1109
  * A call was dispatched.
1070
1110
  **/
1071
- DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
1111
+ DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
1072
1112
 
1073
1113
  /**
1074
1114
  * Generic pallet event
1075
1115
  **/
1076
- [prop: string]: GenericPalletEvent;
1116
+ [prop: string]: GenericPalletEvent<Rv>;
1077
1117
  };
1078
1118
  /**
1079
1119
  * Pallet `Identity`'s events
@@ -1082,22 +1122,23 @@ export interface ChainEvents extends GenericChainEvents {
1082
1122
  /**
1083
1123
  * A name was set or reset (which will remove all judgements).
1084
1124
  **/
1085
- IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
1125
+ IdentitySet: GenericPalletEvent<Rv, 'Identity', 'IdentitySet', { who: AccountId32 }>;
1086
1126
 
1087
1127
  /**
1088
1128
  * A name was cleared, and the given balance returned.
1089
1129
  **/
1090
- IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
1130
+ IdentityCleared: GenericPalletEvent<Rv, 'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
1091
1131
 
1092
1132
  /**
1093
1133
  * A name was removed and the given balance slashed.
1094
1134
  **/
1095
- IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
1135
+ IdentityKilled: GenericPalletEvent<Rv, 'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
1096
1136
 
1097
1137
  /**
1098
1138
  * A judgement was asked from a registrar.
1099
1139
  **/
1100
1140
  JudgementRequested: GenericPalletEvent<
1141
+ Rv,
1101
1142
  'Identity',
1102
1143
  'JudgementRequested',
1103
1144
  { who: AccountId32; registrarIndex: number }
@@ -1107,6 +1148,7 @@ export interface ChainEvents extends GenericChainEvents {
1107
1148
  * A judgement request was retracted.
1108
1149
  **/
1109
1150
  JudgementUnrequested: GenericPalletEvent<
1151
+ Rv,
1110
1152
  'Identity',
1111
1153
  'JudgementUnrequested',
1112
1154
  { who: AccountId32; registrarIndex: number }
@@ -1115,17 +1157,23 @@ export interface ChainEvents extends GenericChainEvents {
1115
1157
  /**
1116
1158
  * A judgement was given by a registrar.
1117
1159
  **/
1118
- JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId32; registrarIndex: number }>;
1160
+ JudgementGiven: GenericPalletEvent<
1161
+ Rv,
1162
+ 'Identity',
1163
+ 'JudgementGiven',
1164
+ { target: AccountId32; registrarIndex: number }
1165
+ >;
1119
1166
 
1120
1167
  /**
1121
1168
  * A registrar was added.
1122
1169
  **/
1123
- RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
1170
+ RegistrarAdded: GenericPalletEvent<Rv, 'Identity', 'RegistrarAdded', { registrarIndex: number }>;
1124
1171
 
1125
1172
  /**
1126
1173
  * A sub-identity was added to an identity and the deposit paid.
1127
1174
  **/
1128
1175
  SubIdentityAdded: GenericPalletEvent<
1176
+ Rv,
1129
1177
  'Identity',
1130
1178
  'SubIdentityAdded',
1131
1179
  { sub: AccountId32; main: AccountId32; deposit: bigint }
@@ -1135,6 +1183,7 @@ export interface ChainEvents extends GenericChainEvents {
1135
1183
  * A sub-identity was removed from an identity and the deposit freed.
1136
1184
  **/
1137
1185
  SubIdentityRemoved: GenericPalletEvent<
1186
+ Rv,
1138
1187
  'Identity',
1139
1188
  'SubIdentityRemoved',
1140
1189
  { sub: AccountId32; main: AccountId32; deposit: bigint }
@@ -1145,15 +1194,62 @@ export interface ChainEvents extends GenericChainEvents {
1145
1194
  * main identity account to the sub-identity account.
1146
1195
  **/
1147
1196
  SubIdentityRevoked: GenericPalletEvent<
1197
+ Rv,
1148
1198
  'Identity',
1149
1199
  'SubIdentityRevoked',
1150
1200
  { sub: AccountId32; main: AccountId32; deposit: bigint }
1151
1201
  >;
1152
1202
 
1203
+ /**
1204
+ * A username authority was added.
1205
+ **/
1206
+ AuthorityAdded: GenericPalletEvent<Rv, 'Identity', 'AuthorityAdded', { authority: AccountId32 }>;
1207
+
1208
+ /**
1209
+ * A username authority was removed.
1210
+ **/
1211
+ AuthorityRemoved: GenericPalletEvent<Rv, 'Identity', 'AuthorityRemoved', { authority: AccountId32 }>;
1212
+
1213
+ /**
1214
+ * A username was set for `who`.
1215
+ **/
1216
+ UsernameSet: GenericPalletEvent<Rv, 'Identity', 'UsernameSet', { who: AccountId32; username: Bytes }>;
1217
+
1218
+ /**
1219
+ * A username was queued, but `who` must accept it prior to `expiration`.
1220
+ **/
1221
+ UsernameQueued: GenericPalletEvent<
1222
+ Rv,
1223
+ 'Identity',
1224
+ 'UsernameQueued',
1225
+ { who: AccountId32; username: Bytes; expiration: number }
1226
+ >;
1227
+
1228
+ /**
1229
+ * A queued username passed its expiration without being claimed and was removed.
1230
+ **/
1231
+ PreapprovalExpired: GenericPalletEvent<Rv, 'Identity', 'PreapprovalExpired', { whose: AccountId32 }>;
1232
+
1233
+ /**
1234
+ * A username was set as a primary and can be looked up from `who`.
1235
+ **/
1236
+ PrimaryUsernameSet: GenericPalletEvent<Rv, 'Identity', 'PrimaryUsernameSet', { who: AccountId32; username: Bytes }>;
1237
+
1238
+ /**
1239
+ * A dangling username (as in, a username corresponding to an account that has removed its
1240
+ * identity) has been removed.
1241
+ **/
1242
+ DanglingUsernameRemoved: GenericPalletEvent<
1243
+ Rv,
1244
+ 'Identity',
1245
+ 'DanglingUsernameRemoved',
1246
+ { who: AccountId32; username: Bytes }
1247
+ >;
1248
+
1153
1249
  /**
1154
1250
  * Generic pallet event
1155
1251
  **/
1156
- [prop: string]: GenericPalletEvent;
1252
+ [prop: string]: GenericPalletEvent<Rv>;
1157
1253
  };
1158
1254
  /**
1159
1255
  * Pallet `Proxy`'s events
@@ -1162,13 +1258,14 @@ export interface ChainEvents extends GenericChainEvents {
1162
1258
  /**
1163
1259
  * A proxy was executed correctly, with the given.
1164
1260
  **/
1165
- ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
1261
+ ProxyExecuted: GenericPalletEvent<Rv, 'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
1166
1262
 
1167
1263
  /**
1168
1264
  * A pure account has been created by new proxy with given
1169
1265
  * disambiguation index and proxy type.
1170
1266
  **/
1171
1267
  PureCreated: GenericPalletEvent<
1268
+ Rv,
1172
1269
  'Proxy',
1173
1270
  'PureCreated',
1174
1271
  { pure: AccountId32; who: AccountId32; proxyType: PolkadotRuntimeProxyType; disambiguationIndex: number }
@@ -1177,12 +1274,13 @@ export interface ChainEvents extends GenericChainEvents {
1177
1274
  /**
1178
1275
  * An announcement was placed to make a call in the future.
1179
1276
  **/
1180
- Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
1277
+ Announced: GenericPalletEvent<Rv, 'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
1181
1278
 
1182
1279
  /**
1183
1280
  * A proxy was added.
1184
1281
  **/
1185
1282
  ProxyAdded: GenericPalletEvent<
1283
+ Rv,
1186
1284
  'Proxy',
1187
1285
  'ProxyAdded',
1188
1286
  { delegator: AccountId32; delegatee: AccountId32; proxyType: PolkadotRuntimeProxyType; delay: number }
@@ -1192,6 +1290,7 @@ export interface ChainEvents extends GenericChainEvents {
1192
1290
  * A proxy was removed.
1193
1291
  **/
1194
1292
  ProxyRemoved: GenericPalletEvent<
1293
+ Rv,
1195
1294
  'Proxy',
1196
1295
  'ProxyRemoved',
1197
1296
  { delegator: AccountId32; delegatee: AccountId32; proxyType: PolkadotRuntimeProxyType; delay: number }
@@ -1200,7 +1299,7 @@ export interface ChainEvents extends GenericChainEvents {
1200
1299
  /**
1201
1300
  * Generic pallet event
1202
1301
  **/
1203
- [prop: string]: GenericPalletEvent;
1302
+ [prop: string]: GenericPalletEvent<Rv>;
1204
1303
  };
1205
1304
  /**
1206
1305
  * Pallet `Multisig`'s events
@@ -1210,6 +1309,7 @@ export interface ChainEvents extends GenericChainEvents {
1210
1309
  * A new multisig operation has begun.
1211
1310
  **/
1212
1311
  NewMultisig: GenericPalletEvent<
1312
+ Rv,
1213
1313
  'Multisig',
1214
1314
  'NewMultisig',
1215
1315
  { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
@@ -1219,6 +1319,7 @@ export interface ChainEvents extends GenericChainEvents {
1219
1319
  * A multisig operation has been approved by someone.
1220
1320
  **/
1221
1321
  MultisigApproval: GenericPalletEvent<
1322
+ Rv,
1222
1323
  'Multisig',
1223
1324
  'MultisigApproval',
1224
1325
  { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
@@ -1228,6 +1329,7 @@ export interface ChainEvents extends GenericChainEvents {
1228
1329
  * A multisig operation has been executed.
1229
1330
  **/
1230
1331
  MultisigExecuted: GenericPalletEvent<
1332
+ Rv,
1231
1333
  'Multisig',
1232
1334
  'MultisigExecuted',
1233
1335
  {
@@ -1243,6 +1345,7 @@ export interface ChainEvents extends GenericChainEvents {
1243
1345
  * A multisig operation has been cancelled.
1244
1346
  **/
1245
1347
  MultisigCancelled: GenericPalletEvent<
1348
+ Rv,
1246
1349
  'Multisig',
1247
1350
  'MultisigCancelled',
1248
1351
  { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
@@ -1251,7 +1354,7 @@ export interface ChainEvents extends GenericChainEvents {
1251
1354
  /**
1252
1355
  * Generic pallet event
1253
1356
  **/
1254
- [prop: string]: GenericPalletEvent;
1357
+ [prop: string]: GenericPalletEvent<Rv>;
1255
1358
  };
1256
1359
  /**
1257
1360
  * Pallet `Bounties`'s events
@@ -1260,27 +1363,28 @@ export interface ChainEvents extends GenericChainEvents {
1260
1363
  /**
1261
1364
  * New bounty proposal.
1262
1365
  **/
1263
- BountyProposed: GenericPalletEvent<'Bounties', 'BountyProposed', { index: number }>;
1366
+ BountyProposed: GenericPalletEvent<Rv, 'Bounties', 'BountyProposed', { index: number }>;
1264
1367
 
1265
1368
  /**
1266
1369
  * A bounty proposal was rejected; funds were slashed.
1267
1370
  **/
1268
- BountyRejected: GenericPalletEvent<'Bounties', 'BountyRejected', { index: number; bond: bigint }>;
1371
+ BountyRejected: GenericPalletEvent<Rv, 'Bounties', 'BountyRejected', { index: number; bond: bigint }>;
1269
1372
 
1270
1373
  /**
1271
1374
  * A bounty proposal is funded and became active.
1272
1375
  **/
1273
- BountyBecameActive: GenericPalletEvent<'Bounties', 'BountyBecameActive', { index: number }>;
1376
+ BountyBecameActive: GenericPalletEvent<Rv, 'Bounties', 'BountyBecameActive', { index: number }>;
1274
1377
 
1275
1378
  /**
1276
1379
  * A bounty is awarded to a beneficiary.
1277
1380
  **/
1278
- BountyAwarded: GenericPalletEvent<'Bounties', 'BountyAwarded', { index: number; beneficiary: AccountId32 }>;
1381
+ BountyAwarded: GenericPalletEvent<Rv, 'Bounties', 'BountyAwarded', { index: number; beneficiary: AccountId32 }>;
1279
1382
 
1280
1383
  /**
1281
1384
  * A bounty is claimed by beneficiary.
1282
1385
  **/
1283
1386
  BountyClaimed: GenericPalletEvent<
1387
+ Rv,
1284
1388
  'Bounties',
1285
1389
  'BountyClaimed',
1286
1390
  { index: number; payout: bigint; beneficiary: AccountId32 }
@@ -1289,37 +1393,37 @@ export interface ChainEvents extends GenericChainEvents {
1289
1393
  /**
1290
1394
  * A bounty is cancelled.
1291
1395
  **/
1292
- BountyCanceled: GenericPalletEvent<'Bounties', 'BountyCanceled', { index: number }>;
1396
+ BountyCanceled: GenericPalletEvent<Rv, 'Bounties', 'BountyCanceled', { index: number }>;
1293
1397
 
1294
1398
  /**
1295
1399
  * A bounty expiry is extended.
1296
1400
  **/
1297
- BountyExtended: GenericPalletEvent<'Bounties', 'BountyExtended', { index: number }>;
1401
+ BountyExtended: GenericPalletEvent<Rv, 'Bounties', 'BountyExtended', { index: number }>;
1298
1402
 
1299
1403
  /**
1300
1404
  * A bounty is approved.
1301
1405
  **/
1302
- BountyApproved: GenericPalletEvent<'Bounties', 'BountyApproved', { index: number }>;
1406
+ BountyApproved: GenericPalletEvent<Rv, 'Bounties', 'BountyApproved', { index: number }>;
1303
1407
 
1304
1408
  /**
1305
1409
  * A bounty curator is proposed.
1306
1410
  **/
1307
- CuratorProposed: GenericPalletEvent<'Bounties', 'CuratorProposed', { bountyId: number; curator: AccountId32 }>;
1411
+ CuratorProposed: GenericPalletEvent<Rv, 'Bounties', 'CuratorProposed', { bountyId: number; curator: AccountId32 }>;
1308
1412
 
1309
1413
  /**
1310
1414
  * A bounty curator is unassigned.
1311
1415
  **/
1312
- CuratorUnassigned: GenericPalletEvent<'Bounties', 'CuratorUnassigned', { bountyId: number }>;
1416
+ CuratorUnassigned: GenericPalletEvent<Rv, 'Bounties', 'CuratorUnassigned', { bountyId: number }>;
1313
1417
 
1314
1418
  /**
1315
1419
  * A bounty curator is accepted.
1316
1420
  **/
1317
- CuratorAccepted: GenericPalletEvent<'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
1421
+ CuratorAccepted: GenericPalletEvent<Rv, 'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
1318
1422
 
1319
1423
  /**
1320
1424
  * Generic pallet event
1321
1425
  **/
1322
- [prop: string]: GenericPalletEvent;
1426
+ [prop: string]: GenericPalletEvent<Rv>;
1323
1427
  };
1324
1428
  /**
1325
1429
  * Pallet `ChildBounties`'s events
@@ -1328,12 +1432,13 @@ export interface ChainEvents extends GenericChainEvents {
1328
1432
  /**
1329
1433
  * A child-bounty is added.
1330
1434
  **/
1331
- Added: GenericPalletEvent<'ChildBounties', 'Added', { index: number; childIndex: number }>;
1435
+ Added: GenericPalletEvent<Rv, 'ChildBounties', 'Added', { index: number; childIndex: number }>;
1332
1436
 
1333
1437
  /**
1334
1438
  * A child-bounty is awarded to a beneficiary.
1335
1439
  **/
1336
1440
  Awarded: GenericPalletEvent<
1441
+ Rv,
1337
1442
  'ChildBounties',
1338
1443
  'Awarded',
1339
1444
  { index: number; childIndex: number; beneficiary: AccountId32 }
@@ -1343,6 +1448,7 @@ export interface ChainEvents extends GenericChainEvents {
1343
1448
  * A child-bounty is claimed by beneficiary.
1344
1449
  **/
1345
1450
  Claimed: GenericPalletEvent<
1451
+ Rv,
1346
1452
  'ChildBounties',
1347
1453
  'Claimed',
1348
1454
  { index: number; childIndex: number; payout: bigint; beneficiary: AccountId32 }
@@ -1351,12 +1457,12 @@ export interface ChainEvents extends GenericChainEvents {
1351
1457
  /**
1352
1458
  * A child-bounty is cancelled.
1353
1459
  **/
1354
- Canceled: GenericPalletEvent<'ChildBounties', 'Canceled', { index: number; childIndex: number }>;
1460
+ Canceled: GenericPalletEvent<Rv, 'ChildBounties', 'Canceled', { index: number; childIndex: number }>;
1355
1461
 
1356
1462
  /**
1357
1463
  * Generic pallet event
1358
1464
  **/
1359
- [prop: string]: GenericPalletEvent;
1465
+ [prop: string]: GenericPalletEvent<Rv>;
1360
1466
  };
1361
1467
  /**
1362
1468
  * Pallet `ElectionProviderMultiPhase`'s events
@@ -1372,6 +1478,7 @@ export interface ChainEvents extends GenericChainEvents {
1372
1478
  * room for this one.
1373
1479
  **/
1374
1480
  SolutionStored: GenericPalletEvent<
1481
+ Rv,
1375
1482
  'ElectionProviderMultiPhase',
1376
1483
  'SolutionStored',
1377
1484
  {
@@ -1385,6 +1492,7 @@ export interface ChainEvents extends GenericChainEvents {
1385
1492
  * The election has been finalized, with the given computation and score.
1386
1493
  **/
1387
1494
  ElectionFinalized: GenericPalletEvent<
1495
+ Rv,
1388
1496
  'ElectionProviderMultiPhase',
1389
1497
  'ElectionFinalized',
1390
1498
  { compute: PalletElectionProviderMultiPhaseElectionCompute; score: SpNposElectionsElectionScore }
@@ -1395,22 +1503,23 @@ export interface ChainEvents extends GenericChainEvents {
1395
1503
  *
1396
1504
  * Not much can be said about which computes failed in the process.
1397
1505
  **/
1398
- ElectionFailed: GenericPalletEvent<'ElectionProviderMultiPhase', 'ElectionFailed', null>;
1506
+ ElectionFailed: GenericPalletEvent<Rv, 'ElectionProviderMultiPhase', 'ElectionFailed', null>;
1399
1507
 
1400
1508
  /**
1401
1509
  * An account has been rewarded for their signed submission being finalized.
1402
1510
  **/
1403
- Rewarded: GenericPalletEvent<'ElectionProviderMultiPhase', 'Rewarded', { account: AccountId32; value: bigint }>;
1511
+ Rewarded: GenericPalletEvent<Rv, 'ElectionProviderMultiPhase', 'Rewarded', { account: AccountId32; value: bigint }>;
1404
1512
 
1405
1513
  /**
1406
1514
  * An account has been slashed for submitting an invalid signed submission.
1407
1515
  **/
1408
- Slashed: GenericPalletEvent<'ElectionProviderMultiPhase', 'Slashed', { account: AccountId32; value: bigint }>;
1516
+ Slashed: GenericPalletEvent<Rv, 'ElectionProviderMultiPhase', 'Slashed', { account: AccountId32; value: bigint }>;
1409
1517
 
1410
1518
  /**
1411
1519
  * There was a phase transition in a given round.
1412
1520
  **/
1413
1521
  PhaseTransitioned: GenericPalletEvent<
1522
+ Rv,
1414
1523
  'ElectionProviderMultiPhase',
1415
1524
  'PhaseTransitioned',
1416
1525
  { from: PalletElectionProviderMultiPhasePhase; to: PalletElectionProviderMultiPhasePhase; round: number }
@@ -1419,7 +1528,7 @@ export interface ChainEvents extends GenericChainEvents {
1419
1528
  /**
1420
1529
  * Generic pallet event
1421
1530
  **/
1422
- [prop: string]: GenericPalletEvent;
1531
+ [prop: string]: GenericPalletEvent<Rv>;
1423
1532
  };
1424
1533
  /**
1425
1534
  * Pallet `VoterList`'s events
@@ -1428,17 +1537,17 @@ export interface ChainEvents extends GenericChainEvents {
1428
1537
  /**
1429
1538
  * Moved an account from one bag to another.
1430
1539
  **/
1431
- Rebagged: GenericPalletEvent<'VoterList', 'Rebagged', { who: AccountId32; from: bigint; to: bigint }>;
1540
+ Rebagged: GenericPalletEvent<Rv, 'VoterList', 'Rebagged', { who: AccountId32; from: bigint; to: bigint }>;
1432
1541
 
1433
1542
  /**
1434
1543
  * Updated the score of some account to the given amount.
1435
1544
  **/
1436
- ScoreUpdated: GenericPalletEvent<'VoterList', 'ScoreUpdated', { who: AccountId32; newScore: bigint }>;
1545
+ ScoreUpdated: GenericPalletEvent<Rv, 'VoterList', 'ScoreUpdated', { who: AccountId32; newScore: bigint }>;
1437
1546
 
1438
1547
  /**
1439
1548
  * Generic pallet event
1440
1549
  **/
1441
- [prop: string]: GenericPalletEvent;
1550
+ [prop: string]: GenericPalletEvent<Rv>;
1442
1551
  };
1443
1552
  /**
1444
1553
  * Pallet `NominationPools`'s events
@@ -1447,12 +1556,13 @@ export interface ChainEvents extends GenericChainEvents {
1447
1556
  /**
1448
1557
  * A pool has been created.
1449
1558
  **/
1450
- Created: GenericPalletEvent<'NominationPools', 'Created', { depositor: AccountId32; poolId: number }>;
1559
+ Created: GenericPalletEvent<Rv, 'NominationPools', 'Created', { depositor: AccountId32; poolId: number }>;
1451
1560
 
1452
1561
  /**
1453
1562
  * A member has became bonded in a pool.
1454
1563
  **/
1455
1564
  Bonded: GenericPalletEvent<
1565
+ Rv,
1456
1566
  'NominationPools',
1457
1567
  'Bonded',
1458
1568
  { member: AccountId32; poolId: number; bonded: bigint; joined: boolean }
@@ -1461,7 +1571,12 @@ export interface ChainEvents extends GenericChainEvents {
1461
1571
  /**
1462
1572
  * A payout has been made to a member.
1463
1573
  **/
1464
- PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', { member: AccountId32; poolId: number; payout: bigint }>;
1574
+ PaidOut: GenericPalletEvent<
1575
+ Rv,
1576
+ 'NominationPools',
1577
+ 'PaidOut',
1578
+ { member: AccountId32; poolId: number; payout: bigint }
1579
+ >;
1465
1580
 
1466
1581
  /**
1467
1582
  * A member has unbonded from their pool.
@@ -1477,6 +1592,7 @@ export interface ChainEvents extends GenericChainEvents {
1477
1592
  * requested to be unbonded.
1478
1593
  **/
1479
1594
  Unbonded: GenericPalletEvent<
1595
+ Rv,
1480
1596
  'NominationPools',
1481
1597
  'Unbonded',
1482
1598
  { member: AccountId32; poolId: number; balance: bigint; points: bigint; era: number }
@@ -1491,6 +1607,7 @@ export interface ChainEvents extends GenericChainEvents {
1491
1607
  * will be 1.
1492
1608
  **/
1493
1609
  Withdrawn: GenericPalletEvent<
1610
+ Rv,
1494
1611
  'NominationPools',
1495
1612
  'Withdrawn',
1496
1613
  { member: AccountId32; poolId: number; balance: bigint; points: bigint }
@@ -1499,12 +1616,13 @@ export interface ChainEvents extends GenericChainEvents {
1499
1616
  /**
1500
1617
  * A pool has been destroyed.
1501
1618
  **/
1502
- Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', { poolId: number }>;
1619
+ Destroyed: GenericPalletEvent<Rv, 'NominationPools', 'Destroyed', { poolId: number }>;
1503
1620
 
1504
1621
  /**
1505
1622
  * The state of a pool has changed
1506
1623
  **/
1507
1624
  StateChanged: GenericPalletEvent<
1625
+ Rv,
1508
1626
  'NominationPools',
1509
1627
  'StateChanged',
1510
1628
  { poolId: number; newState: PalletNominationPoolsPoolState }
@@ -1515,13 +1633,14 @@ export interface ChainEvents extends GenericChainEvents {
1515
1633
  *
1516
1634
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
1517
1635
  **/
1518
- MemberRemoved: GenericPalletEvent<'NominationPools', 'MemberRemoved', { poolId: number; member: AccountId32 }>;
1636
+ MemberRemoved: GenericPalletEvent<Rv, 'NominationPools', 'MemberRemoved', { poolId: number; member: AccountId32 }>;
1519
1637
 
1520
1638
  /**
1521
1639
  * The roles of a pool have been updated to the given new roles. Note that the depositor
1522
1640
  * can never change.
1523
1641
  **/
1524
1642
  RolesUpdated: GenericPalletEvent<
1643
+ Rv,
1525
1644
  'NominationPools',
1526
1645
  'RolesUpdated',
1527
1646
  { root?: AccountId32 | undefined; bouncer?: AccountId32 | undefined; nominator?: AccountId32 | undefined }
@@ -1530,12 +1649,13 @@ export interface ChainEvents extends GenericChainEvents {
1530
1649
  /**
1531
1650
  * The active balance of pool `pool_id` has been slashed to `balance`.
1532
1651
  **/
1533
- PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', { poolId: number; balance: bigint }>;
1652
+ PoolSlashed: GenericPalletEvent<Rv, 'NominationPools', 'PoolSlashed', { poolId: number; balance: bigint }>;
1534
1653
 
1535
1654
  /**
1536
1655
  * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
1537
1656
  **/
1538
1657
  UnbondingPoolSlashed: GenericPalletEvent<
1658
+ Rv,
1539
1659
  'NominationPools',
1540
1660
  'UnbondingPoolSlashed',
1541
1661
  { poolId: number; era: number; balance: bigint }
@@ -1545,6 +1665,7 @@ export interface ChainEvents extends GenericChainEvents {
1545
1665
  * A pool's commission setting has been changed.
1546
1666
  **/
1547
1667
  PoolCommissionUpdated: GenericPalletEvent<
1668
+ Rv,
1548
1669
  'NominationPools',
1549
1670
  'PoolCommissionUpdated',
1550
1671
  { poolId: number; current?: [Perbill, AccountId32] | undefined }
@@ -1554,6 +1675,7 @@ export interface ChainEvents extends GenericChainEvents {
1554
1675
  * A pool's maximum commission setting has been changed.
1555
1676
  **/
1556
1677
  PoolMaxCommissionUpdated: GenericPalletEvent<
1678
+ Rv,
1557
1679
  'NominationPools',
1558
1680
  'PoolMaxCommissionUpdated',
1559
1681
  { poolId: number; maxCommission: Perbill }
@@ -1563,15 +1685,27 @@ export interface ChainEvents extends GenericChainEvents {
1563
1685
  * A pool's commission `change_rate` has been changed.
1564
1686
  **/
1565
1687
  PoolCommissionChangeRateUpdated: GenericPalletEvent<
1688
+ Rv,
1566
1689
  'NominationPools',
1567
1690
  'PoolCommissionChangeRateUpdated',
1568
1691
  { poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate }
1569
1692
  >;
1570
1693
 
1694
+ /**
1695
+ * Pool commission claim permission has been updated.
1696
+ **/
1697
+ PoolCommissionClaimPermissionUpdated: GenericPalletEvent<
1698
+ Rv,
1699
+ 'NominationPools',
1700
+ 'PoolCommissionClaimPermissionUpdated',
1701
+ { poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined }
1702
+ >;
1703
+
1571
1704
  /**
1572
1705
  * Pool commission has been claimed.
1573
1706
  **/
1574
1707
  PoolCommissionClaimed: GenericPalletEvent<
1708
+ Rv,
1575
1709
  'NominationPools',
1576
1710
  'PoolCommissionClaimed',
1577
1711
  { poolId: number; commission: bigint }
@@ -1581,6 +1715,7 @@ export interface ChainEvents extends GenericChainEvents {
1581
1715
  * Topped up deficit in frozen ED of the reward pool.
1582
1716
  **/
1583
1717
  MinBalanceDeficitAdjusted: GenericPalletEvent<
1718
+ Rv,
1584
1719
  'NominationPools',
1585
1720
  'MinBalanceDeficitAdjusted',
1586
1721
  { poolId: number; amount: bigint }
@@ -1590,6 +1725,7 @@ export interface ChainEvents extends GenericChainEvents {
1590
1725
  * Claimed excess frozen ED of af the reward pool.
1591
1726
  **/
1592
1727
  MinBalanceExcessAdjusted: GenericPalletEvent<
1728
+ Rv,
1593
1729
  'NominationPools',
1594
1730
  'MinBalanceExcessAdjusted',
1595
1731
  { poolId: number; amount: bigint }
@@ -1598,7 +1734,7 @@ export interface ChainEvents extends GenericChainEvents {
1598
1734
  /**
1599
1735
  * Generic pallet event
1600
1736
  **/
1601
- [prop: string]: GenericPalletEvent;
1737
+ [prop: string]: GenericPalletEvent<Rv>;
1602
1738
  };
1603
1739
  /**
1604
1740
  * Pallet `FastUnstake`'s events
@@ -1607,17 +1743,22 @@ export interface ChainEvents extends GenericChainEvents {
1607
1743
  /**
1608
1744
  * A staker was unstaked.
1609
1745
  **/
1610
- Unstaked: GenericPalletEvent<'FastUnstake', 'Unstaked', { stash: AccountId32; result: Result<[], DispatchError> }>;
1746
+ Unstaked: GenericPalletEvent<
1747
+ Rv,
1748
+ 'FastUnstake',
1749
+ 'Unstaked',
1750
+ { stash: AccountId32; result: Result<[], DispatchError> }
1751
+ >;
1611
1752
 
1612
1753
  /**
1613
1754
  * A staker was slashed for requesting fast-unstake whilst being exposed.
1614
1755
  **/
1615
- Slashed: GenericPalletEvent<'FastUnstake', 'Slashed', { stash: AccountId32; amount: bigint }>;
1756
+ Slashed: GenericPalletEvent<Rv, 'FastUnstake', 'Slashed', { stash: AccountId32; amount: bigint }>;
1616
1757
 
1617
1758
  /**
1618
1759
  * A batch was partially checked for the given eras, but the process did not finish.
1619
1760
  **/
1620
- BatchChecked: GenericPalletEvent<'FastUnstake', 'BatchChecked', { eras: Array<number> }>;
1761
+ BatchChecked: GenericPalletEvent<Rv, 'FastUnstake', 'BatchChecked', { eras: Array<number> }>;
1621
1762
 
1622
1763
  /**
1623
1764
  * A batch of a given size was terminated.
@@ -1625,17 +1766,17 @@ export interface ChainEvents extends GenericChainEvents {
1625
1766
  * This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
1626
1767
  * of the batch. A new batch will be created upon next block.
1627
1768
  **/
1628
- BatchFinished: GenericPalletEvent<'FastUnstake', 'BatchFinished', { size: number }>;
1769
+ BatchFinished: GenericPalletEvent<Rv, 'FastUnstake', 'BatchFinished', { size: number }>;
1629
1770
 
1630
1771
  /**
1631
1772
  * An internal error happened. Operations will be paused now.
1632
1773
  **/
1633
- InternalError: GenericPalletEvent<'FastUnstake', 'InternalError', null>;
1774
+ InternalError: GenericPalletEvent<Rv, 'FastUnstake', 'InternalError', null>;
1634
1775
 
1635
1776
  /**
1636
1777
  * Generic pallet event
1637
1778
  **/
1638
- [prop: string]: GenericPalletEvent;
1779
+ [prop: string]: GenericPalletEvent<Rv>;
1639
1780
  };
1640
1781
  /**
1641
1782
  * Pallet `ParaInclusion`'s events
@@ -1645,6 +1786,7 @@ export interface ChainEvents extends GenericChainEvents {
1645
1786
  * A candidate was backed. `[candidate, head_data]`
1646
1787
  **/
1647
1788
  CandidateBacked: GenericPalletEvent<
1789
+ Rv,
1648
1790
  'ParaInclusion',
1649
1791
  'CandidateBacked',
1650
1792
  [
@@ -1659,6 +1801,7 @@ export interface ChainEvents extends GenericChainEvents {
1659
1801
  * A candidate was included. `[candidate, head_data]`
1660
1802
  **/
1661
1803
  CandidateIncluded: GenericPalletEvent<
1804
+ Rv,
1662
1805
  'ParaInclusion',
1663
1806
  'CandidateIncluded',
1664
1807
  [
@@ -1673,6 +1816,7 @@ export interface ChainEvents extends GenericChainEvents {
1673
1816
  * A candidate timed out. `[candidate, head_data]`
1674
1817
  **/
1675
1818
  CandidateTimedOut: GenericPalletEvent<
1819
+ Rv,
1676
1820
  'ParaInclusion',
1677
1821
  'CandidateTimedOut',
1678
1822
  [
@@ -1686,6 +1830,7 @@ export interface ChainEvents extends GenericChainEvents {
1686
1830
  * Some upward messages have been received and will be processed.
1687
1831
  **/
1688
1832
  UpwardMessagesReceived: GenericPalletEvent<
1833
+ Rv,
1689
1834
  'ParaInclusion',
1690
1835
  'UpwardMessagesReceived',
1691
1836
  { from: PolkadotParachainPrimitivesPrimitivesId; count: number }
@@ -1694,7 +1839,7 @@ export interface ChainEvents extends GenericChainEvents {
1694
1839
  /**
1695
1840
  * Generic pallet event
1696
1841
  **/
1697
- [prop: string]: GenericPalletEvent;
1842
+ [prop: string]: GenericPalletEvent<Rv>;
1698
1843
  };
1699
1844
  /**
1700
1845
  * Pallet `Paras`'s events
@@ -1703,33 +1848,39 @@ export interface ChainEvents extends GenericChainEvents {
1703
1848
  /**
1704
1849
  * Current code has been updated for a Para. `para_id`
1705
1850
  **/
1706
- CurrentCodeUpdated: GenericPalletEvent<'Paras', 'CurrentCodeUpdated', PolkadotParachainPrimitivesPrimitivesId>;
1851
+ CurrentCodeUpdated: GenericPalletEvent<Rv, 'Paras', 'CurrentCodeUpdated', PolkadotParachainPrimitivesPrimitivesId>;
1707
1852
 
1708
1853
  /**
1709
1854
  * Current head has been updated for a Para. `para_id`
1710
1855
  **/
1711
- CurrentHeadUpdated: GenericPalletEvent<'Paras', 'CurrentHeadUpdated', PolkadotParachainPrimitivesPrimitivesId>;
1856
+ CurrentHeadUpdated: GenericPalletEvent<Rv, 'Paras', 'CurrentHeadUpdated', PolkadotParachainPrimitivesPrimitivesId>;
1712
1857
 
1713
1858
  /**
1714
1859
  * A code upgrade has been scheduled for a Para. `para_id`
1715
1860
  **/
1716
- CodeUpgradeScheduled: GenericPalletEvent<'Paras', 'CodeUpgradeScheduled', PolkadotParachainPrimitivesPrimitivesId>;
1861
+ CodeUpgradeScheduled: GenericPalletEvent<
1862
+ Rv,
1863
+ 'Paras',
1864
+ 'CodeUpgradeScheduled',
1865
+ PolkadotParachainPrimitivesPrimitivesId
1866
+ >;
1717
1867
 
1718
1868
  /**
1719
1869
  * A new head has been noted for a Para. `para_id`
1720
1870
  **/
1721
- NewHeadNoted: GenericPalletEvent<'Paras', 'NewHeadNoted', PolkadotParachainPrimitivesPrimitivesId>;
1871
+ NewHeadNoted: GenericPalletEvent<Rv, 'Paras', 'NewHeadNoted', PolkadotParachainPrimitivesPrimitivesId>;
1722
1872
 
1723
1873
  /**
1724
1874
  * A para has been queued to execute pending actions. `para_id`
1725
1875
  **/
1726
- ActionQueued: GenericPalletEvent<'Paras', 'ActionQueued', [PolkadotParachainPrimitivesPrimitivesId, number]>;
1876
+ ActionQueued: GenericPalletEvent<Rv, 'Paras', 'ActionQueued', [PolkadotParachainPrimitivesPrimitivesId, number]>;
1727
1877
 
1728
1878
  /**
1729
1879
  * The given para either initiated or subscribed to a PVF check for the given validation
1730
1880
  * code. `code_hash` `para_id`
1731
1881
  **/
1732
1882
  PvfCheckStarted: GenericPalletEvent<
1883
+ Rv,
1733
1884
  'Paras',
1734
1885
  'PvfCheckStarted',
1735
1886
  [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
@@ -1740,6 +1891,7 @@ export interface ChainEvents extends GenericChainEvents {
1740
1891
  * `code_hash` `para_id`
1741
1892
  **/
1742
1893
  PvfCheckAccepted: GenericPalletEvent<
1894
+ Rv,
1743
1895
  'Paras',
1744
1896
  'PvfCheckAccepted',
1745
1897
  [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
@@ -1750,6 +1902,7 @@ export interface ChainEvents extends GenericChainEvents {
1750
1902
  * `code_hash` `para_id`
1751
1903
  **/
1752
1904
  PvfCheckRejected: GenericPalletEvent<
1905
+ Rv,
1753
1906
  'Paras',
1754
1907
  'PvfCheckRejected',
1755
1908
  [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
@@ -1758,7 +1911,7 @@ export interface ChainEvents extends GenericChainEvents {
1758
1911
  /**
1759
1912
  * Generic pallet event
1760
1913
  **/
1761
- [prop: string]: GenericPalletEvent;
1914
+ [prop: string]: GenericPalletEvent<Rv>;
1762
1915
  };
1763
1916
  /**
1764
1917
  * Pallet `Hrmp`'s events
@@ -1768,6 +1921,7 @@ export interface ChainEvents extends GenericChainEvents {
1768
1921
  * Open HRMP channel requested.
1769
1922
  **/
1770
1923
  OpenChannelRequested: GenericPalletEvent<
1924
+ Rv,
1771
1925
  'Hrmp',
1772
1926
  'OpenChannelRequested',
1773
1927
  {
@@ -1782,6 +1936,7 @@ export interface ChainEvents extends GenericChainEvents {
1782
1936
  * An HRMP channel request sent by the receiver was canceled by either party.
1783
1937
  **/
1784
1938
  OpenChannelCanceled: GenericPalletEvent<
1939
+ Rv,
1785
1940
  'Hrmp',
1786
1941
  'OpenChannelCanceled',
1787
1942
  {
@@ -1794,6 +1949,7 @@ export interface ChainEvents extends GenericChainEvents {
1794
1949
  * Open HRMP channel accepted.
1795
1950
  **/
1796
1951
  OpenChannelAccepted: GenericPalletEvent<
1952
+ Rv,
1797
1953
  'Hrmp',
1798
1954
  'OpenChannelAccepted',
1799
1955
  { sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
@@ -1803,6 +1959,7 @@ export interface ChainEvents extends GenericChainEvents {
1803
1959
  * HRMP channel closed.
1804
1960
  **/
1805
1961
  ChannelClosed: GenericPalletEvent<
1962
+ Rv,
1806
1963
  'Hrmp',
1807
1964
  'ChannelClosed',
1808
1965
  {
@@ -1815,6 +1972,7 @@ export interface ChainEvents extends GenericChainEvents {
1815
1972
  * An HRMP channel was opened via Root origin.
1816
1973
  **/
1817
1974
  HrmpChannelForceOpened: GenericPalletEvent<
1975
+ Rv,
1818
1976
  'Hrmp',
1819
1977
  'HrmpChannelForceOpened',
1820
1978
  {
@@ -1826,9 +1984,10 @@ export interface ChainEvents extends GenericChainEvents {
1826
1984
  >;
1827
1985
 
1828
1986
  /**
1829
- * An HRMP channel was opened between two system chains.
1987
+ * An HRMP channel was opened with a system chain.
1830
1988
  **/
1831
1989
  HrmpSystemChannelOpened: GenericPalletEvent<
1990
+ Rv,
1832
1991
  'Hrmp',
1833
1992
  'HrmpSystemChannelOpened',
1834
1993
  {
@@ -1843,6 +2002,7 @@ export interface ChainEvents extends GenericChainEvents {
1843
2002
  * An HRMP channel's deposits were updated.
1844
2003
  **/
1845
2004
  OpenChannelDepositsUpdated: GenericPalletEvent<
2005
+ Rv,
1846
2006
  'Hrmp',
1847
2007
  'OpenChannelDepositsUpdated',
1848
2008
  { sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
@@ -1851,7 +2011,7 @@ export interface ChainEvents extends GenericChainEvents {
1851
2011
  /**
1852
2012
  * Generic pallet event
1853
2013
  **/
1854
- [prop: string]: GenericPalletEvent;
2014
+ [prop: string]: GenericPalletEvent<Rv>;
1855
2015
  };
1856
2016
  /**
1857
2017
  * Pallet `ParasDisputes`'s events
@@ -1861,6 +2021,7 @@ export interface ChainEvents extends GenericChainEvents {
1861
2021
  * A dispute has been initiated. \[candidate hash, dispute location\]
1862
2022
  **/
1863
2023
  DisputeInitiated: GenericPalletEvent<
2024
+ Rv,
1864
2025
  'ParasDisputes',
1865
2026
  'DisputeInitiated',
1866
2027
  [PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeLocation]
@@ -1871,6 +2032,7 @@ export interface ChainEvents extends GenericChainEvents {
1871
2032
  * `\[para id, candidate hash, dispute result\]`
1872
2033
  **/
1873
2034
  DisputeConcluded: GenericPalletEvent<
2035
+ Rv,
1874
2036
  'ParasDisputes',
1875
2037
  'DisputeConcluded',
1876
2038
  [PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeResult]
@@ -1882,29 +2044,37 @@ export interface ChainEvents extends GenericChainEvents {
1882
2044
  * instead revert the block at the given height. This should be the
1883
2045
  * number of the child of the last known valid block in the chain.
1884
2046
  **/
1885
- Revert: GenericPalletEvent<'ParasDisputes', 'Revert', number>;
2047
+ Revert: GenericPalletEvent<Rv, 'ParasDisputes', 'Revert', number>;
1886
2048
 
1887
2049
  /**
1888
2050
  * Generic pallet event
1889
2051
  **/
1890
- [prop: string]: GenericPalletEvent;
2052
+ [prop: string]: GenericPalletEvent<Rv>;
1891
2053
  };
1892
2054
  /**
1893
2055
  * Pallet `Registrar`'s events
1894
2056
  **/
1895
2057
  registrar: {
1896
2058
  Registered: GenericPalletEvent<
2059
+ Rv,
1897
2060
  'Registrar',
1898
2061
  'Registered',
1899
2062
  { paraId: PolkadotParachainPrimitivesPrimitivesId; manager: AccountId32 }
1900
2063
  >;
1901
- Deregistered: GenericPalletEvent<'Registrar', 'Deregistered', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2064
+ Deregistered: GenericPalletEvent<
2065
+ Rv,
2066
+ 'Registrar',
2067
+ 'Deregistered',
2068
+ { paraId: PolkadotParachainPrimitivesPrimitivesId }
2069
+ >;
1902
2070
  Reserved: GenericPalletEvent<
2071
+ Rv,
1903
2072
  'Registrar',
1904
2073
  'Reserved',
1905
2074
  { paraId: PolkadotParachainPrimitivesPrimitivesId; who: AccountId32 }
1906
2075
  >;
1907
2076
  Swapped: GenericPalletEvent<
2077
+ Rv,
1908
2078
  'Registrar',
1909
2079
  'Swapped',
1910
2080
  { paraId: PolkadotParachainPrimitivesPrimitivesId; otherId: PolkadotParachainPrimitivesPrimitivesId }
@@ -1913,7 +2083,7 @@ export interface ChainEvents extends GenericChainEvents {
1913
2083
  /**
1914
2084
  * Generic pallet event
1915
2085
  **/
1916
- [prop: string]: GenericPalletEvent;
2086
+ [prop: string]: GenericPalletEvent<Rv>;
1917
2087
  };
1918
2088
  /**
1919
2089
  * Pallet `Slots`'s events
@@ -1922,7 +2092,7 @@ export interface ChainEvents extends GenericChainEvents {
1922
2092
  /**
1923
2093
  * A new `[lease_period]` is beginning.
1924
2094
  **/
1925
- NewLeasePeriod: GenericPalletEvent<'Slots', 'NewLeasePeriod', { leasePeriod: number }>;
2095
+ NewLeasePeriod: GenericPalletEvent<Rv, 'Slots', 'NewLeasePeriod', { leasePeriod: number }>;
1926
2096
 
1927
2097
  /**
1928
2098
  * A para has won the right to a continuous set of lease periods as a parachain.
@@ -1930,6 +2100,7 @@ export interface ChainEvents extends GenericChainEvents {
1930
2100
  * Second balance is the total amount reserved.
1931
2101
  **/
1932
2102
  Leased: GenericPalletEvent<
2103
+ Rv,
1933
2104
  'Slots',
1934
2105
  'Leased',
1935
2106
  {
@@ -1945,7 +2116,7 @@ export interface ChainEvents extends GenericChainEvents {
1945
2116
  /**
1946
2117
  * Generic pallet event
1947
2118
  **/
1948
- [prop: string]: GenericPalletEvent;
2119
+ [prop: string]: GenericPalletEvent<Rv>;
1949
2120
  };
1950
2121
  /**
1951
2122
  * Pallet `Auctions`'s events
@@ -1956,6 +2127,7 @@ export interface ChainEvents extends GenericChainEvents {
1956
2127
  * close and the first lease period of the quadruplet that is auctioned.
1957
2128
  **/
1958
2129
  AuctionStarted: GenericPalletEvent<
2130
+ Rv,
1959
2131
  'Auctions',
1960
2132
  'AuctionStarted',
1961
2133
  { auctionIndex: number; leasePeriod: number; ending: number }
@@ -1964,13 +2136,14 @@ export interface ChainEvents extends GenericChainEvents {
1964
2136
  /**
1965
2137
  * An auction ended. All funds become unreserved.
1966
2138
  **/
1967
- AuctionClosed: GenericPalletEvent<'Auctions', 'AuctionClosed', { auctionIndex: number }>;
2139
+ AuctionClosed: GenericPalletEvent<Rv, 'Auctions', 'AuctionClosed', { auctionIndex: number }>;
1968
2140
 
1969
2141
  /**
1970
2142
  * Funds were reserved for a winning bid. First balance is the extra amount reserved.
1971
2143
  * Second is the total.
1972
2144
  **/
1973
2145
  Reserved: GenericPalletEvent<
2146
+ Rv,
1974
2147
  'Auctions',
1975
2148
  'Reserved',
1976
2149
  { bidder: AccountId32; extraReserved: bigint; totalAmount: bigint }
@@ -1979,13 +2152,14 @@ export interface ChainEvents extends GenericChainEvents {
1979
2152
  /**
1980
2153
  * Funds were unreserved since bidder is no longer active. `[bidder, amount]`
1981
2154
  **/
1982
- Unreserved: GenericPalletEvent<'Auctions', 'Unreserved', { bidder: AccountId32; amount: bigint }>;
2155
+ Unreserved: GenericPalletEvent<Rv, 'Auctions', 'Unreserved', { bidder: AccountId32; amount: bigint }>;
1983
2156
 
1984
2157
  /**
1985
2158
  * Someone attempted to lease the same slot twice for a parachain. The amount is held in
1986
2159
  * reserve but no parachain slot has been leased.
1987
2160
  **/
1988
2161
  ReserveConfiscated: GenericPalletEvent<
2162
+ Rv,
1989
2163
  'Auctions',
1990
2164
  'ReserveConfiscated',
1991
2165
  { paraId: PolkadotParachainPrimitivesPrimitivesId; leaser: AccountId32; amount: bigint }
@@ -1995,6 +2169,7 @@ export interface ChainEvents extends GenericChainEvents {
1995
2169
  * A new bid has been accepted as the current winner.
1996
2170
  **/
1997
2171
  BidAccepted: GenericPalletEvent<
2172
+ Rv,
1998
2173
  'Auctions',
1999
2174
  'BidAccepted',
2000
2175
  {
@@ -2010,12 +2185,12 @@ export interface ChainEvents extends GenericChainEvents {
2010
2185
  * The winning offset was chosen for an auction. This will map into the `Winning` storage
2011
2186
  * map.
2012
2187
  **/
2013
- WinningOffset: GenericPalletEvent<'Auctions', 'WinningOffset', { auctionIndex: number; blockNumber: number }>;
2188
+ WinningOffset: GenericPalletEvent<Rv, 'Auctions', 'WinningOffset', { auctionIndex: number; blockNumber: number }>;
2014
2189
 
2015
2190
  /**
2016
2191
  * Generic pallet event
2017
2192
  **/
2018
- [prop: string]: GenericPalletEvent;
2193
+ [prop: string]: GenericPalletEvent<Rv>;
2019
2194
  };
2020
2195
  /**
2021
2196
  * Pallet `Crowdloan`'s events
@@ -2024,12 +2199,13 @@ export interface ChainEvents extends GenericChainEvents {
2024
2199
  /**
2025
2200
  * Create a new crowdloaning campaign.
2026
2201
  **/
2027
- Created: GenericPalletEvent<'Crowdloan', 'Created', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2202
+ Created: GenericPalletEvent<Rv, 'Crowdloan', 'Created', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2028
2203
 
2029
2204
  /**
2030
2205
  * Contributed to a crowd sale.
2031
2206
  **/
2032
2207
  Contributed: GenericPalletEvent<
2208
+ Rv,
2033
2209
  'Crowdloan',
2034
2210
  'Contributed',
2035
2211
  { who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
@@ -2039,6 +2215,7 @@ export interface ChainEvents extends GenericChainEvents {
2039
2215
  * Withdrew full balance of a contributor.
2040
2216
  **/
2041
2217
  Withdrew: GenericPalletEvent<
2218
+ Rv,
2042
2219
  'Crowdloan',
2043
2220
  'Withdrew',
2044
2221
  { who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
@@ -2049,6 +2226,7 @@ export interface ChainEvents extends GenericChainEvents {
2049
2226
  * over child keys that still need to be killed.
2050
2227
  **/
2051
2228
  PartiallyRefunded: GenericPalletEvent<
2229
+ Rv,
2052
2230
  'Crowdloan',
2053
2231
  'PartiallyRefunded',
2054
2232
  { paraId: PolkadotParachainPrimitivesPrimitivesId }
@@ -2057,17 +2235,23 @@ export interface ChainEvents extends GenericChainEvents {
2057
2235
  /**
2058
2236
  * All loans in a fund have been refunded.
2059
2237
  **/
2060
- AllRefunded: GenericPalletEvent<'Crowdloan', 'AllRefunded', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2238
+ AllRefunded: GenericPalletEvent<
2239
+ Rv,
2240
+ 'Crowdloan',
2241
+ 'AllRefunded',
2242
+ { paraId: PolkadotParachainPrimitivesPrimitivesId }
2243
+ >;
2061
2244
 
2062
2245
  /**
2063
2246
  * Fund is dissolved.
2064
2247
  **/
2065
- Dissolved: GenericPalletEvent<'Crowdloan', 'Dissolved', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2248
+ Dissolved: GenericPalletEvent<Rv, 'Crowdloan', 'Dissolved', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2066
2249
 
2067
2250
  /**
2068
2251
  * The result of trying to submit a new bid to the Slots pallet.
2069
2252
  **/
2070
2253
  HandleBidResult: GenericPalletEvent<
2254
+ Rv,
2071
2255
  'Crowdloan',
2072
2256
  'HandleBidResult',
2073
2257
  { paraId: PolkadotParachainPrimitivesPrimitivesId; result: Result<[], DispatchError> }
@@ -2076,12 +2260,13 @@ export interface ChainEvents extends GenericChainEvents {
2076
2260
  /**
2077
2261
  * The configuration to a crowdloan has been edited.
2078
2262
  **/
2079
- Edited: GenericPalletEvent<'Crowdloan', 'Edited', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2263
+ Edited: GenericPalletEvent<Rv, 'Crowdloan', 'Edited', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2080
2264
 
2081
2265
  /**
2082
2266
  * A memo has been updated.
2083
2267
  **/
2084
2268
  MemoUpdated: GenericPalletEvent<
2269
+ Rv,
2085
2270
  'Crowdloan',
2086
2271
  'MemoUpdated',
2087
2272
  { who: AccountId32; paraId: PolkadotParachainPrimitivesPrimitivesId; memo: Bytes }
@@ -2091,6 +2276,7 @@ export interface ChainEvents extends GenericChainEvents {
2091
2276
  * A parachain has been moved to `NewRaise`
2092
2277
  **/
2093
2278
  AddedToNewRaise: GenericPalletEvent<
2279
+ Rv,
2094
2280
  'Crowdloan',
2095
2281
  'AddedToNewRaise',
2096
2282
  { paraId: PolkadotParachainPrimitivesPrimitivesId }
@@ -2099,7 +2285,42 @@ export interface ChainEvents extends GenericChainEvents {
2099
2285
  /**
2100
2286
  * Generic pallet event
2101
2287
  **/
2102
- [prop: string]: GenericPalletEvent;
2288
+ [prop: string]: GenericPalletEvent<Rv>;
2289
+ };
2290
+ /**
2291
+ * Pallet `StateTrieMigration`'s events
2292
+ **/
2293
+ stateTrieMigration: {
2294
+ /**
2295
+ * Given number of `(top, child)` keys were migrated respectively, with the given
2296
+ * `compute`.
2297
+ **/
2298
+ Migrated: GenericPalletEvent<
2299
+ Rv,
2300
+ 'StateTrieMigration',
2301
+ 'Migrated',
2302
+ { top: number; child: number; compute: PalletStateTrieMigrationMigrationCompute }
2303
+ >;
2304
+
2305
+ /**
2306
+ * Some account got slashed by the given amount.
2307
+ **/
2308
+ Slashed: GenericPalletEvent<Rv, 'StateTrieMigration', 'Slashed', { who: AccountId32; amount: bigint }>;
2309
+
2310
+ /**
2311
+ * The auto migration task finished.
2312
+ **/
2313
+ AutoMigrationFinished: GenericPalletEvent<Rv, 'StateTrieMigration', 'AutoMigrationFinished', null>;
2314
+
2315
+ /**
2316
+ * Migration got halted due to an error or miss-configuration.
2317
+ **/
2318
+ Halted: GenericPalletEvent<Rv, 'StateTrieMigration', 'Halted', { error: PalletStateTrieMigrationError }>;
2319
+
2320
+ /**
2321
+ * Generic pallet event
2322
+ **/
2323
+ [prop: string]: GenericPalletEvent<Rv>;
2103
2324
  };
2104
2325
  /**
2105
2326
  * Pallet `XcmPallet`'s events
@@ -2108,18 +2329,19 @@ export interface ChainEvents extends GenericChainEvents {
2108
2329
  /**
2109
2330
  * Execution of an XCM message was attempted.
2110
2331
  **/
2111
- Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome: XcmV3TraitsOutcome }>;
2332
+ Attempted: GenericPalletEvent<Rv, 'XcmPallet', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
2112
2333
 
2113
2334
  /**
2114
2335
  * A XCM message was sent.
2115
2336
  **/
2116
2337
  Sent: GenericPalletEvent<
2338
+ Rv,
2117
2339
  'XcmPallet',
2118
2340
  'Sent',
2119
2341
  {
2120
- origin: StagingXcmV3MultilocationMultiLocation;
2121
- destination: StagingXcmV3MultilocationMultiLocation;
2122
- message: XcmV3Xcm;
2342
+ origin: StagingXcmV4Location;
2343
+ destination: StagingXcmV4Location;
2344
+ message: StagingXcmV4Xcm;
2123
2345
  messageId: FixedBytes<32>;
2124
2346
  }
2125
2347
  >;
@@ -2130,22 +2352,33 @@ export interface ChainEvents extends GenericChainEvents {
2130
2352
  * because the query timed out.
2131
2353
  **/
2132
2354
  UnexpectedResponse: GenericPalletEvent<
2355
+ Rv,
2133
2356
  'XcmPallet',
2134
2357
  'UnexpectedResponse',
2135
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
2358
+ { origin: StagingXcmV4Location; queryId: bigint }
2136
2359
  >;
2137
2360
 
2138
2361
  /**
2139
2362
  * Query response has been received and is ready for taking with `take_response`. There is
2140
2363
  * no registered notification call.
2141
2364
  **/
2142
- ResponseReady: GenericPalletEvent<'XcmPallet', 'ResponseReady', { queryId: bigint; response: XcmV3Response }>;
2365
+ ResponseReady: GenericPalletEvent<
2366
+ Rv,
2367
+ 'XcmPallet',
2368
+ 'ResponseReady',
2369
+ { queryId: bigint; response: StagingXcmV4Response }
2370
+ >;
2143
2371
 
2144
2372
  /**
2145
2373
  * Query response has been received and query is removed. The registered notification has
2146
2374
  * been dispatched and executed successfully.
2147
2375
  **/
2148
- Notified: GenericPalletEvent<'XcmPallet', 'Notified', { queryId: bigint; palletIndex: number; callIndex: number }>;
2376
+ Notified: GenericPalletEvent<
2377
+ Rv,
2378
+ 'XcmPallet',
2379
+ 'Notified',
2380
+ { queryId: bigint; palletIndex: number; callIndex: number }
2381
+ >;
2149
2382
 
2150
2383
  /**
2151
2384
  * Query response has been received and query is removed. The registered notification
@@ -2153,6 +2386,7 @@ export interface ChainEvents extends GenericChainEvents {
2153
2386
  * originally budgeted by this runtime for the query result.
2154
2387
  **/
2155
2388
  NotifyOverweight: GenericPalletEvent<
2389
+ Rv,
2156
2390
  'XcmPallet',
2157
2391
  'NotifyOverweight',
2158
2392
  {
@@ -2169,6 +2403,7 @@ export interface ChainEvents extends GenericChainEvents {
2169
2403
  * dispatching the notification call.
2170
2404
  **/
2171
2405
  NotifyDispatchError: GenericPalletEvent<
2406
+ Rv,
2172
2407
  'XcmPallet',
2173
2408
  'NotifyDispatchError',
2174
2409
  { queryId: bigint; palletIndex: number; callIndex: number }
@@ -2180,6 +2415,7 @@ export interface ChainEvents extends GenericChainEvents {
2180
2415
  * is not `(origin, QueryId, Response)`.
2181
2416
  **/
2182
2417
  NotifyDecodeFailed: GenericPalletEvent<
2418
+ Rv,
2183
2419
  'XcmPallet',
2184
2420
  'NotifyDecodeFailed',
2185
2421
  { queryId: bigint; palletIndex: number; callIndex: number }
@@ -2191,13 +2427,10 @@ export interface ChainEvents extends GenericChainEvents {
2191
2427
  * be received and acted upon.
2192
2428
  **/
2193
2429
  InvalidResponder: GenericPalletEvent<
2430
+ Rv,
2194
2431
  'XcmPallet',
2195
2432
  'InvalidResponder',
2196
- {
2197
- origin: StagingXcmV3MultilocationMultiLocation;
2198
- queryId: bigint;
2199
- expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
2200
- }
2433
+ { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
2201
2434
  >;
2202
2435
 
2203
2436
  /**
@@ -2210,23 +2443,25 @@ export interface ChainEvents extends GenericChainEvents {
2210
2443
  * needed.
2211
2444
  **/
2212
2445
  InvalidResponderVersion: GenericPalletEvent<
2446
+ Rv,
2213
2447
  'XcmPallet',
2214
2448
  'InvalidResponderVersion',
2215
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
2449
+ { origin: StagingXcmV4Location; queryId: bigint }
2216
2450
  >;
2217
2451
 
2218
2452
  /**
2219
2453
  * Received query response has been read and removed.
2220
2454
  **/
2221
- ResponseTaken: GenericPalletEvent<'XcmPallet', 'ResponseTaken', { queryId: bigint }>;
2455
+ ResponseTaken: GenericPalletEvent<Rv, 'XcmPallet', 'ResponseTaken', { queryId: bigint }>;
2222
2456
 
2223
2457
  /**
2224
2458
  * Some assets have been placed in an asset trap.
2225
2459
  **/
2226
2460
  AssetsTrapped: GenericPalletEvent<
2461
+ Rv,
2227
2462
  'XcmPallet',
2228
2463
  'AssetsTrapped',
2229
- { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
2464
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
2230
2465
  >;
2231
2466
 
2232
2467
  /**
@@ -2235,14 +2470,10 @@ export interface ChainEvents extends GenericChainEvents {
2235
2470
  * The cost of sending it (borne by the chain) is included.
2236
2471
  **/
2237
2472
  VersionChangeNotified: GenericPalletEvent<
2473
+ Rv,
2238
2474
  'XcmPallet',
2239
2475
  'VersionChangeNotified',
2240
- {
2241
- destination: StagingXcmV3MultilocationMultiLocation;
2242
- result: number;
2243
- cost: XcmV3MultiassetMultiAssets;
2244
- messageId: FixedBytes<32>;
2245
- }
2476
+ { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2246
2477
  >;
2247
2478
 
2248
2479
  /**
@@ -2250,9 +2481,10 @@ export interface ChainEvents extends GenericChainEvents {
2250
2481
  * automatic notification or a manual intervention.
2251
2482
  **/
2252
2483
  SupportedVersionChanged: GenericPalletEvent<
2484
+ Rv,
2253
2485
  'XcmPallet',
2254
2486
  'SupportedVersionChanged',
2255
- { location: StagingXcmV3MultilocationMultiLocation; version: number }
2487
+ { location: StagingXcmV4Location; version: number }
2256
2488
  >;
2257
2489
 
2258
2490
  /**
@@ -2260,9 +2492,10 @@ export interface ChainEvents extends GenericChainEvents {
2260
2492
  * sending the notification to it.
2261
2493
  **/
2262
2494
  NotifyTargetSendFail: GenericPalletEvent<
2495
+ Rv,
2263
2496
  'XcmPallet',
2264
2497
  'NotifyTargetSendFail',
2265
- { location: StagingXcmV3MultilocationMultiLocation; queryId: bigint; error: XcmV3TraitsError }
2498
+ { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
2266
2499
  >;
2267
2500
 
2268
2501
  /**
@@ -2270,9 +2503,10 @@ export interface ChainEvents extends GenericChainEvents {
2270
2503
  * migrating the location to our new XCM format.
2271
2504
  **/
2272
2505
  NotifyTargetMigrationFail: GenericPalletEvent<
2506
+ Rv,
2273
2507
  'XcmPallet',
2274
2508
  'NotifyTargetMigrationFail',
2275
- { location: XcmVersionedMultiLocation; queryId: bigint }
2509
+ { location: XcmVersionedLocation; queryId: bigint }
2276
2510
  >;
2277
2511
 
2278
2512
  /**
@@ -2285,9 +2519,10 @@ export interface ChainEvents extends GenericChainEvents {
2285
2519
  * needed.
2286
2520
  **/
2287
2521
  InvalidQuerierVersion: GenericPalletEvent<
2522
+ Rv,
2288
2523
  'XcmPallet',
2289
2524
  'InvalidQuerierVersion',
2290
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
2525
+ { origin: StagingXcmV4Location; queryId: bigint }
2291
2526
  >;
2292
2527
 
2293
2528
  /**
@@ -2296,13 +2531,14 @@ export interface ChainEvents extends GenericChainEvents {
2296
2531
  * be received and acted upon.
2297
2532
  **/
2298
2533
  InvalidQuerier: GenericPalletEvent<
2534
+ Rv,
2299
2535
  'XcmPallet',
2300
2536
  'InvalidQuerier',
2301
2537
  {
2302
- origin: StagingXcmV3MultilocationMultiLocation;
2538
+ origin: StagingXcmV4Location;
2303
2539
  queryId: bigint;
2304
- expectedQuerier: StagingXcmV3MultilocationMultiLocation;
2305
- maybeActualQuerier?: StagingXcmV3MultilocationMultiLocation | undefined;
2540
+ expectedQuerier: StagingXcmV4Location;
2541
+ maybeActualQuerier?: StagingXcmV4Location | undefined;
2306
2542
  }
2307
2543
  >;
2308
2544
 
@@ -2311,26 +2547,20 @@ export interface ChainEvents extends GenericChainEvents {
2311
2547
  * A version information message is sent to them and its cost is included.
2312
2548
  **/
2313
2549
  VersionNotifyStarted: GenericPalletEvent<
2550
+ Rv,
2314
2551
  'XcmPallet',
2315
2552
  'VersionNotifyStarted',
2316
- {
2317
- destination: StagingXcmV3MultilocationMultiLocation;
2318
- cost: XcmV3MultiassetMultiAssets;
2319
- messageId: FixedBytes<32>;
2320
- }
2553
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2321
2554
  >;
2322
2555
 
2323
2556
  /**
2324
2557
  * We have requested that a remote chain send us XCM version change notifications.
2325
2558
  **/
2326
2559
  VersionNotifyRequested: GenericPalletEvent<
2560
+ Rv,
2327
2561
  'XcmPallet',
2328
2562
  'VersionNotifyRequested',
2329
- {
2330
- destination: StagingXcmV3MultilocationMultiLocation;
2331
- cost: XcmV3MultiassetMultiAssets;
2332
- messageId: FixedBytes<32>;
2333
- }
2563
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2334
2564
  >;
2335
2565
 
2336
2566
  /**
@@ -2338,37 +2568,41 @@ export interface ChainEvents extends GenericChainEvents {
2338
2568
  * notifications.
2339
2569
  **/
2340
2570
  VersionNotifyUnrequested: GenericPalletEvent<
2571
+ Rv,
2341
2572
  'XcmPallet',
2342
2573
  'VersionNotifyUnrequested',
2343
- {
2344
- destination: StagingXcmV3MultilocationMultiLocation;
2345
- cost: XcmV3MultiassetMultiAssets;
2346
- messageId: FixedBytes<32>;
2347
- }
2574
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2348
2575
  >;
2349
2576
 
2350
2577
  /**
2351
2578
  * Fees were paid from a location for an operation (often for using `SendXcm`).
2352
2579
  **/
2353
2580
  FeesPaid: GenericPalletEvent<
2581
+ Rv,
2354
2582
  'XcmPallet',
2355
2583
  'FeesPaid',
2356
- { paying: StagingXcmV3MultilocationMultiLocation; fees: XcmV3MultiassetMultiAssets }
2584
+ { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
2357
2585
  >;
2358
2586
 
2359
2587
  /**
2360
2588
  * Some assets have been claimed from an asset trap
2361
2589
  **/
2362
2590
  AssetsClaimed: GenericPalletEvent<
2591
+ Rv,
2363
2592
  'XcmPallet',
2364
2593
  'AssetsClaimed',
2365
- { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
2594
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
2366
2595
  >;
2367
2596
 
2597
+ /**
2598
+ * A XCM version migration finished.
2599
+ **/
2600
+ VersionMigrationFinished: GenericPalletEvent<Rv, 'XcmPallet', 'VersionMigrationFinished', { version: number }>;
2601
+
2368
2602
  /**
2369
2603
  * Generic pallet event
2370
2604
  **/
2371
- [prop: string]: GenericPalletEvent;
2605
+ [prop: string]: GenericPalletEvent<Rv>;
2372
2606
  };
2373
2607
  /**
2374
2608
  * Pallet `MessageQueue`'s events
@@ -2378,11 +2612,26 @@ export interface ChainEvents extends GenericChainEvents {
2378
2612
  * Message discarded due to an error in the `MessageProcessor` (usually a format error).
2379
2613
  **/
2380
2614
  ProcessingFailed: GenericPalletEvent<
2615
+ Rv,
2381
2616
  'MessageQueue',
2382
2617
  'ProcessingFailed',
2383
2618
  {
2384
- id: FixedBytes<32>;
2619
+ /**
2620
+ * The `blake2_256` hash of the message.
2621
+ **/
2622
+ id: H256;
2623
+
2624
+ /**
2625
+ * The queue of the message.
2626
+ **/
2385
2627
  origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2628
+
2629
+ /**
2630
+ * The error that occurred.
2631
+ *
2632
+ * This error is pretty opaque. More fine-grained errors need to be emitted as events
2633
+ * by the `MessageProcessor`.
2634
+ **/
2386
2635
  error: FrameSupportMessagesProcessMessageError;
2387
2636
  }
2388
2637
  >;
@@ -2391,12 +2640,33 @@ export interface ChainEvents extends GenericChainEvents {
2391
2640
  * Message is processed.
2392
2641
  **/
2393
2642
  Processed: GenericPalletEvent<
2643
+ Rv,
2394
2644
  'MessageQueue',
2395
2645
  'Processed',
2396
2646
  {
2397
- id: FixedBytes<32>;
2647
+ /**
2648
+ * The `blake2_256` hash of the message.
2649
+ **/
2650
+ id: H256;
2651
+
2652
+ /**
2653
+ * The queue of the message.
2654
+ **/
2398
2655
  origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2656
+
2657
+ /**
2658
+ * How much weight was used to process the message.
2659
+ **/
2399
2660
  weightUsed: SpWeightsWeightV2Weight;
2661
+
2662
+ /**
2663
+ * Whether the message was processed.
2664
+ *
2665
+ * Note that this does not mean that the underlying `MessageProcessor` was internally
2666
+ * successful. It *solely* means that the MQ pallet will treat this as a success
2667
+ * condition and discard the message. Any internal error needs to be emitted as events
2668
+ * by the `MessageProcessor`.
2669
+ **/
2400
2670
  success: boolean;
2401
2671
  }
2402
2672
  >;
@@ -2405,12 +2675,28 @@ export interface ChainEvents extends GenericChainEvents {
2405
2675
  * Message placed in overweight queue.
2406
2676
  **/
2407
2677
  OverweightEnqueued: GenericPalletEvent<
2678
+ Rv,
2408
2679
  'MessageQueue',
2409
2680
  'OverweightEnqueued',
2410
2681
  {
2682
+ /**
2683
+ * The `blake2_256` hash of the message.
2684
+ **/
2411
2685
  id: FixedBytes<32>;
2686
+
2687
+ /**
2688
+ * The queue of the message.
2689
+ **/
2412
2690
  origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2691
+
2692
+ /**
2693
+ * The page of the message.
2694
+ **/
2413
2695
  pageIndex: number;
2696
+
2697
+ /**
2698
+ * The index of the message within the page.
2699
+ **/
2414
2700
  messageIndex: number;
2415
2701
  }
2416
2702
  >;
@@ -2419,31 +2705,45 @@ export interface ChainEvents extends GenericChainEvents {
2419
2705
  * This page was reaped.
2420
2706
  **/
2421
2707
  PageReaped: GenericPalletEvent<
2708
+ Rv,
2422
2709
  'MessageQueue',
2423
2710
  'PageReaped',
2424
- { origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin; index: number }
2711
+ {
2712
+ /**
2713
+ * The queue of the page.
2714
+ **/
2715
+ origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2716
+
2717
+ /**
2718
+ * The index of the page.
2719
+ **/
2720
+ index: number;
2721
+ }
2425
2722
  >;
2426
2723
 
2427
2724
  /**
2428
2725
  * Generic pallet event
2429
2726
  **/
2430
- [prop: string]: GenericPalletEvent;
2727
+ [prop: string]: GenericPalletEvent<Rv>;
2431
2728
  };
2432
2729
  /**
2433
2730
  * Pallet `AssetRate`'s events
2434
2731
  **/
2435
2732
  assetRate: {
2436
2733
  AssetRateCreated: GenericPalletEvent<
2734
+ Rv,
2437
2735
  'AssetRate',
2438
2736
  'AssetRateCreated',
2439
2737
  { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; rate: FixedU128 }
2440
2738
  >;
2441
2739
  AssetRateRemoved: GenericPalletEvent<
2740
+ Rv,
2442
2741
  'AssetRate',
2443
2742
  'AssetRateRemoved',
2444
2743
  { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset }
2445
2744
  >;
2446
2745
  AssetRateUpdated: GenericPalletEvent<
2746
+ Rv,
2447
2747
  'AssetRate',
2448
2748
  'AssetRateUpdated',
2449
2749
  { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 }
@@ -2452,6 +2752,31 @@ export interface ChainEvents extends GenericChainEvents {
2452
2752
  /**
2453
2753
  * Generic pallet event
2454
2754
  **/
2455
- [prop: string]: GenericPalletEvent;
2755
+ [prop: string]: GenericPalletEvent<Rv>;
2756
+ };
2757
+ /**
2758
+ * Pallet `IdentityMigrator`'s events
2759
+ **/
2760
+ identityMigrator: {
2761
+ /**
2762
+ * The identity and all sub accounts were reaped for `who`.
2763
+ **/
2764
+ IdentityReaped: GenericPalletEvent<Rv, 'IdentityMigrator', 'IdentityReaped', { who: AccountId32 }>;
2765
+
2766
+ /**
2767
+ * The deposits held for `who` were updated. `identity` is the new deposit held for
2768
+ * identity info, and `subs` is the new deposit held for the sub-accounts.
2769
+ **/
2770
+ DepositUpdated: GenericPalletEvent<
2771
+ Rv,
2772
+ 'IdentityMigrator',
2773
+ 'DepositUpdated',
2774
+ { who: AccountId32; identity: bigint; subs: bigint }
2775
+ >;
2776
+
2777
+ /**
2778
+ * Generic pallet event
2779
+ **/
2780
+ [prop: string]: GenericPalletEvent<Rv>;
2456
2781
  };
2457
2782
  }