@dedot/chaintypes 0.0.1-alpha.100

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 (105) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +5 -0
  3. package/aleph/consts.d.ts +676 -0
  4. package/aleph/errors.d.ts +1054 -0
  5. package/aleph/events.d.ts +1201 -0
  6. package/aleph/index.d.ts +27 -0
  7. package/aleph/json-rpc.d.ts +85 -0
  8. package/aleph/query.d.ts +1573 -0
  9. package/aleph/runtime.d.ts +596 -0
  10. package/aleph/tx.d.ts +3440 -0
  11. package/aleph/types.d.ts +3951 -0
  12. package/astar/consts.d.ts +737 -0
  13. package/astar/errors.d.ts +1508 -0
  14. package/astar/events.d.ts +1878 -0
  15. package/astar/index.d.ts +27 -0
  16. package/astar/json-rpc.d.ts +131 -0
  17. package/astar/query.d.ts +1851 -0
  18. package/astar/runtime.d.ts +803 -0
  19. package/astar/tx.d.ts +4516 -0
  20. package/astar/types.d.ts +6141 -0
  21. package/index.d.ts +11 -0
  22. package/index.js +1 -0
  23. package/index.ts +11 -0
  24. package/kusama/consts.d.ts +1578 -0
  25. package/kusama/errors.d.ts +3152 -0
  26. package/kusama/events.d.ts +3579 -0
  27. package/kusama/index.d.ts +27 -0
  28. package/kusama/json-rpc.d.ts +103 -0
  29. package/kusama/query.d.ts +4229 -0
  30. package/kusama/runtime.d.ts +1196 -0
  31. package/kusama/tx.d.ts +9040 -0
  32. package/kusama/types.d.ts +11369 -0
  33. package/kusamaAssetHub/consts.d.ts +759 -0
  34. package/kusamaAssetHub/errors.d.ts +1494 -0
  35. package/kusamaAssetHub/events.d.ts +2491 -0
  36. package/kusamaAssetHub/index.d.ts +27 -0
  37. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  38. package/kusamaAssetHub/query.d.ts +1662 -0
  39. package/kusamaAssetHub/runtime.d.ts +555 -0
  40. package/kusamaAssetHub/tx.d.ts +6192 -0
  41. package/kusamaAssetHub/types.d.ts +6831 -0
  42. package/moonbeam/consts.d.ts +1010 -0
  43. package/moonbeam/errors.d.ts +1932 -0
  44. package/moonbeam/events.d.ts +2928 -0
  45. package/moonbeam/index.d.ts +27 -0
  46. package/moonbeam/json-rpc.d.ts +137 -0
  47. package/moonbeam/query.d.ts +2282 -0
  48. package/moonbeam/runtime.d.ts +724 -0
  49. package/moonbeam/tx.d.ts +6222 -0
  50. package/moonbeam/types.d.ts +8165 -0
  51. package/package.json +25 -0
  52. package/polkadot/consts.d.ts +1313 -0
  53. package/polkadot/errors.d.ts +2575 -0
  54. package/polkadot/events.d.ts +2757 -0
  55. package/polkadot/index.d.ts +27 -0
  56. package/polkadot/json-rpc.d.ts +103 -0
  57. package/polkadot/query.d.ts +3693 -0
  58. package/polkadot/runtime.d.ts +1196 -0
  59. package/polkadot/tx.d.ts +7706 -0
  60. package/polkadot/types.d.ts +9893 -0
  61. package/polkadotAssetHub/consts.d.ts +724 -0
  62. package/polkadotAssetHub/errors.d.ts +1465 -0
  63. package/polkadotAssetHub/events.d.ts +2462 -0
  64. package/polkadotAssetHub/index.d.ts +27 -0
  65. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  66. package/polkadotAssetHub/query.d.ts +1640 -0
  67. package/polkadotAssetHub/runtime.d.ts +558 -0
  68. package/polkadotAssetHub/tx.d.ts +6121 -0
  69. package/polkadotAssetHub/types.d.ts +6739 -0
  70. package/rococo/consts.d.ts +1423 -0
  71. package/rococo/errors.d.ts +2783 -0
  72. package/rococo/events.d.ts +3361 -0
  73. package/rococo/index.d.ts +27 -0
  74. package/rococo/json-rpc.d.ts +103 -0
  75. package/rococo/query.d.ts +3561 -0
  76. package/rococo/runtime.d.ts +1257 -0
  77. package/rococo/tx.d.ts +10721 -0
  78. package/rococo/types.d.ts +14828 -0
  79. package/rococoAssetHub/consts.d.ts +787 -0
  80. package/rococoAssetHub/errors.d.ts +1523 -0
  81. package/rococoAssetHub/events.d.ts +2517 -0
  82. package/rococoAssetHub/index.d.ts +27 -0
  83. package/rococoAssetHub/json-rpc.d.ts +89 -0
  84. package/rococoAssetHub/query.d.ts +1682 -0
  85. package/rococoAssetHub/runtime.d.ts +704 -0
  86. package/rococoAssetHub/tx.d.ts +9013 -0
  87. package/rococoAssetHub/types.d.ts +12352 -0
  88. package/substrate/consts.d.ts +2223 -0
  89. package/substrate/errors.d.ts +4023 -0
  90. package/substrate/events.d.ts +5430 -0
  91. package/substrate/index.d.ts +27 -0
  92. package/substrate/json-rpc.d.ts +101 -0
  93. package/substrate/query.d.ts +4083 -0
  94. package/substrate/runtime.d.ts +971 -0
  95. package/substrate/tx.d.ts +12501 -0
  96. package/substrate/types.d.ts +13380 -0
  97. package/westendAssetHub/consts.d.ts +787 -0
  98. package/westendAssetHub/errors.d.ts +1523 -0
  99. package/westendAssetHub/events.d.ts +2477 -0
  100. package/westendAssetHub/index.d.ts +27 -0
  101. package/westendAssetHub/json-rpc.d.ts +89 -0
  102. package/westendAssetHub/query.d.ts +1656 -0
  103. package/westendAssetHub/runtime.d.ts +652 -0
  104. package/westendAssetHub/tx.d.ts +8984 -0
  105. package/westendAssetHub/types.d.ts +12292 -0
@@ -0,0 +1,2477 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
+ import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Bytes, Permill } from 'dedot/codecs';
5
+ import type {
6
+ SpWeightsWeightV2Weight,
7
+ FrameSupportTokensMiscBalanceStatus,
8
+ StagingXcmV3MultilocationMultiLocation,
9
+ StagingXcmV4TraitsOutcome,
10
+ StagingXcmV4Location,
11
+ StagingXcmV4Xcm,
12
+ StagingXcmV4Response,
13
+ XcmVersionedAssets,
14
+ StagingXcmV4AssetAssets,
15
+ XcmV3TraitsError,
16
+ XcmVersionedLocation,
17
+ CumulusPrimitivesCoreAggregateMessageOrigin,
18
+ FrameSupportMessagesProcessMessageError,
19
+ PalletMultisigTimepoint,
20
+ AssetHubWestendRuntimeProxyType,
21
+ PalletNftsAttributeNamespace,
22
+ PalletNftsPriceWithDirection,
23
+ PalletNftsPalletAttributes,
24
+ } from './types';
25
+
26
+ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
27
+ /**
28
+ * Pallet `System`'s events
29
+ **/
30
+ system: {
31
+ /**
32
+ * An extrinsic completed successfully.
33
+ **/
34
+ ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
35
+
36
+ /**
37
+ * An extrinsic failed.
38
+ **/
39
+ ExtrinsicFailed: GenericPalletEvent<
40
+ Rv,
41
+ 'System',
42
+ 'ExtrinsicFailed',
43
+ { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
44
+ >;
45
+
46
+ /**
47
+ * `:code` was updated.
48
+ **/
49
+ CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
50
+
51
+ /**
52
+ * A new account was created.
53
+ **/
54
+ NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId32 }>;
55
+
56
+ /**
57
+ * An account was reaped.
58
+ **/
59
+ KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId32 }>;
60
+
61
+ /**
62
+ * On on-chain remark happened.
63
+ **/
64
+ Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
65
+
66
+ /**
67
+ * An upgrade was authorized.
68
+ **/
69
+ UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
70
+
71
+ /**
72
+ * Generic pallet event
73
+ **/
74
+ [prop: string]: GenericPalletEvent<Rv>;
75
+ };
76
+ /**
77
+ * Pallet `ParachainSystem`'s events
78
+ **/
79
+ parachainSystem: {
80
+ /**
81
+ * The validation function has been scheduled to apply.
82
+ **/
83
+ ValidationFunctionStored: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionStored', null>;
84
+
85
+ /**
86
+ * The validation function was applied as of the contained relay chain block number.
87
+ **/
88
+ ValidationFunctionApplied: GenericPalletEvent<
89
+ Rv,
90
+ 'ParachainSystem',
91
+ 'ValidationFunctionApplied',
92
+ { relayChainBlockNum: number }
93
+ >;
94
+
95
+ /**
96
+ * The relay-chain aborted the upgrade process.
97
+ **/
98
+ ValidationFunctionDiscarded: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionDiscarded', null>;
99
+
100
+ /**
101
+ * Some downward messages have been received and will be processed.
102
+ **/
103
+ DownwardMessagesReceived: GenericPalletEvent<Rv, 'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
104
+
105
+ /**
106
+ * Downward messages were processed using the given weight.
107
+ **/
108
+ DownwardMessagesProcessed: GenericPalletEvent<
109
+ Rv,
110
+ 'ParachainSystem',
111
+ 'DownwardMessagesProcessed',
112
+ { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
113
+ >;
114
+
115
+ /**
116
+ * An upward message was sent to the relay chain.
117
+ **/
118
+ UpwardMessageSent: GenericPalletEvent<
119
+ Rv,
120
+ 'ParachainSystem',
121
+ 'UpwardMessageSent',
122
+ { messageHash?: FixedBytes<32> | undefined }
123
+ >;
124
+
125
+ /**
126
+ * Generic pallet event
127
+ **/
128
+ [prop: string]: GenericPalletEvent<Rv>;
129
+ };
130
+ /**
131
+ * Pallet `Balances`'s events
132
+ **/
133
+ balances: {
134
+ /**
135
+ * An account was created with some free balance.
136
+ **/
137
+ Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
138
+
139
+ /**
140
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
141
+ * resulting in an outright loss.
142
+ **/
143
+ DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
144
+
145
+ /**
146
+ * Transfer succeeded.
147
+ **/
148
+ Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
149
+
150
+ /**
151
+ * A balance was set by root.
152
+ **/
153
+ BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
154
+
155
+ /**
156
+ * Some balance was reserved (moved from free to reserved).
157
+ **/
158
+ Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
159
+
160
+ /**
161
+ * Some balance was unreserved (moved from reserved to free).
162
+ **/
163
+ Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
164
+
165
+ /**
166
+ * Some balance was moved from the reserve of the first account to the second account.
167
+ * Final argument indicates the destination balance type.
168
+ **/
169
+ ReserveRepatriated: GenericPalletEvent<
170
+ Rv,
171
+ 'Balances',
172
+ 'ReserveRepatriated',
173
+ { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
174
+ >;
175
+
176
+ /**
177
+ * Some amount was deposited (e.g. for transaction fees).
178
+ **/
179
+ Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
180
+
181
+ /**
182
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
183
+ **/
184
+ Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
185
+
186
+ /**
187
+ * Some amount was removed from the account (e.g. for misbehavior).
188
+ **/
189
+ Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
190
+
191
+ /**
192
+ * Some amount was minted into an account.
193
+ **/
194
+ Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
195
+
196
+ /**
197
+ * Some amount was burned from an account.
198
+ **/
199
+ Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
200
+
201
+ /**
202
+ * Some amount was suspended from an account (it can be restored later).
203
+ **/
204
+ Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
205
+
206
+ /**
207
+ * Some amount was restored into an account.
208
+ **/
209
+ Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
210
+
211
+ /**
212
+ * An account was upgraded.
213
+ **/
214
+ Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId32 }>;
215
+
216
+ /**
217
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
218
+ **/
219
+ Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
220
+
221
+ /**
222
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
223
+ **/
224
+ Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
225
+
226
+ /**
227
+ * Some balance was locked.
228
+ **/
229
+ Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
230
+
231
+ /**
232
+ * Some balance was unlocked.
233
+ **/
234
+ Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
235
+
236
+ /**
237
+ * Some balance was frozen.
238
+ **/
239
+ Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
240
+
241
+ /**
242
+ * Some balance was thawed.
243
+ **/
244
+ Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
245
+
246
+ /**
247
+ * The `TotalIssuance` was forcefully changed.
248
+ **/
249
+ TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
250
+
251
+ /**
252
+ * Generic pallet event
253
+ **/
254
+ [prop: string]: GenericPalletEvent<Rv>;
255
+ };
256
+ /**
257
+ * Pallet `TransactionPayment`'s events
258
+ **/
259
+ transactionPayment: {
260
+ /**
261
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
262
+ * has been paid by `who`.
263
+ **/
264
+ TransactionFeePaid: GenericPalletEvent<
265
+ Rv,
266
+ 'TransactionPayment',
267
+ 'TransactionFeePaid',
268
+ { who: AccountId32; actualFee: bigint; tip: bigint }
269
+ >;
270
+
271
+ /**
272
+ * Generic pallet event
273
+ **/
274
+ [prop: string]: GenericPalletEvent<Rv>;
275
+ };
276
+ /**
277
+ * Pallet `AssetTxPayment`'s events
278
+ **/
279
+ assetTxPayment: {
280
+ /**
281
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
282
+ * has been paid by `who` in an asset `asset_id`.
283
+ **/
284
+ AssetTxFeePaid: GenericPalletEvent<
285
+ Rv,
286
+ 'AssetTxPayment',
287
+ 'AssetTxFeePaid',
288
+ { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV3MultilocationMultiLocation }
289
+ >;
290
+
291
+ /**
292
+ * A swap of the refund in native currency back to asset failed.
293
+ **/
294
+ AssetRefundFailed: GenericPalletEvent<Rv, 'AssetTxPayment', 'AssetRefundFailed', { nativeAmountKept: bigint }>;
295
+
296
+ /**
297
+ * Generic pallet event
298
+ **/
299
+ [prop: string]: GenericPalletEvent<Rv>;
300
+ };
301
+ /**
302
+ * Pallet `CollatorSelection`'s events
303
+ **/
304
+ collatorSelection: {
305
+ /**
306
+ * New Invulnerables were set.
307
+ **/
308
+ NewInvulnerables: GenericPalletEvent<
309
+ Rv,
310
+ 'CollatorSelection',
311
+ 'NewInvulnerables',
312
+ { invulnerables: Array<AccountId32> }
313
+ >;
314
+
315
+ /**
316
+ * A new Invulnerable was added.
317
+ **/
318
+ InvulnerableAdded: GenericPalletEvent<Rv, 'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
319
+
320
+ /**
321
+ * An Invulnerable was removed.
322
+ **/
323
+ InvulnerableRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
324
+
325
+ /**
326
+ * The number of desired candidates was set.
327
+ **/
328
+ NewDesiredCandidates: GenericPalletEvent<
329
+ Rv,
330
+ 'CollatorSelection',
331
+ 'NewDesiredCandidates',
332
+ { desiredCandidates: number }
333
+ >;
334
+
335
+ /**
336
+ * The candidacy bond was set.
337
+ **/
338
+ NewCandidacyBond: GenericPalletEvent<Rv, 'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
339
+
340
+ /**
341
+ * A new candidate joined.
342
+ **/
343
+ CandidateAdded: GenericPalletEvent<
344
+ Rv,
345
+ 'CollatorSelection',
346
+ 'CandidateAdded',
347
+ { accountId: AccountId32; deposit: bigint }
348
+ >;
349
+
350
+ /**
351
+ * Bond of a candidate updated.
352
+ **/
353
+ CandidateBondUpdated: GenericPalletEvent<
354
+ Rv,
355
+ 'CollatorSelection',
356
+ 'CandidateBondUpdated',
357
+ { accountId: AccountId32; deposit: bigint }
358
+ >;
359
+
360
+ /**
361
+ * A candidate was removed.
362
+ **/
363
+ CandidateRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
364
+
365
+ /**
366
+ * An account was replaced in the candidate list by another one.
367
+ **/
368
+ CandidateReplaced: GenericPalletEvent<
369
+ Rv,
370
+ 'CollatorSelection',
371
+ 'CandidateReplaced',
372
+ { old: AccountId32; new: AccountId32; deposit: bigint }
373
+ >;
374
+
375
+ /**
376
+ * An account was unable to be added to the Invulnerables because they did not have keys
377
+ * registered. Other Invulnerables may have been set.
378
+ **/
379
+ InvalidInvulnerableSkipped: GenericPalletEvent<
380
+ Rv,
381
+ 'CollatorSelection',
382
+ 'InvalidInvulnerableSkipped',
383
+ { accountId: AccountId32 }
384
+ >;
385
+
386
+ /**
387
+ * Generic pallet event
388
+ **/
389
+ [prop: string]: GenericPalletEvent<Rv>;
390
+ };
391
+ /**
392
+ * Pallet `Session`'s events
393
+ **/
394
+ session: {
395
+ /**
396
+ * New session has happened. Note that the argument is the session index, not the
397
+ * block number as the type might suggest.
398
+ **/
399
+ NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
400
+
401
+ /**
402
+ * Generic pallet event
403
+ **/
404
+ [prop: string]: GenericPalletEvent<Rv>;
405
+ };
406
+ /**
407
+ * Pallet `XcmpQueue`'s events
408
+ **/
409
+ xcmpQueue: {
410
+ /**
411
+ * An HRMP message was sent to a sibling parachain.
412
+ **/
413
+ XcmpMessageSent: GenericPalletEvent<Rv, 'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
414
+
415
+ /**
416
+ * Generic pallet event
417
+ **/
418
+ [prop: string]: GenericPalletEvent<Rv>;
419
+ };
420
+ /**
421
+ * Pallet `PolkadotXcm`'s events
422
+ **/
423
+ polkadotXcm: {
424
+ /**
425
+ * Execution of an XCM message was attempted.
426
+ **/
427
+ Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
428
+
429
+ /**
430
+ * A XCM message was sent.
431
+ **/
432
+ Sent: GenericPalletEvent<
433
+ Rv,
434
+ 'PolkadotXcm',
435
+ 'Sent',
436
+ {
437
+ origin: StagingXcmV4Location;
438
+ destination: StagingXcmV4Location;
439
+ message: StagingXcmV4Xcm;
440
+ messageId: FixedBytes<32>;
441
+ }
442
+ >;
443
+
444
+ /**
445
+ * Query response received which does not match a registered query. This may be because a
446
+ * matching query was never registered, it may be because it is a duplicate response, or
447
+ * because the query timed out.
448
+ **/
449
+ UnexpectedResponse: GenericPalletEvent<
450
+ Rv,
451
+ 'PolkadotXcm',
452
+ 'UnexpectedResponse',
453
+ { origin: StagingXcmV4Location; queryId: bigint }
454
+ >;
455
+
456
+ /**
457
+ * Query response has been received and is ready for taking with `take_response`. There is
458
+ * no registered notification call.
459
+ **/
460
+ ResponseReady: GenericPalletEvent<
461
+ Rv,
462
+ 'PolkadotXcm',
463
+ 'ResponseReady',
464
+ { queryId: bigint; response: StagingXcmV4Response }
465
+ >;
466
+
467
+ /**
468
+ * Query response has been received and query is removed. The registered notification has
469
+ * been dispatched and executed successfully.
470
+ **/
471
+ Notified: GenericPalletEvent<
472
+ Rv,
473
+ 'PolkadotXcm',
474
+ 'Notified',
475
+ { queryId: bigint; palletIndex: number; callIndex: number }
476
+ >;
477
+
478
+ /**
479
+ * Query response has been received and query is removed. The registered notification
480
+ * could not be dispatched because the dispatch weight is greater than the maximum weight
481
+ * originally budgeted by this runtime for the query result.
482
+ **/
483
+ NotifyOverweight: GenericPalletEvent<
484
+ Rv,
485
+ 'PolkadotXcm',
486
+ 'NotifyOverweight',
487
+ {
488
+ queryId: bigint;
489
+ palletIndex: number;
490
+ callIndex: number;
491
+ actualWeight: SpWeightsWeightV2Weight;
492
+ maxBudgetedWeight: SpWeightsWeightV2Weight;
493
+ }
494
+ >;
495
+
496
+ /**
497
+ * Query response has been received and query is removed. There was a general error with
498
+ * dispatching the notification call.
499
+ **/
500
+ NotifyDispatchError: GenericPalletEvent<
501
+ Rv,
502
+ 'PolkadotXcm',
503
+ 'NotifyDispatchError',
504
+ { queryId: bigint; palletIndex: number; callIndex: number }
505
+ >;
506
+
507
+ /**
508
+ * Query response has been received and query is removed. The dispatch was unable to be
509
+ * decoded into a `Call`; this might be due to dispatch function having a signature which
510
+ * is not `(origin, QueryId, Response)`.
511
+ **/
512
+ NotifyDecodeFailed: GenericPalletEvent<
513
+ Rv,
514
+ 'PolkadotXcm',
515
+ 'NotifyDecodeFailed',
516
+ { queryId: bigint; palletIndex: number; callIndex: number }
517
+ >;
518
+
519
+ /**
520
+ * Expected query response has been received but the origin location of the response does
521
+ * not match that expected. The query remains registered for a later, valid, response to
522
+ * be received and acted upon.
523
+ **/
524
+ InvalidResponder: GenericPalletEvent<
525
+ Rv,
526
+ 'PolkadotXcm',
527
+ 'InvalidResponder',
528
+ { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
529
+ >;
530
+
531
+ /**
532
+ * Expected query response has been received but the expected origin location placed in
533
+ * storage by this runtime previously cannot be decoded. The query remains registered.
534
+ *
535
+ * This is unexpected (since a location placed in storage in a previously executing
536
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
537
+ * valid response will be dropped. Manual governance intervention is probably going to be
538
+ * needed.
539
+ **/
540
+ InvalidResponderVersion: GenericPalletEvent<
541
+ Rv,
542
+ 'PolkadotXcm',
543
+ 'InvalidResponderVersion',
544
+ { origin: StagingXcmV4Location; queryId: bigint }
545
+ >;
546
+
547
+ /**
548
+ * Received query response has been read and removed.
549
+ **/
550
+ ResponseTaken: GenericPalletEvent<Rv, 'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
551
+
552
+ /**
553
+ * Some assets have been placed in an asset trap.
554
+ **/
555
+ AssetsTrapped: GenericPalletEvent<
556
+ Rv,
557
+ 'PolkadotXcm',
558
+ 'AssetsTrapped',
559
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
560
+ >;
561
+
562
+ /**
563
+ * An XCM version change notification message has been attempted to be sent.
564
+ *
565
+ * The cost of sending it (borne by the chain) is included.
566
+ **/
567
+ VersionChangeNotified: GenericPalletEvent<
568
+ Rv,
569
+ 'PolkadotXcm',
570
+ 'VersionChangeNotified',
571
+ { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
572
+ >;
573
+
574
+ /**
575
+ * The supported version of a location has been changed. This might be through an
576
+ * automatic notification or a manual intervention.
577
+ **/
578
+ SupportedVersionChanged: GenericPalletEvent<
579
+ Rv,
580
+ 'PolkadotXcm',
581
+ 'SupportedVersionChanged',
582
+ { location: StagingXcmV4Location; version: number }
583
+ >;
584
+
585
+ /**
586
+ * A given location which had a version change subscription was dropped owing to an error
587
+ * sending the notification to it.
588
+ **/
589
+ NotifyTargetSendFail: GenericPalletEvent<
590
+ Rv,
591
+ 'PolkadotXcm',
592
+ 'NotifyTargetSendFail',
593
+ { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
594
+ >;
595
+
596
+ /**
597
+ * A given location which had a version change subscription was dropped owing to an error
598
+ * migrating the location to our new XCM format.
599
+ **/
600
+ NotifyTargetMigrationFail: GenericPalletEvent<
601
+ Rv,
602
+ 'PolkadotXcm',
603
+ 'NotifyTargetMigrationFail',
604
+ { location: XcmVersionedLocation; queryId: bigint }
605
+ >;
606
+
607
+ /**
608
+ * Expected query response has been received but the expected querier location placed in
609
+ * storage by this runtime previously cannot be decoded. The query remains registered.
610
+ *
611
+ * This is unexpected (since a location placed in storage in a previously executing
612
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
613
+ * valid response will be dropped. Manual governance intervention is probably going to be
614
+ * needed.
615
+ **/
616
+ InvalidQuerierVersion: GenericPalletEvent<
617
+ Rv,
618
+ 'PolkadotXcm',
619
+ 'InvalidQuerierVersion',
620
+ { origin: StagingXcmV4Location; queryId: bigint }
621
+ >;
622
+
623
+ /**
624
+ * Expected query response has been received but the querier location of the response does
625
+ * not match the expected. The query remains registered for a later, valid, response to
626
+ * be received and acted upon.
627
+ **/
628
+ InvalidQuerier: GenericPalletEvent<
629
+ Rv,
630
+ 'PolkadotXcm',
631
+ 'InvalidQuerier',
632
+ {
633
+ origin: StagingXcmV4Location;
634
+ queryId: bigint;
635
+ expectedQuerier: StagingXcmV4Location;
636
+ maybeActualQuerier?: StagingXcmV4Location | undefined;
637
+ }
638
+ >;
639
+
640
+ /**
641
+ * A remote has requested XCM version change notification from us and we have honored it.
642
+ * A version information message is sent to them and its cost is included.
643
+ **/
644
+ VersionNotifyStarted: GenericPalletEvent<
645
+ Rv,
646
+ 'PolkadotXcm',
647
+ 'VersionNotifyStarted',
648
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
649
+ >;
650
+
651
+ /**
652
+ * We have requested that a remote chain send us XCM version change notifications.
653
+ **/
654
+ VersionNotifyRequested: GenericPalletEvent<
655
+ Rv,
656
+ 'PolkadotXcm',
657
+ 'VersionNotifyRequested',
658
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
659
+ >;
660
+
661
+ /**
662
+ * We have requested that a remote chain stops sending us XCM version change
663
+ * notifications.
664
+ **/
665
+ VersionNotifyUnrequested: GenericPalletEvent<
666
+ Rv,
667
+ 'PolkadotXcm',
668
+ 'VersionNotifyUnrequested',
669
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
670
+ >;
671
+
672
+ /**
673
+ * Fees were paid from a location for an operation (often for using `SendXcm`).
674
+ **/
675
+ FeesPaid: GenericPalletEvent<
676
+ Rv,
677
+ 'PolkadotXcm',
678
+ 'FeesPaid',
679
+ { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
680
+ >;
681
+
682
+ /**
683
+ * Some assets have been claimed from an asset trap
684
+ **/
685
+ AssetsClaimed: GenericPalletEvent<
686
+ Rv,
687
+ 'PolkadotXcm',
688
+ 'AssetsClaimed',
689
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
690
+ >;
691
+
692
+ /**
693
+ * A XCM version migration finished.
694
+ **/
695
+ VersionMigrationFinished: GenericPalletEvent<Rv, 'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
696
+
697
+ /**
698
+ * Generic pallet event
699
+ **/
700
+ [prop: string]: GenericPalletEvent<Rv>;
701
+ };
702
+ /**
703
+ * Pallet `CumulusXcm`'s events
704
+ **/
705
+ cumulusXcm: {
706
+ /**
707
+ * Downward message is invalid XCM.
708
+ * \[ id \]
709
+ **/
710
+ InvalidFormat: GenericPalletEvent<Rv, 'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
711
+
712
+ /**
713
+ * Downward message is unsupported version of XCM.
714
+ * \[ id \]
715
+ **/
716
+ UnsupportedVersion: GenericPalletEvent<Rv, 'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
717
+
718
+ /**
719
+ * Downward message executed with the given outcome.
720
+ * \[ id, outcome \]
721
+ **/
722
+ ExecutedDownward: GenericPalletEvent<
723
+ Rv,
724
+ 'CumulusXcm',
725
+ 'ExecutedDownward',
726
+ [FixedBytes<32>, StagingXcmV4TraitsOutcome]
727
+ >;
728
+
729
+ /**
730
+ * Generic pallet event
731
+ **/
732
+ [prop: string]: GenericPalletEvent<Rv>;
733
+ };
734
+ /**
735
+ * Pallet `MessageQueue`'s events
736
+ **/
737
+ messageQueue: {
738
+ /**
739
+ * Message discarded due to an error in the `MessageProcessor` (usually a format error).
740
+ **/
741
+ ProcessingFailed: GenericPalletEvent<
742
+ Rv,
743
+ 'MessageQueue',
744
+ 'ProcessingFailed',
745
+ {
746
+ /**
747
+ * The `blake2_256` hash of the message.
748
+ **/
749
+ id: H256;
750
+
751
+ /**
752
+ * The queue of the message.
753
+ **/
754
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
755
+
756
+ /**
757
+ * The error that occurred.
758
+ *
759
+ * This error is pretty opaque. More fine-grained errors need to be emitted as events
760
+ * by the `MessageProcessor`.
761
+ **/
762
+ error: FrameSupportMessagesProcessMessageError;
763
+ }
764
+ >;
765
+
766
+ /**
767
+ * Message is processed.
768
+ **/
769
+ Processed: GenericPalletEvent<
770
+ Rv,
771
+ 'MessageQueue',
772
+ 'Processed',
773
+ {
774
+ /**
775
+ * The `blake2_256` hash of the message.
776
+ **/
777
+ id: H256;
778
+
779
+ /**
780
+ * The queue of the message.
781
+ **/
782
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
783
+
784
+ /**
785
+ * How much weight was used to process the message.
786
+ **/
787
+ weightUsed: SpWeightsWeightV2Weight;
788
+
789
+ /**
790
+ * Whether the message was processed.
791
+ *
792
+ * Note that this does not mean that the underlying `MessageProcessor` was internally
793
+ * successful. It *solely* means that the MQ pallet will treat this as a success
794
+ * condition and discard the message. Any internal error needs to be emitted as events
795
+ * by the `MessageProcessor`.
796
+ **/
797
+ success: boolean;
798
+ }
799
+ >;
800
+
801
+ /**
802
+ * Message placed in overweight queue.
803
+ **/
804
+ OverweightEnqueued: GenericPalletEvent<
805
+ Rv,
806
+ 'MessageQueue',
807
+ 'OverweightEnqueued',
808
+ {
809
+ /**
810
+ * The `blake2_256` hash of the message.
811
+ **/
812
+ id: FixedBytes<32>;
813
+
814
+ /**
815
+ * The queue of the message.
816
+ **/
817
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
818
+
819
+ /**
820
+ * The page of the message.
821
+ **/
822
+ pageIndex: number;
823
+
824
+ /**
825
+ * The index of the message within the page.
826
+ **/
827
+ messageIndex: number;
828
+ }
829
+ >;
830
+
831
+ /**
832
+ * This page was reaped.
833
+ **/
834
+ PageReaped: GenericPalletEvent<
835
+ Rv,
836
+ 'MessageQueue',
837
+ 'PageReaped',
838
+ {
839
+ /**
840
+ * The queue of the page.
841
+ **/
842
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
843
+
844
+ /**
845
+ * The index of the page.
846
+ **/
847
+ index: number;
848
+ }
849
+ >;
850
+
851
+ /**
852
+ * Generic pallet event
853
+ **/
854
+ [prop: string]: GenericPalletEvent<Rv>;
855
+ };
856
+ /**
857
+ * Pallet `Utility`'s events
858
+ **/
859
+ utility: {
860
+ /**
861
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
862
+ * well as the error.
863
+ **/
864
+ BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
865
+
866
+ /**
867
+ * Batch of dispatches completed fully with no error.
868
+ **/
869
+ BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
870
+
871
+ /**
872
+ * Batch of dispatches completed but has errors.
873
+ **/
874
+ BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
875
+
876
+ /**
877
+ * A single item within a Batch of dispatches has completed with no error.
878
+ **/
879
+ ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
880
+
881
+ /**
882
+ * A single item within a Batch of dispatches has completed with error.
883
+ **/
884
+ ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
885
+
886
+ /**
887
+ * A call was dispatched.
888
+ **/
889
+ DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
890
+
891
+ /**
892
+ * Generic pallet event
893
+ **/
894
+ [prop: string]: GenericPalletEvent<Rv>;
895
+ };
896
+ /**
897
+ * Pallet `Multisig`'s events
898
+ **/
899
+ multisig: {
900
+ /**
901
+ * A new multisig operation has begun.
902
+ **/
903
+ NewMultisig: GenericPalletEvent<
904
+ Rv,
905
+ 'Multisig',
906
+ 'NewMultisig',
907
+ { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
908
+ >;
909
+
910
+ /**
911
+ * A multisig operation has been approved by someone.
912
+ **/
913
+ MultisigApproval: GenericPalletEvent<
914
+ Rv,
915
+ 'Multisig',
916
+ 'MultisigApproval',
917
+ { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
918
+ >;
919
+
920
+ /**
921
+ * A multisig operation has been executed.
922
+ **/
923
+ MultisigExecuted: GenericPalletEvent<
924
+ Rv,
925
+ 'Multisig',
926
+ 'MultisigExecuted',
927
+ {
928
+ approving: AccountId32;
929
+ timepoint: PalletMultisigTimepoint;
930
+ multisig: AccountId32;
931
+ callHash: FixedBytes<32>;
932
+ result: Result<[], DispatchError>;
933
+ }
934
+ >;
935
+
936
+ /**
937
+ * A multisig operation has been cancelled.
938
+ **/
939
+ MultisigCancelled: GenericPalletEvent<
940
+ Rv,
941
+ 'Multisig',
942
+ 'MultisigCancelled',
943
+ { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
944
+ >;
945
+
946
+ /**
947
+ * Generic pallet event
948
+ **/
949
+ [prop: string]: GenericPalletEvent<Rv>;
950
+ };
951
+ /**
952
+ * Pallet `Proxy`'s events
953
+ **/
954
+ proxy: {
955
+ /**
956
+ * A proxy was executed correctly, with the given.
957
+ **/
958
+ ProxyExecuted: GenericPalletEvent<Rv, 'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
959
+
960
+ /**
961
+ * A pure account has been created by new proxy with given
962
+ * disambiguation index and proxy type.
963
+ **/
964
+ PureCreated: GenericPalletEvent<
965
+ Rv,
966
+ 'Proxy',
967
+ 'PureCreated',
968
+ { pure: AccountId32; who: AccountId32; proxyType: AssetHubWestendRuntimeProxyType; disambiguationIndex: number }
969
+ >;
970
+
971
+ /**
972
+ * An announcement was placed to make a call in the future.
973
+ **/
974
+ Announced: GenericPalletEvent<Rv, 'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
975
+
976
+ /**
977
+ * A proxy was added.
978
+ **/
979
+ ProxyAdded: GenericPalletEvent<
980
+ Rv,
981
+ 'Proxy',
982
+ 'ProxyAdded',
983
+ { delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubWestendRuntimeProxyType; delay: number }
984
+ >;
985
+
986
+ /**
987
+ * A proxy was removed.
988
+ **/
989
+ ProxyRemoved: GenericPalletEvent<
990
+ Rv,
991
+ 'Proxy',
992
+ 'ProxyRemoved',
993
+ { delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubWestendRuntimeProxyType; delay: number }
994
+ >;
995
+
996
+ /**
997
+ * Generic pallet event
998
+ **/
999
+ [prop: string]: GenericPalletEvent<Rv>;
1000
+ };
1001
+ /**
1002
+ * Pallet `Assets`'s events
1003
+ **/
1004
+ assets: {
1005
+ /**
1006
+ * Some asset class was created.
1007
+ **/
1008
+ Created: GenericPalletEvent<Rv, 'Assets', 'Created', { assetId: number; creator: AccountId32; owner: AccountId32 }>;
1009
+
1010
+ /**
1011
+ * Some assets were issued.
1012
+ **/
1013
+ Issued: GenericPalletEvent<Rv, 'Assets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
1014
+
1015
+ /**
1016
+ * Some assets were transferred.
1017
+ **/
1018
+ Transferred: GenericPalletEvent<
1019
+ Rv,
1020
+ 'Assets',
1021
+ 'Transferred',
1022
+ { assetId: number; from: AccountId32; to: AccountId32; amount: bigint }
1023
+ >;
1024
+
1025
+ /**
1026
+ * Some assets were destroyed.
1027
+ **/
1028
+ Burned: GenericPalletEvent<Rv, 'Assets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
1029
+
1030
+ /**
1031
+ * The management team changed.
1032
+ **/
1033
+ TeamChanged: GenericPalletEvent<
1034
+ Rv,
1035
+ 'Assets',
1036
+ 'TeamChanged',
1037
+ { assetId: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
1038
+ >;
1039
+
1040
+ /**
1041
+ * The owner changed.
1042
+ **/
1043
+ OwnerChanged: GenericPalletEvent<Rv, 'Assets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
1044
+
1045
+ /**
1046
+ * Some account `who` was frozen.
1047
+ **/
1048
+ Frozen: GenericPalletEvent<Rv, 'Assets', 'Frozen', { assetId: number; who: AccountId32 }>;
1049
+
1050
+ /**
1051
+ * Some account `who` was thawed.
1052
+ **/
1053
+ Thawed: GenericPalletEvent<Rv, 'Assets', 'Thawed', { assetId: number; who: AccountId32 }>;
1054
+
1055
+ /**
1056
+ * Some asset `asset_id` was frozen.
1057
+ **/
1058
+ AssetFrozen: GenericPalletEvent<Rv, 'Assets', 'AssetFrozen', { assetId: number }>;
1059
+
1060
+ /**
1061
+ * Some asset `asset_id` was thawed.
1062
+ **/
1063
+ AssetThawed: GenericPalletEvent<Rv, 'Assets', 'AssetThawed', { assetId: number }>;
1064
+
1065
+ /**
1066
+ * Accounts were destroyed for given asset.
1067
+ **/
1068
+ AccountsDestroyed: GenericPalletEvent<
1069
+ Rv,
1070
+ 'Assets',
1071
+ 'AccountsDestroyed',
1072
+ { assetId: number; accountsDestroyed: number; accountsRemaining: number }
1073
+ >;
1074
+
1075
+ /**
1076
+ * Approvals were destroyed for given asset.
1077
+ **/
1078
+ ApprovalsDestroyed: GenericPalletEvent<
1079
+ Rv,
1080
+ 'Assets',
1081
+ 'ApprovalsDestroyed',
1082
+ { assetId: number; approvalsDestroyed: number; approvalsRemaining: number }
1083
+ >;
1084
+
1085
+ /**
1086
+ * An asset class is in the process of being destroyed.
1087
+ **/
1088
+ DestructionStarted: GenericPalletEvent<Rv, 'Assets', 'DestructionStarted', { assetId: number }>;
1089
+
1090
+ /**
1091
+ * An asset class was destroyed.
1092
+ **/
1093
+ Destroyed: GenericPalletEvent<Rv, 'Assets', 'Destroyed', { assetId: number }>;
1094
+
1095
+ /**
1096
+ * Some asset class was force-created.
1097
+ **/
1098
+ ForceCreated: GenericPalletEvent<Rv, 'Assets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
1099
+
1100
+ /**
1101
+ * New metadata has been set for an asset.
1102
+ **/
1103
+ MetadataSet: GenericPalletEvent<
1104
+ Rv,
1105
+ 'Assets',
1106
+ 'MetadataSet',
1107
+ { assetId: number; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
1108
+ >;
1109
+
1110
+ /**
1111
+ * Metadata has been cleared for an asset.
1112
+ **/
1113
+ MetadataCleared: GenericPalletEvent<Rv, 'Assets', 'MetadataCleared', { assetId: number }>;
1114
+
1115
+ /**
1116
+ * (Additional) funds have been approved for transfer to a destination account.
1117
+ **/
1118
+ ApprovedTransfer: GenericPalletEvent<
1119
+ Rv,
1120
+ 'Assets',
1121
+ 'ApprovedTransfer',
1122
+ { assetId: number; source: AccountId32; delegate: AccountId32; amount: bigint }
1123
+ >;
1124
+
1125
+ /**
1126
+ * An approval for account `delegate` was cancelled by `owner`.
1127
+ **/
1128
+ ApprovalCancelled: GenericPalletEvent<
1129
+ Rv,
1130
+ 'Assets',
1131
+ 'ApprovalCancelled',
1132
+ { assetId: number; owner: AccountId32; delegate: AccountId32 }
1133
+ >;
1134
+
1135
+ /**
1136
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
1137
+ * the approved `delegate`.
1138
+ **/
1139
+ TransferredApproved: GenericPalletEvent<
1140
+ Rv,
1141
+ 'Assets',
1142
+ 'TransferredApproved',
1143
+ { assetId: number; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
1144
+ >;
1145
+
1146
+ /**
1147
+ * An asset has had its attributes changed by the `Force` origin.
1148
+ **/
1149
+ AssetStatusChanged: GenericPalletEvent<Rv, 'Assets', 'AssetStatusChanged', { assetId: number }>;
1150
+
1151
+ /**
1152
+ * The min_balance of an asset has been updated by the asset owner.
1153
+ **/
1154
+ AssetMinBalanceChanged: GenericPalletEvent<
1155
+ Rv,
1156
+ 'Assets',
1157
+ 'AssetMinBalanceChanged',
1158
+ { assetId: number; newMinBalance: bigint }
1159
+ >;
1160
+
1161
+ /**
1162
+ * Some account `who` was created with a deposit from `depositor`.
1163
+ **/
1164
+ Touched: GenericPalletEvent<Rv, 'Assets', 'Touched', { assetId: number; who: AccountId32; depositor: AccountId32 }>;
1165
+
1166
+ /**
1167
+ * Some account `who` was blocked.
1168
+ **/
1169
+ Blocked: GenericPalletEvent<Rv, 'Assets', 'Blocked', { assetId: number; who: AccountId32 }>;
1170
+
1171
+ /**
1172
+ * Generic pallet event
1173
+ **/
1174
+ [prop: string]: GenericPalletEvent<Rv>;
1175
+ };
1176
+ /**
1177
+ * Pallet `Uniques`'s events
1178
+ **/
1179
+ uniques: {
1180
+ /**
1181
+ * A `collection` was created.
1182
+ **/
1183
+ Created: GenericPalletEvent<
1184
+ Rv,
1185
+ 'Uniques',
1186
+ 'Created',
1187
+ { collection: number; creator: AccountId32; owner: AccountId32 }
1188
+ >;
1189
+
1190
+ /**
1191
+ * A `collection` was force-created.
1192
+ **/
1193
+ ForceCreated: GenericPalletEvent<Rv, 'Uniques', 'ForceCreated', { collection: number; owner: AccountId32 }>;
1194
+
1195
+ /**
1196
+ * A `collection` was destroyed.
1197
+ **/
1198
+ Destroyed: GenericPalletEvent<Rv, 'Uniques', 'Destroyed', { collection: number }>;
1199
+
1200
+ /**
1201
+ * An `item` was issued.
1202
+ **/
1203
+ Issued: GenericPalletEvent<Rv, 'Uniques', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
1204
+
1205
+ /**
1206
+ * An `item` was transferred.
1207
+ **/
1208
+ Transferred: GenericPalletEvent<
1209
+ Rv,
1210
+ 'Uniques',
1211
+ 'Transferred',
1212
+ { collection: number; item: number; from: AccountId32; to: AccountId32 }
1213
+ >;
1214
+
1215
+ /**
1216
+ * An `item` was destroyed.
1217
+ **/
1218
+ Burned: GenericPalletEvent<Rv, 'Uniques', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
1219
+
1220
+ /**
1221
+ * Some `item` was frozen.
1222
+ **/
1223
+ Frozen: GenericPalletEvent<Rv, 'Uniques', 'Frozen', { collection: number; item: number }>;
1224
+
1225
+ /**
1226
+ * Some `item` was thawed.
1227
+ **/
1228
+ Thawed: GenericPalletEvent<Rv, 'Uniques', 'Thawed', { collection: number; item: number }>;
1229
+
1230
+ /**
1231
+ * Some `collection` was frozen.
1232
+ **/
1233
+ CollectionFrozen: GenericPalletEvent<Rv, 'Uniques', 'CollectionFrozen', { collection: number }>;
1234
+
1235
+ /**
1236
+ * Some `collection` was thawed.
1237
+ **/
1238
+ CollectionThawed: GenericPalletEvent<Rv, 'Uniques', 'CollectionThawed', { collection: number }>;
1239
+
1240
+ /**
1241
+ * The owner changed.
1242
+ **/
1243
+ OwnerChanged: GenericPalletEvent<Rv, 'Uniques', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
1244
+
1245
+ /**
1246
+ * The management team changed.
1247
+ **/
1248
+ TeamChanged: GenericPalletEvent<
1249
+ Rv,
1250
+ 'Uniques',
1251
+ 'TeamChanged',
1252
+ { collection: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
1253
+ >;
1254
+
1255
+ /**
1256
+ * An `item` of a `collection` has been approved by the `owner` for transfer by
1257
+ * a `delegate`.
1258
+ **/
1259
+ ApprovedTransfer: GenericPalletEvent<
1260
+ Rv,
1261
+ 'Uniques',
1262
+ 'ApprovedTransfer',
1263
+ { collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
1264
+ >;
1265
+
1266
+ /**
1267
+ * An approval for a `delegate` account to transfer the `item` of an item
1268
+ * `collection` was cancelled by its `owner`.
1269
+ **/
1270
+ ApprovalCancelled: GenericPalletEvent<
1271
+ Rv,
1272
+ 'Uniques',
1273
+ 'ApprovalCancelled',
1274
+ { collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
1275
+ >;
1276
+
1277
+ /**
1278
+ * A `collection` has had its attributes changed by the `Force` origin.
1279
+ **/
1280
+ ItemStatusChanged: GenericPalletEvent<Rv, 'Uniques', 'ItemStatusChanged', { collection: number }>;
1281
+
1282
+ /**
1283
+ * New metadata has been set for a `collection`.
1284
+ **/
1285
+ CollectionMetadataSet: GenericPalletEvent<
1286
+ Rv,
1287
+ 'Uniques',
1288
+ 'CollectionMetadataSet',
1289
+ { collection: number; data: Bytes; isFrozen: boolean }
1290
+ >;
1291
+
1292
+ /**
1293
+ * Metadata has been cleared for a `collection`.
1294
+ **/
1295
+ CollectionMetadataCleared: GenericPalletEvent<Rv, 'Uniques', 'CollectionMetadataCleared', { collection: number }>;
1296
+
1297
+ /**
1298
+ * New metadata has been set for an item.
1299
+ **/
1300
+ MetadataSet: GenericPalletEvent<
1301
+ Rv,
1302
+ 'Uniques',
1303
+ 'MetadataSet',
1304
+ { collection: number; item: number; data: Bytes; isFrozen: boolean }
1305
+ >;
1306
+
1307
+ /**
1308
+ * Metadata has been cleared for an item.
1309
+ **/
1310
+ MetadataCleared: GenericPalletEvent<Rv, 'Uniques', 'MetadataCleared', { collection: number; item: number }>;
1311
+
1312
+ /**
1313
+ * Metadata has been cleared for an item.
1314
+ **/
1315
+ Redeposited: GenericPalletEvent<
1316
+ Rv,
1317
+ 'Uniques',
1318
+ 'Redeposited',
1319
+ { collection: number; successfulItems: Array<number> }
1320
+ >;
1321
+
1322
+ /**
1323
+ * New attribute metadata has been set for a `collection` or `item`.
1324
+ **/
1325
+ AttributeSet: GenericPalletEvent<
1326
+ Rv,
1327
+ 'Uniques',
1328
+ 'AttributeSet',
1329
+ { collection: number; maybeItem?: number | undefined; key: Bytes; value: Bytes }
1330
+ >;
1331
+
1332
+ /**
1333
+ * Attribute metadata has been cleared for a `collection` or `item`.
1334
+ **/
1335
+ AttributeCleared: GenericPalletEvent<
1336
+ Rv,
1337
+ 'Uniques',
1338
+ 'AttributeCleared',
1339
+ { collection: number; maybeItem?: number | undefined; key: Bytes }
1340
+ >;
1341
+
1342
+ /**
1343
+ * Ownership acceptance has changed for an account.
1344
+ **/
1345
+ OwnershipAcceptanceChanged: GenericPalletEvent<
1346
+ Rv,
1347
+ 'Uniques',
1348
+ 'OwnershipAcceptanceChanged',
1349
+ { who: AccountId32; maybeCollection?: number | undefined }
1350
+ >;
1351
+
1352
+ /**
1353
+ * Max supply has been set for a collection.
1354
+ **/
1355
+ CollectionMaxSupplySet: GenericPalletEvent<
1356
+ Rv,
1357
+ 'Uniques',
1358
+ 'CollectionMaxSupplySet',
1359
+ { collection: number; maxSupply: number }
1360
+ >;
1361
+
1362
+ /**
1363
+ * The price was set for the instance.
1364
+ **/
1365
+ ItemPriceSet: GenericPalletEvent<
1366
+ Rv,
1367
+ 'Uniques',
1368
+ 'ItemPriceSet',
1369
+ { collection: number; item: number; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
1370
+ >;
1371
+
1372
+ /**
1373
+ * The price for the instance was removed.
1374
+ **/
1375
+ ItemPriceRemoved: GenericPalletEvent<Rv, 'Uniques', 'ItemPriceRemoved', { collection: number; item: number }>;
1376
+
1377
+ /**
1378
+ * An item was bought.
1379
+ **/
1380
+ ItemBought: GenericPalletEvent<
1381
+ Rv,
1382
+ 'Uniques',
1383
+ 'ItemBought',
1384
+ { collection: number; item: number; price: bigint; seller: AccountId32; buyer: AccountId32 }
1385
+ >;
1386
+
1387
+ /**
1388
+ * Generic pallet event
1389
+ **/
1390
+ [prop: string]: GenericPalletEvent<Rv>;
1391
+ };
1392
+ /**
1393
+ * Pallet `Nfts`'s events
1394
+ **/
1395
+ nfts: {
1396
+ /**
1397
+ * A `collection` was created.
1398
+ **/
1399
+ Created: GenericPalletEvent<
1400
+ Rv,
1401
+ 'Nfts',
1402
+ 'Created',
1403
+ { collection: number; creator: AccountId32; owner: AccountId32 }
1404
+ >;
1405
+
1406
+ /**
1407
+ * A `collection` was force-created.
1408
+ **/
1409
+ ForceCreated: GenericPalletEvent<Rv, 'Nfts', 'ForceCreated', { collection: number; owner: AccountId32 }>;
1410
+
1411
+ /**
1412
+ * A `collection` was destroyed.
1413
+ **/
1414
+ Destroyed: GenericPalletEvent<Rv, 'Nfts', 'Destroyed', { collection: number }>;
1415
+
1416
+ /**
1417
+ * An `item` was issued.
1418
+ **/
1419
+ Issued: GenericPalletEvent<Rv, 'Nfts', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
1420
+
1421
+ /**
1422
+ * An `item` was transferred.
1423
+ **/
1424
+ Transferred: GenericPalletEvent<
1425
+ Rv,
1426
+ 'Nfts',
1427
+ 'Transferred',
1428
+ { collection: number; item: number; from: AccountId32; to: AccountId32 }
1429
+ >;
1430
+
1431
+ /**
1432
+ * An `item` was destroyed.
1433
+ **/
1434
+ Burned: GenericPalletEvent<Rv, 'Nfts', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
1435
+
1436
+ /**
1437
+ * An `item` became non-transferable.
1438
+ **/
1439
+ ItemTransferLocked: GenericPalletEvent<Rv, 'Nfts', 'ItemTransferLocked', { collection: number; item: number }>;
1440
+
1441
+ /**
1442
+ * An `item` became transferable.
1443
+ **/
1444
+ ItemTransferUnlocked: GenericPalletEvent<Rv, 'Nfts', 'ItemTransferUnlocked', { collection: number; item: number }>;
1445
+
1446
+ /**
1447
+ * `item` metadata or attributes were locked.
1448
+ **/
1449
+ ItemPropertiesLocked: GenericPalletEvent<
1450
+ Rv,
1451
+ 'Nfts',
1452
+ 'ItemPropertiesLocked',
1453
+ { collection: number; item: number; lockMetadata: boolean; lockAttributes: boolean }
1454
+ >;
1455
+
1456
+ /**
1457
+ * Some `collection` was locked.
1458
+ **/
1459
+ CollectionLocked: GenericPalletEvent<Rv, 'Nfts', 'CollectionLocked', { collection: number }>;
1460
+
1461
+ /**
1462
+ * The owner changed.
1463
+ **/
1464
+ OwnerChanged: GenericPalletEvent<Rv, 'Nfts', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
1465
+
1466
+ /**
1467
+ * The management team changed.
1468
+ **/
1469
+ TeamChanged: GenericPalletEvent<
1470
+ Rv,
1471
+ 'Nfts',
1472
+ 'TeamChanged',
1473
+ {
1474
+ collection: number;
1475
+ issuer?: AccountId32 | undefined;
1476
+ admin?: AccountId32 | undefined;
1477
+ freezer?: AccountId32 | undefined;
1478
+ }
1479
+ >;
1480
+
1481
+ /**
1482
+ * An `item` of a `collection` has been approved by the `owner` for transfer by
1483
+ * a `delegate`.
1484
+ **/
1485
+ TransferApproved: GenericPalletEvent<
1486
+ Rv,
1487
+ 'Nfts',
1488
+ 'TransferApproved',
1489
+ { collection: number; item: number; owner: AccountId32; delegate: AccountId32; deadline?: number | undefined }
1490
+ >;
1491
+
1492
+ /**
1493
+ * An approval for a `delegate` account to transfer the `item` of an item
1494
+ * `collection` was cancelled by its `owner`.
1495
+ **/
1496
+ ApprovalCancelled: GenericPalletEvent<
1497
+ Rv,
1498
+ 'Nfts',
1499
+ 'ApprovalCancelled',
1500
+ { collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
1501
+ >;
1502
+
1503
+ /**
1504
+ * All approvals of an item got cancelled.
1505
+ **/
1506
+ AllApprovalsCancelled: GenericPalletEvent<
1507
+ Rv,
1508
+ 'Nfts',
1509
+ 'AllApprovalsCancelled',
1510
+ { collection: number; item: number; owner: AccountId32 }
1511
+ >;
1512
+
1513
+ /**
1514
+ * A `collection` has had its config changed by the `Force` origin.
1515
+ **/
1516
+ CollectionConfigChanged: GenericPalletEvent<Rv, 'Nfts', 'CollectionConfigChanged', { collection: number }>;
1517
+
1518
+ /**
1519
+ * New metadata has been set for a `collection`.
1520
+ **/
1521
+ CollectionMetadataSet: GenericPalletEvent<Rv, 'Nfts', 'CollectionMetadataSet', { collection: number; data: Bytes }>;
1522
+
1523
+ /**
1524
+ * Metadata has been cleared for a `collection`.
1525
+ **/
1526
+ CollectionMetadataCleared: GenericPalletEvent<Rv, 'Nfts', 'CollectionMetadataCleared', { collection: number }>;
1527
+
1528
+ /**
1529
+ * New metadata has been set for an item.
1530
+ **/
1531
+ ItemMetadataSet: GenericPalletEvent<
1532
+ Rv,
1533
+ 'Nfts',
1534
+ 'ItemMetadataSet',
1535
+ { collection: number; item: number; data: Bytes }
1536
+ >;
1537
+
1538
+ /**
1539
+ * Metadata has been cleared for an item.
1540
+ **/
1541
+ ItemMetadataCleared: GenericPalletEvent<Rv, 'Nfts', 'ItemMetadataCleared', { collection: number; item: number }>;
1542
+
1543
+ /**
1544
+ * The deposit for a set of `item`s within a `collection` has been updated.
1545
+ **/
1546
+ Redeposited: GenericPalletEvent<Rv, 'Nfts', 'Redeposited', { collection: number; successfulItems: Array<number> }>;
1547
+
1548
+ /**
1549
+ * New attribute metadata has been set for a `collection` or `item`.
1550
+ **/
1551
+ AttributeSet: GenericPalletEvent<
1552
+ Rv,
1553
+ 'Nfts',
1554
+ 'AttributeSet',
1555
+ {
1556
+ collection: number;
1557
+ maybeItem?: number | undefined;
1558
+ key: Bytes;
1559
+ value: Bytes;
1560
+ namespace: PalletNftsAttributeNamespace;
1561
+ }
1562
+ >;
1563
+
1564
+ /**
1565
+ * Attribute metadata has been cleared for a `collection` or `item`.
1566
+ **/
1567
+ AttributeCleared: GenericPalletEvent<
1568
+ Rv,
1569
+ 'Nfts',
1570
+ 'AttributeCleared',
1571
+ { collection: number; maybeItem?: number | undefined; key: Bytes; namespace: PalletNftsAttributeNamespace }
1572
+ >;
1573
+
1574
+ /**
1575
+ * A new approval to modify item attributes was added.
1576
+ **/
1577
+ ItemAttributesApprovalAdded: GenericPalletEvent<
1578
+ Rv,
1579
+ 'Nfts',
1580
+ 'ItemAttributesApprovalAdded',
1581
+ { collection: number; item: number; delegate: AccountId32 }
1582
+ >;
1583
+
1584
+ /**
1585
+ * A new approval to modify item attributes was removed.
1586
+ **/
1587
+ ItemAttributesApprovalRemoved: GenericPalletEvent<
1588
+ Rv,
1589
+ 'Nfts',
1590
+ 'ItemAttributesApprovalRemoved',
1591
+ { collection: number; item: number; delegate: AccountId32 }
1592
+ >;
1593
+
1594
+ /**
1595
+ * Ownership acceptance has changed for an account.
1596
+ **/
1597
+ OwnershipAcceptanceChanged: GenericPalletEvent<
1598
+ Rv,
1599
+ 'Nfts',
1600
+ 'OwnershipAcceptanceChanged',
1601
+ { who: AccountId32; maybeCollection?: number | undefined }
1602
+ >;
1603
+
1604
+ /**
1605
+ * Max supply has been set for a collection.
1606
+ **/
1607
+ CollectionMaxSupplySet: GenericPalletEvent<
1608
+ Rv,
1609
+ 'Nfts',
1610
+ 'CollectionMaxSupplySet',
1611
+ { collection: number; maxSupply: number }
1612
+ >;
1613
+
1614
+ /**
1615
+ * Mint settings for a collection had changed.
1616
+ **/
1617
+ CollectionMintSettingsUpdated: GenericPalletEvent<
1618
+ Rv,
1619
+ 'Nfts',
1620
+ 'CollectionMintSettingsUpdated',
1621
+ { collection: number }
1622
+ >;
1623
+
1624
+ /**
1625
+ * Event gets emitted when the `NextCollectionId` gets incremented.
1626
+ **/
1627
+ NextCollectionIdIncremented: GenericPalletEvent<
1628
+ Rv,
1629
+ 'Nfts',
1630
+ 'NextCollectionIdIncremented',
1631
+ { nextId?: number | undefined }
1632
+ >;
1633
+
1634
+ /**
1635
+ * The price was set for the item.
1636
+ **/
1637
+ ItemPriceSet: GenericPalletEvent<
1638
+ Rv,
1639
+ 'Nfts',
1640
+ 'ItemPriceSet',
1641
+ { collection: number; item: number; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
1642
+ >;
1643
+
1644
+ /**
1645
+ * The price for the item was removed.
1646
+ **/
1647
+ ItemPriceRemoved: GenericPalletEvent<Rv, 'Nfts', 'ItemPriceRemoved', { collection: number; item: number }>;
1648
+
1649
+ /**
1650
+ * An item was bought.
1651
+ **/
1652
+ ItemBought: GenericPalletEvent<
1653
+ Rv,
1654
+ 'Nfts',
1655
+ 'ItemBought',
1656
+ { collection: number; item: number; price: bigint; seller: AccountId32; buyer: AccountId32 }
1657
+ >;
1658
+
1659
+ /**
1660
+ * A tip was sent.
1661
+ **/
1662
+ TipSent: GenericPalletEvent<
1663
+ Rv,
1664
+ 'Nfts',
1665
+ 'TipSent',
1666
+ { collection: number; item: number; sender: AccountId32; receiver: AccountId32; amount: bigint }
1667
+ >;
1668
+
1669
+ /**
1670
+ * An `item` swap intent was created.
1671
+ **/
1672
+ SwapCreated: GenericPalletEvent<
1673
+ Rv,
1674
+ 'Nfts',
1675
+ 'SwapCreated',
1676
+ {
1677
+ offeredCollection: number;
1678
+ offeredItem: number;
1679
+ desiredCollection: number;
1680
+ desiredItem?: number | undefined;
1681
+ price?: PalletNftsPriceWithDirection | undefined;
1682
+ deadline: number;
1683
+ }
1684
+ >;
1685
+
1686
+ /**
1687
+ * The swap was cancelled.
1688
+ **/
1689
+ SwapCancelled: GenericPalletEvent<
1690
+ Rv,
1691
+ 'Nfts',
1692
+ 'SwapCancelled',
1693
+ {
1694
+ offeredCollection: number;
1695
+ offeredItem: number;
1696
+ desiredCollection: number;
1697
+ desiredItem?: number | undefined;
1698
+ price?: PalletNftsPriceWithDirection | undefined;
1699
+ deadline: number;
1700
+ }
1701
+ >;
1702
+
1703
+ /**
1704
+ * The swap has been claimed.
1705
+ **/
1706
+ SwapClaimed: GenericPalletEvent<
1707
+ Rv,
1708
+ 'Nfts',
1709
+ 'SwapClaimed',
1710
+ {
1711
+ sentCollection: number;
1712
+ sentItem: number;
1713
+ sentItemOwner: AccountId32;
1714
+ receivedCollection: number;
1715
+ receivedItem: number;
1716
+ receivedItemOwner: AccountId32;
1717
+ price?: PalletNftsPriceWithDirection | undefined;
1718
+ deadline: number;
1719
+ }
1720
+ >;
1721
+
1722
+ /**
1723
+ * New attributes have been set for an `item` of the `collection`.
1724
+ **/
1725
+ PreSignedAttributesSet: GenericPalletEvent<
1726
+ Rv,
1727
+ 'Nfts',
1728
+ 'PreSignedAttributesSet',
1729
+ { collection: number; item: number; namespace: PalletNftsAttributeNamespace }
1730
+ >;
1731
+
1732
+ /**
1733
+ * A new attribute in the `Pallet` namespace was set for the `collection` or an `item`
1734
+ * within that `collection`.
1735
+ **/
1736
+ PalletAttributeSet: GenericPalletEvent<
1737
+ Rv,
1738
+ 'Nfts',
1739
+ 'PalletAttributeSet',
1740
+ { collection: number; item?: number | undefined; attribute: PalletNftsPalletAttributes; value: Bytes }
1741
+ >;
1742
+
1743
+ /**
1744
+ * Generic pallet event
1745
+ **/
1746
+ [prop: string]: GenericPalletEvent<Rv>;
1747
+ };
1748
+ /**
1749
+ * Pallet `ForeignAssets`'s events
1750
+ **/
1751
+ foreignAssets: {
1752
+ /**
1753
+ * Some asset class was created.
1754
+ **/
1755
+ Created: GenericPalletEvent<
1756
+ Rv,
1757
+ 'ForeignAssets',
1758
+ 'Created',
1759
+ { assetId: StagingXcmV3MultilocationMultiLocation; creator: AccountId32; owner: AccountId32 }
1760
+ >;
1761
+
1762
+ /**
1763
+ * Some assets were issued.
1764
+ **/
1765
+ Issued: GenericPalletEvent<
1766
+ Rv,
1767
+ 'ForeignAssets',
1768
+ 'Issued',
1769
+ { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; amount: bigint }
1770
+ >;
1771
+
1772
+ /**
1773
+ * Some assets were transferred.
1774
+ **/
1775
+ Transferred: GenericPalletEvent<
1776
+ Rv,
1777
+ 'ForeignAssets',
1778
+ 'Transferred',
1779
+ { assetId: StagingXcmV3MultilocationMultiLocation; from: AccountId32; to: AccountId32; amount: bigint }
1780
+ >;
1781
+
1782
+ /**
1783
+ * Some assets were destroyed.
1784
+ **/
1785
+ Burned: GenericPalletEvent<
1786
+ Rv,
1787
+ 'ForeignAssets',
1788
+ 'Burned',
1789
+ { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; balance: bigint }
1790
+ >;
1791
+
1792
+ /**
1793
+ * The management team changed.
1794
+ **/
1795
+ TeamChanged: GenericPalletEvent<
1796
+ Rv,
1797
+ 'ForeignAssets',
1798
+ 'TeamChanged',
1799
+ { assetId: StagingXcmV3MultilocationMultiLocation; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
1800
+ >;
1801
+
1802
+ /**
1803
+ * The owner changed.
1804
+ **/
1805
+ OwnerChanged: GenericPalletEvent<
1806
+ Rv,
1807
+ 'ForeignAssets',
1808
+ 'OwnerChanged',
1809
+ { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32 }
1810
+ >;
1811
+
1812
+ /**
1813
+ * Some account `who` was frozen.
1814
+ **/
1815
+ Frozen: GenericPalletEvent<
1816
+ Rv,
1817
+ 'ForeignAssets',
1818
+ 'Frozen',
1819
+ { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
1820
+ >;
1821
+
1822
+ /**
1823
+ * Some account `who` was thawed.
1824
+ **/
1825
+ Thawed: GenericPalletEvent<
1826
+ Rv,
1827
+ 'ForeignAssets',
1828
+ 'Thawed',
1829
+ { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
1830
+ >;
1831
+
1832
+ /**
1833
+ * Some asset `asset_id` was frozen.
1834
+ **/
1835
+ AssetFrozen: GenericPalletEvent<
1836
+ Rv,
1837
+ 'ForeignAssets',
1838
+ 'AssetFrozen',
1839
+ { assetId: StagingXcmV3MultilocationMultiLocation }
1840
+ >;
1841
+
1842
+ /**
1843
+ * Some asset `asset_id` was thawed.
1844
+ **/
1845
+ AssetThawed: GenericPalletEvent<
1846
+ Rv,
1847
+ 'ForeignAssets',
1848
+ 'AssetThawed',
1849
+ { assetId: StagingXcmV3MultilocationMultiLocation }
1850
+ >;
1851
+
1852
+ /**
1853
+ * Accounts were destroyed for given asset.
1854
+ **/
1855
+ AccountsDestroyed: GenericPalletEvent<
1856
+ Rv,
1857
+ 'ForeignAssets',
1858
+ 'AccountsDestroyed',
1859
+ { assetId: StagingXcmV3MultilocationMultiLocation; accountsDestroyed: number; accountsRemaining: number }
1860
+ >;
1861
+
1862
+ /**
1863
+ * Approvals were destroyed for given asset.
1864
+ **/
1865
+ ApprovalsDestroyed: GenericPalletEvent<
1866
+ Rv,
1867
+ 'ForeignAssets',
1868
+ 'ApprovalsDestroyed',
1869
+ { assetId: StagingXcmV3MultilocationMultiLocation; approvalsDestroyed: number; approvalsRemaining: number }
1870
+ >;
1871
+
1872
+ /**
1873
+ * An asset class is in the process of being destroyed.
1874
+ **/
1875
+ DestructionStarted: GenericPalletEvent<
1876
+ Rv,
1877
+ 'ForeignAssets',
1878
+ 'DestructionStarted',
1879
+ { assetId: StagingXcmV3MultilocationMultiLocation }
1880
+ >;
1881
+
1882
+ /**
1883
+ * An asset class was destroyed.
1884
+ **/
1885
+ Destroyed: GenericPalletEvent<
1886
+ Rv,
1887
+ 'ForeignAssets',
1888
+ 'Destroyed',
1889
+ { assetId: StagingXcmV3MultilocationMultiLocation }
1890
+ >;
1891
+
1892
+ /**
1893
+ * Some asset class was force-created.
1894
+ **/
1895
+ ForceCreated: GenericPalletEvent<
1896
+ Rv,
1897
+ 'ForeignAssets',
1898
+ 'ForceCreated',
1899
+ { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32 }
1900
+ >;
1901
+
1902
+ /**
1903
+ * New metadata has been set for an asset.
1904
+ **/
1905
+ MetadataSet: GenericPalletEvent<
1906
+ Rv,
1907
+ 'ForeignAssets',
1908
+ 'MetadataSet',
1909
+ {
1910
+ assetId: StagingXcmV3MultilocationMultiLocation;
1911
+ name: Bytes;
1912
+ symbol: Bytes;
1913
+ decimals: number;
1914
+ isFrozen: boolean;
1915
+ }
1916
+ >;
1917
+
1918
+ /**
1919
+ * Metadata has been cleared for an asset.
1920
+ **/
1921
+ MetadataCleared: GenericPalletEvent<
1922
+ Rv,
1923
+ 'ForeignAssets',
1924
+ 'MetadataCleared',
1925
+ { assetId: StagingXcmV3MultilocationMultiLocation }
1926
+ >;
1927
+
1928
+ /**
1929
+ * (Additional) funds have been approved for transfer to a destination account.
1930
+ **/
1931
+ ApprovedTransfer: GenericPalletEvent<
1932
+ Rv,
1933
+ 'ForeignAssets',
1934
+ 'ApprovedTransfer',
1935
+ { assetId: StagingXcmV3MultilocationMultiLocation; source: AccountId32; delegate: AccountId32; amount: bigint }
1936
+ >;
1937
+
1938
+ /**
1939
+ * An approval for account `delegate` was cancelled by `owner`.
1940
+ **/
1941
+ ApprovalCancelled: GenericPalletEvent<
1942
+ Rv,
1943
+ 'ForeignAssets',
1944
+ 'ApprovalCancelled',
1945
+ { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; delegate: AccountId32 }
1946
+ >;
1947
+
1948
+ /**
1949
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
1950
+ * the approved `delegate`.
1951
+ **/
1952
+ TransferredApproved: GenericPalletEvent<
1953
+ Rv,
1954
+ 'ForeignAssets',
1955
+ 'TransferredApproved',
1956
+ {
1957
+ assetId: StagingXcmV3MultilocationMultiLocation;
1958
+ owner: AccountId32;
1959
+ delegate: AccountId32;
1960
+ destination: AccountId32;
1961
+ amount: bigint;
1962
+ }
1963
+ >;
1964
+
1965
+ /**
1966
+ * An asset has had its attributes changed by the `Force` origin.
1967
+ **/
1968
+ AssetStatusChanged: GenericPalletEvent<
1969
+ Rv,
1970
+ 'ForeignAssets',
1971
+ 'AssetStatusChanged',
1972
+ { assetId: StagingXcmV3MultilocationMultiLocation }
1973
+ >;
1974
+
1975
+ /**
1976
+ * The min_balance of an asset has been updated by the asset owner.
1977
+ **/
1978
+ AssetMinBalanceChanged: GenericPalletEvent<
1979
+ Rv,
1980
+ 'ForeignAssets',
1981
+ 'AssetMinBalanceChanged',
1982
+ { assetId: StagingXcmV3MultilocationMultiLocation; newMinBalance: bigint }
1983
+ >;
1984
+
1985
+ /**
1986
+ * Some account `who` was created with a deposit from `depositor`.
1987
+ **/
1988
+ Touched: GenericPalletEvent<
1989
+ Rv,
1990
+ 'ForeignAssets',
1991
+ 'Touched',
1992
+ { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; depositor: AccountId32 }
1993
+ >;
1994
+
1995
+ /**
1996
+ * Some account `who` was blocked.
1997
+ **/
1998
+ Blocked: GenericPalletEvent<
1999
+ Rv,
2000
+ 'ForeignAssets',
2001
+ 'Blocked',
2002
+ { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
2003
+ >;
2004
+
2005
+ /**
2006
+ * Generic pallet event
2007
+ **/
2008
+ [prop: string]: GenericPalletEvent<Rv>;
2009
+ };
2010
+ /**
2011
+ * Pallet `NftFractionalization`'s events
2012
+ **/
2013
+ nftFractionalization: {
2014
+ /**
2015
+ * An NFT was successfully fractionalized.
2016
+ **/
2017
+ NftFractionalized: GenericPalletEvent<
2018
+ Rv,
2019
+ 'NftFractionalization',
2020
+ 'NftFractionalized',
2021
+ { nftCollection: number; nft: number; fractions: bigint; asset: number; beneficiary: AccountId32 }
2022
+ >;
2023
+
2024
+ /**
2025
+ * An NFT was successfully returned back.
2026
+ **/
2027
+ NftUnified: GenericPalletEvent<
2028
+ Rv,
2029
+ 'NftFractionalization',
2030
+ 'NftUnified',
2031
+ { nftCollection: number; nft: number; asset: number; beneficiary: AccountId32 }
2032
+ >;
2033
+
2034
+ /**
2035
+ * Generic pallet event
2036
+ **/
2037
+ [prop: string]: GenericPalletEvent<Rv>;
2038
+ };
2039
+ /**
2040
+ * Pallet `PoolAssets`'s events
2041
+ **/
2042
+ poolAssets: {
2043
+ /**
2044
+ * Some asset class was created.
2045
+ **/
2046
+ Created: GenericPalletEvent<
2047
+ Rv,
2048
+ 'PoolAssets',
2049
+ 'Created',
2050
+ { assetId: number; creator: AccountId32; owner: AccountId32 }
2051
+ >;
2052
+
2053
+ /**
2054
+ * Some assets were issued.
2055
+ **/
2056
+ Issued: GenericPalletEvent<Rv, 'PoolAssets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
2057
+
2058
+ /**
2059
+ * Some assets were transferred.
2060
+ **/
2061
+ Transferred: GenericPalletEvent<
2062
+ Rv,
2063
+ 'PoolAssets',
2064
+ 'Transferred',
2065
+ { assetId: number; from: AccountId32; to: AccountId32; amount: bigint }
2066
+ >;
2067
+
2068
+ /**
2069
+ * Some assets were destroyed.
2070
+ **/
2071
+ Burned: GenericPalletEvent<Rv, 'PoolAssets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
2072
+
2073
+ /**
2074
+ * The management team changed.
2075
+ **/
2076
+ TeamChanged: GenericPalletEvent<
2077
+ Rv,
2078
+ 'PoolAssets',
2079
+ 'TeamChanged',
2080
+ { assetId: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
2081
+ >;
2082
+
2083
+ /**
2084
+ * The owner changed.
2085
+ **/
2086
+ OwnerChanged: GenericPalletEvent<Rv, 'PoolAssets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
2087
+
2088
+ /**
2089
+ * Some account `who` was frozen.
2090
+ **/
2091
+ Frozen: GenericPalletEvent<Rv, 'PoolAssets', 'Frozen', { assetId: number; who: AccountId32 }>;
2092
+
2093
+ /**
2094
+ * Some account `who` was thawed.
2095
+ **/
2096
+ Thawed: GenericPalletEvent<Rv, 'PoolAssets', 'Thawed', { assetId: number; who: AccountId32 }>;
2097
+
2098
+ /**
2099
+ * Some asset `asset_id` was frozen.
2100
+ **/
2101
+ AssetFrozen: GenericPalletEvent<Rv, 'PoolAssets', 'AssetFrozen', { assetId: number }>;
2102
+
2103
+ /**
2104
+ * Some asset `asset_id` was thawed.
2105
+ **/
2106
+ AssetThawed: GenericPalletEvent<Rv, 'PoolAssets', 'AssetThawed', { assetId: number }>;
2107
+
2108
+ /**
2109
+ * Accounts were destroyed for given asset.
2110
+ **/
2111
+ AccountsDestroyed: GenericPalletEvent<
2112
+ Rv,
2113
+ 'PoolAssets',
2114
+ 'AccountsDestroyed',
2115
+ { assetId: number; accountsDestroyed: number; accountsRemaining: number }
2116
+ >;
2117
+
2118
+ /**
2119
+ * Approvals were destroyed for given asset.
2120
+ **/
2121
+ ApprovalsDestroyed: GenericPalletEvent<
2122
+ Rv,
2123
+ 'PoolAssets',
2124
+ 'ApprovalsDestroyed',
2125
+ { assetId: number; approvalsDestroyed: number; approvalsRemaining: number }
2126
+ >;
2127
+
2128
+ /**
2129
+ * An asset class is in the process of being destroyed.
2130
+ **/
2131
+ DestructionStarted: GenericPalletEvent<Rv, 'PoolAssets', 'DestructionStarted', { assetId: number }>;
2132
+
2133
+ /**
2134
+ * An asset class was destroyed.
2135
+ **/
2136
+ Destroyed: GenericPalletEvent<Rv, 'PoolAssets', 'Destroyed', { assetId: number }>;
2137
+
2138
+ /**
2139
+ * Some asset class was force-created.
2140
+ **/
2141
+ ForceCreated: GenericPalletEvent<Rv, 'PoolAssets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
2142
+
2143
+ /**
2144
+ * New metadata has been set for an asset.
2145
+ **/
2146
+ MetadataSet: GenericPalletEvent<
2147
+ Rv,
2148
+ 'PoolAssets',
2149
+ 'MetadataSet',
2150
+ { assetId: number; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
2151
+ >;
2152
+
2153
+ /**
2154
+ * Metadata has been cleared for an asset.
2155
+ **/
2156
+ MetadataCleared: GenericPalletEvent<Rv, 'PoolAssets', 'MetadataCleared', { assetId: number }>;
2157
+
2158
+ /**
2159
+ * (Additional) funds have been approved for transfer to a destination account.
2160
+ **/
2161
+ ApprovedTransfer: GenericPalletEvent<
2162
+ Rv,
2163
+ 'PoolAssets',
2164
+ 'ApprovedTransfer',
2165
+ { assetId: number; source: AccountId32; delegate: AccountId32; amount: bigint }
2166
+ >;
2167
+
2168
+ /**
2169
+ * An approval for account `delegate` was cancelled by `owner`.
2170
+ **/
2171
+ ApprovalCancelled: GenericPalletEvent<
2172
+ Rv,
2173
+ 'PoolAssets',
2174
+ 'ApprovalCancelled',
2175
+ { assetId: number; owner: AccountId32; delegate: AccountId32 }
2176
+ >;
2177
+
2178
+ /**
2179
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
2180
+ * the approved `delegate`.
2181
+ **/
2182
+ TransferredApproved: GenericPalletEvent<
2183
+ Rv,
2184
+ 'PoolAssets',
2185
+ 'TransferredApproved',
2186
+ { assetId: number; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
2187
+ >;
2188
+
2189
+ /**
2190
+ * An asset has had its attributes changed by the `Force` origin.
2191
+ **/
2192
+ AssetStatusChanged: GenericPalletEvent<Rv, 'PoolAssets', 'AssetStatusChanged', { assetId: number }>;
2193
+
2194
+ /**
2195
+ * The min_balance of an asset has been updated by the asset owner.
2196
+ **/
2197
+ AssetMinBalanceChanged: GenericPalletEvent<
2198
+ Rv,
2199
+ 'PoolAssets',
2200
+ 'AssetMinBalanceChanged',
2201
+ { assetId: number; newMinBalance: bigint }
2202
+ >;
2203
+
2204
+ /**
2205
+ * Some account `who` was created with a deposit from `depositor`.
2206
+ **/
2207
+ Touched: GenericPalletEvent<
2208
+ Rv,
2209
+ 'PoolAssets',
2210
+ 'Touched',
2211
+ { assetId: number; who: AccountId32; depositor: AccountId32 }
2212
+ >;
2213
+
2214
+ /**
2215
+ * Some account `who` was blocked.
2216
+ **/
2217
+ Blocked: GenericPalletEvent<Rv, 'PoolAssets', 'Blocked', { assetId: number; who: AccountId32 }>;
2218
+
2219
+ /**
2220
+ * Generic pallet event
2221
+ **/
2222
+ [prop: string]: GenericPalletEvent<Rv>;
2223
+ };
2224
+ /**
2225
+ * Pallet `AssetConversion`'s events
2226
+ **/
2227
+ assetConversion: {
2228
+ /**
2229
+ * A successful call of the `CreatePool` extrinsic will create this event.
2230
+ **/
2231
+ PoolCreated: GenericPalletEvent<
2232
+ Rv,
2233
+ 'AssetConversion',
2234
+ 'PoolCreated',
2235
+ {
2236
+ /**
2237
+ * The account that created the pool.
2238
+ **/
2239
+ creator: AccountId32;
2240
+
2241
+ /**
2242
+ * The pool id associated with the pool. Note that the order of the assets may not be
2243
+ * the same as the order specified in the create pool extrinsic.
2244
+ **/
2245
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2246
+
2247
+ /**
2248
+ * The account ID of the pool.
2249
+ **/
2250
+ poolAccount: AccountId32;
2251
+
2252
+ /**
2253
+ * The id of the liquidity tokens that will be minted when assets are added to this
2254
+ * pool.
2255
+ **/
2256
+ lpToken: number;
2257
+ }
2258
+ >;
2259
+
2260
+ /**
2261
+ * A successful call of the `AddLiquidity` extrinsic will create this event.
2262
+ **/
2263
+ LiquidityAdded: GenericPalletEvent<
2264
+ Rv,
2265
+ 'AssetConversion',
2266
+ 'LiquidityAdded',
2267
+ {
2268
+ /**
2269
+ * The account that the liquidity was taken from.
2270
+ **/
2271
+ who: AccountId32;
2272
+
2273
+ /**
2274
+ * The account that the liquidity tokens were minted to.
2275
+ **/
2276
+ mintTo: AccountId32;
2277
+
2278
+ /**
2279
+ * The pool id of the pool that the liquidity was added to.
2280
+ **/
2281
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2282
+
2283
+ /**
2284
+ * The amount of the first asset that was added to the pool.
2285
+ **/
2286
+ amount1Provided: bigint;
2287
+
2288
+ /**
2289
+ * The amount of the second asset that was added to the pool.
2290
+ **/
2291
+ amount2Provided: bigint;
2292
+
2293
+ /**
2294
+ * The id of the lp token that was minted.
2295
+ **/
2296
+ lpToken: number;
2297
+
2298
+ /**
2299
+ * The amount of lp tokens that were minted of that id.
2300
+ **/
2301
+ lpTokenMinted: bigint;
2302
+ }
2303
+ >;
2304
+
2305
+ /**
2306
+ * A successful call of the `RemoveLiquidity` extrinsic will create this event.
2307
+ **/
2308
+ LiquidityRemoved: GenericPalletEvent<
2309
+ Rv,
2310
+ 'AssetConversion',
2311
+ 'LiquidityRemoved',
2312
+ {
2313
+ /**
2314
+ * The account that the liquidity tokens were burned from.
2315
+ **/
2316
+ who: AccountId32;
2317
+
2318
+ /**
2319
+ * The account that the assets were transferred to.
2320
+ **/
2321
+ withdrawTo: AccountId32;
2322
+
2323
+ /**
2324
+ * The pool id that the liquidity was removed from.
2325
+ **/
2326
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2327
+
2328
+ /**
2329
+ * The amount of the first asset that was removed from the pool.
2330
+ **/
2331
+ amount1: bigint;
2332
+
2333
+ /**
2334
+ * The amount of the second asset that was removed from the pool.
2335
+ **/
2336
+ amount2: bigint;
2337
+
2338
+ /**
2339
+ * The id of the lp token that was burned.
2340
+ **/
2341
+ lpToken: number;
2342
+
2343
+ /**
2344
+ * The amount of lp tokens that were burned of that id.
2345
+ **/
2346
+ lpTokenBurned: bigint;
2347
+
2348
+ /**
2349
+ * Liquidity withdrawal fee (%).
2350
+ **/
2351
+ withdrawalFee: Permill;
2352
+ }
2353
+ >;
2354
+
2355
+ /**
2356
+ * Assets have been converted from one to another. Both `SwapExactTokenForToken`
2357
+ * and `SwapTokenForExactToken` will generate this event.
2358
+ **/
2359
+ SwapExecuted: GenericPalletEvent<
2360
+ Rv,
2361
+ 'AssetConversion',
2362
+ 'SwapExecuted',
2363
+ {
2364
+ /**
2365
+ * Which account was the instigator of the swap.
2366
+ **/
2367
+ who: AccountId32;
2368
+
2369
+ /**
2370
+ * The account that the assets were transferred to.
2371
+ **/
2372
+ sendTo: AccountId32;
2373
+
2374
+ /**
2375
+ * The amount of the first asset that was swapped.
2376
+ **/
2377
+ amountIn: bigint;
2378
+
2379
+ /**
2380
+ * The amount of the second asset that was received.
2381
+ **/
2382
+ amountOut: bigint;
2383
+
2384
+ /**
2385
+ * The route of asset IDs with amounts that the swap went through.
2386
+ * E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
2387
+ **/
2388
+ path: Array<[StagingXcmV3MultilocationMultiLocation, bigint]>;
2389
+ }
2390
+ >;
2391
+
2392
+ /**
2393
+ * Assets have been converted from one to another.
2394
+ **/
2395
+ SwapCreditExecuted: GenericPalletEvent<
2396
+ Rv,
2397
+ 'AssetConversion',
2398
+ 'SwapCreditExecuted',
2399
+ {
2400
+ /**
2401
+ * The amount of the first asset that was swapped.
2402
+ **/
2403
+ amountIn: bigint;
2404
+
2405
+ /**
2406
+ * The amount of the second asset that was received.
2407
+ **/
2408
+ amountOut: bigint;
2409
+
2410
+ /**
2411
+ * The route of asset IDs with amounts that the swap went through.
2412
+ * E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
2413
+ **/
2414
+ path: Array<[StagingXcmV3MultilocationMultiLocation, bigint]>;
2415
+ }
2416
+ >;
2417
+
2418
+ /**
2419
+ * Pool has been touched in order to fulfill operational requirements.
2420
+ **/
2421
+ Touched: GenericPalletEvent<
2422
+ Rv,
2423
+ 'AssetConversion',
2424
+ 'Touched',
2425
+ {
2426
+ /**
2427
+ * The ID of the pool.
2428
+ **/
2429
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2430
+
2431
+ /**
2432
+ * The account initiating the touch.
2433
+ **/
2434
+ who: AccountId32;
2435
+ }
2436
+ >;
2437
+
2438
+ /**
2439
+ * Generic pallet event
2440
+ **/
2441
+ [prop: string]: GenericPalletEvent<Rv>;
2442
+ };
2443
+ /**
2444
+ * Pallet `AssetConversionMigration`'s events
2445
+ **/
2446
+ assetConversionMigration: {
2447
+ /**
2448
+ * Indicates that a pool has been migrated to the new account ID.
2449
+ **/
2450
+ MigratedToNewAccount: GenericPalletEvent<
2451
+ Rv,
2452
+ 'AssetConversionMigration',
2453
+ 'MigratedToNewAccount',
2454
+ {
2455
+ /**
2456
+ * Pool's ID.
2457
+ **/
2458
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2459
+
2460
+ /**
2461
+ * Pool's prior account ID.
2462
+ **/
2463
+ priorAccount: AccountId32;
2464
+
2465
+ /**
2466
+ * Pool's new account ID.
2467
+ **/
2468
+ newAccount: AccountId32;
2469
+ }
2470
+ >;
2471
+
2472
+ /**
2473
+ * Generic pallet event
2474
+ **/
2475
+ [prop: string]: GenericPalletEvent<Rv>;
2476
+ };
2477
+ }