@dedot/chaintypes 0.0.1-next.f5bf4fc2.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/README.md +3 -1
  2. package/aleph/consts.d.ts +94 -13
  3. package/aleph/errors.d.ts +251 -182
  4. package/aleph/events.d.ts +319 -102
  5. package/aleph/index.d.ts +16 -11
  6. package/aleph/json-rpc.d.ts +76 -0
  7. package/aleph/query.d.ts +261 -168
  8. package/aleph/runtime.d.ts +90 -39
  9. package/aleph/tx.d.ts +1822 -1052
  10. package/aleph/types.d.ts +458 -138
  11. package/astar/consts.d.ts +112 -116
  12. package/astar/errors.d.ts +342 -409
  13. package/astar/events.d.ts +449 -358
  14. package/astar/index.d.ts +16 -11
  15. package/astar/json-rpc.d.ts +131 -0
  16. package/astar/query.d.ts +459 -367
  17. package/astar/runtime.d.ts +591 -98
  18. package/astar/tx.d.ts +2485 -3430
  19. package/astar/types.d.ts +1530 -4436
  20. package/index.d.ts +3 -0
  21. package/index.ts +3 -0
  22. package/kusama/consts.d.ts +54 -115
  23. package/kusama/errors.d.ts +696 -682
  24. package/kusama/events.d.ts +592 -407
  25. package/kusama/index.d.ts +16 -11
  26. package/kusama/json-rpc.d.ts +103 -0
  27. package/kusama/query.d.ts +840 -538
  28. package/kusama/runtime.d.ts +136 -65
  29. package/kusama/tx.d.ts +4557 -3051
  30. package/kusama/types.d.ts +1437 -1161
  31. package/kusamaAssetHub/consts.d.ts +66 -20
  32. package/kusamaAssetHub/errors.d.ts +428 -308
  33. package/kusamaAssetHub/events.d.ts +497 -305
  34. package/kusamaAssetHub/index.d.ts +16 -11
  35. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  36. package/kusamaAssetHub/query.d.ts +376 -253
  37. package/kusamaAssetHub/runtime.d.ts +82 -41
  38. package/kusamaAssetHub/tx.d.ts +3264 -1955
  39. package/kusamaAssetHub/types.d.ts +1262 -726
  40. package/moonbeam/consts.d.ts +115 -170
  41. package/moonbeam/errors.d.ts +564 -787
  42. package/moonbeam/events.d.ts +583 -746
  43. package/moonbeam/index.d.ts +16 -11
  44. package/moonbeam/json-rpc.d.ts +137 -0
  45. package/moonbeam/query.d.ts +507 -607
  46. package/moonbeam/runtime.d.ts +132 -47
  47. package/moonbeam/tx.d.ts +3309 -3268
  48. package/moonbeam/types.d.ts +1484 -1375
  49. package/package.json +4 -14
  50. package/paseo/consts.d.ts +1331 -0
  51. package/paseo/errors.d.ts +2644 -0
  52. package/paseo/events.d.ts +2821 -0
  53. package/paseo/index.d.ts +27 -0
  54. package/paseo/json-rpc.d.ts +103 -0
  55. package/paseo/query.d.ts +3709 -0
  56. package/paseo/runtime.d.ts +1205 -0
  57. package/paseo/tx.d.ts +8024 -0
  58. package/paseo/types.d.ts +10194 -0
  59. package/polkadot/consts.d.ts +95 -50
  60. package/polkadot/errors.d.ts +619 -468
  61. package/polkadot/events.d.ts +582 -257
  62. package/polkadot/index.d.ts +16 -11
  63. package/polkadot/json-rpc.d.ts +103 -0
  64. package/polkadot/query.d.ts +770 -399
  65. package/polkadot/runtime.d.ts +136 -65
  66. package/polkadot/tx.d.ts +4268 -2368
  67. package/polkadot/types.d.ts +1570 -745
  68. package/polkadotAssetHub/consts.d.ts +154 -15
  69. package/polkadotAssetHub/errors.d.ts +615 -234
  70. package/polkadotAssetHub/events.d.ts +829 -270
  71. package/polkadotAssetHub/index.d.ts +16 -11
  72. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  73. package/polkadotAssetHub/query.d.ts +438 -243
  74. package/polkadotAssetHub/runtime.d.ts +147 -40
  75. package/polkadotAssetHub/tx.d.ts +3747 -1643
  76. package/polkadotAssetHub/types.d.ts +2096 -806
  77. package/rococo/consts.d.ts +51 -32
  78. package/rococo/errors.d.ts +549 -605
  79. package/rococo/events.d.ts +447 -238
  80. package/rococo/index.d.ts +16 -11
  81. package/rococo/json-rpc.d.ts +103 -0
  82. package/rococo/query.d.ts +724 -426
  83. package/rococo/runtime.d.ts +366 -144
  84. package/rococo/tx.d.ts +6850 -3079
  85. package/rococo/types.d.ts +5959 -1619
  86. package/rococoAssetHub/consts.d.ts +92 -7
  87. package/rococoAssetHub/errors.d.ts +381 -285
  88. package/rococoAssetHub/events.d.ts +461 -140
  89. package/rococoAssetHub/index.d.ts +16 -11
  90. package/rococoAssetHub/json-rpc.d.ts +89 -0
  91. package/rococoAssetHub/query.d.ts +487 -174
  92. package/rococoAssetHub/runtime.d.ts +235 -51
  93. package/rococoAssetHub/tx.d.ts +6005 -2163
  94. package/rococoAssetHub/types.d.ts +6683 -1003
  95. package/substrate/consts.d.ts +233 -52
  96. package/substrate/errors.d.ts +966 -781
  97. package/substrate/events.d.ts +1226 -381
  98. package/substrate/index.d.ts +16 -11
  99. package/substrate/json-rpc.d.ts +103 -0
  100. package/substrate/query.d.ts +1090 -460
  101. package/substrate/runtime.d.ts +274 -71
  102. package/substrate/tx.d.ts +12313 -4510
  103. package/substrate/types.d.ts +11036 -1432
  104. package/westend/consts.d.ts +1349 -0
  105. package/westend/errors.d.ts +2736 -0
  106. package/westend/events.d.ts +2906 -0
  107. package/westend/index.d.ts +27 -0
  108. package/westend/json-rpc.d.ts +103 -0
  109. package/westend/query.d.ts +3855 -0
  110. package/westend/runtime.d.ts +1437 -0
  111. package/westend/tx.d.ts +10248 -0
  112. package/westend/types.d.ts +14769 -0
  113. package/westendAssetHub/consts.d.ts +126 -7
  114. package/westendAssetHub/errors.d.ts +426 -285
  115. package/westendAssetHub/events.d.ts +498 -140
  116. package/westendAssetHub/index.d.ts +16 -11
  117. package/westendAssetHub/json-rpc.d.ts +89 -0
  118. package/westendAssetHub/query.d.ts +526 -174
  119. package/westendAssetHub/runtime.d.ts +245 -56
  120. package/westendAssetHub/tx.d.ts +6196 -2166
  121. package/westendAssetHub/types.d.ts +6913 -1002
  122. package/westendPeople/consts.d.ts +434 -0
  123. package/westendPeople/errors.d.ts +769 -0
  124. package/westendPeople/events.d.ts +1082 -0
  125. package/westendPeople/index.d.ts +27 -0
  126. package/westendPeople/json-rpc.d.ts +89 -0
  127. package/westendPeople/query.d.ts +1209 -0
  128. package/westendPeople/runtime.d.ts +636 -0
  129. package/westendPeople/tx.d.ts +2891 -0
  130. package/westendPeople/types.d.ts +4984 -0
  131. package/aleph/rpc.d.ts +0 -727
  132. package/astar/rpc.d.ts +0 -974
  133. package/kusama/rpc.d.ts +0 -904
  134. package/kusamaAssetHub/rpc.d.ts +0 -746
  135. package/moonbeam/rpc.d.ts +0 -1015
  136. package/packageInfo.d.ts +0 -4
  137. package/packageInfo.js +0 -2
  138. package/packageInfo.ts +0 -3
  139. package/polkadot/rpc.d.ts +0 -904
  140. package/polkadotAssetHub/rpc.d.ts +0 -746
  141. package/rococo/rpc.d.ts +0 -904
  142. package/rococoAssetHub/rpc.d.ts +0 -746
  143. package/substrate/rpc.d.ts +0 -894
  144. package/westendAssetHub/rpc.d.ts +0 -746
@@ -1,6 +1,6 @@
1
- // Generated by @dedot/codegen
1
+ // Generated by dedot cli
2
2
 
3
- import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
3
+ import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
4
  import type {
5
5
  DispatchInfo,
6
6
  DispatchError,
@@ -12,7 +12,7 @@ import type {
12
12
  Result,
13
13
  Bytes,
14
14
  H160,
15
- } from '@dedot/codecs';
15
+ } from 'dedot/codecs';
16
16
  import type {
17
17
  SpWeightsWeightV2Weight,
18
18
  FrameSupportTokensMiscBalanceStatus,
@@ -25,30 +25,28 @@ import type {
25
25
  PalletMultisigTimepoint,
26
26
  EthereumLog,
27
27
  EvmCoreErrorExitReason,
28
- PalletDemocracyVoteThreshold,
29
- PalletDemocracyVoteAccountVote,
30
- PalletDemocracyMetadataOwner,
31
28
  FrameSupportPreimagesBounded,
32
29
  PalletConvictionVotingTally,
33
30
  FrameSupportDispatchPostDispatchInfo,
34
31
  SpRuntimeDispatchErrorWithPostInfo,
32
+ StagingXcmV4TraitsOutcome,
33
+ StagingXcmV4Location,
34
+ StagingXcmV4Xcm,
35
+ StagingXcmV4Response,
36
+ XcmVersionedAssets,
37
+ StagingXcmV4AssetAssets,
35
38
  XcmV3TraitsError,
36
- PolkadotParachainPrimitivesPrimitivesId,
37
- XcmV3TraitsOutcome,
38
- StagingXcmV3MultilocationMultiLocation,
39
- XcmV3Xcm,
40
- XcmV3Response,
41
- XcmVersionedMultiAssets,
42
- XcmV3MultiassetMultiAssets,
43
- XcmVersionedMultiLocation,
39
+ XcmVersionedLocation,
44
40
  MoonbeamRuntimeXcmConfigAssetType,
45
41
  MoonbeamRuntimeAssetConfigAssetRegistrarMetadata,
46
- XcmV3MultiassetMultiAsset,
42
+ StagingXcmV4Asset,
47
43
  PalletXcmTransactorRemoteTransactInfoWithMaxWeight,
48
44
  PalletXcmTransactorHrmpOperation,
45
+ CumulusPrimitivesCoreAggregateMessageOrigin,
46
+ FrameSupportMessagesProcessMessageError,
49
47
  } from './types';
50
48
 
51
- export interface ChainEvents extends GenericChainEvents {
49
+ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
52
50
  /**
53
51
  * Pallet `System`'s events
54
52
  **/
@@ -56,12 +54,13 @@ export interface ChainEvents extends GenericChainEvents {
56
54
  /**
57
55
  * An extrinsic completed successfully.
58
56
  **/
59
- ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
57
+ ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
60
58
 
61
59
  /**
62
60
  * An extrinsic failed.
63
61
  **/
64
62
  ExtrinsicFailed: GenericPalletEvent<
63
+ Rv,
65
64
  'System',
66
65
  'ExtrinsicFailed',
67
66
  { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
@@ -70,27 +69,32 @@ export interface ChainEvents extends GenericChainEvents {
70
69
  /**
71
70
  * `:code` was updated.
72
71
  **/
73
- CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
72
+ CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
74
73
 
75
74
  /**
76
75
  * A new account was created.
77
76
  **/
78
- NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId20 }>;
77
+ NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId20 }>;
79
78
 
80
79
  /**
81
80
  * An account was reaped.
82
81
  **/
83
- KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId20 }>;
82
+ KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId20 }>;
84
83
 
85
84
  /**
86
85
  * On on-chain remark happened.
87
86
  **/
88
- Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId20; hash: H256 }>;
87
+ Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId20; hash: H256 }>;
88
+
89
+ /**
90
+ * An upgrade was authorized.
91
+ **/
92
+ UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
89
93
 
90
94
  /**
91
95
  * Generic pallet event
92
96
  **/
93
- [prop: string]: GenericPalletEvent;
97
+ [prop: string]: GenericPalletEvent<Rv>;
94
98
  };
95
99
  /**
96
100
  * Pallet `ParachainSystem`'s events
@@ -99,12 +103,13 @@ export interface ChainEvents extends GenericChainEvents {
99
103
  /**
100
104
  * The validation function has been scheduled to apply.
101
105
  **/
102
- ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
106
+ ValidationFunctionStored: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionStored', null>;
103
107
 
104
108
  /**
105
109
  * The validation function was applied as of the contained relay chain block number.
106
110
  **/
107
111
  ValidationFunctionApplied: GenericPalletEvent<
112
+ Rv,
108
113
  'ParachainSystem',
109
114
  'ValidationFunctionApplied',
110
115
  { relayChainBlockNum: number }
@@ -113,22 +118,18 @@ export interface ChainEvents extends GenericChainEvents {
113
118
  /**
114
119
  * The relay-chain aborted the upgrade process.
115
120
  **/
116
- ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
117
-
118
- /**
119
- * An upgrade has been authorized.
120
- **/
121
- UpgradeAuthorized: GenericPalletEvent<'ParachainSystem', 'UpgradeAuthorized', { codeHash: H256 }>;
121
+ ValidationFunctionDiscarded: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionDiscarded', null>;
122
122
 
123
123
  /**
124
124
  * Some downward messages have been received and will be processed.
125
125
  **/
126
- DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
126
+ DownwardMessagesReceived: GenericPalletEvent<Rv, 'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
127
127
 
128
128
  /**
129
129
  * Downward messages were processed using the given weight.
130
130
  **/
131
131
  DownwardMessagesProcessed: GenericPalletEvent<
132
+ Rv,
132
133
  'ParachainSystem',
133
134
  'DownwardMessagesProcessed',
134
135
  { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
@@ -138,6 +139,7 @@ export interface ChainEvents extends GenericChainEvents {
138
139
  * An upward message was sent to the relay chain.
139
140
  **/
140
141
  UpwardMessageSent: GenericPalletEvent<
142
+ Rv,
141
143
  'ParachainSystem',
142
144
  'UpwardMessageSent',
143
145
  { messageHash?: FixedBytes<32> | undefined }
@@ -146,7 +148,21 @@ export interface ChainEvents extends GenericChainEvents {
146
148
  /**
147
149
  * Generic pallet event
148
150
  **/
149
- [prop: string]: GenericPalletEvent;
151
+ [prop: string]: GenericPalletEvent<Rv>;
152
+ };
153
+ /**
154
+ * Pallet `RootTesting`'s events
155
+ **/
156
+ rootTesting: {
157
+ /**
158
+ * Event dispatched when the trigger_defensive extrinsic is called.
159
+ **/
160
+ DefensiveTestCall: GenericPalletEvent<Rv, 'RootTesting', 'DefensiveTestCall', undefined>;
161
+
162
+ /**
163
+ * Generic pallet event
164
+ **/
165
+ [prop: string]: GenericPalletEvent<Rv>;
150
166
  };
151
167
  /**
152
168
  * Pallet `Balances`'s events
@@ -155,39 +171,40 @@ export interface ChainEvents extends GenericChainEvents {
155
171
  /**
156
172
  * An account was created with some free balance.
157
173
  **/
158
- Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId20; freeBalance: bigint }>;
174
+ Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId20; freeBalance: bigint }>;
159
175
 
160
176
  /**
161
177
  * An account was removed whose balance was non-zero but below ExistentialDeposit,
162
178
  * resulting in an outright loss.
163
179
  **/
164
- DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId20; amount: bigint }>;
180
+ DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId20; amount: bigint }>;
165
181
 
166
182
  /**
167
183
  * Transfer succeeded.
168
184
  **/
169
- Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId20; to: AccountId20; amount: bigint }>;
185
+ Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId20; to: AccountId20; amount: bigint }>;
170
186
 
171
187
  /**
172
188
  * A balance was set by root.
173
189
  **/
174
- BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId20; free: bigint }>;
190
+ BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId20; free: bigint }>;
175
191
 
176
192
  /**
177
193
  * Some balance was reserved (moved from free to reserved).
178
194
  **/
179
- Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId20; amount: bigint }>;
195
+ Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId20; amount: bigint }>;
180
196
 
181
197
  /**
182
198
  * Some balance was unreserved (moved from reserved to free).
183
199
  **/
184
- Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId20; amount: bigint }>;
200
+ Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId20; amount: bigint }>;
185
201
 
186
202
  /**
187
203
  * Some balance was moved from the reserve of the first account to the second account.
188
204
  * Final argument indicates the destination balance type.
189
205
  **/
190
206
  ReserveRepatriated: GenericPalletEvent<
207
+ Rv,
191
208
  'Balances',
192
209
  'ReserveRepatriated',
193
210
  { from: AccountId20; to: AccountId20; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
@@ -196,77 +213,82 @@ export interface ChainEvents extends GenericChainEvents {
196
213
  /**
197
214
  * Some amount was deposited (e.g. for transaction fees).
198
215
  **/
199
- Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId20; amount: bigint }>;
216
+ Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId20; amount: bigint }>;
200
217
 
201
218
  /**
202
219
  * Some amount was withdrawn from the account (e.g. for transaction fees).
203
220
  **/
204
- Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId20; amount: bigint }>;
221
+ Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId20; amount: bigint }>;
205
222
 
206
223
  /**
207
224
  * Some amount was removed from the account (e.g. for misbehavior).
208
225
  **/
209
- Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId20; amount: bigint }>;
226
+ Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId20; amount: bigint }>;
210
227
 
211
228
  /**
212
229
  * Some amount was minted into an account.
213
230
  **/
214
- Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId20; amount: bigint }>;
231
+ Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId20; amount: bigint }>;
215
232
 
216
233
  /**
217
234
  * Some amount was burned from an account.
218
235
  **/
219
- Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId20; amount: bigint }>;
236
+ Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId20; amount: bigint }>;
220
237
 
221
238
  /**
222
239
  * Some amount was suspended from an account (it can be restored later).
223
240
  **/
224
- Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId20; amount: bigint }>;
241
+ Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId20; amount: bigint }>;
225
242
 
226
243
  /**
227
244
  * Some amount was restored into an account.
228
245
  **/
229
- Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId20; amount: bigint }>;
246
+ Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId20; amount: bigint }>;
230
247
 
231
248
  /**
232
249
  * An account was upgraded.
233
250
  **/
234
- Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId20 }>;
251
+ Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId20 }>;
235
252
 
236
253
  /**
237
254
  * Total issuance was increased by `amount`, creating a credit to be balanced.
238
255
  **/
239
- Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
256
+ Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
240
257
 
241
258
  /**
242
259
  * Total issuance was decreased by `amount`, creating a debt to be balanced.
243
260
  **/
244
- Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
261
+ Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
245
262
 
246
263
  /**
247
264
  * Some balance was locked.
248
265
  **/
249
- Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId20; amount: bigint }>;
266
+ Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId20; amount: bigint }>;
250
267
 
251
268
  /**
252
269
  * Some balance was unlocked.
253
270
  **/
254
- Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId20; amount: bigint }>;
271
+ Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId20; amount: bigint }>;
255
272
 
256
273
  /**
257
274
  * Some balance was frozen.
258
275
  **/
259
- Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId20; amount: bigint }>;
276
+ Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId20; amount: bigint }>;
260
277
 
261
278
  /**
262
279
  * Some balance was thawed.
263
280
  **/
264
- Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId20; amount: bigint }>;
281
+ Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId20; amount: bigint }>;
282
+
283
+ /**
284
+ * The `TotalIssuance` was forcefully changed.
285
+ **/
286
+ TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
265
287
 
266
288
  /**
267
289
  * Generic pallet event
268
290
  **/
269
- [prop: string]: GenericPalletEvent;
291
+ [prop: string]: GenericPalletEvent<Rv>;
270
292
  };
271
293
  /**
272
294
  * Pallet `TransactionPayment`'s events
@@ -277,6 +299,7 @@ export interface ChainEvents extends GenericChainEvents {
277
299
  * has been paid by `who`.
278
300
  **/
279
301
  TransactionFeePaid: GenericPalletEvent<
302
+ Rv,
280
303
  'TransactionPayment',
281
304
  'TransactionFeePaid',
282
305
  { who: AccountId20; actualFee: bigint; tip: bigint }
@@ -285,7 +308,7 @@ export interface ChainEvents extends GenericChainEvents {
285
308
  /**
286
309
  * Generic pallet event
287
310
  **/
288
- [prop: string]: GenericPalletEvent;
311
+ [prop: string]: GenericPalletEvent<Rv>;
289
312
  };
290
313
  /**
291
314
  * Pallet `ParachainStaking`'s events
@@ -295,6 +318,7 @@ export interface ChainEvents extends GenericChainEvents {
295
318
  * Started new round.
296
319
  **/
297
320
  NewRound: GenericPalletEvent<
321
+ Rv,
298
322
  'ParachainStaking',
299
323
  'NewRound',
300
324
  { startingBlock: number; round: number; selectedCollatorsNumber: number; totalBalance: bigint }
@@ -304,6 +328,7 @@ export interface ChainEvents extends GenericChainEvents {
304
328
  * Account joined the set of collator candidates.
305
329
  **/
306
330
  JoinedCollatorCandidates: GenericPalletEvent<
331
+ Rv,
307
332
  'ParachainStaking',
308
333
  'JoinedCollatorCandidates',
309
334
  { account: AccountId20; amountLocked: bigint; newTotalAmtLocked: bigint }
@@ -313,6 +338,7 @@ export interface ChainEvents extends GenericChainEvents {
313
338
  * Candidate selected for collators. Total Exposed Amount includes all delegations.
314
339
  **/
315
340
  CollatorChosen: GenericPalletEvent<
341
+ Rv,
316
342
  'ParachainStaking',
317
343
  'CollatorChosen',
318
344
  { round: number; collatorAccount: AccountId20; totalExposedAmount: bigint }
@@ -322,6 +348,7 @@ export interface ChainEvents extends GenericChainEvents {
322
348
  * Candidate requested to decrease a self bond.
323
349
  **/
324
350
  CandidateBondLessRequested: GenericPalletEvent<
351
+ Rv,
325
352
  'ParachainStaking',
326
353
  'CandidateBondLessRequested',
327
354
  { candidate: AccountId20; amountToDecrease: bigint; executeRound: number }
@@ -331,6 +358,7 @@ export interface ChainEvents extends GenericChainEvents {
331
358
  * Candidate has increased a self bond.
332
359
  **/
333
360
  CandidateBondedMore: GenericPalletEvent<
361
+ Rv,
334
362
  'ParachainStaking',
335
363
  'CandidateBondedMore',
336
364
  { candidate: AccountId20; amount: bigint; newTotalBond: bigint }
@@ -340,6 +368,7 @@ export interface ChainEvents extends GenericChainEvents {
340
368
  * Candidate has decreased a self bond.
341
369
  **/
342
370
  CandidateBondedLess: GenericPalletEvent<
371
+ Rv,
343
372
  'ParachainStaking',
344
373
  'CandidateBondedLess',
345
374
  { candidate: AccountId20; amount: bigint; newBond: bigint }
@@ -348,17 +377,23 @@ export interface ChainEvents extends GenericChainEvents {
348
377
  /**
349
378
  * Candidate temporarily leave the set of collator candidates without unbonding.
350
379
  **/
351
- CandidateWentOffline: GenericPalletEvent<'ParachainStaking', 'CandidateWentOffline', { candidate: AccountId20 }>;
380
+ CandidateWentOffline: GenericPalletEvent<
381
+ Rv,
382
+ 'ParachainStaking',
383
+ 'CandidateWentOffline',
384
+ { candidate: AccountId20 }
385
+ >;
352
386
 
353
387
  /**
354
388
  * Candidate rejoins the set of collator candidates.
355
389
  **/
356
- CandidateBackOnline: GenericPalletEvent<'ParachainStaking', 'CandidateBackOnline', { candidate: AccountId20 }>;
390
+ CandidateBackOnline: GenericPalletEvent<Rv, 'ParachainStaking', 'CandidateBackOnline', { candidate: AccountId20 }>;
357
391
 
358
392
  /**
359
393
  * Candidate has requested to leave the set of candidates.
360
394
  **/
361
395
  CandidateScheduledExit: GenericPalletEvent<
396
+ Rv,
362
397
  'ParachainStaking',
363
398
  'CandidateScheduledExit',
364
399
  { exitAllowedRound: number; candidate: AccountId20; scheduledExit: number }
@@ -368,6 +403,7 @@ export interface ChainEvents extends GenericChainEvents {
368
403
  * Cancelled request to leave the set of candidates.
369
404
  **/
370
405
  CancelledCandidateExit: GenericPalletEvent<
406
+ Rv,
371
407
  'ParachainStaking',
372
408
  'CancelledCandidateExit',
373
409
  { candidate: AccountId20 }
@@ -377,6 +413,7 @@ export interface ChainEvents extends GenericChainEvents {
377
413
  * Cancelled request to decrease candidate's bond.
378
414
  **/
379
415
  CancelledCandidateBondLess: GenericPalletEvent<
416
+ Rv,
380
417
  'ParachainStaking',
381
418
  'CancelledCandidateBondLess',
382
419
  { candidate: AccountId20; amount: bigint; executeRound: number }
@@ -386,6 +423,7 @@ export interface ChainEvents extends GenericChainEvents {
386
423
  * Candidate has left the set of candidates.
387
424
  **/
388
425
  CandidateLeft: GenericPalletEvent<
426
+ Rv,
389
427
  'ParachainStaking',
390
428
  'CandidateLeft',
391
429
  { exCandidate: AccountId20; unlockedAmount: bigint; newTotalAmtLocked: bigint }
@@ -395,16 +433,19 @@ export interface ChainEvents extends GenericChainEvents {
395
433
  * Delegator requested to decrease a bond for the collator candidate.
396
434
  **/
397
435
  DelegationDecreaseScheduled: GenericPalletEvent<
436
+ Rv,
398
437
  'ParachainStaking',
399
438
  'DelegationDecreaseScheduled',
400
439
  { delegator: AccountId20; candidate: AccountId20; amountToDecrease: bigint; executeRound: number }
401
440
  >;
402
441
  DelegationIncreased: GenericPalletEvent<
442
+ Rv,
403
443
  'ParachainStaking',
404
444
  'DelegationIncreased',
405
445
  { delegator: AccountId20; candidate: AccountId20; amount: bigint; inTop: boolean }
406
446
  >;
407
447
  DelegationDecreased: GenericPalletEvent<
448
+ Rv,
408
449
  'ParachainStaking',
409
450
  'DelegationDecreased',
410
451
  { delegator: AccountId20; candidate: AccountId20; amount: bigint; inTop: boolean }
@@ -414,6 +455,7 @@ export interface ChainEvents extends GenericChainEvents {
414
455
  * Delegator requested to leave the set of delegators.
415
456
  **/
416
457
  DelegatorExitScheduled: GenericPalletEvent<
458
+ Rv,
417
459
  'ParachainStaking',
418
460
  'DelegatorExitScheduled',
419
461
  { round: number; delegator: AccountId20; scheduledExit: number }
@@ -423,6 +465,7 @@ export interface ChainEvents extends GenericChainEvents {
423
465
  * Delegator requested to revoke delegation.
424
466
  **/
425
467
  DelegationRevocationScheduled: GenericPalletEvent<
468
+ Rv,
426
469
  'ParachainStaking',
427
470
  'DelegationRevocationScheduled',
428
471
  { round: number; delegator: AccountId20; candidate: AccountId20; scheduledExit: number }
@@ -432,6 +475,7 @@ export interface ChainEvents extends GenericChainEvents {
432
475
  * Delegator has left the set of delegators.
433
476
  **/
434
477
  DelegatorLeft: GenericPalletEvent<
478
+ Rv,
435
479
  'ParachainStaking',
436
480
  'DelegatorLeft',
437
481
  { delegator: AccountId20; unstakedAmount: bigint }
@@ -441,6 +485,7 @@ export interface ChainEvents extends GenericChainEvents {
441
485
  * Delegation revoked.
442
486
  **/
443
487
  DelegationRevoked: GenericPalletEvent<
488
+ Rv,
444
489
  'ParachainStaking',
445
490
  'DelegationRevoked',
446
491
  { delegator: AccountId20; candidate: AccountId20; unstakedAmount: bigint }
@@ -450,6 +495,7 @@ export interface ChainEvents extends GenericChainEvents {
450
495
  * Delegation kicked.
451
496
  **/
452
497
  DelegationKicked: GenericPalletEvent<
498
+ Rv,
453
499
  'ParachainStaking',
454
500
  'DelegationKicked',
455
501
  { delegator: AccountId20; candidate: AccountId20; unstakedAmount: bigint }
@@ -459,6 +505,7 @@ export interface ChainEvents extends GenericChainEvents {
459
505
  * Cancelled a pending request to exit the set of delegators.
460
506
  **/
461
507
  DelegatorExitCancelled: GenericPalletEvent<
508
+ Rv,
462
509
  'ParachainStaking',
463
510
  'DelegatorExitCancelled',
464
511
  { delegator: AccountId20 }
@@ -468,6 +515,7 @@ export interface ChainEvents extends GenericChainEvents {
468
515
  * Cancelled request to change an existing delegation.
469
516
  **/
470
517
  CancelledDelegationRequest: GenericPalletEvent<
518
+ Rv,
471
519
  'ParachainStaking',
472
520
  'CancelledDelegationRequest',
473
521
  {
@@ -481,6 +529,7 @@ export interface ChainEvents extends GenericChainEvents {
481
529
  * New delegation (increase of the existing one).
482
530
  **/
483
531
  Delegation: GenericPalletEvent<
532
+ Rv,
484
533
  'ParachainStaking',
485
534
  'Delegation',
486
535
  {
@@ -496,6 +545,7 @@ export interface ChainEvents extends GenericChainEvents {
496
545
  * Delegation from candidate state has been remove.
497
546
  **/
498
547
  DelegatorLeftCandidate: GenericPalletEvent<
548
+ Rv,
499
549
  'ParachainStaking',
500
550
  'DelegatorLeftCandidate',
501
551
  { delegator: AccountId20; candidate: AccountId20; unstakedAmount: bigint; totalCandidateStaked: bigint }
@@ -504,12 +554,13 @@ export interface ChainEvents extends GenericChainEvents {
504
554
  /**
505
555
  * Paid the account (delegator or collator) the balance as liquid rewards.
506
556
  **/
507
- Rewarded: GenericPalletEvent<'ParachainStaking', 'Rewarded', { account: AccountId20; rewards: bigint }>;
557
+ Rewarded: GenericPalletEvent<Rv, 'ParachainStaking', 'Rewarded', { account: AccountId20; rewards: bigint }>;
508
558
 
509
559
  /**
510
560
  * Transferred to account which holds funds reserved for parachain bond.
511
561
  **/
512
562
  ReservedForParachainBond: GenericPalletEvent<
563
+ Rv,
513
564
  'ParachainStaking',
514
565
  'ReservedForParachainBond',
515
566
  { account: AccountId20; value: bigint }
@@ -519,6 +570,7 @@ export interface ChainEvents extends GenericChainEvents {
519
570
  * Account (re)set for parachain bond treasury.
520
571
  **/
521
572
  ParachainBondAccountSet: GenericPalletEvent<
573
+ Rv,
522
574
  'ParachainStaking',
523
575
  'ParachainBondAccountSet',
524
576
  { old: AccountId20; new: AccountId20 }
@@ -528,6 +580,7 @@ export interface ChainEvents extends GenericChainEvents {
528
580
  * Percent of inflation reserved for parachain bond (re)set.
529
581
  **/
530
582
  ParachainBondReservePercentSet: GenericPalletEvent<
583
+ Rv,
531
584
  'ParachainStaking',
532
585
  'ParachainBondReservePercentSet',
533
586
  { old: Percent; new: Percent }
@@ -537,6 +590,7 @@ export interface ChainEvents extends GenericChainEvents {
537
590
  * Annual inflation input (first 3) was used to derive new per-round inflation (last 3)
538
591
  **/
539
592
  InflationSet: GenericPalletEvent<
593
+ Rv,
540
594
  'ParachainStaking',
541
595
  'InflationSet',
542
596
  {
@@ -553,6 +607,7 @@ export interface ChainEvents extends GenericChainEvents {
553
607
  * Staking expectations set.
554
608
  **/
555
609
  StakeExpectationsSet: GenericPalletEvent<
610
+ Rv,
556
611
  'ParachainStaking',
557
612
  'StakeExpectationsSet',
558
613
  { expectMin: bigint; expectIdeal: bigint; expectMax: bigint }
@@ -561,12 +616,13 @@ export interface ChainEvents extends GenericChainEvents {
561
616
  /**
562
617
  * Set total selected candidates to this value.
563
618
  **/
564
- TotalSelectedSet: GenericPalletEvent<'ParachainStaking', 'TotalSelectedSet', { old: number; new: number }>;
619
+ TotalSelectedSet: GenericPalletEvent<Rv, 'ParachainStaking', 'TotalSelectedSet', { old: number; new: number }>;
565
620
 
566
621
  /**
567
622
  * Set collator commission to this value.
568
623
  **/
569
624
  CollatorCommissionSet: GenericPalletEvent<
625
+ Rv,
570
626
  'ParachainStaking',
571
627
  'CollatorCommissionSet',
572
628
  { old: Perbill; new: Perbill }
@@ -576,6 +632,7 @@ export interface ChainEvents extends GenericChainEvents {
576
632
  * Set blocks per round
577
633
  **/
578
634
  BlocksPerRoundSet: GenericPalletEvent<
635
+ Rv,
579
636
  'ParachainStaking',
580
637
  'BlocksPerRoundSet',
581
638
  {
@@ -593,6 +650,7 @@ export interface ChainEvents extends GenericChainEvents {
593
650
  * Auto-compounding reward percent was set for a delegation.
594
651
  **/
595
652
  AutoCompoundSet: GenericPalletEvent<
653
+ Rv,
596
654
  'ParachainStaking',
597
655
  'AutoCompoundSet',
598
656
  { candidate: AccountId20; delegator: AccountId20; value: Percent }
@@ -602,6 +660,7 @@ export interface ChainEvents extends GenericChainEvents {
602
660
  * Compounded a portion of rewards towards the delegation.
603
661
  **/
604
662
  Compounded: GenericPalletEvent<
663
+ Rv,
605
664
  'ParachainStaking',
606
665
  'Compounded',
607
666
  { candidate: AccountId20; delegator: AccountId20; amount: bigint }
@@ -610,7 +669,7 @@ export interface ChainEvents extends GenericChainEvents {
610
669
  /**
611
670
  * Generic pallet event
612
671
  **/
613
- [prop: string]: GenericPalletEvent;
672
+ [prop: string]: GenericPalletEvent<Rv>;
614
673
  };
615
674
  /**
616
675
  * Pallet `AuthorFilter`'s events
@@ -619,12 +678,12 @@ export interface ChainEvents extends GenericChainEvents {
619
678
  /**
620
679
  * The amount of eligible authors for the filter to select has been changed.
621
680
  **/
622
- EligibleUpdated: GenericPalletEvent<'AuthorFilter', 'EligibleUpdated', PalletAuthorSlotFilterNumNonZeroU32>;
681
+ EligibleUpdated: GenericPalletEvent<Rv, 'AuthorFilter', 'EligibleUpdated', PalletAuthorSlotFilterNumNonZeroU32>;
623
682
 
624
683
  /**
625
684
  * Generic pallet event
626
685
  **/
627
- [prop: string]: GenericPalletEvent;
686
+ [prop: string]: GenericPalletEvent<Rv>;
628
687
  };
629
688
  /**
630
689
  * Pallet `AuthorMapping`'s events
@@ -634,6 +693,7 @@ export interface ChainEvents extends GenericChainEvents {
634
693
  * A NimbusId has been registered and mapped to an AccountId.
635
694
  **/
636
695
  KeysRegistered: GenericPalletEvent<
696
+ Rv,
637
697
  'AuthorMapping',
638
698
  'KeysRegistered',
639
699
  {
@@ -647,6 +707,7 @@ export interface ChainEvents extends GenericChainEvents {
647
707
  * An NimbusId has been de-registered, and its AccountId mapping removed.
648
708
  **/
649
709
  KeysRemoved: GenericPalletEvent<
710
+ Rv,
650
711
  'AuthorMapping',
651
712
  'KeysRemoved',
652
713
  {
@@ -660,6 +721,7 @@ export interface ChainEvents extends GenericChainEvents {
660
721
  * An NimbusId has been registered, replacing a previous registration and its mapping.
661
722
  **/
662
723
  KeysRotated: GenericPalletEvent<
724
+ Rv,
663
725
  'AuthorMapping',
664
726
  'KeysRotated',
665
727
  {
@@ -672,7 +734,7 @@ export interface ChainEvents extends GenericChainEvents {
672
734
  /**
673
735
  * Generic pallet event
674
736
  **/
675
- [prop: string]: GenericPalletEvent;
737
+ [prop: string]: GenericPalletEvent<Rv>;
676
738
  };
677
739
  /**
678
740
  * Pallet `MoonbeamOrbiters`'s events
@@ -682,6 +744,7 @@ export interface ChainEvents extends GenericChainEvents {
682
744
  * An orbiter join a collator pool
683
745
  **/
684
746
  OrbiterJoinCollatorPool: GenericPalletEvent<
747
+ Rv,
685
748
  'MoonbeamOrbiters',
686
749
  'OrbiterJoinCollatorPool',
687
750
  { collator: AccountId20; orbiter: AccountId20 }
@@ -691,6 +754,7 @@ export interface ChainEvents extends GenericChainEvents {
691
754
  * An orbiter leave a collator pool
692
755
  **/
693
756
  OrbiterLeaveCollatorPool: GenericPalletEvent<
757
+ Rv,
694
758
  'MoonbeamOrbiters',
695
759
  'OrbiterLeaveCollatorPool',
696
760
  { collator: AccountId20; orbiter: AccountId20 }
@@ -700,11 +764,13 @@ export interface ChainEvents extends GenericChainEvents {
700
764
  * Paid the orbiter account the balance as liquid rewards.
701
765
  **/
702
766
  OrbiterRewarded: GenericPalletEvent<
767
+ Rv,
703
768
  'MoonbeamOrbiters',
704
769
  'OrbiterRewarded',
705
770
  { account: AccountId20; rewards: bigint }
706
771
  >;
707
772
  OrbiterRotation: GenericPalletEvent<
773
+ Rv,
708
774
  'MoonbeamOrbiters',
709
775
  'OrbiterRotation',
710
776
  { collator: AccountId20; oldOrbiter?: AccountId20 | undefined; newOrbiter?: AccountId20 | undefined }
@@ -714,6 +780,7 @@ export interface ChainEvents extends GenericChainEvents {
714
780
  * An orbiter has registered
715
781
  **/
716
782
  OrbiterRegistered: GenericPalletEvent<
783
+ Rv,
717
784
  'MoonbeamOrbiters',
718
785
  'OrbiterRegistered',
719
786
  { account: AccountId20; deposit: bigint }
@@ -722,12 +789,12 @@ export interface ChainEvents extends GenericChainEvents {
722
789
  /**
723
790
  * An orbiter has unregistered
724
791
  **/
725
- OrbiterUnregistered: GenericPalletEvent<'MoonbeamOrbiters', 'OrbiterUnregistered', { account: AccountId20 }>;
792
+ OrbiterUnregistered: GenericPalletEvent<Rv, 'MoonbeamOrbiters', 'OrbiterUnregistered', { account: AccountId20 }>;
726
793
 
727
794
  /**
728
795
  * Generic pallet event
729
796
  **/
730
- [prop: string]: GenericPalletEvent;
797
+ [prop: string]: GenericPalletEvent<Rv>;
731
798
  };
732
799
  /**
733
800
  * Pallet `Utility`'s events
@@ -737,37 +804,37 @@ export interface ChainEvents extends GenericChainEvents {
737
804
  * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
738
805
  * well as the error.
739
806
  **/
740
- BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
807
+ BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
741
808
 
742
809
  /**
743
810
  * Batch of dispatches completed fully with no error.
744
811
  **/
745
- BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
812
+ BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
746
813
 
747
814
  /**
748
815
  * Batch of dispatches completed but has errors.
749
816
  **/
750
- BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
817
+ BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
751
818
 
752
819
  /**
753
820
  * A single item within a Batch of dispatches has completed with no error.
754
821
  **/
755
- ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
822
+ ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
756
823
 
757
824
  /**
758
825
  * A single item within a Batch of dispatches has completed with error.
759
826
  **/
760
- ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
827
+ ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
761
828
 
762
829
  /**
763
830
  * A call was dispatched.
764
831
  **/
765
- DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
832
+ DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
766
833
 
767
834
  /**
768
835
  * Generic pallet event
769
836
  **/
770
- [prop: string]: GenericPalletEvent;
837
+ [prop: string]: GenericPalletEvent<Rv>;
771
838
  };
772
839
  /**
773
840
  * Pallet `Proxy`'s events
@@ -776,13 +843,14 @@ export interface ChainEvents extends GenericChainEvents {
776
843
  /**
777
844
  * A proxy was executed correctly, with the given.
778
845
  **/
779
- ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
846
+ ProxyExecuted: GenericPalletEvent<Rv, 'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
780
847
 
781
848
  /**
782
849
  * A pure account has been created by new proxy with given
783
850
  * disambiguation index and proxy type.
784
851
  **/
785
852
  PureCreated: GenericPalletEvent<
853
+ Rv,
786
854
  'Proxy',
787
855
  'PureCreated',
788
856
  { pure: AccountId20; who: AccountId20; proxyType: MoonbeamRuntimeProxyType; disambiguationIndex: number }
@@ -791,12 +859,13 @@ export interface ChainEvents extends GenericChainEvents {
791
859
  /**
792
860
  * An announcement was placed to make a call in the future.
793
861
  **/
794
- Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId20; proxy: AccountId20; callHash: H256 }>;
862
+ Announced: GenericPalletEvent<Rv, 'Proxy', 'Announced', { real: AccountId20; proxy: AccountId20; callHash: H256 }>;
795
863
 
796
864
  /**
797
865
  * A proxy was added.
798
866
  **/
799
867
  ProxyAdded: GenericPalletEvent<
868
+ Rv,
800
869
  'Proxy',
801
870
  'ProxyAdded',
802
871
  { delegator: AccountId20; delegatee: AccountId20; proxyType: MoonbeamRuntimeProxyType; delay: number }
@@ -806,6 +875,7 @@ export interface ChainEvents extends GenericChainEvents {
806
875
  * A proxy was removed.
807
876
  **/
808
877
  ProxyRemoved: GenericPalletEvent<
878
+ Rv,
809
879
  'Proxy',
810
880
  'ProxyRemoved',
811
881
  { delegator: AccountId20; delegatee: AccountId20; proxyType: MoonbeamRuntimeProxyType; delay: number }
@@ -814,7 +884,7 @@ export interface ChainEvents extends GenericChainEvents {
814
884
  /**
815
885
  * Generic pallet event
816
886
  **/
817
- [prop: string]: GenericPalletEvent;
887
+ [prop: string]: GenericPalletEvent<Rv>;
818
888
  };
819
889
  /**
820
890
  * Pallet `MaintenanceMode`'s events
@@ -823,17 +893,18 @@ export interface ChainEvents extends GenericChainEvents {
823
893
  /**
824
894
  * The chain was put into Maintenance Mode
825
895
  **/
826
- EnteredMaintenanceMode: GenericPalletEvent<'MaintenanceMode', 'EnteredMaintenanceMode', null>;
896
+ EnteredMaintenanceMode: GenericPalletEvent<Rv, 'MaintenanceMode', 'EnteredMaintenanceMode', null>;
827
897
 
828
898
  /**
829
899
  * The chain returned to its normal operating state
830
900
  **/
831
- NormalOperationResumed: GenericPalletEvent<'MaintenanceMode', 'NormalOperationResumed', null>;
901
+ NormalOperationResumed: GenericPalletEvent<Rv, 'MaintenanceMode', 'NormalOperationResumed', null>;
832
902
 
833
903
  /**
834
904
  * The call to suspend on_idle XCM execution failed with inner error
835
905
  **/
836
906
  FailedToSuspendIdleXcmExecution: GenericPalletEvent<
907
+ Rv,
837
908
  'MaintenanceMode',
838
909
  'FailedToSuspendIdleXcmExecution',
839
910
  { error: DispatchError }
@@ -843,6 +914,7 @@ export interface ChainEvents extends GenericChainEvents {
843
914
  * The call to resume on_idle XCM execution failed with inner error
844
915
  **/
845
916
  FailedToResumeIdleXcmExecution: GenericPalletEvent<
917
+ Rv,
846
918
  'MaintenanceMode',
847
919
  'FailedToResumeIdleXcmExecution',
848
920
  { error: DispatchError }
@@ -851,7 +923,7 @@ export interface ChainEvents extends GenericChainEvents {
851
923
  /**
852
924
  * Generic pallet event
853
925
  **/
854
- [prop: string]: GenericPalletEvent;
926
+ [prop: string]: GenericPalletEvent<Rv>;
855
927
  };
856
928
  /**
857
929
  * Pallet `Identity`'s events
@@ -860,22 +932,23 @@ export interface ChainEvents extends GenericChainEvents {
860
932
  /**
861
933
  * A name was set or reset (which will remove all judgements).
862
934
  **/
863
- IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId20 }>;
935
+ IdentitySet: GenericPalletEvent<Rv, 'Identity', 'IdentitySet', { who: AccountId20 }>;
864
936
 
865
937
  /**
866
938
  * A name was cleared, and the given balance returned.
867
939
  **/
868
- IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId20; deposit: bigint }>;
940
+ IdentityCleared: GenericPalletEvent<Rv, 'Identity', 'IdentityCleared', { who: AccountId20; deposit: bigint }>;
869
941
 
870
942
  /**
871
943
  * A name was removed and the given balance slashed.
872
944
  **/
873
- IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId20; deposit: bigint }>;
945
+ IdentityKilled: GenericPalletEvent<Rv, 'Identity', 'IdentityKilled', { who: AccountId20; deposit: bigint }>;
874
946
 
875
947
  /**
876
948
  * A judgement was asked from a registrar.
877
949
  **/
878
950
  JudgementRequested: GenericPalletEvent<
951
+ Rv,
879
952
  'Identity',
880
953
  'JudgementRequested',
881
954
  { who: AccountId20; registrarIndex: number }
@@ -885,6 +958,7 @@ export interface ChainEvents extends GenericChainEvents {
885
958
  * A judgement request was retracted.
886
959
  **/
887
960
  JudgementUnrequested: GenericPalletEvent<
961
+ Rv,
888
962
  'Identity',
889
963
  'JudgementUnrequested',
890
964
  { who: AccountId20; registrarIndex: number }
@@ -893,17 +967,23 @@ export interface ChainEvents extends GenericChainEvents {
893
967
  /**
894
968
  * A judgement was given by a registrar.
895
969
  **/
896
- JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId20; registrarIndex: number }>;
970
+ JudgementGiven: GenericPalletEvent<
971
+ Rv,
972
+ 'Identity',
973
+ 'JudgementGiven',
974
+ { target: AccountId20; registrarIndex: number }
975
+ >;
897
976
 
898
977
  /**
899
978
  * A registrar was added.
900
979
  **/
901
- RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
980
+ RegistrarAdded: GenericPalletEvent<Rv, 'Identity', 'RegistrarAdded', { registrarIndex: number }>;
902
981
 
903
982
  /**
904
983
  * A sub-identity was added to an identity and the deposit paid.
905
984
  **/
906
985
  SubIdentityAdded: GenericPalletEvent<
986
+ Rv,
907
987
  'Identity',
908
988
  'SubIdentityAdded',
909
989
  { sub: AccountId20; main: AccountId20; deposit: bigint }
@@ -913,6 +993,7 @@ export interface ChainEvents extends GenericChainEvents {
913
993
  * A sub-identity was removed from an identity and the deposit freed.
914
994
  **/
915
995
  SubIdentityRemoved: GenericPalletEvent<
996
+ Rv,
916
997
  'Identity',
917
998
  'SubIdentityRemoved',
918
999
  { sub: AccountId20; main: AccountId20; deposit: bigint }
@@ -923,15 +1004,62 @@ export interface ChainEvents extends GenericChainEvents {
923
1004
  * main identity account to the sub-identity account.
924
1005
  **/
925
1006
  SubIdentityRevoked: GenericPalletEvent<
1007
+ Rv,
926
1008
  'Identity',
927
1009
  'SubIdentityRevoked',
928
1010
  { sub: AccountId20; main: AccountId20; deposit: bigint }
929
1011
  >;
930
1012
 
1013
+ /**
1014
+ * A username authority was added.
1015
+ **/
1016
+ AuthorityAdded: GenericPalletEvent<Rv, 'Identity', 'AuthorityAdded', { authority: AccountId20 }>;
1017
+
1018
+ /**
1019
+ * A username authority was removed.
1020
+ **/
1021
+ AuthorityRemoved: GenericPalletEvent<Rv, 'Identity', 'AuthorityRemoved', { authority: AccountId20 }>;
1022
+
1023
+ /**
1024
+ * A username was set for `who`.
1025
+ **/
1026
+ UsernameSet: GenericPalletEvent<Rv, 'Identity', 'UsernameSet', { who: AccountId20; username: Bytes }>;
1027
+
1028
+ /**
1029
+ * A username was queued, but `who` must accept it prior to `expiration`.
1030
+ **/
1031
+ UsernameQueued: GenericPalletEvent<
1032
+ Rv,
1033
+ 'Identity',
1034
+ 'UsernameQueued',
1035
+ { who: AccountId20; username: Bytes; expiration: number }
1036
+ >;
1037
+
1038
+ /**
1039
+ * A queued username passed its expiration without being claimed and was removed.
1040
+ **/
1041
+ PreapprovalExpired: GenericPalletEvent<Rv, 'Identity', 'PreapprovalExpired', { whose: AccountId20 }>;
1042
+
1043
+ /**
1044
+ * A username was set as a primary and can be looked up from `who`.
1045
+ **/
1046
+ PrimaryUsernameSet: GenericPalletEvent<Rv, 'Identity', 'PrimaryUsernameSet', { who: AccountId20; username: Bytes }>;
1047
+
1048
+ /**
1049
+ * A dangling username (as in, a username corresponding to an account that has removed its
1050
+ * identity) has been removed.
1051
+ **/
1052
+ DanglingUsernameRemoved: GenericPalletEvent<
1053
+ Rv,
1054
+ 'Identity',
1055
+ 'DanglingUsernameRemoved',
1056
+ { who: AccountId20; username: Bytes }
1057
+ >;
1058
+
931
1059
  /**
932
1060
  * Generic pallet event
933
1061
  **/
934
- [prop: string]: GenericPalletEvent;
1062
+ [prop: string]: GenericPalletEvent<Rv>;
935
1063
  };
936
1064
  /**
937
1065
  * Pallet `Migrations`'s events
@@ -940,12 +1068,13 @@ export interface ChainEvents extends GenericChainEvents {
940
1068
  /**
941
1069
  * Runtime upgrade started
942
1070
  **/
943
- RuntimeUpgradeStarted: GenericPalletEvent<'Migrations', 'RuntimeUpgradeStarted', null>;
1071
+ RuntimeUpgradeStarted: GenericPalletEvent<Rv, 'Migrations', 'RuntimeUpgradeStarted', null>;
944
1072
 
945
1073
  /**
946
1074
  * Runtime upgrade completed
947
1075
  **/
948
1076
  RuntimeUpgradeCompleted: GenericPalletEvent<
1077
+ Rv,
949
1078
  'Migrations',
950
1079
  'RuntimeUpgradeCompleted',
951
1080
  { weight: SpWeightsWeightV2Weight }
@@ -954,12 +1083,13 @@ export interface ChainEvents extends GenericChainEvents {
954
1083
  /**
955
1084
  * Migration started
956
1085
  **/
957
- MigrationStarted: GenericPalletEvent<'Migrations', 'MigrationStarted', { migrationName: Bytes }>;
1086
+ MigrationStarted: GenericPalletEvent<Rv, 'Migrations', 'MigrationStarted', { migrationName: Bytes }>;
958
1087
 
959
1088
  /**
960
1089
  * Migration completed
961
1090
  **/
962
1091
  MigrationCompleted: GenericPalletEvent<
1092
+ Rv,
963
1093
  'Migrations',
964
1094
  'MigrationCompleted',
965
1095
  { migrationName: Bytes; consumedWeight: SpWeightsWeightV2Weight }
@@ -969,6 +1099,7 @@ export interface ChainEvents extends GenericChainEvents {
969
1099
  * XCM execution suspension failed with inner error
970
1100
  **/
971
1101
  FailedToSuspendIdleXcmExecution: GenericPalletEvent<
1102
+ Rv,
972
1103
  'Migrations',
973
1104
  'FailedToSuspendIdleXcmExecution',
974
1105
  { error: DispatchError }
@@ -978,6 +1109,7 @@ export interface ChainEvents extends GenericChainEvents {
978
1109
  * XCM execution resume failed with inner error
979
1110
  **/
980
1111
  FailedToResumeIdleXcmExecution: GenericPalletEvent<
1112
+ Rv,
981
1113
  'Migrations',
982
1114
  'FailedToResumeIdleXcmExecution',
983
1115
  { error: DispatchError }
@@ -986,7 +1118,7 @@ export interface ChainEvents extends GenericChainEvents {
986
1118
  /**
987
1119
  * Generic pallet event
988
1120
  **/
989
- [prop: string]: GenericPalletEvent;
1121
+ [prop: string]: GenericPalletEvent<Rv>;
990
1122
  };
991
1123
  /**
992
1124
  * Pallet `Multisig`'s events
@@ -996,6 +1128,7 @@ export interface ChainEvents extends GenericChainEvents {
996
1128
  * A new multisig operation has begun.
997
1129
  **/
998
1130
  NewMultisig: GenericPalletEvent<
1131
+ Rv,
999
1132
  'Multisig',
1000
1133
  'NewMultisig',
1001
1134
  { approving: AccountId20; multisig: AccountId20; callHash: FixedBytes<32> }
@@ -1005,6 +1138,7 @@ export interface ChainEvents extends GenericChainEvents {
1005
1138
  * A multisig operation has been approved by someone.
1006
1139
  **/
1007
1140
  MultisigApproval: GenericPalletEvent<
1141
+ Rv,
1008
1142
  'Multisig',
1009
1143
  'MultisigApproval',
1010
1144
  { approving: AccountId20; timepoint: PalletMultisigTimepoint; multisig: AccountId20; callHash: FixedBytes<32> }
@@ -1014,6 +1148,7 @@ export interface ChainEvents extends GenericChainEvents {
1014
1148
  * A multisig operation has been executed.
1015
1149
  **/
1016
1150
  MultisigExecuted: GenericPalletEvent<
1151
+ Rv,
1017
1152
  'Multisig',
1018
1153
  'MultisigExecuted',
1019
1154
  {
@@ -1029,6 +1164,7 @@ export interface ChainEvents extends GenericChainEvents {
1029
1164
  * A multisig operation has been cancelled.
1030
1165
  **/
1031
1166
  MultisigCancelled: GenericPalletEvent<
1167
+ Rv,
1032
1168
  'Multisig',
1033
1169
  'MultisigCancelled',
1034
1170
  { cancelling: AccountId20; timepoint: PalletMultisigTimepoint; multisig: AccountId20; callHash: FixedBytes<32> }
@@ -1037,7 +1173,7 @@ export interface ChainEvents extends GenericChainEvents {
1037
1173
  /**
1038
1174
  * Generic pallet event
1039
1175
  **/
1040
- [prop: string]: GenericPalletEvent;
1176
+ [prop: string]: GenericPalletEvent<Rv>;
1041
1177
  };
1042
1178
  /**
1043
1179
  * Pallet `EVM`'s events
@@ -1046,32 +1182,32 @@ export interface ChainEvents extends GenericChainEvents {
1046
1182
  /**
1047
1183
  * Ethereum events from contracts.
1048
1184
  **/
1049
- Log: GenericPalletEvent<'EVM', 'Log', { log: EthereumLog }>;
1185
+ Log: GenericPalletEvent<Rv, 'EVM', 'Log', { log: EthereumLog }>;
1050
1186
 
1051
1187
  /**
1052
1188
  * A contract has been created at given address.
1053
1189
  **/
1054
- Created: GenericPalletEvent<'EVM', 'Created', { address: H160 }>;
1190
+ Created: GenericPalletEvent<Rv, 'EVM', 'Created', { address: H160 }>;
1055
1191
 
1056
1192
  /**
1057
1193
  * A contract was attempted to be created, but the execution failed.
1058
1194
  **/
1059
- CreatedFailed: GenericPalletEvent<'EVM', 'CreatedFailed', { address: H160 }>;
1195
+ CreatedFailed: GenericPalletEvent<Rv, 'EVM', 'CreatedFailed', { address: H160 }>;
1060
1196
 
1061
1197
  /**
1062
1198
  * A contract has been executed successfully with states applied.
1063
1199
  **/
1064
- Executed: GenericPalletEvent<'EVM', 'Executed', { address: H160 }>;
1200
+ Executed: GenericPalletEvent<Rv, 'EVM', 'Executed', { address: H160 }>;
1065
1201
 
1066
1202
  /**
1067
1203
  * A contract has been executed with errors. States are reverted with only gas fees applied.
1068
1204
  **/
1069
- ExecutedFailed: GenericPalletEvent<'EVM', 'ExecutedFailed', { address: H160 }>;
1205
+ ExecutedFailed: GenericPalletEvent<Rv, 'EVM', 'ExecutedFailed', { address: H160 }>;
1070
1206
 
1071
1207
  /**
1072
1208
  * Generic pallet event
1073
1209
  **/
1074
- [prop: string]: GenericPalletEvent;
1210
+ [prop: string]: GenericPalletEvent<Rv>;
1075
1211
  };
1076
1212
  /**
1077
1213
  * Pallet `Ethereum`'s events
@@ -1081,6 +1217,7 @@ export interface ChainEvents extends GenericChainEvents {
1081
1217
  * An ethereum transaction was successfully executed.
1082
1218
  **/
1083
1219
  Executed: GenericPalletEvent<
1220
+ Rv,
1084
1221
  'Ethereum',
1085
1222
  'Executed',
1086
1223
  { from: H160; to: H160; transactionHash: H256; exitReason: EvmCoreErrorExitReason; extraData: Bytes }
@@ -1089,7 +1226,7 @@ export interface ChainEvents extends GenericChainEvents {
1089
1226
  /**
1090
1227
  * Generic pallet event
1091
1228
  **/
1092
- [prop: string]: GenericPalletEvent;
1229
+ [prop: string]: GenericPalletEvent<Rv>;
1093
1230
  };
1094
1231
  /**
1095
1232
  * Pallet `Scheduler`'s events
@@ -1098,17 +1235,18 @@ export interface ChainEvents extends GenericChainEvents {
1098
1235
  /**
1099
1236
  * Scheduled some task.
1100
1237
  **/
1101
- Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
1238
+ Scheduled: GenericPalletEvent<Rv, 'Scheduler', 'Scheduled', { when: number; index: number }>;
1102
1239
 
1103
1240
  /**
1104
1241
  * Canceled some task.
1105
1242
  **/
1106
- Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
1243
+ Canceled: GenericPalletEvent<Rv, 'Scheduler', 'Canceled', { when: number; index: number }>;
1107
1244
 
1108
1245
  /**
1109
1246
  * Dispatched some task.
1110
1247
  **/
1111
1248
  Dispatched: GenericPalletEvent<
1249
+ Rv,
1112
1250
  'Scheduler',
1113
1251
  'Dispatched',
1114
1252
  { task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
@@ -1118,6 +1256,7 @@ export interface ChainEvents extends GenericChainEvents {
1118
1256
  * The call for the provided hash was not found so the task has been aborted.
1119
1257
  **/
1120
1258
  CallUnavailable: GenericPalletEvent<
1259
+ Rv,
1121
1260
  'Scheduler',
1122
1261
  'CallUnavailable',
1123
1262
  { task: [number, number]; id?: FixedBytes<32> | undefined }
@@ -1127,6 +1266,7 @@ export interface ChainEvents extends GenericChainEvents {
1127
1266
  * The given task was unable to be renewed since the agenda is full at that block.
1128
1267
  **/
1129
1268
  PeriodicFailed: GenericPalletEvent<
1269
+ Rv,
1130
1270
  'Scheduler',
1131
1271
  'PeriodicFailed',
1132
1272
  { task: [number, number]; id?: FixedBytes<32> | undefined }
@@ -1136,6 +1276,7 @@ export interface ChainEvents extends GenericChainEvents {
1136
1276
  * The given task can never be executed since it is overweight.
1137
1277
  **/
1138
1278
  PermanentlyOverweight: GenericPalletEvent<
1279
+ Rv,
1139
1280
  'Scheduler',
1140
1281
  'PermanentlyOverweight',
1141
1282
  { task: [number, number]; id?: FixedBytes<32> | undefined }
@@ -1144,152 +1285,7 @@ export interface ChainEvents extends GenericChainEvents {
1144
1285
  /**
1145
1286
  * Generic pallet event
1146
1287
  **/
1147
- [prop: string]: GenericPalletEvent;
1148
- };
1149
- /**
1150
- * Pallet `Democracy`'s events
1151
- **/
1152
- democracy: {
1153
- /**
1154
- * A motion has been proposed by a public account.
1155
- **/
1156
- Proposed: GenericPalletEvent<'Democracy', 'Proposed', { proposalIndex: number; deposit: bigint }>;
1157
-
1158
- /**
1159
- * A public proposal has been tabled for referendum vote.
1160
- **/
1161
- Tabled: GenericPalletEvent<'Democracy', 'Tabled', { proposalIndex: number; deposit: bigint }>;
1162
-
1163
- /**
1164
- * An external proposal has been tabled.
1165
- **/
1166
- ExternalTabled: GenericPalletEvent<'Democracy', 'ExternalTabled', null>;
1167
-
1168
- /**
1169
- * A referendum has begun.
1170
- **/
1171
- Started: GenericPalletEvent<'Democracy', 'Started', { refIndex: number; threshold: PalletDemocracyVoteThreshold }>;
1172
-
1173
- /**
1174
- * A proposal has been approved by referendum.
1175
- **/
1176
- Passed: GenericPalletEvent<'Democracy', 'Passed', { refIndex: number }>;
1177
-
1178
- /**
1179
- * A proposal has been rejected by referendum.
1180
- **/
1181
- NotPassed: GenericPalletEvent<'Democracy', 'NotPassed', { refIndex: number }>;
1182
-
1183
- /**
1184
- * A referendum has been cancelled.
1185
- **/
1186
- Cancelled: GenericPalletEvent<'Democracy', 'Cancelled', { refIndex: number }>;
1187
-
1188
- /**
1189
- * An account has delegated their vote to another account.
1190
- **/
1191
- Delegated: GenericPalletEvent<'Democracy', 'Delegated', { who: AccountId20; target: AccountId20 }>;
1192
-
1193
- /**
1194
- * An account has cancelled a previous delegation operation.
1195
- **/
1196
- Undelegated: GenericPalletEvent<'Democracy', 'Undelegated', { account: AccountId20 }>;
1197
-
1198
- /**
1199
- * An external proposal has been vetoed.
1200
- **/
1201
- Vetoed: GenericPalletEvent<'Democracy', 'Vetoed', { who: AccountId20; proposalHash: H256; until: number }>;
1202
-
1203
- /**
1204
- * A proposal_hash has been blacklisted permanently.
1205
- **/
1206
- Blacklisted: GenericPalletEvent<'Democracy', 'Blacklisted', { proposalHash: H256 }>;
1207
-
1208
- /**
1209
- * An account has voted in a referendum
1210
- **/
1211
- Voted: GenericPalletEvent<
1212
- 'Democracy',
1213
- 'Voted',
1214
- { voter: AccountId20; refIndex: number; vote: PalletDemocracyVoteAccountVote }
1215
- >;
1216
-
1217
- /**
1218
- * An account has secconded a proposal
1219
- **/
1220
- Seconded: GenericPalletEvent<'Democracy', 'Seconded', { seconder: AccountId20; propIndex: number }>;
1221
-
1222
- /**
1223
- * A proposal got canceled.
1224
- **/
1225
- ProposalCanceled: GenericPalletEvent<'Democracy', 'ProposalCanceled', { propIndex: number }>;
1226
-
1227
- /**
1228
- * Metadata for a proposal or a referendum has been set.
1229
- **/
1230
- MetadataSet: GenericPalletEvent<
1231
- 'Democracy',
1232
- 'MetadataSet',
1233
- {
1234
- /**
1235
- * Metadata owner.
1236
- **/
1237
- owner: PalletDemocracyMetadataOwner;
1238
-
1239
- /**
1240
- * Preimage hash.
1241
- **/
1242
- hash: H256;
1243
- }
1244
- >;
1245
-
1246
- /**
1247
- * Metadata for a proposal or a referendum has been cleared.
1248
- **/
1249
- MetadataCleared: GenericPalletEvent<
1250
- 'Democracy',
1251
- 'MetadataCleared',
1252
- {
1253
- /**
1254
- * Metadata owner.
1255
- **/
1256
- owner: PalletDemocracyMetadataOwner;
1257
-
1258
- /**
1259
- * Preimage hash.
1260
- **/
1261
- hash: H256;
1262
- }
1263
- >;
1264
-
1265
- /**
1266
- * Metadata has been transferred to new owner.
1267
- **/
1268
- MetadataTransferred: GenericPalletEvent<
1269
- 'Democracy',
1270
- 'MetadataTransferred',
1271
- {
1272
- /**
1273
- * Previous metadata owner.
1274
- **/
1275
- prevOwner: PalletDemocracyMetadataOwner;
1276
-
1277
- /**
1278
- * New metadata owner.
1279
- **/
1280
- owner: PalletDemocracyMetadataOwner;
1281
-
1282
- /**
1283
- * Preimage hash.
1284
- **/
1285
- hash: H256;
1286
- }
1287
- >;
1288
-
1289
- /**
1290
- * Generic pallet event
1291
- **/
1292
- [prop: string]: GenericPalletEvent;
1288
+ [prop: string]: GenericPalletEvent<Rv>;
1293
1289
  };
1294
1290
  /**
1295
1291
  * Pallet `Preimage`'s events
@@ -1298,22 +1294,22 @@ export interface ChainEvents extends GenericChainEvents {
1298
1294
  /**
1299
1295
  * A preimage has been noted.
1300
1296
  **/
1301
- Noted: GenericPalletEvent<'Preimage', 'Noted', { hash: H256 }>;
1297
+ Noted: GenericPalletEvent<Rv, 'Preimage', 'Noted', { hash: H256 }>;
1302
1298
 
1303
1299
  /**
1304
1300
  * A preimage has been requested.
1305
1301
  **/
1306
- Requested: GenericPalletEvent<'Preimage', 'Requested', { hash: H256 }>;
1302
+ Requested: GenericPalletEvent<Rv, 'Preimage', 'Requested', { hash: H256 }>;
1307
1303
 
1308
1304
  /**
1309
1305
  * A preimage has ben cleared.
1310
1306
  **/
1311
- Cleared: GenericPalletEvent<'Preimage', 'Cleared', { hash: H256 }>;
1307
+ Cleared: GenericPalletEvent<Rv, 'Preimage', 'Cleared', { hash: H256 }>;
1312
1308
 
1313
1309
  /**
1314
1310
  * Generic pallet event
1315
1311
  **/
1316
- [prop: string]: GenericPalletEvent;
1312
+ [prop: string]: GenericPalletEvent<Rv>;
1317
1313
  };
1318
1314
  /**
1319
1315
  * Pallet `ConvictionVoting`'s events
@@ -1322,17 +1318,17 @@ export interface ChainEvents extends GenericChainEvents {
1322
1318
  /**
1323
1319
  * An account has delegated their vote to another account. \[who, target\]
1324
1320
  **/
1325
- Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId20, AccountId20]>;
1321
+ Delegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Delegated', [AccountId20, AccountId20]>;
1326
1322
 
1327
1323
  /**
1328
1324
  * An \[account\] has cancelled a previous delegation operation.
1329
1325
  **/
1330
- Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId20>;
1326
+ Undelegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Undelegated', AccountId20>;
1331
1327
 
1332
1328
  /**
1333
1329
  * Generic pallet event
1334
1330
  **/
1335
- [prop: string]: GenericPalletEvent;
1331
+ [prop: string]: GenericPalletEvent<Rv>;
1336
1332
  };
1337
1333
  /**
1338
1334
  * Pallet `Referenda`'s events
@@ -1342,6 +1338,7 @@ export interface ChainEvents extends GenericChainEvents {
1342
1338
  * A referendum has been submitted.
1343
1339
  **/
1344
1340
  Submitted: GenericPalletEvent<
1341
+ Rv,
1345
1342
  'Referenda',
1346
1343
  'Submitted',
1347
1344
  {
@@ -1366,6 +1363,7 @@ export interface ChainEvents extends GenericChainEvents {
1366
1363
  * The decision deposit has been placed.
1367
1364
  **/
1368
1365
  DecisionDepositPlaced: GenericPalletEvent<
1366
+ Rv,
1369
1367
  'Referenda',
1370
1368
  'DecisionDepositPlaced',
1371
1369
  {
@@ -1390,6 +1388,7 @@ export interface ChainEvents extends GenericChainEvents {
1390
1388
  * The decision deposit has been refunded.
1391
1389
  **/
1392
1390
  DecisionDepositRefunded: GenericPalletEvent<
1391
+ Rv,
1393
1392
  'Referenda',
1394
1393
  'DecisionDepositRefunded',
1395
1394
  {
@@ -1411,9 +1410,10 @@ export interface ChainEvents extends GenericChainEvents {
1411
1410
  >;
1412
1411
 
1413
1412
  /**
1414
- * A deposit has been slashaed.
1413
+ * A deposit has been slashed.
1415
1414
  **/
1416
1415
  DepositSlashed: GenericPalletEvent<
1416
+ Rv,
1417
1417
  'Referenda',
1418
1418
  'DepositSlashed',
1419
1419
  {
@@ -1433,6 +1433,7 @@ export interface ChainEvents extends GenericChainEvents {
1433
1433
  * A referendum has moved into the deciding phase.
1434
1434
  **/
1435
1435
  DecisionStarted: GenericPalletEvent<
1436
+ Rv,
1436
1437
  'Referenda',
1437
1438
  'DecisionStarted',
1438
1439
  {
@@ -1458,6 +1459,7 @@ export interface ChainEvents extends GenericChainEvents {
1458
1459
  }
1459
1460
  >;
1460
1461
  ConfirmStarted: GenericPalletEvent<
1462
+ Rv,
1461
1463
  'Referenda',
1462
1464
  'ConfirmStarted',
1463
1465
  {
@@ -1468,6 +1470,7 @@ export interface ChainEvents extends GenericChainEvents {
1468
1470
  }
1469
1471
  >;
1470
1472
  ConfirmAborted: GenericPalletEvent<
1473
+ Rv,
1471
1474
  'Referenda',
1472
1475
  'ConfirmAborted',
1473
1476
  {
@@ -1482,6 +1485,7 @@ export interface ChainEvents extends GenericChainEvents {
1482
1485
  * A referendum has ended its confirmation phase and is ready for approval.
1483
1486
  **/
1484
1487
  Confirmed: GenericPalletEvent<
1488
+ Rv,
1485
1489
  'Referenda',
1486
1490
  'Confirmed',
1487
1491
  {
@@ -1501,6 +1505,7 @@ export interface ChainEvents extends GenericChainEvents {
1501
1505
  * A referendum has been approved and its proposal has been scheduled.
1502
1506
  **/
1503
1507
  Approved: GenericPalletEvent<
1508
+ Rv,
1504
1509
  'Referenda',
1505
1510
  'Approved',
1506
1511
  {
@@ -1515,6 +1520,7 @@ export interface ChainEvents extends GenericChainEvents {
1515
1520
  * A proposal has been rejected by referendum.
1516
1521
  **/
1517
1522
  Rejected: GenericPalletEvent<
1523
+ Rv,
1518
1524
  'Referenda',
1519
1525
  'Rejected',
1520
1526
  {
@@ -1534,6 +1540,7 @@ export interface ChainEvents extends GenericChainEvents {
1534
1540
  * A referendum has been timed out without being decided.
1535
1541
  **/
1536
1542
  TimedOut: GenericPalletEvent<
1543
+ Rv,
1537
1544
  'Referenda',
1538
1545
  'TimedOut',
1539
1546
  {
@@ -1553,6 +1560,7 @@ export interface ChainEvents extends GenericChainEvents {
1553
1560
  * A referendum has been cancelled.
1554
1561
  **/
1555
1562
  Cancelled: GenericPalletEvent<
1563
+ Rv,
1556
1564
  'Referenda',
1557
1565
  'Cancelled',
1558
1566
  {
@@ -1572,6 +1580,7 @@ export interface ChainEvents extends GenericChainEvents {
1572
1580
  * A referendum has been killed.
1573
1581
  **/
1574
1582
  Killed: GenericPalletEvent<
1583
+ Rv,
1575
1584
  'Referenda',
1576
1585
  'Killed',
1577
1586
  {
@@ -1591,6 +1600,7 @@ export interface ChainEvents extends GenericChainEvents {
1591
1600
  * The submission deposit has been refunded.
1592
1601
  **/
1593
1602
  SubmissionDepositRefunded: GenericPalletEvent<
1603
+ Rv,
1594
1604
  'Referenda',
1595
1605
  'SubmissionDepositRefunded',
1596
1606
  {
@@ -1615,6 +1625,7 @@ export interface ChainEvents extends GenericChainEvents {
1615
1625
  * Metadata for a referendum has been set.
1616
1626
  **/
1617
1627
  MetadataSet: GenericPalletEvent<
1628
+ Rv,
1618
1629
  'Referenda',
1619
1630
  'MetadataSet',
1620
1631
  {
@@ -1634,6 +1645,7 @@ export interface ChainEvents extends GenericChainEvents {
1634
1645
  * Metadata for a referendum has been cleared.
1635
1646
  **/
1636
1647
  MetadataCleared: GenericPalletEvent<
1648
+ Rv,
1637
1649
  'Referenda',
1638
1650
  'MetadataCleared',
1639
1651
  {
@@ -1652,15 +1664,16 @@ export interface ChainEvents extends GenericChainEvents {
1652
1664
  /**
1653
1665
  * Generic pallet event
1654
1666
  **/
1655
- [prop: string]: GenericPalletEvent;
1667
+ [prop: string]: GenericPalletEvent<Rv>;
1656
1668
  };
1657
1669
  /**
1658
1670
  * Pallet `Whitelist`'s events
1659
1671
  **/
1660
1672
  whitelist: {
1661
- CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
1662
- WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
1673
+ CallWhitelisted: GenericPalletEvent<Rv, 'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
1674
+ WhitelistedCallRemoved: GenericPalletEvent<Rv, 'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
1663
1675
  WhitelistedCallDispatched: GenericPalletEvent<
1676
+ Rv,
1664
1677
  'Whitelist',
1665
1678
  'WhitelistedCallDispatched',
1666
1679
  { callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
@@ -1669,131 +1682,7 @@ export interface ChainEvents extends GenericChainEvents {
1669
1682
  /**
1670
1683
  * Generic pallet event
1671
1684
  **/
1672
- [prop: string]: GenericPalletEvent;
1673
- };
1674
- /**
1675
- * Pallet `CouncilCollective`'s events
1676
- **/
1677
- councilCollective: {
1678
- /**
1679
- * A motion (given hash) has been proposed (by given account) with a threshold (given
1680
- * `MemberCount`).
1681
- **/
1682
- Proposed: GenericPalletEvent<
1683
- 'CouncilCollective',
1684
- 'Proposed',
1685
- { account: AccountId20; proposalIndex: number; proposalHash: H256; threshold: number }
1686
- >;
1687
-
1688
- /**
1689
- * A motion (given hash) has been voted on by given account, leaving
1690
- * a tally (yes votes and no votes given respectively as `MemberCount`).
1691
- **/
1692
- Voted: GenericPalletEvent<
1693
- 'CouncilCollective',
1694
- 'Voted',
1695
- { account: AccountId20; proposalHash: H256; voted: boolean; yes: number; no: number }
1696
- >;
1697
-
1698
- /**
1699
- * A motion was approved by the required threshold.
1700
- **/
1701
- Approved: GenericPalletEvent<'CouncilCollective', 'Approved', { proposalHash: H256 }>;
1702
-
1703
- /**
1704
- * A motion was not approved by the required threshold.
1705
- **/
1706
- Disapproved: GenericPalletEvent<'CouncilCollective', 'Disapproved', { proposalHash: H256 }>;
1707
-
1708
- /**
1709
- * A motion was executed; result will be `Ok` if it returned without error.
1710
- **/
1711
- Executed: GenericPalletEvent<
1712
- 'CouncilCollective',
1713
- 'Executed',
1714
- { proposalHash: H256; result: Result<[], DispatchError> }
1715
- >;
1716
-
1717
- /**
1718
- * A single member did some action; result will be `Ok` if it returned without error.
1719
- **/
1720
- MemberExecuted: GenericPalletEvent<
1721
- 'CouncilCollective',
1722
- 'MemberExecuted',
1723
- { proposalHash: H256; result: Result<[], DispatchError> }
1724
- >;
1725
-
1726
- /**
1727
- * A proposal was closed because its threshold was reached or after its duration was up.
1728
- **/
1729
- Closed: GenericPalletEvent<'CouncilCollective', 'Closed', { proposalHash: H256; yes: number; no: number }>;
1730
-
1731
- /**
1732
- * Generic pallet event
1733
- **/
1734
- [prop: string]: GenericPalletEvent;
1735
- };
1736
- /**
1737
- * Pallet `TechCommitteeCollective`'s events
1738
- **/
1739
- techCommitteeCollective: {
1740
- /**
1741
- * A motion (given hash) has been proposed (by given account) with a threshold (given
1742
- * `MemberCount`).
1743
- **/
1744
- Proposed: GenericPalletEvent<
1745
- 'TechCommitteeCollective',
1746
- 'Proposed',
1747
- { account: AccountId20; proposalIndex: number; proposalHash: H256; threshold: number }
1748
- >;
1749
-
1750
- /**
1751
- * A motion (given hash) has been voted on by given account, leaving
1752
- * a tally (yes votes and no votes given respectively as `MemberCount`).
1753
- **/
1754
- Voted: GenericPalletEvent<
1755
- 'TechCommitteeCollective',
1756
- 'Voted',
1757
- { account: AccountId20; proposalHash: H256; voted: boolean; yes: number; no: number }
1758
- >;
1759
-
1760
- /**
1761
- * A motion was approved by the required threshold.
1762
- **/
1763
- Approved: GenericPalletEvent<'TechCommitteeCollective', 'Approved', { proposalHash: H256 }>;
1764
-
1765
- /**
1766
- * A motion was not approved by the required threshold.
1767
- **/
1768
- Disapproved: GenericPalletEvent<'TechCommitteeCollective', 'Disapproved', { proposalHash: H256 }>;
1769
-
1770
- /**
1771
- * A motion was executed; result will be `Ok` if it returned without error.
1772
- **/
1773
- Executed: GenericPalletEvent<
1774
- 'TechCommitteeCollective',
1775
- 'Executed',
1776
- { proposalHash: H256; result: Result<[], DispatchError> }
1777
- >;
1778
-
1779
- /**
1780
- * A single member did some action; result will be `Ok` if it returned without error.
1781
- **/
1782
- MemberExecuted: GenericPalletEvent<
1783
- 'TechCommitteeCollective',
1784
- 'MemberExecuted',
1785
- { proposalHash: H256; result: Result<[], DispatchError> }
1786
- >;
1787
-
1788
- /**
1789
- * A proposal was closed because its threshold was reached or after its duration was up.
1790
- **/
1791
- Closed: GenericPalletEvent<'TechCommitteeCollective', 'Closed', { proposalHash: H256; yes: number; no: number }>;
1792
-
1793
- /**
1794
- * Generic pallet event
1795
- **/
1796
- [prop: string]: GenericPalletEvent;
1685
+ [prop: string]: GenericPalletEvent<Rv>;
1797
1686
  };
1798
1687
  /**
1799
1688
  * Pallet `TreasuryCouncilCollective`'s events
@@ -1804,6 +1693,7 @@ export interface ChainEvents extends GenericChainEvents {
1804
1693
  * `MemberCount`).
1805
1694
  **/
1806
1695
  Proposed: GenericPalletEvent<
1696
+ Rv,
1807
1697
  'TreasuryCouncilCollective',
1808
1698
  'Proposed',
1809
1699
  { account: AccountId20; proposalIndex: number; proposalHash: H256; threshold: number }
@@ -1814,6 +1704,7 @@ export interface ChainEvents extends GenericChainEvents {
1814
1704
  * a tally (yes votes and no votes given respectively as `MemberCount`).
1815
1705
  **/
1816
1706
  Voted: GenericPalletEvent<
1707
+ Rv,
1817
1708
  'TreasuryCouncilCollective',
1818
1709
  'Voted',
1819
1710
  { account: AccountId20; proposalHash: H256; voted: boolean; yes: number; no: number }
@@ -1822,17 +1713,18 @@ export interface ChainEvents extends GenericChainEvents {
1822
1713
  /**
1823
1714
  * A motion was approved by the required threshold.
1824
1715
  **/
1825
- Approved: GenericPalletEvent<'TreasuryCouncilCollective', 'Approved', { proposalHash: H256 }>;
1716
+ Approved: GenericPalletEvent<Rv, 'TreasuryCouncilCollective', 'Approved', { proposalHash: H256 }>;
1826
1717
 
1827
1718
  /**
1828
1719
  * A motion was not approved by the required threshold.
1829
1720
  **/
1830
- Disapproved: GenericPalletEvent<'TreasuryCouncilCollective', 'Disapproved', { proposalHash: H256 }>;
1721
+ Disapproved: GenericPalletEvent<Rv, 'TreasuryCouncilCollective', 'Disapproved', { proposalHash: H256 }>;
1831
1722
 
1832
1723
  /**
1833
1724
  * A motion was executed; result will be `Ok` if it returned without error.
1834
1725
  **/
1835
1726
  Executed: GenericPalletEvent<
1727
+ Rv,
1836
1728
  'TreasuryCouncilCollective',
1837
1729
  'Executed',
1838
1730
  { proposalHash: H256; result: Result<[], DispatchError> }
@@ -1842,6 +1734,7 @@ export interface ChainEvents extends GenericChainEvents {
1842
1734
  * A single member did some action; result will be `Ok` if it returned without error.
1843
1735
  **/
1844
1736
  MemberExecuted: GenericPalletEvent<
1737
+ Rv,
1845
1738
  'TreasuryCouncilCollective',
1846
1739
  'MemberExecuted',
1847
1740
  { proposalHash: H256; result: Result<[], DispatchError> }
@@ -1850,12 +1743,17 @@ export interface ChainEvents extends GenericChainEvents {
1850
1743
  /**
1851
1744
  * A proposal was closed because its threshold was reached or after its duration was up.
1852
1745
  **/
1853
- Closed: GenericPalletEvent<'TreasuryCouncilCollective', 'Closed', { proposalHash: H256; yes: number; no: number }>;
1746
+ Closed: GenericPalletEvent<
1747
+ Rv,
1748
+ 'TreasuryCouncilCollective',
1749
+ 'Closed',
1750
+ { proposalHash: H256; yes: number; no: number }
1751
+ >;
1854
1752
 
1855
1753
  /**
1856
1754
  * Generic pallet event
1857
1755
  **/
1858
- [prop: string]: GenericPalletEvent;
1756
+ [prop: string]: GenericPalletEvent<Rv>;
1859
1757
  };
1860
1758
  /**
1861
1759
  * Pallet `OpenTechCommitteeCollective`'s events
@@ -1866,6 +1764,7 @@ export interface ChainEvents extends GenericChainEvents {
1866
1764
  * `MemberCount`).
1867
1765
  **/
1868
1766
  Proposed: GenericPalletEvent<
1767
+ Rv,
1869
1768
  'OpenTechCommitteeCollective',
1870
1769
  'Proposed',
1871
1770
  { account: AccountId20; proposalIndex: number; proposalHash: H256; threshold: number }
@@ -1876,6 +1775,7 @@ export interface ChainEvents extends GenericChainEvents {
1876
1775
  * a tally (yes votes and no votes given respectively as `MemberCount`).
1877
1776
  **/
1878
1777
  Voted: GenericPalletEvent<
1778
+ Rv,
1879
1779
  'OpenTechCommitteeCollective',
1880
1780
  'Voted',
1881
1781
  { account: AccountId20; proposalHash: H256; voted: boolean; yes: number; no: number }
@@ -1884,17 +1784,18 @@ export interface ChainEvents extends GenericChainEvents {
1884
1784
  /**
1885
1785
  * A motion was approved by the required threshold.
1886
1786
  **/
1887
- Approved: GenericPalletEvent<'OpenTechCommitteeCollective', 'Approved', { proposalHash: H256 }>;
1787
+ Approved: GenericPalletEvent<Rv, 'OpenTechCommitteeCollective', 'Approved', { proposalHash: H256 }>;
1888
1788
 
1889
1789
  /**
1890
1790
  * A motion was not approved by the required threshold.
1891
1791
  **/
1892
- Disapproved: GenericPalletEvent<'OpenTechCommitteeCollective', 'Disapproved', { proposalHash: H256 }>;
1792
+ Disapproved: GenericPalletEvent<Rv, 'OpenTechCommitteeCollective', 'Disapproved', { proposalHash: H256 }>;
1893
1793
 
1894
1794
  /**
1895
1795
  * A motion was executed; result will be `Ok` if it returned without error.
1896
1796
  **/
1897
1797
  Executed: GenericPalletEvent<
1798
+ Rv,
1898
1799
  'OpenTechCommitteeCollective',
1899
1800
  'Executed',
1900
1801
  { proposalHash: H256; result: Result<[], DispatchError> }
@@ -1904,6 +1805,7 @@ export interface ChainEvents extends GenericChainEvents {
1904
1805
  * A single member did some action; result will be `Ok` if it returned without error.
1905
1806
  **/
1906
1807
  MemberExecuted: GenericPalletEvent<
1808
+ Rv,
1907
1809
  'OpenTechCommitteeCollective',
1908
1810
  'MemberExecuted',
1909
1811
  { proposalHash: H256; result: Result<[], DispatchError> }
@@ -1913,6 +1815,7 @@ export interface ChainEvents extends GenericChainEvents {
1913
1815
  * A proposal was closed because its threshold was reached or after its duration was up.
1914
1816
  **/
1915
1817
  Closed: GenericPalletEvent<
1818
+ Rv,
1916
1819
  'OpenTechCommitteeCollective',
1917
1820
  'Closed',
1918
1821
  { proposalHash: H256; yes: number; no: number }
@@ -1921,7 +1824,7 @@ export interface ChainEvents extends GenericChainEvents {
1921
1824
  /**
1922
1825
  * Generic pallet event
1923
1826
  **/
1924
- [prop: string]: GenericPalletEvent;
1827
+ [prop: string]: GenericPalletEvent<Rv>;
1925
1828
  };
1926
1829
  /**
1927
1830
  * Pallet `Treasury`'s events
@@ -1930,42 +1833,48 @@ export interface ChainEvents extends GenericChainEvents {
1930
1833
  /**
1931
1834
  * New proposal.
1932
1835
  **/
1933
- Proposed: GenericPalletEvent<'Treasury', 'Proposed', { proposalIndex: number }>;
1836
+ Proposed: GenericPalletEvent<Rv, 'Treasury', 'Proposed', { proposalIndex: number }>;
1934
1837
 
1935
1838
  /**
1936
1839
  * We have ended a spend period and will now allocate funds.
1937
1840
  **/
1938
- Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
1841
+ Spending: GenericPalletEvent<Rv, 'Treasury', 'Spending', { budgetRemaining: bigint }>;
1939
1842
 
1940
1843
  /**
1941
1844
  * Some funds have been allocated.
1942
1845
  **/
1943
- Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId20 }>;
1846
+ Awarded: GenericPalletEvent<
1847
+ Rv,
1848
+ 'Treasury',
1849
+ 'Awarded',
1850
+ { proposalIndex: number; award: bigint; account: AccountId20 }
1851
+ >;
1944
1852
 
1945
1853
  /**
1946
1854
  * A proposal was rejected; funds were slashed.
1947
1855
  **/
1948
- Rejected: GenericPalletEvent<'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
1856
+ Rejected: GenericPalletEvent<Rv, 'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
1949
1857
 
1950
1858
  /**
1951
1859
  * Some of our funds have been burnt.
1952
1860
  **/
1953
- Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
1861
+ Burnt: GenericPalletEvent<Rv, 'Treasury', 'Burnt', { burntFunds: bigint }>;
1954
1862
 
1955
1863
  /**
1956
1864
  * Spending has finished; this is the amount that rolls over until next spend.
1957
1865
  **/
1958
- Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
1866
+ Rollover: GenericPalletEvent<Rv, 'Treasury', 'Rollover', { rolloverBalance: bigint }>;
1959
1867
 
1960
1868
  /**
1961
1869
  * Some funds have been deposited.
1962
1870
  **/
1963
- Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
1871
+ Deposit: GenericPalletEvent<Rv, 'Treasury', 'Deposit', { value: bigint }>;
1964
1872
 
1965
1873
  /**
1966
1874
  * A new spend proposal has been approved.
1967
1875
  **/
1968
1876
  SpendApproved: GenericPalletEvent<
1877
+ Rv,
1969
1878
  'Treasury',
1970
1879
  'SpendApproved',
1971
1880
  { proposalIndex: number; amount: bigint; beneficiary: AccountId20 }
@@ -1974,12 +1883,18 @@ export interface ChainEvents extends GenericChainEvents {
1974
1883
  /**
1975
1884
  * The inactive funds of the pallet have been updated.
1976
1885
  **/
1977
- UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
1886
+ UpdatedInactive: GenericPalletEvent<
1887
+ Rv,
1888
+ 'Treasury',
1889
+ 'UpdatedInactive',
1890
+ { reactivated: bigint; deactivated: bigint }
1891
+ >;
1978
1892
 
1979
1893
  /**
1980
1894
  * A new asset spend proposal has been approved.
1981
1895
  **/
1982
1896
  AssetSpendApproved: GenericPalletEvent<
1897
+ Rv,
1983
1898
  'Treasury',
1984
1899
  'AssetSpendApproved',
1985
1900
  { index: number; assetKind: []; amount: bigint; beneficiary: AccountId20; validFrom: number; expireAt: number }
@@ -1988,28 +1903,28 @@ export interface ChainEvents extends GenericChainEvents {
1988
1903
  /**
1989
1904
  * An approved spend was voided.
1990
1905
  **/
1991
- AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', { index: number }>;
1906
+ AssetSpendVoided: GenericPalletEvent<Rv, 'Treasury', 'AssetSpendVoided', { index: number }>;
1992
1907
 
1993
1908
  /**
1994
1909
  * A payment happened.
1995
1910
  **/
1996
- Paid: GenericPalletEvent<'Treasury', 'Paid', { index: number; paymentId: [] }>;
1911
+ Paid: GenericPalletEvent<Rv, 'Treasury', 'Paid', { index: number; paymentId: [] }>;
1997
1912
 
1998
1913
  /**
1999
1914
  * A payment failed and can be retried.
2000
1915
  **/
2001
- PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', { index: number; paymentId: [] }>;
1916
+ PaymentFailed: GenericPalletEvent<Rv, 'Treasury', 'PaymentFailed', { index: number; paymentId: [] }>;
2002
1917
 
2003
1918
  /**
2004
1919
  * A spend was processed and removed from the storage. It might have been successfully
2005
1920
  * paid or it may have expired.
2006
1921
  **/
2007
- SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', { index: number }>;
1922
+ SpendProcessed: GenericPalletEvent<Rv, 'Treasury', 'SpendProcessed', { index: number }>;
2008
1923
 
2009
1924
  /**
2010
1925
  * Generic pallet event
2011
1926
  **/
2012
- [prop: string]: GenericPalletEvent;
1927
+ [prop: string]: GenericPalletEvent<Rv>;
2013
1928
  };
2014
1929
  /**
2015
1930
  * Pallet `CrowdloanRewards`'s events
@@ -2018,13 +1933,14 @@ export interface ChainEvents extends GenericChainEvents {
2018
1933
  /**
2019
1934
  * The initial payment of InitializationPayment % was paid
2020
1935
  **/
2021
- InitialPaymentMade: GenericPalletEvent<'CrowdloanRewards', 'InitialPaymentMade', [AccountId20, bigint]>;
1936
+ InitialPaymentMade: GenericPalletEvent<Rv, 'CrowdloanRewards', 'InitialPaymentMade', [AccountId20, bigint]>;
2022
1937
 
2023
1938
  /**
2024
1939
  * Someone has proven they made a contribution and associated a native identity with it.
2025
1940
  * Data is the relay account, native account and the total amount of _rewards_ that will be paid
2026
1941
  **/
2027
1942
  NativeIdentityAssociated: GenericPalletEvent<
1943
+ Rv,
2028
1944
  'CrowdloanRewards',
2029
1945
  'NativeIdentityAssociated',
2030
1946
  [FixedBytes<32>, AccountId20, bigint]
@@ -2034,17 +1950,23 @@ export interface ChainEvents extends GenericChainEvents {
2034
1950
  * A contributor has claimed some rewards.
2035
1951
  * Data is the account getting paid and the amount of rewards paid.
2036
1952
  **/
2037
- RewardsPaid: GenericPalletEvent<'CrowdloanRewards', 'RewardsPaid', [AccountId20, bigint]>;
1953
+ RewardsPaid: GenericPalletEvent<Rv, 'CrowdloanRewards', 'RewardsPaid', [AccountId20, bigint]>;
2038
1954
 
2039
1955
  /**
2040
1956
  * A contributor has updated the reward address.
2041
1957
  **/
2042
- RewardAddressUpdated: GenericPalletEvent<'CrowdloanRewards', 'RewardAddressUpdated', [AccountId20, AccountId20]>;
1958
+ RewardAddressUpdated: GenericPalletEvent<
1959
+ Rv,
1960
+ 'CrowdloanRewards',
1961
+ 'RewardAddressUpdated',
1962
+ [AccountId20, AccountId20]
1963
+ >;
2043
1964
 
2044
1965
  /**
2045
1966
  * When initializing the reward vec an already initialized account was found
2046
1967
  **/
2047
1968
  InitializedAlreadyInitializedAccount: GenericPalletEvent<
1969
+ Rv,
2048
1970
  'CrowdloanRewards',
2049
1971
  'InitializedAlreadyInitializedAccount',
2050
1972
  [FixedBytes<32>, AccountId20 | undefined, bigint]
@@ -2054,6 +1976,7 @@ export interface ChainEvents extends GenericChainEvents {
2054
1976
  * When initializing the reward vec an already initialized account was found
2055
1977
  **/
2056
1978
  InitializedAccountWithNotEnoughContribution: GenericPalletEvent<
1979
+ Rv,
2057
1980
  'CrowdloanRewards',
2058
1981
  'InitializedAccountWithNotEnoughContribution',
2059
1982
  [FixedBytes<32>, AccountId20 | undefined, bigint]
@@ -2062,77 +1985,21 @@ export interface ChainEvents extends GenericChainEvents {
2062
1985
  /**
2063
1986
  * Generic pallet event
2064
1987
  **/
2065
- [prop: string]: GenericPalletEvent;
1988
+ [prop: string]: GenericPalletEvent<Rv>;
2066
1989
  };
2067
1990
  /**
2068
1991
  * Pallet `XcmpQueue`'s events
2069
1992
  **/
2070
1993
  xcmpQueue: {
2071
- /**
2072
- * Some XCM was executed ok.
2073
- **/
2074
- Success: GenericPalletEvent<
2075
- 'XcmpQueue',
2076
- 'Success',
2077
- { messageHash: FixedBytes<32>; messageId: FixedBytes<32>; weight: SpWeightsWeightV2Weight }
2078
- >;
2079
-
2080
- /**
2081
- * Some XCM failed.
2082
- **/
2083
- Fail: GenericPalletEvent<
2084
- 'XcmpQueue',
2085
- 'Fail',
2086
- {
2087
- messageHash: FixedBytes<32>;
2088
- messageId: FixedBytes<32>;
2089
- error: XcmV3TraitsError;
2090
- weight: SpWeightsWeightV2Weight;
2091
- }
2092
- >;
2093
-
2094
- /**
2095
- * Bad XCM version used.
2096
- **/
2097
- BadVersion: GenericPalletEvent<'XcmpQueue', 'BadVersion', { messageHash: FixedBytes<32> }>;
2098
-
2099
- /**
2100
- * Bad XCM format used.
2101
- **/
2102
- BadFormat: GenericPalletEvent<'XcmpQueue', 'BadFormat', { messageHash: FixedBytes<32> }>;
2103
-
2104
1994
  /**
2105
1995
  * An HRMP message was sent to a sibling parachain.
2106
1996
  **/
2107
- XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
2108
-
2109
- /**
2110
- * An XCM exceeded the individual message weight budget.
2111
- **/
2112
- OverweightEnqueued: GenericPalletEvent<
2113
- 'XcmpQueue',
2114
- 'OverweightEnqueued',
2115
- {
2116
- sender: PolkadotParachainPrimitivesPrimitivesId;
2117
- sentAt: number;
2118
- index: bigint;
2119
- required: SpWeightsWeightV2Weight;
2120
- }
2121
- >;
2122
-
2123
- /**
2124
- * An XCM from the overweight queue was executed with the given actual weight used.
2125
- **/
2126
- OverweightServiced: GenericPalletEvent<
2127
- 'XcmpQueue',
2128
- 'OverweightServiced',
2129
- { index: bigint; used: SpWeightsWeightV2Weight }
2130
- >;
1997
+ XcmpMessageSent: GenericPalletEvent<Rv, 'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
2131
1998
 
2132
1999
  /**
2133
2000
  * Generic pallet event
2134
2001
  **/
2135
- [prop: string]: GenericPalletEvent;
2002
+ [prop: string]: GenericPalletEvent<Rv>;
2136
2003
  };
2137
2004
  /**
2138
2005
  * Pallet `CumulusXcm`'s events
@@ -2142,94 +2009,97 @@ export interface ChainEvents extends GenericChainEvents {
2142
2009
  * Downward message is invalid XCM.
2143
2010
  * \[ id \]
2144
2011
  **/
2145
- InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
2012
+ InvalidFormat: GenericPalletEvent<Rv, 'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
2146
2013
 
2147
2014
  /**
2148
2015
  * Downward message is unsupported version of XCM.
2149
2016
  * \[ id \]
2150
2017
  **/
2151
- UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
2018
+ UnsupportedVersion: GenericPalletEvent<Rv, 'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
2152
2019
 
2153
2020
  /**
2154
2021
  * Downward message executed with the given outcome.
2155
2022
  * \[ id, outcome \]
2156
2023
  **/
2157
- ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, XcmV3TraitsOutcome]>;
2024
+ ExecutedDownward: GenericPalletEvent<
2025
+ Rv,
2026
+ 'CumulusXcm',
2027
+ 'ExecutedDownward',
2028
+ [FixedBytes<32>, StagingXcmV4TraitsOutcome]
2029
+ >;
2158
2030
 
2159
2031
  /**
2160
2032
  * Generic pallet event
2161
2033
  **/
2162
- [prop: string]: GenericPalletEvent;
2034
+ [prop: string]: GenericPalletEvent<Rv>;
2163
2035
  };
2164
2036
  /**
2165
2037
  * Pallet `DmpQueue`'s events
2166
2038
  **/
2167
2039
  dmpQueue: {
2168
2040
  /**
2169
- * Downward message is invalid XCM.
2041
+ * The export of pages started.
2170
2042
  **/
2171
- InvalidFormat: GenericPalletEvent<'DmpQueue', 'InvalidFormat', { messageHash: FixedBytes<32> }>;
2043
+ StartedExport: GenericPalletEvent<Rv, 'DmpQueue', 'StartedExport', null>;
2172
2044
 
2173
2045
  /**
2174
- * Downward message is unsupported version of XCM.
2046
+ * The export of a page completed.
2175
2047
  **/
2176
- UnsupportedVersion: GenericPalletEvent<'DmpQueue', 'UnsupportedVersion', { messageHash: FixedBytes<32> }>;
2048
+ Exported: GenericPalletEvent<Rv, 'DmpQueue', 'Exported', { page: number }>;
2177
2049
 
2178
2050
  /**
2179
- * Downward message executed with the given outcome.
2051
+ * The export of a page failed.
2052
+ *
2053
+ * This should never be emitted.
2180
2054
  **/
2181
- ExecutedDownward: GenericPalletEvent<
2182
- 'DmpQueue',
2183
- 'ExecutedDownward',
2184
- { messageHash: FixedBytes<32>; messageId: FixedBytes<32>; outcome: XcmV3TraitsOutcome }
2185
- >;
2055
+ ExportFailed: GenericPalletEvent<Rv, 'DmpQueue', 'ExportFailed', { page: number }>;
2186
2056
 
2187
2057
  /**
2188
- * The weight limit for handling downward messages was reached.
2058
+ * The export of pages completed.
2189
2059
  **/
2190
- WeightExhausted: GenericPalletEvent<
2191
- 'DmpQueue',
2192
- 'WeightExhausted',
2193
- {
2194
- messageHash: FixedBytes<32>;
2195
- messageId: FixedBytes<32>;
2196
- remainingWeight: SpWeightsWeightV2Weight;
2197
- requiredWeight: SpWeightsWeightV2Weight;
2198
- }
2199
- >;
2060
+ CompletedExport: GenericPalletEvent<Rv, 'DmpQueue', 'CompletedExport', null>;
2200
2061
 
2201
2062
  /**
2202
- * Downward message is overweight and was placed in the overweight queue.
2063
+ * The export of overweight messages started.
2203
2064
  **/
2204
- OverweightEnqueued: GenericPalletEvent<
2205
- 'DmpQueue',
2206
- 'OverweightEnqueued',
2207
- {
2208
- messageHash: FixedBytes<32>;
2209
- messageId: FixedBytes<32>;
2210
- overweightIndex: bigint;
2211
- requiredWeight: SpWeightsWeightV2Weight;
2212
- }
2213
- >;
2065
+ StartedOverweightExport: GenericPalletEvent<Rv, 'DmpQueue', 'StartedOverweightExport', null>;
2214
2066
 
2215
2067
  /**
2216
- * Downward message from the overweight queue was executed.
2068
+ * The export of an overweight message completed.
2217
2069
  **/
2218
- OverweightServiced: GenericPalletEvent<
2219
- 'DmpQueue',
2220
- 'OverweightServiced',
2221
- { overweightIndex: bigint; weightUsed: SpWeightsWeightV2Weight }
2222
- >;
2070
+ ExportedOverweight: GenericPalletEvent<Rv, 'DmpQueue', 'ExportedOverweight', { index: bigint }>;
2223
2071
 
2224
2072
  /**
2225
- * The maximum number of downward messages was reached.
2073
+ * The export of an overweight message failed.
2074
+ *
2075
+ * This should never be emitted.
2226
2076
  **/
2227
- MaxMessagesExhausted: GenericPalletEvent<'DmpQueue', 'MaxMessagesExhausted', { messageHash: FixedBytes<32> }>;
2077
+ ExportOverweightFailed: GenericPalletEvent<Rv, 'DmpQueue', 'ExportOverweightFailed', { index: bigint }>;
2078
+
2079
+ /**
2080
+ * The export of overweight messages completed.
2081
+ **/
2082
+ CompletedOverweightExport: GenericPalletEvent<Rv, 'DmpQueue', 'CompletedOverweightExport', null>;
2083
+
2084
+ /**
2085
+ * The cleanup of remaining pallet storage started.
2086
+ **/
2087
+ StartedCleanup: GenericPalletEvent<Rv, 'DmpQueue', 'StartedCleanup', null>;
2088
+
2089
+ /**
2090
+ * Some debris was cleaned up.
2091
+ **/
2092
+ CleanedSome: GenericPalletEvent<Rv, 'DmpQueue', 'CleanedSome', { keysRemoved: number }>;
2093
+
2094
+ /**
2095
+ * The cleanup of remaining pallet storage completed.
2096
+ **/
2097
+ Completed: GenericPalletEvent<Rv, 'DmpQueue', 'Completed', { error: boolean }>;
2228
2098
 
2229
2099
  /**
2230
2100
  * Generic pallet event
2231
2101
  **/
2232
- [prop: string]: GenericPalletEvent;
2102
+ [prop: string]: GenericPalletEvent<Rv>;
2233
2103
  };
2234
2104
  /**
2235
2105
  * Pallet `PolkadotXcm`'s events
@@ -2238,18 +2108,19 @@ export interface ChainEvents extends GenericChainEvents {
2238
2108
  /**
2239
2109
  * Execution of an XCM message was attempted.
2240
2110
  **/
2241
- Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome: XcmV3TraitsOutcome }>;
2111
+ Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
2242
2112
 
2243
2113
  /**
2244
2114
  * A XCM message was sent.
2245
2115
  **/
2246
2116
  Sent: GenericPalletEvent<
2117
+ Rv,
2247
2118
  'PolkadotXcm',
2248
2119
  'Sent',
2249
2120
  {
2250
- origin: StagingXcmV3MultilocationMultiLocation;
2251
- destination: StagingXcmV3MultilocationMultiLocation;
2252
- message: XcmV3Xcm;
2121
+ origin: StagingXcmV4Location;
2122
+ destination: StagingXcmV4Location;
2123
+ message: StagingXcmV4Xcm;
2253
2124
  messageId: FixedBytes<32>;
2254
2125
  }
2255
2126
  >;
@@ -2260,22 +2131,29 @@ export interface ChainEvents extends GenericChainEvents {
2260
2131
  * because the query timed out.
2261
2132
  **/
2262
2133
  UnexpectedResponse: GenericPalletEvent<
2134
+ Rv,
2263
2135
  'PolkadotXcm',
2264
2136
  'UnexpectedResponse',
2265
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
2137
+ { origin: StagingXcmV4Location; queryId: bigint }
2266
2138
  >;
2267
2139
 
2268
2140
  /**
2269
2141
  * Query response has been received and is ready for taking with `take_response`. There is
2270
2142
  * no registered notification call.
2271
2143
  **/
2272
- ResponseReady: GenericPalletEvent<'PolkadotXcm', 'ResponseReady', { queryId: bigint; response: XcmV3Response }>;
2144
+ ResponseReady: GenericPalletEvent<
2145
+ Rv,
2146
+ 'PolkadotXcm',
2147
+ 'ResponseReady',
2148
+ { queryId: bigint; response: StagingXcmV4Response }
2149
+ >;
2273
2150
 
2274
2151
  /**
2275
2152
  * Query response has been received and query is removed. The registered notification has
2276
2153
  * been dispatched and executed successfully.
2277
2154
  **/
2278
2155
  Notified: GenericPalletEvent<
2156
+ Rv,
2279
2157
  'PolkadotXcm',
2280
2158
  'Notified',
2281
2159
  { queryId: bigint; palletIndex: number; callIndex: number }
@@ -2287,6 +2165,7 @@ export interface ChainEvents extends GenericChainEvents {
2287
2165
  * originally budgeted by this runtime for the query result.
2288
2166
  **/
2289
2167
  NotifyOverweight: GenericPalletEvent<
2168
+ Rv,
2290
2169
  'PolkadotXcm',
2291
2170
  'NotifyOverweight',
2292
2171
  {
@@ -2303,6 +2182,7 @@ export interface ChainEvents extends GenericChainEvents {
2303
2182
  * dispatching the notification call.
2304
2183
  **/
2305
2184
  NotifyDispatchError: GenericPalletEvent<
2185
+ Rv,
2306
2186
  'PolkadotXcm',
2307
2187
  'NotifyDispatchError',
2308
2188
  { queryId: bigint; palletIndex: number; callIndex: number }
@@ -2314,6 +2194,7 @@ export interface ChainEvents extends GenericChainEvents {
2314
2194
  * is not `(origin, QueryId, Response)`.
2315
2195
  **/
2316
2196
  NotifyDecodeFailed: GenericPalletEvent<
2197
+ Rv,
2317
2198
  'PolkadotXcm',
2318
2199
  'NotifyDecodeFailed',
2319
2200
  { queryId: bigint; palletIndex: number; callIndex: number }
@@ -2325,13 +2206,10 @@ export interface ChainEvents extends GenericChainEvents {
2325
2206
  * be received and acted upon.
2326
2207
  **/
2327
2208
  InvalidResponder: GenericPalletEvent<
2209
+ Rv,
2328
2210
  'PolkadotXcm',
2329
2211
  'InvalidResponder',
2330
- {
2331
- origin: StagingXcmV3MultilocationMultiLocation;
2332
- queryId: bigint;
2333
- expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
2334
- }
2212
+ { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
2335
2213
  >;
2336
2214
 
2337
2215
  /**
@@ -2344,23 +2222,25 @@ export interface ChainEvents extends GenericChainEvents {
2344
2222
  * needed.
2345
2223
  **/
2346
2224
  InvalidResponderVersion: GenericPalletEvent<
2225
+ Rv,
2347
2226
  'PolkadotXcm',
2348
2227
  'InvalidResponderVersion',
2349
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
2228
+ { origin: StagingXcmV4Location; queryId: bigint }
2350
2229
  >;
2351
2230
 
2352
2231
  /**
2353
2232
  * Received query response has been read and removed.
2354
2233
  **/
2355
- ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
2234
+ ResponseTaken: GenericPalletEvent<Rv, 'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
2356
2235
 
2357
2236
  /**
2358
2237
  * Some assets have been placed in an asset trap.
2359
2238
  **/
2360
2239
  AssetsTrapped: GenericPalletEvent<
2240
+ Rv,
2361
2241
  'PolkadotXcm',
2362
2242
  'AssetsTrapped',
2363
- { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
2243
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
2364
2244
  >;
2365
2245
 
2366
2246
  /**
@@ -2369,14 +2249,10 @@ export interface ChainEvents extends GenericChainEvents {
2369
2249
  * The cost of sending it (borne by the chain) is included.
2370
2250
  **/
2371
2251
  VersionChangeNotified: GenericPalletEvent<
2252
+ Rv,
2372
2253
  'PolkadotXcm',
2373
2254
  'VersionChangeNotified',
2374
- {
2375
- destination: StagingXcmV3MultilocationMultiLocation;
2376
- result: number;
2377
- cost: XcmV3MultiassetMultiAssets;
2378
- messageId: FixedBytes<32>;
2379
- }
2255
+ { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2380
2256
  >;
2381
2257
 
2382
2258
  /**
@@ -2384,9 +2260,10 @@ export interface ChainEvents extends GenericChainEvents {
2384
2260
  * automatic notification or a manual intervention.
2385
2261
  **/
2386
2262
  SupportedVersionChanged: GenericPalletEvent<
2263
+ Rv,
2387
2264
  'PolkadotXcm',
2388
2265
  'SupportedVersionChanged',
2389
- { location: StagingXcmV3MultilocationMultiLocation; version: number }
2266
+ { location: StagingXcmV4Location; version: number }
2390
2267
  >;
2391
2268
 
2392
2269
  /**
@@ -2394,9 +2271,10 @@ export interface ChainEvents extends GenericChainEvents {
2394
2271
  * sending the notification to it.
2395
2272
  **/
2396
2273
  NotifyTargetSendFail: GenericPalletEvent<
2274
+ Rv,
2397
2275
  'PolkadotXcm',
2398
2276
  'NotifyTargetSendFail',
2399
- { location: StagingXcmV3MultilocationMultiLocation; queryId: bigint; error: XcmV3TraitsError }
2277
+ { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
2400
2278
  >;
2401
2279
 
2402
2280
  /**
@@ -2404,9 +2282,10 @@ export interface ChainEvents extends GenericChainEvents {
2404
2282
  * migrating the location to our new XCM format.
2405
2283
  **/
2406
2284
  NotifyTargetMigrationFail: GenericPalletEvent<
2285
+ Rv,
2407
2286
  'PolkadotXcm',
2408
2287
  'NotifyTargetMigrationFail',
2409
- { location: XcmVersionedMultiLocation; queryId: bigint }
2288
+ { location: XcmVersionedLocation; queryId: bigint }
2410
2289
  >;
2411
2290
 
2412
2291
  /**
@@ -2419,9 +2298,10 @@ export interface ChainEvents extends GenericChainEvents {
2419
2298
  * needed.
2420
2299
  **/
2421
2300
  InvalidQuerierVersion: GenericPalletEvent<
2301
+ Rv,
2422
2302
  'PolkadotXcm',
2423
2303
  'InvalidQuerierVersion',
2424
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
2304
+ { origin: StagingXcmV4Location; queryId: bigint }
2425
2305
  >;
2426
2306
 
2427
2307
  /**
@@ -2430,13 +2310,14 @@ export interface ChainEvents extends GenericChainEvents {
2430
2310
  * be received and acted upon.
2431
2311
  **/
2432
2312
  InvalidQuerier: GenericPalletEvent<
2313
+ Rv,
2433
2314
  'PolkadotXcm',
2434
2315
  'InvalidQuerier',
2435
2316
  {
2436
- origin: StagingXcmV3MultilocationMultiLocation;
2317
+ origin: StagingXcmV4Location;
2437
2318
  queryId: bigint;
2438
- expectedQuerier: StagingXcmV3MultilocationMultiLocation;
2439
- maybeActualQuerier?: StagingXcmV3MultilocationMultiLocation | undefined;
2319
+ expectedQuerier: StagingXcmV4Location;
2320
+ maybeActualQuerier?: StagingXcmV4Location | undefined;
2440
2321
  }
2441
2322
  >;
2442
2323
 
@@ -2445,26 +2326,20 @@ export interface ChainEvents extends GenericChainEvents {
2445
2326
  * A version information message is sent to them and its cost is included.
2446
2327
  **/
2447
2328
  VersionNotifyStarted: GenericPalletEvent<
2329
+ Rv,
2448
2330
  'PolkadotXcm',
2449
2331
  'VersionNotifyStarted',
2450
- {
2451
- destination: StagingXcmV3MultilocationMultiLocation;
2452
- cost: XcmV3MultiassetMultiAssets;
2453
- messageId: FixedBytes<32>;
2454
- }
2332
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2455
2333
  >;
2456
2334
 
2457
2335
  /**
2458
2336
  * We have requested that a remote chain send us XCM version change notifications.
2459
2337
  **/
2460
2338
  VersionNotifyRequested: GenericPalletEvent<
2339
+ Rv,
2461
2340
  'PolkadotXcm',
2462
2341
  'VersionNotifyRequested',
2463
- {
2464
- destination: StagingXcmV3MultilocationMultiLocation;
2465
- cost: XcmV3MultiassetMultiAssets;
2466
- messageId: FixedBytes<32>;
2467
- }
2342
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2468
2343
  >;
2469
2344
 
2470
2345
  /**
@@ -2472,37 +2347,41 @@ export interface ChainEvents extends GenericChainEvents {
2472
2347
  * notifications.
2473
2348
  **/
2474
2349
  VersionNotifyUnrequested: GenericPalletEvent<
2350
+ Rv,
2475
2351
  'PolkadotXcm',
2476
2352
  'VersionNotifyUnrequested',
2477
- {
2478
- destination: StagingXcmV3MultilocationMultiLocation;
2479
- cost: XcmV3MultiassetMultiAssets;
2480
- messageId: FixedBytes<32>;
2481
- }
2353
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2482
2354
  >;
2483
2355
 
2484
2356
  /**
2485
2357
  * Fees were paid from a location for an operation (often for using `SendXcm`).
2486
2358
  **/
2487
2359
  FeesPaid: GenericPalletEvent<
2360
+ Rv,
2488
2361
  'PolkadotXcm',
2489
2362
  'FeesPaid',
2490
- { paying: StagingXcmV3MultilocationMultiLocation; fees: XcmV3MultiassetMultiAssets }
2363
+ { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
2491
2364
  >;
2492
2365
 
2493
2366
  /**
2494
2367
  * Some assets have been claimed from an asset trap
2495
2368
  **/
2496
2369
  AssetsClaimed: GenericPalletEvent<
2370
+ Rv,
2497
2371
  'PolkadotXcm',
2498
2372
  'AssetsClaimed',
2499
- { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
2373
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
2500
2374
  >;
2501
2375
 
2376
+ /**
2377
+ * A XCM version migration finished.
2378
+ **/
2379
+ VersionMigrationFinished: GenericPalletEvent<Rv, 'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
2380
+
2502
2381
  /**
2503
2382
  * Generic pallet event
2504
2383
  **/
2505
- [prop: string]: GenericPalletEvent;
2384
+ [prop: string]: GenericPalletEvent<Rv>;
2506
2385
  };
2507
2386
  /**
2508
2387
  * Pallet `Assets`'s events
@@ -2511,17 +2390,18 @@ export interface ChainEvents extends GenericChainEvents {
2511
2390
  /**
2512
2391
  * Some asset class was created.
2513
2392
  **/
2514
- Created: GenericPalletEvent<'Assets', 'Created', { assetId: bigint; creator: AccountId20; owner: AccountId20 }>;
2393
+ Created: GenericPalletEvent<Rv, 'Assets', 'Created', { assetId: bigint; creator: AccountId20; owner: AccountId20 }>;
2515
2394
 
2516
2395
  /**
2517
2396
  * Some assets were issued.
2518
2397
  **/
2519
- Issued: GenericPalletEvent<'Assets', 'Issued', { assetId: bigint; owner: AccountId20; amount: bigint }>;
2398
+ Issued: GenericPalletEvent<Rv, 'Assets', 'Issued', { assetId: bigint; owner: AccountId20; amount: bigint }>;
2520
2399
 
2521
2400
  /**
2522
2401
  * Some assets were transferred.
2523
2402
  **/
2524
2403
  Transferred: GenericPalletEvent<
2404
+ Rv,
2525
2405
  'Assets',
2526
2406
  'Transferred',
2527
2407
  { assetId: bigint; from: AccountId20; to: AccountId20; amount: bigint }
@@ -2530,12 +2410,13 @@ export interface ChainEvents extends GenericChainEvents {
2530
2410
  /**
2531
2411
  * Some assets were destroyed.
2532
2412
  **/
2533
- Burned: GenericPalletEvent<'Assets', 'Burned', { assetId: bigint; owner: AccountId20; balance: bigint }>;
2413
+ Burned: GenericPalletEvent<Rv, 'Assets', 'Burned', { assetId: bigint; owner: AccountId20; balance: bigint }>;
2534
2414
 
2535
2415
  /**
2536
2416
  * The management team changed.
2537
2417
  **/
2538
2418
  TeamChanged: GenericPalletEvent<
2419
+ Rv,
2539
2420
  'Assets',
2540
2421
  'TeamChanged',
2541
2422
  { assetId: bigint; issuer: AccountId20; admin: AccountId20; freezer: AccountId20 }
@@ -2544,32 +2425,33 @@ export interface ChainEvents extends GenericChainEvents {
2544
2425
  /**
2545
2426
  * The owner changed.
2546
2427
  **/
2547
- OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', { assetId: bigint; owner: AccountId20 }>;
2428
+ OwnerChanged: GenericPalletEvent<Rv, 'Assets', 'OwnerChanged', { assetId: bigint; owner: AccountId20 }>;
2548
2429
 
2549
2430
  /**
2550
2431
  * Some account `who` was frozen.
2551
2432
  **/
2552
- Frozen: GenericPalletEvent<'Assets', 'Frozen', { assetId: bigint; who: AccountId20 }>;
2433
+ Frozen: GenericPalletEvent<Rv, 'Assets', 'Frozen', { assetId: bigint; who: AccountId20 }>;
2553
2434
 
2554
2435
  /**
2555
2436
  * Some account `who` was thawed.
2556
2437
  **/
2557
- Thawed: GenericPalletEvent<'Assets', 'Thawed', { assetId: bigint; who: AccountId20 }>;
2438
+ Thawed: GenericPalletEvent<Rv, 'Assets', 'Thawed', { assetId: bigint; who: AccountId20 }>;
2558
2439
 
2559
2440
  /**
2560
2441
  * Some asset `asset_id` was frozen.
2561
2442
  **/
2562
- AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', { assetId: bigint }>;
2443
+ AssetFrozen: GenericPalletEvent<Rv, 'Assets', 'AssetFrozen', { assetId: bigint }>;
2563
2444
 
2564
2445
  /**
2565
2446
  * Some asset `asset_id` was thawed.
2566
2447
  **/
2567
- AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', { assetId: bigint }>;
2448
+ AssetThawed: GenericPalletEvent<Rv, 'Assets', 'AssetThawed', { assetId: bigint }>;
2568
2449
 
2569
2450
  /**
2570
2451
  * Accounts were destroyed for given asset.
2571
2452
  **/
2572
2453
  AccountsDestroyed: GenericPalletEvent<
2454
+ Rv,
2573
2455
  'Assets',
2574
2456
  'AccountsDestroyed',
2575
2457
  { assetId: bigint; accountsDestroyed: number; accountsRemaining: number }
@@ -2579,6 +2461,7 @@ export interface ChainEvents extends GenericChainEvents {
2579
2461
  * Approvals were destroyed for given asset.
2580
2462
  **/
2581
2463
  ApprovalsDestroyed: GenericPalletEvent<
2464
+ Rv,
2582
2465
  'Assets',
2583
2466
  'ApprovalsDestroyed',
2584
2467
  { assetId: bigint; approvalsDestroyed: number; approvalsRemaining: number }
@@ -2587,22 +2470,23 @@ export interface ChainEvents extends GenericChainEvents {
2587
2470
  /**
2588
2471
  * An asset class is in the process of being destroyed.
2589
2472
  **/
2590
- DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', { assetId: bigint }>;
2473
+ DestructionStarted: GenericPalletEvent<Rv, 'Assets', 'DestructionStarted', { assetId: bigint }>;
2591
2474
 
2592
2475
  /**
2593
2476
  * An asset class was destroyed.
2594
2477
  **/
2595
- Destroyed: GenericPalletEvent<'Assets', 'Destroyed', { assetId: bigint }>;
2478
+ Destroyed: GenericPalletEvent<Rv, 'Assets', 'Destroyed', { assetId: bigint }>;
2596
2479
 
2597
2480
  /**
2598
2481
  * Some asset class was force-created.
2599
2482
  **/
2600
- ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', { assetId: bigint; owner: AccountId20 }>;
2483
+ ForceCreated: GenericPalletEvent<Rv, 'Assets', 'ForceCreated', { assetId: bigint; owner: AccountId20 }>;
2601
2484
 
2602
2485
  /**
2603
2486
  * New metadata has been set for an asset.
2604
2487
  **/
2605
2488
  MetadataSet: GenericPalletEvent<
2489
+ Rv,
2606
2490
  'Assets',
2607
2491
  'MetadataSet',
2608
2492
  { assetId: bigint; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
@@ -2611,12 +2495,13 @@ export interface ChainEvents extends GenericChainEvents {
2611
2495
  /**
2612
2496
  * Metadata has been cleared for an asset.
2613
2497
  **/
2614
- MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', { assetId: bigint }>;
2498
+ MetadataCleared: GenericPalletEvent<Rv, 'Assets', 'MetadataCleared', { assetId: bigint }>;
2615
2499
 
2616
2500
  /**
2617
2501
  * (Additional) funds have been approved for transfer to a destination account.
2618
2502
  **/
2619
2503
  ApprovedTransfer: GenericPalletEvent<
2504
+ Rv,
2620
2505
  'Assets',
2621
2506
  'ApprovedTransfer',
2622
2507
  { assetId: bigint; source: AccountId20; delegate: AccountId20; amount: bigint }
@@ -2626,6 +2511,7 @@ export interface ChainEvents extends GenericChainEvents {
2626
2511
  * An approval for account `delegate` was cancelled by `owner`.
2627
2512
  **/
2628
2513
  ApprovalCancelled: GenericPalletEvent<
2514
+ Rv,
2629
2515
  'Assets',
2630
2516
  'ApprovalCancelled',
2631
2517
  { assetId: bigint; owner: AccountId20; delegate: AccountId20 }
@@ -2636,6 +2522,7 @@ export interface ChainEvents extends GenericChainEvents {
2636
2522
  * the approved `delegate`.
2637
2523
  **/
2638
2524
  TransferredApproved: GenericPalletEvent<
2525
+ Rv,
2639
2526
  'Assets',
2640
2527
  'TransferredApproved',
2641
2528
  { assetId: bigint; owner: AccountId20; delegate: AccountId20; destination: AccountId20; amount: bigint }
@@ -2644,12 +2531,13 @@ export interface ChainEvents extends GenericChainEvents {
2644
2531
  /**
2645
2532
  * An asset has had its attributes changed by the `Force` origin.
2646
2533
  **/
2647
- AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', { assetId: bigint }>;
2534
+ AssetStatusChanged: GenericPalletEvent<Rv, 'Assets', 'AssetStatusChanged', { assetId: bigint }>;
2648
2535
 
2649
2536
  /**
2650
2537
  * The min_balance of an asset has been updated by the asset owner.
2651
2538
  **/
2652
2539
  AssetMinBalanceChanged: GenericPalletEvent<
2540
+ Rv,
2653
2541
  'Assets',
2654
2542
  'AssetMinBalanceChanged',
2655
2543
  { assetId: bigint; newMinBalance: bigint }
@@ -2658,17 +2546,17 @@ export interface ChainEvents extends GenericChainEvents {
2658
2546
  /**
2659
2547
  * Some account `who` was created with a deposit from `depositor`.
2660
2548
  **/
2661
- Touched: GenericPalletEvent<'Assets', 'Touched', { assetId: bigint; who: AccountId20; depositor: AccountId20 }>;
2549
+ Touched: GenericPalletEvent<Rv, 'Assets', 'Touched', { assetId: bigint; who: AccountId20; depositor: AccountId20 }>;
2662
2550
 
2663
2551
  /**
2664
2552
  * Some account `who` was blocked.
2665
2553
  **/
2666
- Blocked: GenericPalletEvent<'Assets', 'Blocked', { assetId: bigint; who: AccountId20 }>;
2554
+ Blocked: GenericPalletEvent<Rv, 'Assets', 'Blocked', { assetId: bigint; who: AccountId20 }>;
2667
2555
 
2668
2556
  /**
2669
2557
  * Generic pallet event
2670
2558
  **/
2671
- [prop: string]: GenericPalletEvent;
2559
+ [prop: string]: GenericPalletEvent<Rv>;
2672
2560
  };
2673
2561
  /**
2674
2562
  * Pallet `AssetManager`'s events
@@ -2678,6 +2566,7 @@ export interface ChainEvents extends GenericChainEvents {
2678
2566
  * New asset with the asset manager is registered
2679
2567
  **/
2680
2568
  ForeignAssetRegistered: GenericPalletEvent<
2569
+ Rv,
2681
2570
  'AssetManager',
2682
2571
  'ForeignAssetRegistered',
2683
2572
  {
@@ -2691,6 +2580,7 @@ export interface ChainEvents extends GenericChainEvents {
2691
2580
  * Changed the amount of units we are charging per execution second for a given asset
2692
2581
  **/
2693
2582
  UnitsPerSecondChanged: GenericPalletEvent<
2583
+ Rv,
2694
2584
  'AssetManager',
2695
2585
  'UnitsPerSecondChanged',
2696
2586
  { assetType: MoonbeamRuntimeXcmConfigAssetType; unitsPerSecond: bigint }
@@ -2700,6 +2590,7 @@ export interface ChainEvents extends GenericChainEvents {
2700
2590
  * Changed the xcm type mapping for a given asset id
2701
2591
  **/
2702
2592
  ForeignAssetTypeChanged: GenericPalletEvent<
2593
+ Rv,
2703
2594
  'AssetManager',
2704
2595
  'ForeignAssetTypeChanged',
2705
2596
  { assetId: bigint; newAssetType: MoonbeamRuntimeXcmConfigAssetType }
@@ -2709,6 +2600,7 @@ export interface ChainEvents extends GenericChainEvents {
2709
2600
  * Removed all information related to an assetId
2710
2601
  **/
2711
2602
  ForeignAssetRemoved: GenericPalletEvent<
2603
+ Rv,
2712
2604
  'AssetManager',
2713
2605
  'ForeignAssetRemoved',
2714
2606
  { assetId: bigint; assetType: MoonbeamRuntimeXcmConfigAssetType }
@@ -2718,24 +2610,17 @@ export interface ChainEvents extends GenericChainEvents {
2718
2610
  * Supported asset type for fee payment removed
2719
2611
  **/
2720
2612
  SupportedAssetRemoved: GenericPalletEvent<
2613
+ Rv,
2721
2614
  'AssetManager',
2722
2615
  'SupportedAssetRemoved',
2723
2616
  { assetType: MoonbeamRuntimeXcmConfigAssetType }
2724
2617
  >;
2725
2618
 
2726
- /**
2727
- * Local asset was created
2728
- **/
2729
- LocalAssetRegistered: GenericPalletEvent<
2730
- 'AssetManager',
2731
- 'LocalAssetRegistered',
2732
- { assetId: bigint; creator: AccountId20; owner: AccountId20 }
2733
- >;
2734
-
2735
2619
  /**
2736
2620
  * Removed all information related to an assetId and destroyed asset
2737
2621
  **/
2738
2622
  ForeignAssetDestroyed: GenericPalletEvent<
2623
+ Rv,
2739
2624
  'AssetManager',
2740
2625
  'ForeignAssetDestroyed',
2741
2626
  { assetId: bigint; assetType: MoonbeamRuntimeXcmConfigAssetType }
@@ -2744,35 +2629,31 @@ export interface ChainEvents extends GenericChainEvents {
2744
2629
  /**
2745
2630
  * Removed all information related to an assetId and destroyed asset
2746
2631
  **/
2747
- LocalAssetDestroyed: GenericPalletEvent<'AssetManager', 'LocalAssetDestroyed', { assetId: bigint }>;
2632
+ LocalAssetDestroyed: GenericPalletEvent<Rv, 'AssetManager', 'LocalAssetDestroyed', { assetId: bigint }>;
2748
2633
 
2749
2634
  /**
2750
2635
  * Generic pallet event
2751
2636
  **/
2752
- [prop: string]: GenericPalletEvent;
2637
+ [prop: string]: GenericPalletEvent<Rv>;
2753
2638
  };
2754
2639
  /**
2755
2640
  * Pallet `XTokens`'s events
2756
2641
  **/
2757
2642
  xTokens: {
2758
2643
  /**
2759
- * Transferred `MultiAsset` with fee.
2644
+ * Transferred `Asset` with fee.
2760
2645
  **/
2761
- TransferredMultiAssets: GenericPalletEvent<
2646
+ TransferredAssets: GenericPalletEvent<
2647
+ Rv,
2762
2648
  'XTokens',
2763
- 'TransferredMultiAssets',
2764
- {
2765
- sender: AccountId20;
2766
- assets: XcmV3MultiassetMultiAssets;
2767
- fee: XcmV3MultiassetMultiAsset;
2768
- dest: StagingXcmV3MultilocationMultiLocation;
2769
- }
2649
+ 'TransferredAssets',
2650
+ { sender: AccountId20; assets: StagingXcmV4AssetAssets; fee: StagingXcmV4Asset; dest: StagingXcmV4Location }
2770
2651
  >;
2771
2652
 
2772
2653
  /**
2773
2654
  * Generic pallet event
2774
2655
  **/
2775
- [prop: string]: GenericPalletEvent;
2656
+ [prop: string]: GenericPalletEvent<Rv>;
2776
2657
  };
2777
2658
  /**
2778
2659
  * Pallet `XcmTransactor`'s events
@@ -2782,87 +2663,93 @@ export interface ChainEvents extends GenericChainEvents {
2782
2663
  * Transacted the inner call through a derivative account in a destination chain.
2783
2664
  **/
2784
2665
  TransactedDerivative: GenericPalletEvent<
2666
+ Rv,
2785
2667
  'XcmTransactor',
2786
2668
  'TransactedDerivative',
2787
- { accountId: AccountId20; dest: StagingXcmV3MultilocationMultiLocation; call: Bytes; index: number }
2669
+ { accountId: AccountId20; dest: StagingXcmV4Location; call: Bytes; index: number }
2788
2670
  >;
2789
2671
 
2790
2672
  /**
2791
2673
  * Transacted the call through the sovereign account in a destination chain.
2792
2674
  **/
2793
2675
  TransactedSovereign: GenericPalletEvent<
2676
+ Rv,
2794
2677
  'XcmTransactor',
2795
2678
  'TransactedSovereign',
2796
- { feePayer: AccountId20; dest: StagingXcmV3MultilocationMultiLocation; call: Bytes }
2679
+ { feePayer?: AccountId20 | undefined; dest: StagingXcmV4Location; call: Bytes }
2797
2680
  >;
2798
2681
 
2799
2682
  /**
2800
2683
  * Transacted the call through a signed account in a destination chain.
2801
2684
  **/
2802
2685
  TransactedSigned: GenericPalletEvent<
2686
+ Rv,
2803
2687
  'XcmTransactor',
2804
2688
  'TransactedSigned',
2805
- { feePayer: AccountId20; dest: StagingXcmV3MultilocationMultiLocation; call: Bytes }
2689
+ { feePayer: AccountId20; dest: StagingXcmV4Location; call: Bytes }
2806
2690
  >;
2807
2691
 
2808
2692
  /**
2809
2693
  * Registered a derivative index for an account id.
2810
2694
  **/
2811
2695
  RegisteredDerivative: GenericPalletEvent<
2696
+ Rv,
2812
2697
  'XcmTransactor',
2813
2698
  'RegisteredDerivative',
2814
2699
  { accountId: AccountId20; index: number }
2815
2700
  >;
2816
- DeRegisteredDerivative: GenericPalletEvent<'XcmTransactor', 'DeRegisteredDerivative', { index: number }>;
2701
+ DeRegisteredDerivative: GenericPalletEvent<Rv, 'XcmTransactor', 'DeRegisteredDerivative', { index: number }>;
2817
2702
 
2818
2703
  /**
2819
2704
  * Transact failed
2820
2705
  **/
2821
- TransactFailed: GenericPalletEvent<'XcmTransactor', 'TransactFailed', { error: XcmV3TraitsError }>;
2706
+ TransactFailed: GenericPalletEvent<Rv, 'XcmTransactor', 'TransactFailed', { error: XcmV3TraitsError }>;
2822
2707
 
2823
2708
  /**
2824
2709
  * Changed the transact info of a location
2825
2710
  **/
2826
2711
  TransactInfoChanged: GenericPalletEvent<
2712
+ Rv,
2827
2713
  'XcmTransactor',
2828
2714
  'TransactInfoChanged',
2829
- {
2830
- location: StagingXcmV3MultilocationMultiLocation;
2831
- remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight;
2832
- }
2715
+ { location: StagingXcmV4Location; remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight }
2833
2716
  >;
2834
2717
 
2835
2718
  /**
2836
2719
  * Removed the transact info of a location
2837
2720
  **/
2838
2721
  TransactInfoRemoved: GenericPalletEvent<
2722
+ Rv,
2839
2723
  'XcmTransactor',
2840
2724
  'TransactInfoRemoved',
2841
- { location: StagingXcmV3MultilocationMultiLocation }
2725
+ { location: StagingXcmV4Location }
2842
2726
  >;
2843
2727
 
2844
2728
  /**
2845
2729
  * Set dest fee per second
2846
2730
  **/
2847
2731
  DestFeePerSecondChanged: GenericPalletEvent<
2732
+ Rv,
2848
2733
  'XcmTransactor',
2849
2734
  'DestFeePerSecondChanged',
2850
- { location: StagingXcmV3MultilocationMultiLocation; feePerSecond: bigint }
2735
+ { location: StagingXcmV4Location; feePerSecond: bigint }
2851
2736
  >;
2852
2737
 
2853
2738
  /**
2854
2739
  * Remove dest fee per second
2855
2740
  **/
2856
2741
  DestFeePerSecondRemoved: GenericPalletEvent<
2742
+ Rv,
2857
2743
  'XcmTransactor',
2858
2744
  'DestFeePerSecondRemoved',
2859
- { location: StagingXcmV3MultilocationMultiLocation }
2745
+ { location: StagingXcmV4Location }
2860
2746
  >;
2861
2747
 
2862
2748
  /**
2863
2749
  * HRMP manage action succesfully sent
2864
2750
  **/
2865
2751
  HrmpManagementSent: GenericPalletEvent<
2752
+ Rv,
2866
2753
  'XcmTransactor',
2867
2754
  'HrmpManagementSent',
2868
2755
  { action: PalletXcmTransactorHrmpOperation }
@@ -2871,187 +2758,136 @@ export interface ChainEvents extends GenericChainEvents {
2871
2758
  /**
2872
2759
  * Generic pallet event
2873
2760
  **/
2874
- [prop: string]: GenericPalletEvent;
2761
+ [prop: string]: GenericPalletEvent<Rv>;
2875
2762
  };
2876
2763
  /**
2877
- * Pallet `LocalAssets`'s events
2764
+ * Pallet `MessageQueue`'s events
2878
2765
  **/
2879
- localAssets: {
2880
- /**
2881
- * Some asset class was created.
2882
- **/
2883
- Created: GenericPalletEvent<
2884
- 'LocalAssets',
2885
- 'Created',
2886
- { assetId: bigint; creator: AccountId20; owner: AccountId20 }
2887
- >;
2888
-
2889
- /**
2890
- * Some assets were issued.
2891
- **/
2892
- Issued: GenericPalletEvent<'LocalAssets', 'Issued', { assetId: bigint; owner: AccountId20; amount: bigint }>;
2893
-
2894
- /**
2895
- * Some assets were transferred.
2896
- **/
2897
- Transferred: GenericPalletEvent<
2898
- 'LocalAssets',
2899
- 'Transferred',
2900
- { assetId: bigint; from: AccountId20; to: AccountId20; amount: bigint }
2901
- >;
2902
-
2903
- /**
2904
- * Some assets were destroyed.
2905
- **/
2906
- Burned: GenericPalletEvent<'LocalAssets', 'Burned', { assetId: bigint; owner: AccountId20; balance: bigint }>;
2907
-
2908
- /**
2909
- * The management team changed.
2910
- **/
2911
- TeamChanged: GenericPalletEvent<
2912
- 'LocalAssets',
2913
- 'TeamChanged',
2914
- { assetId: bigint; issuer: AccountId20; admin: AccountId20; freezer: AccountId20 }
2915
- >;
2916
-
2917
- /**
2918
- * The owner changed.
2919
- **/
2920
- OwnerChanged: GenericPalletEvent<'LocalAssets', 'OwnerChanged', { assetId: bigint; owner: AccountId20 }>;
2921
-
2922
- /**
2923
- * Some account `who` was frozen.
2924
- **/
2925
- Frozen: GenericPalletEvent<'LocalAssets', 'Frozen', { assetId: bigint; who: AccountId20 }>;
2926
-
2927
- /**
2928
- * Some account `who` was thawed.
2929
- **/
2930
- Thawed: GenericPalletEvent<'LocalAssets', 'Thawed', { assetId: bigint; who: AccountId20 }>;
2931
-
2932
- /**
2933
- * Some asset `asset_id` was frozen.
2934
- **/
2935
- AssetFrozen: GenericPalletEvent<'LocalAssets', 'AssetFrozen', { assetId: bigint }>;
2936
-
2766
+ messageQueue: {
2937
2767
  /**
2938
- * Some asset `asset_id` was thawed.
2768
+ * Message discarded due to an error in the `MessageProcessor` (usually a format error).
2939
2769
  **/
2940
- AssetThawed: GenericPalletEvent<'LocalAssets', 'AssetThawed', { assetId: bigint }>;
2770
+ ProcessingFailed: GenericPalletEvent<
2771
+ Rv,
2772
+ 'MessageQueue',
2773
+ 'ProcessingFailed',
2774
+ {
2775
+ /**
2776
+ * The `blake2_256` hash of the message.
2777
+ **/
2778
+ id: H256;
2941
2779
 
2942
- /**
2943
- * Accounts were destroyed for given asset.
2944
- **/
2945
- AccountsDestroyed: GenericPalletEvent<
2946
- 'LocalAssets',
2947
- 'AccountsDestroyed',
2948
- { assetId: bigint; accountsDestroyed: number; accountsRemaining: number }
2949
- >;
2780
+ /**
2781
+ * The queue of the message.
2782
+ **/
2783
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
2950
2784
 
2951
- /**
2952
- * Approvals were destroyed for given asset.
2953
- **/
2954
- ApprovalsDestroyed: GenericPalletEvent<
2955
- 'LocalAssets',
2956
- 'ApprovalsDestroyed',
2957
- { assetId: bigint; approvalsDestroyed: number; approvalsRemaining: number }
2785
+ /**
2786
+ * The error that occurred.
2787
+ *
2788
+ * This error is pretty opaque. More fine-grained errors need to be emitted as events
2789
+ * by the `MessageProcessor`.
2790
+ **/
2791
+ error: FrameSupportMessagesProcessMessageError;
2792
+ }
2958
2793
  >;
2959
2794
 
2960
2795
  /**
2961
- * An asset class is in the process of being destroyed.
2796
+ * Message is processed.
2962
2797
  **/
2963
- DestructionStarted: GenericPalletEvent<'LocalAssets', 'DestructionStarted', { assetId: bigint }>;
2798
+ Processed: GenericPalletEvent<
2799
+ Rv,
2800
+ 'MessageQueue',
2801
+ 'Processed',
2802
+ {
2803
+ /**
2804
+ * The `blake2_256` hash of the message.
2805
+ **/
2806
+ id: H256;
2964
2807
 
2965
- /**
2966
- * An asset class was destroyed.
2967
- **/
2968
- Destroyed: GenericPalletEvent<'LocalAssets', 'Destroyed', { assetId: bigint }>;
2808
+ /**
2809
+ * The queue of the message.
2810
+ **/
2811
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
2969
2812
 
2970
- /**
2971
- * Some asset class was force-created.
2972
- **/
2973
- ForceCreated: GenericPalletEvent<'LocalAssets', 'ForceCreated', { assetId: bigint; owner: AccountId20 }>;
2813
+ /**
2814
+ * How much weight was used to process the message.
2815
+ **/
2816
+ weightUsed: SpWeightsWeightV2Weight;
2974
2817
 
2975
- /**
2976
- * New metadata has been set for an asset.
2977
- **/
2978
- MetadataSet: GenericPalletEvent<
2979
- 'LocalAssets',
2980
- 'MetadataSet',
2981
- { assetId: bigint; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
2818
+ /**
2819
+ * Whether the message was processed.
2820
+ *
2821
+ * Note that this does not mean that the underlying `MessageProcessor` was internally
2822
+ * successful. It *solely* means that the MQ pallet will treat this as a success
2823
+ * condition and discard the message. Any internal error needs to be emitted as events
2824
+ * by the `MessageProcessor`.
2825
+ **/
2826
+ success: boolean;
2827
+ }
2982
2828
  >;
2983
2829
 
2984
2830
  /**
2985
- * Metadata has been cleared for an asset.
2831
+ * Message placed in overweight queue.
2986
2832
  **/
2987
- MetadataCleared: GenericPalletEvent<'LocalAssets', 'MetadataCleared', { assetId: bigint }>;
2833
+ OverweightEnqueued: GenericPalletEvent<
2834
+ Rv,
2835
+ 'MessageQueue',
2836
+ 'OverweightEnqueued',
2837
+ {
2838
+ /**
2839
+ * The `blake2_256` hash of the message.
2840
+ **/
2841
+ id: FixedBytes<32>;
2988
2842
 
2989
- /**
2990
- * (Additional) funds have been approved for transfer to a destination account.
2991
- **/
2992
- ApprovedTransfer: GenericPalletEvent<
2993
- 'LocalAssets',
2994
- 'ApprovedTransfer',
2995
- { assetId: bigint; source: AccountId20; delegate: AccountId20; amount: bigint }
2996
- >;
2843
+ /**
2844
+ * The queue of the message.
2845
+ **/
2846
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
2997
2847
 
2998
- /**
2999
- * An approval for account `delegate` was cancelled by `owner`.
3000
- **/
3001
- ApprovalCancelled: GenericPalletEvent<
3002
- 'LocalAssets',
3003
- 'ApprovalCancelled',
3004
- { assetId: bigint; owner: AccountId20; delegate: AccountId20 }
3005
- >;
2848
+ /**
2849
+ * The page of the message.
2850
+ **/
2851
+ pageIndex: number;
3006
2852
 
3007
- /**
3008
- * An `amount` was transferred in its entirety from `owner` to `destination` by
3009
- * the approved `delegate`.
3010
- **/
3011
- TransferredApproved: GenericPalletEvent<
3012
- 'LocalAssets',
3013
- 'TransferredApproved',
3014
- { assetId: bigint; owner: AccountId20; delegate: AccountId20; destination: AccountId20; amount: bigint }
2853
+ /**
2854
+ * The index of the message within the page.
2855
+ **/
2856
+ messageIndex: number;
2857
+ }
3015
2858
  >;
3016
2859
 
3017
2860
  /**
3018
- * An asset has had its attributes changed by the `Force` origin.
3019
- **/
3020
- AssetStatusChanged: GenericPalletEvent<'LocalAssets', 'AssetStatusChanged', { assetId: bigint }>;
3021
-
3022
- /**
3023
- * The min_balance of an asset has been updated by the asset owner.
2861
+ * This page was reaped.
3024
2862
  **/
3025
- AssetMinBalanceChanged: GenericPalletEvent<
3026
- 'LocalAssets',
3027
- 'AssetMinBalanceChanged',
3028
- { assetId: bigint; newMinBalance: bigint }
3029
- >;
2863
+ PageReaped: GenericPalletEvent<
2864
+ Rv,
2865
+ 'MessageQueue',
2866
+ 'PageReaped',
2867
+ {
2868
+ /**
2869
+ * The queue of the page.
2870
+ **/
2871
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
3030
2872
 
3031
- /**
3032
- * Some account `who` was created with a deposit from `depositor`.
3033
- **/
3034
- Touched: GenericPalletEvent<
3035
- 'LocalAssets',
3036
- 'Touched',
3037
- { assetId: bigint; who: AccountId20; depositor: AccountId20 }
2873
+ /**
2874
+ * The index of the page.
2875
+ **/
2876
+ index: number;
2877
+ }
3038
2878
  >;
3039
2879
 
3040
- /**
3041
- * Some account `who` was blocked.
3042
- **/
3043
- Blocked: GenericPalletEvent<'LocalAssets', 'Blocked', { assetId: bigint; who: AccountId20 }>;
3044
-
3045
2880
  /**
3046
2881
  * Generic pallet event
3047
2882
  **/
3048
- [prop: string]: GenericPalletEvent;
2883
+ [prop: string]: GenericPalletEvent<Rv>;
3049
2884
  };
3050
2885
  /**
3051
2886
  * Pallet `Randomness`'s events
3052
2887
  **/
3053
2888
  randomness: {
3054
2889
  RandomnessRequestedBabeEpoch: GenericPalletEvent<
2890
+ Rv,
3055
2891
  'Randomness',
3056
2892
  'RandomnessRequestedBabeEpoch',
3057
2893
  {
@@ -3066,6 +2902,7 @@ export interface ChainEvents extends GenericChainEvents {
3066
2902
  }
3067
2903
  >;
3068
2904
  RandomnessRequestedLocal: GenericPalletEvent<
2905
+ Rv,
3069
2906
  'Randomness',
3070
2907
  'RandomnessRequestedLocal',
3071
2908
  {
@@ -3079,13 +2916,13 @@ export interface ChainEvents extends GenericChainEvents {
3079
2916
  earliestBlock: number;
3080
2917
  }
3081
2918
  >;
3082
- RequestFulfilled: GenericPalletEvent<'Randomness', 'RequestFulfilled', { id: bigint }>;
3083
- RequestFeeIncreased: GenericPalletEvent<'Randomness', 'RequestFeeIncreased', { id: bigint; newFee: bigint }>;
3084
- RequestExpirationExecuted: GenericPalletEvent<'Randomness', 'RequestExpirationExecuted', { id: bigint }>;
2919
+ RequestFulfilled: GenericPalletEvent<Rv, 'Randomness', 'RequestFulfilled', { id: bigint }>;
2920
+ RequestFeeIncreased: GenericPalletEvent<Rv, 'Randomness', 'RequestFeeIncreased', { id: bigint; newFee: bigint }>;
2921
+ RequestExpirationExecuted: GenericPalletEvent<Rv, 'Randomness', 'RequestExpirationExecuted', { id: bigint }>;
3085
2922
 
3086
2923
  /**
3087
2924
  * Generic pallet event
3088
2925
  **/
3089
- [prop: string]: GenericPalletEvent;
2926
+ [prop: string]: GenericPalletEvent<Rv>;
3090
2927
  };
3091
2928
  }