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