@dedot/chaintypes 0.99.0 → 0.100.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.
@@ -0,0 +1,4364 @@
1
+ // Generated by dedot cli
2
+
3
+ import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
+ import type {
5
+ DispatchInfo,
6
+ DispatchError,
7
+ AccountId32,
8
+ H256,
9
+ Result,
10
+ Bytes,
11
+ FixedBytes,
12
+ FixedU128,
13
+ Permill,
14
+ Perquintill,
15
+ H160,
16
+ } from 'dedot/codecs';
17
+ import type {
18
+ FrameSupportTokensMiscBalanceStatus,
19
+ PalletDemocracyVoteThreshold,
20
+ PalletDemocracyVoteAccountVote,
21
+ PalletDemocracyMetadataOwner,
22
+ HydradxRuntimeSystemProxyType,
23
+ PalletMultisigTimepoint,
24
+ PalletStateTrieMigrationMigrationCompute,
25
+ PalletStateTrieMigrationError,
26
+ PalletConvictionVotingVoteAccountVote,
27
+ FrameSupportPreimagesBounded,
28
+ PalletConvictionVotingTally,
29
+ FrameSupportDispatchPostDispatchInfo,
30
+ SpRuntimeDispatchErrorWithPostInfo,
31
+ PalletAssetRegistryAssetType,
32
+ HydradxRuntimeXcmAssetLocation,
33
+ PalletClaimsEthereumAddress,
34
+ PalletOmnipoolTradability,
35
+ PalletLiquidityMiningLoyaltyCurve,
36
+ NonZeroU16,
37
+ PalletStableswapPoolPegInfo,
38
+ HydradxTraitsStableswapAssetAmount,
39
+ PalletStableswapTradability,
40
+ PalletLbpPool,
41
+ PalletReferralsAssetAmount,
42
+ PalletReferralsLevel,
43
+ PalletReferralsFeeDistribution,
44
+ OrmlVestingVestingSchedule,
45
+ EthereumLog,
46
+ EvmCoreErrorExitReason,
47
+ PalletXykAssetPair,
48
+ PalletDcaOrder,
49
+ SpWeightsWeightV2Weight,
50
+ StagingXcmV4TraitsOutcome,
51
+ StagingXcmV4Location,
52
+ StagingXcmV4Xcm,
53
+ StagingXcmV4Response,
54
+ XcmVersionedAssets,
55
+ StagingXcmV4AssetAssets,
56
+ XcmV3TraitsError,
57
+ XcmVersionedLocation,
58
+ CumulusPrimitivesCoreAggregateMessageOrigin,
59
+ FrameSupportMessagesProcessMessageError,
60
+ StagingXcmV4Asset,
61
+ PalletBroadcastFiller,
62
+ PalletBroadcastTradeOperation,
63
+ PalletBroadcastAsset,
64
+ PalletBroadcastFee,
65
+ PalletBroadcastExecutionType,
66
+ } from './types.js';
67
+
68
+ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
69
+ /**
70
+ * Pallet `System`'s events
71
+ **/
72
+ system: {
73
+ /**
74
+ * An extrinsic completed successfully.
75
+ **/
76
+ ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
77
+
78
+ /**
79
+ * An extrinsic failed.
80
+ **/
81
+ ExtrinsicFailed: GenericPalletEvent<
82
+ Rv,
83
+ 'System',
84
+ 'ExtrinsicFailed',
85
+ { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
86
+ >;
87
+
88
+ /**
89
+ * `:code` was updated.
90
+ **/
91
+ CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
92
+
93
+ /**
94
+ * A new account was created.
95
+ **/
96
+ NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId32 }>;
97
+
98
+ /**
99
+ * An account was reaped.
100
+ **/
101
+ KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId32 }>;
102
+
103
+ /**
104
+ * On on-chain remark happened.
105
+ **/
106
+ Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
107
+
108
+ /**
109
+ * An upgrade was authorized.
110
+ **/
111
+ UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
112
+
113
+ /**
114
+ * Generic pallet event
115
+ **/
116
+ [prop: string]: GenericPalletEvent<Rv>;
117
+ };
118
+ /**
119
+ * Pallet `Balances`'s events
120
+ **/
121
+ balances: {
122
+ /**
123
+ * An account was created with some free balance.
124
+ **/
125
+ Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
126
+
127
+ /**
128
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
129
+ * resulting in an outright loss.
130
+ **/
131
+ DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
132
+
133
+ /**
134
+ * Transfer succeeded.
135
+ **/
136
+ Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
137
+
138
+ /**
139
+ * A balance was set by root.
140
+ **/
141
+ BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
142
+
143
+ /**
144
+ * Some balance was reserved (moved from free to reserved).
145
+ **/
146
+ Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
147
+
148
+ /**
149
+ * Some balance was unreserved (moved from reserved to free).
150
+ **/
151
+ Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
152
+
153
+ /**
154
+ * Some balance was moved from the reserve of the first account to the second account.
155
+ * Final argument indicates the destination balance type.
156
+ **/
157
+ ReserveRepatriated: GenericPalletEvent<
158
+ Rv,
159
+ 'Balances',
160
+ 'ReserveRepatriated',
161
+ { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
162
+ >;
163
+
164
+ /**
165
+ * Some amount was deposited (e.g. for transaction fees).
166
+ **/
167
+ Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
168
+
169
+ /**
170
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
171
+ **/
172
+ Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
173
+
174
+ /**
175
+ * Some amount was removed from the account (e.g. for misbehavior).
176
+ **/
177
+ Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
178
+
179
+ /**
180
+ * Some amount was minted into an account.
181
+ **/
182
+ Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
183
+
184
+ /**
185
+ * Some amount was burned from an account.
186
+ **/
187
+ Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
188
+
189
+ /**
190
+ * Some amount was suspended from an account (it can be restored later).
191
+ **/
192
+ Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
193
+
194
+ /**
195
+ * Some amount was restored into an account.
196
+ **/
197
+ Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
198
+
199
+ /**
200
+ * An account was upgraded.
201
+ **/
202
+ Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId32 }>;
203
+
204
+ /**
205
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
206
+ **/
207
+ Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
208
+
209
+ /**
210
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
211
+ **/
212
+ Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
213
+
214
+ /**
215
+ * Some balance was locked.
216
+ **/
217
+ Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
218
+
219
+ /**
220
+ * Some balance was unlocked.
221
+ **/
222
+ Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
223
+
224
+ /**
225
+ * Some balance was frozen.
226
+ **/
227
+ Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
228
+
229
+ /**
230
+ * Some balance was thawed.
231
+ **/
232
+ Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
233
+
234
+ /**
235
+ * The `TotalIssuance` was forcefully changed.
236
+ **/
237
+ TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
238
+
239
+ /**
240
+ * Generic pallet event
241
+ **/
242
+ [prop: string]: GenericPalletEvent<Rv>;
243
+ };
244
+ /**
245
+ * Pallet `TransactionPayment`'s events
246
+ **/
247
+ transactionPayment: {
248
+ /**
249
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
250
+ * has been paid by `who`.
251
+ **/
252
+ TransactionFeePaid: GenericPalletEvent<
253
+ Rv,
254
+ 'TransactionPayment',
255
+ 'TransactionFeePaid',
256
+ { who: AccountId32; actualFee: bigint; tip: bigint }
257
+ >;
258
+
259
+ /**
260
+ * Generic pallet event
261
+ **/
262
+ [prop: string]: GenericPalletEvent<Rv>;
263
+ };
264
+ /**
265
+ * Pallet `MultiTransactionPayment`'s events
266
+ **/
267
+ multiTransactionPayment: {
268
+ /**
269
+ * CurrencySet
270
+ * [who, currency]
271
+ **/
272
+ CurrencySet: GenericPalletEvent<
273
+ Rv,
274
+ 'MultiTransactionPayment',
275
+ 'CurrencySet',
276
+ { accountId: AccountId32; assetId: number }
277
+ >;
278
+
279
+ /**
280
+ * New accepted currency added
281
+ * [currency]
282
+ **/
283
+ CurrencyAdded: GenericPalletEvent<Rv, 'MultiTransactionPayment', 'CurrencyAdded', { assetId: number }>;
284
+
285
+ /**
286
+ * Accepted currency removed
287
+ * [currency]
288
+ **/
289
+ CurrencyRemoved: GenericPalletEvent<Rv, 'MultiTransactionPayment', 'CurrencyRemoved', { assetId: number }>;
290
+
291
+ /**
292
+ * Transaction fee paid in non-native currency
293
+ * [Account, Currency, Native fee amount, Non-native fee amount, Destination account]
294
+ **/
295
+ FeeWithdrawn: GenericPalletEvent<
296
+ Rv,
297
+ 'MultiTransactionPayment',
298
+ 'FeeWithdrawn',
299
+ {
300
+ accountId: AccountId32;
301
+ assetId: number;
302
+ nativeFeeAmount: bigint;
303
+ nonNativeFeeAmount: bigint;
304
+ destinationAccountId: AccountId32;
305
+ }
306
+ >;
307
+
308
+ /**
309
+ * Generic pallet event
310
+ **/
311
+ [prop: string]: GenericPalletEvent<Rv>;
312
+ };
313
+ /**
314
+ * Pallet `Treasury`'s events
315
+ **/
316
+ treasury: {
317
+ /**
318
+ * We have ended a spend period and will now allocate funds.
319
+ **/
320
+ Spending: GenericPalletEvent<Rv, 'Treasury', 'Spending', { budgetRemaining: bigint }>;
321
+
322
+ /**
323
+ * Some funds have been allocated.
324
+ **/
325
+ Awarded: GenericPalletEvent<
326
+ Rv,
327
+ 'Treasury',
328
+ 'Awarded',
329
+ { proposalIndex: number; award: bigint; account: AccountId32 }
330
+ >;
331
+
332
+ /**
333
+ * Some of our funds have been burnt.
334
+ **/
335
+ Burnt: GenericPalletEvent<Rv, 'Treasury', 'Burnt', { burntFunds: bigint }>;
336
+
337
+ /**
338
+ * Spending has finished; this is the amount that rolls over until next spend.
339
+ **/
340
+ Rollover: GenericPalletEvent<Rv, 'Treasury', 'Rollover', { rolloverBalance: bigint }>;
341
+
342
+ /**
343
+ * Some funds have been deposited.
344
+ **/
345
+ Deposit: GenericPalletEvent<Rv, 'Treasury', 'Deposit', { value: bigint }>;
346
+
347
+ /**
348
+ * A new spend proposal has been approved.
349
+ **/
350
+ SpendApproved: GenericPalletEvent<
351
+ Rv,
352
+ 'Treasury',
353
+ 'SpendApproved',
354
+ { proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
355
+ >;
356
+
357
+ /**
358
+ * The inactive funds of the pallet have been updated.
359
+ **/
360
+ UpdatedInactive: GenericPalletEvent<
361
+ Rv,
362
+ 'Treasury',
363
+ 'UpdatedInactive',
364
+ { reactivated: bigint; deactivated: bigint }
365
+ >;
366
+
367
+ /**
368
+ * A new asset spend proposal has been approved.
369
+ **/
370
+ AssetSpendApproved: GenericPalletEvent<
371
+ Rv,
372
+ 'Treasury',
373
+ 'AssetSpendApproved',
374
+ { index: number; assetKind: []; amount: bigint; beneficiary: AccountId32; validFrom: number; expireAt: number }
375
+ >;
376
+
377
+ /**
378
+ * An approved spend was voided.
379
+ **/
380
+ AssetSpendVoided: GenericPalletEvent<Rv, 'Treasury', 'AssetSpendVoided', { index: number }>;
381
+
382
+ /**
383
+ * A payment happened.
384
+ **/
385
+ Paid: GenericPalletEvent<Rv, 'Treasury', 'Paid', { index: number; paymentId: [] }>;
386
+
387
+ /**
388
+ * A payment failed and can be retried.
389
+ **/
390
+ PaymentFailed: GenericPalletEvent<Rv, 'Treasury', 'PaymentFailed', { index: number; paymentId: [] }>;
391
+
392
+ /**
393
+ * A spend was processed and removed from the storage. It might have been successfully
394
+ * paid or it may have expired.
395
+ **/
396
+ SpendProcessed: GenericPalletEvent<Rv, 'Treasury', 'SpendProcessed', { index: number }>;
397
+
398
+ /**
399
+ * Generic pallet event
400
+ **/
401
+ [prop: string]: GenericPalletEvent<Rv>;
402
+ };
403
+ /**
404
+ * Pallet `Utility`'s events
405
+ **/
406
+ utility: {
407
+ /**
408
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
409
+ * well as the error.
410
+ **/
411
+ BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
412
+
413
+ /**
414
+ * Batch of dispatches completed fully with no error.
415
+ **/
416
+ BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
417
+
418
+ /**
419
+ * Batch of dispatches completed but has errors.
420
+ **/
421
+ BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
422
+
423
+ /**
424
+ * A single item within a Batch of dispatches has completed with no error.
425
+ **/
426
+ ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
427
+
428
+ /**
429
+ * A single item within a Batch of dispatches has completed with error.
430
+ **/
431
+ ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
432
+
433
+ /**
434
+ * A call was dispatched.
435
+ **/
436
+ DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
437
+
438
+ /**
439
+ * Generic pallet event
440
+ **/
441
+ [prop: string]: GenericPalletEvent<Rv>;
442
+ };
443
+ /**
444
+ * Pallet `Preimage`'s events
445
+ **/
446
+ preimage: {
447
+ /**
448
+ * A preimage has been noted.
449
+ **/
450
+ Noted: GenericPalletEvent<Rv, 'Preimage', 'Noted', { hash: H256 }>;
451
+
452
+ /**
453
+ * A preimage has been requested.
454
+ **/
455
+ Requested: GenericPalletEvent<Rv, 'Preimage', 'Requested', { hash: H256 }>;
456
+
457
+ /**
458
+ * A preimage has ben cleared.
459
+ **/
460
+ Cleared: GenericPalletEvent<Rv, 'Preimage', 'Cleared', { hash: H256 }>;
461
+
462
+ /**
463
+ * Generic pallet event
464
+ **/
465
+ [prop: string]: GenericPalletEvent<Rv>;
466
+ };
467
+ /**
468
+ * Pallet `Identity`'s events
469
+ **/
470
+ identity: {
471
+ /**
472
+ * A name was set or reset (which will remove all judgements).
473
+ **/
474
+ IdentitySet: GenericPalletEvent<Rv, 'Identity', 'IdentitySet', { who: AccountId32 }>;
475
+
476
+ /**
477
+ * A name was cleared, and the given balance returned.
478
+ **/
479
+ IdentityCleared: GenericPalletEvent<Rv, 'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
480
+
481
+ /**
482
+ * A name was removed and the given balance slashed.
483
+ **/
484
+ IdentityKilled: GenericPalletEvent<Rv, 'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
485
+
486
+ /**
487
+ * A judgement was asked from a registrar.
488
+ **/
489
+ JudgementRequested: GenericPalletEvent<
490
+ Rv,
491
+ 'Identity',
492
+ 'JudgementRequested',
493
+ { who: AccountId32; registrarIndex: number }
494
+ >;
495
+
496
+ /**
497
+ * A judgement request was retracted.
498
+ **/
499
+ JudgementUnrequested: GenericPalletEvent<
500
+ Rv,
501
+ 'Identity',
502
+ 'JudgementUnrequested',
503
+ { who: AccountId32; registrarIndex: number }
504
+ >;
505
+
506
+ /**
507
+ * A judgement was given by a registrar.
508
+ **/
509
+ JudgementGiven: GenericPalletEvent<
510
+ Rv,
511
+ 'Identity',
512
+ 'JudgementGiven',
513
+ { target: AccountId32; registrarIndex: number }
514
+ >;
515
+
516
+ /**
517
+ * A registrar was added.
518
+ **/
519
+ RegistrarAdded: GenericPalletEvent<Rv, 'Identity', 'RegistrarAdded', { registrarIndex: number }>;
520
+
521
+ /**
522
+ * A sub-identity was added to an identity and the deposit paid.
523
+ **/
524
+ SubIdentityAdded: GenericPalletEvent<
525
+ Rv,
526
+ 'Identity',
527
+ 'SubIdentityAdded',
528
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
529
+ >;
530
+
531
+ /**
532
+ * A sub-identity was removed from an identity and the deposit freed.
533
+ **/
534
+ SubIdentityRemoved: GenericPalletEvent<
535
+ Rv,
536
+ 'Identity',
537
+ 'SubIdentityRemoved',
538
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
539
+ >;
540
+
541
+ /**
542
+ * A sub-identity was cleared, and the given deposit repatriated from the
543
+ * main identity account to the sub-identity account.
544
+ **/
545
+ SubIdentityRevoked: GenericPalletEvent<
546
+ Rv,
547
+ 'Identity',
548
+ 'SubIdentityRevoked',
549
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
550
+ >;
551
+
552
+ /**
553
+ * A username authority was added.
554
+ **/
555
+ AuthorityAdded: GenericPalletEvent<Rv, 'Identity', 'AuthorityAdded', { authority: AccountId32 }>;
556
+
557
+ /**
558
+ * A username authority was removed.
559
+ **/
560
+ AuthorityRemoved: GenericPalletEvent<Rv, 'Identity', 'AuthorityRemoved', { authority: AccountId32 }>;
561
+
562
+ /**
563
+ * A username was set for `who`.
564
+ **/
565
+ UsernameSet: GenericPalletEvent<Rv, 'Identity', 'UsernameSet', { who: AccountId32; username: Bytes }>;
566
+
567
+ /**
568
+ * A username was queued, but `who` must accept it prior to `expiration`.
569
+ **/
570
+ UsernameQueued: GenericPalletEvent<
571
+ Rv,
572
+ 'Identity',
573
+ 'UsernameQueued',
574
+ { who: AccountId32; username: Bytes; expiration: number }
575
+ >;
576
+
577
+ /**
578
+ * A queued username passed its expiration without being claimed and was removed.
579
+ **/
580
+ PreapprovalExpired: GenericPalletEvent<Rv, 'Identity', 'PreapprovalExpired', { whose: AccountId32 }>;
581
+
582
+ /**
583
+ * A username was set as a primary and can be looked up from `who`.
584
+ **/
585
+ PrimaryUsernameSet: GenericPalletEvent<Rv, 'Identity', 'PrimaryUsernameSet', { who: AccountId32; username: Bytes }>;
586
+
587
+ /**
588
+ * A dangling username (as in, a username corresponding to an account that has removed its
589
+ * identity) has been removed.
590
+ **/
591
+ DanglingUsernameRemoved: GenericPalletEvent<
592
+ Rv,
593
+ 'Identity',
594
+ 'DanglingUsernameRemoved',
595
+ { who: AccountId32; username: Bytes }
596
+ >;
597
+
598
+ /**
599
+ * Generic pallet event
600
+ **/
601
+ [prop: string]: GenericPalletEvent<Rv>;
602
+ };
603
+ /**
604
+ * Pallet `Democracy`'s events
605
+ **/
606
+ democracy: {
607
+ /**
608
+ * A motion has been proposed by a public account.
609
+ **/
610
+ Proposed: GenericPalletEvent<Rv, 'Democracy', 'Proposed', { proposalIndex: number; deposit: bigint }>;
611
+
612
+ /**
613
+ * A public proposal has been tabled for referendum vote.
614
+ **/
615
+ Tabled: GenericPalletEvent<Rv, 'Democracy', 'Tabled', { proposalIndex: number; deposit: bigint }>;
616
+
617
+ /**
618
+ * An external proposal has been tabled.
619
+ **/
620
+ ExternalTabled: GenericPalletEvent<Rv, 'Democracy', 'ExternalTabled', null>;
621
+
622
+ /**
623
+ * A referendum has begun.
624
+ **/
625
+ Started: GenericPalletEvent<
626
+ Rv,
627
+ 'Democracy',
628
+ 'Started',
629
+ { refIndex: number; threshold: PalletDemocracyVoteThreshold }
630
+ >;
631
+
632
+ /**
633
+ * A proposal has been approved by referendum.
634
+ **/
635
+ Passed: GenericPalletEvent<Rv, 'Democracy', 'Passed', { refIndex: number }>;
636
+
637
+ /**
638
+ * A proposal has been rejected by referendum.
639
+ **/
640
+ NotPassed: GenericPalletEvent<Rv, 'Democracy', 'NotPassed', { refIndex: number }>;
641
+
642
+ /**
643
+ * A referendum has been cancelled.
644
+ **/
645
+ Cancelled: GenericPalletEvent<Rv, 'Democracy', 'Cancelled', { refIndex: number }>;
646
+
647
+ /**
648
+ * An account has delegated their vote to another account.
649
+ **/
650
+ Delegated: GenericPalletEvent<Rv, 'Democracy', 'Delegated', { who: AccountId32; target: AccountId32 }>;
651
+
652
+ /**
653
+ * An account has cancelled a previous delegation operation.
654
+ **/
655
+ Undelegated: GenericPalletEvent<Rv, 'Democracy', 'Undelegated', { account: AccountId32 }>;
656
+
657
+ /**
658
+ * An external proposal has been vetoed.
659
+ **/
660
+ Vetoed: GenericPalletEvent<Rv, 'Democracy', 'Vetoed', { who: AccountId32; proposalHash: H256; until: number }>;
661
+
662
+ /**
663
+ * A proposal_hash has been blacklisted permanently.
664
+ **/
665
+ Blacklisted: GenericPalletEvent<Rv, 'Democracy', 'Blacklisted', { proposalHash: H256 }>;
666
+
667
+ /**
668
+ * An account has voted in a referendum
669
+ **/
670
+ Voted: GenericPalletEvent<
671
+ Rv,
672
+ 'Democracy',
673
+ 'Voted',
674
+ { voter: AccountId32; refIndex: number; vote: PalletDemocracyVoteAccountVote }
675
+ >;
676
+
677
+ /**
678
+ * An account has secconded a proposal
679
+ **/
680
+ Seconded: GenericPalletEvent<Rv, 'Democracy', 'Seconded', { seconder: AccountId32; propIndex: number }>;
681
+
682
+ /**
683
+ * A proposal got canceled.
684
+ **/
685
+ ProposalCanceled: GenericPalletEvent<Rv, 'Democracy', 'ProposalCanceled', { propIndex: number }>;
686
+
687
+ /**
688
+ * Metadata for a proposal or a referendum has been set.
689
+ **/
690
+ MetadataSet: GenericPalletEvent<
691
+ Rv,
692
+ 'Democracy',
693
+ 'MetadataSet',
694
+ {
695
+ /**
696
+ * Metadata owner.
697
+ **/
698
+ owner: PalletDemocracyMetadataOwner;
699
+
700
+ /**
701
+ * Preimage hash.
702
+ **/
703
+ hash: H256;
704
+ }
705
+ >;
706
+
707
+ /**
708
+ * Metadata for a proposal or a referendum has been cleared.
709
+ **/
710
+ MetadataCleared: GenericPalletEvent<
711
+ Rv,
712
+ 'Democracy',
713
+ 'MetadataCleared',
714
+ {
715
+ /**
716
+ * Metadata owner.
717
+ **/
718
+ owner: PalletDemocracyMetadataOwner;
719
+
720
+ /**
721
+ * Preimage hash.
722
+ **/
723
+ hash: H256;
724
+ }
725
+ >;
726
+
727
+ /**
728
+ * Metadata has been transferred to new owner.
729
+ **/
730
+ MetadataTransferred: GenericPalletEvent<
731
+ Rv,
732
+ 'Democracy',
733
+ 'MetadataTransferred',
734
+ {
735
+ /**
736
+ * Previous metadata owner.
737
+ **/
738
+ prevOwner: PalletDemocracyMetadataOwner;
739
+
740
+ /**
741
+ * New metadata owner.
742
+ **/
743
+ owner: PalletDemocracyMetadataOwner;
744
+
745
+ /**
746
+ * Preimage hash.
747
+ **/
748
+ hash: H256;
749
+ }
750
+ >;
751
+
752
+ /**
753
+ * Generic pallet event
754
+ **/
755
+ [prop: string]: GenericPalletEvent<Rv>;
756
+ };
757
+ /**
758
+ * Pallet `Elections`'s events
759
+ **/
760
+ elections: {
761
+ /**
762
+ * A new term with new_members. This indicates that enough candidates existed to run
763
+ * the election, not that enough have has been elected. The inner value must be examined
764
+ * for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
765
+ * slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
766
+ * begin with.
767
+ **/
768
+ NewTerm: GenericPalletEvent<Rv, 'Elections', 'NewTerm', { newMembers: Array<[AccountId32, bigint]> }>;
769
+
770
+ /**
771
+ * No (or not enough) candidates existed for this round. This is different from
772
+ * `NewTerm(\[\])`. See the description of `NewTerm`.
773
+ **/
774
+ EmptyTerm: GenericPalletEvent<Rv, 'Elections', 'EmptyTerm', null>;
775
+
776
+ /**
777
+ * Internal error happened while trying to perform election.
778
+ **/
779
+ ElectionError: GenericPalletEvent<Rv, 'Elections', 'ElectionError', null>;
780
+
781
+ /**
782
+ * A member has been removed. This should always be followed by either `NewTerm` or
783
+ * `EmptyTerm`.
784
+ **/
785
+ MemberKicked: GenericPalletEvent<Rv, 'Elections', 'MemberKicked', { member: AccountId32 }>;
786
+
787
+ /**
788
+ * Someone has renounced their candidacy.
789
+ **/
790
+ Renounced: GenericPalletEvent<Rv, 'Elections', 'Renounced', { candidate: AccountId32 }>;
791
+
792
+ /**
793
+ * A candidate was slashed by amount due to failing to obtain a seat as member or
794
+ * runner-up.
795
+ *
796
+ * Note that old members and runners-up are also candidates.
797
+ **/
798
+ CandidateSlashed: GenericPalletEvent<
799
+ Rv,
800
+ 'Elections',
801
+ 'CandidateSlashed',
802
+ { candidate: AccountId32; amount: bigint }
803
+ >;
804
+
805
+ /**
806
+ * A seat holder was slashed by amount by being forcefully removed from the set.
807
+ **/
808
+ SeatHolderSlashed: GenericPalletEvent<
809
+ Rv,
810
+ 'Elections',
811
+ 'SeatHolderSlashed',
812
+ { seatHolder: AccountId32; amount: bigint }
813
+ >;
814
+
815
+ /**
816
+ * Generic pallet event
817
+ **/
818
+ [prop: string]: GenericPalletEvent<Rv>;
819
+ };
820
+ /**
821
+ * Pallet `Council`'s events
822
+ **/
823
+ council: {
824
+ /**
825
+ * A motion (given hash) has been proposed (by given account) with a threshold (given
826
+ * `MemberCount`).
827
+ **/
828
+ Proposed: GenericPalletEvent<
829
+ Rv,
830
+ 'Council',
831
+ 'Proposed',
832
+ { account: AccountId32; proposalIndex: number; proposalHash: H256; threshold: number }
833
+ >;
834
+
835
+ /**
836
+ * A motion (given hash) has been voted on by given account, leaving
837
+ * a tally (yes votes and no votes given respectively as `MemberCount`).
838
+ **/
839
+ Voted: GenericPalletEvent<
840
+ Rv,
841
+ 'Council',
842
+ 'Voted',
843
+ { account: AccountId32; proposalHash: H256; voted: boolean; yes: number; no: number }
844
+ >;
845
+
846
+ /**
847
+ * A motion was approved by the required threshold.
848
+ **/
849
+ Approved: GenericPalletEvent<Rv, 'Council', 'Approved', { proposalHash: H256 }>;
850
+
851
+ /**
852
+ * A motion was not approved by the required threshold.
853
+ **/
854
+ Disapproved: GenericPalletEvent<Rv, 'Council', 'Disapproved', { proposalHash: H256 }>;
855
+
856
+ /**
857
+ * A motion was executed; result will be `Ok` if it returned without error.
858
+ **/
859
+ Executed: GenericPalletEvent<Rv, 'Council', 'Executed', { proposalHash: H256; result: Result<[], DispatchError> }>;
860
+
861
+ /**
862
+ * A single member did some action; result will be `Ok` if it returned without error.
863
+ **/
864
+ MemberExecuted: GenericPalletEvent<
865
+ Rv,
866
+ 'Council',
867
+ 'MemberExecuted',
868
+ { proposalHash: H256; result: Result<[], DispatchError> }
869
+ >;
870
+
871
+ /**
872
+ * A proposal was closed because its threshold was reached or after its duration was up.
873
+ **/
874
+ Closed: GenericPalletEvent<Rv, 'Council', 'Closed', { proposalHash: H256; yes: number; no: number }>;
875
+
876
+ /**
877
+ * Generic pallet event
878
+ **/
879
+ [prop: string]: GenericPalletEvent<Rv>;
880
+ };
881
+ /**
882
+ * Pallet `TechnicalCommittee`'s events
883
+ **/
884
+ technicalCommittee: {
885
+ /**
886
+ * A motion (given hash) has been proposed (by given account) with a threshold (given
887
+ * `MemberCount`).
888
+ **/
889
+ Proposed: GenericPalletEvent<
890
+ Rv,
891
+ 'TechnicalCommittee',
892
+ 'Proposed',
893
+ { account: AccountId32; proposalIndex: number; proposalHash: H256; threshold: number }
894
+ >;
895
+
896
+ /**
897
+ * A motion (given hash) has been voted on by given account, leaving
898
+ * a tally (yes votes and no votes given respectively as `MemberCount`).
899
+ **/
900
+ Voted: GenericPalletEvent<
901
+ Rv,
902
+ 'TechnicalCommittee',
903
+ 'Voted',
904
+ { account: AccountId32; proposalHash: H256; voted: boolean; yes: number; no: number }
905
+ >;
906
+
907
+ /**
908
+ * A motion was approved by the required threshold.
909
+ **/
910
+ Approved: GenericPalletEvent<Rv, 'TechnicalCommittee', 'Approved', { proposalHash: H256 }>;
911
+
912
+ /**
913
+ * A motion was not approved by the required threshold.
914
+ **/
915
+ Disapproved: GenericPalletEvent<Rv, 'TechnicalCommittee', 'Disapproved', { proposalHash: H256 }>;
916
+
917
+ /**
918
+ * A motion was executed; result will be `Ok` if it returned without error.
919
+ **/
920
+ Executed: GenericPalletEvent<
921
+ Rv,
922
+ 'TechnicalCommittee',
923
+ 'Executed',
924
+ { proposalHash: H256; result: Result<[], DispatchError> }
925
+ >;
926
+
927
+ /**
928
+ * A single member did some action; result will be `Ok` if it returned without error.
929
+ **/
930
+ MemberExecuted: GenericPalletEvent<
931
+ Rv,
932
+ 'TechnicalCommittee',
933
+ 'MemberExecuted',
934
+ { proposalHash: H256; result: Result<[], DispatchError> }
935
+ >;
936
+
937
+ /**
938
+ * A proposal was closed because its threshold was reached or after its duration was up.
939
+ **/
940
+ Closed: GenericPalletEvent<Rv, 'TechnicalCommittee', 'Closed', { proposalHash: H256; yes: number; no: number }>;
941
+
942
+ /**
943
+ * Generic pallet event
944
+ **/
945
+ [prop: string]: GenericPalletEvent<Rv>;
946
+ };
947
+ /**
948
+ * Pallet `Tips`'s events
949
+ **/
950
+ tips: {
951
+ /**
952
+ * A new tip suggestion has been opened.
953
+ **/
954
+ NewTip: GenericPalletEvent<Rv, 'Tips', 'NewTip', { tipHash: H256 }>;
955
+
956
+ /**
957
+ * A tip suggestion has reached threshold and is closing.
958
+ **/
959
+ TipClosing: GenericPalletEvent<Rv, 'Tips', 'TipClosing', { tipHash: H256 }>;
960
+
961
+ /**
962
+ * A tip suggestion has been closed.
963
+ **/
964
+ TipClosed: GenericPalletEvent<Rv, 'Tips', 'TipClosed', { tipHash: H256; who: AccountId32; payout: bigint }>;
965
+
966
+ /**
967
+ * A tip suggestion has been retracted.
968
+ **/
969
+ TipRetracted: GenericPalletEvent<Rv, 'Tips', 'TipRetracted', { tipHash: H256 }>;
970
+
971
+ /**
972
+ * A tip suggestion has been slashed.
973
+ **/
974
+ TipSlashed: GenericPalletEvent<Rv, 'Tips', 'TipSlashed', { tipHash: H256; finder: AccountId32; deposit: bigint }>;
975
+
976
+ /**
977
+ * Generic pallet event
978
+ **/
979
+ [prop: string]: GenericPalletEvent<Rv>;
980
+ };
981
+ /**
982
+ * Pallet `Proxy`'s events
983
+ **/
984
+ proxy: {
985
+ /**
986
+ * A proxy was executed correctly, with the given.
987
+ **/
988
+ ProxyExecuted: GenericPalletEvent<Rv, 'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
989
+
990
+ /**
991
+ * A pure account has been created by new proxy with given
992
+ * disambiguation index and proxy type.
993
+ **/
994
+ PureCreated: GenericPalletEvent<
995
+ Rv,
996
+ 'Proxy',
997
+ 'PureCreated',
998
+ { pure: AccountId32; who: AccountId32; proxyType: HydradxRuntimeSystemProxyType; disambiguationIndex: number }
999
+ >;
1000
+
1001
+ /**
1002
+ * An announcement was placed to make a call in the future.
1003
+ **/
1004
+ Announced: GenericPalletEvent<Rv, 'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
1005
+
1006
+ /**
1007
+ * A proxy was added.
1008
+ **/
1009
+ ProxyAdded: GenericPalletEvent<
1010
+ Rv,
1011
+ 'Proxy',
1012
+ 'ProxyAdded',
1013
+ { delegator: AccountId32; delegatee: AccountId32; proxyType: HydradxRuntimeSystemProxyType; delay: number }
1014
+ >;
1015
+
1016
+ /**
1017
+ * A proxy was removed.
1018
+ **/
1019
+ ProxyRemoved: GenericPalletEvent<
1020
+ Rv,
1021
+ 'Proxy',
1022
+ 'ProxyRemoved',
1023
+ { delegator: AccountId32; delegatee: AccountId32; proxyType: HydradxRuntimeSystemProxyType; delay: number }
1024
+ >;
1025
+
1026
+ /**
1027
+ * Generic pallet event
1028
+ **/
1029
+ [prop: string]: GenericPalletEvent<Rv>;
1030
+ };
1031
+ /**
1032
+ * Pallet `Multisig`'s events
1033
+ **/
1034
+ multisig: {
1035
+ /**
1036
+ * A new multisig operation has begun.
1037
+ **/
1038
+ NewMultisig: GenericPalletEvent<
1039
+ Rv,
1040
+ 'Multisig',
1041
+ 'NewMultisig',
1042
+ { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
1043
+ >;
1044
+
1045
+ /**
1046
+ * A multisig operation has been approved by someone.
1047
+ **/
1048
+ MultisigApproval: GenericPalletEvent<
1049
+ Rv,
1050
+ 'Multisig',
1051
+ 'MultisigApproval',
1052
+ { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1053
+ >;
1054
+
1055
+ /**
1056
+ * A multisig operation has been executed.
1057
+ **/
1058
+ MultisigExecuted: GenericPalletEvent<
1059
+ Rv,
1060
+ 'Multisig',
1061
+ 'MultisigExecuted',
1062
+ {
1063
+ approving: AccountId32;
1064
+ timepoint: PalletMultisigTimepoint;
1065
+ multisig: AccountId32;
1066
+ callHash: FixedBytes<32>;
1067
+ result: Result<[], DispatchError>;
1068
+ }
1069
+ >;
1070
+
1071
+ /**
1072
+ * A multisig operation has been cancelled.
1073
+ **/
1074
+ MultisigCancelled: GenericPalletEvent<
1075
+ Rv,
1076
+ 'Multisig',
1077
+ 'MultisigCancelled',
1078
+ { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1079
+ >;
1080
+
1081
+ /**
1082
+ * Generic pallet event
1083
+ **/
1084
+ [prop: string]: GenericPalletEvent<Rv>;
1085
+ };
1086
+ /**
1087
+ * Pallet `Uniques`'s events
1088
+ **/
1089
+ uniques: {
1090
+ /**
1091
+ * A `collection` was created.
1092
+ **/
1093
+ Created: GenericPalletEvent<
1094
+ Rv,
1095
+ 'Uniques',
1096
+ 'Created',
1097
+ { collection: bigint; creator: AccountId32; owner: AccountId32 }
1098
+ >;
1099
+
1100
+ /**
1101
+ * A `collection` was force-created.
1102
+ **/
1103
+ ForceCreated: GenericPalletEvent<Rv, 'Uniques', 'ForceCreated', { collection: bigint; owner: AccountId32 }>;
1104
+
1105
+ /**
1106
+ * A `collection` was destroyed.
1107
+ **/
1108
+ Destroyed: GenericPalletEvent<Rv, 'Uniques', 'Destroyed', { collection: bigint }>;
1109
+
1110
+ /**
1111
+ * An `item` was issued.
1112
+ **/
1113
+ Issued: GenericPalletEvent<Rv, 'Uniques', 'Issued', { collection: bigint; item: bigint; owner: AccountId32 }>;
1114
+
1115
+ /**
1116
+ * An `item` was transferred.
1117
+ **/
1118
+ Transferred: GenericPalletEvent<
1119
+ Rv,
1120
+ 'Uniques',
1121
+ 'Transferred',
1122
+ { collection: bigint; item: bigint; from: AccountId32; to: AccountId32 }
1123
+ >;
1124
+
1125
+ /**
1126
+ * An `item` was destroyed.
1127
+ **/
1128
+ Burned: GenericPalletEvent<Rv, 'Uniques', 'Burned', { collection: bigint; item: bigint; owner: AccountId32 }>;
1129
+
1130
+ /**
1131
+ * Some `item` was frozen.
1132
+ **/
1133
+ Frozen: GenericPalletEvent<Rv, 'Uniques', 'Frozen', { collection: bigint; item: bigint }>;
1134
+
1135
+ /**
1136
+ * Some `item` was thawed.
1137
+ **/
1138
+ Thawed: GenericPalletEvent<Rv, 'Uniques', 'Thawed', { collection: bigint; item: bigint }>;
1139
+
1140
+ /**
1141
+ * Some `collection` was frozen.
1142
+ **/
1143
+ CollectionFrozen: GenericPalletEvent<Rv, 'Uniques', 'CollectionFrozen', { collection: bigint }>;
1144
+
1145
+ /**
1146
+ * Some `collection` was thawed.
1147
+ **/
1148
+ CollectionThawed: GenericPalletEvent<Rv, 'Uniques', 'CollectionThawed', { collection: bigint }>;
1149
+
1150
+ /**
1151
+ * The owner changed.
1152
+ **/
1153
+ OwnerChanged: GenericPalletEvent<Rv, 'Uniques', 'OwnerChanged', { collection: bigint; newOwner: AccountId32 }>;
1154
+
1155
+ /**
1156
+ * The management team changed.
1157
+ **/
1158
+ TeamChanged: GenericPalletEvent<
1159
+ Rv,
1160
+ 'Uniques',
1161
+ 'TeamChanged',
1162
+ { collection: bigint; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
1163
+ >;
1164
+
1165
+ /**
1166
+ * An `item` of a `collection` has been approved by the `owner` for transfer by
1167
+ * a `delegate`.
1168
+ **/
1169
+ ApprovedTransfer: GenericPalletEvent<
1170
+ Rv,
1171
+ 'Uniques',
1172
+ 'ApprovedTransfer',
1173
+ { collection: bigint; item: bigint; owner: AccountId32; delegate: AccountId32 }
1174
+ >;
1175
+
1176
+ /**
1177
+ * An approval for a `delegate` account to transfer the `item` of an item
1178
+ * `collection` was cancelled by its `owner`.
1179
+ **/
1180
+ ApprovalCancelled: GenericPalletEvent<
1181
+ Rv,
1182
+ 'Uniques',
1183
+ 'ApprovalCancelled',
1184
+ { collection: bigint; item: bigint; owner: AccountId32; delegate: AccountId32 }
1185
+ >;
1186
+
1187
+ /**
1188
+ * A `collection` has had its attributes changed by the `Force` origin.
1189
+ **/
1190
+ ItemStatusChanged: GenericPalletEvent<Rv, 'Uniques', 'ItemStatusChanged', { collection: bigint }>;
1191
+
1192
+ /**
1193
+ * New metadata has been set for a `collection`.
1194
+ **/
1195
+ CollectionMetadataSet: GenericPalletEvent<
1196
+ Rv,
1197
+ 'Uniques',
1198
+ 'CollectionMetadataSet',
1199
+ { collection: bigint; data: Bytes; isFrozen: boolean }
1200
+ >;
1201
+
1202
+ /**
1203
+ * Metadata has been cleared for a `collection`.
1204
+ **/
1205
+ CollectionMetadataCleared: GenericPalletEvent<Rv, 'Uniques', 'CollectionMetadataCleared', { collection: bigint }>;
1206
+
1207
+ /**
1208
+ * New metadata has been set for an item.
1209
+ **/
1210
+ MetadataSet: GenericPalletEvent<
1211
+ Rv,
1212
+ 'Uniques',
1213
+ 'MetadataSet',
1214
+ { collection: bigint; item: bigint; data: Bytes; isFrozen: boolean }
1215
+ >;
1216
+
1217
+ /**
1218
+ * Metadata has been cleared for an item.
1219
+ **/
1220
+ MetadataCleared: GenericPalletEvent<Rv, 'Uniques', 'MetadataCleared', { collection: bigint; item: bigint }>;
1221
+
1222
+ /**
1223
+ * Metadata has been cleared for an item.
1224
+ **/
1225
+ Redeposited: GenericPalletEvent<
1226
+ Rv,
1227
+ 'Uniques',
1228
+ 'Redeposited',
1229
+ { collection: bigint; successfulItems: Array<bigint> }
1230
+ >;
1231
+
1232
+ /**
1233
+ * New attribute metadata has been set for a `collection` or `item`.
1234
+ **/
1235
+ AttributeSet: GenericPalletEvent<
1236
+ Rv,
1237
+ 'Uniques',
1238
+ 'AttributeSet',
1239
+ { collection: bigint; maybeItem?: bigint | undefined; key: Bytes; value: Bytes }
1240
+ >;
1241
+
1242
+ /**
1243
+ * Attribute metadata has been cleared for a `collection` or `item`.
1244
+ **/
1245
+ AttributeCleared: GenericPalletEvent<
1246
+ Rv,
1247
+ 'Uniques',
1248
+ 'AttributeCleared',
1249
+ { collection: bigint; maybeItem?: bigint | undefined; key: Bytes }
1250
+ >;
1251
+
1252
+ /**
1253
+ * Ownership acceptance has changed for an account.
1254
+ **/
1255
+ OwnershipAcceptanceChanged: GenericPalletEvent<
1256
+ Rv,
1257
+ 'Uniques',
1258
+ 'OwnershipAcceptanceChanged',
1259
+ { who: AccountId32; maybeCollection?: bigint | undefined }
1260
+ >;
1261
+
1262
+ /**
1263
+ * Max supply has been set for a collection.
1264
+ **/
1265
+ CollectionMaxSupplySet: GenericPalletEvent<
1266
+ Rv,
1267
+ 'Uniques',
1268
+ 'CollectionMaxSupplySet',
1269
+ { collection: bigint; maxSupply: number }
1270
+ >;
1271
+
1272
+ /**
1273
+ * The price was set for the instance.
1274
+ **/
1275
+ ItemPriceSet: GenericPalletEvent<
1276
+ Rv,
1277
+ 'Uniques',
1278
+ 'ItemPriceSet',
1279
+ { collection: bigint; item: bigint; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
1280
+ >;
1281
+
1282
+ /**
1283
+ * The price for the instance was removed.
1284
+ **/
1285
+ ItemPriceRemoved: GenericPalletEvent<Rv, 'Uniques', 'ItemPriceRemoved', { collection: bigint; item: bigint }>;
1286
+
1287
+ /**
1288
+ * An item was bought.
1289
+ **/
1290
+ ItemBought: GenericPalletEvent<
1291
+ Rv,
1292
+ 'Uniques',
1293
+ 'ItemBought',
1294
+ { collection: bigint; item: bigint; price: bigint; seller: AccountId32; buyer: AccountId32 }
1295
+ >;
1296
+
1297
+ /**
1298
+ * Generic pallet event
1299
+ **/
1300
+ [prop: string]: GenericPalletEvent<Rv>;
1301
+ };
1302
+ /**
1303
+ * Pallet `StateTrieMigration`'s events
1304
+ **/
1305
+ stateTrieMigration: {
1306
+ /**
1307
+ * Given number of `(top, child)` keys were migrated respectively, with the given
1308
+ * `compute`.
1309
+ **/
1310
+ Migrated: GenericPalletEvent<
1311
+ Rv,
1312
+ 'StateTrieMigration',
1313
+ 'Migrated',
1314
+ { top: number; child: number; compute: PalletStateTrieMigrationMigrationCompute }
1315
+ >;
1316
+
1317
+ /**
1318
+ * Some account got slashed by the given amount.
1319
+ **/
1320
+ Slashed: GenericPalletEvent<Rv, 'StateTrieMigration', 'Slashed', { who: AccountId32; amount: bigint }>;
1321
+
1322
+ /**
1323
+ * The auto migration task finished.
1324
+ **/
1325
+ AutoMigrationFinished: GenericPalletEvent<Rv, 'StateTrieMigration', 'AutoMigrationFinished', null>;
1326
+
1327
+ /**
1328
+ * Migration got halted due to an error or miss-configuration.
1329
+ **/
1330
+ Halted: GenericPalletEvent<Rv, 'StateTrieMigration', 'Halted', { error: PalletStateTrieMigrationError }>;
1331
+
1332
+ /**
1333
+ * Generic pallet event
1334
+ **/
1335
+ [prop: string]: GenericPalletEvent<Rv>;
1336
+ };
1337
+ /**
1338
+ * Pallet `ConvictionVoting`'s events
1339
+ **/
1340
+ convictionVoting: {
1341
+ /**
1342
+ * An account has delegated their vote to another account. \[who, target\]
1343
+ **/
1344
+ Delegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
1345
+
1346
+ /**
1347
+ * An \[account\] has cancelled a previous delegation operation.
1348
+ **/
1349
+ Undelegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Undelegated', AccountId32>;
1350
+
1351
+ /**
1352
+ * An account that has voted
1353
+ **/
1354
+ Voted: GenericPalletEvent<
1355
+ Rv,
1356
+ 'ConvictionVoting',
1357
+ 'Voted',
1358
+ { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
1359
+ >;
1360
+
1361
+ /**
1362
+ * A vote that been removed
1363
+ **/
1364
+ VoteRemoved: GenericPalletEvent<
1365
+ Rv,
1366
+ 'ConvictionVoting',
1367
+ 'VoteRemoved',
1368
+ { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
1369
+ >;
1370
+
1371
+ /**
1372
+ * Generic pallet event
1373
+ **/
1374
+ [prop: string]: GenericPalletEvent<Rv>;
1375
+ };
1376
+ /**
1377
+ * Pallet `Referenda`'s events
1378
+ **/
1379
+ referenda: {
1380
+ /**
1381
+ * A referendum has been submitted.
1382
+ **/
1383
+ Submitted: GenericPalletEvent<
1384
+ Rv,
1385
+ 'Referenda',
1386
+ 'Submitted',
1387
+ {
1388
+ /**
1389
+ * Index of the referendum.
1390
+ **/
1391
+ index: number;
1392
+
1393
+ /**
1394
+ * The track (and by extension proposal dispatch origin) of this referendum.
1395
+ **/
1396
+ track: number;
1397
+
1398
+ /**
1399
+ * The proposal for the referendum.
1400
+ **/
1401
+ proposal: FrameSupportPreimagesBounded;
1402
+ }
1403
+ >;
1404
+
1405
+ /**
1406
+ * The decision deposit has been placed.
1407
+ **/
1408
+ DecisionDepositPlaced: GenericPalletEvent<
1409
+ Rv,
1410
+ 'Referenda',
1411
+ 'DecisionDepositPlaced',
1412
+ {
1413
+ /**
1414
+ * Index of the referendum.
1415
+ **/
1416
+ index: number;
1417
+
1418
+ /**
1419
+ * The account who placed the deposit.
1420
+ **/
1421
+ who: AccountId32;
1422
+
1423
+ /**
1424
+ * The amount placed by the account.
1425
+ **/
1426
+ amount: bigint;
1427
+ }
1428
+ >;
1429
+
1430
+ /**
1431
+ * The decision deposit has been refunded.
1432
+ **/
1433
+ DecisionDepositRefunded: GenericPalletEvent<
1434
+ Rv,
1435
+ 'Referenda',
1436
+ 'DecisionDepositRefunded',
1437
+ {
1438
+ /**
1439
+ * Index of the referendum.
1440
+ **/
1441
+ index: number;
1442
+
1443
+ /**
1444
+ * The account who placed the deposit.
1445
+ **/
1446
+ who: AccountId32;
1447
+
1448
+ /**
1449
+ * The amount placed by the account.
1450
+ **/
1451
+ amount: bigint;
1452
+ }
1453
+ >;
1454
+
1455
+ /**
1456
+ * A deposit has been slashed.
1457
+ **/
1458
+ DepositSlashed: GenericPalletEvent<
1459
+ Rv,
1460
+ 'Referenda',
1461
+ 'DepositSlashed',
1462
+ {
1463
+ /**
1464
+ * The account who placed the deposit.
1465
+ **/
1466
+ who: AccountId32;
1467
+
1468
+ /**
1469
+ * The amount placed by the account.
1470
+ **/
1471
+ amount: bigint;
1472
+ }
1473
+ >;
1474
+
1475
+ /**
1476
+ * A referendum has moved into the deciding phase.
1477
+ **/
1478
+ DecisionStarted: GenericPalletEvent<
1479
+ Rv,
1480
+ 'Referenda',
1481
+ 'DecisionStarted',
1482
+ {
1483
+ /**
1484
+ * Index of the referendum.
1485
+ **/
1486
+ index: number;
1487
+
1488
+ /**
1489
+ * The track (and by extension proposal dispatch origin) of this referendum.
1490
+ **/
1491
+ track: number;
1492
+
1493
+ /**
1494
+ * The proposal for the referendum.
1495
+ **/
1496
+ proposal: FrameSupportPreimagesBounded;
1497
+
1498
+ /**
1499
+ * The current tally of votes in this referendum.
1500
+ **/
1501
+ tally: PalletConvictionVotingTally;
1502
+ }
1503
+ >;
1504
+ ConfirmStarted: GenericPalletEvent<
1505
+ Rv,
1506
+ 'Referenda',
1507
+ 'ConfirmStarted',
1508
+ {
1509
+ /**
1510
+ * Index of the referendum.
1511
+ **/
1512
+ index: number;
1513
+ }
1514
+ >;
1515
+ ConfirmAborted: GenericPalletEvent<
1516
+ Rv,
1517
+ 'Referenda',
1518
+ 'ConfirmAborted',
1519
+ {
1520
+ /**
1521
+ * Index of the referendum.
1522
+ **/
1523
+ index: number;
1524
+ }
1525
+ >;
1526
+
1527
+ /**
1528
+ * A referendum has ended its confirmation phase and is ready for approval.
1529
+ **/
1530
+ Confirmed: GenericPalletEvent<
1531
+ Rv,
1532
+ 'Referenda',
1533
+ 'Confirmed',
1534
+ {
1535
+ /**
1536
+ * Index of the referendum.
1537
+ **/
1538
+ index: number;
1539
+
1540
+ /**
1541
+ * The final tally of votes in this referendum.
1542
+ **/
1543
+ tally: PalletConvictionVotingTally;
1544
+ }
1545
+ >;
1546
+
1547
+ /**
1548
+ * A referendum has been approved and its proposal has been scheduled.
1549
+ **/
1550
+ Approved: GenericPalletEvent<
1551
+ Rv,
1552
+ 'Referenda',
1553
+ 'Approved',
1554
+ {
1555
+ /**
1556
+ * Index of the referendum.
1557
+ **/
1558
+ index: number;
1559
+ }
1560
+ >;
1561
+
1562
+ /**
1563
+ * A proposal has been rejected by referendum.
1564
+ **/
1565
+ Rejected: GenericPalletEvent<
1566
+ Rv,
1567
+ 'Referenda',
1568
+ 'Rejected',
1569
+ {
1570
+ /**
1571
+ * Index of the referendum.
1572
+ **/
1573
+ index: number;
1574
+
1575
+ /**
1576
+ * The final tally of votes in this referendum.
1577
+ **/
1578
+ tally: PalletConvictionVotingTally;
1579
+ }
1580
+ >;
1581
+
1582
+ /**
1583
+ * A referendum has been timed out without being decided.
1584
+ **/
1585
+ TimedOut: GenericPalletEvent<
1586
+ Rv,
1587
+ 'Referenda',
1588
+ 'TimedOut',
1589
+ {
1590
+ /**
1591
+ * Index of the referendum.
1592
+ **/
1593
+ index: number;
1594
+
1595
+ /**
1596
+ * The final tally of votes in this referendum.
1597
+ **/
1598
+ tally: PalletConvictionVotingTally;
1599
+ }
1600
+ >;
1601
+
1602
+ /**
1603
+ * A referendum has been cancelled.
1604
+ **/
1605
+ Cancelled: GenericPalletEvent<
1606
+ Rv,
1607
+ 'Referenda',
1608
+ 'Cancelled',
1609
+ {
1610
+ /**
1611
+ * Index of the referendum.
1612
+ **/
1613
+ index: number;
1614
+
1615
+ /**
1616
+ * The final tally of votes in this referendum.
1617
+ **/
1618
+ tally: PalletConvictionVotingTally;
1619
+ }
1620
+ >;
1621
+
1622
+ /**
1623
+ * A referendum has been killed.
1624
+ **/
1625
+ Killed: GenericPalletEvent<
1626
+ Rv,
1627
+ 'Referenda',
1628
+ 'Killed',
1629
+ {
1630
+ /**
1631
+ * Index of the referendum.
1632
+ **/
1633
+ index: number;
1634
+
1635
+ /**
1636
+ * The final tally of votes in this referendum.
1637
+ **/
1638
+ tally: PalletConvictionVotingTally;
1639
+ }
1640
+ >;
1641
+
1642
+ /**
1643
+ * The submission deposit has been refunded.
1644
+ **/
1645
+ SubmissionDepositRefunded: GenericPalletEvent<
1646
+ Rv,
1647
+ 'Referenda',
1648
+ 'SubmissionDepositRefunded',
1649
+ {
1650
+ /**
1651
+ * Index of the referendum.
1652
+ **/
1653
+ index: number;
1654
+
1655
+ /**
1656
+ * The account who placed the deposit.
1657
+ **/
1658
+ who: AccountId32;
1659
+
1660
+ /**
1661
+ * The amount placed by the account.
1662
+ **/
1663
+ amount: bigint;
1664
+ }
1665
+ >;
1666
+
1667
+ /**
1668
+ * Metadata for a referendum has been set.
1669
+ **/
1670
+ MetadataSet: GenericPalletEvent<
1671
+ Rv,
1672
+ 'Referenda',
1673
+ 'MetadataSet',
1674
+ {
1675
+ /**
1676
+ * Index of the referendum.
1677
+ **/
1678
+ index: number;
1679
+
1680
+ /**
1681
+ * Preimage hash.
1682
+ **/
1683
+ hash: H256;
1684
+ }
1685
+ >;
1686
+
1687
+ /**
1688
+ * Metadata for a referendum has been cleared.
1689
+ **/
1690
+ MetadataCleared: GenericPalletEvent<
1691
+ Rv,
1692
+ 'Referenda',
1693
+ 'MetadataCleared',
1694
+ {
1695
+ /**
1696
+ * Index of the referendum.
1697
+ **/
1698
+ index: number;
1699
+
1700
+ /**
1701
+ * Preimage hash.
1702
+ **/
1703
+ hash: H256;
1704
+ }
1705
+ >;
1706
+
1707
+ /**
1708
+ * Generic pallet event
1709
+ **/
1710
+ [prop: string]: GenericPalletEvent<Rv>;
1711
+ };
1712
+ /**
1713
+ * Pallet `Whitelist`'s events
1714
+ **/
1715
+ whitelist: {
1716
+ CallWhitelisted: GenericPalletEvent<Rv, 'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
1717
+ WhitelistedCallRemoved: GenericPalletEvent<Rv, 'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
1718
+ WhitelistedCallDispatched: GenericPalletEvent<
1719
+ Rv,
1720
+ 'Whitelist',
1721
+ 'WhitelistedCallDispatched',
1722
+ { callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
1723
+ >;
1724
+
1725
+ /**
1726
+ * Generic pallet event
1727
+ **/
1728
+ [prop: string]: GenericPalletEvent<Rv>;
1729
+ };
1730
+ /**
1731
+ * Pallet `Dispatcher`'s events
1732
+ **/
1733
+ dispatcher: {
1734
+ TreasuryManagerCallDispatched: GenericPalletEvent<
1735
+ Rv,
1736
+ 'Dispatcher',
1737
+ 'TreasuryManagerCallDispatched',
1738
+ { callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
1739
+ >;
1740
+ AaveManagerCallDispatched: GenericPalletEvent<
1741
+ Rv,
1742
+ 'Dispatcher',
1743
+ 'AaveManagerCallDispatched',
1744
+ { callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
1745
+ >;
1746
+
1747
+ /**
1748
+ * Generic pallet event
1749
+ **/
1750
+ [prop: string]: GenericPalletEvent<Rv>;
1751
+ };
1752
+ /**
1753
+ * Pallet `AssetRegistry`'s events
1754
+ **/
1755
+ assetRegistry: {
1756
+ /**
1757
+ * Existential deposit for insufficinet asset was paid.
1758
+ * `SufficiencyCheck` triggers this event.
1759
+ **/
1760
+ ExistentialDepositPaid: GenericPalletEvent<
1761
+ Rv,
1762
+ 'AssetRegistry',
1763
+ 'ExistentialDepositPaid',
1764
+ { who: AccountId32; feeAsset: number; amount: bigint }
1765
+ >;
1766
+
1767
+ /**
1768
+ * Asset was registered.
1769
+ **/
1770
+ Registered: GenericPalletEvent<
1771
+ Rv,
1772
+ 'AssetRegistry',
1773
+ 'Registered',
1774
+ {
1775
+ assetId: number;
1776
+ assetName?: Bytes | undefined;
1777
+ assetType: PalletAssetRegistryAssetType;
1778
+ existentialDeposit: bigint;
1779
+ xcmRateLimit?: bigint | undefined;
1780
+ symbol?: Bytes | undefined;
1781
+ decimals?: number | undefined;
1782
+ isSufficient: boolean;
1783
+ }
1784
+ >;
1785
+
1786
+ /**
1787
+ * Asset was updated.
1788
+ **/
1789
+ Updated: GenericPalletEvent<
1790
+ Rv,
1791
+ 'AssetRegistry',
1792
+ 'Updated',
1793
+ {
1794
+ assetId: number;
1795
+ assetName?: Bytes | undefined;
1796
+ assetType: PalletAssetRegistryAssetType;
1797
+ existentialDeposit: bigint;
1798
+ xcmRateLimit?: bigint | undefined;
1799
+ symbol?: Bytes | undefined;
1800
+ decimals?: number | undefined;
1801
+ isSufficient: boolean;
1802
+ }
1803
+ >;
1804
+
1805
+ /**
1806
+ * Native location set for an asset.
1807
+ **/
1808
+ LocationSet: GenericPalletEvent<
1809
+ Rv,
1810
+ 'AssetRegistry',
1811
+ 'LocationSet',
1812
+ { assetId: number; location: HydradxRuntimeXcmAssetLocation }
1813
+ >;
1814
+
1815
+ /**
1816
+ * Asset was banned.
1817
+ **/
1818
+ AssetBanned: GenericPalletEvent<Rv, 'AssetRegistry', 'AssetBanned', { assetId: number }>;
1819
+
1820
+ /**
1821
+ * Asset's ban was removed.
1822
+ **/
1823
+ AssetUnbanned: GenericPalletEvent<Rv, 'AssetRegistry', 'AssetUnbanned', { assetId: number }>;
1824
+
1825
+ /**
1826
+ * Generic pallet event
1827
+ **/
1828
+ [prop: string]: GenericPalletEvent<Rv>;
1829
+ };
1830
+ /**
1831
+ * Pallet `Claims`'s events
1832
+ **/
1833
+ claims: {
1834
+ Claim: GenericPalletEvent<Rv, 'Claims', 'Claim', [AccountId32, PalletClaimsEthereumAddress, bigint]>;
1835
+
1836
+ /**
1837
+ * Generic pallet event
1838
+ **/
1839
+ [prop: string]: GenericPalletEvent<Rv>;
1840
+ };
1841
+ /**
1842
+ * Pallet `CollatorRewards`'s events
1843
+ **/
1844
+ collatorRewards: {
1845
+ /**
1846
+ * Collator was rewarded.
1847
+ **/
1848
+ CollatorRewarded: GenericPalletEvent<
1849
+ Rv,
1850
+ 'CollatorRewards',
1851
+ 'CollatorRewarded',
1852
+ { who: AccountId32; amount: bigint; currency: number }
1853
+ >;
1854
+
1855
+ /**
1856
+ * Generic pallet event
1857
+ **/
1858
+ [prop: string]: GenericPalletEvent<Rv>;
1859
+ };
1860
+ /**
1861
+ * Pallet `Omnipool`'s events
1862
+ **/
1863
+ omnipool: {
1864
+ /**
1865
+ * An asset was added to Omnipool
1866
+ **/
1867
+ TokenAdded: GenericPalletEvent<
1868
+ Rv,
1869
+ 'Omnipool',
1870
+ 'TokenAdded',
1871
+ { assetId: number; initialAmount: bigint; initialPrice: FixedU128 }
1872
+ >;
1873
+
1874
+ /**
1875
+ * An asset was removed from Omnipool
1876
+ **/
1877
+ TokenRemoved: GenericPalletEvent<
1878
+ Rv,
1879
+ 'Omnipool',
1880
+ 'TokenRemoved',
1881
+ { assetId: number; amount: bigint; hubWithdrawn: bigint }
1882
+ >;
1883
+
1884
+ /**
1885
+ * Liquidity of an asset was added to Omnipool.
1886
+ **/
1887
+ LiquidityAdded: GenericPalletEvent<
1888
+ Rv,
1889
+ 'Omnipool',
1890
+ 'LiquidityAdded',
1891
+ { who: AccountId32; assetId: number; amount: bigint; positionId: bigint }
1892
+ >;
1893
+
1894
+ /**
1895
+ * Liquidity of an asset was removed from Omnipool.
1896
+ **/
1897
+ LiquidityRemoved: GenericPalletEvent<
1898
+ Rv,
1899
+ 'Omnipool',
1900
+ 'LiquidityRemoved',
1901
+ { who: AccountId32; positionId: bigint; assetId: number; sharesRemoved: bigint; fee: FixedU128 }
1902
+ >;
1903
+
1904
+ /**
1905
+ * PRotocol Liquidity was removed from Omnipool.
1906
+ **/
1907
+ ProtocolLiquidityRemoved: GenericPalletEvent<
1908
+ Rv,
1909
+ 'Omnipool',
1910
+ 'ProtocolLiquidityRemoved',
1911
+ { who: AccountId32; assetId: number; amount: bigint; hubAmount: bigint; sharesRemoved: bigint }
1912
+ >;
1913
+
1914
+ /**
1915
+ * Sell trade executed.
1916
+ * Deprecated. Replaced by pallet_broadcast::Swapped
1917
+ **/
1918
+ SellExecuted: GenericPalletEvent<
1919
+ Rv,
1920
+ 'Omnipool',
1921
+ 'SellExecuted',
1922
+ {
1923
+ who: AccountId32;
1924
+ assetIn: number;
1925
+ assetOut: number;
1926
+ amountIn: bigint;
1927
+ amountOut: bigint;
1928
+ hubAmountIn: bigint;
1929
+ hubAmountOut: bigint;
1930
+ assetFeeAmount: bigint;
1931
+ protocolFeeAmount: bigint;
1932
+ }
1933
+ >;
1934
+
1935
+ /**
1936
+ * Buy trade executed.
1937
+ * Deprecated. Replaced by pallet_broadcast::Swapped
1938
+ **/
1939
+ BuyExecuted: GenericPalletEvent<
1940
+ Rv,
1941
+ 'Omnipool',
1942
+ 'BuyExecuted',
1943
+ {
1944
+ who: AccountId32;
1945
+ assetIn: number;
1946
+ assetOut: number;
1947
+ amountIn: bigint;
1948
+ amountOut: bigint;
1949
+ hubAmountIn: bigint;
1950
+ hubAmountOut: bigint;
1951
+ assetFeeAmount: bigint;
1952
+ protocolFeeAmount: bigint;
1953
+ }
1954
+ >;
1955
+
1956
+ /**
1957
+ * LP Position was created and NFT instance minted.
1958
+ **/
1959
+ PositionCreated: GenericPalletEvent<
1960
+ Rv,
1961
+ 'Omnipool',
1962
+ 'PositionCreated',
1963
+ { positionId: bigint; owner: AccountId32; asset: number; amount: bigint; shares: bigint; price: FixedU128 }
1964
+ >;
1965
+
1966
+ /**
1967
+ * LP Position was destroyed and NFT instance burned.
1968
+ **/
1969
+ PositionDestroyed: GenericPalletEvent<
1970
+ Rv,
1971
+ 'Omnipool',
1972
+ 'PositionDestroyed',
1973
+ { positionId: bigint; owner: AccountId32 }
1974
+ >;
1975
+
1976
+ /**
1977
+ * LP Position was updated.
1978
+ **/
1979
+ PositionUpdated: GenericPalletEvent<
1980
+ Rv,
1981
+ 'Omnipool',
1982
+ 'PositionUpdated',
1983
+ { positionId: bigint; owner: AccountId32; asset: number; amount: bigint; shares: bigint; price: FixedU128 }
1984
+ >;
1985
+
1986
+ /**
1987
+ * Asset's tradable state has been updated.
1988
+ **/
1989
+ TradableStateUpdated: GenericPalletEvent<
1990
+ Rv,
1991
+ 'Omnipool',
1992
+ 'TradableStateUpdated',
1993
+ { assetId: number; state: PalletOmnipoolTradability }
1994
+ >;
1995
+
1996
+ /**
1997
+ * Amount has been refunded for asset which has not been accepted to add to omnipool.
1998
+ **/
1999
+ AssetRefunded: GenericPalletEvent<
2000
+ Rv,
2001
+ 'Omnipool',
2002
+ 'AssetRefunded',
2003
+ { assetId: number; amount: bigint; recipient: AccountId32 }
2004
+ >;
2005
+
2006
+ /**
2007
+ * Asset's weight cap has been updated.
2008
+ **/
2009
+ AssetWeightCapUpdated: GenericPalletEvent<
2010
+ Rv,
2011
+ 'Omnipool',
2012
+ 'AssetWeightCapUpdated',
2013
+ { assetId: number; cap: Permill }
2014
+ >;
2015
+
2016
+ /**
2017
+ * Generic pallet event
2018
+ **/
2019
+ [prop: string]: GenericPalletEvent<Rv>;
2020
+ };
2021
+ /**
2022
+ * Pallet `TransactionPause`'s events
2023
+ **/
2024
+ transactionPause: {
2025
+ /**
2026
+ * Paused transaction
2027
+ **/
2028
+ TransactionPaused: GenericPalletEvent<
2029
+ Rv,
2030
+ 'TransactionPause',
2031
+ 'TransactionPaused',
2032
+ { palletNameBytes: Bytes; functionNameBytes: Bytes }
2033
+ >;
2034
+
2035
+ /**
2036
+ * Unpaused transaction
2037
+ **/
2038
+ TransactionUnpaused: GenericPalletEvent<
2039
+ Rv,
2040
+ 'TransactionPause',
2041
+ 'TransactionUnpaused',
2042
+ { palletNameBytes: Bytes; functionNameBytes: Bytes }
2043
+ >;
2044
+
2045
+ /**
2046
+ * Generic pallet event
2047
+ **/
2048
+ [prop: string]: GenericPalletEvent<Rv>;
2049
+ };
2050
+ /**
2051
+ * Pallet `Duster`'s events
2052
+ **/
2053
+ duster: {
2054
+ /**
2055
+ * Account dusted.
2056
+ **/
2057
+ Dusted: GenericPalletEvent<Rv, 'Duster', 'Dusted', { who: AccountId32; amount: bigint }>;
2058
+
2059
+ /**
2060
+ * Account added to non-dustable list.
2061
+ **/
2062
+ Added: GenericPalletEvent<Rv, 'Duster', 'Added', { who: AccountId32 }>;
2063
+
2064
+ /**
2065
+ * Account removed from non-dustable list.
2066
+ **/
2067
+ Removed: GenericPalletEvent<Rv, 'Duster', 'Removed', { who: AccountId32 }>;
2068
+
2069
+ /**
2070
+ * Generic pallet event
2071
+ **/
2072
+ [prop: string]: GenericPalletEvent<Rv>;
2073
+ };
2074
+ /**
2075
+ * Pallet `OmnipoolWarehouseLM`'s events
2076
+ **/
2077
+ omnipoolWarehouseLM: {
2078
+ /**
2079
+ * Global farm accumulated reward per share was updated.
2080
+ **/
2081
+ GlobalFarmAccRPZUpdated: GenericPalletEvent<
2082
+ Rv,
2083
+ 'OmnipoolWarehouseLM',
2084
+ 'GlobalFarmAccRPZUpdated',
2085
+ { globalFarmId: number; accumulatedRpz: FixedU128; totalSharesZ: bigint }
2086
+ >;
2087
+
2088
+ /**
2089
+ * Yield farm accumulated reward per valued share was updated.
2090
+ **/
2091
+ YieldFarmAccRPVSUpdated: GenericPalletEvent<
2092
+ Rv,
2093
+ 'OmnipoolWarehouseLM',
2094
+ 'YieldFarmAccRPVSUpdated',
2095
+ { globalFarmId: number; yieldFarmId: number; accumulatedRpvs: FixedU128; totalValuedShares: bigint }
2096
+ >;
2097
+
2098
+ /**
2099
+ * Global farm has no more rewards to distribute in the moment.
2100
+ **/
2101
+ AllRewardsDistributed: GenericPalletEvent<
2102
+ Rv,
2103
+ 'OmnipoolWarehouseLM',
2104
+ 'AllRewardsDistributed',
2105
+ { globalFarmId: number }
2106
+ >;
2107
+
2108
+ /**
2109
+ * Generic pallet event
2110
+ **/
2111
+ [prop: string]: GenericPalletEvent<Rv>;
2112
+ };
2113
+ /**
2114
+ * Pallet `OmnipoolLiquidityMining`'s events
2115
+ **/
2116
+ omnipoolLiquidityMining: {
2117
+ /**
2118
+ * New global farm was created.
2119
+ **/
2120
+ GlobalFarmCreated: GenericPalletEvent<
2121
+ Rv,
2122
+ 'OmnipoolLiquidityMining',
2123
+ 'GlobalFarmCreated',
2124
+ {
2125
+ id: number;
2126
+ owner: AccountId32;
2127
+ totalRewards: bigint;
2128
+ rewardCurrency: number;
2129
+ yieldPerPeriod: Perquintill;
2130
+ plannedYieldingPeriods: number;
2131
+ blocksPerPeriod: number;
2132
+ maxRewardPerPeriod: bigint;
2133
+ minDeposit: bigint;
2134
+ lrnaPriceAdjustment: FixedU128;
2135
+ }
2136
+ >;
2137
+
2138
+ /**
2139
+ * Global farm was updated
2140
+ **/
2141
+ GlobalFarmUpdated: GenericPalletEvent<
2142
+ Rv,
2143
+ 'OmnipoolLiquidityMining',
2144
+ 'GlobalFarmUpdated',
2145
+ { id: number; plannedYieldingPeriods: number; yieldPerPeriod: Perquintill; minDeposit: bigint }
2146
+ >;
2147
+
2148
+ /**
2149
+ * Global farm was terminated.
2150
+ **/
2151
+ GlobalFarmTerminated: GenericPalletEvent<
2152
+ Rv,
2153
+ 'OmnipoolLiquidityMining',
2154
+ 'GlobalFarmTerminated',
2155
+ { globalFarmId: number; who: AccountId32; rewardCurrency: number; undistributedRewards: bigint }
2156
+ >;
2157
+
2158
+ /**
2159
+ * New yield farm was added to the farm.
2160
+ **/
2161
+ YieldFarmCreated: GenericPalletEvent<
2162
+ Rv,
2163
+ 'OmnipoolLiquidityMining',
2164
+ 'YieldFarmCreated',
2165
+ {
2166
+ globalFarmId: number;
2167
+ yieldFarmId: number;
2168
+ assetId: number;
2169
+ multiplier: FixedU128;
2170
+ loyaltyCurve?: PalletLiquidityMiningLoyaltyCurve | undefined;
2171
+ }
2172
+ >;
2173
+
2174
+ /**
2175
+ * Yield farm multiplier was updated.
2176
+ **/
2177
+ YieldFarmUpdated: GenericPalletEvent<
2178
+ Rv,
2179
+ 'OmnipoolLiquidityMining',
2180
+ 'YieldFarmUpdated',
2181
+ { globalFarmId: number; yieldFarmId: number; assetId: number; who: AccountId32; multiplier: FixedU128 }
2182
+ >;
2183
+
2184
+ /**
2185
+ * Yield farm for `asset_id` was stopped.
2186
+ **/
2187
+ YieldFarmStopped: GenericPalletEvent<
2188
+ Rv,
2189
+ 'OmnipoolLiquidityMining',
2190
+ 'YieldFarmStopped',
2191
+ { globalFarmId: number; yieldFarmId: number; assetId: number; who: AccountId32 }
2192
+ >;
2193
+
2194
+ /**
2195
+ * Yield farm for `asset_id` was resumed.
2196
+ **/
2197
+ YieldFarmResumed: GenericPalletEvent<
2198
+ Rv,
2199
+ 'OmnipoolLiquidityMining',
2200
+ 'YieldFarmResumed',
2201
+ { globalFarmId: number; yieldFarmId: number; assetId: number; who: AccountId32; multiplier: FixedU128 }
2202
+ >;
2203
+
2204
+ /**
2205
+ * Yield farm was terminated from the global farm.
2206
+ **/
2207
+ YieldFarmTerminated: GenericPalletEvent<
2208
+ Rv,
2209
+ 'OmnipoolLiquidityMining',
2210
+ 'YieldFarmTerminated',
2211
+ { globalFarmId: number; yieldFarmId: number; assetId: number; who: AccountId32 }
2212
+ >;
2213
+
2214
+ /**
2215
+ * New LP shares(LP position) were deposited.
2216
+ **/
2217
+ SharesDeposited: GenericPalletEvent<
2218
+ Rv,
2219
+ 'OmnipoolLiquidityMining',
2220
+ 'SharesDeposited',
2221
+ {
2222
+ globalFarmId: number;
2223
+ yieldFarmId: number;
2224
+ depositId: bigint;
2225
+ assetId: number;
2226
+ who: AccountId32;
2227
+ sharesAmount: bigint;
2228
+ positionId: bigint;
2229
+ }
2230
+ >;
2231
+
2232
+ /**
2233
+ * Already locked LP shares were redeposited to another yield farm.
2234
+ **/
2235
+ SharesRedeposited: GenericPalletEvent<
2236
+ Rv,
2237
+ 'OmnipoolLiquidityMining',
2238
+ 'SharesRedeposited',
2239
+ {
2240
+ globalFarmId: number;
2241
+ yieldFarmId: number;
2242
+ depositId: bigint;
2243
+ assetId: number;
2244
+ who: AccountId32;
2245
+ sharesAmount: bigint;
2246
+ positionId: bigint;
2247
+ }
2248
+ >;
2249
+
2250
+ /**
2251
+ * Rewards were claimed.
2252
+ **/
2253
+ RewardClaimed: GenericPalletEvent<
2254
+ Rv,
2255
+ 'OmnipoolLiquidityMining',
2256
+ 'RewardClaimed',
2257
+ {
2258
+ globalFarmId: number;
2259
+ yieldFarmId: number;
2260
+ who: AccountId32;
2261
+ claimed: bigint;
2262
+ rewardCurrency: number;
2263
+ depositId: bigint;
2264
+ }
2265
+ >;
2266
+
2267
+ /**
2268
+ * LP shares were withdrawn.
2269
+ **/
2270
+ SharesWithdrawn: GenericPalletEvent<
2271
+ Rv,
2272
+ 'OmnipoolLiquidityMining',
2273
+ 'SharesWithdrawn',
2274
+ { globalFarmId: number; yieldFarmId: number; who: AccountId32; amount: bigint; depositId: bigint }
2275
+ >;
2276
+
2277
+ /**
2278
+ * All LP shares were unlocked and NFT representing deposit was destroyed.
2279
+ **/
2280
+ DepositDestroyed: GenericPalletEvent<
2281
+ Rv,
2282
+ 'OmnipoolLiquidityMining',
2283
+ 'DepositDestroyed',
2284
+ { who: AccountId32; depositId: bigint }
2285
+ >;
2286
+
2287
+ /**
2288
+ * Generic pallet event
2289
+ **/
2290
+ [prop: string]: GenericPalletEvent<Rv>;
2291
+ };
2292
+ /**
2293
+ * Pallet `OTC`'s events
2294
+ **/
2295
+ otc: {
2296
+ /**
2297
+ * An Order has been cancelled
2298
+ **/
2299
+ Cancelled: GenericPalletEvent<Rv, 'OTC', 'Cancelled', { orderId: number }>;
2300
+
2301
+ /**
2302
+ * An Order has been completely filled
2303
+ * Deprecated. Replaced by pallet_broadcast::Swapped
2304
+ **/
2305
+ Filled: GenericPalletEvent<
2306
+ Rv,
2307
+ 'OTC',
2308
+ 'Filled',
2309
+ { orderId: number; who: AccountId32; amountIn: bigint; amountOut: bigint; fee: bigint }
2310
+ >;
2311
+
2312
+ /**
2313
+ * An Order has been partially filled
2314
+ * Deprecated. Replaced by pallet_broadcast::Swapped
2315
+ **/
2316
+ PartiallyFilled: GenericPalletEvent<
2317
+ Rv,
2318
+ 'OTC',
2319
+ 'PartiallyFilled',
2320
+ { orderId: number; who: AccountId32; amountIn: bigint; amountOut: bigint; fee: bigint }
2321
+ >;
2322
+
2323
+ /**
2324
+ * An Order has been placed
2325
+ **/
2326
+ Placed: GenericPalletEvent<
2327
+ Rv,
2328
+ 'OTC',
2329
+ 'Placed',
2330
+ {
2331
+ orderId: number;
2332
+ assetIn: number;
2333
+ assetOut: number;
2334
+ amountIn: bigint;
2335
+ amountOut: bigint;
2336
+ partiallyFillable: boolean;
2337
+ }
2338
+ >;
2339
+
2340
+ /**
2341
+ * Generic pallet event
2342
+ **/
2343
+ [prop: string]: GenericPalletEvent<Rv>;
2344
+ };
2345
+ /**
2346
+ * Pallet `CircuitBreaker`'s events
2347
+ **/
2348
+ circuitBreaker: {
2349
+ /**
2350
+ * Trade volume limit of an asset was changed.
2351
+ **/
2352
+ TradeVolumeLimitChanged: GenericPalletEvent<
2353
+ Rv,
2354
+ 'CircuitBreaker',
2355
+ 'TradeVolumeLimitChanged',
2356
+ { assetId: number; tradeVolumeLimit: [number, number] }
2357
+ >;
2358
+
2359
+ /**
2360
+ * Add liquidity limit of an asset was changed.
2361
+ **/
2362
+ AddLiquidityLimitChanged: GenericPalletEvent<
2363
+ Rv,
2364
+ 'CircuitBreaker',
2365
+ 'AddLiquidityLimitChanged',
2366
+ { assetId: number; liquidityLimit?: [number, number] | undefined }
2367
+ >;
2368
+
2369
+ /**
2370
+ * Remove liquidity limit of an asset was changed.
2371
+ **/
2372
+ RemoveLiquidityLimitChanged: GenericPalletEvent<
2373
+ Rv,
2374
+ 'CircuitBreaker',
2375
+ 'RemoveLiquidityLimitChanged',
2376
+ { assetId: number; liquidityLimit?: [number, number] | undefined }
2377
+ >;
2378
+
2379
+ /**
2380
+ * Generic pallet event
2381
+ **/
2382
+ [prop: string]: GenericPalletEvent<Rv>;
2383
+ };
2384
+ /**
2385
+ * Pallet `Router`'s events
2386
+ **/
2387
+ router: {
2388
+ /**
2389
+ * The route with trades has been successfully executed
2390
+ **/
2391
+ Executed: GenericPalletEvent<
2392
+ Rv,
2393
+ 'Router',
2394
+ 'Executed',
2395
+ { assetIn: number; assetOut: number; amountIn: bigint; amountOut: bigint; eventId: number }
2396
+ >;
2397
+
2398
+ /**
2399
+ * The route with trades has been successfully executed
2400
+ **/
2401
+ RouteUpdated: GenericPalletEvent<Rv, 'Router', 'RouteUpdated', { assetIds: Array<number> }>;
2402
+
2403
+ /**
2404
+ * Generic pallet event
2405
+ **/
2406
+ [prop: string]: GenericPalletEvent<Rv>;
2407
+ };
2408
+ /**
2409
+ * Pallet `DynamicFees`'s events
2410
+ **/
2411
+ dynamicFees: {
2412
+ /**
2413
+ * Generic pallet event
2414
+ **/
2415
+ [prop: string]: GenericPalletEvent<Rv>;
2416
+ };
2417
+ /**
2418
+ * Pallet `Staking`'s events
2419
+ **/
2420
+ staking: {
2421
+ /**
2422
+ * New staking position was created and NFT was minted.
2423
+ **/
2424
+ PositionCreated: GenericPalletEvent<
2425
+ Rv,
2426
+ 'Staking',
2427
+ 'PositionCreated',
2428
+ { who: AccountId32; positionId: bigint; stake: bigint }
2429
+ >;
2430
+
2431
+ /**
2432
+ * Staked amount for existing position was increased.
2433
+ **/
2434
+ StakeAdded: GenericPalletEvent<
2435
+ Rv,
2436
+ 'Staking',
2437
+ 'StakeAdded',
2438
+ {
2439
+ who: AccountId32;
2440
+ positionId: bigint;
2441
+ stake: bigint;
2442
+ totalStake: bigint;
2443
+ lockedRewards: bigint;
2444
+ slashedPoints: bigint;
2445
+ payablePercentage: FixedU128;
2446
+ }
2447
+ >;
2448
+
2449
+ /**
2450
+ * Rewards were claimed.
2451
+ **/
2452
+ RewardsClaimed: GenericPalletEvent<
2453
+ Rv,
2454
+ 'Staking',
2455
+ 'RewardsClaimed',
2456
+ {
2457
+ who: AccountId32;
2458
+ positionId: bigint;
2459
+ paidRewards: bigint;
2460
+ unlockedRewards: bigint;
2461
+ slashedPoints: bigint;
2462
+ slashedUnpaidRewards: bigint;
2463
+ payablePercentage: FixedU128;
2464
+ }
2465
+ >;
2466
+
2467
+ /**
2468
+ * Staked amount was withdrawn and NFT was burned.
2469
+ **/
2470
+ Unstaked: GenericPalletEvent<
2471
+ Rv,
2472
+ 'Staking',
2473
+ 'Unstaked',
2474
+ { who: AccountId32; positionId: bigint; unlockedStake: bigint }
2475
+ >;
2476
+
2477
+ /**
2478
+ * Staking was initialized.
2479
+ **/
2480
+ StakingInitialized: GenericPalletEvent<Rv, 'Staking', 'StakingInitialized', { nonDustableBalance: bigint }>;
2481
+
2482
+ /**
2483
+ * Staking's `accumulated_reward_per_stake` was updated.
2484
+ **/
2485
+ AccumulatedRpsUpdated: GenericPalletEvent<
2486
+ Rv,
2487
+ 'Staking',
2488
+ 'AccumulatedRpsUpdated',
2489
+ { accumulatedRps: FixedU128; totalStake: bigint }
2490
+ >;
2491
+
2492
+ /**
2493
+ * Generic pallet event
2494
+ **/
2495
+ [prop: string]: GenericPalletEvent<Rv>;
2496
+ };
2497
+ /**
2498
+ * Pallet `Stableswap`'s events
2499
+ **/
2500
+ stableswap: {
2501
+ /**
2502
+ * A pool was created.
2503
+ **/
2504
+ PoolCreated: GenericPalletEvent<
2505
+ Rv,
2506
+ 'Stableswap',
2507
+ 'PoolCreated',
2508
+ {
2509
+ poolId: number;
2510
+ assets: Array<number>;
2511
+ amplification: NonZeroU16;
2512
+ fee: Permill;
2513
+ peg?: PalletStableswapPoolPegInfo | undefined;
2514
+ }
2515
+ >;
2516
+
2517
+ /**
2518
+ * Pool fee has been updated.
2519
+ **/
2520
+ FeeUpdated: GenericPalletEvent<Rv, 'Stableswap', 'FeeUpdated', { poolId: number; fee: Permill }>;
2521
+
2522
+ /**
2523
+ * Liquidity of an asset was added to a pool.
2524
+ **/
2525
+ LiquidityAdded: GenericPalletEvent<
2526
+ Rv,
2527
+ 'Stableswap',
2528
+ 'LiquidityAdded',
2529
+ { poolId: number; who: AccountId32; shares: bigint; assets: Array<HydradxTraitsStableswapAssetAmount> }
2530
+ >;
2531
+
2532
+ /**
2533
+ * Liquidity removed.
2534
+ **/
2535
+ LiquidityRemoved: GenericPalletEvent<
2536
+ Rv,
2537
+ 'Stableswap',
2538
+ 'LiquidityRemoved',
2539
+ {
2540
+ poolId: number;
2541
+ who: AccountId32;
2542
+ shares: bigint;
2543
+ amounts: Array<HydradxTraitsStableswapAssetAmount>;
2544
+ fee: bigint;
2545
+ }
2546
+ >;
2547
+
2548
+ /**
2549
+ * Sell trade executed. Trade fee paid in asset leaving the pool (already subtracted from amount_out).
2550
+ * Deprecated. Replaced by pallet_broadcast::Swapped
2551
+ **/
2552
+ SellExecuted: GenericPalletEvent<
2553
+ Rv,
2554
+ 'Stableswap',
2555
+ 'SellExecuted',
2556
+ {
2557
+ who: AccountId32;
2558
+ poolId: number;
2559
+ assetIn: number;
2560
+ assetOut: number;
2561
+ amountIn: bigint;
2562
+ amountOut: bigint;
2563
+ fee: bigint;
2564
+ }
2565
+ >;
2566
+
2567
+ /**
2568
+ * Buy trade executed. Trade fee paid in asset entering the pool (already included in amount_in).
2569
+ * Deprecated. Replaced by pallet_broadcast::Swapped
2570
+ **/
2571
+ BuyExecuted: GenericPalletEvent<
2572
+ Rv,
2573
+ 'Stableswap',
2574
+ 'BuyExecuted',
2575
+ {
2576
+ who: AccountId32;
2577
+ poolId: number;
2578
+ assetIn: number;
2579
+ assetOut: number;
2580
+ amountIn: bigint;
2581
+ amountOut: bigint;
2582
+ fee: bigint;
2583
+ }
2584
+ >;
2585
+
2586
+ /**
2587
+ * Asset's tradable state has been updated.
2588
+ **/
2589
+ TradableStateUpdated: GenericPalletEvent<
2590
+ Rv,
2591
+ 'Stableswap',
2592
+ 'TradableStateUpdated',
2593
+ { poolId: number; assetId: number; state: PalletStableswapTradability }
2594
+ >;
2595
+
2596
+ /**
2597
+ * Amplification of a pool has been scheduled to change.
2598
+ **/
2599
+ AmplificationChanging: GenericPalletEvent<
2600
+ Rv,
2601
+ 'Stableswap',
2602
+ 'AmplificationChanging',
2603
+ {
2604
+ poolId: number;
2605
+ currentAmplification: NonZeroU16;
2606
+ finalAmplification: NonZeroU16;
2607
+ startBlock: number;
2608
+ endBlock: number;
2609
+ }
2610
+ >;
2611
+
2612
+ /**
2613
+ * A pool has been destroyed.
2614
+ **/
2615
+ PoolDestroyed: GenericPalletEvent<Rv, 'Stableswap', 'PoolDestroyed', { poolId: number }>;
2616
+
2617
+ /**
2618
+ * Generic pallet event
2619
+ **/
2620
+ [prop: string]: GenericPalletEvent<Rv>;
2621
+ };
2622
+ /**
2623
+ * Pallet `Bonds`'s events
2624
+ **/
2625
+ bonds: {
2626
+ /**
2627
+ * A bond asset was registered
2628
+ **/
2629
+ TokenCreated: GenericPalletEvent<
2630
+ Rv,
2631
+ 'Bonds',
2632
+ 'TokenCreated',
2633
+ { issuer: AccountId32; assetId: number; bondId: number; maturity: bigint }
2634
+ >;
2635
+
2636
+ /**
2637
+ * New bond were issued
2638
+ **/
2639
+ Issued: GenericPalletEvent<
2640
+ Rv,
2641
+ 'Bonds',
2642
+ 'Issued',
2643
+ { issuer: AccountId32; bondId: number; amount: bigint; fee: bigint }
2644
+ >;
2645
+
2646
+ /**
2647
+ * Bonds were redeemed
2648
+ **/
2649
+ Redeemed: GenericPalletEvent<Rv, 'Bonds', 'Redeemed', { who: AccountId32; bondId: number; amount: bigint }>;
2650
+
2651
+ /**
2652
+ * Generic pallet event
2653
+ **/
2654
+ [prop: string]: GenericPalletEvent<Rv>;
2655
+ };
2656
+ /**
2657
+ * Pallet `OtcSettlements`'s events
2658
+ **/
2659
+ otcSettlements: {
2660
+ /**
2661
+ * A trade has been executed
2662
+ **/
2663
+ Executed: GenericPalletEvent<Rv, 'OtcSettlements', 'Executed', { assetId: number; profit: bigint }>;
2664
+
2665
+ /**
2666
+ * Generic pallet event
2667
+ **/
2668
+ [prop: string]: GenericPalletEvent<Rv>;
2669
+ };
2670
+ /**
2671
+ * Pallet `LBP`'s events
2672
+ **/
2673
+ lbp: {
2674
+ /**
2675
+ * Pool was created by the `CreatePool` origin.
2676
+ **/
2677
+ PoolCreated: GenericPalletEvent<Rv, 'LBP', 'PoolCreated', { pool: AccountId32; data: PalletLbpPool }>;
2678
+
2679
+ /**
2680
+ * Pool data were updated.
2681
+ **/
2682
+ PoolUpdated: GenericPalletEvent<Rv, 'LBP', 'PoolUpdated', { pool: AccountId32; data: PalletLbpPool }>;
2683
+
2684
+ /**
2685
+ * New liquidity was provided to the pool.
2686
+ **/
2687
+ LiquidityAdded: GenericPalletEvent<
2688
+ Rv,
2689
+ 'LBP',
2690
+ 'LiquidityAdded',
2691
+ { who: AccountId32; assetA: number; assetB: number; amountA: bigint; amountB: bigint }
2692
+ >;
2693
+
2694
+ /**
2695
+ * Liquidity was removed from the pool and the pool was destroyed.
2696
+ **/
2697
+ LiquidityRemoved: GenericPalletEvent<
2698
+ Rv,
2699
+ 'LBP',
2700
+ 'LiquidityRemoved',
2701
+ { who: AccountId32; assetA: number; assetB: number; amountA: bigint; amountB: bigint }
2702
+ >;
2703
+
2704
+ /**
2705
+ * Sale executed.
2706
+ * Deprecated. Replaced by pallet_broadcast::Swapped
2707
+ **/
2708
+ SellExecuted: GenericPalletEvent<
2709
+ Rv,
2710
+ 'LBP',
2711
+ 'SellExecuted',
2712
+ {
2713
+ who: AccountId32;
2714
+ assetIn: number;
2715
+ assetOut: number;
2716
+ amount: bigint;
2717
+ salePrice: bigint;
2718
+ feeAsset: number;
2719
+ feeAmount: bigint;
2720
+ }
2721
+ >;
2722
+
2723
+ /**
2724
+ * Purchase executed.
2725
+ * Deprecated. Replaced by pallet_broadcast::Swapped
2726
+ **/
2727
+ BuyExecuted: GenericPalletEvent<
2728
+ Rv,
2729
+ 'LBP',
2730
+ 'BuyExecuted',
2731
+ {
2732
+ who: AccountId32;
2733
+ assetOut: number;
2734
+ assetIn: number;
2735
+ amount: bigint;
2736
+ buyPrice: bigint;
2737
+ feeAsset: number;
2738
+ feeAmount: bigint;
2739
+ }
2740
+ >;
2741
+
2742
+ /**
2743
+ * Generic pallet event
2744
+ **/
2745
+ [prop: string]: GenericPalletEvent<Rv>;
2746
+ };
2747
+ /**
2748
+ * Pallet `XYK`'s events
2749
+ **/
2750
+ xyk: {
2751
+ /**
2752
+ * New liquidity was provided to the pool.
2753
+ **/
2754
+ LiquidityAdded: GenericPalletEvent<
2755
+ Rv,
2756
+ 'XYK',
2757
+ 'LiquidityAdded',
2758
+ { who: AccountId32; assetA: number; assetB: number; amountA: bigint; amountB: bigint }
2759
+ >;
2760
+
2761
+ /**
2762
+ * Liquidity was removed from the pool.
2763
+ **/
2764
+ LiquidityRemoved: GenericPalletEvent<
2765
+ Rv,
2766
+ 'XYK',
2767
+ 'LiquidityRemoved',
2768
+ { who: AccountId32; assetA: number; assetB: number; shares: bigint }
2769
+ >;
2770
+
2771
+ /**
2772
+ * Pool was created.
2773
+ **/
2774
+ PoolCreated: GenericPalletEvent<
2775
+ Rv,
2776
+ 'XYK',
2777
+ 'PoolCreated',
2778
+ {
2779
+ who: AccountId32;
2780
+ assetA: number;
2781
+ assetB: number;
2782
+ initialSharesAmount: bigint;
2783
+ shareToken: number;
2784
+ pool: AccountId32;
2785
+ }
2786
+ >;
2787
+
2788
+ /**
2789
+ * Pool was destroyed.
2790
+ **/
2791
+ PoolDestroyed: GenericPalletEvent<
2792
+ Rv,
2793
+ 'XYK',
2794
+ 'PoolDestroyed',
2795
+ { who: AccountId32; assetA: number; assetB: number; shareToken: number; pool: AccountId32 }
2796
+ >;
2797
+
2798
+ /**
2799
+ * Asset sale executed.
2800
+ * Deprecated. Replaced by pallet_broadcast::Swapped
2801
+ **/
2802
+ SellExecuted: GenericPalletEvent<
2803
+ Rv,
2804
+ 'XYK',
2805
+ 'SellExecuted',
2806
+ {
2807
+ who: AccountId32;
2808
+ assetIn: number;
2809
+ assetOut: number;
2810
+ amount: bigint;
2811
+ salePrice: bigint;
2812
+ feeAsset: number;
2813
+ feeAmount: bigint;
2814
+ pool: AccountId32;
2815
+ }
2816
+ >;
2817
+
2818
+ /**
2819
+ * Asset purchase executed.
2820
+ * Deprecated. Replaced by pallet_broadcast::Swapped
2821
+ **/
2822
+ BuyExecuted: GenericPalletEvent<
2823
+ Rv,
2824
+ 'XYK',
2825
+ 'BuyExecuted',
2826
+ {
2827
+ who: AccountId32;
2828
+ assetOut: number;
2829
+ assetIn: number;
2830
+ amount: bigint;
2831
+ buyPrice: bigint;
2832
+ feeAsset: number;
2833
+ feeAmount: bigint;
2834
+ pool: AccountId32;
2835
+ }
2836
+ >;
2837
+
2838
+ /**
2839
+ * Generic pallet event
2840
+ **/
2841
+ [prop: string]: GenericPalletEvent<Rv>;
2842
+ };
2843
+ /**
2844
+ * Pallet `Referrals`'s events
2845
+ **/
2846
+ referrals: {
2847
+ /**
2848
+ * Referral code has been registered.
2849
+ **/
2850
+ CodeRegistered: GenericPalletEvent<Rv, 'Referrals', 'CodeRegistered', { code: Bytes; account: AccountId32 }>;
2851
+
2852
+ /**
2853
+ * Referral code has been linked to an account.
2854
+ **/
2855
+ CodeLinked: GenericPalletEvent<
2856
+ Rv,
2857
+ 'Referrals',
2858
+ 'CodeLinked',
2859
+ { account: AccountId32; code: Bytes; referralAccount: AccountId32 }
2860
+ >;
2861
+
2862
+ /**
2863
+ * Asset has been converted to RewardAsset.
2864
+ **/
2865
+ Converted: GenericPalletEvent<
2866
+ Rv,
2867
+ 'Referrals',
2868
+ 'Converted',
2869
+ { from: PalletReferralsAssetAmount; to: PalletReferralsAssetAmount }
2870
+ >;
2871
+
2872
+ /**
2873
+ * Rewards claimed.
2874
+ **/
2875
+ Claimed: GenericPalletEvent<
2876
+ Rv,
2877
+ 'Referrals',
2878
+ 'Claimed',
2879
+ { who: AccountId32; referrerRewards: bigint; tradeRewards: bigint }
2880
+ >;
2881
+
2882
+ /**
2883
+ * New asset rewards has been set.
2884
+ **/
2885
+ AssetRewardsUpdated: GenericPalletEvent<
2886
+ Rv,
2887
+ 'Referrals',
2888
+ 'AssetRewardsUpdated',
2889
+ { assetId: number; level: PalletReferralsLevel; rewards: PalletReferralsFeeDistribution }
2890
+ >;
2891
+
2892
+ /**
2893
+ * Referrer reached new level.
2894
+ **/
2895
+ LevelUp: GenericPalletEvent<Rv, 'Referrals', 'LevelUp', { who: AccountId32; level: PalletReferralsLevel }>;
2896
+
2897
+ /**
2898
+ * Generic pallet event
2899
+ **/
2900
+ [prop: string]: GenericPalletEvent<Rv>;
2901
+ };
2902
+ /**
2903
+ * Pallet `Liquidation`'s events
2904
+ **/
2905
+ liquidation: {
2906
+ /**
2907
+ * Money market position has been liquidated
2908
+ **/
2909
+ Liquidated: GenericPalletEvent<
2910
+ Rv,
2911
+ 'Liquidation',
2912
+ 'Liquidated',
2913
+ {
2914
+ liquidator: AccountId32;
2915
+ evmAddress: H160;
2916
+ collateralAsset: number;
2917
+ debtAsset: number;
2918
+ debtToCover: bigint;
2919
+ profit: bigint;
2920
+ }
2921
+ >;
2922
+
2923
+ /**
2924
+ * Generic pallet event
2925
+ **/
2926
+ [prop: string]: GenericPalletEvent<Rv>;
2927
+ };
2928
+ /**
2929
+ * Pallet `Tokens`'s events
2930
+ **/
2931
+ tokens: {
2932
+ /**
2933
+ * An account was created with some free balance.
2934
+ **/
2935
+ Endowed: GenericPalletEvent<Rv, 'Tokens', 'Endowed', { currencyId: number; who: AccountId32; amount: bigint }>;
2936
+
2937
+ /**
2938
+ * An account was removed whose balance was non-zero but below
2939
+ * ExistentialDeposit, resulting in an outright loss.
2940
+ **/
2941
+ DustLost: GenericPalletEvent<Rv, 'Tokens', 'DustLost', { currencyId: number; who: AccountId32; amount: bigint }>;
2942
+
2943
+ /**
2944
+ * Transfer succeeded.
2945
+ **/
2946
+ Transfer: GenericPalletEvent<
2947
+ Rv,
2948
+ 'Tokens',
2949
+ 'Transfer',
2950
+ { currencyId: number; from: AccountId32; to: AccountId32; amount: bigint }
2951
+ >;
2952
+
2953
+ /**
2954
+ * Some balance was reserved (moved from free to reserved).
2955
+ **/
2956
+ Reserved: GenericPalletEvent<Rv, 'Tokens', 'Reserved', { currencyId: number; who: AccountId32; amount: bigint }>;
2957
+
2958
+ /**
2959
+ * Some balance was unreserved (moved from reserved to free).
2960
+ **/
2961
+ Unreserved: GenericPalletEvent<
2962
+ Rv,
2963
+ 'Tokens',
2964
+ 'Unreserved',
2965
+ { currencyId: number; who: AccountId32; amount: bigint }
2966
+ >;
2967
+
2968
+ /**
2969
+ * Some reserved balance was repatriated (moved from reserved to
2970
+ * another account).
2971
+ **/
2972
+ ReserveRepatriated: GenericPalletEvent<
2973
+ Rv,
2974
+ 'Tokens',
2975
+ 'ReserveRepatriated',
2976
+ {
2977
+ currencyId: number;
2978
+ from: AccountId32;
2979
+ to: AccountId32;
2980
+ amount: bigint;
2981
+ status: FrameSupportTokensMiscBalanceStatus;
2982
+ }
2983
+ >;
2984
+
2985
+ /**
2986
+ * A balance was set by root.
2987
+ **/
2988
+ BalanceSet: GenericPalletEvent<
2989
+ Rv,
2990
+ 'Tokens',
2991
+ 'BalanceSet',
2992
+ { currencyId: number; who: AccountId32; free: bigint; reserved: bigint }
2993
+ >;
2994
+
2995
+ /**
2996
+ * The total issuance of an currency has been set
2997
+ **/
2998
+ TotalIssuanceSet: GenericPalletEvent<Rv, 'Tokens', 'TotalIssuanceSet', { currencyId: number; amount: bigint }>;
2999
+
3000
+ /**
3001
+ * Some balances were withdrawn (e.g. pay for transaction fee)
3002
+ **/
3003
+ Withdrawn: GenericPalletEvent<Rv, 'Tokens', 'Withdrawn', { currencyId: number; who: AccountId32; amount: bigint }>;
3004
+
3005
+ /**
3006
+ * Some balances were slashed (e.g. due to mis-behavior)
3007
+ **/
3008
+ Slashed: GenericPalletEvent<
3009
+ Rv,
3010
+ 'Tokens',
3011
+ 'Slashed',
3012
+ { currencyId: number; who: AccountId32; freeAmount: bigint; reservedAmount: bigint }
3013
+ >;
3014
+
3015
+ /**
3016
+ * Deposited some balance into an account
3017
+ **/
3018
+ Deposited: GenericPalletEvent<Rv, 'Tokens', 'Deposited', { currencyId: number; who: AccountId32; amount: bigint }>;
3019
+
3020
+ /**
3021
+ * Some funds are locked
3022
+ **/
3023
+ LockSet: GenericPalletEvent<
3024
+ Rv,
3025
+ 'Tokens',
3026
+ 'LockSet',
3027
+ { lockId: FixedBytes<8>; currencyId: number; who: AccountId32; amount: bigint }
3028
+ >;
3029
+
3030
+ /**
3031
+ * Some locked funds were unlocked
3032
+ **/
3033
+ LockRemoved: GenericPalletEvent<
3034
+ Rv,
3035
+ 'Tokens',
3036
+ 'LockRemoved',
3037
+ { lockId: FixedBytes<8>; currencyId: number; who: AccountId32 }
3038
+ >;
3039
+
3040
+ /**
3041
+ * Some free balance was locked.
3042
+ **/
3043
+ Locked: GenericPalletEvent<Rv, 'Tokens', 'Locked', { currencyId: number; who: AccountId32; amount: bigint }>;
3044
+
3045
+ /**
3046
+ * Some locked balance was freed.
3047
+ **/
3048
+ Unlocked: GenericPalletEvent<Rv, 'Tokens', 'Unlocked', { currencyId: number; who: AccountId32; amount: bigint }>;
3049
+ Issued: GenericPalletEvent<Rv, 'Tokens', 'Issued', { currencyId: number; amount: bigint }>;
3050
+ Rescinded: GenericPalletEvent<Rv, 'Tokens', 'Rescinded', { currencyId: number; amount: bigint }>;
3051
+
3052
+ /**
3053
+ * Generic pallet event
3054
+ **/
3055
+ [prop: string]: GenericPalletEvent<Rv>;
3056
+ };
3057
+ /**
3058
+ * Pallet `Currencies`'s events
3059
+ **/
3060
+ currencies: {
3061
+ /**
3062
+ * Currency transfer success.
3063
+ **/
3064
+ Transferred: GenericPalletEvent<
3065
+ Rv,
3066
+ 'Currencies',
3067
+ 'Transferred',
3068
+ { currencyId: number; from: AccountId32; to: AccountId32; amount: bigint }
3069
+ >;
3070
+
3071
+ /**
3072
+ * Update balance success.
3073
+ **/
3074
+ BalanceUpdated: GenericPalletEvent<
3075
+ Rv,
3076
+ 'Currencies',
3077
+ 'BalanceUpdated',
3078
+ { currencyId: number; who: AccountId32; amount: bigint }
3079
+ >;
3080
+
3081
+ /**
3082
+ * Deposit success.
3083
+ **/
3084
+ Deposited: GenericPalletEvent<
3085
+ Rv,
3086
+ 'Currencies',
3087
+ 'Deposited',
3088
+ { currencyId: number; who: AccountId32; amount: bigint }
3089
+ >;
3090
+
3091
+ /**
3092
+ * Withdraw success.
3093
+ **/
3094
+ Withdrawn: GenericPalletEvent<
3095
+ Rv,
3096
+ 'Currencies',
3097
+ 'Withdrawn',
3098
+ { currencyId: number; who: AccountId32; amount: bigint }
3099
+ >;
3100
+
3101
+ /**
3102
+ * Generic pallet event
3103
+ **/
3104
+ [prop: string]: GenericPalletEvent<Rv>;
3105
+ };
3106
+ /**
3107
+ * Pallet `Vesting`'s events
3108
+ **/
3109
+ vesting: {
3110
+ /**
3111
+ * Added new vesting schedule.
3112
+ **/
3113
+ VestingScheduleAdded: GenericPalletEvent<
3114
+ Rv,
3115
+ 'Vesting',
3116
+ 'VestingScheduleAdded',
3117
+ { from: AccountId32; to: AccountId32; vestingSchedule: OrmlVestingVestingSchedule }
3118
+ >;
3119
+
3120
+ /**
3121
+ * Claimed vesting.
3122
+ **/
3123
+ Claimed: GenericPalletEvent<Rv, 'Vesting', 'Claimed', { who: AccountId32; amount: bigint }>;
3124
+
3125
+ /**
3126
+ * Updated vesting schedules.
3127
+ **/
3128
+ VestingSchedulesUpdated: GenericPalletEvent<Rv, 'Vesting', 'VestingSchedulesUpdated', { who: AccountId32 }>;
3129
+
3130
+ /**
3131
+ * Generic pallet event
3132
+ **/
3133
+ [prop: string]: GenericPalletEvent<Rv>;
3134
+ };
3135
+ /**
3136
+ * Pallet `EVM`'s events
3137
+ **/
3138
+ evm: {
3139
+ /**
3140
+ * Ethereum events from contracts.
3141
+ **/
3142
+ Log: GenericPalletEvent<Rv, 'EVM', 'Log', { log: EthereumLog }>;
3143
+
3144
+ /**
3145
+ * A contract has been created at given address.
3146
+ **/
3147
+ Created: GenericPalletEvent<Rv, 'EVM', 'Created', { address: H160 }>;
3148
+
3149
+ /**
3150
+ * A contract was attempted to be created, but the execution failed.
3151
+ **/
3152
+ CreatedFailed: GenericPalletEvent<Rv, 'EVM', 'CreatedFailed', { address: H160 }>;
3153
+
3154
+ /**
3155
+ * A contract has been executed successfully with states applied.
3156
+ **/
3157
+ Executed: GenericPalletEvent<Rv, 'EVM', 'Executed', { address: H160 }>;
3158
+
3159
+ /**
3160
+ * A contract has been executed with errors. States are reverted with only gas fees applied.
3161
+ **/
3162
+ ExecutedFailed: GenericPalletEvent<Rv, 'EVM', 'ExecutedFailed', { address: H160 }>;
3163
+
3164
+ /**
3165
+ * Generic pallet event
3166
+ **/
3167
+ [prop: string]: GenericPalletEvent<Rv>;
3168
+ };
3169
+ /**
3170
+ * Pallet `Ethereum`'s events
3171
+ **/
3172
+ ethereum: {
3173
+ /**
3174
+ * An ethereum transaction was successfully executed.
3175
+ **/
3176
+ Executed: GenericPalletEvent<
3177
+ Rv,
3178
+ 'Ethereum',
3179
+ 'Executed',
3180
+ { from: H160; to: H160; transactionHash: H256; exitReason: EvmCoreErrorExitReason; extraData: Bytes }
3181
+ >;
3182
+
3183
+ /**
3184
+ * Generic pallet event
3185
+ **/
3186
+ [prop: string]: GenericPalletEvent<Rv>;
3187
+ };
3188
+ /**
3189
+ * Pallet `EVMAccounts`'s events
3190
+ **/
3191
+ evmAccounts: {
3192
+ /**
3193
+ * Binding was created.
3194
+ **/
3195
+ Bound: GenericPalletEvent<Rv, 'EVMAccounts', 'Bound', { account: AccountId32; address: H160 }>;
3196
+
3197
+ /**
3198
+ * Deployer was added.
3199
+ **/
3200
+ DeployerAdded: GenericPalletEvent<Rv, 'EVMAccounts', 'DeployerAdded', { who: H160 }>;
3201
+
3202
+ /**
3203
+ * Deployer was removed.
3204
+ **/
3205
+ DeployerRemoved: GenericPalletEvent<Rv, 'EVMAccounts', 'DeployerRemoved', { who: H160 }>;
3206
+
3207
+ /**
3208
+ * Contract was approved.
3209
+ **/
3210
+ ContractApproved: GenericPalletEvent<Rv, 'EVMAccounts', 'ContractApproved', { address: H160 }>;
3211
+
3212
+ /**
3213
+ * Contract was disapproved.
3214
+ **/
3215
+ ContractDisapproved: GenericPalletEvent<Rv, 'EVMAccounts', 'ContractDisapproved', { address: H160 }>;
3216
+
3217
+ /**
3218
+ * Generic pallet event
3219
+ **/
3220
+ [prop: string]: GenericPalletEvent<Rv>;
3221
+ };
3222
+ /**
3223
+ * Pallet `XYKLiquidityMining`'s events
3224
+ **/
3225
+ xykLiquidityMining: {
3226
+ /**
3227
+ * New global farm was created.
3228
+ **/
3229
+ GlobalFarmCreated: GenericPalletEvent<
3230
+ Rv,
3231
+ 'XYKLiquidityMining',
3232
+ 'GlobalFarmCreated',
3233
+ {
3234
+ id: number;
3235
+ owner: AccountId32;
3236
+ totalRewards: bigint;
3237
+ rewardCurrency: number;
3238
+ yieldPerPeriod: Perquintill;
3239
+ plannedYieldingPeriods: number;
3240
+ blocksPerPeriod: number;
3241
+ incentivizedAsset: number;
3242
+ maxRewardPerPeriod: bigint;
3243
+ minDeposit: bigint;
3244
+ priceAdjustment: FixedU128;
3245
+ }
3246
+ >;
3247
+
3248
+ /**
3249
+ * Global farm's `price_adjustment` was updated.
3250
+ **/
3251
+ GlobalFarmUpdated: GenericPalletEvent<
3252
+ Rv,
3253
+ 'XYKLiquidityMining',
3254
+ 'GlobalFarmUpdated',
3255
+ { id: number; priceAdjustment: FixedU128 }
3256
+ >;
3257
+
3258
+ /**
3259
+ * New yield farm was added into the farm.
3260
+ **/
3261
+ YieldFarmCreated: GenericPalletEvent<
3262
+ Rv,
3263
+ 'XYKLiquidityMining',
3264
+ 'YieldFarmCreated',
3265
+ {
3266
+ globalFarmId: number;
3267
+ yieldFarmId: number;
3268
+ multiplier: FixedU128;
3269
+ assetPair: PalletXykAssetPair;
3270
+ loyaltyCurve?: PalletLiquidityMiningLoyaltyCurve | undefined;
3271
+ }
3272
+ >;
3273
+
3274
+ /**
3275
+ * Global farm was terminated.
3276
+ **/
3277
+ GlobalFarmTerminated: GenericPalletEvent<
3278
+ Rv,
3279
+ 'XYKLiquidityMining',
3280
+ 'GlobalFarmTerminated',
3281
+ { globalFarmId: number; who: AccountId32; rewardCurrency: number; undistributedRewards: bigint }
3282
+ >;
3283
+
3284
+ /**
3285
+ * New LP tokens was deposited.
3286
+ **/
3287
+ SharesDeposited: GenericPalletEvent<
3288
+ Rv,
3289
+ 'XYKLiquidityMining',
3290
+ 'SharesDeposited',
3291
+ {
3292
+ globalFarmId: number;
3293
+ yieldFarmId: number;
3294
+ who: AccountId32;
3295
+ amount: bigint;
3296
+ lpToken: number;
3297
+ depositId: bigint;
3298
+ }
3299
+ >;
3300
+
3301
+ /**
3302
+ * LP token was redeposited for a new yield farm entry
3303
+ **/
3304
+ SharesRedeposited: GenericPalletEvent<
3305
+ Rv,
3306
+ 'XYKLiquidityMining',
3307
+ 'SharesRedeposited',
3308
+ {
3309
+ globalFarmId: number;
3310
+ yieldFarmId: number;
3311
+ who: AccountId32;
3312
+ amount: bigint;
3313
+ lpToken: number;
3314
+ depositId: bigint;
3315
+ }
3316
+ >;
3317
+
3318
+ /**
3319
+ * Rewards was claimed.
3320
+ **/
3321
+ RewardClaimed: GenericPalletEvent<
3322
+ Rv,
3323
+ 'XYKLiquidityMining',
3324
+ 'RewardClaimed',
3325
+ {
3326
+ globalFarmId: number;
3327
+ yieldFarmId: number;
3328
+ who: AccountId32;
3329
+ claimed: bigint;
3330
+ rewardCurrency: number;
3331
+ depositId: bigint;
3332
+ }
3333
+ >;
3334
+
3335
+ /**
3336
+ * LP tokens was withdrawn.
3337
+ **/
3338
+ SharesWithdrawn: GenericPalletEvent<
3339
+ Rv,
3340
+ 'XYKLiquidityMining',
3341
+ 'SharesWithdrawn',
3342
+ {
3343
+ globalFarmId: number;
3344
+ yieldFarmId: number;
3345
+ who: AccountId32;
3346
+ lpToken: number;
3347
+ amount: bigint;
3348
+ depositId: bigint;
3349
+ }
3350
+ >;
3351
+
3352
+ /**
3353
+ * Yield farm for asset pair was stopped.
3354
+ **/
3355
+ YieldFarmStopped: GenericPalletEvent<
3356
+ Rv,
3357
+ 'XYKLiquidityMining',
3358
+ 'YieldFarmStopped',
3359
+ { globalFarmId: number; yieldFarmId: number; who: AccountId32; assetPair: PalletXykAssetPair }
3360
+ >;
3361
+
3362
+ /**
3363
+ * Yield farm for asset pair was resumed.
3364
+ **/
3365
+ YieldFarmResumed: GenericPalletEvent<
3366
+ Rv,
3367
+ 'XYKLiquidityMining',
3368
+ 'YieldFarmResumed',
3369
+ {
3370
+ globalFarmId: number;
3371
+ yieldFarmId: number;
3372
+ who: AccountId32;
3373
+ assetPair: PalletXykAssetPair;
3374
+ multiplier: FixedU128;
3375
+ }
3376
+ >;
3377
+
3378
+ /**
3379
+ * Yield farm was terminated from global farm.
3380
+ **/
3381
+ YieldFarmTerminated: GenericPalletEvent<
3382
+ Rv,
3383
+ 'XYKLiquidityMining',
3384
+ 'YieldFarmTerminated',
3385
+ { globalFarmId: number; yieldFarmId: number; who: AccountId32; assetPair: PalletXykAssetPair }
3386
+ >;
3387
+
3388
+ /**
3389
+ * Yield farm multiplier was updated.
3390
+ **/
3391
+ YieldFarmUpdated: GenericPalletEvent<
3392
+ Rv,
3393
+ 'XYKLiquidityMining',
3394
+ 'YieldFarmUpdated',
3395
+ {
3396
+ globalFarmId: number;
3397
+ yieldFarmId: number;
3398
+ who: AccountId32;
3399
+ assetPair: PalletXykAssetPair;
3400
+ multiplier: FixedU128;
3401
+ }
3402
+ >;
3403
+
3404
+ /**
3405
+ * NFT representing deposit has been destroyed
3406
+ **/
3407
+ DepositDestroyed: GenericPalletEvent<
3408
+ Rv,
3409
+ 'XYKLiquidityMining',
3410
+ 'DepositDestroyed',
3411
+ { who: AccountId32; depositId: bigint }
3412
+ >;
3413
+
3414
+ /**
3415
+ * Generic pallet event
3416
+ **/
3417
+ [prop: string]: GenericPalletEvent<Rv>;
3418
+ };
3419
+ /**
3420
+ * Pallet `XYKWarehouseLM`'s events
3421
+ **/
3422
+ xykWarehouseLM: {
3423
+ /**
3424
+ * Global farm accumulated reward per share was updated.
3425
+ **/
3426
+ GlobalFarmAccRPZUpdated: GenericPalletEvent<
3427
+ Rv,
3428
+ 'XYKWarehouseLM',
3429
+ 'GlobalFarmAccRPZUpdated',
3430
+ { globalFarmId: number; accumulatedRpz: FixedU128; totalSharesZ: bigint }
3431
+ >;
3432
+
3433
+ /**
3434
+ * Yield farm accumulated reward per valued share was updated.
3435
+ **/
3436
+ YieldFarmAccRPVSUpdated: GenericPalletEvent<
3437
+ Rv,
3438
+ 'XYKWarehouseLM',
3439
+ 'YieldFarmAccRPVSUpdated',
3440
+ { globalFarmId: number; yieldFarmId: number; accumulatedRpvs: FixedU128; totalValuedShares: bigint }
3441
+ >;
3442
+
3443
+ /**
3444
+ * Global farm has no more rewards to distribute in the moment.
3445
+ **/
3446
+ AllRewardsDistributed: GenericPalletEvent<Rv, 'XYKWarehouseLM', 'AllRewardsDistributed', { globalFarmId: number }>;
3447
+
3448
+ /**
3449
+ * Generic pallet event
3450
+ **/
3451
+ [prop: string]: GenericPalletEvent<Rv>;
3452
+ };
3453
+ /**
3454
+ * Pallet `RelayChainInfo`'s events
3455
+ **/
3456
+ relayChainInfo: {
3457
+ /**
3458
+ * Current block numbers
3459
+ * [ Parachain block number, Relaychain Block number ]
3460
+ **/
3461
+ CurrentBlockNumbers: GenericPalletEvent<
3462
+ Rv,
3463
+ 'RelayChainInfo',
3464
+ 'CurrentBlockNumbers',
3465
+ { parachainBlockNumber: number; relaychainBlockNumber: number }
3466
+ >;
3467
+
3468
+ /**
3469
+ * Generic pallet event
3470
+ **/
3471
+ [prop: string]: GenericPalletEvent<Rv>;
3472
+ };
3473
+ /**
3474
+ * Pallet `DCA`'s events
3475
+ **/
3476
+ dca: {
3477
+ /**
3478
+ * The DCA execution is started
3479
+ **/
3480
+ ExecutionStarted: GenericPalletEvent<Rv, 'DCA', 'ExecutionStarted', { id: number; block: number }>;
3481
+
3482
+ /**
3483
+ * The DCA is scheduled for next execution
3484
+ **/
3485
+ Scheduled: GenericPalletEvent<
3486
+ Rv,
3487
+ 'DCA',
3488
+ 'Scheduled',
3489
+ { id: number; who: AccountId32; period: number; totalAmount: bigint; order: PalletDcaOrder }
3490
+ >;
3491
+
3492
+ /**
3493
+ * The DCA is planned for blocknumber
3494
+ **/
3495
+ ExecutionPlanned: GenericPalletEvent<
3496
+ Rv,
3497
+ 'DCA',
3498
+ 'ExecutionPlanned',
3499
+ { id: number; who: AccountId32; block: number }
3500
+ >;
3501
+
3502
+ /**
3503
+ * Deprecated. Use pallet_amm::Event::Swapped instead.
3504
+ * The DCA trade is successfully executed
3505
+ **/
3506
+ TradeExecuted: GenericPalletEvent<
3507
+ Rv,
3508
+ 'DCA',
3509
+ 'TradeExecuted',
3510
+ { id: number; who: AccountId32; amountIn: bigint; amountOut: bigint }
3511
+ >;
3512
+
3513
+ /**
3514
+ * The DCA trade execution is failed
3515
+ **/
3516
+ TradeFailed: GenericPalletEvent<Rv, 'DCA', 'TradeFailed', { id: number; who: AccountId32; error: DispatchError }>;
3517
+
3518
+ /**
3519
+ * The DCA is terminated and completely removed from the chain
3520
+ **/
3521
+ Terminated: GenericPalletEvent<Rv, 'DCA', 'Terminated', { id: number; who: AccountId32; error: DispatchError }>;
3522
+
3523
+ /**
3524
+ * The DCA is completed and completely removed from the chain
3525
+ **/
3526
+ Completed: GenericPalletEvent<Rv, 'DCA', 'Completed', { id: number; who: AccountId32 }>;
3527
+
3528
+ /**
3529
+ * Randomness generation failed possibly coming from missing data about relay chain
3530
+ **/
3531
+ RandomnessGenerationFailed: GenericPalletEvent<
3532
+ Rv,
3533
+ 'DCA',
3534
+ 'RandomnessGenerationFailed',
3535
+ { block: number; error: DispatchError }
3536
+ >;
3537
+
3538
+ /**
3539
+ * Generic pallet event
3540
+ **/
3541
+ [prop: string]: GenericPalletEvent<Rv>;
3542
+ };
3543
+ /**
3544
+ * Pallet `Scheduler`'s events
3545
+ **/
3546
+ scheduler: {
3547
+ /**
3548
+ * Scheduled some task.
3549
+ **/
3550
+ Scheduled: GenericPalletEvent<Rv, 'Scheduler', 'Scheduled', { when: number; index: number }>;
3551
+
3552
+ /**
3553
+ * Canceled some task.
3554
+ **/
3555
+ Canceled: GenericPalletEvent<Rv, 'Scheduler', 'Canceled', { when: number; index: number }>;
3556
+
3557
+ /**
3558
+ * Dispatched some task.
3559
+ **/
3560
+ Dispatched: GenericPalletEvent<
3561
+ Rv,
3562
+ 'Scheduler',
3563
+ 'Dispatched',
3564
+ { task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
3565
+ >;
3566
+
3567
+ /**
3568
+ * Set a retry configuration for some task.
3569
+ **/
3570
+ RetrySet: GenericPalletEvent<
3571
+ Rv,
3572
+ 'Scheduler',
3573
+ 'RetrySet',
3574
+ { task: [number, number]; id?: FixedBytes<32> | undefined; period: number; retries: number }
3575
+ >;
3576
+
3577
+ /**
3578
+ * Cancel a retry configuration for some task.
3579
+ **/
3580
+ RetryCancelled: GenericPalletEvent<
3581
+ Rv,
3582
+ 'Scheduler',
3583
+ 'RetryCancelled',
3584
+ { task: [number, number]; id?: FixedBytes<32> | undefined }
3585
+ >;
3586
+
3587
+ /**
3588
+ * The call for the provided hash was not found so the task has been aborted.
3589
+ **/
3590
+ CallUnavailable: GenericPalletEvent<
3591
+ Rv,
3592
+ 'Scheduler',
3593
+ 'CallUnavailable',
3594
+ { task: [number, number]; id?: FixedBytes<32> | undefined }
3595
+ >;
3596
+
3597
+ /**
3598
+ * The given task was unable to be renewed since the agenda is full at that block.
3599
+ **/
3600
+ PeriodicFailed: GenericPalletEvent<
3601
+ Rv,
3602
+ 'Scheduler',
3603
+ 'PeriodicFailed',
3604
+ { task: [number, number]; id?: FixedBytes<32> | undefined }
3605
+ >;
3606
+
3607
+ /**
3608
+ * The given task was unable to be retried since the agenda is full at that block or there
3609
+ * was not enough weight to reschedule it.
3610
+ **/
3611
+ RetryFailed: GenericPalletEvent<
3612
+ Rv,
3613
+ 'Scheduler',
3614
+ 'RetryFailed',
3615
+ { task: [number, number]; id?: FixedBytes<32> | undefined }
3616
+ >;
3617
+
3618
+ /**
3619
+ * The given task can never be executed since it is overweight.
3620
+ **/
3621
+ PermanentlyOverweight: GenericPalletEvent<
3622
+ Rv,
3623
+ 'Scheduler',
3624
+ 'PermanentlyOverweight',
3625
+ { task: [number, number]; id?: FixedBytes<32> | undefined }
3626
+ >;
3627
+
3628
+ /**
3629
+ * Generic pallet event
3630
+ **/
3631
+ [prop: string]: GenericPalletEvent<Rv>;
3632
+ };
3633
+ /**
3634
+ * Pallet `ParachainSystem`'s events
3635
+ **/
3636
+ parachainSystem: {
3637
+ /**
3638
+ * The validation function has been scheduled to apply.
3639
+ **/
3640
+ ValidationFunctionStored: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionStored', null>;
3641
+
3642
+ /**
3643
+ * The validation function was applied as of the contained relay chain block number.
3644
+ **/
3645
+ ValidationFunctionApplied: GenericPalletEvent<
3646
+ Rv,
3647
+ 'ParachainSystem',
3648
+ 'ValidationFunctionApplied',
3649
+ { relayChainBlockNum: number }
3650
+ >;
3651
+
3652
+ /**
3653
+ * The relay-chain aborted the upgrade process.
3654
+ **/
3655
+ ValidationFunctionDiscarded: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionDiscarded', null>;
3656
+
3657
+ /**
3658
+ * Some downward messages have been received and will be processed.
3659
+ **/
3660
+ DownwardMessagesReceived: GenericPalletEvent<Rv, 'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
3661
+
3662
+ /**
3663
+ * Downward messages were processed using the given weight.
3664
+ **/
3665
+ DownwardMessagesProcessed: GenericPalletEvent<
3666
+ Rv,
3667
+ 'ParachainSystem',
3668
+ 'DownwardMessagesProcessed',
3669
+ { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
3670
+ >;
3671
+
3672
+ /**
3673
+ * An upward message was sent to the relay chain.
3674
+ **/
3675
+ UpwardMessageSent: GenericPalletEvent<
3676
+ Rv,
3677
+ 'ParachainSystem',
3678
+ 'UpwardMessageSent',
3679
+ { messageHash?: FixedBytes<32> | undefined }
3680
+ >;
3681
+
3682
+ /**
3683
+ * Generic pallet event
3684
+ **/
3685
+ [prop: string]: GenericPalletEvent<Rv>;
3686
+ };
3687
+ /**
3688
+ * Pallet `PolkadotXcm`'s events
3689
+ **/
3690
+ polkadotXcm: {
3691
+ /**
3692
+ * Execution of an XCM message was attempted.
3693
+ **/
3694
+ Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
3695
+
3696
+ /**
3697
+ * A XCM message was sent.
3698
+ **/
3699
+ Sent: GenericPalletEvent<
3700
+ Rv,
3701
+ 'PolkadotXcm',
3702
+ 'Sent',
3703
+ {
3704
+ origin: StagingXcmV4Location;
3705
+ destination: StagingXcmV4Location;
3706
+ message: StagingXcmV4Xcm;
3707
+ messageId: FixedBytes<32>;
3708
+ }
3709
+ >;
3710
+
3711
+ /**
3712
+ * Query response received which does not match a registered query. This may be because a
3713
+ * matching query was never registered, it may be because it is a duplicate response, or
3714
+ * because the query timed out.
3715
+ **/
3716
+ UnexpectedResponse: GenericPalletEvent<
3717
+ Rv,
3718
+ 'PolkadotXcm',
3719
+ 'UnexpectedResponse',
3720
+ { origin: StagingXcmV4Location; queryId: bigint }
3721
+ >;
3722
+
3723
+ /**
3724
+ * Query response has been received and is ready for taking with `take_response`. There is
3725
+ * no registered notification call.
3726
+ **/
3727
+ ResponseReady: GenericPalletEvent<
3728
+ Rv,
3729
+ 'PolkadotXcm',
3730
+ 'ResponseReady',
3731
+ { queryId: bigint; response: StagingXcmV4Response }
3732
+ >;
3733
+
3734
+ /**
3735
+ * Query response has been received and query is removed. The registered notification has
3736
+ * been dispatched and executed successfully.
3737
+ **/
3738
+ Notified: GenericPalletEvent<
3739
+ Rv,
3740
+ 'PolkadotXcm',
3741
+ 'Notified',
3742
+ { queryId: bigint; palletIndex: number; callIndex: number }
3743
+ >;
3744
+
3745
+ /**
3746
+ * Query response has been received and query is removed. The registered notification
3747
+ * could not be dispatched because the dispatch weight is greater than the maximum weight
3748
+ * originally budgeted by this runtime for the query result.
3749
+ **/
3750
+ NotifyOverweight: GenericPalletEvent<
3751
+ Rv,
3752
+ 'PolkadotXcm',
3753
+ 'NotifyOverweight',
3754
+ {
3755
+ queryId: bigint;
3756
+ palletIndex: number;
3757
+ callIndex: number;
3758
+ actualWeight: SpWeightsWeightV2Weight;
3759
+ maxBudgetedWeight: SpWeightsWeightV2Weight;
3760
+ }
3761
+ >;
3762
+
3763
+ /**
3764
+ * Query response has been received and query is removed. There was a general error with
3765
+ * dispatching the notification call.
3766
+ **/
3767
+ NotifyDispatchError: GenericPalletEvent<
3768
+ Rv,
3769
+ 'PolkadotXcm',
3770
+ 'NotifyDispatchError',
3771
+ { queryId: bigint; palletIndex: number; callIndex: number }
3772
+ >;
3773
+
3774
+ /**
3775
+ * Query response has been received and query is removed. The dispatch was unable to be
3776
+ * decoded into a `Call`; this might be due to dispatch function having a signature which
3777
+ * is not `(origin, QueryId, Response)`.
3778
+ **/
3779
+ NotifyDecodeFailed: GenericPalletEvent<
3780
+ Rv,
3781
+ 'PolkadotXcm',
3782
+ 'NotifyDecodeFailed',
3783
+ { queryId: bigint; palletIndex: number; callIndex: number }
3784
+ >;
3785
+
3786
+ /**
3787
+ * Expected query response has been received but the origin location of the response does
3788
+ * not match that expected. The query remains registered for a later, valid, response to
3789
+ * be received and acted upon.
3790
+ **/
3791
+ InvalidResponder: GenericPalletEvent<
3792
+ Rv,
3793
+ 'PolkadotXcm',
3794
+ 'InvalidResponder',
3795
+ { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
3796
+ >;
3797
+
3798
+ /**
3799
+ * Expected query response has been received but the expected origin location placed in
3800
+ * storage by this runtime previously cannot be decoded. The query remains registered.
3801
+ *
3802
+ * This is unexpected (since a location placed in storage in a previously executing
3803
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
3804
+ * valid response will be dropped. Manual governance intervention is probably going to be
3805
+ * needed.
3806
+ **/
3807
+ InvalidResponderVersion: GenericPalletEvent<
3808
+ Rv,
3809
+ 'PolkadotXcm',
3810
+ 'InvalidResponderVersion',
3811
+ { origin: StagingXcmV4Location; queryId: bigint }
3812
+ >;
3813
+
3814
+ /**
3815
+ * Received query response has been read and removed.
3816
+ **/
3817
+ ResponseTaken: GenericPalletEvent<Rv, 'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
3818
+
3819
+ /**
3820
+ * Some assets have been placed in an asset trap.
3821
+ **/
3822
+ AssetsTrapped: GenericPalletEvent<
3823
+ Rv,
3824
+ 'PolkadotXcm',
3825
+ 'AssetsTrapped',
3826
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
3827
+ >;
3828
+
3829
+ /**
3830
+ * An XCM version change notification message has been attempted to be sent.
3831
+ *
3832
+ * The cost of sending it (borne by the chain) is included.
3833
+ **/
3834
+ VersionChangeNotified: GenericPalletEvent<
3835
+ Rv,
3836
+ 'PolkadotXcm',
3837
+ 'VersionChangeNotified',
3838
+ { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3839
+ >;
3840
+
3841
+ /**
3842
+ * The supported version of a location has been changed. This might be through an
3843
+ * automatic notification or a manual intervention.
3844
+ **/
3845
+ SupportedVersionChanged: GenericPalletEvent<
3846
+ Rv,
3847
+ 'PolkadotXcm',
3848
+ 'SupportedVersionChanged',
3849
+ { location: StagingXcmV4Location; version: number }
3850
+ >;
3851
+
3852
+ /**
3853
+ * A given location which had a version change subscription was dropped owing to an error
3854
+ * sending the notification to it.
3855
+ **/
3856
+ NotifyTargetSendFail: GenericPalletEvent<
3857
+ Rv,
3858
+ 'PolkadotXcm',
3859
+ 'NotifyTargetSendFail',
3860
+ { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
3861
+ >;
3862
+
3863
+ /**
3864
+ * A given location which had a version change subscription was dropped owing to an error
3865
+ * migrating the location to our new XCM format.
3866
+ **/
3867
+ NotifyTargetMigrationFail: GenericPalletEvent<
3868
+ Rv,
3869
+ 'PolkadotXcm',
3870
+ 'NotifyTargetMigrationFail',
3871
+ { location: XcmVersionedLocation; queryId: bigint }
3872
+ >;
3873
+
3874
+ /**
3875
+ * Expected query response has been received but the expected querier location placed in
3876
+ * storage by this runtime previously cannot be decoded. The query remains registered.
3877
+ *
3878
+ * This is unexpected (since a location placed in storage in a previously executing
3879
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
3880
+ * valid response will be dropped. Manual governance intervention is probably going to be
3881
+ * needed.
3882
+ **/
3883
+ InvalidQuerierVersion: GenericPalletEvent<
3884
+ Rv,
3885
+ 'PolkadotXcm',
3886
+ 'InvalidQuerierVersion',
3887
+ { origin: StagingXcmV4Location; queryId: bigint }
3888
+ >;
3889
+
3890
+ /**
3891
+ * Expected query response has been received but the querier location of the response does
3892
+ * not match the expected. The query remains registered for a later, valid, response to
3893
+ * be received and acted upon.
3894
+ **/
3895
+ InvalidQuerier: GenericPalletEvent<
3896
+ Rv,
3897
+ 'PolkadotXcm',
3898
+ 'InvalidQuerier',
3899
+ {
3900
+ origin: StagingXcmV4Location;
3901
+ queryId: bigint;
3902
+ expectedQuerier: StagingXcmV4Location;
3903
+ maybeActualQuerier?: StagingXcmV4Location | undefined;
3904
+ }
3905
+ >;
3906
+
3907
+ /**
3908
+ * A remote has requested XCM version change notification from us and we have honored it.
3909
+ * A version information message is sent to them and its cost is included.
3910
+ **/
3911
+ VersionNotifyStarted: GenericPalletEvent<
3912
+ Rv,
3913
+ 'PolkadotXcm',
3914
+ 'VersionNotifyStarted',
3915
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3916
+ >;
3917
+
3918
+ /**
3919
+ * We have requested that a remote chain send us XCM version change notifications.
3920
+ **/
3921
+ VersionNotifyRequested: GenericPalletEvent<
3922
+ Rv,
3923
+ 'PolkadotXcm',
3924
+ 'VersionNotifyRequested',
3925
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3926
+ >;
3927
+
3928
+ /**
3929
+ * We have requested that a remote chain stops sending us XCM version change
3930
+ * notifications.
3931
+ **/
3932
+ VersionNotifyUnrequested: GenericPalletEvent<
3933
+ Rv,
3934
+ 'PolkadotXcm',
3935
+ 'VersionNotifyUnrequested',
3936
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3937
+ >;
3938
+
3939
+ /**
3940
+ * Fees were paid from a location for an operation (often for using `SendXcm`).
3941
+ **/
3942
+ FeesPaid: GenericPalletEvent<
3943
+ Rv,
3944
+ 'PolkadotXcm',
3945
+ 'FeesPaid',
3946
+ { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
3947
+ >;
3948
+
3949
+ /**
3950
+ * Some assets have been claimed from an asset trap
3951
+ **/
3952
+ AssetsClaimed: GenericPalletEvent<
3953
+ Rv,
3954
+ 'PolkadotXcm',
3955
+ 'AssetsClaimed',
3956
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
3957
+ >;
3958
+
3959
+ /**
3960
+ * A XCM version migration finished.
3961
+ **/
3962
+ VersionMigrationFinished: GenericPalletEvent<Rv, 'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
3963
+
3964
+ /**
3965
+ * Generic pallet event
3966
+ **/
3967
+ [prop: string]: GenericPalletEvent<Rv>;
3968
+ };
3969
+ /**
3970
+ * Pallet `CumulusXcm`'s events
3971
+ **/
3972
+ cumulusXcm: {
3973
+ /**
3974
+ * Downward message is invalid XCM.
3975
+ * \[ id \]
3976
+ **/
3977
+ InvalidFormat: GenericPalletEvent<Rv, 'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
3978
+
3979
+ /**
3980
+ * Downward message is unsupported version of XCM.
3981
+ * \[ id \]
3982
+ **/
3983
+ UnsupportedVersion: GenericPalletEvent<Rv, 'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
3984
+
3985
+ /**
3986
+ * Downward message executed with the given outcome.
3987
+ * \[ id, outcome \]
3988
+ **/
3989
+ ExecutedDownward: GenericPalletEvent<
3990
+ Rv,
3991
+ 'CumulusXcm',
3992
+ 'ExecutedDownward',
3993
+ [FixedBytes<32>, StagingXcmV4TraitsOutcome]
3994
+ >;
3995
+
3996
+ /**
3997
+ * Generic pallet event
3998
+ **/
3999
+ [prop: string]: GenericPalletEvent<Rv>;
4000
+ };
4001
+ /**
4002
+ * Pallet `XcmpQueue`'s events
4003
+ **/
4004
+ xcmpQueue: {
4005
+ /**
4006
+ * An HRMP message was sent to a sibling parachain.
4007
+ **/
4008
+ XcmpMessageSent: GenericPalletEvent<Rv, 'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
4009
+
4010
+ /**
4011
+ * Generic pallet event
4012
+ **/
4013
+ [prop: string]: GenericPalletEvent<Rv>;
4014
+ };
4015
+ /**
4016
+ * Pallet `MessageQueue`'s events
4017
+ **/
4018
+ messageQueue: {
4019
+ /**
4020
+ * Message discarded due to an error in the `MessageProcessor` (usually a format error).
4021
+ **/
4022
+ ProcessingFailed: GenericPalletEvent<
4023
+ Rv,
4024
+ 'MessageQueue',
4025
+ 'ProcessingFailed',
4026
+ {
4027
+ /**
4028
+ * The `blake2_256` hash of the message.
4029
+ **/
4030
+ id: H256;
4031
+
4032
+ /**
4033
+ * The queue of the message.
4034
+ **/
4035
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
4036
+
4037
+ /**
4038
+ * The error that occurred.
4039
+ *
4040
+ * This error is pretty opaque. More fine-grained errors need to be emitted as events
4041
+ * by the `MessageProcessor`.
4042
+ **/
4043
+ error: FrameSupportMessagesProcessMessageError;
4044
+ }
4045
+ >;
4046
+
4047
+ /**
4048
+ * Message is processed.
4049
+ **/
4050
+ Processed: GenericPalletEvent<
4051
+ Rv,
4052
+ 'MessageQueue',
4053
+ 'Processed',
4054
+ {
4055
+ /**
4056
+ * The `blake2_256` hash of the message.
4057
+ **/
4058
+ id: H256;
4059
+
4060
+ /**
4061
+ * The queue of the message.
4062
+ **/
4063
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
4064
+
4065
+ /**
4066
+ * How much weight was used to process the message.
4067
+ **/
4068
+ weightUsed: SpWeightsWeightV2Weight;
4069
+
4070
+ /**
4071
+ * Whether the message was processed.
4072
+ *
4073
+ * Note that this does not mean that the underlying `MessageProcessor` was internally
4074
+ * successful. It *solely* means that the MQ pallet will treat this as a success
4075
+ * condition and discard the message. Any internal error needs to be emitted as events
4076
+ * by the `MessageProcessor`.
4077
+ **/
4078
+ success: boolean;
4079
+ }
4080
+ >;
4081
+
4082
+ /**
4083
+ * Message placed in overweight queue.
4084
+ **/
4085
+ OverweightEnqueued: GenericPalletEvent<
4086
+ Rv,
4087
+ 'MessageQueue',
4088
+ 'OverweightEnqueued',
4089
+ {
4090
+ /**
4091
+ * The `blake2_256` hash of the message.
4092
+ **/
4093
+ id: FixedBytes<32>;
4094
+
4095
+ /**
4096
+ * The queue of the message.
4097
+ **/
4098
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
4099
+
4100
+ /**
4101
+ * The page of the message.
4102
+ **/
4103
+ pageIndex: number;
4104
+
4105
+ /**
4106
+ * The index of the message within the page.
4107
+ **/
4108
+ messageIndex: number;
4109
+ }
4110
+ >;
4111
+
4112
+ /**
4113
+ * This page was reaped.
4114
+ **/
4115
+ PageReaped: GenericPalletEvent<
4116
+ Rv,
4117
+ 'MessageQueue',
4118
+ 'PageReaped',
4119
+ {
4120
+ /**
4121
+ * The queue of the page.
4122
+ **/
4123
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
4124
+
4125
+ /**
4126
+ * The index of the page.
4127
+ **/
4128
+ index: number;
4129
+ }
4130
+ >;
4131
+
4132
+ /**
4133
+ * Generic pallet event
4134
+ **/
4135
+ [prop: string]: GenericPalletEvent<Rv>;
4136
+ };
4137
+ /**
4138
+ * Pallet `OrmlXcm`'s events
4139
+ **/
4140
+ ormlXcm: {
4141
+ /**
4142
+ * XCM message sent. \[to, message\]
4143
+ **/
4144
+ Sent: GenericPalletEvent<Rv, 'OrmlXcm', 'Sent', { to: StagingXcmV4Location; message: StagingXcmV4Xcm }>;
4145
+
4146
+ /**
4147
+ * Generic pallet event
4148
+ **/
4149
+ [prop: string]: GenericPalletEvent<Rv>;
4150
+ };
4151
+ /**
4152
+ * Pallet `XTokens`'s events
4153
+ **/
4154
+ xTokens: {
4155
+ /**
4156
+ * Transferred `Asset` with fee.
4157
+ **/
4158
+ TransferredAssets: GenericPalletEvent<
4159
+ Rv,
4160
+ 'XTokens',
4161
+ 'TransferredAssets',
4162
+ { sender: AccountId32; assets: StagingXcmV4AssetAssets; fee: StagingXcmV4Asset; dest: StagingXcmV4Location }
4163
+ >;
4164
+
4165
+ /**
4166
+ * Generic pallet event
4167
+ **/
4168
+ [prop: string]: GenericPalletEvent<Rv>;
4169
+ };
4170
+ /**
4171
+ * Pallet `UnknownTokens`'s events
4172
+ **/
4173
+ unknownTokens: {
4174
+ /**
4175
+ * Deposit success.
4176
+ **/
4177
+ Deposited: GenericPalletEvent<
4178
+ Rv,
4179
+ 'UnknownTokens',
4180
+ 'Deposited',
4181
+ { asset: StagingXcmV4Asset; who: StagingXcmV4Location }
4182
+ >;
4183
+
4184
+ /**
4185
+ * Withdraw success.
4186
+ **/
4187
+ Withdrawn: GenericPalletEvent<
4188
+ Rv,
4189
+ 'UnknownTokens',
4190
+ 'Withdrawn',
4191
+ { asset: StagingXcmV4Asset; who: StagingXcmV4Location }
4192
+ >;
4193
+
4194
+ /**
4195
+ * Generic pallet event
4196
+ **/
4197
+ [prop: string]: GenericPalletEvent<Rv>;
4198
+ };
4199
+ /**
4200
+ * Pallet `CollatorSelection`'s events
4201
+ **/
4202
+ collatorSelection: {
4203
+ /**
4204
+ * New Invulnerables were set.
4205
+ **/
4206
+ NewInvulnerables: GenericPalletEvent<
4207
+ Rv,
4208
+ 'CollatorSelection',
4209
+ 'NewInvulnerables',
4210
+ { invulnerables: Array<AccountId32> }
4211
+ >;
4212
+
4213
+ /**
4214
+ * A new Invulnerable was added.
4215
+ **/
4216
+ InvulnerableAdded: GenericPalletEvent<Rv, 'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
4217
+
4218
+ /**
4219
+ * An Invulnerable was removed.
4220
+ **/
4221
+ InvulnerableRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
4222
+
4223
+ /**
4224
+ * The number of desired candidates was set.
4225
+ **/
4226
+ NewDesiredCandidates: GenericPalletEvent<
4227
+ Rv,
4228
+ 'CollatorSelection',
4229
+ 'NewDesiredCandidates',
4230
+ { desiredCandidates: number }
4231
+ >;
4232
+
4233
+ /**
4234
+ * The candidacy bond was set.
4235
+ **/
4236
+ NewCandidacyBond: GenericPalletEvent<Rv, 'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
4237
+
4238
+ /**
4239
+ * A new candidate joined.
4240
+ **/
4241
+ CandidateAdded: GenericPalletEvent<
4242
+ Rv,
4243
+ 'CollatorSelection',
4244
+ 'CandidateAdded',
4245
+ { accountId: AccountId32; deposit: bigint }
4246
+ >;
4247
+
4248
+ /**
4249
+ * Bond of a candidate updated.
4250
+ **/
4251
+ CandidateBondUpdated: GenericPalletEvent<
4252
+ Rv,
4253
+ 'CollatorSelection',
4254
+ 'CandidateBondUpdated',
4255
+ { accountId: AccountId32; deposit: bigint }
4256
+ >;
4257
+
4258
+ /**
4259
+ * A candidate was removed.
4260
+ **/
4261
+ CandidateRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
4262
+
4263
+ /**
4264
+ * An account was replaced in the candidate list by another one.
4265
+ **/
4266
+ CandidateReplaced: GenericPalletEvent<
4267
+ Rv,
4268
+ 'CollatorSelection',
4269
+ 'CandidateReplaced',
4270
+ { old: AccountId32; new: AccountId32; deposit: bigint }
4271
+ >;
4272
+
4273
+ /**
4274
+ * An account was unable to be added to the Invulnerables because they did not have keys
4275
+ * registered. Other Invulnerables may have been set.
4276
+ **/
4277
+ InvalidInvulnerableSkipped: GenericPalletEvent<
4278
+ Rv,
4279
+ 'CollatorSelection',
4280
+ 'InvalidInvulnerableSkipped',
4281
+ { accountId: AccountId32 }
4282
+ >;
4283
+
4284
+ /**
4285
+ * Generic pallet event
4286
+ **/
4287
+ [prop: string]: GenericPalletEvent<Rv>;
4288
+ };
4289
+ /**
4290
+ * Pallet `Session`'s events
4291
+ **/
4292
+ session: {
4293
+ /**
4294
+ * New session has happened. Note that the argument is the session index, not the
4295
+ * block number as the type might suggest.
4296
+ **/
4297
+ NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
4298
+
4299
+ /**
4300
+ * Generic pallet event
4301
+ **/
4302
+ [prop: string]: GenericPalletEvent<Rv>;
4303
+ };
4304
+ /**
4305
+ * Pallet `EmaOracle`'s events
4306
+ **/
4307
+ emaOracle: {
4308
+ /**
4309
+ * Oracle was added to the whitelist.
4310
+ **/
4311
+ AddedToWhitelist: GenericPalletEvent<
4312
+ Rv,
4313
+ 'EmaOracle',
4314
+ 'AddedToWhitelist',
4315
+ { source: FixedBytes<8>; assets: [number, number] }
4316
+ >;
4317
+
4318
+ /**
4319
+ * Oracle was removed from the whitelist.
4320
+ **/
4321
+ RemovedFromWhitelist: GenericPalletEvent<
4322
+ Rv,
4323
+ 'EmaOracle',
4324
+ 'RemovedFromWhitelist',
4325
+ { source: FixedBytes<8>; assets: [number, number] }
4326
+ >;
4327
+
4328
+ /**
4329
+ * Generic pallet event
4330
+ **/
4331
+ [prop: string]: GenericPalletEvent<Rv>;
4332
+ };
4333
+ /**
4334
+ * Pallet `Broadcast`'s events
4335
+ **/
4336
+ broadcast: {
4337
+ /**
4338
+ * Trade executed.
4339
+ *
4340
+ * Swapped2 is a fixed and renamed version of original Swapped,
4341
+ * as Swapped contained wrong input/output amounts for XYK buy trade
4342
+ **/
4343
+ Swapped2: GenericPalletEvent<
4344
+ Rv,
4345
+ 'Broadcast',
4346
+ 'Swapped2',
4347
+ {
4348
+ swapper: AccountId32;
4349
+ filler: AccountId32;
4350
+ fillerType: PalletBroadcastFiller;
4351
+ operation: PalletBroadcastTradeOperation;
4352
+ inputs: Array<PalletBroadcastAsset>;
4353
+ outputs: Array<PalletBroadcastAsset>;
4354
+ fees: Array<PalletBroadcastFee>;
4355
+ operationStack: Array<PalletBroadcastExecutionType>;
4356
+ }
4357
+ >;
4358
+
4359
+ /**
4360
+ * Generic pallet event
4361
+ **/
4362
+ [prop: string]: GenericPalletEvent<Rv>;
4363
+ };
4364
+ }