@dedot/chaintypes 0.0.1-alpha.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +5 -0
  3. package/aleph/consts.d.ts +676 -0
  4. package/aleph/errors.d.ts +1054 -0
  5. package/aleph/events.d.ts +1201 -0
  6. package/aleph/index.d.ts +27 -0
  7. package/aleph/json-rpc.d.ts +85 -0
  8. package/aleph/query.d.ts +1573 -0
  9. package/aleph/runtime.d.ts +596 -0
  10. package/aleph/tx.d.ts +3440 -0
  11. package/aleph/types.d.ts +3951 -0
  12. package/astar/consts.d.ts +737 -0
  13. package/astar/errors.d.ts +1508 -0
  14. package/astar/events.d.ts +1878 -0
  15. package/astar/index.d.ts +27 -0
  16. package/astar/json-rpc.d.ts +131 -0
  17. package/astar/query.d.ts +1851 -0
  18. package/astar/runtime.d.ts +803 -0
  19. package/astar/tx.d.ts +4516 -0
  20. package/astar/types.d.ts +6141 -0
  21. package/index.d.ts +11 -0
  22. package/index.js +1 -0
  23. package/index.ts +11 -0
  24. package/kusama/consts.d.ts +1578 -0
  25. package/kusama/errors.d.ts +3152 -0
  26. package/kusama/events.d.ts +3579 -0
  27. package/kusama/index.d.ts +27 -0
  28. package/kusama/json-rpc.d.ts +103 -0
  29. package/kusama/query.d.ts +4229 -0
  30. package/kusama/runtime.d.ts +1196 -0
  31. package/kusama/tx.d.ts +9040 -0
  32. package/kusama/types.d.ts +11369 -0
  33. package/kusamaAssetHub/consts.d.ts +759 -0
  34. package/kusamaAssetHub/errors.d.ts +1494 -0
  35. package/kusamaAssetHub/events.d.ts +2491 -0
  36. package/kusamaAssetHub/index.d.ts +27 -0
  37. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  38. package/kusamaAssetHub/query.d.ts +1662 -0
  39. package/kusamaAssetHub/runtime.d.ts +555 -0
  40. package/kusamaAssetHub/tx.d.ts +6192 -0
  41. package/kusamaAssetHub/types.d.ts +6831 -0
  42. package/moonbeam/consts.d.ts +1010 -0
  43. package/moonbeam/errors.d.ts +1932 -0
  44. package/moonbeam/events.d.ts +2928 -0
  45. package/moonbeam/index.d.ts +27 -0
  46. package/moonbeam/json-rpc.d.ts +137 -0
  47. package/moonbeam/query.d.ts +2282 -0
  48. package/moonbeam/runtime.d.ts +724 -0
  49. package/moonbeam/tx.d.ts +6222 -0
  50. package/moonbeam/types.d.ts +8165 -0
  51. package/package.json +25 -0
  52. package/polkadot/consts.d.ts +1313 -0
  53. package/polkadot/errors.d.ts +2575 -0
  54. package/polkadot/events.d.ts +2757 -0
  55. package/polkadot/index.d.ts +27 -0
  56. package/polkadot/json-rpc.d.ts +103 -0
  57. package/polkadot/query.d.ts +3693 -0
  58. package/polkadot/runtime.d.ts +1196 -0
  59. package/polkadot/tx.d.ts +7706 -0
  60. package/polkadot/types.d.ts +9893 -0
  61. package/polkadotAssetHub/consts.d.ts +724 -0
  62. package/polkadotAssetHub/errors.d.ts +1465 -0
  63. package/polkadotAssetHub/events.d.ts +2462 -0
  64. package/polkadotAssetHub/index.d.ts +27 -0
  65. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  66. package/polkadotAssetHub/query.d.ts +1640 -0
  67. package/polkadotAssetHub/runtime.d.ts +558 -0
  68. package/polkadotAssetHub/tx.d.ts +6121 -0
  69. package/polkadotAssetHub/types.d.ts +6739 -0
  70. package/rococo/consts.d.ts +1423 -0
  71. package/rococo/errors.d.ts +2783 -0
  72. package/rococo/events.d.ts +3361 -0
  73. package/rococo/index.d.ts +27 -0
  74. package/rococo/json-rpc.d.ts +103 -0
  75. package/rococo/query.d.ts +3561 -0
  76. package/rococo/runtime.d.ts +1257 -0
  77. package/rococo/tx.d.ts +10721 -0
  78. package/rococo/types.d.ts +14828 -0
  79. package/rococoAssetHub/consts.d.ts +787 -0
  80. package/rococoAssetHub/errors.d.ts +1523 -0
  81. package/rococoAssetHub/events.d.ts +2517 -0
  82. package/rococoAssetHub/index.d.ts +27 -0
  83. package/rococoAssetHub/json-rpc.d.ts +89 -0
  84. package/rococoAssetHub/query.d.ts +1682 -0
  85. package/rococoAssetHub/runtime.d.ts +704 -0
  86. package/rococoAssetHub/tx.d.ts +9013 -0
  87. package/rococoAssetHub/types.d.ts +12352 -0
  88. package/substrate/consts.d.ts +2223 -0
  89. package/substrate/errors.d.ts +4023 -0
  90. package/substrate/events.d.ts +5430 -0
  91. package/substrate/index.d.ts +27 -0
  92. package/substrate/json-rpc.d.ts +101 -0
  93. package/substrate/query.d.ts +4083 -0
  94. package/substrate/runtime.d.ts +971 -0
  95. package/substrate/tx.d.ts +12501 -0
  96. package/substrate/types.d.ts +13380 -0
  97. package/westendAssetHub/consts.d.ts +787 -0
  98. package/westendAssetHub/errors.d.ts +1523 -0
  99. package/westendAssetHub/events.d.ts +2477 -0
  100. package/westendAssetHub/index.d.ts +27 -0
  101. package/westendAssetHub/json-rpc.d.ts +89 -0
  102. package/westendAssetHub/query.d.ts +1656 -0
  103. package/westendAssetHub/runtime.d.ts +652 -0
  104. package/westendAssetHub/tx.d.ts +8984 -0
  105. package/westendAssetHub/types.d.ts +12292 -0
@@ -0,0 +1,1878 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
+ import type {
5
+ DispatchInfo,
6
+ DispatchError,
7
+ AccountId32,
8
+ H256,
9
+ Result,
10
+ FixedBytes,
11
+ Bytes,
12
+ FixedU128,
13
+ H160,
14
+ U256,
15
+ } from 'dedot/codecs';
16
+ import type {
17
+ PalletMultisigTimepoint,
18
+ AstarRuntimeProxyType,
19
+ SpWeightsWeightV2Weight,
20
+ FrameSupportTokensMiscBalanceStatus,
21
+ PalletInflationInflationConfiguration,
22
+ PalletDappStakingV3Subperiod,
23
+ AstarPrimitivesDappStakingSmartContract,
24
+ PalletDappStakingV3ForcingType,
25
+ AstarPrimitivesOracleCurrencyId,
26
+ XcmV3TraitsError,
27
+ PolkadotParachainPrimitivesPrimitivesId,
28
+ XcmV3TraitsOutcome,
29
+ StagingXcmV3MultilocationMultiLocation,
30
+ XcmV3Xcm,
31
+ XcmV3Response,
32
+ XcmVersionedMultiAssets,
33
+ XcmV3MultiassetMultiAssets,
34
+ XcmVersionedMultiLocation,
35
+ XcmV3MultiassetMultiAsset,
36
+ EthereumLog,
37
+ EvmCoreErrorExitReason,
38
+ PalletContractsOrigin,
39
+ } from './types';
40
+
41
+ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
42
+ /**
43
+ * Pallet `System`'s events
44
+ **/
45
+ system: {
46
+ /**
47
+ * An extrinsic completed successfully.
48
+ **/
49
+ ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
50
+
51
+ /**
52
+ * An extrinsic failed.
53
+ **/
54
+ ExtrinsicFailed: GenericPalletEvent<
55
+ Rv,
56
+ 'System',
57
+ 'ExtrinsicFailed',
58
+ { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
59
+ >;
60
+
61
+ /**
62
+ * `:code` was updated.
63
+ **/
64
+ CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
65
+
66
+ /**
67
+ * A new account was created.
68
+ **/
69
+ NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId32 }>;
70
+
71
+ /**
72
+ * An account was reaped.
73
+ **/
74
+ KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId32 }>;
75
+
76
+ /**
77
+ * On on-chain remark happened.
78
+ **/
79
+ Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
80
+
81
+ /**
82
+ * Generic pallet event
83
+ **/
84
+ [prop: string]: GenericPalletEvent<Rv>;
85
+ };
86
+ /**
87
+ * Pallet `Utility`'s events
88
+ **/
89
+ utility: {
90
+ /**
91
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
92
+ * well as the error.
93
+ **/
94
+ BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
95
+
96
+ /**
97
+ * Batch of dispatches completed fully with no error.
98
+ **/
99
+ BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
100
+
101
+ /**
102
+ * Batch of dispatches completed but has errors.
103
+ **/
104
+ BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
105
+
106
+ /**
107
+ * A single item within a Batch of dispatches has completed with no error.
108
+ **/
109
+ ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
110
+
111
+ /**
112
+ * A single item within a Batch of dispatches has completed with error.
113
+ **/
114
+ ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
115
+
116
+ /**
117
+ * A call was dispatched.
118
+ **/
119
+ DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
120
+
121
+ /**
122
+ * Generic pallet event
123
+ **/
124
+ [prop: string]: GenericPalletEvent<Rv>;
125
+ };
126
+ /**
127
+ * Pallet `Identity`'s events
128
+ **/
129
+ identity: {
130
+ /**
131
+ * A name was set or reset (which will remove all judgements).
132
+ **/
133
+ IdentitySet: GenericPalletEvent<Rv, 'Identity', 'IdentitySet', { who: AccountId32 }>;
134
+
135
+ /**
136
+ * A name was cleared, and the given balance returned.
137
+ **/
138
+ IdentityCleared: GenericPalletEvent<Rv, 'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
139
+
140
+ /**
141
+ * A name was removed and the given balance slashed.
142
+ **/
143
+ IdentityKilled: GenericPalletEvent<Rv, 'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
144
+
145
+ /**
146
+ * A judgement was asked from a registrar.
147
+ **/
148
+ JudgementRequested: GenericPalletEvent<
149
+ Rv,
150
+ 'Identity',
151
+ 'JudgementRequested',
152
+ { who: AccountId32; registrarIndex: number }
153
+ >;
154
+
155
+ /**
156
+ * A judgement request was retracted.
157
+ **/
158
+ JudgementUnrequested: GenericPalletEvent<
159
+ Rv,
160
+ 'Identity',
161
+ 'JudgementUnrequested',
162
+ { who: AccountId32; registrarIndex: number }
163
+ >;
164
+
165
+ /**
166
+ * A judgement was given by a registrar.
167
+ **/
168
+ JudgementGiven: GenericPalletEvent<
169
+ Rv,
170
+ 'Identity',
171
+ 'JudgementGiven',
172
+ { target: AccountId32; registrarIndex: number }
173
+ >;
174
+
175
+ /**
176
+ * A registrar was added.
177
+ **/
178
+ RegistrarAdded: GenericPalletEvent<Rv, 'Identity', 'RegistrarAdded', { registrarIndex: number }>;
179
+
180
+ /**
181
+ * A sub-identity was added to an identity and the deposit paid.
182
+ **/
183
+ SubIdentityAdded: GenericPalletEvent<
184
+ Rv,
185
+ 'Identity',
186
+ 'SubIdentityAdded',
187
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
188
+ >;
189
+
190
+ /**
191
+ * A sub-identity was removed from an identity and the deposit freed.
192
+ **/
193
+ SubIdentityRemoved: GenericPalletEvent<
194
+ Rv,
195
+ 'Identity',
196
+ 'SubIdentityRemoved',
197
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
198
+ >;
199
+
200
+ /**
201
+ * A sub-identity was cleared, and the given deposit repatriated from the
202
+ * main identity account to the sub-identity account.
203
+ **/
204
+ SubIdentityRevoked: GenericPalletEvent<
205
+ Rv,
206
+ 'Identity',
207
+ 'SubIdentityRevoked',
208
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
209
+ >;
210
+
211
+ /**
212
+ * Generic pallet event
213
+ **/
214
+ [prop: string]: GenericPalletEvent<Rv>;
215
+ };
216
+ /**
217
+ * Pallet `Multisig`'s events
218
+ **/
219
+ multisig: {
220
+ /**
221
+ * A new multisig operation has begun.
222
+ **/
223
+ NewMultisig: GenericPalletEvent<
224
+ Rv,
225
+ 'Multisig',
226
+ 'NewMultisig',
227
+ { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
228
+ >;
229
+
230
+ /**
231
+ * A multisig operation has been approved by someone.
232
+ **/
233
+ MultisigApproval: GenericPalletEvent<
234
+ Rv,
235
+ 'Multisig',
236
+ 'MultisigApproval',
237
+ { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
238
+ >;
239
+
240
+ /**
241
+ * A multisig operation has been executed.
242
+ **/
243
+ MultisigExecuted: GenericPalletEvent<
244
+ Rv,
245
+ 'Multisig',
246
+ 'MultisigExecuted',
247
+ {
248
+ approving: AccountId32;
249
+ timepoint: PalletMultisigTimepoint;
250
+ multisig: AccountId32;
251
+ callHash: FixedBytes<32>;
252
+ result: Result<[], DispatchError>;
253
+ }
254
+ >;
255
+
256
+ /**
257
+ * A multisig operation has been cancelled.
258
+ **/
259
+ MultisigCancelled: GenericPalletEvent<
260
+ Rv,
261
+ 'Multisig',
262
+ 'MultisigCancelled',
263
+ { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
264
+ >;
265
+
266
+ /**
267
+ * Generic pallet event
268
+ **/
269
+ [prop: string]: GenericPalletEvent<Rv>;
270
+ };
271
+ /**
272
+ * Pallet `Proxy`'s events
273
+ **/
274
+ proxy: {
275
+ /**
276
+ * A proxy was executed correctly, with the given.
277
+ **/
278
+ ProxyExecuted: GenericPalletEvent<Rv, 'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
279
+
280
+ /**
281
+ * A pure account has been created by new proxy with given
282
+ * disambiguation index and proxy type.
283
+ **/
284
+ PureCreated: GenericPalletEvent<
285
+ Rv,
286
+ 'Proxy',
287
+ 'PureCreated',
288
+ { pure: AccountId32; who: AccountId32; proxyType: AstarRuntimeProxyType; disambiguationIndex: number }
289
+ >;
290
+
291
+ /**
292
+ * An announcement was placed to make a call in the future.
293
+ **/
294
+ Announced: GenericPalletEvent<Rv, 'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
295
+
296
+ /**
297
+ * A proxy was added.
298
+ **/
299
+ ProxyAdded: GenericPalletEvent<
300
+ Rv,
301
+ 'Proxy',
302
+ 'ProxyAdded',
303
+ { delegator: AccountId32; delegatee: AccountId32; proxyType: AstarRuntimeProxyType; delay: number }
304
+ >;
305
+
306
+ /**
307
+ * A proxy was removed.
308
+ **/
309
+ ProxyRemoved: GenericPalletEvent<
310
+ Rv,
311
+ 'Proxy',
312
+ 'ProxyRemoved',
313
+ { delegator: AccountId32; delegatee: AccountId32; proxyType: AstarRuntimeProxyType; delay: number }
314
+ >;
315
+
316
+ /**
317
+ * Generic pallet event
318
+ **/
319
+ [prop: string]: GenericPalletEvent<Rv>;
320
+ };
321
+ /**
322
+ * Pallet `ParachainSystem`'s events
323
+ **/
324
+ parachainSystem: {
325
+ /**
326
+ * The validation function has been scheduled to apply.
327
+ **/
328
+ ValidationFunctionStored: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionStored', null>;
329
+
330
+ /**
331
+ * The validation function was applied as of the contained relay chain block number.
332
+ **/
333
+ ValidationFunctionApplied: GenericPalletEvent<
334
+ Rv,
335
+ 'ParachainSystem',
336
+ 'ValidationFunctionApplied',
337
+ { relayChainBlockNum: number }
338
+ >;
339
+
340
+ /**
341
+ * The relay-chain aborted the upgrade process.
342
+ **/
343
+ ValidationFunctionDiscarded: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionDiscarded', null>;
344
+
345
+ /**
346
+ * An upgrade has been authorized.
347
+ **/
348
+ UpgradeAuthorized: GenericPalletEvent<Rv, 'ParachainSystem', 'UpgradeAuthorized', { codeHash: H256 }>;
349
+
350
+ /**
351
+ * Some downward messages have been received and will be processed.
352
+ **/
353
+ DownwardMessagesReceived: GenericPalletEvent<Rv, 'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
354
+
355
+ /**
356
+ * Downward messages were processed using the given weight.
357
+ **/
358
+ DownwardMessagesProcessed: GenericPalletEvent<
359
+ Rv,
360
+ 'ParachainSystem',
361
+ 'DownwardMessagesProcessed',
362
+ { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
363
+ >;
364
+
365
+ /**
366
+ * An upward message was sent to the relay chain.
367
+ **/
368
+ UpwardMessageSent: GenericPalletEvent<
369
+ Rv,
370
+ 'ParachainSystem',
371
+ 'UpwardMessageSent',
372
+ { messageHash?: FixedBytes<32> | undefined }
373
+ >;
374
+
375
+ /**
376
+ * Generic pallet event
377
+ **/
378
+ [prop: string]: GenericPalletEvent<Rv>;
379
+ };
380
+ /**
381
+ * Pallet `TransactionPayment`'s events
382
+ **/
383
+ transactionPayment: {
384
+ /**
385
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
386
+ * has been paid by `who`.
387
+ **/
388
+ TransactionFeePaid: GenericPalletEvent<
389
+ Rv,
390
+ 'TransactionPayment',
391
+ 'TransactionFeePaid',
392
+ { who: AccountId32; actualFee: bigint; tip: bigint }
393
+ >;
394
+
395
+ /**
396
+ * Generic pallet event
397
+ **/
398
+ [prop: string]: GenericPalletEvent<Rv>;
399
+ };
400
+ /**
401
+ * Pallet `Balances`'s events
402
+ **/
403
+ balances: {
404
+ /**
405
+ * An account was created with some free balance.
406
+ **/
407
+ Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
408
+
409
+ /**
410
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
411
+ * resulting in an outright loss.
412
+ **/
413
+ DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
414
+
415
+ /**
416
+ * Transfer succeeded.
417
+ **/
418
+ Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
419
+
420
+ /**
421
+ * A balance was set by root.
422
+ **/
423
+ BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
424
+
425
+ /**
426
+ * Some balance was reserved (moved from free to reserved).
427
+ **/
428
+ Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
429
+
430
+ /**
431
+ * Some balance was unreserved (moved from reserved to free).
432
+ **/
433
+ Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
434
+
435
+ /**
436
+ * Some balance was moved from the reserve of the first account to the second account.
437
+ * Final argument indicates the destination balance type.
438
+ **/
439
+ ReserveRepatriated: GenericPalletEvent<
440
+ Rv,
441
+ 'Balances',
442
+ 'ReserveRepatriated',
443
+ { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
444
+ >;
445
+
446
+ /**
447
+ * Some amount was deposited (e.g. for transaction fees).
448
+ **/
449
+ Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
450
+
451
+ /**
452
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
453
+ **/
454
+ Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
455
+
456
+ /**
457
+ * Some amount was removed from the account (e.g. for misbehavior).
458
+ **/
459
+ Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
460
+
461
+ /**
462
+ * Some amount was minted into an account.
463
+ **/
464
+ Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
465
+
466
+ /**
467
+ * Some amount was burned from an account.
468
+ **/
469
+ Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
470
+
471
+ /**
472
+ * Some amount was suspended from an account (it can be restored later).
473
+ **/
474
+ Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
475
+
476
+ /**
477
+ * Some amount was restored into an account.
478
+ **/
479
+ Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
480
+
481
+ /**
482
+ * An account was upgraded.
483
+ **/
484
+ Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId32 }>;
485
+
486
+ /**
487
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
488
+ **/
489
+ Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
490
+
491
+ /**
492
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
493
+ **/
494
+ Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
495
+
496
+ /**
497
+ * Some balance was locked.
498
+ **/
499
+ Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
500
+
501
+ /**
502
+ * Some balance was unlocked.
503
+ **/
504
+ Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
505
+
506
+ /**
507
+ * Some balance was frozen.
508
+ **/
509
+ Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
510
+
511
+ /**
512
+ * Some balance was thawed.
513
+ **/
514
+ Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
515
+
516
+ /**
517
+ * Generic pallet event
518
+ **/
519
+ [prop: string]: GenericPalletEvent<Rv>;
520
+ };
521
+ /**
522
+ * Pallet `Vesting`'s events
523
+ **/
524
+ vesting: {
525
+ /**
526
+ * The amount vested has been updated. This could indicate a change in funds available.
527
+ * The balance given is the amount which is left unvested (and thus locked).
528
+ **/
529
+ VestingUpdated: GenericPalletEvent<Rv, 'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
530
+
531
+ /**
532
+ * An \[account\] has become fully vested.
533
+ **/
534
+ VestingCompleted: GenericPalletEvent<Rv, 'Vesting', 'VestingCompleted', { account: AccountId32 }>;
535
+
536
+ /**
537
+ * Generic pallet event
538
+ **/
539
+ [prop: string]: GenericPalletEvent<Rv>;
540
+ };
541
+ /**
542
+ * Pallet `Inflation`'s events
543
+ **/
544
+ inflation: {
545
+ /**
546
+ * Inflation parameters have been force changed. This will have effect on the next inflation recalculation.
547
+ **/
548
+ InflationParametersForceChanged: GenericPalletEvent<Rv, 'Inflation', 'InflationParametersForceChanged', null>;
549
+
550
+ /**
551
+ * Inflation configuration has been force changed. This will have an immediate effect from this block.
552
+ **/
553
+ InflationConfigurationForceChanged: GenericPalletEvent<
554
+ Rv,
555
+ 'Inflation',
556
+ 'InflationConfigurationForceChanged',
557
+ { config: PalletInflationInflationConfiguration }
558
+ >;
559
+
560
+ /**
561
+ * Inflation recalculation has been forced.
562
+ **/
563
+ ForcedInflationRecalculation: GenericPalletEvent<
564
+ Rv,
565
+ 'Inflation',
566
+ 'ForcedInflationRecalculation',
567
+ { config: PalletInflationInflationConfiguration }
568
+ >;
569
+
570
+ /**
571
+ * New inflation configuration has been set.
572
+ **/
573
+ NewInflationConfiguration: GenericPalletEvent<
574
+ Rv,
575
+ 'Inflation',
576
+ 'NewInflationConfiguration',
577
+ { config: PalletInflationInflationConfiguration }
578
+ >;
579
+
580
+ /**
581
+ * Generic pallet event
582
+ **/
583
+ [prop: string]: GenericPalletEvent<Rv>;
584
+ };
585
+ /**
586
+ * Pallet `DappStaking`'s events
587
+ **/
588
+ dappStaking: {
589
+ /**
590
+ * Maintenance mode has been either enabled or disabled.
591
+ **/
592
+ MaintenanceMode: GenericPalletEvent<Rv, 'DappStaking', 'MaintenanceMode', { enabled: boolean }>;
593
+
594
+ /**
595
+ * New era has started.
596
+ **/
597
+ NewEra: GenericPalletEvent<Rv, 'DappStaking', 'NewEra', { era: number }>;
598
+
599
+ /**
600
+ * New subperiod has started.
601
+ **/
602
+ NewSubperiod: GenericPalletEvent<
603
+ Rv,
604
+ 'DappStaking',
605
+ 'NewSubperiod',
606
+ { subperiod: PalletDappStakingV3Subperiod; number: number }
607
+ >;
608
+
609
+ /**
610
+ * A smart contract has been registered for dApp staking
611
+ **/
612
+ DAppRegistered: GenericPalletEvent<
613
+ Rv,
614
+ 'DappStaking',
615
+ 'DAppRegistered',
616
+ { owner: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; dappId: number }
617
+ >;
618
+
619
+ /**
620
+ * dApp reward destination has been updated.
621
+ **/
622
+ DAppRewardDestinationUpdated: GenericPalletEvent<
623
+ Rv,
624
+ 'DappStaking',
625
+ 'DAppRewardDestinationUpdated',
626
+ { smartContract: AstarPrimitivesDappStakingSmartContract; beneficiary?: AccountId32 | undefined }
627
+ >;
628
+
629
+ /**
630
+ * dApp owner has been changed.
631
+ **/
632
+ DAppOwnerChanged: GenericPalletEvent<
633
+ Rv,
634
+ 'DappStaking',
635
+ 'DAppOwnerChanged',
636
+ { smartContract: AstarPrimitivesDappStakingSmartContract; newOwner: AccountId32 }
637
+ >;
638
+
639
+ /**
640
+ * dApp has been unregistered
641
+ **/
642
+ DAppUnregistered: GenericPalletEvent<
643
+ Rv,
644
+ 'DappStaking',
645
+ 'DAppUnregistered',
646
+ { smartContract: AstarPrimitivesDappStakingSmartContract; era: number }
647
+ >;
648
+
649
+ /**
650
+ * Account has locked some amount into dApp staking.
651
+ **/
652
+ Locked: GenericPalletEvent<Rv, 'DappStaking', 'Locked', { account: AccountId32; amount: bigint }>;
653
+
654
+ /**
655
+ * Account has started the unlocking process for some amount.
656
+ **/
657
+ Unlocking: GenericPalletEvent<Rv, 'DappStaking', 'Unlocking', { account: AccountId32; amount: bigint }>;
658
+
659
+ /**
660
+ * Account has claimed unlocked amount, removing the lock from it.
661
+ **/
662
+ ClaimedUnlocked: GenericPalletEvent<Rv, 'DappStaking', 'ClaimedUnlocked', { account: AccountId32; amount: bigint }>;
663
+
664
+ /**
665
+ * Account has relocked all of the unlocking chunks.
666
+ **/
667
+ Relock: GenericPalletEvent<Rv, 'DappStaking', 'Relock', { account: AccountId32; amount: bigint }>;
668
+
669
+ /**
670
+ * Account has staked some amount on a smart contract.
671
+ **/
672
+ Stake: GenericPalletEvent<
673
+ Rv,
674
+ 'DappStaking',
675
+ 'Stake',
676
+ { account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; amount: bigint }
677
+ >;
678
+
679
+ /**
680
+ * Account has unstaked some amount from a smart contract.
681
+ **/
682
+ Unstake: GenericPalletEvent<
683
+ Rv,
684
+ 'DappStaking',
685
+ 'Unstake',
686
+ { account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; amount: bigint }
687
+ >;
688
+
689
+ /**
690
+ * Account has claimed some stake rewards.
691
+ **/
692
+ Reward: GenericPalletEvent<Rv, 'DappStaking', 'Reward', { account: AccountId32; era: number; amount: bigint }>;
693
+
694
+ /**
695
+ * Bonus reward has been paid out to a loyal staker.
696
+ **/
697
+ BonusReward: GenericPalletEvent<
698
+ Rv,
699
+ 'DappStaking',
700
+ 'BonusReward',
701
+ { account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; period: number; amount: bigint }
702
+ >;
703
+
704
+ /**
705
+ * dApp reward has been paid out to a beneficiary.
706
+ **/
707
+ DAppReward: GenericPalletEvent<
708
+ Rv,
709
+ 'DappStaking',
710
+ 'DAppReward',
711
+ {
712
+ beneficiary: AccountId32;
713
+ smartContract: AstarPrimitivesDappStakingSmartContract;
714
+ tierId: number;
715
+ era: number;
716
+ amount: bigint;
717
+ }
718
+ >;
719
+
720
+ /**
721
+ * Account has unstaked funds from an unregistered smart contract
722
+ **/
723
+ UnstakeFromUnregistered: GenericPalletEvent<
724
+ Rv,
725
+ 'DappStaking',
726
+ 'UnstakeFromUnregistered',
727
+ { account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; amount: bigint }
728
+ >;
729
+
730
+ /**
731
+ * Some expired stake entries have been removed from storage.
732
+ **/
733
+ ExpiredEntriesRemoved: GenericPalletEvent<
734
+ Rv,
735
+ 'DappStaking',
736
+ 'ExpiredEntriesRemoved',
737
+ { account: AccountId32; count: number }
738
+ >;
739
+
740
+ /**
741
+ * Privileged origin has forced a new era and possibly a subperiod to start from next block.
742
+ **/
743
+ Force: GenericPalletEvent<Rv, 'DappStaking', 'Force', { forcingType: PalletDappStakingV3ForcingType }>;
744
+
745
+ /**
746
+ * Generic pallet event
747
+ **/
748
+ [prop: string]: GenericPalletEvent<Rv>;
749
+ };
750
+ /**
751
+ * Pallet `Assets`'s events
752
+ **/
753
+ assets: {
754
+ /**
755
+ * Some asset class was created.
756
+ **/
757
+ Created: GenericPalletEvent<Rv, 'Assets', 'Created', { assetId: bigint; creator: AccountId32; owner: AccountId32 }>;
758
+
759
+ /**
760
+ * Some assets were issued.
761
+ **/
762
+ Issued: GenericPalletEvent<Rv, 'Assets', 'Issued', { assetId: bigint; owner: AccountId32; amount: bigint }>;
763
+
764
+ /**
765
+ * Some assets were transferred.
766
+ **/
767
+ Transferred: GenericPalletEvent<
768
+ Rv,
769
+ 'Assets',
770
+ 'Transferred',
771
+ { assetId: bigint; from: AccountId32; to: AccountId32; amount: bigint }
772
+ >;
773
+
774
+ /**
775
+ * Some assets were destroyed.
776
+ **/
777
+ Burned: GenericPalletEvent<Rv, 'Assets', 'Burned', { assetId: bigint; owner: AccountId32; balance: bigint }>;
778
+
779
+ /**
780
+ * The management team changed.
781
+ **/
782
+ TeamChanged: GenericPalletEvent<
783
+ Rv,
784
+ 'Assets',
785
+ 'TeamChanged',
786
+ { assetId: bigint; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
787
+ >;
788
+
789
+ /**
790
+ * The owner changed.
791
+ **/
792
+ OwnerChanged: GenericPalletEvent<Rv, 'Assets', 'OwnerChanged', { assetId: bigint; owner: AccountId32 }>;
793
+
794
+ /**
795
+ * Some account `who` was frozen.
796
+ **/
797
+ Frozen: GenericPalletEvent<Rv, 'Assets', 'Frozen', { assetId: bigint; who: AccountId32 }>;
798
+
799
+ /**
800
+ * Some account `who` was thawed.
801
+ **/
802
+ Thawed: GenericPalletEvent<Rv, 'Assets', 'Thawed', { assetId: bigint; who: AccountId32 }>;
803
+
804
+ /**
805
+ * Some asset `asset_id` was frozen.
806
+ **/
807
+ AssetFrozen: GenericPalletEvent<Rv, 'Assets', 'AssetFrozen', { assetId: bigint }>;
808
+
809
+ /**
810
+ * Some asset `asset_id` was thawed.
811
+ **/
812
+ AssetThawed: GenericPalletEvent<Rv, 'Assets', 'AssetThawed', { assetId: bigint }>;
813
+
814
+ /**
815
+ * Accounts were destroyed for given asset.
816
+ **/
817
+ AccountsDestroyed: GenericPalletEvent<
818
+ Rv,
819
+ 'Assets',
820
+ 'AccountsDestroyed',
821
+ { assetId: bigint; accountsDestroyed: number; accountsRemaining: number }
822
+ >;
823
+
824
+ /**
825
+ * Approvals were destroyed for given asset.
826
+ **/
827
+ ApprovalsDestroyed: GenericPalletEvent<
828
+ Rv,
829
+ 'Assets',
830
+ 'ApprovalsDestroyed',
831
+ { assetId: bigint; approvalsDestroyed: number; approvalsRemaining: number }
832
+ >;
833
+
834
+ /**
835
+ * An asset class is in the process of being destroyed.
836
+ **/
837
+ DestructionStarted: GenericPalletEvent<Rv, 'Assets', 'DestructionStarted', { assetId: bigint }>;
838
+
839
+ /**
840
+ * An asset class was destroyed.
841
+ **/
842
+ Destroyed: GenericPalletEvent<Rv, 'Assets', 'Destroyed', { assetId: bigint }>;
843
+
844
+ /**
845
+ * Some asset class was force-created.
846
+ **/
847
+ ForceCreated: GenericPalletEvent<Rv, 'Assets', 'ForceCreated', { assetId: bigint; owner: AccountId32 }>;
848
+
849
+ /**
850
+ * New metadata has been set for an asset.
851
+ **/
852
+ MetadataSet: GenericPalletEvent<
853
+ Rv,
854
+ 'Assets',
855
+ 'MetadataSet',
856
+ { assetId: bigint; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
857
+ >;
858
+
859
+ /**
860
+ * Metadata has been cleared for an asset.
861
+ **/
862
+ MetadataCleared: GenericPalletEvent<Rv, 'Assets', 'MetadataCleared', { assetId: bigint }>;
863
+
864
+ /**
865
+ * (Additional) funds have been approved for transfer to a destination account.
866
+ **/
867
+ ApprovedTransfer: GenericPalletEvent<
868
+ Rv,
869
+ 'Assets',
870
+ 'ApprovedTransfer',
871
+ { assetId: bigint; source: AccountId32; delegate: AccountId32; amount: bigint }
872
+ >;
873
+
874
+ /**
875
+ * An approval for account `delegate` was cancelled by `owner`.
876
+ **/
877
+ ApprovalCancelled: GenericPalletEvent<
878
+ Rv,
879
+ 'Assets',
880
+ 'ApprovalCancelled',
881
+ { assetId: bigint; owner: AccountId32; delegate: AccountId32 }
882
+ >;
883
+
884
+ /**
885
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
886
+ * the approved `delegate`.
887
+ **/
888
+ TransferredApproved: GenericPalletEvent<
889
+ Rv,
890
+ 'Assets',
891
+ 'TransferredApproved',
892
+ { assetId: bigint; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
893
+ >;
894
+
895
+ /**
896
+ * An asset has had its attributes changed by the `Force` origin.
897
+ **/
898
+ AssetStatusChanged: GenericPalletEvent<Rv, 'Assets', 'AssetStatusChanged', { assetId: bigint }>;
899
+
900
+ /**
901
+ * The min_balance of an asset has been updated by the asset owner.
902
+ **/
903
+ AssetMinBalanceChanged: GenericPalletEvent<
904
+ Rv,
905
+ 'Assets',
906
+ 'AssetMinBalanceChanged',
907
+ { assetId: bigint; newMinBalance: bigint }
908
+ >;
909
+
910
+ /**
911
+ * Some account `who` was created with a deposit from `depositor`.
912
+ **/
913
+ Touched: GenericPalletEvent<Rv, 'Assets', 'Touched', { assetId: bigint; who: AccountId32; depositor: AccountId32 }>;
914
+
915
+ /**
916
+ * Some account `who` was blocked.
917
+ **/
918
+ Blocked: GenericPalletEvent<Rv, 'Assets', 'Blocked', { assetId: bigint; who: AccountId32 }>;
919
+
920
+ /**
921
+ * Generic pallet event
922
+ **/
923
+ [prop: string]: GenericPalletEvent<Rv>;
924
+ };
925
+ /**
926
+ * Pallet `PriceAggregator`'s events
927
+ **/
928
+ priceAggregator: {
929
+ /**
930
+ * New average native currency value has been calculated and pushed into the moving average buffer.
931
+ **/
932
+ AverageAggregatedValue: GenericPalletEvent<Rv, 'PriceAggregator', 'AverageAggregatedValue', { value: FixedU128 }>;
933
+
934
+ /**
935
+ * Generic pallet event
936
+ **/
937
+ [prop: string]: GenericPalletEvent<Rv>;
938
+ };
939
+ /**
940
+ * Pallet `Oracle`'s events
941
+ **/
942
+ oracle: {
943
+ /**
944
+ * New feed data is submitted.
945
+ **/
946
+ NewFeedData: GenericPalletEvent<
947
+ Rv,
948
+ 'Oracle',
949
+ 'NewFeedData',
950
+ { sender: AccountId32; values: Array<[AstarPrimitivesOracleCurrencyId, FixedU128]> }
951
+ >;
952
+
953
+ /**
954
+ * Generic pallet event
955
+ **/
956
+ [prop: string]: GenericPalletEvent<Rv>;
957
+ };
958
+ /**
959
+ * Pallet `OracleMembership`'s events
960
+ **/
961
+ oracleMembership: {
962
+ /**
963
+ * The given member was added; see the transaction for who.
964
+ **/
965
+ MemberAdded: GenericPalletEvent<Rv, 'OracleMembership', 'MemberAdded', undefined>;
966
+
967
+ /**
968
+ * The given member was removed; see the transaction for who.
969
+ **/
970
+ MemberRemoved: GenericPalletEvent<Rv, 'OracleMembership', 'MemberRemoved', undefined>;
971
+
972
+ /**
973
+ * Two members were swapped; see the transaction for who.
974
+ **/
975
+ MembersSwapped: GenericPalletEvent<Rv, 'OracleMembership', 'MembersSwapped', undefined>;
976
+
977
+ /**
978
+ * The membership was reset; see the transaction for who the new set is.
979
+ **/
980
+ MembersReset: GenericPalletEvent<Rv, 'OracleMembership', 'MembersReset', undefined>;
981
+
982
+ /**
983
+ * One of the members' keys changed.
984
+ **/
985
+ KeyChanged: GenericPalletEvent<Rv, 'OracleMembership', 'KeyChanged', undefined>;
986
+
987
+ /**
988
+ * Phantom member, never used.
989
+ **/
990
+ Dummy: GenericPalletEvent<Rv, 'OracleMembership', 'Dummy', undefined>;
991
+
992
+ /**
993
+ * Generic pallet event
994
+ **/
995
+ [prop: string]: GenericPalletEvent<Rv>;
996
+ };
997
+ /**
998
+ * Pallet `CollatorSelection`'s events
999
+ **/
1000
+ collatorSelection: {
1001
+ NewInvulnerables: GenericPalletEvent<Rv, 'CollatorSelection', 'NewInvulnerables', Array<AccountId32>>;
1002
+ NewDesiredCandidates: GenericPalletEvent<Rv, 'CollatorSelection', 'NewDesiredCandidates', number>;
1003
+ NewCandidacyBond: GenericPalletEvent<Rv, 'CollatorSelection', 'NewCandidacyBond', bigint>;
1004
+ CandidateAdded: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateAdded', [AccountId32, bigint]>;
1005
+ CandidateRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateRemoved', AccountId32>;
1006
+ CandidateSlashed: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateSlashed', AccountId32>;
1007
+
1008
+ /**
1009
+ * Generic pallet event
1010
+ **/
1011
+ [prop: string]: GenericPalletEvent<Rv>;
1012
+ };
1013
+ /**
1014
+ * Pallet `Session`'s events
1015
+ **/
1016
+ session: {
1017
+ /**
1018
+ * New session has happened. Note that the argument is the session index, not the
1019
+ * block number as the type might suggest.
1020
+ **/
1021
+ NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
1022
+
1023
+ /**
1024
+ * Generic pallet event
1025
+ **/
1026
+ [prop: string]: GenericPalletEvent<Rv>;
1027
+ };
1028
+ /**
1029
+ * Pallet `XcmpQueue`'s events
1030
+ **/
1031
+ xcmpQueue: {
1032
+ /**
1033
+ * Some XCM was executed ok.
1034
+ **/
1035
+ Success: GenericPalletEvent<
1036
+ Rv,
1037
+ 'XcmpQueue',
1038
+ 'Success',
1039
+ { messageHash: FixedBytes<32>; messageId: FixedBytes<32>; weight: SpWeightsWeightV2Weight }
1040
+ >;
1041
+
1042
+ /**
1043
+ * Some XCM failed.
1044
+ **/
1045
+ Fail: GenericPalletEvent<
1046
+ Rv,
1047
+ 'XcmpQueue',
1048
+ 'Fail',
1049
+ {
1050
+ messageHash: FixedBytes<32>;
1051
+ messageId: FixedBytes<32>;
1052
+ error: XcmV3TraitsError;
1053
+ weight: SpWeightsWeightV2Weight;
1054
+ }
1055
+ >;
1056
+
1057
+ /**
1058
+ * Bad XCM version used.
1059
+ **/
1060
+ BadVersion: GenericPalletEvent<Rv, 'XcmpQueue', 'BadVersion', { messageHash: FixedBytes<32> }>;
1061
+
1062
+ /**
1063
+ * Bad XCM format used.
1064
+ **/
1065
+ BadFormat: GenericPalletEvent<Rv, 'XcmpQueue', 'BadFormat', { messageHash: FixedBytes<32> }>;
1066
+
1067
+ /**
1068
+ * An HRMP message was sent to a sibling parachain.
1069
+ **/
1070
+ XcmpMessageSent: GenericPalletEvent<Rv, 'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
1071
+
1072
+ /**
1073
+ * An XCM exceeded the individual message weight budget.
1074
+ **/
1075
+ OverweightEnqueued: GenericPalletEvent<
1076
+ Rv,
1077
+ 'XcmpQueue',
1078
+ 'OverweightEnqueued',
1079
+ {
1080
+ sender: PolkadotParachainPrimitivesPrimitivesId;
1081
+ sentAt: number;
1082
+ index: bigint;
1083
+ required: SpWeightsWeightV2Weight;
1084
+ }
1085
+ >;
1086
+
1087
+ /**
1088
+ * An XCM from the overweight queue was executed with the given actual weight used.
1089
+ **/
1090
+ OverweightServiced: GenericPalletEvent<
1091
+ Rv,
1092
+ 'XcmpQueue',
1093
+ 'OverweightServiced',
1094
+ { index: bigint; used: SpWeightsWeightV2Weight }
1095
+ >;
1096
+
1097
+ /**
1098
+ * Generic pallet event
1099
+ **/
1100
+ [prop: string]: GenericPalletEvent<Rv>;
1101
+ };
1102
+ /**
1103
+ * Pallet `PolkadotXcm`'s events
1104
+ **/
1105
+ polkadotXcm: {
1106
+ /**
1107
+ * Execution of an XCM message was attempted.
1108
+ **/
1109
+ Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: XcmV3TraitsOutcome }>;
1110
+
1111
+ /**
1112
+ * A XCM message was sent.
1113
+ **/
1114
+ Sent: GenericPalletEvent<
1115
+ Rv,
1116
+ 'PolkadotXcm',
1117
+ 'Sent',
1118
+ {
1119
+ origin: StagingXcmV3MultilocationMultiLocation;
1120
+ destination: StagingXcmV3MultilocationMultiLocation;
1121
+ message: XcmV3Xcm;
1122
+ messageId: FixedBytes<32>;
1123
+ }
1124
+ >;
1125
+
1126
+ /**
1127
+ * Query response received which does not match a registered query. This may be because a
1128
+ * matching query was never registered, it may be because it is a duplicate response, or
1129
+ * because the query timed out.
1130
+ **/
1131
+ UnexpectedResponse: GenericPalletEvent<
1132
+ Rv,
1133
+ 'PolkadotXcm',
1134
+ 'UnexpectedResponse',
1135
+ { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
1136
+ >;
1137
+
1138
+ /**
1139
+ * Query response has been received and is ready for taking with `take_response`. There is
1140
+ * no registered notification call.
1141
+ **/
1142
+ ResponseReady: GenericPalletEvent<Rv, 'PolkadotXcm', 'ResponseReady', { queryId: bigint; response: XcmV3Response }>;
1143
+
1144
+ /**
1145
+ * Query response has been received and query is removed. The registered notification has
1146
+ * been dispatched and executed successfully.
1147
+ **/
1148
+ Notified: GenericPalletEvent<
1149
+ Rv,
1150
+ 'PolkadotXcm',
1151
+ 'Notified',
1152
+ { queryId: bigint; palletIndex: number; callIndex: number }
1153
+ >;
1154
+
1155
+ /**
1156
+ * Query response has been received and query is removed. The registered notification
1157
+ * could not be dispatched because the dispatch weight is greater than the maximum weight
1158
+ * originally budgeted by this runtime for the query result.
1159
+ **/
1160
+ NotifyOverweight: GenericPalletEvent<
1161
+ Rv,
1162
+ 'PolkadotXcm',
1163
+ 'NotifyOverweight',
1164
+ {
1165
+ queryId: bigint;
1166
+ palletIndex: number;
1167
+ callIndex: number;
1168
+ actualWeight: SpWeightsWeightV2Weight;
1169
+ maxBudgetedWeight: SpWeightsWeightV2Weight;
1170
+ }
1171
+ >;
1172
+
1173
+ /**
1174
+ * Query response has been received and query is removed. There was a general error with
1175
+ * dispatching the notification call.
1176
+ **/
1177
+ NotifyDispatchError: GenericPalletEvent<
1178
+ Rv,
1179
+ 'PolkadotXcm',
1180
+ 'NotifyDispatchError',
1181
+ { queryId: bigint; palletIndex: number; callIndex: number }
1182
+ >;
1183
+
1184
+ /**
1185
+ * Query response has been received and query is removed. The dispatch was unable to be
1186
+ * decoded into a `Call`; this might be due to dispatch function having a signature which
1187
+ * is not `(origin, QueryId, Response)`.
1188
+ **/
1189
+ NotifyDecodeFailed: GenericPalletEvent<
1190
+ Rv,
1191
+ 'PolkadotXcm',
1192
+ 'NotifyDecodeFailed',
1193
+ { queryId: bigint; palletIndex: number; callIndex: number }
1194
+ >;
1195
+
1196
+ /**
1197
+ * Expected query response has been received but the origin location of the response does
1198
+ * not match that expected. The query remains registered for a later, valid, response to
1199
+ * be received and acted upon.
1200
+ **/
1201
+ InvalidResponder: GenericPalletEvent<
1202
+ Rv,
1203
+ 'PolkadotXcm',
1204
+ 'InvalidResponder',
1205
+ {
1206
+ origin: StagingXcmV3MultilocationMultiLocation;
1207
+ queryId: bigint;
1208
+ expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
1209
+ }
1210
+ >;
1211
+
1212
+ /**
1213
+ * Expected query response has been received but the expected origin location placed in
1214
+ * storage by this runtime previously cannot be decoded. The query remains registered.
1215
+ *
1216
+ * This is unexpected (since a location placed in storage in a previously executing
1217
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
1218
+ * valid response will be dropped. Manual governance intervention is probably going to be
1219
+ * needed.
1220
+ **/
1221
+ InvalidResponderVersion: GenericPalletEvent<
1222
+ Rv,
1223
+ 'PolkadotXcm',
1224
+ 'InvalidResponderVersion',
1225
+ { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
1226
+ >;
1227
+
1228
+ /**
1229
+ * Received query response has been read and removed.
1230
+ **/
1231
+ ResponseTaken: GenericPalletEvent<Rv, 'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
1232
+
1233
+ /**
1234
+ * Some assets have been placed in an asset trap.
1235
+ **/
1236
+ AssetsTrapped: GenericPalletEvent<
1237
+ Rv,
1238
+ 'PolkadotXcm',
1239
+ 'AssetsTrapped',
1240
+ { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
1241
+ >;
1242
+
1243
+ /**
1244
+ * An XCM version change notification message has been attempted to be sent.
1245
+ *
1246
+ * The cost of sending it (borne by the chain) is included.
1247
+ **/
1248
+ VersionChangeNotified: GenericPalletEvent<
1249
+ Rv,
1250
+ 'PolkadotXcm',
1251
+ 'VersionChangeNotified',
1252
+ {
1253
+ destination: StagingXcmV3MultilocationMultiLocation;
1254
+ result: number;
1255
+ cost: XcmV3MultiassetMultiAssets;
1256
+ messageId: FixedBytes<32>;
1257
+ }
1258
+ >;
1259
+
1260
+ /**
1261
+ * The supported version of a location has been changed. This might be through an
1262
+ * automatic notification or a manual intervention.
1263
+ **/
1264
+ SupportedVersionChanged: GenericPalletEvent<
1265
+ Rv,
1266
+ 'PolkadotXcm',
1267
+ 'SupportedVersionChanged',
1268
+ { location: StagingXcmV3MultilocationMultiLocation; version: number }
1269
+ >;
1270
+
1271
+ /**
1272
+ * A given location which had a version change subscription was dropped owing to an error
1273
+ * sending the notification to it.
1274
+ **/
1275
+ NotifyTargetSendFail: GenericPalletEvent<
1276
+ Rv,
1277
+ 'PolkadotXcm',
1278
+ 'NotifyTargetSendFail',
1279
+ { location: StagingXcmV3MultilocationMultiLocation; queryId: bigint; error: XcmV3TraitsError }
1280
+ >;
1281
+
1282
+ /**
1283
+ * A given location which had a version change subscription was dropped owing to an error
1284
+ * migrating the location to our new XCM format.
1285
+ **/
1286
+ NotifyTargetMigrationFail: GenericPalletEvent<
1287
+ Rv,
1288
+ 'PolkadotXcm',
1289
+ 'NotifyTargetMigrationFail',
1290
+ { location: XcmVersionedMultiLocation; queryId: bigint }
1291
+ >;
1292
+
1293
+ /**
1294
+ * Expected query response has been received but the expected querier location placed in
1295
+ * storage by this runtime previously cannot be decoded. The query remains registered.
1296
+ *
1297
+ * This is unexpected (since a location placed in storage in a previously executing
1298
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
1299
+ * valid response will be dropped. Manual governance intervention is probably going to be
1300
+ * needed.
1301
+ **/
1302
+ InvalidQuerierVersion: GenericPalletEvent<
1303
+ Rv,
1304
+ 'PolkadotXcm',
1305
+ 'InvalidQuerierVersion',
1306
+ { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
1307
+ >;
1308
+
1309
+ /**
1310
+ * Expected query response has been received but the querier location of the response does
1311
+ * not match the expected. The query remains registered for a later, valid, response to
1312
+ * be received and acted upon.
1313
+ **/
1314
+ InvalidQuerier: GenericPalletEvent<
1315
+ Rv,
1316
+ 'PolkadotXcm',
1317
+ 'InvalidQuerier',
1318
+ {
1319
+ origin: StagingXcmV3MultilocationMultiLocation;
1320
+ queryId: bigint;
1321
+ expectedQuerier: StagingXcmV3MultilocationMultiLocation;
1322
+ maybeActualQuerier?: StagingXcmV3MultilocationMultiLocation | undefined;
1323
+ }
1324
+ >;
1325
+
1326
+ /**
1327
+ * A remote has requested XCM version change notification from us and we have honored it.
1328
+ * A version information message is sent to them and its cost is included.
1329
+ **/
1330
+ VersionNotifyStarted: GenericPalletEvent<
1331
+ Rv,
1332
+ 'PolkadotXcm',
1333
+ 'VersionNotifyStarted',
1334
+ {
1335
+ destination: StagingXcmV3MultilocationMultiLocation;
1336
+ cost: XcmV3MultiassetMultiAssets;
1337
+ messageId: FixedBytes<32>;
1338
+ }
1339
+ >;
1340
+
1341
+ /**
1342
+ * We have requested that a remote chain send us XCM version change notifications.
1343
+ **/
1344
+ VersionNotifyRequested: GenericPalletEvent<
1345
+ Rv,
1346
+ 'PolkadotXcm',
1347
+ 'VersionNotifyRequested',
1348
+ {
1349
+ destination: StagingXcmV3MultilocationMultiLocation;
1350
+ cost: XcmV3MultiassetMultiAssets;
1351
+ messageId: FixedBytes<32>;
1352
+ }
1353
+ >;
1354
+
1355
+ /**
1356
+ * We have requested that a remote chain stops sending us XCM version change
1357
+ * notifications.
1358
+ **/
1359
+ VersionNotifyUnrequested: GenericPalletEvent<
1360
+ Rv,
1361
+ 'PolkadotXcm',
1362
+ 'VersionNotifyUnrequested',
1363
+ {
1364
+ destination: StagingXcmV3MultilocationMultiLocation;
1365
+ cost: XcmV3MultiassetMultiAssets;
1366
+ messageId: FixedBytes<32>;
1367
+ }
1368
+ >;
1369
+
1370
+ /**
1371
+ * Fees were paid from a location for an operation (often for using `SendXcm`).
1372
+ **/
1373
+ FeesPaid: GenericPalletEvent<
1374
+ Rv,
1375
+ 'PolkadotXcm',
1376
+ 'FeesPaid',
1377
+ { paying: StagingXcmV3MultilocationMultiLocation; fees: XcmV3MultiassetMultiAssets }
1378
+ >;
1379
+
1380
+ /**
1381
+ * Some assets have been claimed from an asset trap
1382
+ **/
1383
+ AssetsClaimed: GenericPalletEvent<
1384
+ Rv,
1385
+ 'PolkadotXcm',
1386
+ 'AssetsClaimed',
1387
+ { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
1388
+ >;
1389
+
1390
+ /**
1391
+ * Generic pallet event
1392
+ **/
1393
+ [prop: string]: GenericPalletEvent<Rv>;
1394
+ };
1395
+ /**
1396
+ * Pallet `CumulusXcm`'s events
1397
+ **/
1398
+ cumulusXcm: {
1399
+ /**
1400
+ * Downward message is invalid XCM.
1401
+ * \[ id \]
1402
+ **/
1403
+ InvalidFormat: GenericPalletEvent<Rv, 'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
1404
+
1405
+ /**
1406
+ * Downward message is unsupported version of XCM.
1407
+ * \[ id \]
1408
+ **/
1409
+ UnsupportedVersion: GenericPalletEvent<Rv, 'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
1410
+
1411
+ /**
1412
+ * Downward message executed with the given outcome.
1413
+ * \[ id, outcome \]
1414
+ **/
1415
+ ExecutedDownward: GenericPalletEvent<Rv, 'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, XcmV3TraitsOutcome]>;
1416
+
1417
+ /**
1418
+ * Generic pallet event
1419
+ **/
1420
+ [prop: string]: GenericPalletEvent<Rv>;
1421
+ };
1422
+ /**
1423
+ * Pallet `DmpQueue`'s events
1424
+ **/
1425
+ dmpQueue: {
1426
+ /**
1427
+ * Downward message is invalid XCM.
1428
+ **/
1429
+ InvalidFormat: GenericPalletEvent<Rv, 'DmpQueue', 'InvalidFormat', { messageHash: FixedBytes<32> }>;
1430
+
1431
+ /**
1432
+ * Downward message is unsupported version of XCM.
1433
+ **/
1434
+ UnsupportedVersion: GenericPalletEvent<Rv, 'DmpQueue', 'UnsupportedVersion', { messageHash: FixedBytes<32> }>;
1435
+
1436
+ /**
1437
+ * Downward message executed with the given outcome.
1438
+ **/
1439
+ ExecutedDownward: GenericPalletEvent<
1440
+ Rv,
1441
+ 'DmpQueue',
1442
+ 'ExecutedDownward',
1443
+ { messageHash: FixedBytes<32>; messageId: FixedBytes<32>; outcome: XcmV3TraitsOutcome }
1444
+ >;
1445
+
1446
+ /**
1447
+ * The weight limit for handling downward messages was reached.
1448
+ **/
1449
+ WeightExhausted: GenericPalletEvent<
1450
+ Rv,
1451
+ 'DmpQueue',
1452
+ 'WeightExhausted',
1453
+ {
1454
+ messageHash: FixedBytes<32>;
1455
+ messageId: FixedBytes<32>;
1456
+ remainingWeight: SpWeightsWeightV2Weight;
1457
+ requiredWeight: SpWeightsWeightV2Weight;
1458
+ }
1459
+ >;
1460
+
1461
+ /**
1462
+ * Downward message is overweight and was placed in the overweight queue.
1463
+ **/
1464
+ OverweightEnqueued: GenericPalletEvent<
1465
+ Rv,
1466
+ 'DmpQueue',
1467
+ 'OverweightEnqueued',
1468
+ {
1469
+ messageHash: FixedBytes<32>;
1470
+ messageId: FixedBytes<32>;
1471
+ overweightIndex: bigint;
1472
+ requiredWeight: SpWeightsWeightV2Weight;
1473
+ }
1474
+ >;
1475
+
1476
+ /**
1477
+ * Downward message from the overweight queue was executed.
1478
+ **/
1479
+ OverweightServiced: GenericPalletEvent<
1480
+ Rv,
1481
+ 'DmpQueue',
1482
+ 'OverweightServiced',
1483
+ { overweightIndex: bigint; weightUsed: SpWeightsWeightV2Weight }
1484
+ >;
1485
+
1486
+ /**
1487
+ * The maximum number of downward messages was reached.
1488
+ **/
1489
+ MaxMessagesExhausted: GenericPalletEvent<Rv, 'DmpQueue', 'MaxMessagesExhausted', { messageHash: FixedBytes<32> }>;
1490
+
1491
+ /**
1492
+ * Generic pallet event
1493
+ **/
1494
+ [prop: string]: GenericPalletEvent<Rv>;
1495
+ };
1496
+ /**
1497
+ * Pallet `XcAssetConfig`'s events
1498
+ **/
1499
+ xcAssetConfig: {
1500
+ /**
1501
+ * Registed mapping between asset type and asset Id.
1502
+ **/
1503
+ AssetRegistered: GenericPalletEvent<
1504
+ Rv,
1505
+ 'XcAssetConfig',
1506
+ 'AssetRegistered',
1507
+ { assetLocation: XcmVersionedMultiLocation; assetId: bigint }
1508
+ >;
1509
+
1510
+ /**
1511
+ * Changed the amount of units we are charging per execution second for an asset
1512
+ **/
1513
+ UnitsPerSecondChanged: GenericPalletEvent<
1514
+ Rv,
1515
+ 'XcAssetConfig',
1516
+ 'UnitsPerSecondChanged',
1517
+ { assetLocation: XcmVersionedMultiLocation; unitsPerSecond: bigint }
1518
+ >;
1519
+
1520
+ /**
1521
+ * Changed the asset type mapping for a given asset id
1522
+ **/
1523
+ AssetLocationChanged: GenericPalletEvent<
1524
+ Rv,
1525
+ 'XcAssetConfig',
1526
+ 'AssetLocationChanged',
1527
+ { previousAssetLocation: XcmVersionedMultiLocation; assetId: bigint; newAssetLocation: XcmVersionedMultiLocation }
1528
+ >;
1529
+
1530
+ /**
1531
+ * Supported asset type for fee payment removed.
1532
+ **/
1533
+ SupportedAssetRemoved: GenericPalletEvent<
1534
+ Rv,
1535
+ 'XcAssetConfig',
1536
+ 'SupportedAssetRemoved',
1537
+ { assetLocation: XcmVersionedMultiLocation }
1538
+ >;
1539
+
1540
+ /**
1541
+ * Removed all information related to an asset Id
1542
+ **/
1543
+ AssetRemoved: GenericPalletEvent<
1544
+ Rv,
1545
+ 'XcAssetConfig',
1546
+ 'AssetRemoved',
1547
+ { assetLocation: XcmVersionedMultiLocation; assetId: bigint }
1548
+ >;
1549
+
1550
+ /**
1551
+ * Generic pallet event
1552
+ **/
1553
+ [prop: string]: GenericPalletEvent<Rv>;
1554
+ };
1555
+ /**
1556
+ * Pallet `XTokens`'s events
1557
+ **/
1558
+ xTokens: {
1559
+ /**
1560
+ * Transferred `MultiAsset` with fee.
1561
+ **/
1562
+ TransferredMultiAssets: GenericPalletEvent<
1563
+ Rv,
1564
+ 'XTokens',
1565
+ 'TransferredMultiAssets',
1566
+ {
1567
+ sender: AccountId32;
1568
+ assets: XcmV3MultiassetMultiAssets;
1569
+ fee: XcmV3MultiassetMultiAsset;
1570
+ dest: StagingXcmV3MultilocationMultiLocation;
1571
+ }
1572
+ >;
1573
+
1574
+ /**
1575
+ * Generic pallet event
1576
+ **/
1577
+ [prop: string]: GenericPalletEvent<Rv>;
1578
+ };
1579
+ /**
1580
+ * Pallet `EVM`'s events
1581
+ **/
1582
+ evm: {
1583
+ /**
1584
+ * Ethereum events from contracts.
1585
+ **/
1586
+ Log: GenericPalletEvent<Rv, 'EVM', 'Log', { log: EthereumLog }>;
1587
+
1588
+ /**
1589
+ * A contract has been created at given address.
1590
+ **/
1591
+ Created: GenericPalletEvent<Rv, 'EVM', 'Created', { address: H160 }>;
1592
+
1593
+ /**
1594
+ * A contract was attempted to be created, but the execution failed.
1595
+ **/
1596
+ CreatedFailed: GenericPalletEvent<Rv, 'EVM', 'CreatedFailed', { address: H160 }>;
1597
+
1598
+ /**
1599
+ * A contract has been executed successfully with states applied.
1600
+ **/
1601
+ Executed: GenericPalletEvent<Rv, 'EVM', 'Executed', { address: H160 }>;
1602
+
1603
+ /**
1604
+ * A contract has been executed with errors. States are reverted with only gas fees applied.
1605
+ **/
1606
+ ExecutedFailed: GenericPalletEvent<Rv, 'EVM', 'ExecutedFailed', { address: H160 }>;
1607
+
1608
+ /**
1609
+ * Generic pallet event
1610
+ **/
1611
+ [prop: string]: GenericPalletEvent<Rv>;
1612
+ };
1613
+ /**
1614
+ * Pallet `Ethereum`'s events
1615
+ **/
1616
+ ethereum: {
1617
+ /**
1618
+ * An ethereum transaction was successfully executed.
1619
+ **/
1620
+ Executed: GenericPalletEvent<
1621
+ Rv,
1622
+ 'Ethereum',
1623
+ 'Executed',
1624
+ { from: H160; to: H160; transactionHash: H256; exitReason: EvmCoreErrorExitReason; extraData: Bytes }
1625
+ >;
1626
+
1627
+ /**
1628
+ * Generic pallet event
1629
+ **/
1630
+ [prop: string]: GenericPalletEvent<Rv>;
1631
+ };
1632
+ /**
1633
+ * Pallet `DynamicEvmBaseFee`'s events
1634
+ **/
1635
+ dynamicEvmBaseFee: {
1636
+ /**
1637
+ * New `base fee per gas` value has been force-set.
1638
+ **/
1639
+ NewBaseFeePerGas: GenericPalletEvent<Rv, 'DynamicEvmBaseFee', 'NewBaseFeePerGas', { fee: U256 }>;
1640
+
1641
+ /**
1642
+ * Generic pallet event
1643
+ **/
1644
+ [prop: string]: GenericPalletEvent<Rv>;
1645
+ };
1646
+ /**
1647
+ * Pallet `Contracts`'s events
1648
+ **/
1649
+ contracts: {
1650
+ /**
1651
+ * Contract deployed by address at the specified address.
1652
+ **/
1653
+ Instantiated: GenericPalletEvent<Rv, 'Contracts', 'Instantiated', { deployer: AccountId32; contract: AccountId32 }>;
1654
+
1655
+ /**
1656
+ * Contract has been removed.
1657
+ *
1658
+ * # Note
1659
+ *
1660
+ * The only way for a contract to be removed and emitting this event is by calling
1661
+ * `seal_terminate`.
1662
+ **/
1663
+ Terminated: GenericPalletEvent<
1664
+ Rv,
1665
+ 'Contracts',
1666
+ 'Terminated',
1667
+ {
1668
+ /**
1669
+ * The contract that was terminated.
1670
+ **/
1671
+ contract: AccountId32;
1672
+
1673
+ /**
1674
+ * The account that received the contracts remaining balance
1675
+ **/
1676
+ beneficiary: AccountId32;
1677
+ }
1678
+ >;
1679
+
1680
+ /**
1681
+ * Code with the specified hash has been stored.
1682
+ **/
1683
+ CodeStored: GenericPalletEvent<
1684
+ Rv,
1685
+ 'Contracts',
1686
+ 'CodeStored',
1687
+ { codeHash: H256; depositHeld: bigint; uploader: AccountId32 }
1688
+ >;
1689
+
1690
+ /**
1691
+ * A custom event emitted by the contract.
1692
+ **/
1693
+ ContractEmitted: GenericPalletEvent<
1694
+ Rv,
1695
+ 'Contracts',
1696
+ 'ContractEmitted',
1697
+ {
1698
+ /**
1699
+ * The contract that emitted the event.
1700
+ **/
1701
+ contract: AccountId32;
1702
+
1703
+ /**
1704
+ * Data supplied by the contract. Metadata generated during contract compilation
1705
+ * is needed to decode it.
1706
+ **/
1707
+ data: Bytes;
1708
+ }
1709
+ >;
1710
+
1711
+ /**
1712
+ * A code with the specified hash was removed.
1713
+ **/
1714
+ CodeRemoved: GenericPalletEvent<
1715
+ Rv,
1716
+ 'Contracts',
1717
+ 'CodeRemoved',
1718
+ { codeHash: H256; depositReleased: bigint; remover: AccountId32 }
1719
+ >;
1720
+
1721
+ /**
1722
+ * A contract's code was updated.
1723
+ **/
1724
+ ContractCodeUpdated: GenericPalletEvent<
1725
+ Rv,
1726
+ 'Contracts',
1727
+ 'ContractCodeUpdated',
1728
+ {
1729
+ /**
1730
+ * The contract that has been updated.
1731
+ **/
1732
+ contract: AccountId32;
1733
+
1734
+ /**
1735
+ * New code hash that was set for the contract.
1736
+ **/
1737
+ newCodeHash: H256;
1738
+
1739
+ /**
1740
+ * Previous code hash of the contract.
1741
+ **/
1742
+ oldCodeHash: H256;
1743
+ }
1744
+ >;
1745
+
1746
+ /**
1747
+ * A contract was called either by a plain account or another contract.
1748
+ *
1749
+ * # Note
1750
+ *
1751
+ * Please keep in mind that like all events this is only emitted for successful
1752
+ * calls. This is because on failure all storage changes including events are
1753
+ * rolled back.
1754
+ **/
1755
+ Called: GenericPalletEvent<
1756
+ Rv,
1757
+ 'Contracts',
1758
+ 'Called',
1759
+ {
1760
+ /**
1761
+ * The caller of the `contract`.
1762
+ **/
1763
+ caller: PalletContractsOrigin;
1764
+
1765
+ /**
1766
+ * The contract that was called.
1767
+ **/
1768
+ contract: AccountId32;
1769
+ }
1770
+ >;
1771
+
1772
+ /**
1773
+ * A contract delegate called a code hash.
1774
+ *
1775
+ * # Note
1776
+ *
1777
+ * Please keep in mind that like all events this is only emitted for successful
1778
+ * calls. This is because on failure all storage changes including events are
1779
+ * rolled back.
1780
+ **/
1781
+ DelegateCalled: GenericPalletEvent<
1782
+ Rv,
1783
+ 'Contracts',
1784
+ 'DelegateCalled',
1785
+ {
1786
+ /**
1787
+ * The contract that performed the delegate call and hence in whose context
1788
+ * the `code_hash` is executed.
1789
+ **/
1790
+ contract: AccountId32;
1791
+
1792
+ /**
1793
+ * The code hash that was delegate called.
1794
+ **/
1795
+ codeHash: H256;
1796
+ }
1797
+ >;
1798
+
1799
+ /**
1800
+ * Some funds have been transferred and held as storage deposit.
1801
+ **/
1802
+ StorageDepositTransferredAndHeld: GenericPalletEvent<
1803
+ Rv,
1804
+ 'Contracts',
1805
+ 'StorageDepositTransferredAndHeld',
1806
+ { from: AccountId32; to: AccountId32; amount: bigint }
1807
+ >;
1808
+
1809
+ /**
1810
+ * Some storage deposit funds have been transferred and released.
1811
+ **/
1812
+ StorageDepositTransferredAndReleased: GenericPalletEvent<
1813
+ Rv,
1814
+ 'Contracts',
1815
+ 'StorageDepositTransferredAndReleased',
1816
+ { from: AccountId32; to: AccountId32; amount: bigint }
1817
+ >;
1818
+
1819
+ /**
1820
+ * Generic pallet event
1821
+ **/
1822
+ [prop: string]: GenericPalletEvent<Rv>;
1823
+ };
1824
+ /**
1825
+ * Pallet `Sudo`'s events
1826
+ **/
1827
+ sudo: {
1828
+ /**
1829
+ * A sudo call just took place.
1830
+ **/
1831
+ Sudid: GenericPalletEvent<
1832
+ Rv,
1833
+ 'Sudo',
1834
+ 'Sudid',
1835
+ {
1836
+ /**
1837
+ * The result of the call made by the sudo user.
1838
+ **/
1839
+ sudoResult: Result<[], DispatchError>;
1840
+ }
1841
+ >;
1842
+
1843
+ /**
1844
+ * The sudo key has been updated.
1845
+ **/
1846
+ KeyChanged: GenericPalletEvent<
1847
+ Rv,
1848
+ 'Sudo',
1849
+ 'KeyChanged',
1850
+ {
1851
+ /**
1852
+ * The old sudo key if one was previously set.
1853
+ **/
1854
+ oldSudoer?: AccountId32 | undefined;
1855
+ }
1856
+ >;
1857
+
1858
+ /**
1859
+ * A [sudo_as](Pallet::sudo_as) call just took place.
1860
+ **/
1861
+ SudoAsDone: GenericPalletEvent<
1862
+ Rv,
1863
+ 'Sudo',
1864
+ 'SudoAsDone',
1865
+ {
1866
+ /**
1867
+ * The result of the call made by the sudo user.
1868
+ **/
1869
+ sudoResult: Result<[], DispatchError>;
1870
+ }
1871
+ >;
1872
+
1873
+ /**
1874
+ * Generic pallet event
1875
+ **/
1876
+ [prop: string]: GenericPalletEvent<Rv>;
1877
+ };
1878
+ }