@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,
@@ -13,17 +13,15 @@ import type {
13
13
  EthereumAddress,
14
14
  Perquintill,
15
15
  FixedU128,
16
- } from '@dedot/codecs';
16
+ } from 'dedot/codecs';
17
17
  import type {
18
18
  FrameSupportTokensMiscBalanceStatus,
19
19
  PalletStakingRewardDestination,
20
20
  PalletStakingValidatorPrefs,
21
21
  PalletStakingForcing,
22
22
  SpConsensusGrandpaAppPublic,
23
- PalletImOnlineSr25519AppSr25519Public,
24
- PalletStakingExposure,
25
23
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
26
- XcmVersionedMultiLocation,
24
+ XcmVersionedLocation,
27
25
  FrameSupportPreimagesBounded,
28
26
  PalletConvictionVotingTally,
29
27
  PalletRankedCollectiveVoteRecord,
@@ -38,6 +36,7 @@ import type {
38
36
  PalletElectionProviderMultiPhasePhase,
39
37
  PalletNominationPoolsPoolState,
40
38
  PalletNominationPoolsCommissionChangeRate,
39
+ PalletNominationPoolsCommissionClaimPermission,
41
40
  PolkadotPrimitivesV6CandidateReceipt,
42
41
  PolkadotParachainPrimitivesPrimitivesHeadData,
43
42
  PolkadotPrimitivesV6CoreIndex,
@@ -48,21 +47,19 @@ import type {
48
47
  PolkadotCorePrimitivesCandidateHash,
49
48
  PolkadotRuntimeParachainsDisputesDisputeLocation,
50
49
  PolkadotRuntimeParachainsDisputesDisputeResult,
51
- PalletStateTrieMigrationMigrationCompute,
52
- PalletStateTrieMigrationError,
53
- XcmV3TraitsOutcome,
54
- StagingXcmV3MultilocationMultiLocation,
55
- XcmV3Xcm,
56
- XcmV3Response,
50
+ StagingXcmV4TraitsOutcome,
51
+ StagingXcmV4Location,
52
+ StagingXcmV4Xcm,
53
+ StagingXcmV4Response,
57
54
  SpWeightsWeightV2Weight,
58
- XcmVersionedMultiAssets,
59
- XcmV3MultiassetMultiAssets,
55
+ XcmVersionedAssets,
56
+ StagingXcmV4AssetAssets,
60
57
  XcmV3TraitsError,
61
58
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
62
59
  FrameSupportMessagesProcessMessageError,
63
60
  } from './types';
64
61
 
65
- export interface ChainEvents extends GenericChainEvents {
62
+ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
66
63
  /**
67
64
  * Pallet `System`'s events
68
65
  **/
@@ -70,12 +67,13 @@ export interface ChainEvents extends GenericChainEvents {
70
67
  /**
71
68
  * An extrinsic completed successfully.
72
69
  **/
73
- ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
70
+ ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
74
71
 
75
72
  /**
76
73
  * An extrinsic failed.
77
74
  **/
78
75
  ExtrinsicFailed: GenericPalletEvent<
76
+ Rv,
79
77
  'System',
80
78
  'ExtrinsicFailed',
81
79
  { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
@@ -84,27 +82,32 @@ export interface ChainEvents extends GenericChainEvents {
84
82
  /**
85
83
  * `:code` was updated.
86
84
  **/
87
- CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
85
+ CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
88
86
 
89
87
  /**
90
88
  * A new account was created.
91
89
  **/
92
- NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
90
+ NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId32 }>;
93
91
 
94
92
  /**
95
93
  * An account was reaped.
96
94
  **/
97
- KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
95
+ KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId32 }>;
98
96
 
99
97
  /**
100
98
  * On on-chain remark happened.
101
99
  **/
102
- Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
100
+ Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
101
+
102
+ /**
103
+ * An upgrade was authorized.
104
+ **/
105
+ UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
103
106
 
104
107
  /**
105
108
  * Generic pallet event
106
109
  **/
107
- [prop: string]: GenericPalletEvent;
110
+ [prop: string]: GenericPalletEvent<Rv>;
108
111
  };
109
112
  /**
110
113
  * Pallet `Indices`'s events
@@ -113,22 +116,22 @@ export interface ChainEvents extends GenericChainEvents {
113
116
  /**
114
117
  * A account index was assigned.
115
118
  **/
116
- IndexAssigned: GenericPalletEvent<'Indices', 'IndexAssigned', { who: AccountId32; index: number }>;
119
+ IndexAssigned: GenericPalletEvent<Rv, 'Indices', 'IndexAssigned', { who: AccountId32; index: number }>;
117
120
 
118
121
  /**
119
122
  * A account index has been freed up (unassigned).
120
123
  **/
121
- IndexFreed: GenericPalletEvent<'Indices', 'IndexFreed', { index: number }>;
124
+ IndexFreed: GenericPalletEvent<Rv, 'Indices', 'IndexFreed', { index: number }>;
122
125
 
123
126
  /**
124
127
  * A account index has been frozen to its current account ID.
125
128
  **/
126
- IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
129
+ IndexFrozen: GenericPalletEvent<Rv, 'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
127
130
 
128
131
  /**
129
132
  * Generic pallet event
130
133
  **/
131
- [prop: string]: GenericPalletEvent;
134
+ [prop: string]: GenericPalletEvent<Rv>;
132
135
  };
133
136
  /**
134
137
  * Pallet `Balances`'s events
@@ -137,39 +140,40 @@ export interface ChainEvents extends GenericChainEvents {
137
140
  /**
138
141
  * An account was created with some free balance.
139
142
  **/
140
- Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
143
+ Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
141
144
 
142
145
  /**
143
146
  * An account was removed whose balance was non-zero but below ExistentialDeposit,
144
147
  * resulting in an outright loss.
145
148
  **/
146
- DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
149
+ DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
147
150
 
148
151
  /**
149
152
  * Transfer succeeded.
150
153
  **/
151
- Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
154
+ Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
152
155
 
153
156
  /**
154
157
  * A balance was set by root.
155
158
  **/
156
- BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
159
+ BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
157
160
 
158
161
  /**
159
162
  * Some balance was reserved (moved from free to reserved).
160
163
  **/
161
- Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
164
+ Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
162
165
 
163
166
  /**
164
167
  * Some balance was unreserved (moved from reserved to free).
165
168
  **/
166
- Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
169
+ Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
167
170
 
168
171
  /**
169
172
  * Some balance was moved from the reserve of the first account to the second account.
170
173
  * Final argument indicates the destination balance type.
171
174
  **/
172
175
  ReserveRepatriated: GenericPalletEvent<
176
+ Rv,
173
177
  'Balances',
174
178
  'ReserveRepatriated',
175
179
  { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
@@ -178,77 +182,82 @@ export interface ChainEvents extends GenericChainEvents {
178
182
  /**
179
183
  * Some amount was deposited (e.g. for transaction fees).
180
184
  **/
181
- Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
185
+ Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
182
186
 
183
187
  /**
184
188
  * Some amount was withdrawn from the account (e.g. for transaction fees).
185
189
  **/
186
- Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
190
+ Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
187
191
 
188
192
  /**
189
193
  * Some amount was removed from the account (e.g. for misbehavior).
190
194
  **/
191
- Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
195
+ Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
192
196
 
193
197
  /**
194
198
  * Some amount was minted into an account.
195
199
  **/
196
- Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
200
+ Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
197
201
 
198
202
  /**
199
203
  * Some amount was burned from an account.
200
204
  **/
201
- Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
205
+ Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
202
206
 
203
207
  /**
204
208
  * Some amount was suspended from an account (it can be restored later).
205
209
  **/
206
- Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
210
+ Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
207
211
 
208
212
  /**
209
213
  * Some amount was restored into an account.
210
214
  **/
211
- Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
215
+ Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
212
216
 
213
217
  /**
214
218
  * An account was upgraded.
215
219
  **/
216
- Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
220
+ Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId32 }>;
217
221
 
218
222
  /**
219
223
  * Total issuance was increased by `amount`, creating a credit to be balanced.
220
224
  **/
221
- Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
225
+ Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
222
226
 
223
227
  /**
224
228
  * Total issuance was decreased by `amount`, creating a debt to be balanced.
225
229
  **/
226
- Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
230
+ Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
227
231
 
228
232
  /**
229
233
  * Some balance was locked.
230
234
  **/
231
- Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
235
+ Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
232
236
 
233
237
  /**
234
238
  * Some balance was unlocked.
235
239
  **/
236
- Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
240
+ Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
237
241
 
238
242
  /**
239
243
  * Some balance was frozen.
240
244
  **/
241
- Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
245
+ Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
242
246
 
243
247
  /**
244
248
  * Some balance was thawed.
245
249
  **/
246
- Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
250
+ Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
251
+
252
+ /**
253
+ * The `TotalIssuance` was forcefully changed.
254
+ **/
255
+ TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
247
256
 
248
257
  /**
249
258
  * Generic pallet event
250
259
  **/
251
- [prop: string]: GenericPalletEvent;
260
+ [prop: string]: GenericPalletEvent<Rv>;
252
261
  };
253
262
  /**
254
263
  * Pallet `TransactionPayment`'s events
@@ -259,6 +268,7 @@ export interface ChainEvents extends GenericChainEvents {
259
268
  * has been paid by `who`.
260
269
  **/
261
270
  TransactionFeePaid: GenericPalletEvent<
271
+ Rv,
262
272
  'TransactionPayment',
263
273
  'TransactionFeePaid',
264
274
  { who: AccountId32; actualFee: bigint; tip: bigint }
@@ -267,7 +277,7 @@ export interface ChainEvents extends GenericChainEvents {
267
277
  /**
268
278
  * Generic pallet event
269
279
  **/
270
- [prop: string]: GenericPalletEvent;
280
+ [prop: string]: GenericPalletEvent<Rv>;
271
281
  };
272
282
  /**
273
283
  * Pallet `Staking`'s events
@@ -277,12 +287,18 @@ export interface ChainEvents extends GenericChainEvents {
277
287
  * The era payout has been set; the first balance is the validator-payout; the second is
278
288
  * the remainder from the maximum amount of reward.
279
289
  **/
280
- EraPaid: GenericPalletEvent<'Staking', 'EraPaid', { eraIndex: number; validatorPayout: bigint; remainder: bigint }>;
290
+ EraPaid: GenericPalletEvent<
291
+ Rv,
292
+ 'Staking',
293
+ 'EraPaid',
294
+ { eraIndex: number; validatorPayout: bigint; remainder: bigint }
295
+ >;
281
296
 
282
297
  /**
283
298
  * The nominator has been rewarded by this amount to this destination.
284
299
  **/
285
300
  Rewarded: GenericPalletEvent<
301
+ Rv,
286
302
  'Staking',
287
303
  'Rewarded',
288
304
  { stash: AccountId32; dest: PalletStakingRewardDestination; amount: bigint }
@@ -291,13 +307,14 @@ export interface ChainEvents extends GenericChainEvents {
291
307
  /**
292
308
  * A staker (validator or nominator) has been slashed by the given amount.
293
309
  **/
294
- Slashed: GenericPalletEvent<'Staking', 'Slashed', { staker: AccountId32; amount: bigint }>;
310
+ Slashed: GenericPalletEvent<Rv, 'Staking', 'Slashed', { staker: AccountId32; amount: bigint }>;
295
311
 
296
312
  /**
297
313
  * A slash for the given validator, for the given percentage of their stake, at the given
298
314
  * era as been reported.
299
315
  **/
300
316
  SlashReported: GenericPalletEvent<
317
+ Rv,
301
318
  'Staking',
302
319
  'SlashReported',
303
320
  { validator: AccountId32; fraction: Perbill; slashEra: number }
@@ -307,12 +324,17 @@ export interface ChainEvents extends GenericChainEvents {
307
324
  * An old slashing report from a prior era was discarded because it could
308
325
  * not be processed.
309
326
  **/
310
- OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', { sessionIndex: number }>;
327
+ OldSlashingReportDiscarded: GenericPalletEvent<
328
+ Rv,
329
+ 'Staking',
330
+ 'OldSlashingReportDiscarded',
331
+ { sessionIndex: number }
332
+ >;
311
333
 
312
334
  /**
313
335
  * A new set of stakers was elected.
314
336
  **/
315
- StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
337
+ StakersElected: GenericPalletEvent<Rv, 'Staking', 'StakersElected', null>;
316
338
 
317
339
  /**
318
340
  * An account has bonded this amount. \[stash, amount\]
@@ -320,43 +342,49 @@ export interface ChainEvents extends GenericChainEvents {
320
342
  * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
321
343
  * it will not be emitted for staking rewards when they are added to stake.
322
344
  **/
323
- Bonded: GenericPalletEvent<'Staking', 'Bonded', { stash: AccountId32; amount: bigint }>;
345
+ Bonded: GenericPalletEvent<Rv, 'Staking', 'Bonded', { stash: AccountId32; amount: bigint }>;
324
346
 
325
347
  /**
326
348
  * An account has unbonded this amount.
327
349
  **/
328
- Unbonded: GenericPalletEvent<'Staking', 'Unbonded', { stash: AccountId32; amount: bigint }>;
350
+ Unbonded: GenericPalletEvent<Rv, 'Staking', 'Unbonded', { stash: AccountId32; amount: bigint }>;
329
351
 
330
352
  /**
331
353
  * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
332
354
  * from the unlocking queue.
333
355
  **/
334
- Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', { stash: AccountId32; amount: bigint }>;
356
+ Withdrawn: GenericPalletEvent<Rv, 'Staking', 'Withdrawn', { stash: AccountId32; amount: bigint }>;
335
357
 
336
358
  /**
337
359
  * A nominator has been kicked from a validator.
338
360
  **/
339
- Kicked: GenericPalletEvent<'Staking', 'Kicked', { nominator: AccountId32; stash: AccountId32 }>;
361
+ Kicked: GenericPalletEvent<Rv, 'Staking', 'Kicked', { nominator: AccountId32; stash: AccountId32 }>;
340
362
 
341
363
  /**
342
364
  * The election failed. No new era is planned.
343
365
  **/
344
- StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
366
+ StakingElectionFailed: GenericPalletEvent<Rv, 'Staking', 'StakingElectionFailed', null>;
345
367
 
346
368
  /**
347
369
  * An account has stopped participating as either a validator or nominator.
348
370
  **/
349
- Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
371
+ Chilled: GenericPalletEvent<Rv, 'Staking', 'Chilled', { stash: AccountId32 }>;
350
372
 
351
373
  /**
352
374
  * The stakers' rewards are getting paid.
353
375
  **/
354
- PayoutStarted: GenericPalletEvent<'Staking', 'PayoutStarted', { eraIndex: number; validatorStash: AccountId32 }>;
376
+ PayoutStarted: GenericPalletEvent<
377
+ Rv,
378
+ 'Staking',
379
+ 'PayoutStarted',
380
+ { eraIndex: number; validatorStash: AccountId32 }
381
+ >;
355
382
 
356
383
  /**
357
384
  * A validator has set their preferences.
358
385
  **/
359
386
  ValidatorPrefsSet: GenericPalletEvent<
387
+ Rv,
360
388
  'Staking',
361
389
  'ValidatorPrefsSet',
362
390
  { stash: AccountId32; prefs: PalletStakingValidatorPrefs }
@@ -365,22 +393,27 @@ export interface ChainEvents extends GenericChainEvents {
365
393
  /**
366
394
  * Voters size limit reached.
367
395
  **/
368
- SnapshotVotersSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotVotersSizeExceeded', { size: number }>;
396
+ SnapshotVotersSizeExceeded: GenericPalletEvent<Rv, 'Staking', 'SnapshotVotersSizeExceeded', { size: number }>;
369
397
 
370
398
  /**
371
399
  * Targets size limit reached.
372
400
  **/
373
- SnapshotTargetsSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotTargetsSizeExceeded', { size: number }>;
401
+ SnapshotTargetsSizeExceeded: GenericPalletEvent<Rv, 'Staking', 'SnapshotTargetsSizeExceeded', { size: number }>;
374
402
 
375
403
  /**
376
404
  * A new force era mode was set.
377
405
  **/
378
- ForceEra: GenericPalletEvent<'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
406
+ ForceEra: GenericPalletEvent<Rv, 'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
407
+
408
+ /**
409
+ * Report of a controller batch deprecation.
410
+ **/
411
+ ControllerBatchDeprecated: GenericPalletEvent<Rv, 'Staking', 'ControllerBatchDeprecated', { failures: number }>;
379
412
 
380
413
  /**
381
414
  * Generic pallet event
382
415
  **/
383
- [prop: string]: GenericPalletEvent;
416
+ [prop: string]: GenericPalletEvent<Rv>;
384
417
  };
385
418
  /**
386
419
  * Pallet `Offences`'s events
@@ -391,12 +424,12 @@ export interface ChainEvents extends GenericChainEvents {
391
424
  * (kind-specific) time slot. This event is not deposited for duplicate slashes.
392
425
  * \[kind, timeslot\].
393
426
  **/
394
- Offence: GenericPalletEvent<'Offences', 'Offence', { kind: FixedBytes<16>; timeslot: Bytes }>;
427
+ Offence: GenericPalletEvent<Rv, 'Offences', 'Offence', { kind: FixedBytes<16>; timeslot: Bytes }>;
395
428
 
396
429
  /**
397
430
  * Generic pallet event
398
431
  **/
399
- [prop: string]: GenericPalletEvent;
432
+ [prop: string]: GenericPalletEvent<Rv>;
400
433
  };
401
434
  /**
402
435
  * Pallet `Session`'s events
@@ -406,12 +439,12 @@ export interface ChainEvents extends GenericChainEvents {
406
439
  * New session has happened. Note that the argument is the session index, not the
407
440
  * block number as the type might suggest.
408
441
  **/
409
- NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
442
+ NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
410
443
 
411
444
  /**
412
445
  * Generic pallet event
413
446
  **/
414
- [prop: string]: GenericPalletEvent;
447
+ [prop: string]: GenericPalletEvent<Rv>;
415
448
  };
416
449
  /**
417
450
  * Pallet `Grandpa`'s events
@@ -421,6 +454,7 @@ export interface ChainEvents extends GenericChainEvents {
421
454
  * New authority set has been applied.
422
455
  **/
423
456
  NewAuthorities: GenericPalletEvent<
457
+ Rv,
424
458
  'Grandpa',
425
459
  'NewAuthorities',
426
460
  { authoritySet: Array<[SpConsensusGrandpaAppPublic, bigint]> }
@@ -429,49 +463,17 @@ export interface ChainEvents extends GenericChainEvents {
429
463
  /**
430
464
  * Current authority set has been paused.
431
465
  **/
432
- Paused: GenericPalletEvent<'Grandpa', 'Paused', null>;
466
+ Paused: GenericPalletEvent<Rv, 'Grandpa', 'Paused', null>;
433
467
 
434
468
  /**
435
469
  * Current authority set has been resumed.
436
470
  **/
437
- Resumed: GenericPalletEvent<'Grandpa', 'Resumed', null>;
438
-
439
- /**
440
- * Generic pallet event
441
- **/
442
- [prop: string]: GenericPalletEvent;
443
- };
444
- /**
445
- * Pallet `ImOnline`'s events
446
- **/
447
- imOnline: {
448
- /**
449
- * A new heartbeat was received from `AuthorityId`.
450
- **/
451
- HeartbeatReceived: GenericPalletEvent<
452
- 'ImOnline',
453
- 'HeartbeatReceived',
454
- { authorityId: PalletImOnlineSr25519AppSr25519Public }
455
- >;
456
-
457
- /**
458
- * At the end of the session, no offence was committed.
459
- **/
460
- AllGood: GenericPalletEvent<'ImOnline', 'AllGood', null>;
461
-
462
- /**
463
- * At the end of the session, at least one validator was found to be offline.
464
- **/
465
- SomeOffline: GenericPalletEvent<
466
- 'ImOnline',
467
- 'SomeOffline',
468
- { offline: Array<[AccountId32, PalletStakingExposure]> }
469
- >;
471
+ Resumed: GenericPalletEvent<Rv, 'Grandpa', 'Resumed', null>;
470
472
 
471
473
  /**
472
474
  * Generic pallet event
473
475
  **/
474
- [prop: string]: GenericPalletEvent;
476
+ [prop: string]: GenericPalletEvent<Rv>;
475
477
  };
476
478
  /**
477
479
  * Pallet `Treasury`'s events
@@ -480,42 +482,48 @@ export interface ChainEvents extends GenericChainEvents {
480
482
  /**
481
483
  * New proposal.
482
484
  **/
483
- Proposed: GenericPalletEvent<'Treasury', 'Proposed', { proposalIndex: number }>;
485
+ Proposed: GenericPalletEvent<Rv, 'Treasury', 'Proposed', { proposalIndex: number }>;
484
486
 
485
487
  /**
486
488
  * We have ended a spend period and will now allocate funds.
487
489
  **/
488
- Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
490
+ Spending: GenericPalletEvent<Rv, 'Treasury', 'Spending', { budgetRemaining: bigint }>;
489
491
 
490
492
  /**
491
493
  * Some funds have been allocated.
492
494
  **/
493
- Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId32 }>;
495
+ Awarded: GenericPalletEvent<
496
+ Rv,
497
+ 'Treasury',
498
+ 'Awarded',
499
+ { proposalIndex: number; award: bigint; account: AccountId32 }
500
+ >;
494
501
 
495
502
  /**
496
503
  * A proposal was rejected; funds were slashed.
497
504
  **/
498
- Rejected: GenericPalletEvent<'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
505
+ Rejected: GenericPalletEvent<Rv, 'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
499
506
 
500
507
  /**
501
508
  * Some of our funds have been burnt.
502
509
  **/
503
- Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
510
+ Burnt: GenericPalletEvent<Rv, 'Treasury', 'Burnt', { burntFunds: bigint }>;
504
511
 
505
512
  /**
506
513
  * Spending has finished; this is the amount that rolls over until next spend.
507
514
  **/
508
- Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
515
+ Rollover: GenericPalletEvent<Rv, 'Treasury', 'Rollover', { rolloverBalance: bigint }>;
509
516
 
510
517
  /**
511
518
  * Some funds have been deposited.
512
519
  **/
513
- Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
520
+ Deposit: GenericPalletEvent<Rv, 'Treasury', 'Deposit', { value: bigint }>;
514
521
 
515
522
  /**
516
523
  * A new spend proposal has been approved.
517
524
  **/
518
525
  SpendApproved: GenericPalletEvent<
526
+ Rv,
519
527
  'Treasury',
520
528
  'SpendApproved',
521
529
  { proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
@@ -524,19 +532,25 @@ export interface ChainEvents extends GenericChainEvents {
524
532
  /**
525
533
  * The inactive funds of the pallet have been updated.
526
534
  **/
527
- UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
535
+ UpdatedInactive: GenericPalletEvent<
536
+ Rv,
537
+ 'Treasury',
538
+ 'UpdatedInactive',
539
+ { reactivated: bigint; deactivated: bigint }
540
+ >;
528
541
 
529
542
  /**
530
543
  * A new asset spend proposal has been approved.
531
544
  **/
532
545
  AssetSpendApproved: GenericPalletEvent<
546
+ Rv,
533
547
  'Treasury',
534
548
  'AssetSpendApproved',
535
549
  {
536
550
  index: number;
537
551
  assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
538
552
  amount: bigint;
539
- beneficiary: XcmVersionedMultiLocation;
553
+ beneficiary: XcmVersionedLocation;
540
554
  validFrom: number;
541
555
  expireAt: number;
542
556
  }
@@ -545,28 +559,28 @@ export interface ChainEvents extends GenericChainEvents {
545
559
  /**
546
560
  * An approved spend was voided.
547
561
  **/
548
- AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', { index: number }>;
562
+ AssetSpendVoided: GenericPalletEvent<Rv, 'Treasury', 'AssetSpendVoided', { index: number }>;
549
563
 
550
564
  /**
551
565
  * A payment happened.
552
566
  **/
553
- Paid: GenericPalletEvent<'Treasury', 'Paid', { index: number; paymentId: bigint }>;
567
+ Paid: GenericPalletEvent<Rv, 'Treasury', 'Paid', { index: number; paymentId: bigint }>;
554
568
 
555
569
  /**
556
570
  * A payment failed and can be retried.
557
571
  **/
558
- PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', { index: number; paymentId: bigint }>;
572
+ PaymentFailed: GenericPalletEvent<Rv, 'Treasury', 'PaymentFailed', { index: number; paymentId: bigint }>;
559
573
 
560
574
  /**
561
575
  * A spend was processed and removed from the storage. It might have been successfully
562
576
  * paid or it may have expired.
563
577
  **/
564
- SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', { index: number }>;
578
+ SpendProcessed: GenericPalletEvent<Rv, 'Treasury', 'SpendProcessed', { index: number }>;
565
579
 
566
580
  /**
567
581
  * Generic pallet event
568
582
  **/
569
- [prop: string]: GenericPalletEvent;
583
+ [prop: string]: GenericPalletEvent<Rv>;
570
584
  };
571
585
  /**
572
586
  * Pallet `ConvictionVoting`'s events
@@ -575,17 +589,17 @@ export interface ChainEvents extends GenericChainEvents {
575
589
  /**
576
590
  * An account has delegated their vote to another account. \[who, target\]
577
591
  **/
578
- Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
592
+ Delegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
579
593
 
580
594
  /**
581
595
  * An \[account\] has cancelled a previous delegation operation.
582
596
  **/
583
- Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
597
+ Undelegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Undelegated', AccountId32>;
584
598
 
585
599
  /**
586
600
  * Generic pallet event
587
601
  **/
588
- [prop: string]: GenericPalletEvent;
602
+ [prop: string]: GenericPalletEvent<Rv>;
589
603
  };
590
604
  /**
591
605
  * Pallet `Referenda`'s events
@@ -595,6 +609,7 @@ export interface ChainEvents extends GenericChainEvents {
595
609
  * A referendum has been submitted.
596
610
  **/
597
611
  Submitted: GenericPalletEvent<
612
+ Rv,
598
613
  'Referenda',
599
614
  'Submitted',
600
615
  {
@@ -619,6 +634,7 @@ export interface ChainEvents extends GenericChainEvents {
619
634
  * The decision deposit has been placed.
620
635
  **/
621
636
  DecisionDepositPlaced: GenericPalletEvent<
637
+ Rv,
622
638
  'Referenda',
623
639
  'DecisionDepositPlaced',
624
640
  {
@@ -643,6 +659,7 @@ export interface ChainEvents extends GenericChainEvents {
643
659
  * The decision deposit has been refunded.
644
660
  **/
645
661
  DecisionDepositRefunded: GenericPalletEvent<
662
+ Rv,
646
663
  'Referenda',
647
664
  'DecisionDepositRefunded',
648
665
  {
@@ -664,9 +681,10 @@ export interface ChainEvents extends GenericChainEvents {
664
681
  >;
665
682
 
666
683
  /**
667
- * A deposit has been slashaed.
684
+ * A deposit has been slashed.
668
685
  **/
669
686
  DepositSlashed: GenericPalletEvent<
687
+ Rv,
670
688
  'Referenda',
671
689
  'DepositSlashed',
672
690
  {
@@ -686,6 +704,7 @@ export interface ChainEvents extends GenericChainEvents {
686
704
  * A referendum has moved into the deciding phase.
687
705
  **/
688
706
  DecisionStarted: GenericPalletEvent<
707
+ Rv,
689
708
  'Referenda',
690
709
  'DecisionStarted',
691
710
  {
@@ -711,6 +730,7 @@ export interface ChainEvents extends GenericChainEvents {
711
730
  }
712
731
  >;
713
732
  ConfirmStarted: GenericPalletEvent<
733
+ Rv,
714
734
  'Referenda',
715
735
  'ConfirmStarted',
716
736
  {
@@ -721,6 +741,7 @@ export interface ChainEvents extends GenericChainEvents {
721
741
  }
722
742
  >;
723
743
  ConfirmAborted: GenericPalletEvent<
744
+ Rv,
724
745
  'Referenda',
725
746
  'ConfirmAborted',
726
747
  {
@@ -735,6 +756,7 @@ export interface ChainEvents extends GenericChainEvents {
735
756
  * A referendum has ended its confirmation phase and is ready for approval.
736
757
  **/
737
758
  Confirmed: GenericPalletEvent<
759
+ Rv,
738
760
  'Referenda',
739
761
  'Confirmed',
740
762
  {
@@ -754,6 +776,7 @@ export interface ChainEvents extends GenericChainEvents {
754
776
  * A referendum has been approved and its proposal has been scheduled.
755
777
  **/
756
778
  Approved: GenericPalletEvent<
779
+ Rv,
757
780
  'Referenda',
758
781
  'Approved',
759
782
  {
@@ -768,6 +791,7 @@ export interface ChainEvents extends GenericChainEvents {
768
791
  * A proposal has been rejected by referendum.
769
792
  **/
770
793
  Rejected: GenericPalletEvent<
794
+ Rv,
771
795
  'Referenda',
772
796
  'Rejected',
773
797
  {
@@ -787,6 +811,7 @@ export interface ChainEvents extends GenericChainEvents {
787
811
  * A referendum has been timed out without being decided.
788
812
  **/
789
813
  TimedOut: GenericPalletEvent<
814
+ Rv,
790
815
  'Referenda',
791
816
  'TimedOut',
792
817
  {
@@ -806,6 +831,7 @@ export interface ChainEvents extends GenericChainEvents {
806
831
  * A referendum has been cancelled.
807
832
  **/
808
833
  Cancelled: GenericPalletEvent<
834
+ Rv,
809
835
  'Referenda',
810
836
  'Cancelled',
811
837
  {
@@ -825,6 +851,7 @@ export interface ChainEvents extends GenericChainEvents {
825
851
  * A referendum has been killed.
826
852
  **/
827
853
  Killed: GenericPalletEvent<
854
+ Rv,
828
855
  'Referenda',
829
856
  'Killed',
830
857
  {
@@ -844,6 +871,7 @@ export interface ChainEvents extends GenericChainEvents {
844
871
  * The submission deposit has been refunded.
845
872
  **/
846
873
  SubmissionDepositRefunded: GenericPalletEvent<
874
+ Rv,
847
875
  'Referenda',
848
876
  'SubmissionDepositRefunded',
849
877
  {
@@ -868,6 +896,7 @@ export interface ChainEvents extends GenericChainEvents {
868
896
  * Metadata for a referendum has been set.
869
897
  **/
870
898
  MetadataSet: GenericPalletEvent<
899
+ Rv,
871
900
  'Referenda',
872
901
  'MetadataSet',
873
902
  {
@@ -887,6 +916,7 @@ export interface ChainEvents extends GenericChainEvents {
887
916
  * Metadata for a referendum has been cleared.
888
917
  **/
889
918
  MetadataCleared: GenericPalletEvent<
919
+ Rv,
890
920
  'Referenda',
891
921
  'MetadataCleared',
892
922
  {
@@ -905,7 +935,7 @@ export interface ChainEvents extends GenericChainEvents {
905
935
  /**
906
936
  * Generic pallet event
907
937
  **/
908
- [prop: string]: GenericPalletEvent;
938
+ [prop: string]: GenericPalletEvent<Rv>;
909
939
  };
910
940
  /**
911
941
  * Pallet `FellowshipCollective`'s events
@@ -914,32 +944,43 @@ export interface ChainEvents extends GenericChainEvents {
914
944
  /**
915
945
  * A member `who` has been added.
916
946
  **/
917
- MemberAdded: GenericPalletEvent<'FellowshipCollective', 'MemberAdded', { who: AccountId32 }>;
947
+ MemberAdded: GenericPalletEvent<Rv, 'FellowshipCollective', 'MemberAdded', { who: AccountId32 }>;
918
948
 
919
949
  /**
920
950
  * The member `who`se rank has been changed to the given `rank`.
921
951
  **/
922
- RankChanged: GenericPalletEvent<'FellowshipCollective', 'RankChanged', { who: AccountId32; rank: number }>;
952
+ RankChanged: GenericPalletEvent<Rv, 'FellowshipCollective', 'RankChanged', { who: AccountId32; rank: number }>;
923
953
 
924
954
  /**
925
955
  * The member `who` of given `rank` has been removed from the collective.
926
956
  **/
927
- MemberRemoved: GenericPalletEvent<'FellowshipCollective', 'MemberRemoved', { who: AccountId32; rank: number }>;
957
+ MemberRemoved: GenericPalletEvent<Rv, 'FellowshipCollective', 'MemberRemoved', { who: AccountId32; rank: number }>;
928
958
 
929
959
  /**
930
960
  * The member `who` has voted for the `poll` with the given `vote` leading to an updated
931
961
  * `tally`.
932
962
  **/
933
963
  Voted: GenericPalletEvent<
964
+ Rv,
934
965
  'FellowshipCollective',
935
966
  'Voted',
936
967
  { who: AccountId32; poll: number; vote: PalletRankedCollectiveVoteRecord; tally: PalletRankedCollectiveTally }
937
968
  >;
938
969
 
970
+ /**
971
+ * The member `who` had their `AccountId` changed to `new_who`.
972
+ **/
973
+ MemberExchanged: GenericPalletEvent<
974
+ Rv,
975
+ 'FellowshipCollective',
976
+ 'MemberExchanged',
977
+ { who: AccountId32; newWho: AccountId32 }
978
+ >;
979
+
939
980
  /**
940
981
  * Generic pallet event
941
982
  **/
942
- [prop: string]: GenericPalletEvent;
983
+ [prop: string]: GenericPalletEvent<Rv>;
943
984
  };
944
985
  /**
945
986
  * Pallet `FellowshipReferenda`'s events
@@ -949,6 +990,7 @@ export interface ChainEvents extends GenericChainEvents {
949
990
  * A referendum has been submitted.
950
991
  **/
951
992
  Submitted: GenericPalletEvent<
993
+ Rv,
952
994
  'FellowshipReferenda',
953
995
  'Submitted',
954
996
  {
@@ -973,6 +1015,7 @@ export interface ChainEvents extends GenericChainEvents {
973
1015
  * The decision deposit has been placed.
974
1016
  **/
975
1017
  DecisionDepositPlaced: GenericPalletEvent<
1018
+ Rv,
976
1019
  'FellowshipReferenda',
977
1020
  'DecisionDepositPlaced',
978
1021
  {
@@ -997,6 +1040,7 @@ export interface ChainEvents extends GenericChainEvents {
997
1040
  * The decision deposit has been refunded.
998
1041
  **/
999
1042
  DecisionDepositRefunded: GenericPalletEvent<
1043
+ Rv,
1000
1044
  'FellowshipReferenda',
1001
1045
  'DecisionDepositRefunded',
1002
1046
  {
@@ -1018,9 +1062,10 @@ export interface ChainEvents extends GenericChainEvents {
1018
1062
  >;
1019
1063
 
1020
1064
  /**
1021
- * A deposit has been slashaed.
1065
+ * A deposit has been slashed.
1022
1066
  **/
1023
1067
  DepositSlashed: GenericPalletEvent<
1068
+ Rv,
1024
1069
  'FellowshipReferenda',
1025
1070
  'DepositSlashed',
1026
1071
  {
@@ -1040,6 +1085,7 @@ export interface ChainEvents extends GenericChainEvents {
1040
1085
  * A referendum has moved into the deciding phase.
1041
1086
  **/
1042
1087
  DecisionStarted: GenericPalletEvent<
1088
+ Rv,
1043
1089
  'FellowshipReferenda',
1044
1090
  'DecisionStarted',
1045
1091
  {
@@ -1065,6 +1111,7 @@ export interface ChainEvents extends GenericChainEvents {
1065
1111
  }
1066
1112
  >;
1067
1113
  ConfirmStarted: GenericPalletEvent<
1114
+ Rv,
1068
1115
  'FellowshipReferenda',
1069
1116
  'ConfirmStarted',
1070
1117
  {
@@ -1075,6 +1122,7 @@ export interface ChainEvents extends GenericChainEvents {
1075
1122
  }
1076
1123
  >;
1077
1124
  ConfirmAborted: GenericPalletEvent<
1125
+ Rv,
1078
1126
  'FellowshipReferenda',
1079
1127
  'ConfirmAborted',
1080
1128
  {
@@ -1089,6 +1137,7 @@ export interface ChainEvents extends GenericChainEvents {
1089
1137
  * A referendum has ended its confirmation phase and is ready for approval.
1090
1138
  **/
1091
1139
  Confirmed: GenericPalletEvent<
1140
+ Rv,
1092
1141
  'FellowshipReferenda',
1093
1142
  'Confirmed',
1094
1143
  {
@@ -1108,6 +1157,7 @@ export interface ChainEvents extends GenericChainEvents {
1108
1157
  * A referendum has been approved and its proposal has been scheduled.
1109
1158
  **/
1110
1159
  Approved: GenericPalletEvent<
1160
+ Rv,
1111
1161
  'FellowshipReferenda',
1112
1162
  'Approved',
1113
1163
  {
@@ -1122,6 +1172,7 @@ export interface ChainEvents extends GenericChainEvents {
1122
1172
  * A proposal has been rejected by referendum.
1123
1173
  **/
1124
1174
  Rejected: GenericPalletEvent<
1175
+ Rv,
1125
1176
  'FellowshipReferenda',
1126
1177
  'Rejected',
1127
1178
  {
@@ -1141,6 +1192,7 @@ export interface ChainEvents extends GenericChainEvents {
1141
1192
  * A referendum has been timed out without being decided.
1142
1193
  **/
1143
1194
  TimedOut: GenericPalletEvent<
1195
+ Rv,
1144
1196
  'FellowshipReferenda',
1145
1197
  'TimedOut',
1146
1198
  {
@@ -1160,6 +1212,7 @@ export interface ChainEvents extends GenericChainEvents {
1160
1212
  * A referendum has been cancelled.
1161
1213
  **/
1162
1214
  Cancelled: GenericPalletEvent<
1215
+ Rv,
1163
1216
  'FellowshipReferenda',
1164
1217
  'Cancelled',
1165
1218
  {
@@ -1179,6 +1232,7 @@ export interface ChainEvents extends GenericChainEvents {
1179
1232
  * A referendum has been killed.
1180
1233
  **/
1181
1234
  Killed: GenericPalletEvent<
1235
+ Rv,
1182
1236
  'FellowshipReferenda',
1183
1237
  'Killed',
1184
1238
  {
@@ -1198,6 +1252,7 @@ export interface ChainEvents extends GenericChainEvents {
1198
1252
  * The submission deposit has been refunded.
1199
1253
  **/
1200
1254
  SubmissionDepositRefunded: GenericPalletEvent<
1255
+ Rv,
1201
1256
  'FellowshipReferenda',
1202
1257
  'SubmissionDepositRefunded',
1203
1258
  {
@@ -1222,6 +1277,7 @@ export interface ChainEvents extends GenericChainEvents {
1222
1277
  * Metadata for a referendum has been set.
1223
1278
  **/
1224
1279
  MetadataSet: GenericPalletEvent<
1280
+ Rv,
1225
1281
  'FellowshipReferenda',
1226
1282
  'MetadataSet',
1227
1283
  {
@@ -1241,6 +1297,7 @@ export interface ChainEvents extends GenericChainEvents {
1241
1297
  * Metadata for a referendum has been cleared.
1242
1298
  **/
1243
1299
  MetadataCleared: GenericPalletEvent<
1300
+ Rv,
1244
1301
  'FellowshipReferenda',
1245
1302
  'MetadataCleared',
1246
1303
  {
@@ -1259,15 +1316,16 @@ export interface ChainEvents extends GenericChainEvents {
1259
1316
  /**
1260
1317
  * Generic pallet event
1261
1318
  **/
1262
- [prop: string]: GenericPalletEvent;
1319
+ [prop: string]: GenericPalletEvent<Rv>;
1263
1320
  };
1264
1321
  /**
1265
1322
  * Pallet `Whitelist`'s events
1266
1323
  **/
1267
1324
  whitelist: {
1268
- CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
1269
- WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
1325
+ CallWhitelisted: GenericPalletEvent<Rv, 'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
1326
+ WhitelistedCallRemoved: GenericPalletEvent<Rv, 'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
1270
1327
  WhitelistedCallDispatched: GenericPalletEvent<
1328
+ Rv,
1271
1329
  'Whitelist',
1272
1330
  'WhitelistedCallDispatched',
1273
1331
  { callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
@@ -1276,7 +1334,7 @@ export interface ChainEvents extends GenericChainEvents {
1276
1334
  /**
1277
1335
  * Generic pallet event
1278
1336
  **/
1279
- [prop: string]: GenericPalletEvent;
1337
+ [prop: string]: GenericPalletEvent<Rv>;
1280
1338
  };
1281
1339
  /**
1282
1340
  * Pallet `Claims`'s events
@@ -1286,6 +1344,7 @@ export interface ChainEvents extends GenericChainEvents {
1286
1344
  * Someone claimed some DOTs.
1287
1345
  **/
1288
1346
  Claimed: GenericPalletEvent<
1347
+ Rv,
1289
1348
  'Claims',
1290
1349
  'Claimed',
1291
1350
  { who: AccountId32; ethereumAddress: EthereumAddress; amount: bigint }
@@ -1294,7 +1353,7 @@ export interface ChainEvents extends GenericChainEvents {
1294
1353
  /**
1295
1354
  * Generic pallet event
1296
1355
  **/
1297
- [prop: string]: GenericPalletEvent;
1356
+ [prop: string]: GenericPalletEvent<Rv>;
1298
1357
  };
1299
1358
  /**
1300
1359
  * Pallet `Utility`'s events
@@ -1304,117 +1363,37 @@ export interface ChainEvents extends GenericChainEvents {
1304
1363
  * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1305
1364
  * well as the error.
1306
1365
  **/
1307
- BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
1366
+ BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
1308
1367
 
1309
1368
  /**
1310
1369
  * Batch of dispatches completed fully with no error.
1311
1370
  **/
1312
- BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
1371
+ BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
1313
1372
 
1314
1373
  /**
1315
1374
  * Batch of dispatches completed but has errors.
1316
1375
  **/
1317
- BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
1376
+ BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
1318
1377
 
1319
1378
  /**
1320
1379
  * A single item within a Batch of dispatches has completed with no error.
1321
1380
  **/
1322
- ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
1381
+ ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
1323
1382
 
1324
1383
  /**
1325
1384
  * A single item within a Batch of dispatches has completed with error.
1326
1385
  **/
1327
- ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
1386
+ ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
1328
1387
 
1329
1388
  /**
1330
1389
  * A call was dispatched.
1331
1390
  **/
1332
- DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
1333
-
1334
- /**
1335
- * Generic pallet event
1336
- **/
1337
- [prop: string]: GenericPalletEvent;
1338
- };
1339
- /**
1340
- * Pallet `Identity`'s events
1341
- **/
1342
- identity: {
1343
- /**
1344
- * A name was set or reset (which will remove all judgements).
1345
- **/
1346
- IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
1347
-
1348
- /**
1349
- * A name was cleared, and the given balance returned.
1350
- **/
1351
- IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
1352
-
1353
- /**
1354
- * A name was removed and the given balance slashed.
1355
- **/
1356
- IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
1357
-
1358
- /**
1359
- * A judgement was asked from a registrar.
1360
- **/
1361
- JudgementRequested: GenericPalletEvent<
1362
- 'Identity',
1363
- 'JudgementRequested',
1364
- { who: AccountId32; registrarIndex: number }
1365
- >;
1366
-
1367
- /**
1368
- * A judgement request was retracted.
1369
- **/
1370
- JudgementUnrequested: GenericPalletEvent<
1371
- 'Identity',
1372
- 'JudgementUnrequested',
1373
- { who: AccountId32; registrarIndex: number }
1374
- >;
1375
-
1376
- /**
1377
- * A judgement was given by a registrar.
1378
- **/
1379
- JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId32; registrarIndex: number }>;
1380
-
1381
- /**
1382
- * A registrar was added.
1383
- **/
1384
- RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
1385
-
1386
- /**
1387
- * A sub-identity was added to an identity and the deposit paid.
1388
- **/
1389
- SubIdentityAdded: GenericPalletEvent<
1390
- 'Identity',
1391
- 'SubIdentityAdded',
1392
- { sub: AccountId32; main: AccountId32; deposit: bigint }
1393
- >;
1394
-
1395
- /**
1396
- * A sub-identity was removed from an identity and the deposit freed.
1397
- **/
1398
- SubIdentityRemoved: GenericPalletEvent<
1399
- 'Identity',
1400
- 'SubIdentityRemoved',
1401
- { sub: AccountId32; main: AccountId32; deposit: bigint }
1402
- >;
1403
-
1404
- /**
1405
- * A sub-identity was cleared, and the given deposit repatriated from the
1406
- * main identity account to the sub-identity account.
1407
- **/
1408
- SubIdentityRevoked: GenericPalletEvent<
1409
- 'Identity',
1410
- 'SubIdentityRevoked',
1411
- { sub: AccountId32; main: AccountId32; deposit: bigint }
1412
- >;
1391
+ DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
1413
1392
 
1414
1393
  /**
1415
1394
  * Generic pallet event
1416
1395
  **/
1417
- [prop: string]: GenericPalletEvent;
1396
+ [prop: string]: GenericPalletEvent<Rv>;
1418
1397
  };
1419
1398
  /**
1420
1399
  * Pallet `Society`'s events
@@ -1423,45 +1402,51 @@ export interface ChainEvents extends GenericChainEvents {
1423
1402
  /**
1424
1403
  * The society is founded by the given identity.
1425
1404
  **/
1426
- Founded: GenericPalletEvent<'Society', 'Founded', { founder: AccountId32 }>;
1405
+ Founded: GenericPalletEvent<Rv, 'Society', 'Founded', { founder: AccountId32 }>;
1427
1406
 
1428
1407
  /**
1429
1408
  * A membership bid just happened. The given account is the candidate's ID and their offer
1430
1409
  * is the second.
1431
1410
  **/
1432
- Bid: GenericPalletEvent<'Society', 'Bid', { candidateId: AccountId32; offer: bigint }>;
1411
+ Bid: GenericPalletEvent<Rv, 'Society', 'Bid', { candidateId: AccountId32; offer: bigint }>;
1433
1412
 
1434
1413
  /**
1435
1414
  * A membership bid just happened by vouching. The given account is the candidate's ID and
1436
1415
  * their offer is the second. The vouching party is the third.
1437
1416
  **/
1438
- Vouch: GenericPalletEvent<'Society', 'Vouch', { candidateId: AccountId32; offer: bigint; vouching: AccountId32 }>;
1417
+ Vouch: GenericPalletEvent<
1418
+ Rv,
1419
+ 'Society',
1420
+ 'Vouch',
1421
+ { candidateId: AccountId32; offer: bigint; vouching: AccountId32 }
1422
+ >;
1439
1423
 
1440
1424
  /**
1441
1425
  * A candidate was dropped (due to an excess of bids in the system).
1442
1426
  **/
1443
- AutoUnbid: GenericPalletEvent<'Society', 'AutoUnbid', { candidate: AccountId32 }>;
1427
+ AutoUnbid: GenericPalletEvent<Rv, 'Society', 'AutoUnbid', { candidate: AccountId32 }>;
1444
1428
 
1445
1429
  /**
1446
1430
  * A candidate was dropped (by their request).
1447
1431
  **/
1448
- Unbid: GenericPalletEvent<'Society', 'Unbid', { candidate: AccountId32 }>;
1432
+ Unbid: GenericPalletEvent<Rv, 'Society', 'Unbid', { candidate: AccountId32 }>;
1449
1433
 
1450
1434
  /**
1451
1435
  * A candidate was dropped (by request of who vouched for them).
1452
1436
  **/
1453
- Unvouch: GenericPalletEvent<'Society', 'Unvouch', { candidate: AccountId32 }>;
1437
+ Unvouch: GenericPalletEvent<Rv, 'Society', 'Unvouch', { candidate: AccountId32 }>;
1454
1438
 
1455
1439
  /**
1456
1440
  * A group of candidates have been inducted. The batch's primary is the first value, the
1457
1441
  * batch in full is the second.
1458
1442
  **/
1459
- Inducted: GenericPalletEvent<'Society', 'Inducted', { primary: AccountId32; candidates: Array<AccountId32> }>;
1443
+ Inducted: GenericPalletEvent<Rv, 'Society', 'Inducted', { primary: AccountId32; candidates: Array<AccountId32> }>;
1460
1444
 
1461
1445
  /**
1462
1446
  * A suspended member has been judged.
1463
1447
  **/
1464
1448
  SuspendedMemberJudgement: GenericPalletEvent<
1449
+ Rv,
1465
1450
  'Society',
1466
1451
  'SuspendedMemberJudgement',
1467
1452
  { who: AccountId32; judged: boolean }
@@ -1470,52 +1455,52 @@ export interface ChainEvents extends GenericChainEvents {
1470
1455
  /**
1471
1456
  * A candidate has been suspended
1472
1457
  **/
1473
- CandidateSuspended: GenericPalletEvent<'Society', 'CandidateSuspended', { candidate: AccountId32 }>;
1458
+ CandidateSuspended: GenericPalletEvent<Rv, 'Society', 'CandidateSuspended', { candidate: AccountId32 }>;
1474
1459
 
1475
1460
  /**
1476
1461
  * A member has been suspended
1477
1462
  **/
1478
- MemberSuspended: GenericPalletEvent<'Society', 'MemberSuspended', { member: AccountId32 }>;
1463
+ MemberSuspended: GenericPalletEvent<Rv, 'Society', 'MemberSuspended', { member: AccountId32 }>;
1479
1464
 
1480
1465
  /**
1481
1466
  * A member has been challenged
1482
1467
  **/
1483
- Challenged: GenericPalletEvent<'Society', 'Challenged', { member: AccountId32 }>;
1468
+ Challenged: GenericPalletEvent<Rv, 'Society', 'Challenged', { member: AccountId32 }>;
1484
1469
 
1485
1470
  /**
1486
1471
  * A vote has been placed
1487
1472
  **/
1488
- Vote: GenericPalletEvent<'Society', 'Vote', { candidate: AccountId32; voter: AccountId32; vote: boolean }>;
1473
+ Vote: GenericPalletEvent<Rv, 'Society', 'Vote', { candidate: AccountId32; voter: AccountId32; vote: boolean }>;
1489
1474
 
1490
1475
  /**
1491
1476
  * A vote has been placed for a defending member
1492
1477
  **/
1493
- DefenderVote: GenericPalletEvent<'Society', 'DefenderVote', { voter: AccountId32; vote: boolean }>;
1478
+ DefenderVote: GenericPalletEvent<Rv, 'Society', 'DefenderVote', { voter: AccountId32; vote: boolean }>;
1494
1479
 
1495
1480
  /**
1496
1481
  * A new set of \[params\] has been set for the group.
1497
1482
  **/
1498
- NewParams: GenericPalletEvent<'Society', 'NewParams', { params: PalletSocietyGroupParams }>;
1483
+ NewParams: GenericPalletEvent<Rv, 'Society', 'NewParams', { params: PalletSocietyGroupParams }>;
1499
1484
 
1500
1485
  /**
1501
1486
  * Society is unfounded.
1502
1487
  **/
1503
- Unfounded: GenericPalletEvent<'Society', 'Unfounded', { founder: AccountId32 }>;
1488
+ Unfounded: GenericPalletEvent<Rv, 'Society', 'Unfounded', { founder: AccountId32 }>;
1504
1489
 
1505
1490
  /**
1506
1491
  * Some funds were deposited into the society account.
1507
1492
  **/
1508
- Deposit: GenericPalletEvent<'Society', 'Deposit', { value: bigint }>;
1493
+ Deposit: GenericPalletEvent<Rv, 'Society', 'Deposit', { value: bigint }>;
1509
1494
 
1510
1495
  /**
1511
1496
  * A \[member\] got elevated to \[rank\].
1512
1497
  **/
1513
- Elevated: GenericPalletEvent<'Society', 'Elevated', { member: AccountId32; rank: number }>;
1498
+ Elevated: GenericPalletEvent<Rv, 'Society', 'Elevated', { member: AccountId32; rank: number }>;
1514
1499
 
1515
1500
  /**
1516
1501
  * Generic pallet event
1517
1502
  **/
1518
- [prop: string]: GenericPalletEvent;
1503
+ [prop: string]: GenericPalletEvent<Rv>;
1519
1504
  };
1520
1505
  /**
1521
1506
  * Pallet `Recovery`'s events
@@ -1524,12 +1509,13 @@ export interface ChainEvents extends GenericChainEvents {
1524
1509
  /**
1525
1510
  * A recovery process has been set up for an account.
1526
1511
  **/
1527
- RecoveryCreated: GenericPalletEvent<'Recovery', 'RecoveryCreated', { account: AccountId32 }>;
1512
+ RecoveryCreated: GenericPalletEvent<Rv, 'Recovery', 'RecoveryCreated', { account: AccountId32 }>;
1528
1513
 
1529
1514
  /**
1530
1515
  * A recovery process has been initiated for lost account by rescuer account.
1531
1516
  **/
1532
1517
  RecoveryInitiated: GenericPalletEvent<
1518
+ Rv,
1533
1519
  'Recovery',
1534
1520
  'RecoveryInitiated',
1535
1521
  { lostAccount: AccountId32; rescuerAccount: AccountId32 }
@@ -1539,6 +1525,7 @@ export interface ChainEvents extends GenericChainEvents {
1539
1525
  * A recovery process for lost account by rescuer account has been vouched for by sender.
1540
1526
  **/
1541
1527
  RecoveryVouched: GenericPalletEvent<
1528
+ Rv,
1542
1529
  'Recovery',
1543
1530
  'RecoveryVouched',
1544
1531
  { lostAccount: AccountId32; rescuerAccount: AccountId32; sender: AccountId32 }
@@ -1548,6 +1535,7 @@ export interface ChainEvents extends GenericChainEvents {
1548
1535
  * A recovery process for lost account by rescuer account has been closed.
1549
1536
  **/
1550
1537
  RecoveryClosed: GenericPalletEvent<
1538
+ Rv,
1551
1539
  'Recovery',
1552
1540
  'RecoveryClosed',
1553
1541
  { lostAccount: AccountId32; rescuerAccount: AccountId32 }
@@ -1557,6 +1545,7 @@ export interface ChainEvents extends GenericChainEvents {
1557
1545
  * Lost account has been successfully recovered by rescuer account.
1558
1546
  **/
1559
1547
  AccountRecovered: GenericPalletEvent<
1548
+ Rv,
1560
1549
  'Recovery',
1561
1550
  'AccountRecovered',
1562
1551
  { lostAccount: AccountId32; rescuerAccount: AccountId32 }
@@ -1565,12 +1554,12 @@ export interface ChainEvents extends GenericChainEvents {
1565
1554
  /**
1566
1555
  * A recovery process has been removed for an account.
1567
1556
  **/
1568
- RecoveryRemoved: GenericPalletEvent<'Recovery', 'RecoveryRemoved', { lostAccount: AccountId32 }>;
1557
+ RecoveryRemoved: GenericPalletEvent<Rv, 'Recovery', 'RecoveryRemoved', { lostAccount: AccountId32 }>;
1569
1558
 
1570
1559
  /**
1571
1560
  * Generic pallet event
1572
1561
  **/
1573
- [prop: string]: GenericPalletEvent;
1562
+ [prop: string]: GenericPalletEvent<Rv>;
1574
1563
  };
1575
1564
  /**
1576
1565
  * Pallet `Vesting`'s events
@@ -1580,17 +1569,17 @@ export interface ChainEvents extends GenericChainEvents {
1580
1569
  * The amount vested has been updated. This could indicate a change in funds available.
1581
1570
  * The balance given is the amount which is left unvested (and thus locked).
1582
1571
  **/
1583
- VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
1572
+ VestingUpdated: GenericPalletEvent<Rv, 'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
1584
1573
 
1585
1574
  /**
1586
1575
  * An \[account\] has become fully vested.
1587
1576
  **/
1588
- VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
1577
+ VestingCompleted: GenericPalletEvent<Rv, 'Vesting', 'VestingCompleted', { account: AccountId32 }>;
1589
1578
 
1590
1579
  /**
1591
1580
  * Generic pallet event
1592
1581
  **/
1593
- [prop: string]: GenericPalletEvent;
1582
+ [prop: string]: GenericPalletEvent<Rv>;
1594
1583
  };
1595
1584
  /**
1596
1585
  * Pallet `Scheduler`'s events
@@ -1599,17 +1588,18 @@ export interface ChainEvents extends GenericChainEvents {
1599
1588
  /**
1600
1589
  * Scheduled some task.
1601
1590
  **/
1602
- Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
1591
+ Scheduled: GenericPalletEvent<Rv, 'Scheduler', 'Scheduled', { when: number; index: number }>;
1603
1592
 
1604
1593
  /**
1605
1594
  * Canceled some task.
1606
1595
  **/
1607
- Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
1596
+ Canceled: GenericPalletEvent<Rv, 'Scheduler', 'Canceled', { when: number; index: number }>;
1608
1597
 
1609
1598
  /**
1610
1599
  * Dispatched some task.
1611
1600
  **/
1612
1601
  Dispatched: GenericPalletEvent<
1602
+ Rv,
1613
1603
  'Scheduler',
1614
1604
  'Dispatched',
1615
1605
  { task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
@@ -1619,6 +1609,7 @@ export interface ChainEvents extends GenericChainEvents {
1619
1609
  * The call for the provided hash was not found so the task has been aborted.
1620
1610
  **/
1621
1611
  CallUnavailable: GenericPalletEvent<
1612
+ Rv,
1622
1613
  'Scheduler',
1623
1614
  'CallUnavailable',
1624
1615
  { task: [number, number]; id?: FixedBytes<32> | undefined }
@@ -1628,6 +1619,7 @@ export interface ChainEvents extends GenericChainEvents {
1628
1619
  * The given task was unable to be renewed since the agenda is full at that block.
1629
1620
  **/
1630
1621
  PeriodicFailed: GenericPalletEvent<
1622
+ Rv,
1631
1623
  'Scheduler',
1632
1624
  'PeriodicFailed',
1633
1625
  { task: [number, number]; id?: FixedBytes<32> | undefined }
@@ -1637,6 +1629,7 @@ export interface ChainEvents extends GenericChainEvents {
1637
1629
  * The given task can never be executed since it is overweight.
1638
1630
  **/
1639
1631
  PermanentlyOverweight: GenericPalletEvent<
1632
+ Rv,
1640
1633
  'Scheduler',
1641
1634
  'PermanentlyOverweight',
1642
1635
  { task: [number, number]; id?: FixedBytes<32> | undefined }
@@ -1645,7 +1638,7 @@ export interface ChainEvents extends GenericChainEvents {
1645
1638
  /**
1646
1639
  * Generic pallet event
1647
1640
  **/
1648
- [prop: string]: GenericPalletEvent;
1641
+ [prop: string]: GenericPalletEvent<Rv>;
1649
1642
  };
1650
1643
  /**
1651
1644
  * Pallet `Proxy`'s events
@@ -1654,13 +1647,14 @@ export interface ChainEvents extends GenericChainEvents {
1654
1647
  /**
1655
1648
  * A proxy was executed correctly, with the given.
1656
1649
  **/
1657
- ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
1650
+ ProxyExecuted: GenericPalletEvent<Rv, 'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
1658
1651
 
1659
1652
  /**
1660
1653
  * A pure account has been created by new proxy with given
1661
1654
  * disambiguation index and proxy type.
1662
1655
  **/
1663
1656
  PureCreated: GenericPalletEvent<
1657
+ Rv,
1664
1658
  'Proxy',
1665
1659
  'PureCreated',
1666
1660
  { pure: AccountId32; who: AccountId32; proxyType: StagingKusamaRuntimeProxyType; disambiguationIndex: number }
@@ -1669,12 +1663,13 @@ export interface ChainEvents extends GenericChainEvents {
1669
1663
  /**
1670
1664
  * An announcement was placed to make a call in the future.
1671
1665
  **/
1672
- Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
1666
+ Announced: GenericPalletEvent<Rv, 'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
1673
1667
 
1674
1668
  /**
1675
1669
  * A proxy was added.
1676
1670
  **/
1677
1671
  ProxyAdded: GenericPalletEvent<
1672
+ Rv,
1678
1673
  'Proxy',
1679
1674
  'ProxyAdded',
1680
1675
  { delegator: AccountId32; delegatee: AccountId32; proxyType: StagingKusamaRuntimeProxyType; delay: number }
@@ -1684,6 +1679,7 @@ export interface ChainEvents extends GenericChainEvents {
1684
1679
  * A proxy was removed.
1685
1680
  **/
1686
1681
  ProxyRemoved: GenericPalletEvent<
1682
+ Rv,
1687
1683
  'Proxy',
1688
1684
  'ProxyRemoved',
1689
1685
  { delegator: AccountId32; delegatee: AccountId32; proxyType: StagingKusamaRuntimeProxyType; delay: number }
@@ -1692,7 +1688,7 @@ export interface ChainEvents extends GenericChainEvents {
1692
1688
  /**
1693
1689
  * Generic pallet event
1694
1690
  **/
1695
- [prop: string]: GenericPalletEvent;
1691
+ [prop: string]: GenericPalletEvent<Rv>;
1696
1692
  };
1697
1693
  /**
1698
1694
  * Pallet `Multisig`'s events
@@ -1702,6 +1698,7 @@ export interface ChainEvents extends GenericChainEvents {
1702
1698
  * A new multisig operation has begun.
1703
1699
  **/
1704
1700
  NewMultisig: GenericPalletEvent<
1701
+ Rv,
1705
1702
  'Multisig',
1706
1703
  'NewMultisig',
1707
1704
  { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
@@ -1711,6 +1708,7 @@ export interface ChainEvents extends GenericChainEvents {
1711
1708
  * A multisig operation has been approved by someone.
1712
1709
  **/
1713
1710
  MultisigApproval: GenericPalletEvent<
1711
+ Rv,
1714
1712
  'Multisig',
1715
1713
  'MultisigApproval',
1716
1714
  { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
@@ -1720,6 +1718,7 @@ export interface ChainEvents extends GenericChainEvents {
1720
1718
  * A multisig operation has been executed.
1721
1719
  **/
1722
1720
  MultisigExecuted: GenericPalletEvent<
1721
+ Rv,
1723
1722
  'Multisig',
1724
1723
  'MultisigExecuted',
1725
1724
  {
@@ -1735,6 +1734,7 @@ export interface ChainEvents extends GenericChainEvents {
1735
1734
  * A multisig operation has been cancelled.
1736
1735
  **/
1737
1736
  MultisigCancelled: GenericPalletEvent<
1737
+ Rv,
1738
1738
  'Multisig',
1739
1739
  'MultisigCancelled',
1740
1740
  { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
@@ -1743,7 +1743,7 @@ export interface ChainEvents extends GenericChainEvents {
1743
1743
  /**
1744
1744
  * Generic pallet event
1745
1745
  **/
1746
- [prop: string]: GenericPalletEvent;
1746
+ [prop: string]: GenericPalletEvent<Rv>;
1747
1747
  };
1748
1748
  /**
1749
1749
  * Pallet `Preimage`'s events
@@ -1752,22 +1752,22 @@ export interface ChainEvents extends GenericChainEvents {
1752
1752
  /**
1753
1753
  * A preimage has been noted.
1754
1754
  **/
1755
- Noted: GenericPalletEvent<'Preimage', 'Noted', { hash: H256 }>;
1755
+ Noted: GenericPalletEvent<Rv, 'Preimage', 'Noted', { hash: H256 }>;
1756
1756
 
1757
1757
  /**
1758
1758
  * A preimage has been requested.
1759
1759
  **/
1760
- Requested: GenericPalletEvent<'Preimage', 'Requested', { hash: H256 }>;
1760
+ Requested: GenericPalletEvent<Rv, 'Preimage', 'Requested', { hash: H256 }>;
1761
1761
 
1762
1762
  /**
1763
1763
  * A preimage has ben cleared.
1764
1764
  **/
1765
- Cleared: GenericPalletEvent<'Preimage', 'Cleared', { hash: H256 }>;
1765
+ Cleared: GenericPalletEvent<Rv, 'Preimage', 'Cleared', { hash: H256 }>;
1766
1766
 
1767
1767
  /**
1768
1768
  * Generic pallet event
1769
1769
  **/
1770
- [prop: string]: GenericPalletEvent;
1770
+ [prop: string]: GenericPalletEvent<Rv>;
1771
1771
  };
1772
1772
  /**
1773
1773
  * Pallet `Bounties`'s events
@@ -1776,27 +1776,28 @@ export interface ChainEvents extends GenericChainEvents {
1776
1776
  /**
1777
1777
  * New bounty proposal.
1778
1778
  **/
1779
- BountyProposed: GenericPalletEvent<'Bounties', 'BountyProposed', { index: number }>;
1779
+ BountyProposed: GenericPalletEvent<Rv, 'Bounties', 'BountyProposed', { index: number }>;
1780
1780
 
1781
1781
  /**
1782
1782
  * A bounty proposal was rejected; funds were slashed.
1783
1783
  **/
1784
- BountyRejected: GenericPalletEvent<'Bounties', 'BountyRejected', { index: number; bond: bigint }>;
1784
+ BountyRejected: GenericPalletEvent<Rv, 'Bounties', 'BountyRejected', { index: number; bond: bigint }>;
1785
1785
 
1786
1786
  /**
1787
1787
  * A bounty proposal is funded and became active.
1788
1788
  **/
1789
- BountyBecameActive: GenericPalletEvent<'Bounties', 'BountyBecameActive', { index: number }>;
1789
+ BountyBecameActive: GenericPalletEvent<Rv, 'Bounties', 'BountyBecameActive', { index: number }>;
1790
1790
 
1791
1791
  /**
1792
1792
  * A bounty is awarded to a beneficiary.
1793
1793
  **/
1794
- BountyAwarded: GenericPalletEvent<'Bounties', 'BountyAwarded', { index: number; beneficiary: AccountId32 }>;
1794
+ BountyAwarded: GenericPalletEvent<Rv, 'Bounties', 'BountyAwarded', { index: number; beneficiary: AccountId32 }>;
1795
1795
 
1796
1796
  /**
1797
1797
  * A bounty is claimed by beneficiary.
1798
1798
  **/
1799
1799
  BountyClaimed: GenericPalletEvent<
1800
+ Rv,
1800
1801
  'Bounties',
1801
1802
  'BountyClaimed',
1802
1803
  { index: number; payout: bigint; beneficiary: AccountId32 }
@@ -1805,37 +1806,37 @@ export interface ChainEvents extends GenericChainEvents {
1805
1806
  /**
1806
1807
  * A bounty is cancelled.
1807
1808
  **/
1808
- BountyCanceled: GenericPalletEvent<'Bounties', 'BountyCanceled', { index: number }>;
1809
+ BountyCanceled: GenericPalletEvent<Rv, 'Bounties', 'BountyCanceled', { index: number }>;
1809
1810
 
1810
1811
  /**
1811
1812
  * A bounty expiry is extended.
1812
1813
  **/
1813
- BountyExtended: GenericPalletEvent<'Bounties', 'BountyExtended', { index: number }>;
1814
+ BountyExtended: GenericPalletEvent<Rv, 'Bounties', 'BountyExtended', { index: number }>;
1814
1815
 
1815
1816
  /**
1816
1817
  * A bounty is approved.
1817
1818
  **/
1818
- BountyApproved: GenericPalletEvent<'Bounties', 'BountyApproved', { index: number }>;
1819
+ BountyApproved: GenericPalletEvent<Rv, 'Bounties', 'BountyApproved', { index: number }>;
1819
1820
 
1820
1821
  /**
1821
1822
  * A bounty curator is proposed.
1822
1823
  **/
1823
- CuratorProposed: GenericPalletEvent<'Bounties', 'CuratorProposed', { bountyId: number; curator: AccountId32 }>;
1824
+ CuratorProposed: GenericPalletEvent<Rv, 'Bounties', 'CuratorProposed', { bountyId: number; curator: AccountId32 }>;
1824
1825
 
1825
1826
  /**
1826
1827
  * A bounty curator is unassigned.
1827
1828
  **/
1828
- CuratorUnassigned: GenericPalletEvent<'Bounties', 'CuratorUnassigned', { bountyId: number }>;
1829
+ CuratorUnassigned: GenericPalletEvent<Rv, 'Bounties', 'CuratorUnassigned', { bountyId: number }>;
1829
1830
 
1830
1831
  /**
1831
1832
  * A bounty curator is accepted.
1832
1833
  **/
1833
- CuratorAccepted: GenericPalletEvent<'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
1834
+ CuratorAccepted: GenericPalletEvent<Rv, 'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
1834
1835
 
1835
1836
  /**
1836
1837
  * Generic pallet event
1837
1838
  **/
1838
- [prop: string]: GenericPalletEvent;
1839
+ [prop: string]: GenericPalletEvent<Rv>;
1839
1840
  };
1840
1841
  /**
1841
1842
  * Pallet `ChildBounties`'s events
@@ -1844,12 +1845,13 @@ export interface ChainEvents extends GenericChainEvents {
1844
1845
  /**
1845
1846
  * A child-bounty is added.
1846
1847
  **/
1847
- Added: GenericPalletEvent<'ChildBounties', 'Added', { index: number; childIndex: number }>;
1848
+ Added: GenericPalletEvent<Rv, 'ChildBounties', 'Added', { index: number; childIndex: number }>;
1848
1849
 
1849
1850
  /**
1850
1851
  * A child-bounty is awarded to a beneficiary.
1851
1852
  **/
1852
1853
  Awarded: GenericPalletEvent<
1854
+ Rv,
1853
1855
  'ChildBounties',
1854
1856
  'Awarded',
1855
1857
  { index: number; childIndex: number; beneficiary: AccountId32 }
@@ -1859,6 +1861,7 @@ export interface ChainEvents extends GenericChainEvents {
1859
1861
  * A child-bounty is claimed by beneficiary.
1860
1862
  **/
1861
1863
  Claimed: GenericPalletEvent<
1864
+ Rv,
1862
1865
  'ChildBounties',
1863
1866
  'Claimed',
1864
1867
  { index: number; childIndex: number; payout: bigint; beneficiary: AccountId32 }
@@ -1867,12 +1870,12 @@ export interface ChainEvents extends GenericChainEvents {
1867
1870
  /**
1868
1871
  * A child-bounty is cancelled.
1869
1872
  **/
1870
- Canceled: GenericPalletEvent<'ChildBounties', 'Canceled', { index: number; childIndex: number }>;
1873
+ Canceled: GenericPalletEvent<Rv, 'ChildBounties', 'Canceled', { index: number; childIndex: number }>;
1871
1874
 
1872
1875
  /**
1873
1876
  * Generic pallet event
1874
1877
  **/
1875
- [prop: string]: GenericPalletEvent;
1878
+ [prop: string]: GenericPalletEvent<Rv>;
1876
1879
  };
1877
1880
  /**
1878
1881
  * Pallet `ElectionProviderMultiPhase`'s events
@@ -1888,6 +1891,7 @@ export interface ChainEvents extends GenericChainEvents {
1888
1891
  * room for this one.
1889
1892
  **/
1890
1893
  SolutionStored: GenericPalletEvent<
1894
+ Rv,
1891
1895
  'ElectionProviderMultiPhase',
1892
1896
  'SolutionStored',
1893
1897
  {
@@ -1901,6 +1905,7 @@ export interface ChainEvents extends GenericChainEvents {
1901
1905
  * The election has been finalized, with the given computation and score.
1902
1906
  **/
1903
1907
  ElectionFinalized: GenericPalletEvent<
1908
+ Rv,
1904
1909
  'ElectionProviderMultiPhase',
1905
1910
  'ElectionFinalized',
1906
1911
  { compute: PalletElectionProviderMultiPhaseElectionCompute; score: SpNposElectionsElectionScore }
@@ -1911,22 +1916,23 @@ export interface ChainEvents extends GenericChainEvents {
1911
1916
  *
1912
1917
  * Not much can be said about which computes failed in the process.
1913
1918
  **/
1914
- ElectionFailed: GenericPalletEvent<'ElectionProviderMultiPhase', 'ElectionFailed', null>;
1919
+ ElectionFailed: GenericPalletEvent<Rv, 'ElectionProviderMultiPhase', 'ElectionFailed', null>;
1915
1920
 
1916
1921
  /**
1917
1922
  * An account has been rewarded for their signed submission being finalized.
1918
1923
  **/
1919
- Rewarded: GenericPalletEvent<'ElectionProviderMultiPhase', 'Rewarded', { account: AccountId32; value: bigint }>;
1924
+ Rewarded: GenericPalletEvent<Rv, 'ElectionProviderMultiPhase', 'Rewarded', { account: AccountId32; value: bigint }>;
1920
1925
 
1921
1926
  /**
1922
1927
  * An account has been slashed for submitting an invalid signed submission.
1923
1928
  **/
1924
- Slashed: GenericPalletEvent<'ElectionProviderMultiPhase', 'Slashed', { account: AccountId32; value: bigint }>;
1929
+ Slashed: GenericPalletEvent<Rv, 'ElectionProviderMultiPhase', 'Slashed', { account: AccountId32; value: bigint }>;
1925
1930
 
1926
1931
  /**
1927
1932
  * There was a phase transition in a given round.
1928
1933
  **/
1929
1934
  PhaseTransitioned: GenericPalletEvent<
1935
+ Rv,
1930
1936
  'ElectionProviderMultiPhase',
1931
1937
  'PhaseTransitioned',
1932
1938
  { from: PalletElectionProviderMultiPhasePhase; to: PalletElectionProviderMultiPhasePhase; round: number }
@@ -1935,7 +1941,7 @@ export interface ChainEvents extends GenericChainEvents {
1935
1941
  /**
1936
1942
  * Generic pallet event
1937
1943
  **/
1938
- [prop: string]: GenericPalletEvent;
1944
+ [prop: string]: GenericPalletEvent<Rv>;
1939
1945
  };
1940
1946
  /**
1941
1947
  * Pallet `Nis`'s events
@@ -1944,22 +1950,23 @@ export interface ChainEvents extends GenericChainEvents {
1944
1950
  /**
1945
1951
  * A bid was successfully placed.
1946
1952
  **/
1947
- BidPlaced: GenericPalletEvent<'Nis', 'BidPlaced', { who: AccountId32; amount: bigint; duration: number }>;
1953
+ BidPlaced: GenericPalletEvent<Rv, 'Nis', 'BidPlaced', { who: AccountId32; amount: bigint; duration: number }>;
1948
1954
 
1949
1955
  /**
1950
1956
  * A bid was successfully removed (before being accepted).
1951
1957
  **/
1952
- BidRetracted: GenericPalletEvent<'Nis', 'BidRetracted', { who: AccountId32; amount: bigint; duration: number }>;
1958
+ BidRetracted: GenericPalletEvent<Rv, 'Nis', 'BidRetracted', { who: AccountId32; amount: bigint; duration: number }>;
1953
1959
 
1954
1960
  /**
1955
1961
  * A bid was dropped from a queue because of another, more substantial, bid was present.
1956
1962
  **/
1957
- BidDropped: GenericPalletEvent<'Nis', 'BidDropped', { who: AccountId32; amount: bigint; duration: number }>;
1963
+ BidDropped: GenericPalletEvent<Rv, 'Nis', 'BidDropped', { who: AccountId32; amount: bigint; duration: number }>;
1958
1964
 
1959
1965
  /**
1960
1966
  * A bid was accepted. The balance may not be released until expiry.
1961
1967
  **/
1962
1968
  Issued: GenericPalletEvent<
1969
+ Rv,
1963
1970
  'Nis',
1964
1971
  'Issued',
1965
1972
  {
@@ -1994,6 +2001,7 @@ export interface ChainEvents extends GenericChainEvents {
1994
2001
  * An receipt has been (at least partially) thawed.
1995
2002
  **/
1996
2003
  Thawed: GenericPalletEvent<
2004
+ Rv,
1997
2005
  'Nis',
1998
2006
  'Thawed',
1999
2007
  {
@@ -2027,17 +2035,17 @@ export interface ChainEvents extends GenericChainEvents {
2027
2035
  /**
2028
2036
  * An automatic funding of the deficit was made.
2029
2037
  **/
2030
- Funded: GenericPalletEvent<'Nis', 'Funded', { deficit: bigint }>;
2038
+ Funded: GenericPalletEvent<Rv, 'Nis', 'Funded', { deficit: bigint }>;
2031
2039
 
2032
2040
  /**
2033
2041
  * A receipt was transfered.
2034
2042
  **/
2035
- Transferred: GenericPalletEvent<'Nis', 'Transferred', { from: AccountId32; to: AccountId32; index: number }>;
2043
+ Transferred: GenericPalletEvent<Rv, 'Nis', 'Transferred', { from: AccountId32; to: AccountId32; index: number }>;
2036
2044
 
2037
2045
  /**
2038
2046
  * Generic pallet event
2039
2047
  **/
2040
- [prop: string]: GenericPalletEvent;
2048
+ [prop: string]: GenericPalletEvent<Rv>;
2041
2049
  };
2042
2050
  /**
2043
2051
  * Pallet `NisCounterpartBalances`'s events
@@ -2046,18 +2054,19 @@ export interface ChainEvents extends GenericChainEvents {
2046
2054
  /**
2047
2055
  * An account was created with some free balance.
2048
2056
  **/
2049
- Endowed: GenericPalletEvent<'NisCounterpartBalances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
2057
+ Endowed: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
2050
2058
 
2051
2059
  /**
2052
2060
  * An account was removed whose balance was non-zero but below ExistentialDeposit,
2053
2061
  * resulting in an outright loss.
2054
2062
  **/
2055
- DustLost: GenericPalletEvent<'NisCounterpartBalances', 'DustLost', { account: AccountId32; amount: bigint }>;
2063
+ DustLost: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'DustLost', { account: AccountId32; amount: bigint }>;
2056
2064
 
2057
2065
  /**
2058
2066
  * Transfer succeeded.
2059
2067
  **/
2060
2068
  Transfer: GenericPalletEvent<
2069
+ Rv,
2061
2070
  'NisCounterpartBalances',
2062
2071
  'Transfer',
2063
2072
  { from: AccountId32; to: AccountId32; amount: bigint }
@@ -2066,23 +2075,24 @@ export interface ChainEvents extends GenericChainEvents {
2066
2075
  /**
2067
2076
  * A balance was set by root.
2068
2077
  **/
2069
- BalanceSet: GenericPalletEvent<'NisCounterpartBalances', 'BalanceSet', { who: AccountId32; free: bigint }>;
2078
+ BalanceSet: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'BalanceSet', { who: AccountId32; free: bigint }>;
2070
2079
 
2071
2080
  /**
2072
2081
  * Some balance was reserved (moved from free to reserved).
2073
2082
  **/
2074
- Reserved: GenericPalletEvent<'NisCounterpartBalances', 'Reserved', { who: AccountId32; amount: bigint }>;
2083
+ Reserved: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Reserved', { who: AccountId32; amount: bigint }>;
2075
2084
 
2076
2085
  /**
2077
2086
  * Some balance was unreserved (moved from reserved to free).
2078
2087
  **/
2079
- Unreserved: GenericPalletEvent<'NisCounterpartBalances', 'Unreserved', { who: AccountId32; amount: bigint }>;
2088
+ Unreserved: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Unreserved', { who: AccountId32; amount: bigint }>;
2080
2089
 
2081
2090
  /**
2082
2091
  * Some balance was moved from the reserve of the first account to the second account.
2083
2092
  * Final argument indicates the destination balance type.
2084
2093
  **/
2085
2094
  ReserveRepatriated: GenericPalletEvent<
2095
+ Rv,
2086
2096
  'NisCounterpartBalances',
2087
2097
  'ReserveRepatriated',
2088
2098
  { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
@@ -2091,77 +2101,87 @@ export interface ChainEvents extends GenericChainEvents {
2091
2101
  /**
2092
2102
  * Some amount was deposited (e.g. for transaction fees).
2093
2103
  **/
2094
- Deposit: GenericPalletEvent<'NisCounterpartBalances', 'Deposit', { who: AccountId32; amount: bigint }>;
2104
+ Deposit: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Deposit', { who: AccountId32; amount: bigint }>;
2095
2105
 
2096
2106
  /**
2097
2107
  * Some amount was withdrawn from the account (e.g. for transaction fees).
2098
2108
  **/
2099
- Withdraw: GenericPalletEvent<'NisCounterpartBalances', 'Withdraw', { who: AccountId32; amount: bigint }>;
2109
+ Withdraw: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Withdraw', { who: AccountId32; amount: bigint }>;
2100
2110
 
2101
2111
  /**
2102
2112
  * Some amount was removed from the account (e.g. for misbehavior).
2103
2113
  **/
2104
- Slashed: GenericPalletEvent<'NisCounterpartBalances', 'Slashed', { who: AccountId32; amount: bigint }>;
2114
+ Slashed: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Slashed', { who: AccountId32; amount: bigint }>;
2105
2115
 
2106
2116
  /**
2107
2117
  * Some amount was minted into an account.
2108
2118
  **/
2109
- Minted: GenericPalletEvent<'NisCounterpartBalances', 'Minted', { who: AccountId32; amount: bigint }>;
2119
+ Minted: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Minted', { who: AccountId32; amount: bigint }>;
2110
2120
 
2111
2121
  /**
2112
2122
  * Some amount was burned from an account.
2113
2123
  **/
2114
- Burned: GenericPalletEvent<'NisCounterpartBalances', 'Burned', { who: AccountId32; amount: bigint }>;
2124
+ Burned: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Burned', { who: AccountId32; amount: bigint }>;
2115
2125
 
2116
2126
  /**
2117
2127
  * Some amount was suspended from an account (it can be restored later).
2118
2128
  **/
2119
- Suspended: GenericPalletEvent<'NisCounterpartBalances', 'Suspended', { who: AccountId32; amount: bigint }>;
2129
+ Suspended: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Suspended', { who: AccountId32; amount: bigint }>;
2120
2130
 
2121
2131
  /**
2122
2132
  * Some amount was restored into an account.
2123
2133
  **/
2124
- Restored: GenericPalletEvent<'NisCounterpartBalances', 'Restored', { who: AccountId32; amount: bigint }>;
2134
+ Restored: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Restored', { who: AccountId32; amount: bigint }>;
2125
2135
 
2126
2136
  /**
2127
2137
  * An account was upgraded.
2128
2138
  **/
2129
- Upgraded: GenericPalletEvent<'NisCounterpartBalances', 'Upgraded', { who: AccountId32 }>;
2139
+ Upgraded: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Upgraded', { who: AccountId32 }>;
2130
2140
 
2131
2141
  /**
2132
2142
  * Total issuance was increased by `amount`, creating a credit to be balanced.
2133
2143
  **/
2134
- Issued: GenericPalletEvent<'NisCounterpartBalances', 'Issued', { amount: bigint }>;
2144
+ Issued: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Issued', { amount: bigint }>;
2135
2145
 
2136
2146
  /**
2137
2147
  * Total issuance was decreased by `amount`, creating a debt to be balanced.
2138
2148
  **/
2139
- Rescinded: GenericPalletEvent<'NisCounterpartBalances', 'Rescinded', { amount: bigint }>;
2149
+ Rescinded: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Rescinded', { amount: bigint }>;
2140
2150
 
2141
2151
  /**
2142
2152
  * Some balance was locked.
2143
2153
  **/
2144
- Locked: GenericPalletEvent<'NisCounterpartBalances', 'Locked', { who: AccountId32; amount: bigint }>;
2154
+ Locked: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Locked', { who: AccountId32; amount: bigint }>;
2145
2155
 
2146
2156
  /**
2147
2157
  * Some balance was unlocked.
2148
2158
  **/
2149
- Unlocked: GenericPalletEvent<'NisCounterpartBalances', 'Unlocked', { who: AccountId32; amount: bigint }>;
2159
+ Unlocked: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Unlocked', { who: AccountId32; amount: bigint }>;
2150
2160
 
2151
2161
  /**
2152
2162
  * Some balance was frozen.
2153
2163
  **/
2154
- Frozen: GenericPalletEvent<'NisCounterpartBalances', 'Frozen', { who: AccountId32; amount: bigint }>;
2164
+ Frozen: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Frozen', { who: AccountId32; amount: bigint }>;
2155
2165
 
2156
2166
  /**
2157
2167
  * Some balance was thawed.
2158
2168
  **/
2159
- Thawed: GenericPalletEvent<'NisCounterpartBalances', 'Thawed', { who: AccountId32; amount: bigint }>;
2169
+ Thawed: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Thawed', { who: AccountId32; amount: bigint }>;
2170
+
2171
+ /**
2172
+ * The `TotalIssuance` was forcefully changed.
2173
+ **/
2174
+ TotalIssuanceForced: GenericPalletEvent<
2175
+ Rv,
2176
+ 'NisCounterpartBalances',
2177
+ 'TotalIssuanceForced',
2178
+ { old: bigint; new: bigint }
2179
+ >;
2160
2180
 
2161
2181
  /**
2162
2182
  * Generic pallet event
2163
2183
  **/
2164
- [prop: string]: GenericPalletEvent;
2184
+ [prop: string]: GenericPalletEvent<Rv>;
2165
2185
  };
2166
2186
  /**
2167
2187
  * Pallet `VoterList`'s events
@@ -2170,17 +2190,17 @@ export interface ChainEvents extends GenericChainEvents {
2170
2190
  /**
2171
2191
  * Moved an account from one bag to another.
2172
2192
  **/
2173
- Rebagged: GenericPalletEvent<'VoterList', 'Rebagged', { who: AccountId32; from: bigint; to: bigint }>;
2193
+ Rebagged: GenericPalletEvent<Rv, 'VoterList', 'Rebagged', { who: AccountId32; from: bigint; to: bigint }>;
2174
2194
 
2175
2195
  /**
2176
2196
  * Updated the score of some account to the given amount.
2177
2197
  **/
2178
- ScoreUpdated: GenericPalletEvent<'VoterList', 'ScoreUpdated', { who: AccountId32; newScore: bigint }>;
2198
+ ScoreUpdated: GenericPalletEvent<Rv, 'VoterList', 'ScoreUpdated', { who: AccountId32; newScore: bigint }>;
2179
2199
 
2180
2200
  /**
2181
2201
  * Generic pallet event
2182
2202
  **/
2183
- [prop: string]: GenericPalletEvent;
2203
+ [prop: string]: GenericPalletEvent<Rv>;
2184
2204
  };
2185
2205
  /**
2186
2206
  * Pallet `NominationPools`'s events
@@ -2189,12 +2209,13 @@ export interface ChainEvents extends GenericChainEvents {
2189
2209
  /**
2190
2210
  * A pool has been created.
2191
2211
  **/
2192
- Created: GenericPalletEvent<'NominationPools', 'Created', { depositor: AccountId32; poolId: number }>;
2212
+ Created: GenericPalletEvent<Rv, 'NominationPools', 'Created', { depositor: AccountId32; poolId: number }>;
2193
2213
 
2194
2214
  /**
2195
2215
  * A member has became bonded in a pool.
2196
2216
  **/
2197
2217
  Bonded: GenericPalletEvent<
2218
+ Rv,
2198
2219
  'NominationPools',
2199
2220
  'Bonded',
2200
2221
  { member: AccountId32; poolId: number; bonded: bigint; joined: boolean }
@@ -2203,7 +2224,12 @@ export interface ChainEvents extends GenericChainEvents {
2203
2224
  /**
2204
2225
  * A payout has been made to a member.
2205
2226
  **/
2206
- PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', { member: AccountId32; poolId: number; payout: bigint }>;
2227
+ PaidOut: GenericPalletEvent<
2228
+ Rv,
2229
+ 'NominationPools',
2230
+ 'PaidOut',
2231
+ { member: AccountId32; poolId: number; payout: bigint }
2232
+ >;
2207
2233
 
2208
2234
  /**
2209
2235
  * A member has unbonded from their pool.
@@ -2219,6 +2245,7 @@ export interface ChainEvents extends GenericChainEvents {
2219
2245
  * requested to be unbonded.
2220
2246
  **/
2221
2247
  Unbonded: GenericPalletEvent<
2248
+ Rv,
2222
2249
  'NominationPools',
2223
2250
  'Unbonded',
2224
2251
  { member: AccountId32; poolId: number; balance: bigint; points: bigint; era: number }
@@ -2233,6 +2260,7 @@ export interface ChainEvents extends GenericChainEvents {
2233
2260
  * will be 1.
2234
2261
  **/
2235
2262
  Withdrawn: GenericPalletEvent<
2263
+ Rv,
2236
2264
  'NominationPools',
2237
2265
  'Withdrawn',
2238
2266
  { member: AccountId32; poolId: number; balance: bigint; points: bigint }
@@ -2241,12 +2269,13 @@ export interface ChainEvents extends GenericChainEvents {
2241
2269
  /**
2242
2270
  * A pool has been destroyed.
2243
2271
  **/
2244
- Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', { poolId: number }>;
2272
+ Destroyed: GenericPalletEvent<Rv, 'NominationPools', 'Destroyed', { poolId: number }>;
2245
2273
 
2246
2274
  /**
2247
2275
  * The state of a pool has changed
2248
2276
  **/
2249
2277
  StateChanged: GenericPalletEvent<
2278
+ Rv,
2250
2279
  'NominationPools',
2251
2280
  'StateChanged',
2252
2281
  { poolId: number; newState: PalletNominationPoolsPoolState }
@@ -2257,13 +2286,14 @@ export interface ChainEvents extends GenericChainEvents {
2257
2286
  *
2258
2287
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
2259
2288
  **/
2260
- MemberRemoved: GenericPalletEvent<'NominationPools', 'MemberRemoved', { poolId: number; member: AccountId32 }>;
2289
+ MemberRemoved: GenericPalletEvent<Rv, 'NominationPools', 'MemberRemoved', { poolId: number; member: AccountId32 }>;
2261
2290
 
2262
2291
  /**
2263
2292
  * The roles of a pool have been updated to the given new roles. Note that the depositor
2264
2293
  * can never change.
2265
2294
  **/
2266
2295
  RolesUpdated: GenericPalletEvent<
2296
+ Rv,
2267
2297
  'NominationPools',
2268
2298
  'RolesUpdated',
2269
2299
  { root?: AccountId32 | undefined; bouncer?: AccountId32 | undefined; nominator?: AccountId32 | undefined }
@@ -2272,12 +2302,13 @@ export interface ChainEvents extends GenericChainEvents {
2272
2302
  /**
2273
2303
  * The active balance of pool `pool_id` has been slashed to `balance`.
2274
2304
  **/
2275
- PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', { poolId: number; balance: bigint }>;
2305
+ PoolSlashed: GenericPalletEvent<Rv, 'NominationPools', 'PoolSlashed', { poolId: number; balance: bigint }>;
2276
2306
 
2277
2307
  /**
2278
2308
  * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
2279
2309
  **/
2280
2310
  UnbondingPoolSlashed: GenericPalletEvent<
2311
+ Rv,
2281
2312
  'NominationPools',
2282
2313
  'UnbondingPoolSlashed',
2283
2314
  { poolId: number; era: number; balance: bigint }
@@ -2287,6 +2318,7 @@ export interface ChainEvents extends GenericChainEvents {
2287
2318
  * A pool's commission setting has been changed.
2288
2319
  **/
2289
2320
  PoolCommissionUpdated: GenericPalletEvent<
2321
+ Rv,
2290
2322
  'NominationPools',
2291
2323
  'PoolCommissionUpdated',
2292
2324
  { poolId: number; current?: [Perbill, AccountId32] | undefined }
@@ -2296,6 +2328,7 @@ export interface ChainEvents extends GenericChainEvents {
2296
2328
  * A pool's maximum commission setting has been changed.
2297
2329
  **/
2298
2330
  PoolMaxCommissionUpdated: GenericPalletEvent<
2331
+ Rv,
2299
2332
  'NominationPools',
2300
2333
  'PoolMaxCommissionUpdated',
2301
2334
  { poolId: number; maxCommission: Perbill }
@@ -2305,15 +2338,27 @@ export interface ChainEvents extends GenericChainEvents {
2305
2338
  * A pool's commission `change_rate` has been changed.
2306
2339
  **/
2307
2340
  PoolCommissionChangeRateUpdated: GenericPalletEvent<
2341
+ Rv,
2308
2342
  'NominationPools',
2309
2343
  'PoolCommissionChangeRateUpdated',
2310
2344
  { poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate }
2311
2345
  >;
2312
2346
 
2347
+ /**
2348
+ * Pool commission claim permission has been updated.
2349
+ **/
2350
+ PoolCommissionClaimPermissionUpdated: GenericPalletEvent<
2351
+ Rv,
2352
+ 'NominationPools',
2353
+ 'PoolCommissionClaimPermissionUpdated',
2354
+ { poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined }
2355
+ >;
2356
+
2313
2357
  /**
2314
2358
  * Pool commission has been claimed.
2315
2359
  **/
2316
2360
  PoolCommissionClaimed: GenericPalletEvent<
2361
+ Rv,
2317
2362
  'NominationPools',
2318
2363
  'PoolCommissionClaimed',
2319
2364
  { poolId: number; commission: bigint }
@@ -2323,6 +2368,7 @@ export interface ChainEvents extends GenericChainEvents {
2323
2368
  * Topped up deficit in frozen ED of the reward pool.
2324
2369
  **/
2325
2370
  MinBalanceDeficitAdjusted: GenericPalletEvent<
2371
+ Rv,
2326
2372
  'NominationPools',
2327
2373
  'MinBalanceDeficitAdjusted',
2328
2374
  { poolId: number; amount: bigint }
@@ -2332,6 +2378,7 @@ export interface ChainEvents extends GenericChainEvents {
2332
2378
  * Claimed excess frozen ED of af the reward pool.
2333
2379
  **/
2334
2380
  MinBalanceExcessAdjusted: GenericPalletEvent<
2381
+ Rv,
2335
2382
  'NominationPools',
2336
2383
  'MinBalanceExcessAdjusted',
2337
2384
  { poolId: number; amount: bigint }
@@ -2340,7 +2387,7 @@ export interface ChainEvents extends GenericChainEvents {
2340
2387
  /**
2341
2388
  * Generic pallet event
2342
2389
  **/
2343
- [prop: string]: GenericPalletEvent;
2390
+ [prop: string]: GenericPalletEvent<Rv>;
2344
2391
  };
2345
2392
  /**
2346
2393
  * Pallet `FastUnstake`'s events
@@ -2349,17 +2396,22 @@ export interface ChainEvents extends GenericChainEvents {
2349
2396
  /**
2350
2397
  * A staker was unstaked.
2351
2398
  **/
2352
- Unstaked: GenericPalletEvent<'FastUnstake', 'Unstaked', { stash: AccountId32; result: Result<[], DispatchError> }>;
2399
+ Unstaked: GenericPalletEvent<
2400
+ Rv,
2401
+ 'FastUnstake',
2402
+ 'Unstaked',
2403
+ { stash: AccountId32; result: Result<[], DispatchError> }
2404
+ >;
2353
2405
 
2354
2406
  /**
2355
2407
  * A staker was slashed for requesting fast-unstake whilst being exposed.
2356
2408
  **/
2357
- Slashed: GenericPalletEvent<'FastUnstake', 'Slashed', { stash: AccountId32; amount: bigint }>;
2409
+ Slashed: GenericPalletEvent<Rv, 'FastUnstake', 'Slashed', { stash: AccountId32; amount: bigint }>;
2358
2410
 
2359
2411
  /**
2360
2412
  * A batch was partially checked for the given eras, but the process did not finish.
2361
2413
  **/
2362
- BatchChecked: GenericPalletEvent<'FastUnstake', 'BatchChecked', { eras: Array<number> }>;
2414
+ BatchChecked: GenericPalletEvent<Rv, 'FastUnstake', 'BatchChecked', { eras: Array<number> }>;
2363
2415
 
2364
2416
  /**
2365
2417
  * A batch of a given size was terminated.
@@ -2367,17 +2419,17 @@ export interface ChainEvents extends GenericChainEvents {
2367
2419
  * This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
2368
2420
  * of the batch. A new batch will be created upon next block.
2369
2421
  **/
2370
- BatchFinished: GenericPalletEvent<'FastUnstake', 'BatchFinished', { size: number }>;
2422
+ BatchFinished: GenericPalletEvent<Rv, 'FastUnstake', 'BatchFinished', { size: number }>;
2371
2423
 
2372
2424
  /**
2373
2425
  * An internal error happened. Operations will be paused now.
2374
2426
  **/
2375
- InternalError: GenericPalletEvent<'FastUnstake', 'InternalError', null>;
2427
+ InternalError: GenericPalletEvent<Rv, 'FastUnstake', 'InternalError', null>;
2376
2428
 
2377
2429
  /**
2378
2430
  * Generic pallet event
2379
2431
  **/
2380
- [prop: string]: GenericPalletEvent;
2432
+ [prop: string]: GenericPalletEvent<Rv>;
2381
2433
  };
2382
2434
  /**
2383
2435
  * Pallet `ParaInclusion`'s events
@@ -2387,6 +2439,7 @@ export interface ChainEvents extends GenericChainEvents {
2387
2439
  * A candidate was backed. `[candidate, head_data]`
2388
2440
  **/
2389
2441
  CandidateBacked: GenericPalletEvent<
2442
+ Rv,
2390
2443
  'ParaInclusion',
2391
2444
  'CandidateBacked',
2392
2445
  [
@@ -2401,6 +2454,7 @@ export interface ChainEvents extends GenericChainEvents {
2401
2454
  * A candidate was included. `[candidate, head_data]`
2402
2455
  **/
2403
2456
  CandidateIncluded: GenericPalletEvent<
2457
+ Rv,
2404
2458
  'ParaInclusion',
2405
2459
  'CandidateIncluded',
2406
2460
  [
@@ -2415,6 +2469,7 @@ export interface ChainEvents extends GenericChainEvents {
2415
2469
  * A candidate timed out. `[candidate, head_data]`
2416
2470
  **/
2417
2471
  CandidateTimedOut: GenericPalletEvent<
2472
+ Rv,
2418
2473
  'ParaInclusion',
2419
2474
  'CandidateTimedOut',
2420
2475
  [
@@ -2428,6 +2483,7 @@ export interface ChainEvents extends GenericChainEvents {
2428
2483
  * Some upward messages have been received and will be processed.
2429
2484
  **/
2430
2485
  UpwardMessagesReceived: GenericPalletEvent<
2486
+ Rv,
2431
2487
  'ParaInclusion',
2432
2488
  'UpwardMessagesReceived',
2433
2489
  { from: PolkadotParachainPrimitivesPrimitivesId; count: number }
@@ -2436,7 +2492,7 @@ export interface ChainEvents extends GenericChainEvents {
2436
2492
  /**
2437
2493
  * Generic pallet event
2438
2494
  **/
2439
- [prop: string]: GenericPalletEvent;
2495
+ [prop: string]: GenericPalletEvent<Rv>;
2440
2496
  };
2441
2497
  /**
2442
2498
  * Pallet `Paras`'s events
@@ -2445,33 +2501,39 @@ export interface ChainEvents extends GenericChainEvents {
2445
2501
  /**
2446
2502
  * Current code has been updated for a Para. `para_id`
2447
2503
  **/
2448
- CurrentCodeUpdated: GenericPalletEvent<'Paras', 'CurrentCodeUpdated', PolkadotParachainPrimitivesPrimitivesId>;
2504
+ CurrentCodeUpdated: GenericPalletEvent<Rv, 'Paras', 'CurrentCodeUpdated', PolkadotParachainPrimitivesPrimitivesId>;
2449
2505
 
2450
2506
  /**
2451
2507
  * Current head has been updated for a Para. `para_id`
2452
2508
  **/
2453
- CurrentHeadUpdated: GenericPalletEvent<'Paras', 'CurrentHeadUpdated', PolkadotParachainPrimitivesPrimitivesId>;
2509
+ CurrentHeadUpdated: GenericPalletEvent<Rv, 'Paras', 'CurrentHeadUpdated', PolkadotParachainPrimitivesPrimitivesId>;
2454
2510
 
2455
2511
  /**
2456
2512
  * A code upgrade has been scheduled for a Para. `para_id`
2457
2513
  **/
2458
- CodeUpgradeScheduled: GenericPalletEvent<'Paras', 'CodeUpgradeScheduled', PolkadotParachainPrimitivesPrimitivesId>;
2514
+ CodeUpgradeScheduled: GenericPalletEvent<
2515
+ Rv,
2516
+ 'Paras',
2517
+ 'CodeUpgradeScheduled',
2518
+ PolkadotParachainPrimitivesPrimitivesId
2519
+ >;
2459
2520
 
2460
2521
  /**
2461
2522
  * A new head has been noted for a Para. `para_id`
2462
2523
  **/
2463
- NewHeadNoted: GenericPalletEvent<'Paras', 'NewHeadNoted', PolkadotParachainPrimitivesPrimitivesId>;
2524
+ NewHeadNoted: GenericPalletEvent<Rv, 'Paras', 'NewHeadNoted', PolkadotParachainPrimitivesPrimitivesId>;
2464
2525
 
2465
2526
  /**
2466
2527
  * A para has been queued to execute pending actions. `para_id`
2467
2528
  **/
2468
- ActionQueued: GenericPalletEvent<'Paras', 'ActionQueued', [PolkadotParachainPrimitivesPrimitivesId, number]>;
2529
+ ActionQueued: GenericPalletEvent<Rv, 'Paras', 'ActionQueued', [PolkadotParachainPrimitivesPrimitivesId, number]>;
2469
2530
 
2470
2531
  /**
2471
2532
  * The given para either initiated or subscribed to a PVF check for the given validation
2472
2533
  * code. `code_hash` `para_id`
2473
2534
  **/
2474
2535
  PvfCheckStarted: GenericPalletEvent<
2536
+ Rv,
2475
2537
  'Paras',
2476
2538
  'PvfCheckStarted',
2477
2539
  [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
@@ -2482,6 +2544,7 @@ export interface ChainEvents extends GenericChainEvents {
2482
2544
  * `code_hash` `para_id`
2483
2545
  **/
2484
2546
  PvfCheckAccepted: GenericPalletEvent<
2547
+ Rv,
2485
2548
  'Paras',
2486
2549
  'PvfCheckAccepted',
2487
2550
  [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
@@ -2492,6 +2555,7 @@ export interface ChainEvents extends GenericChainEvents {
2492
2555
  * `code_hash` `para_id`
2493
2556
  **/
2494
2557
  PvfCheckRejected: GenericPalletEvent<
2558
+ Rv,
2495
2559
  'Paras',
2496
2560
  'PvfCheckRejected',
2497
2561
  [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
@@ -2500,7 +2564,7 @@ export interface ChainEvents extends GenericChainEvents {
2500
2564
  /**
2501
2565
  * Generic pallet event
2502
2566
  **/
2503
- [prop: string]: GenericPalletEvent;
2567
+ [prop: string]: GenericPalletEvent<Rv>;
2504
2568
  };
2505
2569
  /**
2506
2570
  * Pallet `Hrmp`'s events
@@ -2510,6 +2574,7 @@ export interface ChainEvents extends GenericChainEvents {
2510
2574
  * Open HRMP channel requested.
2511
2575
  **/
2512
2576
  OpenChannelRequested: GenericPalletEvent<
2577
+ Rv,
2513
2578
  'Hrmp',
2514
2579
  'OpenChannelRequested',
2515
2580
  {
@@ -2524,6 +2589,7 @@ export interface ChainEvents extends GenericChainEvents {
2524
2589
  * An HRMP channel request sent by the receiver was canceled by either party.
2525
2590
  **/
2526
2591
  OpenChannelCanceled: GenericPalletEvent<
2592
+ Rv,
2527
2593
  'Hrmp',
2528
2594
  'OpenChannelCanceled',
2529
2595
  {
@@ -2536,6 +2602,7 @@ export interface ChainEvents extends GenericChainEvents {
2536
2602
  * Open HRMP channel accepted.
2537
2603
  **/
2538
2604
  OpenChannelAccepted: GenericPalletEvent<
2605
+ Rv,
2539
2606
  'Hrmp',
2540
2607
  'OpenChannelAccepted',
2541
2608
  { sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
@@ -2545,6 +2612,7 @@ export interface ChainEvents extends GenericChainEvents {
2545
2612
  * HRMP channel closed.
2546
2613
  **/
2547
2614
  ChannelClosed: GenericPalletEvent<
2615
+ Rv,
2548
2616
  'Hrmp',
2549
2617
  'ChannelClosed',
2550
2618
  {
@@ -2557,6 +2625,7 @@ export interface ChainEvents extends GenericChainEvents {
2557
2625
  * An HRMP channel was opened via Root origin.
2558
2626
  **/
2559
2627
  HrmpChannelForceOpened: GenericPalletEvent<
2628
+ Rv,
2560
2629
  'Hrmp',
2561
2630
  'HrmpChannelForceOpened',
2562
2631
  {
@@ -2568,9 +2637,10 @@ export interface ChainEvents extends GenericChainEvents {
2568
2637
  >;
2569
2638
 
2570
2639
  /**
2571
- * An HRMP channel was opened between two system chains.
2640
+ * An HRMP channel was opened with a system chain.
2572
2641
  **/
2573
2642
  HrmpSystemChannelOpened: GenericPalletEvent<
2643
+ Rv,
2574
2644
  'Hrmp',
2575
2645
  'HrmpSystemChannelOpened',
2576
2646
  {
@@ -2585,6 +2655,7 @@ export interface ChainEvents extends GenericChainEvents {
2585
2655
  * An HRMP channel's deposits were updated.
2586
2656
  **/
2587
2657
  OpenChannelDepositsUpdated: GenericPalletEvent<
2658
+ Rv,
2588
2659
  'Hrmp',
2589
2660
  'OpenChannelDepositsUpdated',
2590
2661
  { sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
@@ -2593,7 +2664,7 @@ export interface ChainEvents extends GenericChainEvents {
2593
2664
  /**
2594
2665
  * Generic pallet event
2595
2666
  **/
2596
- [prop: string]: GenericPalletEvent;
2667
+ [prop: string]: GenericPalletEvent<Rv>;
2597
2668
  };
2598
2669
  /**
2599
2670
  * Pallet `ParasDisputes`'s events
@@ -2603,6 +2674,7 @@ export interface ChainEvents extends GenericChainEvents {
2603
2674
  * A dispute has been initiated. \[candidate hash, dispute location\]
2604
2675
  **/
2605
2676
  DisputeInitiated: GenericPalletEvent<
2677
+ Rv,
2606
2678
  'ParasDisputes',
2607
2679
  'DisputeInitiated',
2608
2680
  [PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeLocation]
@@ -2613,6 +2685,7 @@ export interface ChainEvents extends GenericChainEvents {
2613
2685
  * `\[para id, candidate hash, dispute result\]`
2614
2686
  **/
2615
2687
  DisputeConcluded: GenericPalletEvent<
2688
+ Rv,
2616
2689
  'ParasDisputes',
2617
2690
  'DisputeConcluded',
2618
2691
  [PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeResult]
@@ -2624,29 +2697,61 @@ export interface ChainEvents extends GenericChainEvents {
2624
2697
  * instead revert the block at the given height. This should be the
2625
2698
  * number of the child of the last known valid block in the chain.
2626
2699
  **/
2627
- Revert: GenericPalletEvent<'ParasDisputes', 'Revert', number>;
2700
+ Revert: GenericPalletEvent<Rv, 'ParasDisputes', 'Revert', number>;
2701
+
2702
+ /**
2703
+ * Generic pallet event
2704
+ **/
2705
+ [prop: string]: GenericPalletEvent<Rv>;
2706
+ };
2707
+ /**
2708
+ * Pallet `OnDemandAssignmentProvider`'s events
2709
+ **/
2710
+ onDemandAssignmentProvider: {
2711
+ /**
2712
+ * An order was placed at some spot price amount.
2713
+ **/
2714
+ OnDemandOrderPlaced: GenericPalletEvent<
2715
+ Rv,
2716
+ 'OnDemandAssignmentProvider',
2717
+ 'OnDemandOrderPlaced',
2718
+ { paraId: PolkadotParachainPrimitivesPrimitivesId; spotPrice: bigint }
2719
+ >;
2720
+
2721
+ /**
2722
+ * The value of the spot traffic multiplier changed.
2723
+ **/
2724
+ SpotTrafficSet: GenericPalletEvent<Rv, 'OnDemandAssignmentProvider', 'SpotTrafficSet', { traffic: FixedU128 }>;
2628
2725
 
2629
2726
  /**
2630
2727
  * Generic pallet event
2631
2728
  **/
2632
- [prop: string]: GenericPalletEvent;
2729
+ [prop: string]: GenericPalletEvent<Rv>;
2633
2730
  };
2634
2731
  /**
2635
2732
  * Pallet `Registrar`'s events
2636
2733
  **/
2637
2734
  registrar: {
2638
2735
  Registered: GenericPalletEvent<
2736
+ Rv,
2639
2737
  'Registrar',
2640
2738
  'Registered',
2641
2739
  { paraId: PolkadotParachainPrimitivesPrimitivesId; manager: AccountId32 }
2642
2740
  >;
2643
- Deregistered: GenericPalletEvent<'Registrar', 'Deregistered', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2741
+ Deregistered: GenericPalletEvent<
2742
+ Rv,
2743
+ 'Registrar',
2744
+ 'Deregistered',
2745
+ { paraId: PolkadotParachainPrimitivesPrimitivesId }
2746
+ >;
2644
2747
  Reserved: GenericPalletEvent<
2748
+ Rv,
2645
2749
  'Registrar',
2646
2750
  'Reserved',
2647
2751
  { paraId: PolkadotParachainPrimitivesPrimitivesId; who: AccountId32 }
2648
2752
  >;
2649
2753
  Swapped: GenericPalletEvent<
2754
+ Rv,
2650
2755
  'Registrar',
2651
2756
  'Swapped',
2652
2757
  { paraId: PolkadotParachainPrimitivesPrimitivesId; otherId: PolkadotParachainPrimitivesPrimitivesId }
@@ -2655,7 +2760,7 @@ export interface ChainEvents extends GenericChainEvents {
2655
2760
  /**
2656
2761
  * Generic pallet event
2657
2762
  **/
2658
- [prop: string]: GenericPalletEvent;
2763
+ [prop: string]: GenericPalletEvent<Rv>;
2659
2764
  };
2660
2765
  /**
2661
2766
  * Pallet `Slots`'s events
@@ -2664,7 +2769,7 @@ export interface ChainEvents extends GenericChainEvents {
2664
2769
  /**
2665
2770
  * A new `[lease_period]` is beginning.
2666
2771
  **/
2667
- NewLeasePeriod: GenericPalletEvent<'Slots', 'NewLeasePeriod', { leasePeriod: number }>;
2772
+ NewLeasePeriod: GenericPalletEvent<Rv, 'Slots', 'NewLeasePeriod', { leasePeriod: number }>;
2668
2773
 
2669
2774
  /**
2670
2775
  * A para has won the right to a continuous set of lease periods as a parachain.
@@ -2672,6 +2777,7 @@ export interface ChainEvents extends GenericChainEvents {
2672
2777
  * Second balance is the total amount reserved.
2673
2778
  **/
2674
2779
  Leased: GenericPalletEvent<
2780
+ Rv,
2675
2781
  'Slots',
2676
2782
  'Leased',
2677
2783
  {
@@ -2687,7 +2793,7 @@ export interface ChainEvents extends GenericChainEvents {
2687
2793
  /**
2688
2794
  * Generic pallet event
2689
2795
  **/
2690
- [prop: string]: GenericPalletEvent;
2796
+ [prop: string]: GenericPalletEvent<Rv>;
2691
2797
  };
2692
2798
  /**
2693
2799
  * Pallet `Auctions`'s events
@@ -2698,6 +2804,7 @@ export interface ChainEvents extends GenericChainEvents {
2698
2804
  * close and the first lease period of the quadruplet that is auctioned.
2699
2805
  **/
2700
2806
  AuctionStarted: GenericPalletEvent<
2807
+ Rv,
2701
2808
  'Auctions',
2702
2809
  'AuctionStarted',
2703
2810
  { auctionIndex: number; leasePeriod: number; ending: number }
@@ -2706,13 +2813,14 @@ export interface ChainEvents extends GenericChainEvents {
2706
2813
  /**
2707
2814
  * An auction ended. All funds become unreserved.
2708
2815
  **/
2709
- AuctionClosed: GenericPalletEvent<'Auctions', 'AuctionClosed', { auctionIndex: number }>;
2816
+ AuctionClosed: GenericPalletEvent<Rv, 'Auctions', 'AuctionClosed', { auctionIndex: number }>;
2710
2817
 
2711
2818
  /**
2712
2819
  * Funds were reserved for a winning bid. First balance is the extra amount reserved.
2713
2820
  * Second is the total.
2714
2821
  **/
2715
2822
  Reserved: GenericPalletEvent<
2823
+ Rv,
2716
2824
  'Auctions',
2717
2825
  'Reserved',
2718
2826
  { bidder: AccountId32; extraReserved: bigint; totalAmount: bigint }
@@ -2721,13 +2829,14 @@ export interface ChainEvents extends GenericChainEvents {
2721
2829
  /**
2722
2830
  * Funds were unreserved since bidder is no longer active. `[bidder, amount]`
2723
2831
  **/
2724
- Unreserved: GenericPalletEvent<'Auctions', 'Unreserved', { bidder: AccountId32; amount: bigint }>;
2832
+ Unreserved: GenericPalletEvent<Rv, 'Auctions', 'Unreserved', { bidder: AccountId32; amount: bigint }>;
2725
2833
 
2726
2834
  /**
2727
2835
  * Someone attempted to lease the same slot twice for a parachain. The amount is held in
2728
2836
  * reserve but no parachain slot has been leased.
2729
2837
  **/
2730
2838
  ReserveConfiscated: GenericPalletEvent<
2839
+ Rv,
2731
2840
  'Auctions',
2732
2841
  'ReserveConfiscated',
2733
2842
  { paraId: PolkadotParachainPrimitivesPrimitivesId; leaser: AccountId32; amount: bigint }
@@ -2737,6 +2846,7 @@ export interface ChainEvents extends GenericChainEvents {
2737
2846
  * A new bid has been accepted as the current winner.
2738
2847
  **/
2739
2848
  BidAccepted: GenericPalletEvent<
2849
+ Rv,
2740
2850
  'Auctions',
2741
2851
  'BidAccepted',
2742
2852
  {
@@ -2752,12 +2862,12 @@ export interface ChainEvents extends GenericChainEvents {
2752
2862
  * The winning offset was chosen for an auction. This will map into the `Winning` storage
2753
2863
  * map.
2754
2864
  **/
2755
- WinningOffset: GenericPalletEvent<'Auctions', 'WinningOffset', { auctionIndex: number; blockNumber: number }>;
2865
+ WinningOffset: GenericPalletEvent<Rv, 'Auctions', 'WinningOffset', { auctionIndex: number; blockNumber: number }>;
2756
2866
 
2757
2867
  /**
2758
2868
  * Generic pallet event
2759
2869
  **/
2760
- [prop: string]: GenericPalletEvent;
2870
+ [prop: string]: GenericPalletEvent<Rv>;
2761
2871
  };
2762
2872
  /**
2763
2873
  * Pallet `Crowdloan`'s events
@@ -2766,12 +2876,13 @@ export interface ChainEvents extends GenericChainEvents {
2766
2876
  /**
2767
2877
  * Create a new crowdloaning campaign.
2768
2878
  **/
2769
- Created: GenericPalletEvent<'Crowdloan', 'Created', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2879
+ Created: GenericPalletEvent<Rv, 'Crowdloan', 'Created', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2770
2880
 
2771
2881
  /**
2772
2882
  * Contributed to a crowd sale.
2773
2883
  **/
2774
2884
  Contributed: GenericPalletEvent<
2885
+ Rv,
2775
2886
  'Crowdloan',
2776
2887
  'Contributed',
2777
2888
  { who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
@@ -2781,6 +2892,7 @@ export interface ChainEvents extends GenericChainEvents {
2781
2892
  * Withdrew full balance of a contributor.
2782
2893
  **/
2783
2894
  Withdrew: GenericPalletEvent<
2895
+ Rv,
2784
2896
  'Crowdloan',
2785
2897
  'Withdrew',
2786
2898
  { who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
@@ -2791,6 +2903,7 @@ export interface ChainEvents extends GenericChainEvents {
2791
2903
  * over child keys that still need to be killed.
2792
2904
  **/
2793
2905
  PartiallyRefunded: GenericPalletEvent<
2906
+ Rv,
2794
2907
  'Crowdloan',
2795
2908
  'PartiallyRefunded',
2796
2909
  { paraId: PolkadotParachainPrimitivesPrimitivesId }
@@ -2799,17 +2912,23 @@ export interface ChainEvents extends GenericChainEvents {
2799
2912
  /**
2800
2913
  * All loans in a fund have been refunded.
2801
2914
  **/
2802
- AllRefunded: GenericPalletEvent<'Crowdloan', 'AllRefunded', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2915
+ AllRefunded: GenericPalletEvent<
2916
+ Rv,
2917
+ 'Crowdloan',
2918
+ 'AllRefunded',
2919
+ { paraId: PolkadotParachainPrimitivesPrimitivesId }
2920
+ >;
2803
2921
 
2804
2922
  /**
2805
2923
  * Fund is dissolved.
2806
2924
  **/
2807
- Dissolved: GenericPalletEvent<'Crowdloan', 'Dissolved', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2925
+ Dissolved: GenericPalletEvent<Rv, 'Crowdloan', 'Dissolved', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2808
2926
 
2809
2927
  /**
2810
2928
  * The result of trying to submit a new bid to the Slots pallet.
2811
2929
  **/
2812
2930
  HandleBidResult: GenericPalletEvent<
2931
+ Rv,
2813
2932
  'Crowdloan',
2814
2933
  'HandleBidResult',
2815
2934
  { paraId: PolkadotParachainPrimitivesPrimitivesId; result: Result<[], DispatchError> }
@@ -2818,12 +2937,13 @@ export interface ChainEvents extends GenericChainEvents {
2818
2937
  /**
2819
2938
  * The configuration to a crowdloan has been edited.
2820
2939
  **/
2821
- Edited: GenericPalletEvent<'Crowdloan', 'Edited', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2940
+ Edited: GenericPalletEvent<Rv, 'Crowdloan', 'Edited', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2822
2941
 
2823
2942
  /**
2824
2943
  * A memo has been updated.
2825
2944
  **/
2826
2945
  MemoUpdated: GenericPalletEvent<
2946
+ Rv,
2827
2947
  'Crowdloan',
2828
2948
  'MemoUpdated',
2829
2949
  { who: AccountId32; paraId: PolkadotParachainPrimitivesPrimitivesId; memo: Bytes }
@@ -2833,6 +2953,7 @@ export interface ChainEvents extends GenericChainEvents {
2833
2953
  * A parachain has been moved to `NewRaise`
2834
2954
  **/
2835
2955
  AddedToNewRaise: GenericPalletEvent<
2956
+ Rv,
2836
2957
  'Crowdloan',
2837
2958
  'AddedToNewRaise',
2838
2959
  { paraId: PolkadotParachainPrimitivesPrimitivesId }
@@ -2841,41 +2962,26 @@ export interface ChainEvents extends GenericChainEvents {
2841
2962
  /**
2842
2963
  * Generic pallet event
2843
2964
  **/
2844
- [prop: string]: GenericPalletEvent;
2965
+ [prop: string]: GenericPalletEvent<Rv>;
2845
2966
  };
2846
2967
  /**
2847
- * Pallet `StateTrieMigration`'s events
2968
+ * Pallet `Coretime`'s events
2848
2969
  **/
2849
- stateTrieMigration: {
2970
+ coretime: {
2850
2971
  /**
2851
- * Given number of `(top, child)` keys were migrated respectively, with the given
2852
- * `compute`.
2972
+ * The broker chain has asked for revenue information for a specific block.
2853
2973
  **/
2854
- Migrated: GenericPalletEvent<
2855
- 'StateTrieMigration',
2856
- 'Migrated',
2857
- { top: number; child: number; compute: PalletStateTrieMigrationMigrationCompute }
2858
- >;
2859
-
2860
- /**
2861
- * Some account got slashed by the given amount.
2862
- **/
2863
- Slashed: GenericPalletEvent<'StateTrieMigration', 'Slashed', { who: AccountId32; amount: bigint }>;
2864
-
2865
- /**
2866
- * The auto migration task finished.
2867
- **/
2868
- AutoMigrationFinished: GenericPalletEvent<'StateTrieMigration', 'AutoMigrationFinished', null>;
2974
+ RevenueInfoRequested: GenericPalletEvent<Rv, 'Coretime', 'RevenueInfoRequested', { when: number }>;
2869
2975
 
2870
2976
  /**
2871
- * Migration got halted due to an error or miss-configuration.
2977
+ * A core has received a new assignment from the broker chain.
2872
2978
  **/
2873
- Halted: GenericPalletEvent<'StateTrieMigration', 'Halted', { error: PalletStateTrieMigrationError }>;
2979
+ CoreAssigned: GenericPalletEvent<Rv, 'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV6CoreIndex }>;
2874
2980
 
2875
2981
  /**
2876
2982
  * Generic pallet event
2877
2983
  **/
2878
- [prop: string]: GenericPalletEvent;
2984
+ [prop: string]: GenericPalletEvent<Rv>;
2879
2985
  };
2880
2986
  /**
2881
2987
  * Pallet `XcmPallet`'s events
@@ -2884,18 +2990,19 @@ export interface ChainEvents extends GenericChainEvents {
2884
2990
  /**
2885
2991
  * Execution of an XCM message was attempted.
2886
2992
  **/
2887
- Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome: XcmV3TraitsOutcome }>;
2993
+ Attempted: GenericPalletEvent<Rv, 'XcmPallet', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
2888
2994
 
2889
2995
  /**
2890
2996
  * A XCM message was sent.
2891
2997
  **/
2892
2998
  Sent: GenericPalletEvent<
2999
+ Rv,
2893
3000
  'XcmPallet',
2894
3001
  'Sent',
2895
3002
  {
2896
- origin: StagingXcmV3MultilocationMultiLocation;
2897
- destination: StagingXcmV3MultilocationMultiLocation;
2898
- message: XcmV3Xcm;
3003
+ origin: StagingXcmV4Location;
3004
+ destination: StagingXcmV4Location;
3005
+ message: StagingXcmV4Xcm;
2899
3006
  messageId: FixedBytes<32>;
2900
3007
  }
2901
3008
  >;
@@ -2906,22 +3013,33 @@ export interface ChainEvents extends GenericChainEvents {
2906
3013
  * because the query timed out.
2907
3014
  **/
2908
3015
  UnexpectedResponse: GenericPalletEvent<
3016
+ Rv,
2909
3017
  'XcmPallet',
2910
3018
  'UnexpectedResponse',
2911
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
3019
+ { origin: StagingXcmV4Location; queryId: bigint }
2912
3020
  >;
2913
3021
 
2914
3022
  /**
2915
3023
  * Query response has been received and is ready for taking with `take_response`. There is
2916
3024
  * no registered notification call.
2917
3025
  **/
2918
- ResponseReady: GenericPalletEvent<'XcmPallet', 'ResponseReady', { queryId: bigint; response: XcmV3Response }>;
3026
+ ResponseReady: GenericPalletEvent<
3027
+ Rv,
3028
+ 'XcmPallet',
3029
+ 'ResponseReady',
3030
+ { queryId: bigint; response: StagingXcmV4Response }
3031
+ >;
2919
3032
 
2920
3033
  /**
2921
3034
  * Query response has been received and query is removed. The registered notification has
2922
3035
  * been dispatched and executed successfully.
2923
3036
  **/
2924
- Notified: GenericPalletEvent<'XcmPallet', 'Notified', { queryId: bigint; palletIndex: number; callIndex: number }>;
3037
+ Notified: GenericPalletEvent<
3038
+ Rv,
3039
+ 'XcmPallet',
3040
+ 'Notified',
3041
+ { queryId: bigint; palletIndex: number; callIndex: number }
3042
+ >;
2925
3043
 
2926
3044
  /**
2927
3045
  * Query response has been received and query is removed. The registered notification
@@ -2929,6 +3047,7 @@ export interface ChainEvents extends GenericChainEvents {
2929
3047
  * originally budgeted by this runtime for the query result.
2930
3048
  **/
2931
3049
  NotifyOverweight: GenericPalletEvent<
3050
+ Rv,
2932
3051
  'XcmPallet',
2933
3052
  'NotifyOverweight',
2934
3053
  {
@@ -2945,6 +3064,7 @@ export interface ChainEvents extends GenericChainEvents {
2945
3064
  * dispatching the notification call.
2946
3065
  **/
2947
3066
  NotifyDispatchError: GenericPalletEvent<
3067
+ Rv,
2948
3068
  'XcmPallet',
2949
3069
  'NotifyDispatchError',
2950
3070
  { queryId: bigint; palletIndex: number; callIndex: number }
@@ -2956,6 +3076,7 @@ export interface ChainEvents extends GenericChainEvents {
2956
3076
  * is not `(origin, QueryId, Response)`.
2957
3077
  **/
2958
3078
  NotifyDecodeFailed: GenericPalletEvent<
3079
+ Rv,
2959
3080
  'XcmPallet',
2960
3081
  'NotifyDecodeFailed',
2961
3082
  { queryId: bigint; palletIndex: number; callIndex: number }
@@ -2967,13 +3088,10 @@ export interface ChainEvents extends GenericChainEvents {
2967
3088
  * be received and acted upon.
2968
3089
  **/
2969
3090
  InvalidResponder: GenericPalletEvent<
3091
+ Rv,
2970
3092
  'XcmPallet',
2971
3093
  'InvalidResponder',
2972
- {
2973
- origin: StagingXcmV3MultilocationMultiLocation;
2974
- queryId: bigint;
2975
- expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
2976
- }
3094
+ { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
2977
3095
  >;
2978
3096
 
2979
3097
  /**
@@ -2986,23 +3104,25 @@ export interface ChainEvents extends GenericChainEvents {
2986
3104
  * needed.
2987
3105
  **/
2988
3106
  InvalidResponderVersion: GenericPalletEvent<
3107
+ Rv,
2989
3108
  'XcmPallet',
2990
3109
  'InvalidResponderVersion',
2991
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
3110
+ { origin: StagingXcmV4Location; queryId: bigint }
2992
3111
  >;
2993
3112
 
2994
3113
  /**
2995
3114
  * Received query response has been read and removed.
2996
3115
  **/
2997
- ResponseTaken: GenericPalletEvent<'XcmPallet', 'ResponseTaken', { queryId: bigint }>;
3116
+ ResponseTaken: GenericPalletEvent<Rv, 'XcmPallet', 'ResponseTaken', { queryId: bigint }>;
2998
3117
 
2999
3118
  /**
3000
3119
  * Some assets have been placed in an asset trap.
3001
3120
  **/
3002
3121
  AssetsTrapped: GenericPalletEvent<
3122
+ Rv,
3003
3123
  'XcmPallet',
3004
3124
  'AssetsTrapped',
3005
- { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
3125
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
3006
3126
  >;
3007
3127
 
3008
3128
  /**
@@ -3011,14 +3131,10 @@ export interface ChainEvents extends GenericChainEvents {
3011
3131
  * The cost of sending it (borne by the chain) is included.
3012
3132
  **/
3013
3133
  VersionChangeNotified: GenericPalletEvent<
3134
+ Rv,
3014
3135
  'XcmPallet',
3015
3136
  'VersionChangeNotified',
3016
- {
3017
- destination: StagingXcmV3MultilocationMultiLocation;
3018
- result: number;
3019
- cost: XcmV3MultiassetMultiAssets;
3020
- messageId: FixedBytes<32>;
3021
- }
3137
+ { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3022
3138
  >;
3023
3139
 
3024
3140
  /**
@@ -3026,9 +3142,10 @@ export interface ChainEvents extends GenericChainEvents {
3026
3142
  * automatic notification or a manual intervention.
3027
3143
  **/
3028
3144
  SupportedVersionChanged: GenericPalletEvent<
3145
+ Rv,
3029
3146
  'XcmPallet',
3030
3147
  'SupportedVersionChanged',
3031
- { location: StagingXcmV3MultilocationMultiLocation; version: number }
3148
+ { location: StagingXcmV4Location; version: number }
3032
3149
  >;
3033
3150
 
3034
3151
  /**
@@ -3036,9 +3153,10 @@ export interface ChainEvents extends GenericChainEvents {
3036
3153
  * sending the notification to it.
3037
3154
  **/
3038
3155
  NotifyTargetSendFail: GenericPalletEvent<
3156
+ Rv,
3039
3157
  'XcmPallet',
3040
3158
  'NotifyTargetSendFail',
3041
- { location: StagingXcmV3MultilocationMultiLocation; queryId: bigint; error: XcmV3TraitsError }
3159
+ { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
3042
3160
  >;
3043
3161
 
3044
3162
  /**
@@ -3046,9 +3164,10 @@ export interface ChainEvents extends GenericChainEvents {
3046
3164
  * migrating the location to our new XCM format.
3047
3165
  **/
3048
3166
  NotifyTargetMigrationFail: GenericPalletEvent<
3167
+ Rv,
3049
3168
  'XcmPallet',
3050
3169
  'NotifyTargetMigrationFail',
3051
- { location: XcmVersionedMultiLocation; queryId: bigint }
3170
+ { location: XcmVersionedLocation; queryId: bigint }
3052
3171
  >;
3053
3172
 
3054
3173
  /**
@@ -3061,9 +3180,10 @@ export interface ChainEvents extends GenericChainEvents {
3061
3180
  * needed.
3062
3181
  **/
3063
3182
  InvalidQuerierVersion: GenericPalletEvent<
3183
+ Rv,
3064
3184
  'XcmPallet',
3065
3185
  'InvalidQuerierVersion',
3066
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
3186
+ { origin: StagingXcmV4Location; queryId: bigint }
3067
3187
  >;
3068
3188
 
3069
3189
  /**
@@ -3072,13 +3192,14 @@ export interface ChainEvents extends GenericChainEvents {
3072
3192
  * be received and acted upon.
3073
3193
  **/
3074
3194
  InvalidQuerier: GenericPalletEvent<
3195
+ Rv,
3075
3196
  'XcmPallet',
3076
3197
  'InvalidQuerier',
3077
3198
  {
3078
- origin: StagingXcmV3MultilocationMultiLocation;
3199
+ origin: StagingXcmV4Location;
3079
3200
  queryId: bigint;
3080
- expectedQuerier: StagingXcmV3MultilocationMultiLocation;
3081
- maybeActualQuerier?: StagingXcmV3MultilocationMultiLocation | undefined;
3201
+ expectedQuerier: StagingXcmV4Location;
3202
+ maybeActualQuerier?: StagingXcmV4Location | undefined;
3082
3203
  }
3083
3204
  >;
3084
3205
 
@@ -3087,26 +3208,20 @@ export interface ChainEvents extends GenericChainEvents {
3087
3208
  * A version information message is sent to them and its cost is included.
3088
3209
  **/
3089
3210
  VersionNotifyStarted: GenericPalletEvent<
3211
+ Rv,
3090
3212
  'XcmPallet',
3091
3213
  'VersionNotifyStarted',
3092
- {
3093
- destination: StagingXcmV3MultilocationMultiLocation;
3094
- cost: XcmV3MultiassetMultiAssets;
3095
- messageId: FixedBytes<32>;
3096
- }
3214
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3097
3215
  >;
3098
3216
 
3099
3217
  /**
3100
3218
  * We have requested that a remote chain send us XCM version change notifications.
3101
3219
  **/
3102
3220
  VersionNotifyRequested: GenericPalletEvent<
3221
+ Rv,
3103
3222
  'XcmPallet',
3104
3223
  'VersionNotifyRequested',
3105
- {
3106
- destination: StagingXcmV3MultilocationMultiLocation;
3107
- cost: XcmV3MultiassetMultiAssets;
3108
- messageId: FixedBytes<32>;
3109
- }
3224
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3110
3225
  >;
3111
3226
 
3112
3227
  /**
@@ -3114,37 +3229,41 @@ export interface ChainEvents extends GenericChainEvents {
3114
3229
  * notifications.
3115
3230
  **/
3116
3231
  VersionNotifyUnrequested: GenericPalletEvent<
3232
+ Rv,
3117
3233
  'XcmPallet',
3118
3234
  'VersionNotifyUnrequested',
3119
- {
3120
- destination: StagingXcmV3MultilocationMultiLocation;
3121
- cost: XcmV3MultiassetMultiAssets;
3122
- messageId: FixedBytes<32>;
3123
- }
3235
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3124
3236
  >;
3125
3237
 
3126
3238
  /**
3127
3239
  * Fees were paid from a location for an operation (often for using `SendXcm`).
3128
3240
  **/
3129
3241
  FeesPaid: GenericPalletEvent<
3242
+ Rv,
3130
3243
  'XcmPallet',
3131
3244
  'FeesPaid',
3132
- { paying: StagingXcmV3MultilocationMultiLocation; fees: XcmV3MultiassetMultiAssets }
3245
+ { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
3133
3246
  >;
3134
3247
 
3135
3248
  /**
3136
3249
  * Some assets have been claimed from an asset trap
3137
3250
  **/
3138
3251
  AssetsClaimed: GenericPalletEvent<
3252
+ Rv,
3139
3253
  'XcmPallet',
3140
3254
  'AssetsClaimed',
3141
- { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
3255
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
3142
3256
  >;
3143
3257
 
3258
+ /**
3259
+ * A XCM version migration finished.
3260
+ **/
3261
+ VersionMigrationFinished: GenericPalletEvent<Rv, 'XcmPallet', 'VersionMigrationFinished', { version: number }>;
3262
+
3144
3263
  /**
3145
3264
  * Generic pallet event
3146
3265
  **/
3147
- [prop: string]: GenericPalletEvent;
3266
+ [prop: string]: GenericPalletEvent<Rv>;
3148
3267
  };
3149
3268
  /**
3150
3269
  * Pallet `MessageQueue`'s events
@@ -3154,11 +3273,26 @@ export interface ChainEvents extends GenericChainEvents {
3154
3273
  * Message discarded due to an error in the `MessageProcessor` (usually a format error).
3155
3274
  **/
3156
3275
  ProcessingFailed: GenericPalletEvent<
3276
+ Rv,
3157
3277
  'MessageQueue',
3158
3278
  'ProcessingFailed',
3159
3279
  {
3160
- id: FixedBytes<32>;
3280
+ /**
3281
+ * The `blake2_256` hash of the message.
3282
+ **/
3283
+ id: H256;
3284
+
3285
+ /**
3286
+ * The queue of the message.
3287
+ **/
3161
3288
  origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
3289
+
3290
+ /**
3291
+ * The error that occurred.
3292
+ *
3293
+ * This error is pretty opaque. More fine-grained errors need to be emitted as events
3294
+ * by the `MessageProcessor`.
3295
+ **/
3162
3296
  error: FrameSupportMessagesProcessMessageError;
3163
3297
  }
3164
3298
  >;
@@ -3167,12 +3301,33 @@ export interface ChainEvents extends GenericChainEvents {
3167
3301
  * Message is processed.
3168
3302
  **/
3169
3303
  Processed: GenericPalletEvent<
3304
+ Rv,
3170
3305
  'MessageQueue',
3171
3306
  'Processed',
3172
3307
  {
3173
- id: FixedBytes<32>;
3308
+ /**
3309
+ * The `blake2_256` hash of the message.
3310
+ **/
3311
+ id: H256;
3312
+
3313
+ /**
3314
+ * The queue of the message.
3315
+ **/
3174
3316
  origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
3317
+
3318
+ /**
3319
+ * How much weight was used to process the message.
3320
+ **/
3175
3321
  weightUsed: SpWeightsWeightV2Weight;
3322
+
3323
+ /**
3324
+ * Whether the message was processed.
3325
+ *
3326
+ * Note that this does not mean that the underlying `MessageProcessor` was internally
3327
+ * successful. It *solely* means that the MQ pallet will treat this as a success
3328
+ * condition and discard the message. Any internal error needs to be emitted as events
3329
+ * by the `MessageProcessor`.
3330
+ **/
3176
3331
  success: boolean;
3177
3332
  }
3178
3333
  >;
@@ -3181,12 +3336,28 @@ export interface ChainEvents extends GenericChainEvents {
3181
3336
  * Message placed in overweight queue.
3182
3337
  **/
3183
3338
  OverweightEnqueued: GenericPalletEvent<
3339
+ Rv,
3184
3340
  'MessageQueue',
3185
3341
  'OverweightEnqueued',
3186
3342
  {
3343
+ /**
3344
+ * The `blake2_256` hash of the message.
3345
+ **/
3187
3346
  id: FixedBytes<32>;
3347
+
3348
+ /**
3349
+ * The queue of the message.
3350
+ **/
3188
3351
  origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
3352
+
3353
+ /**
3354
+ * The page of the message.
3355
+ **/
3189
3356
  pageIndex: number;
3357
+
3358
+ /**
3359
+ * The index of the message within the page.
3360
+ **/
3190
3361
  messageIndex: number;
3191
3362
  }
3192
3363
  >;
@@ -3195,31 +3366,45 @@ export interface ChainEvents extends GenericChainEvents {
3195
3366
  * This page was reaped.
3196
3367
  **/
3197
3368
  PageReaped: GenericPalletEvent<
3369
+ Rv,
3198
3370
  'MessageQueue',
3199
3371
  'PageReaped',
3200
- { origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin; index: number }
3372
+ {
3373
+ /**
3374
+ * The queue of the page.
3375
+ **/
3376
+ origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
3377
+
3378
+ /**
3379
+ * The index of the page.
3380
+ **/
3381
+ index: number;
3382
+ }
3201
3383
  >;
3202
3384
 
3203
3385
  /**
3204
3386
  * Generic pallet event
3205
3387
  **/
3206
- [prop: string]: GenericPalletEvent;
3388
+ [prop: string]: GenericPalletEvent<Rv>;
3207
3389
  };
3208
3390
  /**
3209
3391
  * Pallet `AssetRate`'s events
3210
3392
  **/
3211
3393
  assetRate: {
3212
3394
  AssetRateCreated: GenericPalletEvent<
3395
+ Rv,
3213
3396
  'AssetRate',
3214
3397
  'AssetRateCreated',
3215
3398
  { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; rate: FixedU128 }
3216
3399
  >;
3217
3400
  AssetRateRemoved: GenericPalletEvent<
3401
+ Rv,
3218
3402
  'AssetRate',
3219
3403
  'AssetRateRemoved',
3220
3404
  { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset }
3221
3405
  >;
3222
3406
  AssetRateUpdated: GenericPalletEvent<
3407
+ Rv,
3223
3408
  'AssetRate',
3224
3409
  'AssetRateUpdated',
3225
3410
  { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 }
@@ -3228,6 +3413,6 @@ export interface ChainEvents extends GenericChainEvents {
3228
3413
  /**
3229
3414
  * Generic pallet event
3230
3415
  **/
3231
- [prop: string]: GenericPalletEvent;
3416
+ [prop: string]: GenericPalletEvent<Rv>;
3232
3417
  };
3233
3418
  }