@dedot/chaintypes 0.0.1-alpha.3 → 0.0.1-alpha.30

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