@dedot/chaintypes 0.0.1-alpha.4 → 0.0.1-alpha.40

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