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

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 (277) hide show
  1. package/aleph/consts.d.ts +528 -590
  2. package/aleph/consts.js +2 -0
  3. package/aleph/errors.d.ts +818 -981
  4. package/aleph/errors.js +2 -0
  5. package/aleph/events.d.ts +937 -924
  6. package/aleph/events.js +2 -0
  7. package/aleph/index.d.ts +8 -11
  8. package/aleph/index.js +3 -0
  9. package/aleph/query.d.ts +1268 -1477
  10. package/aleph/query.js +2 -0
  11. package/aleph/rpc.d.ts +573 -725
  12. package/aleph/rpc.js +2 -0
  13. package/aleph/runtime.d.ts +406 -541
  14. package/aleph/runtime.js +2 -0
  15. package/aleph/tx.d.ts +2202 -2664
  16. package/aleph/tx.js +2 -0
  17. package/aleph/types.d.ts +5294 -3380
  18. package/aleph/types.js +2 -0
  19. package/astar/consts.d.ts +674 -753
  20. package/astar/consts.js +2 -0
  21. package/astar/errors.d.ts +1313 -1576
  22. package/astar/errors.js +2 -0
  23. package/astar/events.d.ts +1628 -1709
  24. package/astar/events.js +2 -0
  25. package/astar/index.d.ts +8 -11
  26. package/astar/index.js +3 -0
  27. package/astar/query.d.ts +1471 -1756
  28. package/astar/query.js +2 -0
  29. package/astar/rpc.d.ts +773 -972
  30. package/astar/rpc.js +2 -0
  31. package/astar/runtime.d.ts +258 -310
  32. package/astar/runtime.js +2 -0
  33. package/astar/tx.d.ts +4806 -5474
  34. package/astar/tx.js +2 -0
  35. package/astar/types.d.ts +12053 -8793
  36. package/astar/types.js +2 -0
  37. package/cjs/aleph/consts.js +3 -0
  38. package/cjs/aleph/errors.js +3 -0
  39. package/cjs/aleph/events.js +3 -0
  40. package/cjs/aleph/index.js +19 -0
  41. package/cjs/aleph/query.js +3 -0
  42. package/cjs/aleph/rpc.js +3 -0
  43. package/cjs/aleph/runtime.js +3 -0
  44. package/cjs/aleph/tx.js +3 -0
  45. package/cjs/aleph/types.js +3 -0
  46. package/cjs/astar/consts.js +3 -0
  47. package/cjs/astar/errors.js +3 -0
  48. package/cjs/astar/events.js +3 -0
  49. package/cjs/astar/index.js +19 -0
  50. package/cjs/astar/query.js +3 -0
  51. package/cjs/astar/rpc.js +3 -0
  52. package/cjs/astar/runtime.js +3 -0
  53. package/cjs/astar/tx.js +3 -0
  54. package/cjs/astar/types.js +3 -0
  55. package/cjs/index.js +2 -0
  56. package/cjs/kusama/consts.js +3 -0
  57. package/cjs/kusama/errors.js +3 -0
  58. package/cjs/kusama/events.js +3 -0
  59. package/cjs/kusama/index.js +19 -0
  60. package/cjs/kusama/query.js +3 -0
  61. package/cjs/kusama/rpc.js +3 -0
  62. package/cjs/kusama/runtime.js +3 -0
  63. package/cjs/kusama/tx.js +3 -0
  64. package/cjs/kusama/types.js +3 -0
  65. package/cjs/kusamaAssetHub/consts.js +3 -0
  66. package/cjs/kusamaAssetHub/errors.js +3 -0
  67. package/cjs/kusamaAssetHub/events.js +3 -0
  68. package/cjs/kusamaAssetHub/index.js +19 -0
  69. package/cjs/kusamaAssetHub/query.js +3 -0
  70. package/cjs/kusamaAssetHub/rpc.js +3 -0
  71. package/cjs/kusamaAssetHub/runtime.js +3 -0
  72. package/cjs/kusamaAssetHub/tx.js +3 -0
  73. package/cjs/kusamaAssetHub/types.js +3 -0
  74. package/cjs/moonbeam/consts.js +3 -0
  75. package/cjs/moonbeam/errors.js +3 -0
  76. package/cjs/moonbeam/events.js +3 -0
  77. package/cjs/moonbeam/index.js +19 -0
  78. package/cjs/moonbeam/query.js +3 -0
  79. package/cjs/moonbeam/rpc.js +3 -0
  80. package/cjs/moonbeam/runtime.js +3 -0
  81. package/cjs/moonbeam/tx.js +3 -0
  82. package/cjs/moonbeam/types.js +3 -0
  83. package/cjs/package.json +1 -0
  84. package/cjs/packageInfo.js +5 -0
  85. package/cjs/polkadot/consts.js +3 -0
  86. package/cjs/polkadot/errors.js +3 -0
  87. package/cjs/polkadot/events.js +3 -0
  88. package/cjs/polkadot/index.js +19 -0
  89. package/cjs/polkadot/query.js +3 -0
  90. package/cjs/polkadot/rpc.js +3 -0
  91. package/cjs/polkadot/runtime.js +3 -0
  92. package/cjs/polkadot/tx.js +3 -0
  93. package/cjs/polkadot/types.js +3 -0
  94. package/cjs/polkadotAssetHub/consts.js +3 -0
  95. package/cjs/polkadotAssetHub/errors.js +3 -0
  96. package/cjs/polkadotAssetHub/events.js +3 -0
  97. package/cjs/polkadotAssetHub/index.js +19 -0
  98. package/cjs/polkadotAssetHub/query.js +3 -0
  99. package/cjs/polkadotAssetHub/rpc.js +3 -0
  100. package/cjs/polkadotAssetHub/runtime.js +3 -0
  101. package/cjs/polkadotAssetHub/tx.js +3 -0
  102. package/cjs/polkadotAssetHub/types.js +3 -0
  103. package/cjs/rococoAssetHub/consts.js +3 -0
  104. package/cjs/rococoAssetHub/errors.js +3 -0
  105. package/cjs/rococoAssetHub/events.js +3 -0
  106. package/cjs/rococoAssetHub/index.js +19 -0
  107. package/cjs/rococoAssetHub/query.js +3 -0
  108. package/cjs/rococoAssetHub/rpc.js +3 -0
  109. package/cjs/rococoAssetHub/runtime.js +3 -0
  110. package/cjs/rococoAssetHub/tx.js +3 -0
  111. package/cjs/rococoAssetHub/types.js +3 -0
  112. package/cjs/substrate/consts.js +3 -0
  113. package/cjs/substrate/errors.js +3 -0
  114. package/cjs/substrate/events.js +3 -0
  115. package/cjs/substrate/index.js +19 -0
  116. package/cjs/substrate/query.js +3 -0
  117. package/cjs/substrate/rpc.js +3 -0
  118. package/cjs/substrate/runtime.js +3 -0
  119. package/cjs/substrate/tx.js +3 -0
  120. package/cjs/substrate/types.js +3 -0
  121. package/cjs/westendAssetHub/consts.js +3 -0
  122. package/cjs/westendAssetHub/errors.js +3 -0
  123. package/cjs/westendAssetHub/events.js +3 -0
  124. package/cjs/westendAssetHub/index.js +19 -0
  125. package/cjs/westendAssetHub/query.js +3 -0
  126. package/cjs/westendAssetHub/rpc.js +3 -0
  127. package/cjs/westendAssetHub/runtime.js +3 -0
  128. package/cjs/westendAssetHub/tx.js +3 -0
  129. package/cjs/westendAssetHub/types.js +3 -0
  130. package/kusama/consts.d.ts +1422 -1573
  131. package/kusama/consts.js +2 -0
  132. package/kusama/errors.d.ts +2490 -2995
  133. package/kusama/errors.js +2 -0
  134. package/kusama/events.d.ts +2723 -2996
  135. package/kusama/events.js +2 -0
  136. package/kusama/index.d.ts +8 -11
  137. package/kusama/index.js +3 -0
  138. package/kusama/query.d.ts +3248 -3828
  139. package/kusama/query.js +2 -0
  140. package/kusama/rpc.d.ts +724 -902
  141. package/kusama/rpc.js +2 -0
  142. package/kusama/runtime.d.ts +840 -1130
  143. package/kusama/runtime.js +2 -0
  144. package/kusama/tx.d.ts +6010 -7073
  145. package/kusama/tx.js +2 -0
  146. package/kusama/types.d.ts +15336 -10143
  147. package/kusama/types.js +2 -0
  148. package/kusamaAssetHub/consts.d.ts +627 -714
  149. package/kusamaAssetHub/consts.js +2 -0
  150. package/kusamaAssetHub/errors.d.ts +1160 -1405
  151. package/kusamaAssetHub/errors.js +2 -0
  152. package/kusamaAssetHub/events.d.ts +2060 -2149
  153. package/kusamaAssetHub/events.js +2 -0
  154. package/kusamaAssetHub/index.d.ts +8 -11
  155. package/kusamaAssetHub/index.js +3 -0
  156. package/kusamaAssetHub/query.d.ts +1298 -1551
  157. package/kusamaAssetHub/query.js +2 -0
  158. package/kusamaAssetHub/rpc.d.ts +588 -744
  159. package/kusamaAssetHub/rpc.js +2 -0
  160. package/kusamaAssetHub/runtime.d.ts +398 -510
  161. package/kusamaAssetHub/runtime.js +2 -0
  162. package/kusamaAssetHub/tx.d.ts +4212 -5050
  163. package/kusamaAssetHub/tx.js +2 -0
  164. package/kusamaAssetHub/types.d.ts +9997 -5964
  165. package/kusamaAssetHub/types.js +2 -0
  166. package/moonbeam/consts.d.ts +956 -1075
  167. package/moonbeam/consts.js +2 -0
  168. package/moonbeam/errors.d.ts +1793 -2131
  169. package/moonbeam/errors.js +2 -0
  170. package/moonbeam/events.d.ts +2681 -2932
  171. package/moonbeam/events.js +2 -0
  172. package/moonbeam/index.d.ts +8 -11
  173. package/moonbeam/index.js +3 -0
  174. package/moonbeam/query.d.ts +2024 -2391
  175. package/moonbeam/query.js +2 -0
  176. package/moonbeam/rpc.d.ts +807 -1013
  177. package/moonbeam/rpc.js +2 -0
  178. package/moonbeam/runtime.d.ts +502 -665
  179. package/moonbeam/runtime.js +2 -0
  180. package/moonbeam/tx.d.ts +5201 -6152
  181. package/moonbeam/tx.js +2 -0
  182. package/moonbeam/types.d.ts +12035 -7731
  183. package/moonbeam/types.js +2 -0
  184. package/package.json +8 -9
  185. package/packageInfo.js +1 -2
  186. package/polkadot/consts.d.ts +1155 -1272
  187. package/polkadot/consts.js +2 -0
  188. package/polkadot/errors.d.ts +2016 -2420
  189. package/polkadot/errors.js +2 -0
  190. package/polkadot/events.d.ts +2092 -2314
  191. package/polkadot/events.js +2 -0
  192. package/polkadot/index.d.ts +8 -11
  193. package/polkadot/index.js +3 -0
  194. package/polkadot/query.d.ts +2808 -3319
  195. package/polkadot/query.js +2 -0
  196. package/polkadot/rpc.d.ts +724 -902
  197. package/polkadot/rpc.js +2 -0
  198. package/polkadot/runtime.d.ts +840 -1130
  199. package/polkadot/runtime.js +2 -0
  200. package/polkadot/tx.d.ts +5005 -5909
  201. package/polkadot/tx.js +2 -0
  202. package/polkadot/types.d.ts +13402 -8854
  203. package/polkadot/types.js +2 -0
  204. package/polkadotAssetHub/consts.d.ts +519 -586
  205. package/polkadotAssetHub/consts.js +2 -0
  206. package/polkadotAssetHub/errors.d.ts +921 -1115
  207. package/polkadotAssetHub/errors.js +2 -0
  208. package/polkadotAssetHub/events.d.ts +1782 -1850
  209. package/polkadotAssetHub/events.js +2 -0
  210. package/polkadotAssetHub/index.d.ts +8 -11
  211. package/polkadotAssetHub/index.js +3 -0
  212. package/polkadotAssetHub/query.d.ts +1219 -1457
  213. package/polkadotAssetHub/query.js +2 -0
  214. package/polkadotAssetHub/rpc.d.ts +588 -744
  215. package/polkadotAssetHub/rpc.js +2 -0
  216. package/polkadotAssetHub/runtime.d.ts +355 -447
  217. package/polkadotAssetHub/runtime.js +2 -0
  218. package/polkadotAssetHub/tx.d.ts +3487 -4184
  219. package/polkadotAssetHub/tx.js +2 -0
  220. package/polkadotAssetHub/types.d.ts +8891 -5266
  221. package/polkadotAssetHub/types.js +2 -0
  222. package/rococoAssetHub/consts.d.ts +653 -745
  223. package/rococoAssetHub/consts.js +2 -0
  224. package/rococoAssetHub/errors.d.ts +1227 -1490
  225. package/rococoAssetHub/errors.js +2 -0
  226. package/rococoAssetHub/events.d.ts +2047 -2127
  227. package/rococoAssetHub/events.js +2 -0
  228. package/rococoAssetHub/index.d.ts +8 -11
  229. package/rococoAssetHub/index.js +3 -0
  230. package/rococoAssetHub/query.d.ts +1266 -1513
  231. package/rococoAssetHub/query.js +2 -0
  232. package/rococoAssetHub/rpc.d.ts +588 -744
  233. package/rococoAssetHub/rpc.js +2 -0
  234. package/rococoAssetHub/runtime.d.ts +424 -538
  235. package/rococoAssetHub/runtime.js +2 -0
  236. package/rococoAssetHub/tx.d.ts +4302 -5164
  237. package/rococoAssetHub/tx.js +2 -0
  238. package/rococoAssetHub/types.d.ts +10610 -6295
  239. package/rococoAssetHub/types.js +2 -0
  240. package/substrate/consts.d.ts +1966 -2218
  241. package/substrate/consts.js +2 -0
  242. package/substrate/errors.d.ts +3333 -4019
  243. package/substrate/errors.js +2 -0
  244. package/substrate/events.d.ts +4255 -4585
  245. package/substrate/events.js +2 -0
  246. package/substrate/index.d.ts +8 -11
  247. package/substrate/index.js +3 -0
  248. package/substrate/query.d.ts +3347 -3887
  249. package/substrate/query.js +2 -0
  250. package/substrate/rpc.d.ts +716 -892
  251. package/substrate/rpc.js +2 -0
  252. package/substrate/runtime.d.ts +704 -937
  253. package/substrate/runtime.js +2 -0
  254. package/substrate/tx.d.ts +8796 -10387
  255. package/substrate/tx.js +2 -0
  256. package/substrate/types.d.ts +19843 -12891
  257. package/substrate/types.js +2 -0
  258. package/westendAssetHub/consts.d.ts +653 -745
  259. package/westendAssetHub/consts.js +2 -0
  260. package/westendAssetHub/errors.d.ts +1227 -1490
  261. package/westendAssetHub/errors.js +2 -0
  262. package/westendAssetHub/events.d.ts +2047 -2127
  263. package/westendAssetHub/events.js +2 -0
  264. package/westendAssetHub/index.d.ts +8 -11
  265. package/westendAssetHub/index.js +3 -0
  266. package/westendAssetHub/query.d.ts +1266 -1513
  267. package/westendAssetHub/query.js +2 -0
  268. package/westendAssetHub/rpc.d.ts +588 -744
  269. package/westendAssetHub/rpc.js +2 -0
  270. package/westendAssetHub/runtime.d.ts +452 -577
  271. package/westendAssetHub/runtime.js +2 -0
  272. package/westendAssetHub/tx.d.ts +4302 -5164
  273. package/westendAssetHub/tx.js +2 -0
  274. package/westendAssetHub/types.d.ts +10614 -6302
  275. package/westendAssetHub/types.js +2 -0
  276. package/index.ts +0 -10
  277. package/packageInfo.ts +0 -3
package/astar/events.d.ts CHANGED
@@ -1,1788 +1,1707 @@
1
- // Generated by @dedot/codegen
2
-
3
1
  import type { GenericChainEvents, GenericPalletEvent } from '@dedot/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
- XcmV3TraitsError,
26
- PolkadotParachainPrimitivesId,
27
- XcmV3TraitsOutcome,
28
- XcmV3MultilocationMultiLocation,
29
- XcmV3Xcm,
30
- XcmV3Response,
31
- XcmVersionedMultiAssets,
32
- XcmV3MultiassetMultiAssets,
33
- XcmVersionedMultiLocation,
34
- XcmV3MultiassetMultiAsset,
35
- EthereumLog,
36
- EvmCoreErrorExitReason,
37
- PalletContractsOrigin,
38
- PalletDappsStakingRewardDestination,
39
- } from './types';
40
-
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';
41
4
  export interface ChainEvents extends GenericChainEvents {
42
- /**
43
- * Pallet `System`'s events
44
- **/
45
- system: {
46
5
  /**
47
- * An extrinsic completed successfully.
6
+ * Pallet `System`'s events
48
7
  **/
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> | undefined; weight: SpWeightsWeightV2Weight }
921
- >;
922
-
923
- /**
924
- * Some XCM failed.
925
- **/
926
- Fail: GenericPalletEvent<
927
- 'XcmpQueue',
928
- 'Fail',
929
- { messageHash?: FixedBytes<32> | undefined; error: XcmV3TraitsError; weight: SpWeightsWeightV2Weight }
930
- >;
931
-
932
- /**
933
- * Bad XCM version used.
934
- **/
935
- BadVersion: GenericPalletEvent<'XcmpQueue', 'BadVersion', { messageHash?: FixedBytes<32> | undefined }>;
936
-
937
- /**
938
- * Bad XCM format used.
939
- **/
940
- BadFormat: GenericPalletEvent<'XcmpQueue', 'BadFormat', { messageHash?: FixedBytes<32> | undefined }>;
941
-
942
- /**
943
- * An HRMP message was sent to a sibling parachain.
944
- **/
945
- XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', { messageHash?: FixedBytes<32> | undefined }>;
946
-
947
- /**
948
- * An XCM exceeded the individual message weight budget.
949
- **/
950
- OverweightEnqueued: GenericPalletEvent<
951
- 'XcmpQueue',
952
- 'OverweightEnqueued',
953
- { sender: PolkadotParachainPrimitivesId; sentAt: number; index: bigint; required: SpWeightsWeightV2Weight }
954
- >;
955
-
956
- /**
957
- * An XCM from the overweight queue was executed with the given actual weight used.
958
- **/
959
- OverweightServiced: GenericPalletEvent<
960
- 'XcmpQueue',
961
- 'OverweightServiced',
962
- { index: bigint; used: SpWeightsWeightV2Weight }
963
- >;
964
-
965
- /**
966
- * Generic pallet event
967
- **/
968
- [prop: string]: GenericPalletEvent;
969
- };
970
- /**
971
- * Pallet `PolkadotXcm`'s events
972
- **/
973
- polkadotXcm: {
974
- /**
975
- * Execution of an XCM message was attempted.
976
- *
977
- * \[ outcome \]
978
- **/
979
- Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', XcmV3TraitsOutcome>;
980
-
981
- /**
982
- * A XCM message was sent.
983
- *
984
- * \[ origin, destination, message \]
985
- **/
986
- Sent: GenericPalletEvent<
987
- 'PolkadotXcm',
988
- 'Sent',
989
- [XcmV3MultilocationMultiLocation, XcmV3MultilocationMultiLocation, XcmV3Xcm]
990
- >;
991
-
992
- /**
993
- * Query response received which does not match a registered query. This may be because a
994
- * matching query was never registered, it may be because it is a duplicate response, or
995
- * because the query timed out.
996
- *
997
- * \[ origin location, id \]
998
- **/
999
- UnexpectedResponse: GenericPalletEvent<
1000
- 'PolkadotXcm',
1001
- 'UnexpectedResponse',
1002
- [XcmV3MultilocationMultiLocation, bigint]
1003
- >;
1004
-
1005
- /**
1006
- * Query response has been received and is ready for taking with `take_response`. There is
1007
- * no registered notification call.
1008
- *
1009
- * \[ id, response \]
1010
- **/
1011
- ResponseReady: GenericPalletEvent<'PolkadotXcm', 'ResponseReady', [bigint, XcmV3Response]>;
1012
-
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
- /**
1022
- * Query response has been received and query is removed. The registered notification could
1023
- * not be dispatched because the dispatch weight is greater than the maximum weight
1024
- * originally budgeted by this runtime for the query result.
1025
- *
1026
- * \[ id, pallet index, call index, actual weight, max budgeted weight \]
1027
- **/
1028
- NotifyOverweight: GenericPalletEvent<
1029
- 'PolkadotXcm',
1030
- 'NotifyOverweight',
1031
- [bigint, number, number, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]
1032
- >;
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
- /**
1043
- * Query response has been received and query is removed. The dispatch was unable to be
1044
- * decoded into a `Call`; this might be due to dispatch function having a signature which
1045
- * is not `(origin, QueryId, Response)`.
1046
- *
1047
- * \[ id, pallet index, call index \]
1048
- **/
1049
- NotifyDecodeFailed: GenericPalletEvent<'PolkadotXcm', 'NotifyDecodeFailed', [bigint, number, number]>;
1050
-
1051
- /**
1052
- * Expected query response has been received but the origin location of the response does
1053
- * not match that expected. The query remains registered for a later, valid, response to
1054
- * be received and acted upon.
1055
- *
1056
- * \[ origin location, id, expected location \]
1057
- **/
1058
- InvalidResponder: GenericPalletEvent<
1059
- 'PolkadotXcm',
1060
- 'InvalidResponder',
1061
- [XcmV3MultilocationMultiLocation, bigint, XcmV3MultilocationMultiLocation | undefined]
1062
- >;
1063
-
1064
- /**
1065
- * Expected query response has been received but the expected origin location placed in
1066
- * storage by this runtime previously cannot be decoded. The query remains registered.
1067
- *
1068
- * This is unexpected (since a location placed in storage in a previously executing
1069
- * runtime should be readable prior to query timeout) and dangerous since the possibly
1070
- * valid response will be dropped. Manual governance intervention is probably going to be
1071
- * needed.
1072
- *
1073
- * \[ origin location, id \]
1074
- **/
1075
- InvalidResponderVersion: GenericPalletEvent<
1076
- 'PolkadotXcm',
1077
- 'InvalidResponderVersion',
1078
- [XcmV3MultilocationMultiLocation, bigint]
1079
- >;
1080
-
1081
- /**
1082
- * Received query response has been read and removed.
1083
- *
1084
- * \[ id \]
1085
- **/
1086
- ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', bigint>;
1087
-
1088
- /**
1089
- * Some assets have been placed in an asset trap.
1090
- *
1091
- * \[ hash, origin, assets \]
1092
- **/
1093
- AssetsTrapped: GenericPalletEvent<
1094
- 'PolkadotXcm',
1095
- 'AssetsTrapped',
1096
- [H256, XcmV3MultilocationMultiLocation, XcmVersionedMultiAssets]
1097
- >;
1098
-
1099
- /**
1100
- * An XCM version change notification message has been attempted to be sent.
1101
- *
1102
- * The cost of sending it (borne by the chain) is included.
1103
- *
1104
- * \[ destination, result, cost \]
1105
- **/
1106
- VersionChangeNotified: GenericPalletEvent<
1107
- 'PolkadotXcm',
1108
- 'VersionChangeNotified',
1109
- [XcmV3MultilocationMultiLocation, number, XcmV3MultiassetMultiAssets]
1110
- >;
1111
-
1112
- /**
1113
- * The supported version of a location has been changed. This might be through an
1114
- * automatic notification or a manual intervention.
1115
- *
1116
- * \[ location, XCM version \]
1117
- **/
1118
- SupportedVersionChanged: GenericPalletEvent<
1119
- 'PolkadotXcm',
1120
- 'SupportedVersionChanged',
1121
- [XcmV3MultilocationMultiLocation, number]
1122
- >;
1123
-
1124
- /**
1125
- * A given location which had a version change subscription was dropped owing to an error
1126
- * sending the notification to it.
1127
- *
1128
- * \[ location, query ID, error \]
1129
- **/
1130
- NotifyTargetSendFail: GenericPalletEvent<
1131
- 'PolkadotXcm',
1132
- 'NotifyTargetSendFail',
1133
- [XcmV3MultilocationMultiLocation, bigint, XcmV3TraitsError]
1134
- >;
1135
-
1136
- /**
1137
- * A given location which had a version change subscription was dropped owing to an error
1138
- * migrating the location to our new XCM format.
1139
- *
1140
- * \[ location, query ID \]
1141
- **/
1142
- NotifyTargetMigrationFail: GenericPalletEvent<
1143
- 'PolkadotXcm',
1144
- 'NotifyTargetMigrationFail',
1145
- [XcmVersionedMultiLocation, bigint]
1146
- >;
1147
-
1148
- /**
1149
- * Expected query response has been received but the expected querier location placed in
1150
- * storage by this runtime previously cannot be decoded. The query remains registered.
1151
- *
1152
- * This is unexpected (since a location placed in storage in a previously executing
1153
- * runtime should be readable prior to query timeout) and dangerous since the possibly
1154
- * valid response will be dropped. Manual governance intervention is probably going to be
1155
- * needed.
1156
- *
1157
- * \[ origin location, id \]
1158
- **/
1159
- InvalidQuerierVersion: GenericPalletEvent<
1160
- 'PolkadotXcm',
1161
- 'InvalidQuerierVersion',
1162
- [XcmV3MultilocationMultiLocation, bigint]
1163
- >;
1164
-
1165
- /**
1166
- * Expected query response has been received but the querier location of the response does
1167
- * not match the expected. The query remains registered for a later, valid, response to
1168
- * be received and acted upon.
1169
- *
1170
- * \[ origin location, id, expected querier, maybe actual querier \]
1171
- **/
1172
- InvalidQuerier: GenericPalletEvent<
1173
- 'PolkadotXcm',
1174
- 'InvalidQuerier',
1175
- [
1176
- XcmV3MultilocationMultiLocation,
1177
- bigint,
1178
- XcmV3MultilocationMultiLocation,
1179
- XcmV3MultilocationMultiLocation | undefined,
1180
- ]
1181
- >;
1182
-
1183
- /**
1184
- * A remote has requested XCM version change notification from us and we have honored it.
1185
- * A version information message is sent to them and its cost is included.
1186
- *
1187
- * \[ destination location, cost \]
1188
- **/
1189
- VersionNotifyStarted: GenericPalletEvent<
1190
- 'PolkadotXcm',
1191
- 'VersionNotifyStarted',
1192
- [XcmV3MultilocationMultiLocation, XcmV3MultiassetMultiAssets]
1193
- >;
1194
-
1195
- /**
1196
- * We have requested that a remote chain sends us XCM version change notifications.
1197
- *
1198
- * \[ destination location, cost \]
1199
- **/
1200
- VersionNotifyRequested: GenericPalletEvent<
1201
- 'PolkadotXcm',
1202
- 'VersionNotifyRequested',
1203
- [XcmV3MultilocationMultiLocation, XcmV3MultiassetMultiAssets]
1204
- >;
1205
-
1206
- /**
1207
- * We have requested that a remote chain stops sending us XCM version change notifications.
1208
- *
1209
- * \[ destination location, cost \]
1210
- **/
1211
- VersionNotifyUnrequested: GenericPalletEvent<
1212
- 'PolkadotXcm',
1213
- 'VersionNotifyUnrequested',
1214
- [XcmV3MultilocationMultiLocation, XcmV3MultiassetMultiAssets]
1215
- >;
1216
-
1217
- /**
1218
- * Fees were paid from a location for an operation (often for using `SendXcm`).
1219
- *
1220
- * \[ paying location, fees \]
1221
- **/
1222
- FeesPaid: GenericPalletEvent<
1223
- 'PolkadotXcm',
1224
- 'FeesPaid',
1225
- [XcmV3MultilocationMultiLocation, XcmV3MultiassetMultiAssets]
1226
- >;
1227
-
1228
- /**
1229
- * Some assets have been claimed from an asset trap
1230
- *
1231
- * \[ hash, origin, assets \]
1232
- **/
1233
- AssetsClaimed: GenericPalletEvent<
1234
- 'PolkadotXcm',
1235
- 'AssetsClaimed',
1236
- [H256, XcmV3MultilocationMultiLocation, XcmVersionedMultiAssets]
1237
- >;
1238
-
1239
- /**
1240
- * Generic pallet event
1241
- **/
1242
- [prop: string]: GenericPalletEvent;
1243
- };
1244
- /**
1245
- * Pallet `CumulusXcm`'s events
1246
- **/
1247
- cumulusXcm: {
1248
- /**
1249
- * Downward message is invalid XCM.
1250
- * \[ id \]
1251
- **/
1252
- InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
1253
-
1254
- /**
1255
- * Downward message is unsupported version of XCM.
1256
- * \[ id \]
1257
- **/
1258
- UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
1259
-
1260
- /**
1261
- * Downward message executed with the given outcome.
1262
- * \[ id, outcome \]
1263
- **/
1264
- ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, XcmV3TraitsOutcome]>;
1265
-
1266
- /**
1267
- * Generic pallet event
1268
- **/
1269
- [prop: string]: GenericPalletEvent;
1270
- };
1271
- /**
1272
- * Pallet `DmpQueue`'s events
1273
- **/
1274
- dmpQueue: {
1275
- /**
1276
- * Downward message is invalid XCM.
1277
- **/
1278
- InvalidFormat: GenericPalletEvent<'DmpQueue', 'InvalidFormat', { messageId: FixedBytes<32> }>;
1279
-
1280
- /**
1281
- * Downward message is unsupported version of XCM.
1282
- **/
1283
- UnsupportedVersion: GenericPalletEvent<'DmpQueue', 'UnsupportedVersion', { messageId: FixedBytes<32> }>;
1284
-
1285
- /**
1286
- * Downward message executed with the given outcome.
1287
- **/
1288
- ExecutedDownward: GenericPalletEvent<
1289
- 'DmpQueue',
1290
- 'ExecutedDownward',
1291
- { messageId: FixedBytes<32>; outcome: XcmV3TraitsOutcome }
1292
- >;
1293
-
1294
- /**
1295
- * The weight limit for handling downward messages was reached.
1296
- **/
1297
- WeightExhausted: GenericPalletEvent<
1298
- 'DmpQueue',
1299
- 'WeightExhausted',
1300
- { messageId: FixedBytes<32>; remainingWeight: SpWeightsWeightV2Weight; requiredWeight: SpWeightsWeightV2Weight }
1301
- >;
1302
-
1303
- /**
1304
- * Downward message is overweight and was placed in the overweight queue.
1305
- **/
1306
- OverweightEnqueued: GenericPalletEvent<
1307
- 'DmpQueue',
1308
- 'OverweightEnqueued',
1309
- { messageId: FixedBytes<32>; overweightIndex: bigint; requiredWeight: SpWeightsWeightV2Weight }
1310
- >;
1311
-
1312
- /**
1313
- * Downward message from the overweight queue was executed.
1314
- **/
1315
- OverweightServiced: GenericPalletEvent<
1316
- 'DmpQueue',
1317
- 'OverweightServiced',
1318
- { overweightIndex: bigint; weightUsed: SpWeightsWeightV2Weight }
1319
- >;
1320
-
1321
- /**
1322
- * The maximum number of downward messages was.
1323
- **/
1324
- MaxMessagesExhausted: GenericPalletEvent<'DmpQueue', 'MaxMessagesExhausted', { messageId: FixedBytes<32> }>;
1325
-
1326
- /**
1327
- * Generic pallet event
1328
- **/
1329
- [prop: string]: GenericPalletEvent;
1330
- };
1331
- /**
1332
- * Pallet `XcAssetConfig`'s events
1333
- **/
1334
- xcAssetConfig: {
1335
- /**
1336
- * Registed mapping between asset type and asset Id.
1337
- **/
1338
- AssetRegistered: GenericPalletEvent<
1339
- 'XcAssetConfig',
1340
- 'AssetRegistered',
1341
- { assetLocation: XcmVersionedMultiLocation; assetId: bigint }
1342
- >;
1343
-
1344
- /**
1345
- * Changed the amount of units we are charging per execution second for an asset
1346
- **/
1347
- UnitsPerSecondChanged: GenericPalletEvent<
1348
- 'XcAssetConfig',
1349
- 'UnitsPerSecondChanged',
1350
- { assetLocation: XcmVersionedMultiLocation; unitsPerSecond: bigint }
1351
- >;
1352
-
1353
- /**
1354
- * Changed the asset type mapping for a given asset id
1355
- **/
1356
- AssetLocationChanged: GenericPalletEvent<
1357
- 'XcAssetConfig',
1358
- 'AssetLocationChanged',
1359
- { previousAssetLocation: XcmVersionedMultiLocation; assetId: bigint; newAssetLocation: XcmVersionedMultiLocation }
1360
- >;
1361
-
1362
- /**
1363
- * Supported asset type for fee payment removed.
1364
- **/
1365
- SupportedAssetRemoved: GenericPalletEvent<
1366
- 'XcAssetConfig',
1367
- 'SupportedAssetRemoved',
1368
- { assetLocation: XcmVersionedMultiLocation }
1369
- >;
1370
-
1371
- /**
1372
- * Removed all information related to an asset Id
1373
- **/
1374
- AssetRemoved: GenericPalletEvent<
1375
- 'XcAssetConfig',
1376
- 'AssetRemoved',
1377
- { assetLocation: XcmVersionedMultiLocation; assetId: bigint }
1378
- >;
1379
-
1380
- /**
1381
- * Generic pallet event
1382
- **/
1383
- [prop: string]: GenericPalletEvent;
1384
- };
1385
- /**
1386
- * Pallet `XTokens`'s events
1387
- **/
1388
- xTokens: {
1389
- /**
1390
- * Transferred `MultiAsset` with fee.
1391
- **/
1392
- TransferredMultiAssets: GenericPalletEvent<
1393
- 'XTokens',
1394
- 'TransferredMultiAssets',
1395
- {
1396
- sender: AccountId32;
1397
- assets: XcmV3MultiassetMultiAssets;
1398
- fee: XcmV3MultiassetMultiAsset;
1399
- dest: XcmV3MultilocationMultiLocation;
1400
- }
1401
- >;
1402
-
1403
- /**
1404
- * Generic pallet event
1405
- **/
1406
- [prop: string]: GenericPalletEvent;
1407
- };
1408
- /**
1409
- * Pallet `EVM`'s events
1410
- **/
1411
- evm: {
1412
- /**
1413
- * Ethereum events from contracts.
1414
- **/
1415
- Log: GenericPalletEvent<'EVM', 'Log', { log: EthereumLog }>;
1416
-
1417
- /**
1418
- * A contract has been created at given address.
1419
- **/
1420
- Created: GenericPalletEvent<'EVM', 'Created', { address: H160 }>;
1421
-
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
+ };
1422
50
  /**
1423
- * A contract was attempted to be created, but the execution failed.
51
+ * Pallet `Utility`'s events
1424
52
  **/
1425
- CreatedFailed: GenericPalletEvent<'EVM', 'CreatedFailed', { address: H160 }>;
1426
-
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
+ };
1427
91
  /**
1428
- * A contract has been executed successfully with states applied.
92
+ * Pallet `Identity`'s events
1429
93
  **/
1430
- Executed: GenericPalletEvent<'EVM', 'Executed', { address: H160 }>;
1431
-
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
+ };
1432
172
  /**
1433
- * A contract has been executed with errors. States are reverted with only gas fees applied.
173
+ * Pallet `Multisig`'s events
1434
174
  **/
1435
- ExecutedFailed: GenericPalletEvent<'EVM', 'ExecutedFailed', { address: H160 }>;
1436
-
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
+ };
1437
217
  /**
1438
- * Generic pallet event
218
+ * Pallet `Proxy`'s events
1439
219
  **/
1440
- [prop: string]: GenericPalletEvent;
1441
- };
1442
- /**
1443
- * Pallet `Ethereum`'s events
1444
- **/
1445
- ethereum: {
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
+ };
1446
268
  /**
1447
- * An ethereum transaction was successfully executed.
269
+ * Pallet `ParachainSystem`'s events
1448
270
  **/
1449
- Executed: GenericPalletEvent<
1450
- 'Ethereum',
1451
- 'Executed',
1452
- { from: H160; to: H160; transactionHash: H256; exitReason: EvmCoreErrorExitReason; extraData: Bytes }
1453
- >;
1454
-
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
+ };
1455
316
  /**
1456
- * Generic pallet event
317
+ * Pallet `TransactionPayment`'s events
1457
318
  **/
1458
- [prop: string]: GenericPalletEvent;
1459
- };
1460
- /**
1461
- * Pallet `DynamicEvmBaseFee`'s events
1462
- **/
1463
- dynamicEvmBaseFee: {
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
+ };
1464
334
  /**
1465
- * New `base fee per gas` value has been force-set.
335
+ * Pallet `Balances`'s events
1466
336
  **/
1467
- NewBaseFeePerGas: GenericPalletEvent<'DynamicEvmBaseFee', 'NewBaseFeePerGas', { fee: U256 }>;
1468
-
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
+ };
1469
492
  /**
1470
- * Generic pallet event
493
+ * Pallet `Vesting`'s events
1471
494
  **/
1472
- [prop: string]: GenericPalletEvent;
1473
- };
1474
- /**
1475
- * Pallet `Contracts`'s events
1476
- **/
1477
- contracts: {
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
+ };
1478
515
  /**
1479
- * Contract deployed by address at the specified address.
516
+ * Pallet `Inflation`'s events
1480
517
  **/
1481
- Instantiated: GenericPalletEvent<'Contracts', 'Instantiated', { deployer: AccountId32; contract: AccountId32 }>;
1482
-
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
+ };
1483
546
  /**
1484
- * Contract has been removed.
1485
- *
1486
- * # Note
1487
- *
1488
- * The only way for a contract to be removed and emitting this event is by calling
1489
- * `seal_terminate`.
547
+ * Pallet `DappStaking`'s events
1490
548
  **/
1491
- Terminated: GenericPalletEvent<
1492
- 'Contracts',
1493
- 'Terminated',
1494
- {
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
+ }>;
1495
677
  /**
1496
- * The contract that was terminated.
678
+ * Some expired stake entries have been removed from storage.
1497
679
  **/
1498
- contract: AccountId32;
1499
-
680
+ ExpiredEntriesRemoved: GenericPalletEvent<'DappStaking', 'ExpiredEntriesRemoved', {
681
+ account: AccountId32;
682
+ count: number;
683
+ }>;
1500
684
  /**
1501
- * The account that received the contracts remaining balance
685
+ * Privileged origin has forced a new era and possibly a subperiod to start from next block.
1502
686
  **/
1503
- beneficiary: AccountId32;
1504
- }
1505
- >;
1506
-
1507
- /**
1508
- * Code with the specified hash has been stored.
1509
- **/
1510
- CodeStored: GenericPalletEvent<'Contracts', 'CodeStored', { codeHash: H256 }>;
1511
-
687
+ Force: GenericPalletEvent<'DappStaking', 'Force', {
688
+ forcingType: PalletDappStakingV3ForcingType;
689
+ }>;
690
+ /**
691
+ * Generic pallet event
692
+ **/
693
+ [prop: string]: GenericPalletEvent;
694
+ };
1512
695
  /**
1513
- * A custom event emitted by the contract.
696
+ * Pallet `Assets`'s events
1514
697
  **/
1515
- ContractEmitted: GenericPalletEvent<
1516
- 'Contracts',
1517
- 'ContractEmitted',
1518
- {
698
+ assets: {
1519
699
  /**
1520
- * The contract that emitted the event.
700
+ * Some asset class was created.
1521
701
  **/
1522
- contract: AccountId32;
1523
-
702
+ Created: GenericPalletEvent<'Assets', 'Created', {
703
+ assetId: bigint;
704
+ creator: AccountId32;
705
+ owner: AccountId32;
706
+ }>;
1524
707
  /**
1525
- * Data supplied by the contract. Metadata generated during contract compilation
1526
- * is needed to decode it.
708
+ * Some assets were issued.
1527
709
  **/
1528
- data: Bytes;
1529
- }
1530
- >;
1531
-
1532
- /**
1533
- * A code with the specified hash was removed.
1534
- **/
1535
- CodeRemoved: GenericPalletEvent<'Contracts', 'CodeRemoved', { codeHash: H256 }>;
1536
-
1537
- /**
1538
- * A contract's code was updated.
1539
- **/
1540
- ContractCodeUpdated: GenericPalletEvent<
1541
- 'Contracts',
1542
- 'ContractCodeUpdated',
1543
- {
710
+ Issued: GenericPalletEvent<'Assets', 'Issued', {
711
+ assetId: bigint;
712
+ owner: AccountId32;
713
+ amount: bigint;
714
+ }>;
1544
715
  /**
1545
- * The contract that has been updated.
716
+ * Some assets were transferred.
1546
717
  **/
1547
- contract: AccountId32;
1548
-
718
+ Transferred: GenericPalletEvent<'Assets', 'Transferred', {
719
+ assetId: bigint;
720
+ from: AccountId32;
721
+ to: AccountId32;
722
+ amount: bigint;
723
+ }>;
1549
724
  /**
1550
- * New code hash that was set for the contract.
725
+ * Some assets were destroyed.
1551
726
  **/
1552
- newCodeHash: H256;
1553
-
727
+ Burned: GenericPalletEvent<'Assets', 'Burned', {
728
+ assetId: bigint;
729
+ owner: AccountId32;
730
+ balance: bigint;
731
+ }>;
1554
732
  /**
1555
- * Previous code hash of the contract.
733
+ * The management team changed.
1556
734
  **/
1557
- oldCodeHash: H256;
1558
- }
1559
- >;
1560
-
1561
- /**
1562
- * A contract was called either by a plain account or another contract.
1563
- *
1564
- * # Note
1565
- *
1566
- * Please keep in mind that like all events this is only emitted for successful
1567
- * calls. This is because on failure all storage changes including events are
1568
- * rolled back.
1569
- **/
1570
- Called: GenericPalletEvent<
1571
- 'Contracts',
1572
- 'Called',
1573
- {
735
+ TeamChanged: GenericPalletEvent<'Assets', 'TeamChanged', {
736
+ assetId: bigint;
737
+ issuer: AccountId32;
738
+ admin: AccountId32;
739
+ freezer: AccountId32;
740
+ }>;
1574
741
  /**
1575
- * The caller of the `contract`.
742
+ * The owner changed.
1576
743
  **/
1577
- caller: PalletContractsOrigin;
1578
-
744
+ OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', {
745
+ assetId: bigint;
746
+ owner: AccountId32;
747
+ }>;
1579
748
  /**
1580
- * The contract that was called.
749
+ * Some account `who` was frozen.
1581
750
  **/
1582
- contract: AccountId32;
1583
- }
1584
- >;
1585
-
1586
- /**
1587
- * A contract delegate called a code hash.
1588
- *
1589
- * # Note
1590
- *
1591
- * Please keep in mind that like all events this is only emitted for successful
1592
- * calls. This is because on failure all storage changes including events are
1593
- * rolled back.
1594
- **/
1595
- DelegateCalled: GenericPalletEvent<
1596
- 'Contracts',
1597
- 'DelegateCalled',
1598
- {
751
+ Frozen: GenericPalletEvent<'Assets', 'Frozen', {
752
+ assetId: bigint;
753
+ who: AccountId32;
754
+ }>;
1599
755
  /**
1600
- * The contract that performed the delegate call and hence in whose context
1601
- * the `code_hash` is executed.
756
+ * Some account `who` was thawed.
1602
757
  **/
1603
- contract: AccountId32;
1604
-
758
+ Thawed: GenericPalletEvent<'Assets', 'Thawed', {
759
+ assetId: bigint;
760
+ who: AccountId32;
761
+ }>;
1605
762
  /**
1606
- * The code hash that was delegate called.
763
+ * Some asset `asset_id` was frozen.
1607
764
  **/
1608
- codeHash: H256;
1609
- }
1610
- >;
1611
-
1612
- /**
1613
- * Generic pallet event
1614
- **/
1615
- [prop: string]: GenericPalletEvent;
1616
- };
1617
- /**
1618
- * Pallet `Sudo`'s events
1619
- **/
1620
- sudo: {
1621
- /**
1622
- * A sudo just took place. \[result\]
1623
- **/
1624
- Sudid: GenericPalletEvent<'Sudo', 'Sudid', { sudoResult: Result<[], DispatchError> }>;
1625
-
1626
- /**
1627
- * The \[sudoer\] just switched identity; the old key is supplied if one existed.
1628
- **/
1629
- KeyChanged: GenericPalletEvent<'Sudo', 'KeyChanged', { oldSudoer?: AccountId32 | undefined }>;
1630
-
1631
- /**
1632
- * A sudo just took place. \[result\]
1633
- **/
1634
- SudoAsDone: GenericPalletEvent<'Sudo', 'SudoAsDone', { sudoResult: Result<[], DispatchError> }>;
1635
-
1636
- /**
1637
- * Generic pallet event
1638
- **/
1639
- [prop: string]: GenericPalletEvent;
1640
- };
1641
- /**
1642
- * Pallet `StaticPriceProvider`'s events
1643
- **/
1644
- staticPriceProvider: {
1645
- /**
1646
- * New static native currency price has been set.
1647
- **/
1648
- PriceSet: GenericPalletEvent<'StaticPriceProvider', 'PriceSet', { price: FixedU64 }>;
1649
-
1650
- /**
1651
- * Generic pallet event
1652
- **/
1653
- [prop: string]: GenericPalletEvent;
1654
- };
1655
- /**
1656
- * Pallet `DappStakingMigration`'s events
1657
- **/
1658
- dappStakingMigration: {
1659
- /**
1660
- * Number of entries migrated from v2 over to v3
1661
- **/
1662
- EntriesMigrated: GenericPalletEvent<'DappStakingMigration', 'EntriesMigrated', number>;
1663
-
1664
- /**
1665
- * Number of entries deleted from v2
1666
- **/
1667
- EntriesDeleted: GenericPalletEvent<'DappStakingMigration', 'EntriesDeleted', number>;
1668
-
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
+ };
1669
901
  /**
1670
- * Generic pallet event
902
+ * Pallet `Session`'s events
1671
903
  **/
1672
- [prop: string]: GenericPalletEvent;
1673
- };
1674
- /**
1675
- * Pallet `DappsStaking`'s events
1676
- **/
1677
- dappsStaking: {
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
+ };
1678
917
  /**
1679
- * Account has bonded and staked funds on a smart contract.
918
+ * Pallet `XcmpQueue`'s events
1680
919
  **/
1681
- BondAndStake: GenericPalletEvent<
1682
- 'DappsStaking',
1683
- 'BondAndStake',
1684
- [AccountId32, AstarPrimitivesDappStakingSmartContract, bigint]
1685
- >;
1686
-
920
+ xcmpQueue: {
921
+ /**
922
+ * Some XCM was executed ok.
923
+ **/
924
+ Success: GenericPalletEvent<'XcmpQueue', 'Success', {
925
+ messageHash?: FixedBytes<32> | undefined;
926
+ weight: SpWeightsWeightV2Weight;
927
+ }>;
928
+ /**
929
+ * Some XCM failed.
930
+ **/
931
+ Fail: GenericPalletEvent<'XcmpQueue', 'Fail', {
932
+ messageHash?: FixedBytes<32> | undefined;
933
+ error: XcmV3TraitsError;
934
+ weight: SpWeightsWeightV2Weight;
935
+ }>;
936
+ /**
937
+ * Bad XCM version used.
938
+ **/
939
+ BadVersion: GenericPalletEvent<'XcmpQueue', 'BadVersion', {
940
+ messageHash?: FixedBytes<32> | undefined;
941
+ }>;
942
+ /**
943
+ * Bad XCM format used.
944
+ **/
945
+ BadFormat: GenericPalletEvent<'XcmpQueue', 'BadFormat', {
946
+ messageHash?: FixedBytes<32> | undefined;
947
+ }>;
948
+ /**
949
+ * An HRMP message was sent to a sibling parachain.
950
+ **/
951
+ XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', {
952
+ messageHash?: FixedBytes<32> | undefined;
953
+ }>;
954
+ /**
955
+ * An XCM exceeded the individual message weight budget.
956
+ **/
957
+ OverweightEnqueued: GenericPalletEvent<'XcmpQueue', 'OverweightEnqueued', {
958
+ sender: PolkadotParachainPrimitivesId;
959
+ sentAt: number;
960
+ index: bigint;
961
+ required: SpWeightsWeightV2Weight;
962
+ }>;
963
+ /**
964
+ * An XCM from the overweight queue was executed with the given actual weight used.
965
+ **/
966
+ OverweightServiced: GenericPalletEvent<'XcmpQueue', 'OverweightServiced', {
967
+ index: bigint;
968
+ used: SpWeightsWeightV2Weight;
969
+ }>;
970
+ /**
971
+ * Generic pallet event
972
+ **/
973
+ [prop: string]: GenericPalletEvent;
974
+ };
1687
975
  /**
1688
- * Account has unbonded & unstaked some funds. Unbonding process begins.
976
+ * Pallet `PolkadotXcm`'s events
1689
977
  **/
1690
- UnbondAndUnstake: GenericPalletEvent<
1691
- 'DappsStaking',
1692
- 'UnbondAndUnstake',
1693
- [AccountId32, AstarPrimitivesDappStakingSmartContract, bigint]
1694
- >;
1695
-
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
+ };
1696
1215
  /**
1697
- * Account has fully withdrawn all staked amount from an unregistered contract.
1216
+ * Pallet `CumulusXcm`'s events
1698
1217
  **/
1699
- WithdrawFromUnregistered: GenericPalletEvent<
1700
- 'DappsStaking',
1701
- 'WithdrawFromUnregistered',
1702
- [AccountId32, AstarPrimitivesDappStakingSmartContract, bigint]
1703
- >;
1704
-
1218
+ cumulusXcm: {
1219
+ /**
1220
+ * Downward message is invalid XCM.
1221
+ * \[ id \]
1222
+ **/
1223
+ InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
1224
+ /**
1225
+ * Downward message is unsupported version of XCM.
1226
+ * \[ id \]
1227
+ **/
1228
+ UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
1229
+ /**
1230
+ * Downward message executed with the given outcome.
1231
+ * \[ id, outcome \]
1232
+ **/
1233
+ ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, XcmV3TraitsOutcome]>;
1234
+ /**
1235
+ * Generic pallet event
1236
+ **/
1237
+ [prop: string]: GenericPalletEvent;
1238
+ };
1705
1239
  /**
1706
- * Account has withdrawn unbonded funds.
1240
+ * Pallet `DmpQueue`'s events
1707
1241
  **/
1708
- Withdrawn: GenericPalletEvent<'DappsStaking', 'Withdrawn', [AccountId32, bigint]>;
1709
-
1242
+ dmpQueue: {
1243
+ /**
1244
+ * Downward message is invalid XCM.
1245
+ **/
1246
+ InvalidFormat: GenericPalletEvent<'DmpQueue', 'InvalidFormat', {
1247
+ messageId: FixedBytes<32>;
1248
+ }>;
1249
+ /**
1250
+ * Downward message is unsupported version of XCM.
1251
+ **/
1252
+ UnsupportedVersion: GenericPalletEvent<'DmpQueue', 'UnsupportedVersion', {
1253
+ messageId: FixedBytes<32>;
1254
+ }>;
1255
+ /**
1256
+ * Downward message executed with the given outcome.
1257
+ **/
1258
+ ExecutedDownward: GenericPalletEvent<'DmpQueue', 'ExecutedDownward', {
1259
+ messageId: FixedBytes<32>;
1260
+ outcome: XcmV3TraitsOutcome;
1261
+ }>;
1262
+ /**
1263
+ * The weight limit for handling downward messages was reached.
1264
+ **/
1265
+ WeightExhausted: GenericPalletEvent<'DmpQueue', 'WeightExhausted', {
1266
+ messageId: FixedBytes<32>;
1267
+ remainingWeight: SpWeightsWeightV2Weight;
1268
+ requiredWeight: SpWeightsWeightV2Weight;
1269
+ }>;
1270
+ /**
1271
+ * Downward message is overweight and was placed in the overweight queue.
1272
+ **/
1273
+ OverweightEnqueued: GenericPalletEvent<'DmpQueue', 'OverweightEnqueued', {
1274
+ messageId: FixedBytes<32>;
1275
+ overweightIndex: bigint;
1276
+ requiredWeight: SpWeightsWeightV2Weight;
1277
+ }>;
1278
+ /**
1279
+ * Downward message from the overweight queue was executed.
1280
+ **/
1281
+ OverweightServiced: GenericPalletEvent<'DmpQueue', 'OverweightServiced', {
1282
+ overweightIndex: bigint;
1283
+ weightUsed: SpWeightsWeightV2Weight;
1284
+ }>;
1285
+ /**
1286
+ * The maximum number of downward messages was.
1287
+ **/
1288
+ MaxMessagesExhausted: GenericPalletEvent<'DmpQueue', 'MaxMessagesExhausted', {
1289
+ messageId: FixedBytes<32>;
1290
+ }>;
1291
+ /**
1292
+ * Generic pallet event
1293
+ **/
1294
+ [prop: string]: GenericPalletEvent;
1295
+ };
1710
1296
  /**
1711
- * New contract added for staking.
1297
+ * Pallet `XcAssetConfig`'s events
1712
1298
  **/
1713
- NewContract: GenericPalletEvent<
1714
- 'DappsStaking',
1715
- 'NewContract',
1716
- [AccountId32, AstarPrimitivesDappStakingSmartContract]
1717
- >;
1718
-
1299
+ xcAssetConfig: {
1300
+ /**
1301
+ * Registed mapping between asset type and asset Id.
1302
+ **/
1303
+ AssetRegistered: GenericPalletEvent<'XcAssetConfig', 'AssetRegistered', {
1304
+ assetLocation: XcmVersionedMultiLocation;
1305
+ assetId: bigint;
1306
+ }>;
1307
+ /**
1308
+ * Changed the amount of units we are charging per execution second for an asset
1309
+ **/
1310
+ UnitsPerSecondChanged: GenericPalletEvent<'XcAssetConfig', 'UnitsPerSecondChanged', {
1311
+ assetLocation: XcmVersionedMultiLocation;
1312
+ unitsPerSecond: bigint;
1313
+ }>;
1314
+ /**
1315
+ * Changed the asset type mapping for a given asset id
1316
+ **/
1317
+ AssetLocationChanged: GenericPalletEvent<'XcAssetConfig', 'AssetLocationChanged', {
1318
+ previousAssetLocation: XcmVersionedMultiLocation;
1319
+ assetId: bigint;
1320
+ newAssetLocation: XcmVersionedMultiLocation;
1321
+ }>;
1322
+ /**
1323
+ * Supported asset type for fee payment removed.
1324
+ **/
1325
+ SupportedAssetRemoved: GenericPalletEvent<'XcAssetConfig', 'SupportedAssetRemoved', {
1326
+ assetLocation: XcmVersionedMultiLocation;
1327
+ }>;
1328
+ /**
1329
+ * Removed all information related to an asset Id
1330
+ **/
1331
+ AssetRemoved: GenericPalletEvent<'XcAssetConfig', 'AssetRemoved', {
1332
+ assetLocation: XcmVersionedMultiLocation;
1333
+ assetId: bigint;
1334
+ }>;
1335
+ /**
1336
+ * Generic pallet event
1337
+ **/
1338
+ [prop: string]: GenericPalletEvent;
1339
+ };
1719
1340
  /**
1720
- * Contract removed from dapps staking.
1341
+ * Pallet `XTokens`'s events
1721
1342
  **/
1722
- ContractRemoved: GenericPalletEvent<
1723
- 'DappsStaking',
1724
- 'ContractRemoved',
1725
- [AccountId32, AstarPrimitivesDappStakingSmartContract]
1726
- >;
1727
-
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
+ };
1728
1358
  /**
1729
- * New dapps staking era. Distribute era rewards to contracts.
1359
+ * Pallet `EVM`'s events
1730
1360
  **/
1731
- NewDappStakingEra: GenericPalletEvent<'DappsStaking', 'NewDappStakingEra', number>;
1732
-
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
+ };
1733
1397
  /**
1734
- * Reward paid to staker or developer.
1398
+ * Pallet `Ethereum`'s events
1735
1399
  **/
1736
- Reward: GenericPalletEvent<
1737
- 'DappsStaking',
1738
- 'Reward',
1739
- [AccountId32, AstarPrimitivesDappStakingSmartContract, number, bigint]
1740
- >;
1741
-
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
+ };
1742
1416
  /**
1743
- * Maintenance mode has been enabled or disabled
1417
+ * Pallet `DynamicEvmBaseFee`'s events
1744
1418
  **/
1745
- MaintenanceMode: GenericPalletEvent<'DappsStaking', 'MaintenanceMode', boolean>;
1746
-
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
+ };
1747
1431
  /**
1748
- * Reward handling modified
1432
+ * Pallet `Contracts`'s events
1749
1433
  **/
1750
- RewardDestination: GenericPalletEvent<
1751
- 'DappsStaking',
1752
- 'RewardDestination',
1753
- [AccountId32, PalletDappsStakingRewardDestination]
1754
- >;
1755
-
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
+ };
1756
1547
  /**
1757
- * Nomination part has been transfered from one contract to another.
1758
- *
1759
- * \(staker account, origin smart contract, amount, target smart contract\)
1548
+ * Pallet `Sudo`'s events
1760
1549
  **/
1761
- NominationTransfer: GenericPalletEvent<
1762
- 'DappsStaking',
1763
- 'NominationTransfer',
1764
- [AccountId32, AstarPrimitivesDappStakingSmartContract, bigint, AstarPrimitivesDappStakingSmartContract]
1765
- >;
1766
-
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
+ };
1767
1574
  /**
1768
- * Stale, unclaimed reward from an unregistered contract has been burned.
1769
- *
1770
- * \(developer account, smart contract, era, amount burned\)
1575
+ * Pallet `StaticPriceProvider`'s events
1771
1576
  **/
1772
- StaleRewardBurned: GenericPalletEvent<
1773
- 'DappsStaking',
1774
- 'StaleRewardBurned',
1775
- [AccountId32, AstarPrimitivesDappStakingSmartContract, number, bigint]
1776
- >;
1777
-
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
+ };
1778
1589
  /**
1779
- * Pallet is being decommissioned.
1590
+ * Pallet `DappStakingMigration`'s events
1780
1591
  **/
1781
- Decommission: GenericPalletEvent<'DappsStaking', 'Decommission', null>;
1782
-
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
+ };
1783
1606
  /**
1784
- * Generic pallet event
1607
+ * Pallet `DappsStaking`'s events
1785
1608
  **/
1786
- [prop: string]: GenericPalletEvent;
1787
- };
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
+ };
1788
1707
  }