@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,7 +1,7 @@
1
- // Generated by @dedot/codegen
1
+ // Generated by dedot cli
2
2
 
3
- import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
4
- import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Bytes, Permill } from '@dedot/codecs';
3
+ import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
+ import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Bytes, Permill } from 'dedot/codecs';
5
5
  import type {
6
6
  SpWeightsWeightV2Weight,
7
7
  FrameSupportTokensMiscBalanceStatus,
@@ -21,9 +21,11 @@ import type {
21
21
  PalletNftsAttributeNamespace,
22
22
  PalletNftsPriceWithDirection,
23
23
  PalletNftsPalletAttributes,
24
+ PalletStateTrieMigrationMigrationCompute,
25
+ PalletStateTrieMigrationError,
24
26
  } from './types';
25
27
 
26
- export interface ChainEvents extends GenericChainEvents {
28
+ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
27
29
  /**
28
30
  * Pallet `System`'s events
29
31
  **/
@@ -31,12 +33,13 @@ export interface ChainEvents extends GenericChainEvents {
31
33
  /**
32
34
  * An extrinsic completed successfully.
33
35
  **/
34
- ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
36
+ ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
35
37
 
36
38
  /**
37
39
  * An extrinsic failed.
38
40
  **/
39
41
  ExtrinsicFailed: GenericPalletEvent<
42
+ Rv,
40
43
  'System',
41
44
  'ExtrinsicFailed',
42
45
  { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
@@ -45,32 +48,32 @@ export interface ChainEvents extends GenericChainEvents {
45
48
  /**
46
49
  * `:code` was updated.
47
50
  **/
48
- CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
51
+ CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
49
52
 
50
53
  /**
51
54
  * A new account was created.
52
55
  **/
53
- NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
56
+ NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId32 }>;
54
57
 
55
58
  /**
56
59
  * An account was reaped.
57
60
  **/
58
- KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
61
+ KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId32 }>;
59
62
 
60
63
  /**
61
64
  * On on-chain remark happened.
62
65
  **/
63
- Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
66
+ Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
64
67
 
65
68
  /**
66
69
  * An upgrade was authorized.
67
70
  **/
68
- UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
71
+ UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
69
72
 
70
73
  /**
71
74
  * Generic pallet event
72
75
  **/
73
- [prop: string]: GenericPalletEvent;
76
+ [prop: string]: GenericPalletEvent<Rv>;
74
77
  };
75
78
  /**
76
79
  * Pallet `ParachainSystem`'s events
@@ -79,12 +82,13 @@ export interface ChainEvents extends GenericChainEvents {
79
82
  /**
80
83
  * The validation function has been scheduled to apply.
81
84
  **/
82
- ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
85
+ ValidationFunctionStored: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionStored', null>;
83
86
 
84
87
  /**
85
88
  * The validation function was applied as of the contained relay chain block number.
86
89
  **/
87
90
  ValidationFunctionApplied: GenericPalletEvent<
91
+ Rv,
88
92
  'ParachainSystem',
89
93
  'ValidationFunctionApplied',
90
94
  { relayChainBlockNum: number }
@@ -93,17 +97,18 @@ export interface ChainEvents extends GenericChainEvents {
93
97
  /**
94
98
  * The relay-chain aborted the upgrade process.
95
99
  **/
96
- ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
100
+ ValidationFunctionDiscarded: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionDiscarded', null>;
97
101
 
98
102
  /**
99
103
  * Some downward messages have been received and will be processed.
100
104
  **/
101
- DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
105
+ DownwardMessagesReceived: GenericPalletEvent<Rv, 'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
102
106
 
103
107
  /**
104
108
  * Downward messages were processed using the given weight.
105
109
  **/
106
110
  DownwardMessagesProcessed: GenericPalletEvent<
111
+ Rv,
107
112
  'ParachainSystem',
108
113
  'DownwardMessagesProcessed',
109
114
  { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
@@ -113,6 +118,7 @@ export interface ChainEvents extends GenericChainEvents {
113
118
  * An upward message was sent to the relay chain.
114
119
  **/
115
120
  UpwardMessageSent: GenericPalletEvent<
121
+ Rv,
116
122
  'ParachainSystem',
117
123
  'UpwardMessageSent',
118
124
  { messageHash?: FixedBytes<32> | undefined }
@@ -121,7 +127,7 @@ export interface ChainEvents extends GenericChainEvents {
121
127
  /**
122
128
  * Generic pallet event
123
129
  **/
124
- [prop: string]: GenericPalletEvent;
130
+ [prop: string]: GenericPalletEvent<Rv>;
125
131
  };
126
132
  /**
127
133
  * Pallet `Balances`'s events
@@ -130,39 +136,40 @@ export interface ChainEvents extends GenericChainEvents {
130
136
  /**
131
137
  * An account was created with some free balance.
132
138
  **/
133
- Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
139
+ Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
134
140
 
135
141
  /**
136
142
  * An account was removed whose balance was non-zero but below ExistentialDeposit,
137
143
  * resulting in an outright loss.
138
144
  **/
139
- DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
145
+ DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
140
146
 
141
147
  /**
142
148
  * Transfer succeeded.
143
149
  **/
144
- Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
150
+ Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
145
151
 
146
152
  /**
147
153
  * A balance was set by root.
148
154
  **/
149
- BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
155
+ BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
150
156
 
151
157
  /**
152
158
  * Some balance was reserved (moved from free to reserved).
153
159
  **/
154
- Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
160
+ Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
155
161
 
156
162
  /**
157
163
  * Some balance was unreserved (moved from reserved to free).
158
164
  **/
159
- Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
165
+ Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
160
166
 
161
167
  /**
162
168
  * Some balance was moved from the reserve of the first account to the second account.
163
169
  * Final argument indicates the destination balance type.
164
170
  **/
165
171
  ReserveRepatriated: GenericPalletEvent<
172
+ Rv,
166
173
  'Balances',
167
174
  'ReserveRepatriated',
168
175
  { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
@@ -171,82 +178,82 @@ export interface ChainEvents extends GenericChainEvents {
171
178
  /**
172
179
  * Some amount was deposited (e.g. for transaction fees).
173
180
  **/
174
- Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
181
+ Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
175
182
 
176
183
  /**
177
184
  * Some amount was withdrawn from the account (e.g. for transaction fees).
178
185
  **/
179
- Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
186
+ Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
180
187
 
181
188
  /**
182
189
  * Some amount was removed from the account (e.g. for misbehavior).
183
190
  **/
184
- Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
191
+ Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
185
192
 
186
193
  /**
187
194
  * Some amount was minted into an account.
188
195
  **/
189
- Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
196
+ Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
190
197
 
191
198
  /**
192
199
  * Some amount was burned from an account.
193
200
  **/
194
- Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
201
+ Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
195
202
 
196
203
  /**
197
204
  * Some amount was suspended from an account (it can be restored later).
198
205
  **/
199
- Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
206
+ Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
200
207
 
201
208
  /**
202
209
  * Some amount was restored into an account.
203
210
  **/
204
- Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
211
+ Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
205
212
 
206
213
  /**
207
214
  * An account was upgraded.
208
215
  **/
209
- Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
216
+ Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId32 }>;
210
217
 
211
218
  /**
212
219
  * Total issuance was increased by `amount`, creating a credit to be balanced.
213
220
  **/
214
- Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
221
+ Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
215
222
 
216
223
  /**
217
224
  * Total issuance was decreased by `amount`, creating a debt to be balanced.
218
225
  **/
219
- Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
226
+ Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
220
227
 
221
228
  /**
222
229
  * Some balance was locked.
223
230
  **/
224
- Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
231
+ Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
225
232
 
226
233
  /**
227
234
  * Some balance was unlocked.
228
235
  **/
229
- Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
236
+ Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
230
237
 
231
238
  /**
232
239
  * Some balance was frozen.
233
240
  **/
234
- Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
241
+ Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
235
242
 
236
243
  /**
237
244
  * Some balance was thawed.
238
245
  **/
239
- Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
246
+ Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
240
247
 
241
248
  /**
242
249
  * The `TotalIssuance` was forcefully changed.
243
250
  **/
244
- TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
251
+ TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
245
252
 
246
253
  /**
247
254
  * Generic pallet event
248
255
  **/
249
- [prop: string]: GenericPalletEvent;
256
+ [prop: string]: GenericPalletEvent<Rv>;
250
257
  };
251
258
  /**
252
259
  * Pallet `TransactionPayment`'s events
@@ -257,6 +264,7 @@ export interface ChainEvents extends GenericChainEvents {
257
264
  * has been paid by `who`.
258
265
  **/
259
266
  TransactionFeePaid: GenericPalletEvent<
267
+ Rv,
260
268
  'TransactionPayment',
261
269
  'TransactionFeePaid',
262
270
  { who: AccountId32; actualFee: bigint; tip: bigint }
@@ -265,7 +273,7 @@ export interface ChainEvents extends GenericChainEvents {
265
273
  /**
266
274
  * Generic pallet event
267
275
  **/
268
- [prop: string]: GenericPalletEvent;
276
+ [prop: string]: GenericPalletEvent<Rv>;
269
277
  };
270
278
  /**
271
279
  * Pallet `AssetTxPayment`'s events
@@ -276,6 +284,7 @@ export interface ChainEvents extends GenericChainEvents {
276
284
  * has been paid by `who` in an asset `asset_id`.
277
285
  **/
278
286
  AssetTxFeePaid: GenericPalletEvent<
287
+ Rv,
279
288
  'AssetTxPayment',
280
289
  'AssetTxFeePaid',
281
290
  { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV3MultilocationMultiLocation }
@@ -284,12 +293,12 @@ export interface ChainEvents extends GenericChainEvents {
284
293
  /**
285
294
  * A swap of the refund in native currency back to asset failed.
286
295
  **/
287
- AssetRefundFailed: GenericPalletEvent<'AssetTxPayment', 'AssetRefundFailed', { nativeAmountKept: bigint }>;
296
+ AssetRefundFailed: GenericPalletEvent<Rv, 'AssetTxPayment', 'AssetRefundFailed', { nativeAmountKept: bigint }>;
288
297
 
289
298
  /**
290
299
  * Generic pallet event
291
300
  **/
292
- [prop: string]: GenericPalletEvent;
301
+ [prop: string]: GenericPalletEvent<Rv>;
293
302
  };
294
303
  /**
295
304
  * Pallet `CollatorSelection`'s events
@@ -299,6 +308,7 @@ export interface ChainEvents extends GenericChainEvents {
299
308
  * New Invulnerables were set.
300
309
  **/
301
310
  NewInvulnerables: GenericPalletEvent<
311
+ Rv,
302
312
  'CollatorSelection',
303
313
  'NewInvulnerables',
304
314
  { invulnerables: Array<AccountId32> }
@@ -307,17 +317,18 @@ export interface ChainEvents extends GenericChainEvents {
307
317
  /**
308
318
  * A new Invulnerable was added.
309
319
  **/
310
- InvulnerableAdded: GenericPalletEvent<'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
320
+ InvulnerableAdded: GenericPalletEvent<Rv, 'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
311
321
 
312
322
  /**
313
323
  * An Invulnerable was removed.
314
324
  **/
315
- InvulnerableRemoved: GenericPalletEvent<'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
325
+ InvulnerableRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
316
326
 
317
327
  /**
318
328
  * The number of desired candidates was set.
319
329
  **/
320
330
  NewDesiredCandidates: GenericPalletEvent<
331
+ Rv,
321
332
  'CollatorSelection',
322
333
  'NewDesiredCandidates',
323
334
  { desiredCandidates: number }
@@ -326,12 +337,13 @@ export interface ChainEvents extends GenericChainEvents {
326
337
  /**
327
338
  * The candidacy bond was set.
328
339
  **/
329
- NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
340
+ NewCandidacyBond: GenericPalletEvent<Rv, 'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
330
341
 
331
342
  /**
332
343
  * A new candidate joined.
333
344
  **/
334
345
  CandidateAdded: GenericPalletEvent<
346
+ Rv,
335
347
  'CollatorSelection',
336
348
  'CandidateAdded',
337
349
  { accountId: AccountId32; deposit: bigint }
@@ -341,6 +353,7 @@ export interface ChainEvents extends GenericChainEvents {
341
353
  * Bond of a candidate updated.
342
354
  **/
343
355
  CandidateBondUpdated: GenericPalletEvent<
356
+ Rv,
344
357
  'CollatorSelection',
345
358
  'CandidateBondUpdated',
346
359
  { accountId: AccountId32; deposit: bigint }
@@ -349,12 +362,13 @@ export interface ChainEvents extends GenericChainEvents {
349
362
  /**
350
363
  * A candidate was removed.
351
364
  **/
352
- CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
365
+ CandidateRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
353
366
 
354
367
  /**
355
368
  * An account was replaced in the candidate list by another one.
356
369
  **/
357
370
  CandidateReplaced: GenericPalletEvent<
371
+ Rv,
358
372
  'CollatorSelection',
359
373
  'CandidateReplaced',
360
374
  { old: AccountId32; new: AccountId32; deposit: bigint }
@@ -365,6 +379,7 @@ export interface ChainEvents extends GenericChainEvents {
365
379
  * registered. Other Invulnerables may have been set.
366
380
  **/
367
381
  InvalidInvulnerableSkipped: GenericPalletEvent<
382
+ Rv,
368
383
  'CollatorSelection',
369
384
  'InvalidInvulnerableSkipped',
370
385
  { accountId: AccountId32 }
@@ -373,7 +388,7 @@ export interface ChainEvents extends GenericChainEvents {
373
388
  /**
374
389
  * Generic pallet event
375
390
  **/
376
- [prop: string]: GenericPalletEvent;
391
+ [prop: string]: GenericPalletEvent<Rv>;
377
392
  };
378
393
  /**
379
394
  * Pallet `Session`'s events
@@ -383,12 +398,12 @@ export interface ChainEvents extends GenericChainEvents {
383
398
  * New session has happened. Note that the argument is the session index, not the
384
399
  * block number as the type might suggest.
385
400
  **/
386
- NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
401
+ NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
387
402
 
388
403
  /**
389
404
  * Generic pallet event
390
405
  **/
391
- [prop: string]: GenericPalletEvent;
406
+ [prop: string]: GenericPalletEvent<Rv>;
392
407
  };
393
408
  /**
394
409
  * Pallet `XcmpQueue`'s events
@@ -397,12 +412,12 @@ export interface ChainEvents extends GenericChainEvents {
397
412
  /**
398
413
  * An HRMP message was sent to a sibling parachain.
399
414
  **/
400
- XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
415
+ XcmpMessageSent: GenericPalletEvent<Rv, 'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
401
416
 
402
417
  /**
403
418
  * Generic pallet event
404
419
  **/
405
- [prop: string]: GenericPalletEvent;
420
+ [prop: string]: GenericPalletEvent<Rv>;
406
421
  };
407
422
  /**
408
423
  * Pallet `PolkadotXcm`'s events
@@ -411,12 +426,13 @@ export interface ChainEvents extends GenericChainEvents {
411
426
  /**
412
427
  * Execution of an XCM message was attempted.
413
428
  **/
414
- Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
429
+ Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
415
430
 
416
431
  /**
417
432
  * A XCM message was sent.
418
433
  **/
419
434
  Sent: GenericPalletEvent<
435
+ Rv,
420
436
  'PolkadotXcm',
421
437
  'Sent',
422
438
  {
@@ -433,6 +449,7 @@ export interface ChainEvents extends GenericChainEvents {
433
449
  * because the query timed out.
434
450
  **/
435
451
  UnexpectedResponse: GenericPalletEvent<
452
+ Rv,
436
453
  'PolkadotXcm',
437
454
  'UnexpectedResponse',
438
455
  { origin: StagingXcmV4Location; queryId: bigint }
@@ -443,6 +460,7 @@ export interface ChainEvents extends GenericChainEvents {
443
460
  * no registered notification call.
444
461
  **/
445
462
  ResponseReady: GenericPalletEvent<
463
+ Rv,
446
464
  'PolkadotXcm',
447
465
  'ResponseReady',
448
466
  { queryId: bigint; response: StagingXcmV4Response }
@@ -453,6 +471,7 @@ export interface ChainEvents extends GenericChainEvents {
453
471
  * been dispatched and executed successfully.
454
472
  **/
455
473
  Notified: GenericPalletEvent<
474
+ Rv,
456
475
  'PolkadotXcm',
457
476
  'Notified',
458
477
  { queryId: bigint; palletIndex: number; callIndex: number }
@@ -464,6 +483,7 @@ export interface ChainEvents extends GenericChainEvents {
464
483
  * originally budgeted by this runtime for the query result.
465
484
  **/
466
485
  NotifyOverweight: GenericPalletEvent<
486
+ Rv,
467
487
  'PolkadotXcm',
468
488
  'NotifyOverweight',
469
489
  {
@@ -480,6 +500,7 @@ export interface ChainEvents extends GenericChainEvents {
480
500
  * dispatching the notification call.
481
501
  **/
482
502
  NotifyDispatchError: GenericPalletEvent<
503
+ Rv,
483
504
  'PolkadotXcm',
484
505
  'NotifyDispatchError',
485
506
  { queryId: bigint; palletIndex: number; callIndex: number }
@@ -491,6 +512,7 @@ export interface ChainEvents extends GenericChainEvents {
491
512
  * is not `(origin, QueryId, Response)`.
492
513
  **/
493
514
  NotifyDecodeFailed: GenericPalletEvent<
515
+ Rv,
494
516
  'PolkadotXcm',
495
517
  'NotifyDecodeFailed',
496
518
  { queryId: bigint; palletIndex: number; callIndex: number }
@@ -502,6 +524,7 @@ export interface ChainEvents extends GenericChainEvents {
502
524
  * be received and acted upon.
503
525
  **/
504
526
  InvalidResponder: GenericPalletEvent<
527
+ Rv,
505
528
  'PolkadotXcm',
506
529
  'InvalidResponder',
507
530
  { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
@@ -517,6 +540,7 @@ export interface ChainEvents extends GenericChainEvents {
517
540
  * needed.
518
541
  **/
519
542
  InvalidResponderVersion: GenericPalletEvent<
543
+ Rv,
520
544
  'PolkadotXcm',
521
545
  'InvalidResponderVersion',
522
546
  { origin: StagingXcmV4Location; queryId: bigint }
@@ -525,12 +549,13 @@ export interface ChainEvents extends GenericChainEvents {
525
549
  /**
526
550
  * Received query response has been read and removed.
527
551
  **/
528
- ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
552
+ ResponseTaken: GenericPalletEvent<Rv, 'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
529
553
 
530
554
  /**
531
555
  * Some assets have been placed in an asset trap.
532
556
  **/
533
557
  AssetsTrapped: GenericPalletEvent<
558
+ Rv,
534
559
  'PolkadotXcm',
535
560
  'AssetsTrapped',
536
561
  { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
@@ -542,6 +567,7 @@ export interface ChainEvents extends GenericChainEvents {
542
567
  * The cost of sending it (borne by the chain) is included.
543
568
  **/
544
569
  VersionChangeNotified: GenericPalletEvent<
570
+ Rv,
545
571
  'PolkadotXcm',
546
572
  'VersionChangeNotified',
547
573
  { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
@@ -552,6 +578,7 @@ export interface ChainEvents extends GenericChainEvents {
552
578
  * automatic notification or a manual intervention.
553
579
  **/
554
580
  SupportedVersionChanged: GenericPalletEvent<
581
+ Rv,
555
582
  'PolkadotXcm',
556
583
  'SupportedVersionChanged',
557
584
  { location: StagingXcmV4Location; version: number }
@@ -562,6 +589,7 @@ export interface ChainEvents extends GenericChainEvents {
562
589
  * sending the notification to it.
563
590
  **/
564
591
  NotifyTargetSendFail: GenericPalletEvent<
592
+ Rv,
565
593
  'PolkadotXcm',
566
594
  'NotifyTargetSendFail',
567
595
  { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
@@ -572,6 +600,7 @@ export interface ChainEvents extends GenericChainEvents {
572
600
  * migrating the location to our new XCM format.
573
601
  **/
574
602
  NotifyTargetMigrationFail: GenericPalletEvent<
603
+ Rv,
575
604
  'PolkadotXcm',
576
605
  'NotifyTargetMigrationFail',
577
606
  { location: XcmVersionedLocation; queryId: bigint }
@@ -587,6 +616,7 @@ export interface ChainEvents extends GenericChainEvents {
587
616
  * needed.
588
617
  **/
589
618
  InvalidQuerierVersion: GenericPalletEvent<
619
+ Rv,
590
620
  'PolkadotXcm',
591
621
  'InvalidQuerierVersion',
592
622
  { origin: StagingXcmV4Location; queryId: bigint }
@@ -598,6 +628,7 @@ export interface ChainEvents extends GenericChainEvents {
598
628
  * be received and acted upon.
599
629
  **/
600
630
  InvalidQuerier: GenericPalletEvent<
631
+ Rv,
601
632
  'PolkadotXcm',
602
633
  'InvalidQuerier',
603
634
  {
@@ -613,6 +644,7 @@ export interface ChainEvents extends GenericChainEvents {
613
644
  * A version information message is sent to them and its cost is included.
614
645
  **/
615
646
  VersionNotifyStarted: GenericPalletEvent<
647
+ Rv,
616
648
  'PolkadotXcm',
617
649
  'VersionNotifyStarted',
618
650
  { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
@@ -622,6 +654,7 @@ export interface ChainEvents extends GenericChainEvents {
622
654
  * We have requested that a remote chain send us XCM version change notifications.
623
655
  **/
624
656
  VersionNotifyRequested: GenericPalletEvent<
657
+ Rv,
625
658
  'PolkadotXcm',
626
659
  'VersionNotifyRequested',
627
660
  { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
@@ -632,6 +665,7 @@ export interface ChainEvents extends GenericChainEvents {
632
665
  * notifications.
633
666
  **/
634
667
  VersionNotifyUnrequested: GenericPalletEvent<
668
+ Rv,
635
669
  'PolkadotXcm',
636
670
  'VersionNotifyUnrequested',
637
671
  { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
@@ -641,6 +675,7 @@ export interface ChainEvents extends GenericChainEvents {
641
675
  * Fees were paid from a location for an operation (often for using `SendXcm`).
642
676
  **/
643
677
  FeesPaid: GenericPalletEvent<
678
+ Rv,
644
679
  'PolkadotXcm',
645
680
  'FeesPaid',
646
681
  { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
@@ -650,6 +685,7 @@ export interface ChainEvents extends GenericChainEvents {
650
685
  * Some assets have been claimed from an asset trap
651
686
  **/
652
687
  AssetsClaimed: GenericPalletEvent<
688
+ Rv,
653
689
  'PolkadotXcm',
654
690
  'AssetsClaimed',
655
691
  { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
@@ -658,12 +694,12 @@ export interface ChainEvents extends GenericChainEvents {
658
694
  /**
659
695
  * A XCM version migration finished.
660
696
  **/
661
- VersionMigrationFinished: GenericPalletEvent<'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
697
+ VersionMigrationFinished: GenericPalletEvent<Rv, 'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
662
698
 
663
699
  /**
664
700
  * Generic pallet event
665
701
  **/
666
- [prop: string]: GenericPalletEvent;
702
+ [prop: string]: GenericPalletEvent<Rv>;
667
703
  };
668
704
  /**
669
705
  * Pallet `CumulusXcm`'s events
@@ -673,24 +709,29 @@ export interface ChainEvents extends GenericChainEvents {
673
709
  * Downward message is invalid XCM.
674
710
  * \[ id \]
675
711
  **/
676
- InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
712
+ InvalidFormat: GenericPalletEvent<Rv, 'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
677
713
 
678
714
  /**
679
715
  * Downward message is unsupported version of XCM.
680
716
  * \[ id \]
681
717
  **/
682
- UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
718
+ UnsupportedVersion: GenericPalletEvent<Rv, 'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
683
719
 
684
720
  /**
685
721
  * Downward message executed with the given outcome.
686
722
  * \[ id, outcome \]
687
723
  **/
688
- ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, StagingXcmV4TraitsOutcome]>;
724
+ ExecutedDownward: GenericPalletEvent<
725
+ Rv,
726
+ 'CumulusXcm',
727
+ 'ExecutedDownward',
728
+ [FixedBytes<32>, StagingXcmV4TraitsOutcome]
729
+ >;
689
730
 
690
731
  /**
691
732
  * Generic pallet event
692
733
  **/
693
- [prop: string]: GenericPalletEvent;
734
+ [prop: string]: GenericPalletEvent<Rv>;
694
735
  };
695
736
  /**
696
737
  * Pallet `MessageQueue`'s events
@@ -700,6 +741,7 @@ export interface ChainEvents extends GenericChainEvents {
700
741
  * Message discarded due to an error in the `MessageProcessor` (usually a format error).
701
742
  **/
702
743
  ProcessingFailed: GenericPalletEvent<
744
+ Rv,
703
745
  'MessageQueue',
704
746
  'ProcessingFailed',
705
747
  {
@@ -727,6 +769,7 @@ export interface ChainEvents extends GenericChainEvents {
727
769
  * Message is processed.
728
770
  **/
729
771
  Processed: GenericPalletEvent<
772
+ Rv,
730
773
  'MessageQueue',
731
774
  'Processed',
732
775
  {
@@ -761,6 +804,7 @@ export interface ChainEvents extends GenericChainEvents {
761
804
  * Message placed in overweight queue.
762
805
  **/
763
806
  OverweightEnqueued: GenericPalletEvent<
807
+ Rv,
764
808
  'MessageQueue',
765
809
  'OverweightEnqueued',
766
810
  {
@@ -790,6 +834,7 @@ export interface ChainEvents extends GenericChainEvents {
790
834
  * This page was reaped.
791
835
  **/
792
836
  PageReaped: GenericPalletEvent<
837
+ Rv,
793
838
  'MessageQueue',
794
839
  'PageReaped',
795
840
  {
@@ -808,7 +853,7 @@ export interface ChainEvents extends GenericChainEvents {
808
853
  /**
809
854
  * Generic pallet event
810
855
  **/
811
- [prop: string]: GenericPalletEvent;
856
+ [prop: string]: GenericPalletEvent<Rv>;
812
857
  };
813
858
  /**
814
859
  * Pallet `Utility`'s events
@@ -818,37 +863,37 @@ export interface ChainEvents extends GenericChainEvents {
818
863
  * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
819
864
  * well as the error.
820
865
  **/
821
- BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
866
+ BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
822
867
 
823
868
  /**
824
869
  * Batch of dispatches completed fully with no error.
825
870
  **/
826
- BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
871
+ BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
827
872
 
828
873
  /**
829
874
  * Batch of dispatches completed but has errors.
830
875
  **/
831
- BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
876
+ BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
832
877
 
833
878
  /**
834
879
  * A single item within a Batch of dispatches has completed with no error.
835
880
  **/
836
- ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
881
+ ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
837
882
 
838
883
  /**
839
884
  * A single item within a Batch of dispatches has completed with error.
840
885
  **/
841
- ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
886
+ ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
842
887
 
843
888
  /**
844
889
  * A call was dispatched.
845
890
  **/
846
- DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
891
+ DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
847
892
 
848
893
  /**
849
894
  * Generic pallet event
850
895
  **/
851
- [prop: string]: GenericPalletEvent;
896
+ [prop: string]: GenericPalletEvent<Rv>;
852
897
  };
853
898
  /**
854
899
  * Pallet `Multisig`'s events
@@ -858,6 +903,7 @@ export interface ChainEvents extends GenericChainEvents {
858
903
  * A new multisig operation has begun.
859
904
  **/
860
905
  NewMultisig: GenericPalletEvent<
906
+ Rv,
861
907
  'Multisig',
862
908
  'NewMultisig',
863
909
  { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
@@ -867,6 +913,7 @@ export interface ChainEvents extends GenericChainEvents {
867
913
  * A multisig operation has been approved by someone.
868
914
  **/
869
915
  MultisigApproval: GenericPalletEvent<
916
+ Rv,
870
917
  'Multisig',
871
918
  'MultisigApproval',
872
919
  { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
@@ -876,6 +923,7 @@ export interface ChainEvents extends GenericChainEvents {
876
923
  * A multisig operation has been executed.
877
924
  **/
878
925
  MultisigExecuted: GenericPalletEvent<
926
+ Rv,
879
927
  'Multisig',
880
928
  'MultisigExecuted',
881
929
  {
@@ -891,6 +939,7 @@ export interface ChainEvents extends GenericChainEvents {
891
939
  * A multisig operation has been cancelled.
892
940
  **/
893
941
  MultisigCancelled: GenericPalletEvent<
942
+ Rv,
894
943
  'Multisig',
895
944
  'MultisigCancelled',
896
945
  { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
@@ -899,7 +948,7 @@ export interface ChainEvents extends GenericChainEvents {
899
948
  /**
900
949
  * Generic pallet event
901
950
  **/
902
- [prop: string]: GenericPalletEvent;
951
+ [prop: string]: GenericPalletEvent<Rv>;
903
952
  };
904
953
  /**
905
954
  * Pallet `Proxy`'s events
@@ -908,13 +957,14 @@ export interface ChainEvents extends GenericChainEvents {
908
957
  /**
909
958
  * A proxy was executed correctly, with the given.
910
959
  **/
911
- ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
960
+ ProxyExecuted: GenericPalletEvent<Rv, 'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
912
961
 
913
962
  /**
914
963
  * A pure account has been created by new proxy with given
915
964
  * disambiguation index and proxy type.
916
965
  **/
917
966
  PureCreated: GenericPalletEvent<
967
+ Rv,
918
968
  'Proxy',
919
969
  'PureCreated',
920
970
  { pure: AccountId32; who: AccountId32; proxyType: AssetHubWestendRuntimeProxyType; disambiguationIndex: number }
@@ -923,12 +973,13 @@ export interface ChainEvents extends GenericChainEvents {
923
973
  /**
924
974
  * An announcement was placed to make a call in the future.
925
975
  **/
926
- Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
976
+ Announced: GenericPalletEvent<Rv, 'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
927
977
 
928
978
  /**
929
979
  * A proxy was added.
930
980
  **/
931
981
  ProxyAdded: GenericPalletEvent<
982
+ Rv,
932
983
  'Proxy',
933
984
  'ProxyAdded',
934
985
  { delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubWestendRuntimeProxyType; delay: number }
@@ -938,6 +989,7 @@ export interface ChainEvents extends GenericChainEvents {
938
989
  * A proxy was removed.
939
990
  **/
940
991
  ProxyRemoved: GenericPalletEvent<
992
+ Rv,
941
993
  'Proxy',
942
994
  'ProxyRemoved',
943
995
  { delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubWestendRuntimeProxyType; delay: number }
@@ -946,7 +998,7 @@ export interface ChainEvents extends GenericChainEvents {
946
998
  /**
947
999
  * Generic pallet event
948
1000
  **/
949
- [prop: string]: GenericPalletEvent;
1001
+ [prop: string]: GenericPalletEvent<Rv>;
950
1002
  };
951
1003
  /**
952
1004
  * Pallet `Assets`'s events
@@ -955,17 +1007,18 @@ export interface ChainEvents extends GenericChainEvents {
955
1007
  /**
956
1008
  * Some asset class was created.
957
1009
  **/
958
- Created: GenericPalletEvent<'Assets', 'Created', { assetId: number; creator: AccountId32; owner: AccountId32 }>;
1010
+ Created: GenericPalletEvent<Rv, 'Assets', 'Created', { assetId: number; creator: AccountId32; owner: AccountId32 }>;
959
1011
 
960
1012
  /**
961
1013
  * Some assets were issued.
962
1014
  **/
963
- Issued: GenericPalletEvent<'Assets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
1015
+ Issued: GenericPalletEvent<Rv, 'Assets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
964
1016
 
965
1017
  /**
966
1018
  * Some assets were transferred.
967
1019
  **/
968
1020
  Transferred: GenericPalletEvent<
1021
+ Rv,
969
1022
  'Assets',
970
1023
  'Transferred',
971
1024
  { assetId: number; from: AccountId32; to: AccountId32; amount: bigint }
@@ -974,12 +1027,13 @@ export interface ChainEvents extends GenericChainEvents {
974
1027
  /**
975
1028
  * Some assets were destroyed.
976
1029
  **/
977
- Burned: GenericPalletEvent<'Assets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
1030
+ Burned: GenericPalletEvent<Rv, 'Assets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
978
1031
 
979
1032
  /**
980
1033
  * The management team changed.
981
1034
  **/
982
1035
  TeamChanged: GenericPalletEvent<
1036
+ Rv,
983
1037
  'Assets',
984
1038
  'TeamChanged',
985
1039
  { assetId: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
@@ -988,32 +1042,33 @@ export interface ChainEvents extends GenericChainEvents {
988
1042
  /**
989
1043
  * The owner changed.
990
1044
  **/
991
- OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
1045
+ OwnerChanged: GenericPalletEvent<Rv, 'Assets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
992
1046
 
993
1047
  /**
994
1048
  * Some account `who` was frozen.
995
1049
  **/
996
- Frozen: GenericPalletEvent<'Assets', 'Frozen', { assetId: number; who: AccountId32 }>;
1050
+ Frozen: GenericPalletEvent<Rv, 'Assets', 'Frozen', { assetId: number; who: AccountId32 }>;
997
1051
 
998
1052
  /**
999
1053
  * Some account `who` was thawed.
1000
1054
  **/
1001
- Thawed: GenericPalletEvent<'Assets', 'Thawed', { assetId: number; who: AccountId32 }>;
1055
+ Thawed: GenericPalletEvent<Rv, 'Assets', 'Thawed', { assetId: number; who: AccountId32 }>;
1002
1056
 
1003
1057
  /**
1004
1058
  * Some asset `asset_id` was frozen.
1005
1059
  **/
1006
- AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', { assetId: number }>;
1060
+ AssetFrozen: GenericPalletEvent<Rv, 'Assets', 'AssetFrozen', { assetId: number }>;
1007
1061
 
1008
1062
  /**
1009
1063
  * Some asset `asset_id` was thawed.
1010
1064
  **/
1011
- AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', { assetId: number }>;
1065
+ AssetThawed: GenericPalletEvent<Rv, 'Assets', 'AssetThawed', { assetId: number }>;
1012
1066
 
1013
1067
  /**
1014
1068
  * Accounts were destroyed for given asset.
1015
1069
  **/
1016
1070
  AccountsDestroyed: GenericPalletEvent<
1071
+ Rv,
1017
1072
  'Assets',
1018
1073
  'AccountsDestroyed',
1019
1074
  { assetId: number; accountsDestroyed: number; accountsRemaining: number }
@@ -1023,6 +1078,7 @@ export interface ChainEvents extends GenericChainEvents {
1023
1078
  * Approvals were destroyed for given asset.
1024
1079
  **/
1025
1080
  ApprovalsDestroyed: GenericPalletEvent<
1081
+ Rv,
1026
1082
  'Assets',
1027
1083
  'ApprovalsDestroyed',
1028
1084
  { assetId: number; approvalsDestroyed: number; approvalsRemaining: number }
@@ -1031,22 +1087,23 @@ export interface ChainEvents extends GenericChainEvents {
1031
1087
  /**
1032
1088
  * An asset class is in the process of being destroyed.
1033
1089
  **/
1034
- DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', { assetId: number }>;
1090
+ DestructionStarted: GenericPalletEvent<Rv, 'Assets', 'DestructionStarted', { assetId: number }>;
1035
1091
 
1036
1092
  /**
1037
1093
  * An asset class was destroyed.
1038
1094
  **/
1039
- Destroyed: GenericPalletEvent<'Assets', 'Destroyed', { assetId: number }>;
1095
+ Destroyed: GenericPalletEvent<Rv, 'Assets', 'Destroyed', { assetId: number }>;
1040
1096
 
1041
1097
  /**
1042
1098
  * Some asset class was force-created.
1043
1099
  **/
1044
- ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
1100
+ ForceCreated: GenericPalletEvent<Rv, 'Assets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
1045
1101
 
1046
1102
  /**
1047
1103
  * New metadata has been set for an asset.
1048
1104
  **/
1049
1105
  MetadataSet: GenericPalletEvent<
1106
+ Rv,
1050
1107
  'Assets',
1051
1108
  'MetadataSet',
1052
1109
  { assetId: number; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
@@ -1055,12 +1112,13 @@ export interface ChainEvents extends GenericChainEvents {
1055
1112
  /**
1056
1113
  * Metadata has been cleared for an asset.
1057
1114
  **/
1058
- MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', { assetId: number }>;
1115
+ MetadataCleared: GenericPalletEvent<Rv, 'Assets', 'MetadataCleared', { assetId: number }>;
1059
1116
 
1060
1117
  /**
1061
1118
  * (Additional) funds have been approved for transfer to a destination account.
1062
1119
  **/
1063
1120
  ApprovedTransfer: GenericPalletEvent<
1121
+ Rv,
1064
1122
  'Assets',
1065
1123
  'ApprovedTransfer',
1066
1124
  { assetId: number; source: AccountId32; delegate: AccountId32; amount: bigint }
@@ -1070,6 +1128,7 @@ export interface ChainEvents extends GenericChainEvents {
1070
1128
  * An approval for account `delegate` was cancelled by `owner`.
1071
1129
  **/
1072
1130
  ApprovalCancelled: GenericPalletEvent<
1131
+ Rv,
1073
1132
  'Assets',
1074
1133
  'ApprovalCancelled',
1075
1134
  { assetId: number; owner: AccountId32; delegate: AccountId32 }
@@ -1080,6 +1139,7 @@ export interface ChainEvents extends GenericChainEvents {
1080
1139
  * the approved `delegate`.
1081
1140
  **/
1082
1141
  TransferredApproved: GenericPalletEvent<
1142
+ Rv,
1083
1143
  'Assets',
1084
1144
  'TransferredApproved',
1085
1145
  { assetId: number; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
@@ -1088,12 +1148,13 @@ export interface ChainEvents extends GenericChainEvents {
1088
1148
  /**
1089
1149
  * An asset has had its attributes changed by the `Force` origin.
1090
1150
  **/
1091
- AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', { assetId: number }>;
1151
+ AssetStatusChanged: GenericPalletEvent<Rv, 'Assets', 'AssetStatusChanged', { assetId: number }>;
1092
1152
 
1093
1153
  /**
1094
1154
  * The min_balance of an asset has been updated by the asset owner.
1095
1155
  **/
1096
1156
  AssetMinBalanceChanged: GenericPalletEvent<
1157
+ Rv,
1097
1158
  'Assets',
1098
1159
  'AssetMinBalanceChanged',
1099
1160
  { assetId: number; newMinBalance: bigint }
@@ -1102,17 +1163,27 @@ export interface ChainEvents extends GenericChainEvents {
1102
1163
  /**
1103
1164
  * Some account `who` was created with a deposit from `depositor`.
1104
1165
  **/
1105
- Touched: GenericPalletEvent<'Assets', 'Touched', { assetId: number; who: AccountId32; depositor: AccountId32 }>;
1166
+ Touched: GenericPalletEvent<Rv, 'Assets', 'Touched', { assetId: number; who: AccountId32; depositor: AccountId32 }>;
1106
1167
 
1107
1168
  /**
1108
1169
  * Some account `who` was blocked.
1109
1170
  **/
1110
- Blocked: GenericPalletEvent<'Assets', 'Blocked', { assetId: number; who: AccountId32 }>;
1171
+ Blocked: GenericPalletEvent<Rv, 'Assets', 'Blocked', { assetId: number; who: AccountId32 }>;
1172
+
1173
+ /**
1174
+ * Some assets were deposited (e.g. for transaction fees).
1175
+ **/
1176
+ Deposited: GenericPalletEvent<Rv, 'Assets', 'Deposited', { assetId: number; who: AccountId32; amount: bigint }>;
1177
+
1178
+ /**
1179
+ * Some assets were withdrawn from the account (e.g. for transaction fees).
1180
+ **/
1181
+ Withdrawn: GenericPalletEvent<Rv, 'Assets', 'Withdrawn', { assetId: number; who: AccountId32; amount: bigint }>;
1111
1182
 
1112
1183
  /**
1113
1184
  * Generic pallet event
1114
1185
  **/
1115
- [prop: string]: GenericPalletEvent;
1186
+ [prop: string]: GenericPalletEvent<Rv>;
1116
1187
  };
1117
1188
  /**
1118
1189
  * Pallet `Uniques`'s events
@@ -1121,27 +1192,33 @@ export interface ChainEvents extends GenericChainEvents {
1121
1192
  /**
1122
1193
  * A `collection` was created.
1123
1194
  **/
1124
- Created: GenericPalletEvent<'Uniques', 'Created', { collection: number; creator: AccountId32; owner: AccountId32 }>;
1195
+ Created: GenericPalletEvent<
1196
+ Rv,
1197
+ 'Uniques',
1198
+ 'Created',
1199
+ { collection: number; creator: AccountId32; owner: AccountId32 }
1200
+ >;
1125
1201
 
1126
1202
  /**
1127
1203
  * A `collection` was force-created.
1128
1204
  **/
1129
- ForceCreated: GenericPalletEvent<'Uniques', 'ForceCreated', { collection: number; owner: AccountId32 }>;
1205
+ ForceCreated: GenericPalletEvent<Rv, 'Uniques', 'ForceCreated', { collection: number; owner: AccountId32 }>;
1130
1206
 
1131
1207
  /**
1132
1208
  * A `collection` was destroyed.
1133
1209
  **/
1134
- Destroyed: GenericPalletEvent<'Uniques', 'Destroyed', { collection: number }>;
1210
+ Destroyed: GenericPalletEvent<Rv, 'Uniques', 'Destroyed', { collection: number }>;
1135
1211
 
1136
1212
  /**
1137
1213
  * An `item` was issued.
1138
1214
  **/
1139
- Issued: GenericPalletEvent<'Uniques', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
1215
+ Issued: GenericPalletEvent<Rv, 'Uniques', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
1140
1216
 
1141
1217
  /**
1142
1218
  * An `item` was transferred.
1143
1219
  **/
1144
1220
  Transferred: GenericPalletEvent<
1221
+ Rv,
1145
1222
  'Uniques',
1146
1223
  'Transferred',
1147
1224
  { collection: number; item: number; from: AccountId32; to: AccountId32 }
@@ -1150,37 +1227,38 @@ export interface ChainEvents extends GenericChainEvents {
1150
1227
  /**
1151
1228
  * An `item` was destroyed.
1152
1229
  **/
1153
- Burned: GenericPalletEvent<'Uniques', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
1230
+ Burned: GenericPalletEvent<Rv, 'Uniques', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
1154
1231
 
1155
1232
  /**
1156
1233
  * Some `item` was frozen.
1157
1234
  **/
1158
- Frozen: GenericPalletEvent<'Uniques', 'Frozen', { collection: number; item: number }>;
1235
+ Frozen: GenericPalletEvent<Rv, 'Uniques', 'Frozen', { collection: number; item: number }>;
1159
1236
 
1160
1237
  /**
1161
1238
  * Some `item` was thawed.
1162
1239
  **/
1163
- Thawed: GenericPalletEvent<'Uniques', 'Thawed', { collection: number; item: number }>;
1240
+ Thawed: GenericPalletEvent<Rv, 'Uniques', 'Thawed', { collection: number; item: number }>;
1164
1241
 
1165
1242
  /**
1166
1243
  * Some `collection` was frozen.
1167
1244
  **/
1168
- CollectionFrozen: GenericPalletEvent<'Uniques', 'CollectionFrozen', { collection: number }>;
1245
+ CollectionFrozen: GenericPalletEvent<Rv, 'Uniques', 'CollectionFrozen', { collection: number }>;
1169
1246
 
1170
1247
  /**
1171
1248
  * Some `collection` was thawed.
1172
1249
  **/
1173
- CollectionThawed: GenericPalletEvent<'Uniques', 'CollectionThawed', { collection: number }>;
1250
+ CollectionThawed: GenericPalletEvent<Rv, 'Uniques', 'CollectionThawed', { collection: number }>;
1174
1251
 
1175
1252
  /**
1176
1253
  * The owner changed.
1177
1254
  **/
1178
- OwnerChanged: GenericPalletEvent<'Uniques', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
1255
+ OwnerChanged: GenericPalletEvent<Rv, 'Uniques', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
1179
1256
 
1180
1257
  /**
1181
1258
  * The management team changed.
1182
1259
  **/
1183
1260
  TeamChanged: GenericPalletEvent<
1261
+ Rv,
1184
1262
  'Uniques',
1185
1263
  'TeamChanged',
1186
1264
  { collection: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
@@ -1191,6 +1269,7 @@ export interface ChainEvents extends GenericChainEvents {
1191
1269
  * a `delegate`.
1192
1270
  **/
1193
1271
  ApprovedTransfer: GenericPalletEvent<
1272
+ Rv,
1194
1273
  'Uniques',
1195
1274
  'ApprovedTransfer',
1196
1275
  { collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
@@ -1201,6 +1280,7 @@ export interface ChainEvents extends GenericChainEvents {
1201
1280
  * `collection` was cancelled by its `owner`.
1202
1281
  **/
1203
1282
  ApprovalCancelled: GenericPalletEvent<
1283
+ Rv,
1204
1284
  'Uniques',
1205
1285
  'ApprovalCancelled',
1206
1286
  { collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
@@ -1209,12 +1289,13 @@ export interface ChainEvents extends GenericChainEvents {
1209
1289
  /**
1210
1290
  * A `collection` has had its attributes changed by the `Force` origin.
1211
1291
  **/
1212
- ItemStatusChanged: GenericPalletEvent<'Uniques', 'ItemStatusChanged', { collection: number }>;
1292
+ ItemStatusChanged: GenericPalletEvent<Rv, 'Uniques', 'ItemStatusChanged', { collection: number }>;
1213
1293
 
1214
1294
  /**
1215
1295
  * New metadata has been set for a `collection`.
1216
1296
  **/
1217
1297
  CollectionMetadataSet: GenericPalletEvent<
1298
+ Rv,
1218
1299
  'Uniques',
1219
1300
  'CollectionMetadataSet',
1220
1301
  { collection: number; data: Bytes; isFrozen: boolean }
@@ -1223,12 +1304,13 @@ export interface ChainEvents extends GenericChainEvents {
1223
1304
  /**
1224
1305
  * Metadata has been cleared for a `collection`.
1225
1306
  **/
1226
- CollectionMetadataCleared: GenericPalletEvent<'Uniques', 'CollectionMetadataCleared', { collection: number }>;
1307
+ CollectionMetadataCleared: GenericPalletEvent<Rv, 'Uniques', 'CollectionMetadataCleared', { collection: number }>;
1227
1308
 
1228
1309
  /**
1229
1310
  * New metadata has been set for an item.
1230
1311
  **/
1231
1312
  MetadataSet: GenericPalletEvent<
1313
+ Rv,
1232
1314
  'Uniques',
1233
1315
  'MetadataSet',
1234
1316
  { collection: number; item: number; data: Bytes; isFrozen: boolean }
@@ -1237,17 +1319,23 @@ export interface ChainEvents extends GenericChainEvents {
1237
1319
  /**
1238
1320
  * Metadata has been cleared for an item.
1239
1321
  **/
1240
- MetadataCleared: GenericPalletEvent<'Uniques', 'MetadataCleared', { collection: number; item: number }>;
1322
+ MetadataCleared: GenericPalletEvent<Rv, 'Uniques', 'MetadataCleared', { collection: number; item: number }>;
1241
1323
 
1242
1324
  /**
1243
1325
  * Metadata has been cleared for an item.
1244
1326
  **/
1245
- Redeposited: GenericPalletEvent<'Uniques', 'Redeposited', { collection: number; successfulItems: Array<number> }>;
1327
+ Redeposited: GenericPalletEvent<
1328
+ Rv,
1329
+ 'Uniques',
1330
+ 'Redeposited',
1331
+ { collection: number; successfulItems: Array<number> }
1332
+ >;
1246
1333
 
1247
1334
  /**
1248
1335
  * New attribute metadata has been set for a `collection` or `item`.
1249
1336
  **/
1250
1337
  AttributeSet: GenericPalletEvent<
1338
+ Rv,
1251
1339
  'Uniques',
1252
1340
  'AttributeSet',
1253
1341
  { collection: number; maybeItem?: number | undefined; key: Bytes; value: Bytes }
@@ -1257,6 +1345,7 @@ export interface ChainEvents extends GenericChainEvents {
1257
1345
  * Attribute metadata has been cleared for a `collection` or `item`.
1258
1346
  **/
1259
1347
  AttributeCleared: GenericPalletEvent<
1348
+ Rv,
1260
1349
  'Uniques',
1261
1350
  'AttributeCleared',
1262
1351
  { collection: number; maybeItem?: number | undefined; key: Bytes }
@@ -1266,6 +1355,7 @@ export interface ChainEvents extends GenericChainEvents {
1266
1355
  * Ownership acceptance has changed for an account.
1267
1356
  **/
1268
1357
  OwnershipAcceptanceChanged: GenericPalletEvent<
1358
+ Rv,
1269
1359
  'Uniques',
1270
1360
  'OwnershipAcceptanceChanged',
1271
1361
  { who: AccountId32; maybeCollection?: number | undefined }
@@ -1275,6 +1365,7 @@ export interface ChainEvents extends GenericChainEvents {
1275
1365
  * Max supply has been set for a collection.
1276
1366
  **/
1277
1367
  CollectionMaxSupplySet: GenericPalletEvent<
1368
+ Rv,
1278
1369
  'Uniques',
1279
1370
  'CollectionMaxSupplySet',
1280
1371
  { collection: number; maxSupply: number }
@@ -1284,6 +1375,7 @@ export interface ChainEvents extends GenericChainEvents {
1284
1375
  * The price was set for the instance.
1285
1376
  **/
1286
1377
  ItemPriceSet: GenericPalletEvent<
1378
+ Rv,
1287
1379
  'Uniques',
1288
1380
  'ItemPriceSet',
1289
1381
  { collection: number; item: number; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
@@ -1292,12 +1384,13 @@ export interface ChainEvents extends GenericChainEvents {
1292
1384
  /**
1293
1385
  * The price for the instance was removed.
1294
1386
  **/
1295
- ItemPriceRemoved: GenericPalletEvent<'Uniques', 'ItemPriceRemoved', { collection: number; item: number }>;
1387
+ ItemPriceRemoved: GenericPalletEvent<Rv, 'Uniques', 'ItemPriceRemoved', { collection: number; item: number }>;
1296
1388
 
1297
1389
  /**
1298
1390
  * An item was bought.
1299
1391
  **/
1300
1392
  ItemBought: GenericPalletEvent<
1393
+ Rv,
1301
1394
  'Uniques',
1302
1395
  'ItemBought',
1303
1396
  { collection: number; item: number; price: bigint; seller: AccountId32; buyer: AccountId32 }
@@ -1306,7 +1399,7 @@ export interface ChainEvents extends GenericChainEvents {
1306
1399
  /**
1307
1400
  * Generic pallet event
1308
1401
  **/
1309
- [prop: string]: GenericPalletEvent;
1402
+ [prop: string]: GenericPalletEvent<Rv>;
1310
1403
  };
1311
1404
  /**
1312
1405
  * Pallet `Nfts`'s events
@@ -1315,27 +1408,33 @@ export interface ChainEvents extends GenericChainEvents {
1315
1408
  /**
1316
1409
  * A `collection` was created.
1317
1410
  **/
1318
- Created: GenericPalletEvent<'Nfts', 'Created', { collection: number; creator: AccountId32; owner: AccountId32 }>;
1411
+ Created: GenericPalletEvent<
1412
+ Rv,
1413
+ 'Nfts',
1414
+ 'Created',
1415
+ { collection: number; creator: AccountId32; owner: AccountId32 }
1416
+ >;
1319
1417
 
1320
1418
  /**
1321
1419
  * A `collection` was force-created.
1322
1420
  **/
1323
- ForceCreated: GenericPalletEvent<'Nfts', 'ForceCreated', { collection: number; owner: AccountId32 }>;
1421
+ ForceCreated: GenericPalletEvent<Rv, 'Nfts', 'ForceCreated', { collection: number; owner: AccountId32 }>;
1324
1422
 
1325
1423
  /**
1326
1424
  * A `collection` was destroyed.
1327
1425
  **/
1328
- Destroyed: GenericPalletEvent<'Nfts', 'Destroyed', { collection: number }>;
1426
+ Destroyed: GenericPalletEvent<Rv, 'Nfts', 'Destroyed', { collection: number }>;
1329
1427
 
1330
1428
  /**
1331
1429
  * An `item` was issued.
1332
1430
  **/
1333
- Issued: GenericPalletEvent<'Nfts', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
1431
+ Issued: GenericPalletEvent<Rv, 'Nfts', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
1334
1432
 
1335
1433
  /**
1336
1434
  * An `item` was transferred.
1337
1435
  **/
1338
1436
  Transferred: GenericPalletEvent<
1437
+ Rv,
1339
1438
  'Nfts',
1340
1439
  'Transferred',
1341
1440
  { collection: number; item: number; from: AccountId32; to: AccountId32 }
@@ -1344,22 +1443,23 @@ export interface ChainEvents extends GenericChainEvents {
1344
1443
  /**
1345
1444
  * An `item` was destroyed.
1346
1445
  **/
1347
- Burned: GenericPalletEvent<'Nfts', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
1446
+ Burned: GenericPalletEvent<Rv, 'Nfts', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
1348
1447
 
1349
1448
  /**
1350
1449
  * An `item` became non-transferable.
1351
1450
  **/
1352
- ItemTransferLocked: GenericPalletEvent<'Nfts', 'ItemTransferLocked', { collection: number; item: number }>;
1451
+ ItemTransferLocked: GenericPalletEvent<Rv, 'Nfts', 'ItemTransferLocked', { collection: number; item: number }>;
1353
1452
 
1354
1453
  /**
1355
1454
  * An `item` became transferable.
1356
1455
  **/
1357
- ItemTransferUnlocked: GenericPalletEvent<'Nfts', 'ItemTransferUnlocked', { collection: number; item: number }>;
1456
+ ItemTransferUnlocked: GenericPalletEvent<Rv, 'Nfts', 'ItemTransferUnlocked', { collection: number; item: number }>;
1358
1457
 
1359
1458
  /**
1360
1459
  * `item` metadata or attributes were locked.
1361
1460
  **/
1362
1461
  ItemPropertiesLocked: GenericPalletEvent<
1462
+ Rv,
1363
1463
  'Nfts',
1364
1464
  'ItemPropertiesLocked',
1365
1465
  { collection: number; item: number; lockMetadata: boolean; lockAttributes: boolean }
@@ -1368,17 +1468,18 @@ export interface ChainEvents extends GenericChainEvents {
1368
1468
  /**
1369
1469
  * Some `collection` was locked.
1370
1470
  **/
1371
- CollectionLocked: GenericPalletEvent<'Nfts', 'CollectionLocked', { collection: number }>;
1471
+ CollectionLocked: GenericPalletEvent<Rv, 'Nfts', 'CollectionLocked', { collection: number }>;
1372
1472
 
1373
1473
  /**
1374
1474
  * The owner changed.
1375
1475
  **/
1376
- OwnerChanged: GenericPalletEvent<'Nfts', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
1476
+ OwnerChanged: GenericPalletEvent<Rv, 'Nfts', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
1377
1477
 
1378
1478
  /**
1379
1479
  * The management team changed.
1380
1480
  **/
1381
1481
  TeamChanged: GenericPalletEvent<
1482
+ Rv,
1382
1483
  'Nfts',
1383
1484
  'TeamChanged',
1384
1485
  {
@@ -1394,6 +1495,7 @@ export interface ChainEvents extends GenericChainEvents {
1394
1495
  * a `delegate`.
1395
1496
  **/
1396
1497
  TransferApproved: GenericPalletEvent<
1498
+ Rv,
1397
1499
  'Nfts',
1398
1500
  'TransferApproved',
1399
1501
  { collection: number; item: number; owner: AccountId32; delegate: AccountId32; deadline?: number | undefined }
@@ -1404,6 +1506,7 @@ export interface ChainEvents extends GenericChainEvents {
1404
1506
  * `collection` was cancelled by its `owner`.
1405
1507
  **/
1406
1508
  ApprovalCancelled: GenericPalletEvent<
1509
+ Rv,
1407
1510
  'Nfts',
1408
1511
  'ApprovalCancelled',
1409
1512
  { collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
@@ -1413,6 +1516,7 @@ export interface ChainEvents extends GenericChainEvents {
1413
1516
  * All approvals of an item got cancelled.
1414
1517
  **/
1415
1518
  AllApprovalsCancelled: GenericPalletEvent<
1519
+ Rv,
1416
1520
  'Nfts',
1417
1521
  'AllApprovalsCancelled',
1418
1522
  { collection: number; item: number; owner: AccountId32 }
@@ -1421,37 +1525,43 @@ export interface ChainEvents extends GenericChainEvents {
1421
1525
  /**
1422
1526
  * A `collection` has had its config changed by the `Force` origin.
1423
1527
  **/
1424
- CollectionConfigChanged: GenericPalletEvent<'Nfts', 'CollectionConfigChanged', { collection: number }>;
1528
+ CollectionConfigChanged: GenericPalletEvent<Rv, 'Nfts', 'CollectionConfigChanged', { collection: number }>;
1425
1529
 
1426
1530
  /**
1427
1531
  * New metadata has been set for a `collection`.
1428
1532
  **/
1429
- CollectionMetadataSet: GenericPalletEvent<'Nfts', 'CollectionMetadataSet', { collection: number; data: Bytes }>;
1533
+ CollectionMetadataSet: GenericPalletEvent<Rv, 'Nfts', 'CollectionMetadataSet', { collection: number; data: Bytes }>;
1430
1534
 
1431
1535
  /**
1432
1536
  * Metadata has been cleared for a `collection`.
1433
1537
  **/
1434
- CollectionMetadataCleared: GenericPalletEvent<'Nfts', 'CollectionMetadataCleared', { collection: number }>;
1538
+ CollectionMetadataCleared: GenericPalletEvent<Rv, 'Nfts', 'CollectionMetadataCleared', { collection: number }>;
1435
1539
 
1436
1540
  /**
1437
1541
  * New metadata has been set for an item.
1438
1542
  **/
1439
- ItemMetadataSet: GenericPalletEvent<'Nfts', 'ItemMetadataSet', { collection: number; item: number; data: Bytes }>;
1543
+ ItemMetadataSet: GenericPalletEvent<
1544
+ Rv,
1545
+ 'Nfts',
1546
+ 'ItemMetadataSet',
1547
+ { collection: number; item: number; data: Bytes }
1548
+ >;
1440
1549
 
1441
1550
  /**
1442
1551
  * Metadata has been cleared for an item.
1443
1552
  **/
1444
- ItemMetadataCleared: GenericPalletEvent<'Nfts', 'ItemMetadataCleared', { collection: number; item: number }>;
1553
+ ItemMetadataCleared: GenericPalletEvent<Rv, 'Nfts', 'ItemMetadataCleared', { collection: number; item: number }>;
1445
1554
 
1446
1555
  /**
1447
1556
  * The deposit for a set of `item`s within a `collection` has been updated.
1448
1557
  **/
1449
- Redeposited: GenericPalletEvent<'Nfts', 'Redeposited', { collection: number; successfulItems: Array<number> }>;
1558
+ Redeposited: GenericPalletEvent<Rv, 'Nfts', 'Redeposited', { collection: number; successfulItems: Array<number> }>;
1450
1559
 
1451
1560
  /**
1452
1561
  * New attribute metadata has been set for a `collection` or `item`.
1453
1562
  **/
1454
1563
  AttributeSet: GenericPalletEvent<
1564
+ Rv,
1455
1565
  'Nfts',
1456
1566
  'AttributeSet',
1457
1567
  {
@@ -1467,6 +1577,7 @@ export interface ChainEvents extends GenericChainEvents {
1467
1577
  * Attribute metadata has been cleared for a `collection` or `item`.
1468
1578
  **/
1469
1579
  AttributeCleared: GenericPalletEvent<
1580
+ Rv,
1470
1581
  'Nfts',
1471
1582
  'AttributeCleared',
1472
1583
  { collection: number; maybeItem?: number | undefined; key: Bytes; namespace: PalletNftsAttributeNamespace }
@@ -1476,6 +1587,7 @@ export interface ChainEvents extends GenericChainEvents {
1476
1587
  * A new approval to modify item attributes was added.
1477
1588
  **/
1478
1589
  ItemAttributesApprovalAdded: GenericPalletEvent<
1590
+ Rv,
1479
1591
  'Nfts',
1480
1592
  'ItemAttributesApprovalAdded',
1481
1593
  { collection: number; item: number; delegate: AccountId32 }
@@ -1485,6 +1597,7 @@ export interface ChainEvents extends GenericChainEvents {
1485
1597
  * A new approval to modify item attributes was removed.
1486
1598
  **/
1487
1599
  ItemAttributesApprovalRemoved: GenericPalletEvent<
1600
+ Rv,
1488
1601
  'Nfts',
1489
1602
  'ItemAttributesApprovalRemoved',
1490
1603
  { collection: number; item: number; delegate: AccountId32 }
@@ -1494,6 +1607,7 @@ export interface ChainEvents extends GenericChainEvents {
1494
1607
  * Ownership acceptance has changed for an account.
1495
1608
  **/
1496
1609
  OwnershipAcceptanceChanged: GenericPalletEvent<
1610
+ Rv,
1497
1611
  'Nfts',
1498
1612
  'OwnershipAcceptanceChanged',
1499
1613
  { who: AccountId32; maybeCollection?: number | undefined }
@@ -1503,6 +1617,7 @@ export interface ChainEvents extends GenericChainEvents {
1503
1617
  * Max supply has been set for a collection.
1504
1618
  **/
1505
1619
  CollectionMaxSupplySet: GenericPalletEvent<
1620
+ Rv,
1506
1621
  'Nfts',
1507
1622
  'CollectionMaxSupplySet',
1508
1623
  { collection: number; maxSupply: number }
@@ -1511,12 +1626,18 @@ export interface ChainEvents extends GenericChainEvents {
1511
1626
  /**
1512
1627
  * Mint settings for a collection had changed.
1513
1628
  **/
1514
- CollectionMintSettingsUpdated: GenericPalletEvent<'Nfts', 'CollectionMintSettingsUpdated', { collection: number }>;
1629
+ CollectionMintSettingsUpdated: GenericPalletEvent<
1630
+ Rv,
1631
+ 'Nfts',
1632
+ 'CollectionMintSettingsUpdated',
1633
+ { collection: number }
1634
+ >;
1515
1635
 
1516
1636
  /**
1517
1637
  * Event gets emitted when the `NextCollectionId` gets incremented.
1518
1638
  **/
1519
1639
  NextCollectionIdIncremented: GenericPalletEvent<
1640
+ Rv,
1520
1641
  'Nfts',
1521
1642
  'NextCollectionIdIncremented',
1522
1643
  { nextId?: number | undefined }
@@ -1526,6 +1647,7 @@ export interface ChainEvents extends GenericChainEvents {
1526
1647
  * The price was set for the item.
1527
1648
  **/
1528
1649
  ItemPriceSet: GenericPalletEvent<
1650
+ Rv,
1529
1651
  'Nfts',
1530
1652
  'ItemPriceSet',
1531
1653
  { collection: number; item: number; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
@@ -1534,12 +1656,13 @@ export interface ChainEvents extends GenericChainEvents {
1534
1656
  /**
1535
1657
  * The price for the item was removed.
1536
1658
  **/
1537
- ItemPriceRemoved: GenericPalletEvent<'Nfts', 'ItemPriceRemoved', { collection: number; item: number }>;
1659
+ ItemPriceRemoved: GenericPalletEvent<Rv, 'Nfts', 'ItemPriceRemoved', { collection: number; item: number }>;
1538
1660
 
1539
1661
  /**
1540
1662
  * An item was bought.
1541
1663
  **/
1542
1664
  ItemBought: GenericPalletEvent<
1665
+ Rv,
1543
1666
  'Nfts',
1544
1667
  'ItemBought',
1545
1668
  { collection: number; item: number; price: bigint; seller: AccountId32; buyer: AccountId32 }
@@ -1549,6 +1672,7 @@ export interface ChainEvents extends GenericChainEvents {
1549
1672
  * A tip was sent.
1550
1673
  **/
1551
1674
  TipSent: GenericPalletEvent<
1675
+ Rv,
1552
1676
  'Nfts',
1553
1677
  'TipSent',
1554
1678
  { collection: number; item: number; sender: AccountId32; receiver: AccountId32; amount: bigint }
@@ -1558,6 +1682,7 @@ export interface ChainEvents extends GenericChainEvents {
1558
1682
  * An `item` swap intent was created.
1559
1683
  **/
1560
1684
  SwapCreated: GenericPalletEvent<
1685
+ Rv,
1561
1686
  'Nfts',
1562
1687
  'SwapCreated',
1563
1688
  {
@@ -1574,6 +1699,7 @@ export interface ChainEvents extends GenericChainEvents {
1574
1699
  * The swap was cancelled.
1575
1700
  **/
1576
1701
  SwapCancelled: GenericPalletEvent<
1702
+ Rv,
1577
1703
  'Nfts',
1578
1704
  'SwapCancelled',
1579
1705
  {
@@ -1590,6 +1716,7 @@ export interface ChainEvents extends GenericChainEvents {
1590
1716
  * The swap has been claimed.
1591
1717
  **/
1592
1718
  SwapClaimed: GenericPalletEvent<
1719
+ Rv,
1593
1720
  'Nfts',
1594
1721
  'SwapClaimed',
1595
1722
  {
@@ -1608,6 +1735,7 @@ export interface ChainEvents extends GenericChainEvents {
1608
1735
  * New attributes have been set for an `item` of the `collection`.
1609
1736
  **/
1610
1737
  PreSignedAttributesSet: GenericPalletEvent<
1738
+ Rv,
1611
1739
  'Nfts',
1612
1740
  'PreSignedAttributesSet',
1613
1741
  { collection: number; item: number; namespace: PalletNftsAttributeNamespace }
@@ -1618,6 +1746,7 @@ export interface ChainEvents extends GenericChainEvents {
1618
1746
  * within that `collection`.
1619
1747
  **/
1620
1748
  PalletAttributeSet: GenericPalletEvent<
1749
+ Rv,
1621
1750
  'Nfts',
1622
1751
  'PalletAttributeSet',
1623
1752
  { collection: number; item?: number | undefined; attribute: PalletNftsPalletAttributes; value: Bytes }
@@ -1626,7 +1755,7 @@ export interface ChainEvents extends GenericChainEvents {
1626
1755
  /**
1627
1756
  * Generic pallet event
1628
1757
  **/
1629
- [prop: string]: GenericPalletEvent;
1758
+ [prop: string]: GenericPalletEvent<Rv>;
1630
1759
  };
1631
1760
  /**
1632
1761
  * Pallet `ForeignAssets`'s events
@@ -1636,6 +1765,7 @@ export interface ChainEvents extends GenericChainEvents {
1636
1765
  * Some asset class was created.
1637
1766
  **/
1638
1767
  Created: GenericPalletEvent<
1768
+ Rv,
1639
1769
  'ForeignAssets',
1640
1770
  'Created',
1641
1771
  { assetId: StagingXcmV3MultilocationMultiLocation; creator: AccountId32; owner: AccountId32 }
@@ -1645,6 +1775,7 @@ export interface ChainEvents extends GenericChainEvents {
1645
1775
  * Some assets were issued.
1646
1776
  **/
1647
1777
  Issued: GenericPalletEvent<
1778
+ Rv,
1648
1779
  'ForeignAssets',
1649
1780
  'Issued',
1650
1781
  { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; amount: bigint }
@@ -1654,6 +1785,7 @@ export interface ChainEvents extends GenericChainEvents {
1654
1785
  * Some assets were transferred.
1655
1786
  **/
1656
1787
  Transferred: GenericPalletEvent<
1788
+ Rv,
1657
1789
  'ForeignAssets',
1658
1790
  'Transferred',
1659
1791
  { assetId: StagingXcmV3MultilocationMultiLocation; from: AccountId32; to: AccountId32; amount: bigint }
@@ -1663,6 +1795,7 @@ export interface ChainEvents extends GenericChainEvents {
1663
1795
  * Some assets were destroyed.
1664
1796
  **/
1665
1797
  Burned: GenericPalletEvent<
1798
+ Rv,
1666
1799
  'ForeignAssets',
1667
1800
  'Burned',
1668
1801
  { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; balance: bigint }
@@ -1672,6 +1805,7 @@ export interface ChainEvents extends GenericChainEvents {
1672
1805
  * The management team changed.
1673
1806
  **/
1674
1807
  TeamChanged: GenericPalletEvent<
1808
+ Rv,
1675
1809
  'ForeignAssets',
1676
1810
  'TeamChanged',
1677
1811
  { assetId: StagingXcmV3MultilocationMultiLocation; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
@@ -1681,6 +1815,7 @@ export interface ChainEvents extends GenericChainEvents {
1681
1815
  * The owner changed.
1682
1816
  **/
1683
1817
  OwnerChanged: GenericPalletEvent<
1818
+ Rv,
1684
1819
  'ForeignAssets',
1685
1820
  'OwnerChanged',
1686
1821
  { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32 }
@@ -1690,6 +1825,7 @@ export interface ChainEvents extends GenericChainEvents {
1690
1825
  * Some account `who` was frozen.
1691
1826
  **/
1692
1827
  Frozen: GenericPalletEvent<
1828
+ Rv,
1693
1829
  'ForeignAssets',
1694
1830
  'Frozen',
1695
1831
  { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
@@ -1699,6 +1835,7 @@ export interface ChainEvents extends GenericChainEvents {
1699
1835
  * Some account `who` was thawed.
1700
1836
  **/
1701
1837
  Thawed: GenericPalletEvent<
1838
+ Rv,
1702
1839
  'ForeignAssets',
1703
1840
  'Thawed',
1704
1841
  { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
@@ -1708,6 +1845,7 @@ export interface ChainEvents extends GenericChainEvents {
1708
1845
  * Some asset `asset_id` was frozen.
1709
1846
  **/
1710
1847
  AssetFrozen: GenericPalletEvent<
1848
+ Rv,
1711
1849
  'ForeignAssets',
1712
1850
  'AssetFrozen',
1713
1851
  { assetId: StagingXcmV3MultilocationMultiLocation }
@@ -1717,6 +1855,7 @@ export interface ChainEvents extends GenericChainEvents {
1717
1855
  * Some asset `asset_id` was thawed.
1718
1856
  **/
1719
1857
  AssetThawed: GenericPalletEvent<
1858
+ Rv,
1720
1859
  'ForeignAssets',
1721
1860
  'AssetThawed',
1722
1861
  { assetId: StagingXcmV3MultilocationMultiLocation }
@@ -1726,6 +1865,7 @@ export interface ChainEvents extends GenericChainEvents {
1726
1865
  * Accounts were destroyed for given asset.
1727
1866
  **/
1728
1867
  AccountsDestroyed: GenericPalletEvent<
1868
+ Rv,
1729
1869
  'ForeignAssets',
1730
1870
  'AccountsDestroyed',
1731
1871
  { assetId: StagingXcmV3MultilocationMultiLocation; accountsDestroyed: number; accountsRemaining: number }
@@ -1735,6 +1875,7 @@ export interface ChainEvents extends GenericChainEvents {
1735
1875
  * Approvals were destroyed for given asset.
1736
1876
  **/
1737
1877
  ApprovalsDestroyed: GenericPalletEvent<
1878
+ Rv,
1738
1879
  'ForeignAssets',
1739
1880
  'ApprovalsDestroyed',
1740
1881
  { assetId: StagingXcmV3MultilocationMultiLocation; approvalsDestroyed: number; approvalsRemaining: number }
@@ -1744,6 +1885,7 @@ export interface ChainEvents extends GenericChainEvents {
1744
1885
  * An asset class is in the process of being destroyed.
1745
1886
  **/
1746
1887
  DestructionStarted: GenericPalletEvent<
1888
+ Rv,
1747
1889
  'ForeignAssets',
1748
1890
  'DestructionStarted',
1749
1891
  { assetId: StagingXcmV3MultilocationMultiLocation }
@@ -1752,12 +1894,18 @@ export interface ChainEvents extends GenericChainEvents {
1752
1894
  /**
1753
1895
  * An asset class was destroyed.
1754
1896
  **/
1755
- Destroyed: GenericPalletEvent<'ForeignAssets', 'Destroyed', { assetId: StagingXcmV3MultilocationMultiLocation }>;
1897
+ Destroyed: GenericPalletEvent<
1898
+ Rv,
1899
+ 'ForeignAssets',
1900
+ 'Destroyed',
1901
+ { assetId: StagingXcmV3MultilocationMultiLocation }
1902
+ >;
1756
1903
 
1757
1904
  /**
1758
1905
  * Some asset class was force-created.
1759
1906
  **/
1760
1907
  ForceCreated: GenericPalletEvent<
1908
+ Rv,
1761
1909
  'ForeignAssets',
1762
1910
  'ForceCreated',
1763
1911
  { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32 }
@@ -1767,6 +1915,7 @@ export interface ChainEvents extends GenericChainEvents {
1767
1915
  * New metadata has been set for an asset.
1768
1916
  **/
1769
1917
  MetadataSet: GenericPalletEvent<
1918
+ Rv,
1770
1919
  'ForeignAssets',
1771
1920
  'MetadataSet',
1772
1921
  {
@@ -1782,6 +1931,7 @@ export interface ChainEvents extends GenericChainEvents {
1782
1931
  * Metadata has been cleared for an asset.
1783
1932
  **/
1784
1933
  MetadataCleared: GenericPalletEvent<
1934
+ Rv,
1785
1935
  'ForeignAssets',
1786
1936
  'MetadataCleared',
1787
1937
  { assetId: StagingXcmV3MultilocationMultiLocation }
@@ -1791,6 +1941,7 @@ export interface ChainEvents extends GenericChainEvents {
1791
1941
  * (Additional) funds have been approved for transfer to a destination account.
1792
1942
  **/
1793
1943
  ApprovedTransfer: GenericPalletEvent<
1944
+ Rv,
1794
1945
  'ForeignAssets',
1795
1946
  'ApprovedTransfer',
1796
1947
  { assetId: StagingXcmV3MultilocationMultiLocation; source: AccountId32; delegate: AccountId32; amount: bigint }
@@ -1800,6 +1951,7 @@ export interface ChainEvents extends GenericChainEvents {
1800
1951
  * An approval for account `delegate` was cancelled by `owner`.
1801
1952
  **/
1802
1953
  ApprovalCancelled: GenericPalletEvent<
1954
+ Rv,
1803
1955
  'ForeignAssets',
1804
1956
  'ApprovalCancelled',
1805
1957
  { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; delegate: AccountId32 }
@@ -1810,6 +1962,7 @@ export interface ChainEvents extends GenericChainEvents {
1810
1962
  * the approved `delegate`.
1811
1963
  **/
1812
1964
  TransferredApproved: GenericPalletEvent<
1965
+ Rv,
1813
1966
  'ForeignAssets',
1814
1967
  'TransferredApproved',
1815
1968
  {
@@ -1825,6 +1978,7 @@ export interface ChainEvents extends GenericChainEvents {
1825
1978
  * An asset has had its attributes changed by the `Force` origin.
1826
1979
  **/
1827
1980
  AssetStatusChanged: GenericPalletEvent<
1981
+ Rv,
1828
1982
  'ForeignAssets',
1829
1983
  'AssetStatusChanged',
1830
1984
  { assetId: StagingXcmV3MultilocationMultiLocation }
@@ -1834,6 +1988,7 @@ export interface ChainEvents extends GenericChainEvents {
1834
1988
  * The min_balance of an asset has been updated by the asset owner.
1835
1989
  **/
1836
1990
  AssetMinBalanceChanged: GenericPalletEvent<
1991
+ Rv,
1837
1992
  'ForeignAssets',
1838
1993
  'AssetMinBalanceChanged',
1839
1994
  { assetId: StagingXcmV3MultilocationMultiLocation; newMinBalance: bigint }
@@ -1843,6 +1998,7 @@ export interface ChainEvents extends GenericChainEvents {
1843
1998
  * Some account `who` was created with a deposit from `depositor`.
1844
1999
  **/
1845
2000
  Touched: GenericPalletEvent<
2001
+ Rv,
1846
2002
  'ForeignAssets',
1847
2003
  'Touched',
1848
2004
  { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; depositor: AccountId32 }
@@ -1852,15 +2008,36 @@ export interface ChainEvents extends GenericChainEvents {
1852
2008
  * Some account `who` was blocked.
1853
2009
  **/
1854
2010
  Blocked: GenericPalletEvent<
2011
+ Rv,
1855
2012
  'ForeignAssets',
1856
2013
  'Blocked',
1857
2014
  { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
1858
2015
  >;
1859
2016
 
2017
+ /**
2018
+ * Some assets were deposited (e.g. for transaction fees).
2019
+ **/
2020
+ Deposited: GenericPalletEvent<
2021
+ Rv,
2022
+ 'ForeignAssets',
2023
+ 'Deposited',
2024
+ { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; amount: bigint }
2025
+ >;
2026
+
2027
+ /**
2028
+ * Some assets were withdrawn from the account (e.g. for transaction fees).
2029
+ **/
2030
+ Withdrawn: GenericPalletEvent<
2031
+ Rv,
2032
+ 'ForeignAssets',
2033
+ 'Withdrawn',
2034
+ { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; amount: bigint }
2035
+ >;
2036
+
1860
2037
  /**
1861
2038
  * Generic pallet event
1862
2039
  **/
1863
- [prop: string]: GenericPalletEvent;
2040
+ [prop: string]: GenericPalletEvent<Rv>;
1864
2041
  };
1865
2042
  /**
1866
2043
  * Pallet `NftFractionalization`'s events
@@ -1870,6 +2047,7 @@ export interface ChainEvents extends GenericChainEvents {
1870
2047
  * An NFT was successfully fractionalized.
1871
2048
  **/
1872
2049
  NftFractionalized: GenericPalletEvent<
2050
+ Rv,
1873
2051
  'NftFractionalization',
1874
2052
  'NftFractionalized',
1875
2053
  { nftCollection: number; nft: number; fractions: bigint; asset: number; beneficiary: AccountId32 }
@@ -1879,6 +2057,7 @@ export interface ChainEvents extends GenericChainEvents {
1879
2057
  * An NFT was successfully returned back.
1880
2058
  **/
1881
2059
  NftUnified: GenericPalletEvent<
2060
+ Rv,
1882
2061
  'NftFractionalization',
1883
2062
  'NftUnified',
1884
2063
  { nftCollection: number; nft: number; asset: number; beneficiary: AccountId32 }
@@ -1887,7 +2066,7 @@ export interface ChainEvents extends GenericChainEvents {
1887
2066
  /**
1888
2067
  * Generic pallet event
1889
2068
  **/
1890
- [prop: string]: GenericPalletEvent;
2069
+ [prop: string]: GenericPalletEvent<Rv>;
1891
2070
  };
1892
2071
  /**
1893
2072
  * Pallet `PoolAssets`'s events
@@ -1896,17 +2075,23 @@ export interface ChainEvents extends GenericChainEvents {
1896
2075
  /**
1897
2076
  * Some asset class was created.
1898
2077
  **/
1899
- Created: GenericPalletEvent<'PoolAssets', 'Created', { assetId: number; creator: AccountId32; owner: AccountId32 }>;
2078
+ Created: GenericPalletEvent<
2079
+ Rv,
2080
+ 'PoolAssets',
2081
+ 'Created',
2082
+ { assetId: number; creator: AccountId32; owner: AccountId32 }
2083
+ >;
1900
2084
 
1901
2085
  /**
1902
2086
  * Some assets were issued.
1903
2087
  **/
1904
- Issued: GenericPalletEvent<'PoolAssets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
2088
+ Issued: GenericPalletEvent<Rv, 'PoolAssets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
1905
2089
 
1906
2090
  /**
1907
2091
  * Some assets were transferred.
1908
2092
  **/
1909
2093
  Transferred: GenericPalletEvent<
2094
+ Rv,
1910
2095
  'PoolAssets',
1911
2096
  'Transferred',
1912
2097
  { assetId: number; from: AccountId32; to: AccountId32; amount: bigint }
@@ -1915,12 +2100,13 @@ export interface ChainEvents extends GenericChainEvents {
1915
2100
  /**
1916
2101
  * Some assets were destroyed.
1917
2102
  **/
1918
- Burned: GenericPalletEvent<'PoolAssets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
2103
+ Burned: GenericPalletEvent<Rv, 'PoolAssets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
1919
2104
 
1920
2105
  /**
1921
2106
  * The management team changed.
1922
2107
  **/
1923
2108
  TeamChanged: GenericPalletEvent<
2109
+ Rv,
1924
2110
  'PoolAssets',
1925
2111
  'TeamChanged',
1926
2112
  { assetId: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
@@ -1929,32 +2115,33 @@ export interface ChainEvents extends GenericChainEvents {
1929
2115
  /**
1930
2116
  * The owner changed.
1931
2117
  **/
1932
- OwnerChanged: GenericPalletEvent<'PoolAssets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
2118
+ OwnerChanged: GenericPalletEvent<Rv, 'PoolAssets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
1933
2119
 
1934
2120
  /**
1935
2121
  * Some account `who` was frozen.
1936
2122
  **/
1937
- Frozen: GenericPalletEvent<'PoolAssets', 'Frozen', { assetId: number; who: AccountId32 }>;
2123
+ Frozen: GenericPalletEvent<Rv, 'PoolAssets', 'Frozen', { assetId: number; who: AccountId32 }>;
1938
2124
 
1939
2125
  /**
1940
2126
  * Some account `who` was thawed.
1941
2127
  **/
1942
- Thawed: GenericPalletEvent<'PoolAssets', 'Thawed', { assetId: number; who: AccountId32 }>;
2128
+ Thawed: GenericPalletEvent<Rv, 'PoolAssets', 'Thawed', { assetId: number; who: AccountId32 }>;
1943
2129
 
1944
2130
  /**
1945
2131
  * Some asset `asset_id` was frozen.
1946
2132
  **/
1947
- AssetFrozen: GenericPalletEvent<'PoolAssets', 'AssetFrozen', { assetId: number }>;
2133
+ AssetFrozen: GenericPalletEvent<Rv, 'PoolAssets', 'AssetFrozen', { assetId: number }>;
1948
2134
 
1949
2135
  /**
1950
2136
  * Some asset `asset_id` was thawed.
1951
2137
  **/
1952
- AssetThawed: GenericPalletEvent<'PoolAssets', 'AssetThawed', { assetId: number }>;
2138
+ AssetThawed: GenericPalletEvent<Rv, 'PoolAssets', 'AssetThawed', { assetId: number }>;
1953
2139
 
1954
2140
  /**
1955
2141
  * Accounts were destroyed for given asset.
1956
2142
  **/
1957
2143
  AccountsDestroyed: GenericPalletEvent<
2144
+ Rv,
1958
2145
  'PoolAssets',
1959
2146
  'AccountsDestroyed',
1960
2147
  { assetId: number; accountsDestroyed: number; accountsRemaining: number }
@@ -1964,6 +2151,7 @@ export interface ChainEvents extends GenericChainEvents {
1964
2151
  * Approvals were destroyed for given asset.
1965
2152
  **/
1966
2153
  ApprovalsDestroyed: GenericPalletEvent<
2154
+ Rv,
1967
2155
  'PoolAssets',
1968
2156
  'ApprovalsDestroyed',
1969
2157
  { assetId: number; approvalsDestroyed: number; approvalsRemaining: number }
@@ -1972,22 +2160,23 @@ export interface ChainEvents extends GenericChainEvents {
1972
2160
  /**
1973
2161
  * An asset class is in the process of being destroyed.
1974
2162
  **/
1975
- DestructionStarted: GenericPalletEvent<'PoolAssets', 'DestructionStarted', { assetId: number }>;
2163
+ DestructionStarted: GenericPalletEvent<Rv, 'PoolAssets', 'DestructionStarted', { assetId: number }>;
1976
2164
 
1977
2165
  /**
1978
2166
  * An asset class was destroyed.
1979
2167
  **/
1980
- Destroyed: GenericPalletEvent<'PoolAssets', 'Destroyed', { assetId: number }>;
2168
+ Destroyed: GenericPalletEvent<Rv, 'PoolAssets', 'Destroyed', { assetId: number }>;
1981
2169
 
1982
2170
  /**
1983
2171
  * Some asset class was force-created.
1984
2172
  **/
1985
- ForceCreated: GenericPalletEvent<'PoolAssets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
2173
+ ForceCreated: GenericPalletEvent<Rv, 'PoolAssets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
1986
2174
 
1987
2175
  /**
1988
2176
  * New metadata has been set for an asset.
1989
2177
  **/
1990
2178
  MetadataSet: GenericPalletEvent<
2179
+ Rv,
1991
2180
  'PoolAssets',
1992
2181
  'MetadataSet',
1993
2182
  { assetId: number; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
@@ -1996,12 +2185,13 @@ export interface ChainEvents extends GenericChainEvents {
1996
2185
  /**
1997
2186
  * Metadata has been cleared for an asset.
1998
2187
  **/
1999
- MetadataCleared: GenericPalletEvent<'PoolAssets', 'MetadataCleared', { assetId: number }>;
2188
+ MetadataCleared: GenericPalletEvent<Rv, 'PoolAssets', 'MetadataCleared', { assetId: number }>;
2000
2189
 
2001
2190
  /**
2002
2191
  * (Additional) funds have been approved for transfer to a destination account.
2003
2192
  **/
2004
2193
  ApprovedTransfer: GenericPalletEvent<
2194
+ Rv,
2005
2195
  'PoolAssets',
2006
2196
  'ApprovedTransfer',
2007
2197
  { assetId: number; source: AccountId32; delegate: AccountId32; amount: bigint }
@@ -2011,6 +2201,7 @@ export interface ChainEvents extends GenericChainEvents {
2011
2201
  * An approval for account `delegate` was cancelled by `owner`.
2012
2202
  **/
2013
2203
  ApprovalCancelled: GenericPalletEvent<
2204
+ Rv,
2014
2205
  'PoolAssets',
2015
2206
  'ApprovalCancelled',
2016
2207
  { assetId: number; owner: AccountId32; delegate: AccountId32 }
@@ -2021,6 +2212,7 @@ export interface ChainEvents extends GenericChainEvents {
2021
2212
  * the approved `delegate`.
2022
2213
  **/
2023
2214
  TransferredApproved: GenericPalletEvent<
2215
+ Rv,
2024
2216
  'PoolAssets',
2025
2217
  'TransferredApproved',
2026
2218
  { assetId: number; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
@@ -2029,12 +2221,13 @@ export interface ChainEvents extends GenericChainEvents {
2029
2221
  /**
2030
2222
  * An asset has had its attributes changed by the `Force` origin.
2031
2223
  **/
2032
- AssetStatusChanged: GenericPalletEvent<'PoolAssets', 'AssetStatusChanged', { assetId: number }>;
2224
+ AssetStatusChanged: GenericPalletEvent<Rv, 'PoolAssets', 'AssetStatusChanged', { assetId: number }>;
2033
2225
 
2034
2226
  /**
2035
2227
  * The min_balance of an asset has been updated by the asset owner.
2036
2228
  **/
2037
2229
  AssetMinBalanceChanged: GenericPalletEvent<
2230
+ Rv,
2038
2231
  'PoolAssets',
2039
2232
  'AssetMinBalanceChanged',
2040
2233
  { assetId: number; newMinBalance: bigint }
@@ -2043,26 +2236,42 @@ export interface ChainEvents extends GenericChainEvents {
2043
2236
  /**
2044
2237
  * Some account `who` was created with a deposit from `depositor`.
2045
2238
  **/
2046
- Touched: GenericPalletEvent<'PoolAssets', 'Touched', { assetId: number; who: AccountId32; depositor: AccountId32 }>;
2239
+ Touched: GenericPalletEvent<
2240
+ Rv,
2241
+ 'PoolAssets',
2242
+ 'Touched',
2243
+ { assetId: number; who: AccountId32; depositor: AccountId32 }
2244
+ >;
2047
2245
 
2048
2246
  /**
2049
2247
  * Some account `who` was blocked.
2050
2248
  **/
2051
- Blocked: GenericPalletEvent<'PoolAssets', 'Blocked', { assetId: number; who: AccountId32 }>;
2249
+ Blocked: GenericPalletEvent<Rv, 'PoolAssets', 'Blocked', { assetId: number; who: AccountId32 }>;
2250
+
2251
+ /**
2252
+ * Some assets were deposited (e.g. for transaction fees).
2253
+ **/
2254
+ Deposited: GenericPalletEvent<Rv, 'PoolAssets', 'Deposited', { assetId: number; who: AccountId32; amount: bigint }>;
2255
+
2256
+ /**
2257
+ * Some assets were withdrawn from the account (e.g. for transaction fees).
2258
+ **/
2259
+ Withdrawn: GenericPalletEvent<Rv, 'PoolAssets', 'Withdrawn', { assetId: number; who: AccountId32; amount: bigint }>;
2052
2260
 
2053
2261
  /**
2054
2262
  * Generic pallet event
2055
2263
  **/
2056
- [prop: string]: GenericPalletEvent;
2264
+ [prop: string]: GenericPalletEvent<Rv>;
2057
2265
  };
2058
2266
  /**
2059
2267
  * Pallet `AssetConversion`'s events
2060
2268
  **/
2061
2269
  assetConversion: {
2062
2270
  /**
2063
- * A successful call of the `CretaPool` extrinsic will create this event.
2271
+ * A successful call of the `CreatePool` extrinsic will create this event.
2064
2272
  **/
2065
2273
  PoolCreated: GenericPalletEvent<
2274
+ Rv,
2066
2275
  'AssetConversion',
2067
2276
  'PoolCreated',
2068
2277
  {
@@ -2094,6 +2303,7 @@ export interface ChainEvents extends GenericChainEvents {
2094
2303
  * A successful call of the `AddLiquidity` extrinsic will create this event.
2095
2304
  **/
2096
2305
  LiquidityAdded: GenericPalletEvent<
2306
+ Rv,
2097
2307
  'AssetConversion',
2098
2308
  'LiquidityAdded',
2099
2309
  {
@@ -2138,6 +2348,7 @@ export interface ChainEvents extends GenericChainEvents {
2138
2348
  * A successful call of the `RemoveLiquidity` extrinsic will create this event.
2139
2349
  **/
2140
2350
  LiquidityRemoved: GenericPalletEvent<
2351
+ Rv,
2141
2352
  'AssetConversion',
2142
2353
  'LiquidityRemoved',
2143
2354
  {
@@ -2188,6 +2399,7 @@ export interface ChainEvents extends GenericChainEvents {
2188
2399
  * and `SwapTokenForExactToken` will generate this event.
2189
2400
  **/
2190
2401
  SwapExecuted: GenericPalletEvent<
2402
+ Rv,
2191
2403
  'AssetConversion',
2192
2404
  'SwapExecuted',
2193
2405
  {
@@ -2223,6 +2435,7 @@ export interface ChainEvents extends GenericChainEvents {
2223
2435
  * Assets have been converted from one to another.
2224
2436
  **/
2225
2437
  SwapCreditExecuted: GenericPalletEvent<
2438
+ Rv,
2226
2439
  'AssetConversion',
2227
2440
  'SwapCreditExecuted',
2228
2441
  {
@@ -2244,9 +2457,154 @@ export interface ChainEvents extends GenericChainEvents {
2244
2457
  }
2245
2458
  >;
2246
2459
 
2460
+ /**
2461
+ * Pool has been touched in order to fulfill operational requirements.
2462
+ **/
2463
+ Touched: GenericPalletEvent<
2464
+ Rv,
2465
+ 'AssetConversion',
2466
+ 'Touched',
2467
+ {
2468
+ /**
2469
+ * The ID of the pool.
2470
+ **/
2471
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2472
+
2473
+ /**
2474
+ * The account initiating the touch.
2475
+ **/
2476
+ who: AccountId32;
2477
+ }
2478
+ >;
2479
+
2480
+ /**
2481
+ * Generic pallet event
2482
+ **/
2483
+ [prop: string]: GenericPalletEvent<Rv>;
2484
+ };
2485
+ /**
2486
+ * Pallet `AssetsFreezer`'s events
2487
+ **/
2488
+ assetsFreezer: {
2489
+ Frozen: GenericPalletEvent<Rv, 'AssetsFreezer', 'Frozen', { who: AccountId32; assetId: number; amount: bigint }>;
2490
+ Thawed: GenericPalletEvent<Rv, 'AssetsFreezer', 'Thawed', { who: AccountId32; assetId: number; amount: bigint }>;
2491
+
2492
+ /**
2493
+ * Generic pallet event
2494
+ **/
2495
+ [prop: string]: GenericPalletEvent<Rv>;
2496
+ };
2497
+ /**
2498
+ * Pallet `ForeignAssetsFreezer`'s events
2499
+ **/
2500
+ foreignAssetsFreezer: {
2501
+ Frozen: GenericPalletEvent<
2502
+ Rv,
2503
+ 'ForeignAssetsFreezer',
2504
+ 'Frozen',
2505
+ { who: AccountId32; assetId: StagingXcmV3MultilocationMultiLocation; amount: bigint }
2506
+ >;
2507
+ Thawed: GenericPalletEvent<
2508
+ Rv,
2509
+ 'ForeignAssetsFreezer',
2510
+ 'Thawed',
2511
+ { who: AccountId32; assetId: StagingXcmV3MultilocationMultiLocation; amount: bigint }
2512
+ >;
2513
+
2514
+ /**
2515
+ * Generic pallet event
2516
+ **/
2517
+ [prop: string]: GenericPalletEvent<Rv>;
2518
+ };
2519
+ /**
2520
+ * Pallet `PoolAssetsFreezer`'s events
2521
+ **/
2522
+ poolAssetsFreezer: {
2523
+ Frozen: GenericPalletEvent<
2524
+ Rv,
2525
+ 'PoolAssetsFreezer',
2526
+ 'Frozen',
2527
+ { who: AccountId32; assetId: number; amount: bigint }
2528
+ >;
2529
+ Thawed: GenericPalletEvent<
2530
+ Rv,
2531
+ 'PoolAssetsFreezer',
2532
+ 'Thawed',
2533
+ { who: AccountId32; assetId: number; amount: bigint }
2534
+ >;
2535
+
2536
+ /**
2537
+ * Generic pallet event
2538
+ **/
2539
+ [prop: string]: GenericPalletEvent<Rv>;
2540
+ };
2541
+ /**
2542
+ * Pallet `StateTrieMigration`'s events
2543
+ **/
2544
+ stateTrieMigration: {
2545
+ /**
2546
+ * Given number of `(top, child)` keys were migrated respectively, with the given
2547
+ * `compute`.
2548
+ **/
2549
+ Migrated: GenericPalletEvent<
2550
+ Rv,
2551
+ 'StateTrieMigration',
2552
+ 'Migrated',
2553
+ { top: number; child: number; compute: PalletStateTrieMigrationMigrationCompute }
2554
+ >;
2555
+
2556
+ /**
2557
+ * Some account got slashed by the given amount.
2558
+ **/
2559
+ Slashed: GenericPalletEvent<Rv, 'StateTrieMigration', 'Slashed', { who: AccountId32; amount: bigint }>;
2560
+
2561
+ /**
2562
+ * The auto migration task finished.
2563
+ **/
2564
+ AutoMigrationFinished: GenericPalletEvent<Rv, 'StateTrieMigration', 'AutoMigrationFinished', null>;
2565
+
2566
+ /**
2567
+ * Migration got halted due to an error or miss-configuration.
2568
+ **/
2569
+ Halted: GenericPalletEvent<Rv, 'StateTrieMigration', 'Halted', { error: PalletStateTrieMigrationError }>;
2570
+
2571
+ /**
2572
+ * Generic pallet event
2573
+ **/
2574
+ [prop: string]: GenericPalletEvent<Rv>;
2575
+ };
2576
+ /**
2577
+ * Pallet `AssetConversionMigration`'s events
2578
+ **/
2579
+ assetConversionMigration: {
2580
+ /**
2581
+ * Indicates that a pool has been migrated to the new account ID.
2582
+ **/
2583
+ MigratedToNewAccount: GenericPalletEvent<
2584
+ Rv,
2585
+ 'AssetConversionMigration',
2586
+ 'MigratedToNewAccount',
2587
+ {
2588
+ /**
2589
+ * Pool's ID.
2590
+ **/
2591
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2592
+
2593
+ /**
2594
+ * Pool's prior account ID.
2595
+ **/
2596
+ priorAccount: AccountId32;
2597
+
2598
+ /**
2599
+ * Pool's new account ID.
2600
+ **/
2601
+ newAccount: AccountId32;
2602
+ }
2603
+ >;
2604
+
2247
2605
  /**
2248
2606
  * Generic pallet event
2249
2607
  **/
2250
- [prop: string]: GenericPalletEvent;
2608
+ [prop: string]: GenericPalletEvent<Rv>;
2251
2609
  };
2252
2610
  }