@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
@@ -1,2457 +1,2235 @@
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
- FixedBytes,
10
- Result,
11
- Perbill,
12
- Bytes,
13
- EthereumAddress,
14
- FixedU128,
15
- } from '@dedot/codecs';
16
- import type {
17
- FrameSupportTokensMiscBalanceStatus,
18
- PalletStakingRewardDestination,
19
- PalletStakingValidatorPrefs,
20
- PalletStakingForcing,
21
- SpConsensusGrandpaAppPublic,
22
- PalletImOnlineSr25519AppSr25519Public,
23
- PalletStakingExposure,
24
- PolkadotRuntimeCommonImplsVersionedLocatableAsset,
25
- XcmVersionedMultiLocation,
26
- FrameSupportPreimagesBounded,
27
- PalletConvictionVotingTally,
28
- FrameSupportDispatchPostDispatchInfo,
29
- SpRuntimeDispatchErrorWithPostInfo,
30
- PolkadotRuntimeProxyType,
31
- PalletMultisigTimepoint,
32
- PalletElectionProviderMultiPhaseElectionCompute,
33
- SpNposElectionsElectionScore,
34
- PalletElectionProviderMultiPhasePhase,
35
- PalletNominationPoolsPoolState,
36
- PalletNominationPoolsCommissionChangeRate,
37
- PolkadotPrimitivesV6CandidateReceipt,
38
- PolkadotParachainPrimitivesPrimitivesHeadData,
39
- PolkadotPrimitivesV6CoreIndex,
40
- PolkadotPrimitivesV6GroupIndex,
41
- PolkadotParachainPrimitivesPrimitivesId,
42
- PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
43
- PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
44
- PolkadotCorePrimitivesCandidateHash,
45
- PolkadotRuntimeParachainsDisputesDisputeLocation,
46
- PolkadotRuntimeParachainsDisputesDisputeResult,
47
- XcmV3TraitsOutcome,
48
- StagingXcmV3MultilocationMultiLocation,
49
- XcmV3Xcm,
50
- XcmV3Response,
51
- SpWeightsWeightV2Weight,
52
- XcmVersionedMultiAssets,
53
- XcmV3MultiassetMultiAssets,
54
- XcmV3TraitsError,
55
- PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
56
- FrameSupportMessagesProcessMessageError,
57
- } from './types';
58
-
2
+ import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Perbill, Bytes, EthereumAddress, FixedU128 } from '@dedot/codecs';
3
+ import type { FrameSupportTokensMiscBalanceStatus, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStakingForcing, SpConsensusGrandpaAppPublic, PalletImOnlineSr25519AppSr25519Public, PalletStakingExposure, PolkadotRuntimeCommonImplsVersionedLocatableAsset, XcmVersionedMultiLocation, FrameSupportPreimagesBounded, PalletConvictionVotingTally, FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo, PolkadotRuntimeProxyType, PalletMultisigTimepoint, PalletElectionProviderMultiPhaseElectionCompute, SpNposElectionsElectionScore, PalletElectionProviderMultiPhasePhase, PalletNominationPoolsPoolState, PalletNominationPoolsCommissionChangeRate, PolkadotPrimitivesV6CandidateReceipt, PolkadotParachainPrimitivesPrimitivesHeadData, PolkadotPrimitivesV6CoreIndex, PolkadotPrimitivesV6GroupIndex, PolkadotParachainPrimitivesPrimitivesId, PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, XcmV3TraitsOutcome, StagingXcmV3MultilocationMultiLocation, XcmV3Xcm, XcmV3Response, SpWeightsWeightV2Weight, XcmVersionedMultiAssets, XcmV3MultiassetMultiAssets, XcmV3TraitsError, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, FrameSupportMessagesProcessMessageError } from './types';
59
4
  export interface ChainEvents extends GenericChainEvents {
60
- /**
61
- * Pallet `System`'s events
62
- **/
63
- system: {
64
5
  /**
65
- * An extrinsic completed successfully.
6
+ * Pallet `System`'s events
66
7
  **/
67
- ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
68
-
69
- /**
70
- * An extrinsic failed.
71
- **/
72
- ExtrinsicFailed: GenericPalletEvent<
73
- 'System',
74
- 'ExtrinsicFailed',
75
- { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
76
- >;
77
-
78
- /**
79
- * `:code` was updated.
80
- **/
81
- CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
82
-
83
- /**
84
- * A new account was created.
85
- **/
86
- NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
87
-
88
- /**
89
- * An account was reaped.
90
- **/
91
- KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
92
-
93
- /**
94
- * On on-chain remark happened.
95
- **/
96
- Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
97
-
98
- /**
99
- * Generic pallet event
100
- **/
101
- [prop: string]: GenericPalletEvent;
102
- };
103
- /**
104
- * Pallet `Scheduler`'s events
105
- **/
106
- scheduler: {
107
- /**
108
- * Scheduled some task.
109
- **/
110
- Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
111
-
112
- /**
113
- * Canceled some task.
114
- **/
115
- Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
116
-
117
- /**
118
- * Dispatched some task.
119
- **/
120
- Dispatched: GenericPalletEvent<
121
- 'Scheduler',
122
- 'Dispatched',
123
- { task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
124
- >;
125
-
126
- /**
127
- * The call for the provided hash was not found so the task has been aborted.
128
- **/
129
- CallUnavailable: GenericPalletEvent<
130
- 'Scheduler',
131
- 'CallUnavailable',
132
- { task: [number, number]; id?: FixedBytes<32> | undefined }
133
- >;
134
-
135
- /**
136
- * The given task was unable to be renewed since the agenda is full at that block.
137
- **/
138
- PeriodicFailed: GenericPalletEvent<
139
- 'Scheduler',
140
- 'PeriodicFailed',
141
- { task: [number, number]; id?: FixedBytes<32> | undefined }
142
- >;
143
-
144
- /**
145
- * The given task can never be executed since it is overweight.
146
- **/
147
- PermanentlyOverweight: GenericPalletEvent<
148
- 'Scheduler',
149
- 'PermanentlyOverweight',
150
- { task: [number, number]; id?: FixedBytes<32> | undefined }
151
- >;
152
-
153
- /**
154
- * Generic pallet event
155
- **/
156
- [prop: string]: GenericPalletEvent;
157
- };
158
- /**
159
- * Pallet `Preimage`'s events
160
- **/
161
- preimage: {
162
- /**
163
- * A preimage has been noted.
164
- **/
165
- Noted: GenericPalletEvent<'Preimage', 'Noted', { hash: H256 }>;
166
-
167
- /**
168
- * A preimage has been requested.
169
- **/
170
- Requested: GenericPalletEvent<'Preimage', 'Requested', { hash: H256 }>;
171
-
172
- /**
173
- * A preimage has ben cleared.
174
- **/
175
- Cleared: GenericPalletEvent<'Preimage', 'Cleared', { hash: H256 }>;
176
-
177
- /**
178
- * Generic pallet event
179
- **/
180
- [prop: string]: GenericPalletEvent;
181
- };
182
- /**
183
- * Pallet `Indices`'s events
184
- **/
185
- indices: {
186
- /**
187
- * A account index was assigned.
188
- **/
189
- IndexAssigned: GenericPalletEvent<'Indices', 'IndexAssigned', { who: AccountId32; index: number }>;
190
-
191
- /**
192
- * A account index has been freed up (unassigned).
193
- **/
194
- IndexFreed: GenericPalletEvent<'Indices', 'IndexFreed', { index: number }>;
195
-
196
- /**
197
- * A account index has been frozen to its current account ID.
198
- **/
199
- IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
200
-
201
- /**
202
- * Generic pallet event
203
- **/
204
- [prop: string]: GenericPalletEvent;
205
- };
206
- /**
207
- * Pallet `Balances`'s events
208
- **/
209
- balances: {
210
- /**
211
- * An account was created with some free balance.
212
- **/
213
- Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
214
-
215
- /**
216
- * An account was removed whose balance was non-zero but below ExistentialDeposit,
217
- * resulting in an outright loss.
218
- **/
219
- DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
220
-
221
- /**
222
- * Transfer succeeded.
223
- **/
224
- Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
225
-
226
- /**
227
- * A balance was set by root.
228
- **/
229
- BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
230
-
231
- /**
232
- * Some balance was reserved (moved from free to reserved).
233
- **/
234
- Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
235
-
236
- /**
237
- * Some balance was unreserved (moved from reserved to free).
238
- **/
239
- Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
240
-
241
- /**
242
- * Some balance was moved from the reserve of the first account to the second account.
243
- * Final argument indicates the destination balance type.
244
- **/
245
- ReserveRepatriated: GenericPalletEvent<
246
- 'Balances',
247
- 'ReserveRepatriated',
248
- { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
249
- >;
250
-
251
- /**
252
- * Some amount was deposited (e.g. for transaction fees).
253
- **/
254
- Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
255
-
256
- /**
257
- * Some amount was withdrawn from the account (e.g. for transaction fees).
258
- **/
259
- Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
260
-
261
- /**
262
- * Some amount was removed from the account (e.g. for misbehavior).
263
- **/
264
- Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
265
-
266
- /**
267
- * Some amount was minted into an account.
268
- **/
269
- Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
270
-
271
- /**
272
- * Some amount was burned from an account.
273
- **/
274
- Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
275
-
276
- /**
277
- * Some amount was suspended from an account (it can be restored later).
278
- **/
279
- Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
280
-
281
- /**
282
- * Some amount was restored into an account.
283
- **/
284
- Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
285
-
286
- /**
287
- * An account was upgraded.
288
- **/
289
- Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
290
-
291
- /**
292
- * Total issuance was increased by `amount`, creating a credit to be balanced.
293
- **/
294
- Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
295
-
296
- /**
297
- * Total issuance was decreased by `amount`, creating a debt to be balanced.
298
- **/
299
- Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
300
-
301
- /**
302
- * Some balance was locked.
303
- **/
304
- Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
305
-
306
- /**
307
- * Some balance was unlocked.
308
- **/
309
- Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
310
-
311
- /**
312
- * Some balance was frozen.
313
- **/
314
- Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
315
-
316
- /**
317
- * Some balance was thawed.
318
- **/
319
- Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
320
-
321
- /**
322
- * Generic pallet event
323
- **/
324
- [prop: string]: GenericPalletEvent;
325
- };
326
- /**
327
- * Pallet `TransactionPayment`'s events
328
- **/
329
- transactionPayment: {
330
- /**
331
- * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
332
- * has been paid by `who`.
333
- **/
334
- TransactionFeePaid: GenericPalletEvent<
335
- 'TransactionPayment',
336
- 'TransactionFeePaid',
337
- { who: AccountId32; actualFee: bigint; tip: bigint }
338
- >;
339
-
340
- /**
341
- * Generic pallet event
342
- **/
343
- [prop: string]: GenericPalletEvent;
344
- };
345
- /**
346
- * Pallet `Staking`'s events
347
- **/
348
- staking: {
349
- /**
350
- * The era payout has been set; the first balance is the validator-payout; the second is
351
- * the remainder from the maximum amount of reward.
352
- **/
353
- EraPaid: GenericPalletEvent<'Staking', 'EraPaid', { eraIndex: number; validatorPayout: bigint; remainder: bigint }>;
354
-
355
- /**
356
- * The nominator has been rewarded by this amount to this destination.
357
- **/
358
- Rewarded: GenericPalletEvent<
359
- 'Staking',
360
- 'Rewarded',
361
- { stash: AccountId32; dest: PalletStakingRewardDestination; amount: bigint }
362
- >;
363
-
364
- /**
365
- * A staker (validator or nominator) has been slashed by the given amount.
366
- **/
367
- Slashed: GenericPalletEvent<'Staking', 'Slashed', { staker: AccountId32; amount: bigint }>;
368
-
369
- /**
370
- * A slash for the given validator, for the given percentage of their stake, at the given
371
- * era as been reported.
372
- **/
373
- SlashReported: GenericPalletEvent<
374
- 'Staking',
375
- 'SlashReported',
376
- { validator: AccountId32; fraction: Perbill; slashEra: number }
377
- >;
378
-
379
- /**
380
- * An old slashing report from a prior era was discarded because it could
381
- * not be processed.
382
- **/
383
- OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', { sessionIndex: number }>;
384
-
385
- /**
386
- * A new set of stakers was elected.
387
- **/
388
- StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
389
-
390
- /**
391
- * An account has bonded this amount. \[stash, amount\]
392
- *
393
- * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
394
- * it will not be emitted for staking rewards when they are added to stake.
395
- **/
396
- Bonded: GenericPalletEvent<'Staking', 'Bonded', { stash: AccountId32; amount: bigint }>;
397
-
398
- /**
399
- * An account has unbonded this amount.
400
- **/
401
- Unbonded: GenericPalletEvent<'Staking', 'Unbonded', { stash: AccountId32; amount: bigint }>;
402
-
403
- /**
404
- * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
405
- * from the unlocking queue.
406
- **/
407
- Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', { stash: AccountId32; amount: bigint }>;
408
-
409
- /**
410
- * A nominator has been kicked from a validator.
411
- **/
412
- Kicked: GenericPalletEvent<'Staking', 'Kicked', { nominator: AccountId32; stash: AccountId32 }>;
413
-
414
- /**
415
- * The election failed. No new era is planned.
416
- **/
417
- StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
418
-
419
- /**
420
- * An account has stopped participating as either a validator or nominator.
421
- **/
422
- Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
423
-
424
- /**
425
- * The stakers' rewards are getting paid.
426
- **/
427
- PayoutStarted: GenericPalletEvent<'Staking', 'PayoutStarted', { eraIndex: number; validatorStash: AccountId32 }>;
428
-
429
- /**
430
- * A validator has set their preferences.
431
- **/
432
- ValidatorPrefsSet: GenericPalletEvent<
433
- 'Staking',
434
- 'ValidatorPrefsSet',
435
- { stash: AccountId32; prefs: PalletStakingValidatorPrefs }
436
- >;
437
-
438
- /**
439
- * Voters size limit reached.
440
- **/
441
- SnapshotVotersSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotVotersSizeExceeded', { size: number }>;
442
-
443
- /**
444
- * Targets size limit reached.
445
- **/
446
- SnapshotTargetsSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotTargetsSizeExceeded', { size: number }>;
447
-
448
- /**
449
- * A new force era mode was set.
450
- **/
451
- ForceEra: GenericPalletEvent<'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
452
-
453
- /**
454
- * Generic pallet event
455
- **/
456
- [prop: string]: GenericPalletEvent;
457
- };
458
- /**
459
- * Pallet `Offences`'s events
460
- **/
461
- offences: {
462
- /**
463
- * There is an offence reported of the given `kind` happened at the `session_index` and
464
- * (kind-specific) time slot. This event is not deposited for duplicate slashes.
465
- * \[kind, timeslot\].
466
- **/
467
- Offence: GenericPalletEvent<'Offences', 'Offence', { kind: FixedBytes<16>; timeslot: Bytes }>;
468
-
469
- /**
470
- * Generic pallet event
471
- **/
472
- [prop: string]: GenericPalletEvent;
473
- };
474
- /**
475
- * Pallet `Session`'s events
476
- **/
477
- session: {
478
- /**
479
- * New session has happened. Note that the argument is the session index, not the
480
- * block number as the type might suggest.
481
- **/
482
- NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
483
-
484
- /**
485
- * Generic pallet event
486
- **/
487
- [prop: string]: GenericPalletEvent;
488
- };
489
- /**
490
- * Pallet `Grandpa`'s events
491
- **/
492
- grandpa: {
493
- /**
494
- * New authority set has been applied.
495
- **/
496
- NewAuthorities: GenericPalletEvent<
497
- 'Grandpa',
498
- 'NewAuthorities',
499
- { authoritySet: Array<[SpConsensusGrandpaAppPublic, bigint]> }
500
- >;
501
-
502
- /**
503
- * Current authority set has been paused.
504
- **/
505
- Paused: GenericPalletEvent<'Grandpa', 'Paused', null>;
506
-
507
- /**
508
- * Current authority set has been resumed.
509
- **/
510
- Resumed: GenericPalletEvent<'Grandpa', 'Resumed', null>;
511
-
512
- /**
513
- * Generic pallet event
514
- **/
515
- [prop: string]: GenericPalletEvent;
516
- };
517
- /**
518
- * Pallet `ImOnline`'s events
519
- **/
520
- imOnline: {
521
- /**
522
- * A new heartbeat was received from `AuthorityId`.
523
- **/
524
- HeartbeatReceived: GenericPalletEvent<
525
- 'ImOnline',
526
- 'HeartbeatReceived',
527
- { authorityId: PalletImOnlineSr25519AppSr25519Public }
528
- >;
529
-
530
- /**
531
- * At the end of the session, no offence was committed.
532
- **/
533
- AllGood: GenericPalletEvent<'ImOnline', 'AllGood', null>;
534
-
535
- /**
536
- * At the end of the session, at least one validator was found to be offline.
537
- **/
538
- SomeOffline: GenericPalletEvent<
539
- 'ImOnline',
540
- 'SomeOffline',
541
- { offline: Array<[AccountId32, PalletStakingExposure]> }
542
- >;
543
-
544
- /**
545
- * Generic pallet event
546
- **/
547
- [prop: string]: GenericPalletEvent;
548
- };
549
- /**
550
- * Pallet `Treasury`'s events
551
- **/
552
- treasury: {
553
- /**
554
- * New proposal.
555
- **/
556
- Proposed: GenericPalletEvent<'Treasury', 'Proposed', { proposalIndex: number }>;
557
-
558
- /**
559
- * We have ended a spend period and will now allocate funds.
560
- **/
561
- Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
562
-
563
- /**
564
- * Some funds have been allocated.
565
- **/
566
- Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId32 }>;
567
-
568
- /**
569
- * A proposal was rejected; funds were slashed.
570
- **/
571
- Rejected: GenericPalletEvent<'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
572
-
573
- /**
574
- * Some of our funds have been burnt.
575
- **/
576
- Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
577
-
578
- /**
579
- * Spending has finished; this is the amount that rolls over until next spend.
580
- **/
581
- Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
582
-
583
- /**
584
- * Some funds have been deposited.
585
- **/
586
- Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
587
-
588
- /**
589
- * A new spend proposal has been approved.
590
- **/
591
- SpendApproved: GenericPalletEvent<
592
- 'Treasury',
593
- 'SpendApproved',
594
- { proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
595
- >;
596
-
597
- /**
598
- * The inactive funds of the pallet have been updated.
599
- **/
600
- UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
601
-
602
- /**
603
- * A new asset spend proposal has been approved.
604
- **/
605
- AssetSpendApproved: GenericPalletEvent<
606
- 'Treasury',
607
- 'AssetSpendApproved',
608
- {
609
- index: number;
610
- assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
611
- amount: bigint;
612
- beneficiary: XcmVersionedMultiLocation;
613
- validFrom: number;
614
- expireAt: number;
615
- }
616
- >;
617
-
618
- /**
619
- * An approved spend was voided.
620
- **/
621
- AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', { index: number }>;
622
-
623
- /**
624
- * A payment happened.
625
- **/
626
- Paid: GenericPalletEvent<'Treasury', 'Paid', { index: number; paymentId: bigint }>;
627
-
628
- /**
629
- * A payment failed and can be retried.
630
- **/
631
- PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', { index: number; paymentId: bigint }>;
632
-
633
- /**
634
- * A spend was processed and removed from the storage. It might have been successfully
635
- * paid or it may have expired.
636
- **/
637
- SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', { index: number }>;
638
-
639
- /**
640
- * Generic pallet event
641
- **/
642
- [prop: string]: GenericPalletEvent;
643
- };
644
- /**
645
- * Pallet `ConvictionVoting`'s events
646
- **/
647
- convictionVoting: {
648
- /**
649
- * An account has delegated their vote to another account. \[who, target\]
650
- **/
651
- Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
652
-
653
- /**
654
- * An \[account\] has cancelled a previous delegation operation.
655
- **/
656
- Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
657
-
658
- /**
659
- * Generic pallet event
660
- **/
661
- [prop: string]: GenericPalletEvent;
662
- };
663
- /**
664
- * Pallet `Referenda`'s events
665
- **/
666
- referenda: {
667
- /**
668
- * A referendum has been submitted.
669
- **/
670
- Submitted: GenericPalletEvent<
671
- 'Referenda',
672
- 'Submitted',
673
- {
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
+ }>;
674
22
  /**
675
- * Index of the referendum.
23
+ * `:code` was updated.
676
24
  **/
677
- index: number;
678
-
25
+ CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
679
26
  /**
680
- * The track (and by extension proposal dispatch origin) of this referendum.
27
+ * A new account was created.
681
28
  **/
682
- track: number;
683
-
29
+ NewAccount: GenericPalletEvent<'System', 'NewAccount', {
30
+ account: AccountId32;
31
+ }>;
684
32
  /**
685
- * The proposal for the referendum.
33
+ * An account was reaped.
686
34
  **/
687
- proposal: FrameSupportPreimagesBounded;
688
- }
689
- >;
690
-
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
+ };
691
50
  /**
692
- * The decision deposit has been placed.
51
+ * Pallet `Scheduler`'s events
693
52
  **/
694
- DecisionDepositPlaced: GenericPalletEvent<
695
- 'Referenda',
696
- 'DecisionDepositPlaced',
697
- {
53
+ scheduler: {
54
+ /**
55
+ * Scheduled some task.
56
+ **/
57
+ Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', {
58
+ when: number;
59
+ index: number;
60
+ }>;
61
+ /**
62
+ * Canceled some task.
63
+ **/
64
+ Canceled: GenericPalletEvent<'Scheduler', 'Canceled', {
65
+ when: number;
66
+ index: number;
67
+ }>;
698
68
  /**
699
- * Index of the referendum.
69
+ * Dispatched some task.
700
70
  **/
701
- index: number;
702
-
71
+ Dispatched: GenericPalletEvent<'Scheduler', 'Dispatched', {
72
+ task: [number, number];
73
+ id?: FixedBytes<32> | undefined;
74
+ result: Result<[], DispatchError>;
75
+ }>;
703
76
  /**
704
- * The account who placed the deposit.
77
+ * The call for the provided hash was not found so the task has been aborted.
705
78
  **/
706
- who: AccountId32;
707
-
79
+ CallUnavailable: GenericPalletEvent<'Scheduler', 'CallUnavailable', {
80
+ task: [number, number];
81
+ id?: FixedBytes<32> | undefined;
82
+ }>;
708
83
  /**
709
- * The amount placed by the account.
84
+ * The given task was unable to be renewed since the agenda is full at that block.
710
85
  **/
711
- amount: bigint;
712
- }
713
- >;
714
-
86
+ PeriodicFailed: GenericPalletEvent<'Scheduler', 'PeriodicFailed', {
87
+ task: [number, number];
88
+ id?: FixedBytes<32> | undefined;
89
+ }>;
90
+ /**
91
+ * The given task can never be executed since it is overweight.
92
+ **/
93
+ PermanentlyOverweight: GenericPalletEvent<'Scheduler', 'PermanentlyOverweight', {
94
+ task: [number, number];
95
+ id?: FixedBytes<32> | undefined;
96
+ }>;
97
+ /**
98
+ * Generic pallet event
99
+ **/
100
+ [prop: string]: GenericPalletEvent;
101
+ };
715
102
  /**
716
- * The decision deposit has been refunded.
103
+ * Pallet `Preimage`'s events
717
104
  **/
718
- DecisionDepositRefunded: GenericPalletEvent<
719
- 'Referenda',
720
- 'DecisionDepositRefunded',
721
- {
105
+ preimage: {
722
106
  /**
723
- * Index of the referendum.
107
+ * A preimage has been noted.
724
108
  **/
725
- index: number;
726
-
109
+ Noted: GenericPalletEvent<'Preimage', 'Noted', {
110
+ hash: H256;
111
+ }>;
727
112
  /**
728
- * The account who placed the deposit.
113
+ * A preimage has been requested.
729
114
  **/
730
- who: AccountId32;
731
-
115
+ Requested: GenericPalletEvent<'Preimage', 'Requested', {
116
+ hash: H256;
117
+ }>;
732
118
  /**
733
- * The amount placed by the account.
119
+ * A preimage has ben cleared.
734
120
  **/
735
- amount: bigint;
736
- }
737
- >;
738
-
121
+ Cleared: GenericPalletEvent<'Preimage', 'Cleared', {
122
+ hash: H256;
123
+ }>;
124
+ /**
125
+ * Generic pallet event
126
+ **/
127
+ [prop: string]: GenericPalletEvent;
128
+ };
739
129
  /**
740
- * A deposit has been slashaed.
130
+ * Pallet `Indices`'s events
741
131
  **/
742
- DepositSlashed: GenericPalletEvent<
743
- 'Referenda',
744
- 'DepositSlashed',
745
- {
132
+ indices: {
133
+ /**
134
+ * A account index was assigned.
135
+ **/
136
+ IndexAssigned: GenericPalletEvent<'Indices', 'IndexAssigned', {
137
+ who: AccountId32;
138
+ index: number;
139
+ }>;
746
140
  /**
747
- * The account who placed the deposit.
141
+ * A account index has been freed up (unassigned).
748
142
  **/
749
- who: AccountId32;
750
-
143
+ IndexFreed: GenericPalletEvent<'Indices', 'IndexFreed', {
144
+ index: number;
145
+ }>;
751
146
  /**
752
- * The amount placed by the account.
147
+ * A account index has been frozen to its current account ID.
753
148
  **/
754
- amount: bigint;
755
- }
756
- >;
757
-
149
+ IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', {
150
+ index: number;
151
+ who: AccountId32;
152
+ }>;
153
+ /**
154
+ * Generic pallet event
155
+ **/
156
+ [prop: string]: GenericPalletEvent;
157
+ };
758
158
  /**
759
- * A referendum has moved into the deciding phase.
159
+ * Pallet `Balances`'s events
760
160
  **/
761
- DecisionStarted: GenericPalletEvent<
762
- 'Referenda',
763
- 'DecisionStarted',
764
- {
161
+ balances: {
765
162
  /**
766
- * Index of the referendum.
163
+ * An account was created with some free balance.
767
164
  **/
768
- index: number;
769
-
165
+ Endowed: GenericPalletEvent<'Balances', 'Endowed', {
166
+ account: AccountId32;
167
+ freeBalance: bigint;
168
+ }>;
770
169
  /**
771
- * The track (and by extension proposal dispatch origin) of this referendum.
170
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
171
+ * resulting in an outright loss.
772
172
  **/
773
- track: number;
774
-
173
+ DustLost: GenericPalletEvent<'Balances', 'DustLost', {
174
+ account: AccountId32;
175
+ amount: bigint;
176
+ }>;
775
177
  /**
776
- * The proposal for the referendum.
178
+ * Transfer succeeded.
777
179
  **/
778
- proposal: FrameSupportPreimagesBounded;
779
-
180
+ Transfer: GenericPalletEvent<'Balances', 'Transfer', {
181
+ from: AccountId32;
182
+ to: AccountId32;
183
+ amount: bigint;
184
+ }>;
780
185
  /**
781
- * The current tally of votes in this referendum.
186
+ * A balance was set by root.
782
187
  **/
783
- tally: PalletConvictionVotingTally;
784
- }
785
- >;
786
- ConfirmStarted: GenericPalletEvent<
787
- 'Referenda',
788
- 'ConfirmStarted',
789
- {
188
+ BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', {
189
+ who: AccountId32;
190
+ free: bigint;
191
+ }>;
790
192
  /**
791
- * Index of the referendum.
193
+ * Some balance was reserved (moved from free to reserved).
792
194
  **/
793
- index: number;
794
- }
795
- >;
796
- ConfirmAborted: GenericPalletEvent<
797
- 'Referenda',
798
- 'ConfirmAborted',
799
- {
195
+ Reserved: GenericPalletEvent<'Balances', 'Reserved', {
196
+ who: AccountId32;
197
+ amount: bigint;
198
+ }>;
800
199
  /**
801
- * Index of the referendum.
200
+ * Some balance was unreserved (moved from reserved to free).
802
201
  **/
803
- index: number;
804
- }
805
- >;
806
-
807
- /**
808
- * A referendum has ended its confirmation phase and is ready for approval.
809
- **/
810
- Confirmed: GenericPalletEvent<
811
- 'Referenda',
812
- 'Confirmed',
813
- {
202
+ Unreserved: GenericPalletEvent<'Balances', 'Unreserved', {
203
+ who: AccountId32;
204
+ amount: bigint;
205
+ }>;
814
206
  /**
815
- * Index of the referendum.
207
+ * Some balance was moved from the reserve of the first account to the second account.
208
+ * Final argument indicates the destination balance type.
816
209
  **/
817
- index: number;
818
-
210
+ ReserveRepatriated: GenericPalletEvent<'Balances', 'ReserveRepatriated', {
211
+ from: AccountId32;
212
+ to: AccountId32;
213
+ amount: bigint;
214
+ destinationStatus: FrameSupportTokensMiscBalanceStatus;
215
+ }>;
819
216
  /**
820
- * The final tally of votes in this referendum.
217
+ * Some amount was deposited (e.g. for transaction fees).
821
218
  **/
822
- tally: PalletConvictionVotingTally;
823
- }
824
- >;
825
-
826
- /**
827
- * A referendum has been approved and its proposal has been scheduled.
828
- **/
829
- Approved: GenericPalletEvent<
830
- 'Referenda',
831
- 'Approved',
832
- {
219
+ Deposit: GenericPalletEvent<'Balances', 'Deposit', {
220
+ who: AccountId32;
221
+ amount: bigint;
222
+ }>;
833
223
  /**
834
- * Index of the referendum.
224
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
835
225
  **/
836
- index: number;
837
- }
838
- >;
839
-
840
- /**
841
- * A proposal has been rejected by referendum.
842
- **/
843
- Rejected: GenericPalletEvent<
844
- 'Referenda',
845
- 'Rejected',
846
- {
226
+ Withdraw: GenericPalletEvent<'Balances', 'Withdraw', {
227
+ who: AccountId32;
228
+ amount: bigint;
229
+ }>;
847
230
  /**
848
- * Index of the referendum.
231
+ * Some amount was removed from the account (e.g. for misbehavior).
849
232
  **/
850
- index: number;
851
-
233
+ Slashed: GenericPalletEvent<'Balances', 'Slashed', {
234
+ who: AccountId32;
235
+ amount: bigint;
236
+ }>;
852
237
  /**
853
- * The final tally of votes in this referendum.
238
+ * Some amount was minted into an account.
854
239
  **/
855
- tally: PalletConvictionVotingTally;
856
- }
857
- >;
858
-
859
- /**
860
- * A referendum has been timed out without being decided.
861
- **/
862
- TimedOut: GenericPalletEvent<
863
- 'Referenda',
864
- 'TimedOut',
865
- {
240
+ Minted: GenericPalletEvent<'Balances', 'Minted', {
241
+ who: AccountId32;
242
+ amount: bigint;
243
+ }>;
866
244
  /**
867
- * Index of the referendum.
245
+ * Some amount was burned from an account.
868
246
  **/
869
- index: number;
870
-
247
+ Burned: GenericPalletEvent<'Balances', 'Burned', {
248
+ who: AccountId32;
249
+ amount: bigint;
250
+ }>;
871
251
  /**
872
- * The final tally of votes in this referendum.
252
+ * Some amount was suspended from an account (it can be restored later).
873
253
  **/
874
- tally: PalletConvictionVotingTally;
875
- }
876
- >;
877
-
878
- /**
879
- * A referendum has been cancelled.
880
- **/
881
- Cancelled: GenericPalletEvent<
882
- 'Referenda',
883
- 'Cancelled',
884
- {
254
+ Suspended: GenericPalletEvent<'Balances', 'Suspended', {
255
+ who: AccountId32;
256
+ amount: bigint;
257
+ }>;
885
258
  /**
886
- * Index of the referendum.
259
+ * Some amount was restored into an account.
887
260
  **/
888
- index: number;
889
-
261
+ Restored: GenericPalletEvent<'Balances', 'Restored', {
262
+ who: AccountId32;
263
+ amount: bigint;
264
+ }>;
890
265
  /**
891
- * The final tally of votes in this referendum.
266
+ * An account was upgraded.
892
267
  **/
893
- tally: PalletConvictionVotingTally;
894
- }
895
- >;
896
-
897
- /**
898
- * A referendum has been killed.
899
- **/
900
- Killed: GenericPalletEvent<
901
- 'Referenda',
902
- 'Killed',
903
- {
268
+ Upgraded: GenericPalletEvent<'Balances', 'Upgraded', {
269
+ who: AccountId32;
270
+ }>;
904
271
  /**
905
- * Index of the referendum.
272
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
906
273
  **/
907
- index: number;
908
-
274
+ Issued: GenericPalletEvent<'Balances', 'Issued', {
275
+ amount: bigint;
276
+ }>;
909
277
  /**
910
- * The final tally of votes in this referendum.
278
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
911
279
  **/
912
- tally: PalletConvictionVotingTally;
913
- }
914
- >;
915
-
916
- /**
917
- * The submission deposit has been refunded.
918
- **/
919
- SubmissionDepositRefunded: GenericPalletEvent<
920
- 'Referenda',
921
- 'SubmissionDepositRefunded',
922
- {
280
+ Rescinded: GenericPalletEvent<'Balances', 'Rescinded', {
281
+ amount: bigint;
282
+ }>;
923
283
  /**
924
- * Index of the referendum.
284
+ * Some balance was locked.
925
285
  **/
926
- index: number;
927
-
286
+ Locked: GenericPalletEvent<'Balances', 'Locked', {
287
+ who: AccountId32;
288
+ amount: bigint;
289
+ }>;
928
290
  /**
929
- * The account who placed the deposit.
291
+ * Some balance was unlocked.
930
292
  **/
931
- who: AccountId32;
932
-
293
+ Unlocked: GenericPalletEvent<'Balances', 'Unlocked', {
294
+ who: AccountId32;
295
+ amount: bigint;
296
+ }>;
933
297
  /**
934
- * The amount placed by the account.
298
+ * Some balance was frozen.
935
299
  **/
936
- amount: bigint;
937
- }
938
- >;
939
-
940
- /**
941
- * Metadata for a referendum has been set.
942
- **/
943
- MetadataSet: GenericPalletEvent<
944
- 'Referenda',
945
- 'MetadataSet',
946
- {
300
+ Frozen: GenericPalletEvent<'Balances', 'Frozen', {
301
+ who: AccountId32;
302
+ amount: bigint;
303
+ }>;
947
304
  /**
948
- * Index of the referendum.
305
+ * Some balance was thawed.
949
306
  **/
950
- index: number;
951
-
307
+ Thawed: GenericPalletEvent<'Balances', 'Thawed', {
308
+ who: AccountId32;
309
+ amount: bigint;
310
+ }>;
952
311
  /**
953
- * Preimage hash.
312
+ * Generic pallet event
954
313
  **/
955
- hash: H256;
956
- }
957
- >;
958
-
314
+ [prop: string]: GenericPalletEvent;
315
+ };
959
316
  /**
960
- * Metadata for a referendum has been cleared.
317
+ * Pallet `TransactionPayment`'s events
961
318
  **/
962
- MetadataCleared: GenericPalletEvent<
963
- 'Referenda',
964
- 'MetadataCleared',
965
- {
319
+ transactionPayment: {
966
320
  /**
967
- * Index of the referendum.
321
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
322
+ * has been paid by `who`.
968
323
  **/
969
- index: number;
970
-
324
+ TransactionFeePaid: GenericPalletEvent<'TransactionPayment', 'TransactionFeePaid', {
325
+ who: AccountId32;
326
+ actualFee: bigint;
327
+ tip: bigint;
328
+ }>;
971
329
  /**
972
- * Preimage hash.
330
+ * Generic pallet event
973
331
  **/
974
- hash: H256;
975
- }
976
- >;
977
-
978
- /**
979
- * Generic pallet event
980
- **/
981
- [prop: string]: GenericPalletEvent;
982
- };
983
- /**
984
- * Pallet `Whitelist`'s events
985
- **/
986
- whitelist: {
987
- CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
988
- WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
989
- WhitelistedCallDispatched: GenericPalletEvent<
990
- 'Whitelist',
991
- 'WhitelistedCallDispatched',
992
- { callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
993
- >;
994
-
995
- /**
996
- * Generic pallet event
997
- **/
998
- [prop: string]: GenericPalletEvent;
999
- };
1000
- /**
1001
- * Pallet `Claims`'s events
1002
- **/
1003
- claims: {
1004
- /**
1005
- * Someone claimed some DOTs.
1006
- **/
1007
- Claimed: GenericPalletEvent<
1008
- 'Claims',
1009
- 'Claimed',
1010
- { who: AccountId32; ethereumAddress: EthereumAddress; amount: bigint }
1011
- >;
1012
-
1013
- /**
1014
- * Generic pallet event
1015
- **/
1016
- [prop: string]: GenericPalletEvent;
1017
- };
1018
- /**
1019
- * Pallet `Vesting`'s events
1020
- **/
1021
- vesting: {
1022
- /**
1023
- * The amount vested has been updated. This could indicate a change in funds available.
1024
- * The balance given is the amount which is left unvested (and thus locked).
1025
- **/
1026
- VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
1027
-
1028
- /**
1029
- * An \[account\] has become fully vested.
1030
- **/
1031
- VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
1032
-
1033
- /**
1034
- * Generic pallet event
1035
- **/
1036
- [prop: string]: GenericPalletEvent;
1037
- };
1038
- /**
1039
- * Pallet `Utility`'s events
1040
- **/
1041
- utility: {
1042
- /**
1043
- * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1044
- * well as the error.
1045
- **/
1046
- BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
1047
-
1048
- /**
1049
- * Batch of dispatches completed fully with no error.
1050
- **/
1051
- BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
1052
-
1053
- /**
1054
- * Batch of dispatches completed but has errors.
1055
- **/
1056
- BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
1057
-
1058
- /**
1059
- * A single item within a Batch of dispatches has completed with no error.
1060
- **/
1061
- ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
1062
-
1063
- /**
1064
- * A single item within a Batch of dispatches has completed with error.
1065
- **/
1066
- ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
1067
-
1068
- /**
1069
- * A call was dispatched.
1070
- **/
1071
- DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
1072
-
1073
- /**
1074
- * Generic pallet event
1075
- **/
1076
- [prop: string]: GenericPalletEvent;
1077
- };
1078
- /**
1079
- * Pallet `Identity`'s events
1080
- **/
1081
- identity: {
1082
- /**
1083
- * A name was set or reset (which will remove all judgements).
1084
- **/
1085
- IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
1086
-
332
+ [prop: string]: GenericPalletEvent;
333
+ };
1087
334
  /**
1088
- * A name was cleared, and the given balance returned.
335
+ * Pallet `Staking`'s events
1089
336
  **/
1090
- IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
1091
-
1092
- /**
1093
- * A name was removed and the given balance slashed.
1094
- **/
1095
- IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
1096
-
1097
- /**
1098
- * A judgement was asked from a registrar.
1099
- **/
1100
- JudgementRequested: GenericPalletEvent<
1101
- 'Identity',
1102
- 'JudgementRequested',
1103
- { who: AccountId32; registrarIndex: number }
1104
- >;
1105
-
1106
- /**
1107
- * A judgement request was retracted.
1108
- **/
1109
- JudgementUnrequested: GenericPalletEvent<
1110
- 'Identity',
1111
- 'JudgementUnrequested',
1112
- { who: AccountId32; registrarIndex: number }
1113
- >;
1114
-
337
+ staking: {
338
+ /**
339
+ * The era payout has been set; the first balance is the validator-payout; the second is
340
+ * the remainder from the maximum amount of reward.
341
+ **/
342
+ EraPaid: GenericPalletEvent<'Staking', 'EraPaid', {
343
+ eraIndex: number;
344
+ validatorPayout: bigint;
345
+ remainder: bigint;
346
+ }>;
347
+ /**
348
+ * The nominator has been rewarded by this amount to this destination.
349
+ **/
350
+ Rewarded: GenericPalletEvent<'Staking', 'Rewarded', {
351
+ stash: AccountId32;
352
+ dest: PalletStakingRewardDestination;
353
+ amount: bigint;
354
+ }>;
355
+ /**
356
+ * A staker (validator or nominator) has been slashed by the given amount.
357
+ **/
358
+ Slashed: GenericPalletEvent<'Staking', 'Slashed', {
359
+ staker: AccountId32;
360
+ amount: bigint;
361
+ }>;
362
+ /**
363
+ * A slash for the given validator, for the given percentage of their stake, at the given
364
+ * era as been reported.
365
+ **/
366
+ SlashReported: GenericPalletEvent<'Staking', 'SlashReported', {
367
+ validator: AccountId32;
368
+ fraction: Perbill;
369
+ slashEra: number;
370
+ }>;
371
+ /**
372
+ * An old slashing report from a prior era was discarded because it could
373
+ * not be processed.
374
+ **/
375
+ OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', {
376
+ sessionIndex: number;
377
+ }>;
378
+ /**
379
+ * A new set of stakers was elected.
380
+ **/
381
+ StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
382
+ /**
383
+ * An account has bonded this amount. \[stash, amount\]
384
+ *
385
+ * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
386
+ * it will not be emitted for staking rewards when they are added to stake.
387
+ **/
388
+ Bonded: GenericPalletEvent<'Staking', 'Bonded', {
389
+ stash: AccountId32;
390
+ amount: bigint;
391
+ }>;
392
+ /**
393
+ * An account has unbonded this amount.
394
+ **/
395
+ Unbonded: GenericPalletEvent<'Staking', 'Unbonded', {
396
+ stash: AccountId32;
397
+ amount: bigint;
398
+ }>;
399
+ /**
400
+ * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
401
+ * from the unlocking queue.
402
+ **/
403
+ Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', {
404
+ stash: AccountId32;
405
+ amount: bigint;
406
+ }>;
407
+ /**
408
+ * A nominator has been kicked from a validator.
409
+ **/
410
+ Kicked: GenericPalletEvent<'Staking', 'Kicked', {
411
+ nominator: AccountId32;
412
+ stash: AccountId32;
413
+ }>;
414
+ /**
415
+ * The election failed. No new era is planned.
416
+ **/
417
+ StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
418
+ /**
419
+ * An account has stopped participating as either a validator or nominator.
420
+ **/
421
+ Chilled: GenericPalletEvent<'Staking', 'Chilled', {
422
+ stash: AccountId32;
423
+ }>;
424
+ /**
425
+ * The stakers' rewards are getting paid.
426
+ **/
427
+ PayoutStarted: GenericPalletEvent<'Staking', 'PayoutStarted', {
428
+ eraIndex: number;
429
+ validatorStash: AccountId32;
430
+ }>;
431
+ /**
432
+ * A validator has set their preferences.
433
+ **/
434
+ ValidatorPrefsSet: GenericPalletEvent<'Staking', 'ValidatorPrefsSet', {
435
+ stash: AccountId32;
436
+ prefs: PalletStakingValidatorPrefs;
437
+ }>;
438
+ /**
439
+ * Voters size limit reached.
440
+ **/
441
+ SnapshotVotersSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotVotersSizeExceeded', {
442
+ size: number;
443
+ }>;
444
+ /**
445
+ * Targets size limit reached.
446
+ **/
447
+ SnapshotTargetsSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotTargetsSizeExceeded', {
448
+ size: number;
449
+ }>;
450
+ /**
451
+ * A new force era mode was set.
452
+ **/
453
+ ForceEra: GenericPalletEvent<'Staking', 'ForceEra', {
454
+ mode: PalletStakingForcing;
455
+ }>;
456
+ /**
457
+ * Generic pallet event
458
+ **/
459
+ [prop: string]: GenericPalletEvent;
460
+ };
1115
461
  /**
1116
- * A judgement was given by a registrar.
462
+ * Pallet `Offences`'s events
1117
463
  **/
1118
- JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId32; registrarIndex: number }>;
1119
-
464
+ offences: {
465
+ /**
466
+ * There is an offence reported of the given `kind` happened at the `session_index` and
467
+ * (kind-specific) time slot. This event is not deposited for duplicate slashes.
468
+ * \[kind, timeslot\].
469
+ **/
470
+ Offence: GenericPalletEvent<'Offences', 'Offence', {
471
+ kind: FixedBytes<16>;
472
+ timeslot: Bytes;
473
+ }>;
474
+ /**
475
+ * Generic pallet event
476
+ **/
477
+ [prop: string]: GenericPalletEvent;
478
+ };
1120
479
  /**
1121
- * A registrar was added.
480
+ * Pallet `Session`'s events
1122
481
  **/
1123
- RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
1124
-
482
+ session: {
483
+ /**
484
+ * New session has happened. Note that the argument is the session index, not the
485
+ * block number as the type might suggest.
486
+ **/
487
+ NewSession: GenericPalletEvent<'Session', 'NewSession', {
488
+ sessionIndex: number;
489
+ }>;
490
+ /**
491
+ * Generic pallet event
492
+ **/
493
+ [prop: string]: GenericPalletEvent;
494
+ };
1125
495
  /**
1126
- * A sub-identity was added to an identity and the deposit paid.
496
+ * Pallet `Grandpa`'s events
1127
497
  **/
1128
- SubIdentityAdded: GenericPalletEvent<
1129
- 'Identity',
1130
- 'SubIdentityAdded',
1131
- { sub: AccountId32; main: AccountId32; deposit: bigint }
1132
- >;
1133
-
498
+ grandpa: {
499
+ /**
500
+ * New authority set has been applied.
501
+ **/
502
+ NewAuthorities: GenericPalletEvent<'Grandpa', 'NewAuthorities', {
503
+ authoritySet: Array<[SpConsensusGrandpaAppPublic, bigint]>;
504
+ }>;
505
+ /**
506
+ * Current authority set has been paused.
507
+ **/
508
+ Paused: GenericPalletEvent<'Grandpa', 'Paused', null>;
509
+ /**
510
+ * Current authority set has been resumed.
511
+ **/
512
+ Resumed: GenericPalletEvent<'Grandpa', 'Resumed', null>;
513
+ /**
514
+ * Generic pallet event
515
+ **/
516
+ [prop: string]: GenericPalletEvent;
517
+ };
1134
518
  /**
1135
- * A sub-identity was removed from an identity and the deposit freed.
519
+ * Pallet `ImOnline`'s events
1136
520
  **/
1137
- SubIdentityRemoved: GenericPalletEvent<
1138
- 'Identity',
1139
- 'SubIdentityRemoved',
1140
- { sub: AccountId32; main: AccountId32; deposit: bigint }
1141
- >;
1142
-
521
+ imOnline: {
522
+ /**
523
+ * A new heartbeat was received from `AuthorityId`.
524
+ **/
525
+ HeartbeatReceived: GenericPalletEvent<'ImOnline', 'HeartbeatReceived', {
526
+ authorityId: PalletImOnlineSr25519AppSr25519Public;
527
+ }>;
528
+ /**
529
+ * At the end of the session, no offence was committed.
530
+ **/
531
+ AllGood: GenericPalletEvent<'ImOnline', 'AllGood', null>;
532
+ /**
533
+ * At the end of the session, at least one validator was found to be offline.
534
+ **/
535
+ SomeOffline: GenericPalletEvent<'ImOnline', 'SomeOffline', {
536
+ offline: Array<[AccountId32, PalletStakingExposure]>;
537
+ }>;
538
+ /**
539
+ * Generic pallet event
540
+ **/
541
+ [prop: string]: GenericPalletEvent;
542
+ };
1143
543
  /**
1144
- * A sub-identity was cleared, and the given deposit repatriated from the
1145
- * main identity account to the sub-identity account.
544
+ * Pallet `Treasury`'s events
1146
545
  **/
1147
- SubIdentityRevoked: GenericPalletEvent<
1148
- 'Identity',
1149
- 'SubIdentityRevoked',
1150
- { sub: AccountId32; main: AccountId32; deposit: bigint }
1151
- >;
1152
-
546
+ treasury: {
547
+ /**
548
+ * New proposal.
549
+ **/
550
+ Proposed: GenericPalletEvent<'Treasury', 'Proposed', {
551
+ proposalIndex: number;
552
+ }>;
553
+ /**
554
+ * We have ended a spend period and will now allocate funds.
555
+ **/
556
+ Spending: GenericPalletEvent<'Treasury', 'Spending', {
557
+ budgetRemaining: bigint;
558
+ }>;
559
+ /**
560
+ * Some funds have been allocated.
561
+ **/
562
+ Awarded: GenericPalletEvent<'Treasury', 'Awarded', {
563
+ proposalIndex: number;
564
+ award: bigint;
565
+ account: AccountId32;
566
+ }>;
567
+ /**
568
+ * A proposal was rejected; funds were slashed.
569
+ **/
570
+ Rejected: GenericPalletEvent<'Treasury', 'Rejected', {
571
+ proposalIndex: number;
572
+ slashed: bigint;
573
+ }>;
574
+ /**
575
+ * Some of our funds have been burnt.
576
+ **/
577
+ Burnt: GenericPalletEvent<'Treasury', 'Burnt', {
578
+ burntFunds: bigint;
579
+ }>;
580
+ /**
581
+ * Spending has finished; this is the amount that rolls over until next spend.
582
+ **/
583
+ Rollover: GenericPalletEvent<'Treasury', 'Rollover', {
584
+ rolloverBalance: bigint;
585
+ }>;
586
+ /**
587
+ * Some funds have been deposited.
588
+ **/
589
+ Deposit: GenericPalletEvent<'Treasury', 'Deposit', {
590
+ value: bigint;
591
+ }>;
592
+ /**
593
+ * A new spend proposal has been approved.
594
+ **/
595
+ SpendApproved: GenericPalletEvent<'Treasury', 'SpendApproved', {
596
+ proposalIndex: number;
597
+ amount: bigint;
598
+ beneficiary: AccountId32;
599
+ }>;
600
+ /**
601
+ * The inactive funds of the pallet have been updated.
602
+ **/
603
+ UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', {
604
+ reactivated: bigint;
605
+ deactivated: bigint;
606
+ }>;
607
+ /**
608
+ * A new asset spend proposal has been approved.
609
+ **/
610
+ AssetSpendApproved: GenericPalletEvent<'Treasury', 'AssetSpendApproved', {
611
+ index: number;
612
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
613
+ amount: bigint;
614
+ beneficiary: XcmVersionedMultiLocation;
615
+ validFrom: number;
616
+ expireAt: number;
617
+ }>;
618
+ /**
619
+ * An approved spend was voided.
620
+ **/
621
+ AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', {
622
+ index: number;
623
+ }>;
624
+ /**
625
+ * A payment happened.
626
+ **/
627
+ Paid: GenericPalletEvent<'Treasury', 'Paid', {
628
+ index: number;
629
+ paymentId: bigint;
630
+ }>;
631
+ /**
632
+ * A payment failed and can be retried.
633
+ **/
634
+ PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', {
635
+ index: number;
636
+ paymentId: bigint;
637
+ }>;
638
+ /**
639
+ * A spend was processed and removed from the storage. It might have been successfully
640
+ * paid or it may have expired.
641
+ **/
642
+ SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', {
643
+ index: number;
644
+ }>;
645
+ /**
646
+ * Generic pallet event
647
+ **/
648
+ [prop: string]: GenericPalletEvent;
649
+ };
1153
650
  /**
1154
- * Generic pallet event
651
+ * Pallet `ConvictionVoting`'s events
1155
652
  **/
1156
- [prop: string]: GenericPalletEvent;
1157
- };
1158
- /**
1159
- * Pallet `Proxy`'s events
1160
- **/
1161
- proxy: {
653
+ convictionVoting: {
654
+ /**
655
+ * An account has delegated their vote to another account. \[who, target\]
656
+ **/
657
+ Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
658
+ /**
659
+ * An \[account\] has cancelled a previous delegation operation.
660
+ **/
661
+ Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
662
+ /**
663
+ * Generic pallet event
664
+ **/
665
+ [prop: string]: GenericPalletEvent;
666
+ };
1162
667
  /**
1163
- * A proxy was executed correctly, with the given.
668
+ * Pallet `Referenda`'s events
1164
669
  **/
1165
- ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
1166
-
670
+ referenda: {
671
+ /**
672
+ * A referendum has been submitted.
673
+ **/
674
+ Submitted: GenericPalletEvent<'Referenda', 'Submitted', {
675
+ /**
676
+ * Index of the referendum.
677
+ **/
678
+ index: number;
679
+ /**
680
+ * The track (and by extension proposal dispatch origin) of this referendum.
681
+ **/
682
+ track: number;
683
+ /**
684
+ * The proposal for the referendum.
685
+ **/
686
+ proposal: FrameSupportPreimagesBounded;
687
+ }>;
688
+ /**
689
+ * The decision deposit has been placed.
690
+ **/
691
+ DecisionDepositPlaced: GenericPalletEvent<'Referenda', 'DecisionDepositPlaced', {
692
+ /**
693
+ * Index of the referendum.
694
+ **/
695
+ index: number;
696
+ /**
697
+ * The account who placed the deposit.
698
+ **/
699
+ who: AccountId32;
700
+ /**
701
+ * The amount placed by the account.
702
+ **/
703
+ amount: bigint;
704
+ }>;
705
+ /**
706
+ * The decision deposit has been refunded.
707
+ **/
708
+ DecisionDepositRefunded: GenericPalletEvent<'Referenda', 'DecisionDepositRefunded', {
709
+ /**
710
+ * Index of the referendum.
711
+ **/
712
+ index: number;
713
+ /**
714
+ * The account who placed the deposit.
715
+ **/
716
+ who: AccountId32;
717
+ /**
718
+ * The amount placed by the account.
719
+ **/
720
+ amount: bigint;
721
+ }>;
722
+ /**
723
+ * A deposit has been slashaed.
724
+ **/
725
+ DepositSlashed: GenericPalletEvent<'Referenda', 'DepositSlashed', {
726
+ /**
727
+ * The account who placed the deposit.
728
+ **/
729
+ who: AccountId32;
730
+ /**
731
+ * The amount placed by the account.
732
+ **/
733
+ amount: bigint;
734
+ }>;
735
+ /**
736
+ * A referendum has moved into the deciding phase.
737
+ **/
738
+ DecisionStarted: GenericPalletEvent<'Referenda', 'DecisionStarted', {
739
+ /**
740
+ * Index of the referendum.
741
+ **/
742
+ index: number;
743
+ /**
744
+ * The track (and by extension proposal dispatch origin) of this referendum.
745
+ **/
746
+ track: number;
747
+ /**
748
+ * The proposal for the referendum.
749
+ **/
750
+ proposal: FrameSupportPreimagesBounded;
751
+ /**
752
+ * The current tally of votes in this referendum.
753
+ **/
754
+ tally: PalletConvictionVotingTally;
755
+ }>;
756
+ ConfirmStarted: GenericPalletEvent<'Referenda', 'ConfirmStarted', {
757
+ /**
758
+ * Index of the referendum.
759
+ **/
760
+ index: number;
761
+ }>;
762
+ ConfirmAborted: GenericPalletEvent<'Referenda', 'ConfirmAborted', {
763
+ /**
764
+ * Index of the referendum.
765
+ **/
766
+ index: number;
767
+ }>;
768
+ /**
769
+ * A referendum has ended its confirmation phase and is ready for approval.
770
+ **/
771
+ Confirmed: GenericPalletEvent<'Referenda', 'Confirmed', {
772
+ /**
773
+ * Index of the referendum.
774
+ **/
775
+ index: number;
776
+ /**
777
+ * The final tally of votes in this referendum.
778
+ **/
779
+ tally: PalletConvictionVotingTally;
780
+ }>;
781
+ /**
782
+ * A referendum has been approved and its proposal has been scheduled.
783
+ **/
784
+ Approved: GenericPalletEvent<'Referenda', 'Approved', {
785
+ /**
786
+ * Index of the referendum.
787
+ **/
788
+ index: number;
789
+ }>;
790
+ /**
791
+ * A proposal has been rejected by referendum.
792
+ **/
793
+ Rejected: GenericPalletEvent<'Referenda', 'Rejected', {
794
+ /**
795
+ * Index of the referendum.
796
+ **/
797
+ index: number;
798
+ /**
799
+ * The final tally of votes in this referendum.
800
+ **/
801
+ tally: PalletConvictionVotingTally;
802
+ }>;
803
+ /**
804
+ * A referendum has been timed out without being decided.
805
+ **/
806
+ TimedOut: GenericPalletEvent<'Referenda', 'TimedOut', {
807
+ /**
808
+ * Index of the referendum.
809
+ **/
810
+ index: number;
811
+ /**
812
+ * The final tally of votes in this referendum.
813
+ **/
814
+ tally: PalletConvictionVotingTally;
815
+ }>;
816
+ /**
817
+ * A referendum has been cancelled.
818
+ **/
819
+ Cancelled: GenericPalletEvent<'Referenda', 'Cancelled', {
820
+ /**
821
+ * Index of the referendum.
822
+ **/
823
+ index: number;
824
+ /**
825
+ * The final tally of votes in this referendum.
826
+ **/
827
+ tally: PalletConvictionVotingTally;
828
+ }>;
829
+ /**
830
+ * A referendum has been killed.
831
+ **/
832
+ Killed: GenericPalletEvent<'Referenda', 'Killed', {
833
+ /**
834
+ * Index of the referendum.
835
+ **/
836
+ index: number;
837
+ /**
838
+ * The final tally of votes in this referendum.
839
+ **/
840
+ tally: PalletConvictionVotingTally;
841
+ }>;
842
+ /**
843
+ * The submission deposit has been refunded.
844
+ **/
845
+ SubmissionDepositRefunded: GenericPalletEvent<'Referenda', 'SubmissionDepositRefunded', {
846
+ /**
847
+ * Index of the referendum.
848
+ **/
849
+ index: number;
850
+ /**
851
+ * The account who placed the deposit.
852
+ **/
853
+ who: AccountId32;
854
+ /**
855
+ * The amount placed by the account.
856
+ **/
857
+ amount: bigint;
858
+ }>;
859
+ /**
860
+ * Metadata for a referendum has been set.
861
+ **/
862
+ MetadataSet: GenericPalletEvent<'Referenda', 'MetadataSet', {
863
+ /**
864
+ * Index of the referendum.
865
+ **/
866
+ index: number;
867
+ /**
868
+ * Preimage hash.
869
+ **/
870
+ hash: H256;
871
+ }>;
872
+ /**
873
+ * Metadata for a referendum has been cleared.
874
+ **/
875
+ MetadataCleared: GenericPalletEvent<'Referenda', 'MetadataCleared', {
876
+ /**
877
+ * Index of the referendum.
878
+ **/
879
+ index: number;
880
+ /**
881
+ * Preimage hash.
882
+ **/
883
+ hash: H256;
884
+ }>;
885
+ /**
886
+ * Generic pallet event
887
+ **/
888
+ [prop: string]: GenericPalletEvent;
889
+ };
890
+ /**
891
+ * Pallet `Whitelist`'s events
892
+ **/
893
+ whitelist: {
894
+ CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', {
895
+ callHash: H256;
896
+ }>;
897
+ WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', {
898
+ callHash: H256;
899
+ }>;
900
+ WhitelistedCallDispatched: GenericPalletEvent<'Whitelist', 'WhitelistedCallDispatched', {
901
+ callHash: H256;
902
+ result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
903
+ }>;
904
+ /**
905
+ * Generic pallet event
906
+ **/
907
+ [prop: string]: GenericPalletEvent;
908
+ };
1167
909
  /**
1168
- * A pure account has been created by new proxy with given
1169
- * disambiguation index and proxy type.
910
+ * Pallet `Claims`'s events
1170
911
  **/
1171
- PureCreated: GenericPalletEvent<
1172
- 'Proxy',
1173
- 'PureCreated',
1174
- { pure: AccountId32; who: AccountId32; proxyType: PolkadotRuntimeProxyType; disambiguationIndex: number }
1175
- >;
1176
-
912
+ claims: {
913
+ /**
914
+ * Someone claimed some DOTs.
915
+ **/
916
+ Claimed: GenericPalletEvent<'Claims', 'Claimed', {
917
+ who: AccountId32;
918
+ ethereumAddress: EthereumAddress;
919
+ amount: bigint;
920
+ }>;
921
+ /**
922
+ * Generic pallet event
923
+ **/
924
+ [prop: string]: GenericPalletEvent;
925
+ };
1177
926
  /**
1178
- * An announcement was placed to make a call in the future.
927
+ * Pallet `Vesting`'s events
1179
928
  **/
1180
- Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
1181
-
929
+ vesting: {
930
+ /**
931
+ * The amount vested has been updated. This could indicate a change in funds available.
932
+ * The balance given is the amount which is left unvested (and thus locked).
933
+ **/
934
+ VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', {
935
+ account: AccountId32;
936
+ unvested: bigint;
937
+ }>;
938
+ /**
939
+ * An \[account\] has become fully vested.
940
+ **/
941
+ VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', {
942
+ account: AccountId32;
943
+ }>;
944
+ /**
945
+ * Generic pallet event
946
+ **/
947
+ [prop: string]: GenericPalletEvent;
948
+ };
1182
949
  /**
1183
- * A proxy was added.
950
+ * Pallet `Utility`'s events
1184
951
  **/
1185
- ProxyAdded: GenericPalletEvent<
1186
- 'Proxy',
1187
- 'ProxyAdded',
1188
- { delegator: AccountId32; delegatee: AccountId32; proxyType: PolkadotRuntimeProxyType; delay: number }
1189
- >;
1190
-
952
+ utility: {
953
+ /**
954
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
955
+ * well as the error.
956
+ **/
957
+ BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', {
958
+ index: number;
959
+ error: DispatchError;
960
+ }>;
961
+ /**
962
+ * Batch of dispatches completed fully with no error.
963
+ **/
964
+ BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
965
+ /**
966
+ * Batch of dispatches completed but has errors.
967
+ **/
968
+ BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
969
+ /**
970
+ * A single item within a Batch of dispatches has completed with no error.
971
+ **/
972
+ ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
973
+ /**
974
+ * A single item within a Batch of dispatches has completed with error.
975
+ **/
976
+ ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', {
977
+ error: DispatchError;
978
+ }>;
979
+ /**
980
+ * A call was dispatched.
981
+ **/
982
+ DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', {
983
+ result: Result<[], DispatchError>;
984
+ }>;
985
+ /**
986
+ * Generic pallet event
987
+ **/
988
+ [prop: string]: GenericPalletEvent;
989
+ };
1191
990
  /**
1192
- * A proxy was removed.
991
+ * Pallet `Identity`'s events
1193
992
  **/
1194
- ProxyRemoved: GenericPalletEvent<
1195
- 'Proxy',
1196
- 'ProxyRemoved',
1197
- { delegator: AccountId32; delegatee: AccountId32; proxyType: PolkadotRuntimeProxyType; delay: number }
1198
- >;
1199
-
993
+ identity: {
994
+ /**
995
+ * A name was set or reset (which will remove all judgements).
996
+ **/
997
+ IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', {
998
+ who: AccountId32;
999
+ }>;
1000
+ /**
1001
+ * A name was cleared, and the given balance returned.
1002
+ **/
1003
+ IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', {
1004
+ who: AccountId32;
1005
+ deposit: bigint;
1006
+ }>;
1007
+ /**
1008
+ * A name was removed and the given balance slashed.
1009
+ **/
1010
+ IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', {
1011
+ who: AccountId32;
1012
+ deposit: bigint;
1013
+ }>;
1014
+ /**
1015
+ * A judgement was asked from a registrar.
1016
+ **/
1017
+ JudgementRequested: GenericPalletEvent<'Identity', 'JudgementRequested', {
1018
+ who: AccountId32;
1019
+ registrarIndex: number;
1020
+ }>;
1021
+ /**
1022
+ * A judgement request was retracted.
1023
+ **/
1024
+ JudgementUnrequested: GenericPalletEvent<'Identity', 'JudgementUnrequested', {
1025
+ who: AccountId32;
1026
+ registrarIndex: number;
1027
+ }>;
1028
+ /**
1029
+ * A judgement was given by a registrar.
1030
+ **/
1031
+ JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', {
1032
+ target: AccountId32;
1033
+ registrarIndex: number;
1034
+ }>;
1035
+ /**
1036
+ * A registrar was added.
1037
+ **/
1038
+ RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', {
1039
+ registrarIndex: number;
1040
+ }>;
1041
+ /**
1042
+ * A sub-identity was added to an identity and the deposit paid.
1043
+ **/
1044
+ SubIdentityAdded: GenericPalletEvent<'Identity', 'SubIdentityAdded', {
1045
+ sub: AccountId32;
1046
+ main: AccountId32;
1047
+ deposit: bigint;
1048
+ }>;
1049
+ /**
1050
+ * A sub-identity was removed from an identity and the deposit freed.
1051
+ **/
1052
+ SubIdentityRemoved: GenericPalletEvent<'Identity', 'SubIdentityRemoved', {
1053
+ sub: AccountId32;
1054
+ main: AccountId32;
1055
+ deposit: bigint;
1056
+ }>;
1057
+ /**
1058
+ * A sub-identity was cleared, and the given deposit repatriated from the
1059
+ * main identity account to the sub-identity account.
1060
+ **/
1061
+ SubIdentityRevoked: GenericPalletEvent<'Identity', 'SubIdentityRevoked', {
1062
+ sub: AccountId32;
1063
+ main: AccountId32;
1064
+ deposit: bigint;
1065
+ }>;
1066
+ /**
1067
+ * Generic pallet event
1068
+ **/
1069
+ [prop: string]: GenericPalletEvent;
1070
+ };
1200
1071
  /**
1201
- * Generic pallet event
1072
+ * Pallet `Proxy`'s events
1202
1073
  **/
1203
- [prop: string]: GenericPalletEvent;
1204
- };
1205
- /**
1206
- * Pallet `Multisig`'s events
1207
- **/
1208
- multisig: {
1074
+ proxy: {
1075
+ /**
1076
+ * A proxy was executed correctly, with the given.
1077
+ **/
1078
+ ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', {
1079
+ result: Result<[], DispatchError>;
1080
+ }>;
1081
+ /**
1082
+ * A pure account has been created by new proxy with given
1083
+ * disambiguation index and proxy type.
1084
+ **/
1085
+ PureCreated: GenericPalletEvent<'Proxy', 'PureCreated', {
1086
+ pure: AccountId32;
1087
+ who: AccountId32;
1088
+ proxyType: PolkadotRuntimeProxyType;
1089
+ disambiguationIndex: number;
1090
+ }>;
1091
+ /**
1092
+ * An announcement was placed to make a call in the future.
1093
+ **/
1094
+ Announced: GenericPalletEvent<'Proxy', 'Announced', {
1095
+ real: AccountId32;
1096
+ proxy: AccountId32;
1097
+ callHash: H256;
1098
+ }>;
1099
+ /**
1100
+ * A proxy was added.
1101
+ **/
1102
+ ProxyAdded: GenericPalletEvent<'Proxy', 'ProxyAdded', {
1103
+ delegator: AccountId32;
1104
+ delegatee: AccountId32;
1105
+ proxyType: PolkadotRuntimeProxyType;
1106
+ delay: number;
1107
+ }>;
1108
+ /**
1109
+ * A proxy was removed.
1110
+ **/
1111
+ ProxyRemoved: GenericPalletEvent<'Proxy', 'ProxyRemoved', {
1112
+ delegator: AccountId32;
1113
+ delegatee: AccountId32;
1114
+ proxyType: PolkadotRuntimeProxyType;
1115
+ delay: number;
1116
+ }>;
1117
+ /**
1118
+ * Generic pallet event
1119
+ **/
1120
+ [prop: string]: GenericPalletEvent;
1121
+ };
1209
1122
  /**
1210
- * A new multisig operation has begun.
1123
+ * Pallet `Multisig`'s events
1211
1124
  **/
1212
- NewMultisig: GenericPalletEvent<
1213
- 'Multisig',
1214
- 'NewMultisig',
1215
- { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
1216
- >;
1217
-
1125
+ multisig: {
1126
+ /**
1127
+ * A new multisig operation has begun.
1128
+ **/
1129
+ NewMultisig: GenericPalletEvent<'Multisig', 'NewMultisig', {
1130
+ approving: AccountId32;
1131
+ multisig: AccountId32;
1132
+ callHash: FixedBytes<32>;
1133
+ }>;
1134
+ /**
1135
+ * A multisig operation has been approved by someone.
1136
+ **/
1137
+ MultisigApproval: GenericPalletEvent<'Multisig', 'MultisigApproval', {
1138
+ approving: AccountId32;
1139
+ timepoint: PalletMultisigTimepoint;
1140
+ multisig: AccountId32;
1141
+ callHash: FixedBytes<32>;
1142
+ }>;
1143
+ /**
1144
+ * A multisig operation has been executed.
1145
+ **/
1146
+ MultisigExecuted: GenericPalletEvent<'Multisig', 'MultisigExecuted', {
1147
+ approving: AccountId32;
1148
+ timepoint: PalletMultisigTimepoint;
1149
+ multisig: AccountId32;
1150
+ callHash: FixedBytes<32>;
1151
+ result: Result<[], DispatchError>;
1152
+ }>;
1153
+ /**
1154
+ * A multisig operation has been cancelled.
1155
+ **/
1156
+ MultisigCancelled: GenericPalletEvent<'Multisig', 'MultisigCancelled', {
1157
+ cancelling: AccountId32;
1158
+ timepoint: PalletMultisigTimepoint;
1159
+ multisig: AccountId32;
1160
+ callHash: FixedBytes<32>;
1161
+ }>;
1162
+ /**
1163
+ * Generic pallet event
1164
+ **/
1165
+ [prop: string]: GenericPalletEvent;
1166
+ };
1218
1167
  /**
1219
- * A multisig operation has been approved by someone.
1168
+ * Pallet `Bounties`'s events
1220
1169
  **/
1221
- MultisigApproval: GenericPalletEvent<
1222
- 'Multisig',
1223
- 'MultisigApproval',
1224
- { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1225
- >;
1226
-
1170
+ bounties: {
1171
+ /**
1172
+ * New bounty proposal.
1173
+ **/
1174
+ BountyProposed: GenericPalletEvent<'Bounties', 'BountyProposed', {
1175
+ index: number;
1176
+ }>;
1177
+ /**
1178
+ * A bounty proposal was rejected; funds were slashed.
1179
+ **/
1180
+ BountyRejected: GenericPalletEvent<'Bounties', 'BountyRejected', {
1181
+ index: number;
1182
+ bond: bigint;
1183
+ }>;
1184
+ /**
1185
+ * A bounty proposal is funded and became active.
1186
+ **/
1187
+ BountyBecameActive: GenericPalletEvent<'Bounties', 'BountyBecameActive', {
1188
+ index: number;
1189
+ }>;
1190
+ /**
1191
+ * A bounty is awarded to a beneficiary.
1192
+ **/
1193
+ BountyAwarded: GenericPalletEvent<'Bounties', 'BountyAwarded', {
1194
+ index: number;
1195
+ beneficiary: AccountId32;
1196
+ }>;
1197
+ /**
1198
+ * A bounty is claimed by beneficiary.
1199
+ **/
1200
+ BountyClaimed: GenericPalletEvent<'Bounties', 'BountyClaimed', {
1201
+ index: number;
1202
+ payout: bigint;
1203
+ beneficiary: AccountId32;
1204
+ }>;
1205
+ /**
1206
+ * A bounty is cancelled.
1207
+ **/
1208
+ BountyCanceled: GenericPalletEvent<'Bounties', 'BountyCanceled', {
1209
+ index: number;
1210
+ }>;
1211
+ /**
1212
+ * A bounty expiry is extended.
1213
+ **/
1214
+ BountyExtended: GenericPalletEvent<'Bounties', 'BountyExtended', {
1215
+ index: number;
1216
+ }>;
1217
+ /**
1218
+ * A bounty is approved.
1219
+ **/
1220
+ BountyApproved: GenericPalletEvent<'Bounties', 'BountyApproved', {
1221
+ index: number;
1222
+ }>;
1223
+ /**
1224
+ * A bounty curator is proposed.
1225
+ **/
1226
+ CuratorProposed: GenericPalletEvent<'Bounties', 'CuratorProposed', {
1227
+ bountyId: number;
1228
+ curator: AccountId32;
1229
+ }>;
1230
+ /**
1231
+ * A bounty curator is unassigned.
1232
+ **/
1233
+ CuratorUnassigned: GenericPalletEvent<'Bounties', 'CuratorUnassigned', {
1234
+ bountyId: number;
1235
+ }>;
1236
+ /**
1237
+ * A bounty curator is accepted.
1238
+ **/
1239
+ CuratorAccepted: GenericPalletEvent<'Bounties', 'CuratorAccepted', {
1240
+ bountyId: number;
1241
+ curator: AccountId32;
1242
+ }>;
1243
+ /**
1244
+ * Generic pallet event
1245
+ **/
1246
+ [prop: string]: GenericPalletEvent;
1247
+ };
1227
1248
  /**
1228
- * A multisig operation has been executed.
1249
+ * Pallet `ChildBounties`'s events
1229
1250
  **/
1230
- MultisigExecuted: GenericPalletEvent<
1231
- 'Multisig',
1232
- 'MultisigExecuted',
1233
- {
1234
- approving: AccountId32;
1235
- timepoint: PalletMultisigTimepoint;
1236
- multisig: AccountId32;
1237
- callHash: FixedBytes<32>;
1238
- result: Result<[], DispatchError>;
1239
- }
1240
- >;
1241
-
1251
+ childBounties: {
1252
+ /**
1253
+ * A child-bounty is added.
1254
+ **/
1255
+ Added: GenericPalletEvent<'ChildBounties', 'Added', {
1256
+ index: number;
1257
+ childIndex: number;
1258
+ }>;
1259
+ /**
1260
+ * A child-bounty is awarded to a beneficiary.
1261
+ **/
1262
+ Awarded: GenericPalletEvent<'ChildBounties', 'Awarded', {
1263
+ index: number;
1264
+ childIndex: number;
1265
+ beneficiary: AccountId32;
1266
+ }>;
1267
+ /**
1268
+ * A child-bounty is claimed by beneficiary.
1269
+ **/
1270
+ Claimed: GenericPalletEvent<'ChildBounties', 'Claimed', {
1271
+ index: number;
1272
+ childIndex: number;
1273
+ payout: bigint;
1274
+ beneficiary: AccountId32;
1275
+ }>;
1276
+ /**
1277
+ * A child-bounty is cancelled.
1278
+ **/
1279
+ Canceled: GenericPalletEvent<'ChildBounties', 'Canceled', {
1280
+ index: number;
1281
+ childIndex: number;
1282
+ }>;
1283
+ /**
1284
+ * Generic pallet event
1285
+ **/
1286
+ [prop: string]: GenericPalletEvent;
1287
+ };
1242
1288
  /**
1243
- * A multisig operation has been cancelled.
1289
+ * Pallet `ElectionProviderMultiPhase`'s events
1244
1290
  **/
1245
- MultisigCancelled: GenericPalletEvent<
1246
- 'Multisig',
1247
- 'MultisigCancelled',
1248
- { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1249
- >;
1250
-
1291
+ electionProviderMultiPhase: {
1292
+ /**
1293
+ * A solution was stored with the given compute.
1294
+ *
1295
+ * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
1296
+ * the stored solution was submited in the signed phase by a miner with the `AccountId`.
1297
+ * Otherwise, the solution was stored either during the unsigned phase or by
1298
+ * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
1299
+ * room for this one.
1300
+ **/
1301
+ SolutionStored: GenericPalletEvent<'ElectionProviderMultiPhase', 'SolutionStored', {
1302
+ compute: PalletElectionProviderMultiPhaseElectionCompute;
1303
+ origin?: AccountId32 | undefined;
1304
+ prevEjected: boolean;
1305
+ }>;
1306
+ /**
1307
+ * The election has been finalized, with the given computation and score.
1308
+ **/
1309
+ ElectionFinalized: GenericPalletEvent<'ElectionProviderMultiPhase', 'ElectionFinalized', {
1310
+ compute: PalletElectionProviderMultiPhaseElectionCompute;
1311
+ score: SpNposElectionsElectionScore;
1312
+ }>;
1313
+ /**
1314
+ * An election failed.
1315
+ *
1316
+ * Not much can be said about which computes failed in the process.
1317
+ **/
1318
+ ElectionFailed: GenericPalletEvent<'ElectionProviderMultiPhase', 'ElectionFailed', null>;
1319
+ /**
1320
+ * An account has been rewarded for their signed submission being finalized.
1321
+ **/
1322
+ Rewarded: GenericPalletEvent<'ElectionProviderMultiPhase', 'Rewarded', {
1323
+ account: AccountId32;
1324
+ value: bigint;
1325
+ }>;
1326
+ /**
1327
+ * An account has been slashed for submitting an invalid signed submission.
1328
+ **/
1329
+ Slashed: GenericPalletEvent<'ElectionProviderMultiPhase', 'Slashed', {
1330
+ account: AccountId32;
1331
+ value: bigint;
1332
+ }>;
1333
+ /**
1334
+ * There was a phase transition in a given round.
1335
+ **/
1336
+ PhaseTransitioned: GenericPalletEvent<'ElectionProviderMultiPhase', 'PhaseTransitioned', {
1337
+ from: PalletElectionProviderMultiPhasePhase;
1338
+ to: PalletElectionProviderMultiPhasePhase;
1339
+ round: number;
1340
+ }>;
1341
+ /**
1342
+ * Generic pallet event
1343
+ **/
1344
+ [prop: string]: GenericPalletEvent;
1345
+ };
1251
1346
  /**
1252
- * Generic pallet event
1347
+ * Pallet `VoterList`'s events
1253
1348
  **/
1254
- [prop: string]: GenericPalletEvent;
1255
- };
1256
- /**
1257
- * Pallet `Bounties`'s events
1258
- **/
1259
- bounties: {
1349
+ voterList: {
1350
+ /**
1351
+ * Moved an account from one bag to another.
1352
+ **/
1353
+ Rebagged: GenericPalletEvent<'VoterList', 'Rebagged', {
1354
+ who: AccountId32;
1355
+ from: bigint;
1356
+ to: bigint;
1357
+ }>;
1358
+ /**
1359
+ * Updated the score of some account to the given amount.
1360
+ **/
1361
+ ScoreUpdated: GenericPalletEvent<'VoterList', 'ScoreUpdated', {
1362
+ who: AccountId32;
1363
+ newScore: bigint;
1364
+ }>;
1365
+ /**
1366
+ * Generic pallet event
1367
+ **/
1368
+ [prop: string]: GenericPalletEvent;
1369
+ };
1260
1370
  /**
1261
- * New bounty proposal.
1371
+ * Pallet `NominationPools`'s events
1262
1372
  **/
1263
- BountyProposed: GenericPalletEvent<'Bounties', 'BountyProposed', { index: number }>;
1264
-
1265
- /**
1266
- * A bounty proposal was rejected; funds were slashed.
1267
- **/
1268
- BountyRejected: GenericPalletEvent<'Bounties', 'BountyRejected', { index: number; bond: bigint }>;
1269
-
1270
- /**
1271
- * A bounty proposal is funded and became active.
1272
- **/
1273
- BountyBecameActive: GenericPalletEvent<'Bounties', 'BountyBecameActive', { index: number }>;
1274
-
1275
- /**
1276
- * A bounty is awarded to a beneficiary.
1277
- **/
1278
- BountyAwarded: GenericPalletEvent<'Bounties', 'BountyAwarded', { index: number; beneficiary: AccountId32 }>;
1279
-
1280
- /**
1281
- * A bounty is claimed by beneficiary.
1282
- **/
1283
- BountyClaimed: GenericPalletEvent<
1284
- 'Bounties',
1285
- 'BountyClaimed',
1286
- { index: number; payout: bigint; beneficiary: AccountId32 }
1287
- >;
1288
-
1289
- /**
1290
- * A bounty is cancelled.
1291
- **/
1292
- BountyCanceled: GenericPalletEvent<'Bounties', 'BountyCanceled', { index: number }>;
1293
-
1294
- /**
1295
- * A bounty expiry is extended.
1296
- **/
1297
- BountyExtended: GenericPalletEvent<'Bounties', 'BountyExtended', { index: number }>;
1298
-
1299
- /**
1300
- * A bounty is approved.
1301
- **/
1302
- BountyApproved: GenericPalletEvent<'Bounties', 'BountyApproved', { index: number }>;
1303
-
1304
- /**
1305
- * A bounty curator is proposed.
1306
- **/
1307
- CuratorProposed: GenericPalletEvent<'Bounties', 'CuratorProposed', { bountyId: number; curator: AccountId32 }>;
1308
-
1309
- /**
1310
- * A bounty curator is unassigned.
1311
- **/
1312
- CuratorUnassigned: GenericPalletEvent<'Bounties', 'CuratorUnassigned', { bountyId: number }>;
1313
-
1314
- /**
1315
- * A bounty curator is accepted.
1316
- **/
1317
- CuratorAccepted: GenericPalletEvent<'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
1318
-
1319
- /**
1320
- * Generic pallet event
1321
- **/
1322
- [prop: string]: GenericPalletEvent;
1323
- };
1324
- /**
1325
- * Pallet `ChildBounties`'s events
1326
- **/
1327
- childBounties: {
1328
- /**
1329
- * A child-bounty is added.
1330
- **/
1331
- Added: GenericPalletEvent<'ChildBounties', 'Added', { index: number; childIndex: number }>;
1332
-
1333
- /**
1334
- * A child-bounty is awarded to a beneficiary.
1335
- **/
1336
- Awarded: GenericPalletEvent<
1337
- 'ChildBounties',
1338
- 'Awarded',
1339
- { index: number; childIndex: number; beneficiary: AccountId32 }
1340
- >;
1341
-
1342
- /**
1343
- * A child-bounty is claimed by beneficiary.
1344
- **/
1345
- Claimed: GenericPalletEvent<
1346
- 'ChildBounties',
1347
- 'Claimed',
1348
- { index: number; childIndex: number; payout: bigint; beneficiary: AccountId32 }
1349
- >;
1350
-
1351
- /**
1352
- * A child-bounty is cancelled.
1353
- **/
1354
- Canceled: GenericPalletEvent<'ChildBounties', 'Canceled', { index: number; childIndex: number }>;
1355
-
1356
- /**
1357
- * Generic pallet event
1358
- **/
1359
- [prop: string]: GenericPalletEvent;
1360
- };
1361
- /**
1362
- * Pallet `ElectionProviderMultiPhase`'s events
1363
- **/
1364
- electionProviderMultiPhase: {
1365
- /**
1366
- * A solution was stored with the given compute.
1367
- *
1368
- * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
1369
- * the stored solution was submited in the signed phase by a miner with the `AccountId`.
1370
- * Otherwise, the solution was stored either during the unsigned phase or by
1371
- * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
1372
- * room for this one.
1373
- **/
1374
- SolutionStored: GenericPalletEvent<
1375
- 'ElectionProviderMultiPhase',
1376
- 'SolutionStored',
1377
- {
1378
- compute: PalletElectionProviderMultiPhaseElectionCompute;
1379
- origin?: AccountId32 | undefined;
1380
- prevEjected: boolean;
1381
- }
1382
- >;
1383
-
1384
- /**
1385
- * The election has been finalized, with the given computation and score.
1386
- **/
1387
- ElectionFinalized: GenericPalletEvent<
1388
- 'ElectionProviderMultiPhase',
1389
- 'ElectionFinalized',
1390
- { compute: PalletElectionProviderMultiPhaseElectionCompute; score: SpNposElectionsElectionScore }
1391
- >;
1392
-
1393
- /**
1394
- * An election failed.
1395
- *
1396
- * Not much can be said about which computes failed in the process.
1397
- **/
1398
- ElectionFailed: GenericPalletEvent<'ElectionProviderMultiPhase', 'ElectionFailed', null>;
1399
-
1400
- /**
1401
- * An account has been rewarded for their signed submission being finalized.
1402
- **/
1403
- Rewarded: GenericPalletEvent<'ElectionProviderMultiPhase', 'Rewarded', { account: AccountId32; value: bigint }>;
1404
-
1405
- /**
1406
- * An account has been slashed for submitting an invalid signed submission.
1407
- **/
1408
- Slashed: GenericPalletEvent<'ElectionProviderMultiPhase', 'Slashed', { account: AccountId32; value: bigint }>;
1409
-
1410
- /**
1411
- * There was a phase transition in a given round.
1412
- **/
1413
- PhaseTransitioned: GenericPalletEvent<
1414
- 'ElectionProviderMultiPhase',
1415
- 'PhaseTransitioned',
1416
- { from: PalletElectionProviderMultiPhasePhase; to: PalletElectionProviderMultiPhasePhase; round: number }
1417
- >;
1418
-
1419
- /**
1420
- * Generic pallet event
1421
- **/
1422
- [prop: string]: GenericPalletEvent;
1423
- };
1424
- /**
1425
- * Pallet `VoterList`'s events
1426
- **/
1427
- voterList: {
1428
- /**
1429
- * Moved an account from one bag to another.
1430
- **/
1431
- Rebagged: GenericPalletEvent<'VoterList', 'Rebagged', { who: AccountId32; from: bigint; to: bigint }>;
1432
-
1433
- /**
1434
- * Updated the score of some account to the given amount.
1435
- **/
1436
- ScoreUpdated: GenericPalletEvent<'VoterList', 'ScoreUpdated', { who: AccountId32; newScore: bigint }>;
1437
-
1438
- /**
1439
- * Generic pallet event
1440
- **/
1441
- [prop: string]: GenericPalletEvent;
1442
- };
1443
- /**
1444
- * Pallet `NominationPools`'s events
1445
- **/
1446
- nominationPools: {
1447
- /**
1448
- * A pool has been created.
1449
- **/
1450
- Created: GenericPalletEvent<'NominationPools', 'Created', { depositor: AccountId32; poolId: number }>;
1451
-
1452
- /**
1453
- * A member has became bonded in a pool.
1454
- **/
1455
- Bonded: GenericPalletEvent<
1456
- 'NominationPools',
1457
- 'Bonded',
1458
- { member: AccountId32; poolId: number; bonded: bigint; joined: boolean }
1459
- >;
1460
-
1461
- /**
1462
- * A payout has been made to a member.
1463
- **/
1464
- PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', { member: AccountId32; poolId: number; payout: bigint }>;
1465
-
1466
- /**
1467
- * A member has unbonded from their pool.
1468
- *
1469
- * - `balance` is the corresponding balance of the number of points that has been
1470
- * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
1471
- * pool.
1472
- * - `points` is the number of points that are issued as a result of `balance` being
1473
- * dissolved into the corresponding unbonding pool.
1474
- * - `era` is the era in which the balance will be unbonded.
1475
- * In the absence of slashing, these values will match. In the presence of slashing, the
1476
- * number of points that are issued in the unbonding pool will be less than the amount
1477
- * requested to be unbonded.
1478
- **/
1479
- Unbonded: GenericPalletEvent<
1480
- 'NominationPools',
1481
- 'Unbonded',
1482
- { member: AccountId32; poolId: number; balance: bigint; points: bigint; era: number }
1483
- >;
1484
-
1485
- /**
1486
- * A member has withdrawn from their pool.
1487
- *
1488
- * The given number of `points` have been dissolved in return of `balance`.
1489
- *
1490
- * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
1491
- * will be 1.
1492
- **/
1493
- Withdrawn: GenericPalletEvent<
1494
- 'NominationPools',
1495
- 'Withdrawn',
1496
- { member: AccountId32; poolId: number; balance: bigint; points: bigint }
1497
- >;
1498
-
1499
- /**
1500
- * A pool has been destroyed.
1501
- **/
1502
- Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', { poolId: number }>;
1503
-
1504
- /**
1505
- * The state of a pool has changed
1506
- **/
1507
- StateChanged: GenericPalletEvent<
1508
- 'NominationPools',
1509
- 'StateChanged',
1510
- { poolId: number; newState: PalletNominationPoolsPoolState }
1511
- >;
1512
-
1513
- /**
1514
- * A member has been removed from a pool.
1515
- *
1516
- * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
1517
- **/
1518
- MemberRemoved: GenericPalletEvent<'NominationPools', 'MemberRemoved', { poolId: number; member: AccountId32 }>;
1519
-
1520
- /**
1521
- * The roles of a pool have been updated to the given new roles. Note that the depositor
1522
- * can never change.
1523
- **/
1524
- RolesUpdated: GenericPalletEvent<
1525
- 'NominationPools',
1526
- 'RolesUpdated',
1527
- { root?: AccountId32 | undefined; bouncer?: AccountId32 | undefined; nominator?: AccountId32 | undefined }
1528
- >;
1529
-
1530
- /**
1531
- * The active balance of pool `pool_id` has been slashed to `balance`.
1532
- **/
1533
- PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', { poolId: number; balance: bigint }>;
1534
-
1535
- /**
1536
- * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
1537
- **/
1538
- UnbondingPoolSlashed: GenericPalletEvent<
1539
- 'NominationPools',
1540
- 'UnbondingPoolSlashed',
1541
- { poolId: number; era: number; balance: bigint }
1542
- >;
1543
-
1544
- /**
1545
- * A pool's commission setting has been changed.
1546
- **/
1547
- PoolCommissionUpdated: GenericPalletEvent<
1548
- 'NominationPools',
1549
- 'PoolCommissionUpdated',
1550
- { poolId: number; current?: [Perbill, AccountId32] | undefined }
1551
- >;
1552
-
1553
- /**
1554
- * A pool's maximum commission setting has been changed.
1555
- **/
1556
- PoolMaxCommissionUpdated: GenericPalletEvent<
1557
- 'NominationPools',
1558
- 'PoolMaxCommissionUpdated',
1559
- { poolId: number; maxCommission: Perbill }
1560
- >;
1561
-
1562
- /**
1563
- * A pool's commission `change_rate` has been changed.
1564
- **/
1565
- PoolCommissionChangeRateUpdated: GenericPalletEvent<
1566
- 'NominationPools',
1567
- 'PoolCommissionChangeRateUpdated',
1568
- { poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate }
1569
- >;
1570
-
1571
- /**
1572
- * Pool commission has been claimed.
1573
- **/
1574
- PoolCommissionClaimed: GenericPalletEvent<
1575
- 'NominationPools',
1576
- 'PoolCommissionClaimed',
1577
- { poolId: number; commission: bigint }
1578
- >;
1579
-
1580
- /**
1581
- * Topped up deficit in frozen ED of the reward pool.
1582
- **/
1583
- MinBalanceDeficitAdjusted: GenericPalletEvent<
1584
- 'NominationPools',
1585
- 'MinBalanceDeficitAdjusted',
1586
- { poolId: number; amount: bigint }
1587
- >;
1588
-
1589
- /**
1590
- * Claimed excess frozen ED of af the reward pool.
1591
- **/
1592
- MinBalanceExcessAdjusted: GenericPalletEvent<
1593
- 'NominationPools',
1594
- 'MinBalanceExcessAdjusted',
1595
- { poolId: number; amount: bigint }
1596
- >;
1597
-
1598
- /**
1599
- * Generic pallet event
1600
- **/
1601
- [prop: string]: GenericPalletEvent;
1602
- };
1603
- /**
1604
- * Pallet `FastUnstake`'s events
1605
- **/
1606
- fastUnstake: {
1607
- /**
1608
- * A staker was unstaked.
1609
- **/
1610
- Unstaked: GenericPalletEvent<'FastUnstake', 'Unstaked', { stash: AccountId32; result: Result<[], DispatchError> }>;
1611
-
1612
- /**
1613
- * A staker was slashed for requesting fast-unstake whilst being exposed.
1614
- **/
1615
- Slashed: GenericPalletEvent<'FastUnstake', 'Slashed', { stash: AccountId32; amount: bigint }>;
1616
-
1617
- /**
1618
- * A batch was partially checked for the given eras, but the process did not finish.
1619
- **/
1620
- BatchChecked: GenericPalletEvent<'FastUnstake', 'BatchChecked', { eras: Array<number> }>;
1621
-
1622
- /**
1623
- * A batch of a given size was terminated.
1624
- *
1625
- * This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
1626
- * of the batch. A new batch will be created upon next block.
1627
- **/
1628
- BatchFinished: GenericPalletEvent<'FastUnstake', 'BatchFinished', { size: number }>;
1629
-
1630
- /**
1631
- * An internal error happened. Operations will be paused now.
1632
- **/
1633
- InternalError: GenericPalletEvent<'FastUnstake', 'InternalError', null>;
1634
-
1635
- /**
1636
- * Generic pallet event
1637
- **/
1638
- [prop: string]: GenericPalletEvent;
1639
- };
1640
- /**
1641
- * Pallet `ParaInclusion`'s events
1642
- **/
1643
- paraInclusion: {
1644
- /**
1645
- * A candidate was backed. `[candidate, head_data]`
1646
- **/
1647
- CandidateBacked: GenericPalletEvent<
1648
- 'ParaInclusion',
1649
- 'CandidateBacked',
1650
- [
1651
- PolkadotPrimitivesV6CandidateReceipt,
1652
- PolkadotParachainPrimitivesPrimitivesHeadData,
1653
- PolkadotPrimitivesV6CoreIndex,
1654
- PolkadotPrimitivesV6GroupIndex,
1655
- ]
1656
- >;
1657
-
1658
- /**
1659
- * A candidate was included. `[candidate, head_data]`
1660
- **/
1661
- CandidateIncluded: GenericPalletEvent<
1662
- 'ParaInclusion',
1663
- 'CandidateIncluded',
1664
- [
1665
- PolkadotPrimitivesV6CandidateReceipt,
1666
- PolkadotParachainPrimitivesPrimitivesHeadData,
1667
- PolkadotPrimitivesV6CoreIndex,
1668
- PolkadotPrimitivesV6GroupIndex,
1669
- ]
1670
- >;
1671
-
1672
- /**
1673
- * A candidate timed out. `[candidate, head_data]`
1674
- **/
1675
- CandidateTimedOut: GenericPalletEvent<
1676
- 'ParaInclusion',
1677
- 'CandidateTimedOut',
1678
- [
1679
- PolkadotPrimitivesV6CandidateReceipt,
1680
- PolkadotParachainPrimitivesPrimitivesHeadData,
1681
- PolkadotPrimitivesV6CoreIndex,
1682
- ]
1683
- >;
1684
-
1685
- /**
1686
- * Some upward messages have been received and will be processed.
1687
- **/
1688
- UpwardMessagesReceived: GenericPalletEvent<
1689
- 'ParaInclusion',
1690
- 'UpwardMessagesReceived',
1691
- { from: PolkadotParachainPrimitivesPrimitivesId; count: number }
1692
- >;
1693
-
1694
- /**
1695
- * Generic pallet event
1696
- **/
1697
- [prop: string]: GenericPalletEvent;
1698
- };
1699
- /**
1700
- * Pallet `Paras`'s events
1701
- **/
1702
- paras: {
1703
- /**
1704
- * Current code has been updated for a Para. `para_id`
1705
- **/
1706
- CurrentCodeUpdated: GenericPalletEvent<'Paras', 'CurrentCodeUpdated', PolkadotParachainPrimitivesPrimitivesId>;
1707
-
1708
- /**
1709
- * Current head has been updated for a Para. `para_id`
1710
- **/
1711
- CurrentHeadUpdated: GenericPalletEvent<'Paras', 'CurrentHeadUpdated', PolkadotParachainPrimitivesPrimitivesId>;
1712
-
1713
- /**
1714
- * A code upgrade has been scheduled for a Para. `para_id`
1715
- **/
1716
- CodeUpgradeScheduled: GenericPalletEvent<'Paras', 'CodeUpgradeScheduled', PolkadotParachainPrimitivesPrimitivesId>;
1717
-
1718
- /**
1719
- * A new head has been noted for a Para. `para_id`
1720
- **/
1721
- NewHeadNoted: GenericPalletEvent<'Paras', 'NewHeadNoted', PolkadotParachainPrimitivesPrimitivesId>;
1722
-
1723
- /**
1724
- * A para has been queued to execute pending actions. `para_id`
1725
- **/
1726
- ActionQueued: GenericPalletEvent<'Paras', 'ActionQueued', [PolkadotParachainPrimitivesPrimitivesId, number]>;
1727
-
1728
- /**
1729
- * The given para either initiated or subscribed to a PVF check for the given validation
1730
- * code. `code_hash` `para_id`
1731
- **/
1732
- PvfCheckStarted: GenericPalletEvent<
1733
- 'Paras',
1734
- 'PvfCheckStarted',
1735
- [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
1736
- >;
1737
-
1738
- /**
1739
- * The given validation code was accepted by the PVF pre-checking vote.
1740
- * `code_hash` `para_id`
1741
- **/
1742
- PvfCheckAccepted: GenericPalletEvent<
1743
- 'Paras',
1744
- 'PvfCheckAccepted',
1745
- [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
1746
- >;
1747
-
1748
- /**
1749
- * The given validation code was rejected by the PVF pre-checking vote.
1750
- * `code_hash` `para_id`
1751
- **/
1752
- PvfCheckRejected: GenericPalletEvent<
1753
- 'Paras',
1754
- 'PvfCheckRejected',
1755
- [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
1756
- >;
1757
-
1758
- /**
1759
- * Generic pallet event
1760
- **/
1761
- [prop: string]: GenericPalletEvent;
1762
- };
1763
- /**
1764
- * Pallet `Hrmp`'s events
1765
- **/
1766
- hrmp: {
1767
- /**
1768
- * Open HRMP channel requested.
1769
- **/
1770
- OpenChannelRequested: GenericPalletEvent<
1771
- 'Hrmp',
1772
- 'OpenChannelRequested',
1773
- {
1774
- sender: PolkadotParachainPrimitivesPrimitivesId;
1775
- recipient: PolkadotParachainPrimitivesPrimitivesId;
1776
- proposedMaxCapacity: number;
1777
- proposedMaxMessageSize: number;
1778
- }
1779
- >;
1780
-
1781
- /**
1782
- * An HRMP channel request sent by the receiver was canceled by either party.
1783
- **/
1784
- OpenChannelCanceled: GenericPalletEvent<
1785
- 'Hrmp',
1786
- 'OpenChannelCanceled',
1787
- {
1788
- byParachain: PolkadotParachainPrimitivesPrimitivesId;
1789
- channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId;
1790
- }
1791
- >;
1792
-
1793
- /**
1794
- * Open HRMP channel accepted.
1795
- **/
1796
- OpenChannelAccepted: GenericPalletEvent<
1797
- 'Hrmp',
1798
- 'OpenChannelAccepted',
1799
- { sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
1800
- >;
1801
-
1802
- /**
1803
- * HRMP channel closed.
1804
- **/
1805
- ChannelClosed: GenericPalletEvent<
1806
- 'Hrmp',
1807
- 'ChannelClosed',
1808
- {
1809
- byParachain: PolkadotParachainPrimitivesPrimitivesId;
1810
- channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId;
1811
- }
1812
- >;
1813
-
1814
- /**
1815
- * An HRMP channel was opened via Root origin.
1816
- **/
1817
- HrmpChannelForceOpened: GenericPalletEvent<
1818
- 'Hrmp',
1819
- 'HrmpChannelForceOpened',
1820
- {
1821
- sender: PolkadotParachainPrimitivesPrimitivesId;
1822
- recipient: PolkadotParachainPrimitivesPrimitivesId;
1823
- proposedMaxCapacity: number;
1824
- proposedMaxMessageSize: number;
1825
- }
1826
- >;
1827
-
1828
- /**
1829
- * An HRMP channel was opened between two system chains.
1830
- **/
1831
- HrmpSystemChannelOpened: GenericPalletEvent<
1832
- 'Hrmp',
1833
- 'HrmpSystemChannelOpened',
1834
- {
1835
- sender: PolkadotParachainPrimitivesPrimitivesId;
1836
- recipient: PolkadotParachainPrimitivesPrimitivesId;
1837
- proposedMaxCapacity: number;
1838
- proposedMaxMessageSize: number;
1839
- }
1840
- >;
1841
-
1842
- /**
1843
- * An HRMP channel's deposits were updated.
1844
- **/
1845
- OpenChannelDepositsUpdated: GenericPalletEvent<
1846
- 'Hrmp',
1847
- 'OpenChannelDepositsUpdated',
1848
- { sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
1849
- >;
1850
-
1851
- /**
1852
- * Generic pallet event
1853
- **/
1854
- [prop: string]: GenericPalletEvent;
1855
- };
1856
- /**
1857
- * Pallet `ParasDisputes`'s events
1858
- **/
1859
- parasDisputes: {
1860
- /**
1861
- * A dispute has been initiated. \[candidate hash, dispute location\]
1862
- **/
1863
- DisputeInitiated: GenericPalletEvent<
1864
- 'ParasDisputes',
1865
- 'DisputeInitiated',
1866
- [PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeLocation]
1867
- >;
1868
-
1869
- /**
1870
- * A dispute has concluded for or against a candidate.
1871
- * `\[para id, candidate hash, dispute result\]`
1872
- **/
1873
- DisputeConcluded: GenericPalletEvent<
1874
- 'ParasDisputes',
1875
- 'DisputeConcluded',
1876
- [PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeResult]
1877
- >;
1878
-
1879
- /**
1880
- * A dispute has concluded with supermajority against a candidate.
1881
- * Block authors should no longer build on top of this head and should
1882
- * instead revert the block at the given height. This should be the
1883
- * number of the child of the last known valid block in the chain.
1884
- **/
1885
- Revert: GenericPalletEvent<'ParasDisputes', 'Revert', number>;
1886
-
1887
- /**
1888
- * Generic pallet event
1889
- **/
1890
- [prop: string]: GenericPalletEvent;
1891
- };
1892
- /**
1893
- * Pallet `Registrar`'s events
1894
- **/
1895
- registrar: {
1896
- Registered: GenericPalletEvent<
1897
- 'Registrar',
1898
- 'Registered',
1899
- { paraId: PolkadotParachainPrimitivesPrimitivesId; manager: AccountId32 }
1900
- >;
1901
- Deregistered: GenericPalletEvent<'Registrar', 'Deregistered', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
1902
- Reserved: GenericPalletEvent<
1903
- 'Registrar',
1904
- 'Reserved',
1905
- { paraId: PolkadotParachainPrimitivesPrimitivesId; who: AccountId32 }
1906
- >;
1907
- Swapped: GenericPalletEvent<
1908
- 'Registrar',
1909
- 'Swapped',
1910
- { paraId: PolkadotParachainPrimitivesPrimitivesId; otherId: PolkadotParachainPrimitivesPrimitivesId }
1911
- >;
1912
-
1913
- /**
1914
- * Generic pallet event
1915
- **/
1916
- [prop: string]: GenericPalletEvent;
1917
- };
1918
- /**
1919
- * Pallet `Slots`'s events
1920
- **/
1921
- slots: {
1922
- /**
1923
- * A new `[lease_period]` is beginning.
1924
- **/
1925
- NewLeasePeriod: GenericPalletEvent<'Slots', 'NewLeasePeriod', { leasePeriod: number }>;
1926
-
1927
- /**
1928
- * A para has won the right to a continuous set of lease periods as a parachain.
1929
- * First balance is any extra amount reserved on top of the para's existing deposit.
1930
- * Second balance is the total amount reserved.
1931
- **/
1932
- Leased: GenericPalletEvent<
1933
- 'Slots',
1934
- 'Leased',
1935
- {
1936
- paraId: PolkadotParachainPrimitivesPrimitivesId;
1937
- leaser: AccountId32;
1938
- periodBegin: number;
1939
- periodCount: number;
1940
- extraReserved: bigint;
1941
- totalAmount: bigint;
1942
- }
1943
- >;
1944
-
1945
- /**
1946
- * Generic pallet event
1947
- **/
1948
- [prop: string]: GenericPalletEvent;
1949
- };
1950
- /**
1951
- * Pallet `Auctions`'s events
1952
- **/
1953
- auctions: {
1954
- /**
1955
- * An auction started. Provides its index and the block number where it will begin to
1956
- * close and the first lease period of the quadruplet that is auctioned.
1957
- **/
1958
- AuctionStarted: GenericPalletEvent<
1959
- 'Auctions',
1960
- 'AuctionStarted',
1961
- { auctionIndex: number; leasePeriod: number; ending: number }
1962
- >;
1963
-
1964
- /**
1965
- * An auction ended. All funds become unreserved.
1966
- **/
1967
- AuctionClosed: GenericPalletEvent<'Auctions', 'AuctionClosed', { auctionIndex: number }>;
1968
-
1969
- /**
1970
- * Funds were reserved for a winning bid. First balance is the extra amount reserved.
1971
- * Second is the total.
1972
- **/
1973
- Reserved: GenericPalletEvent<
1974
- 'Auctions',
1975
- 'Reserved',
1976
- { bidder: AccountId32; extraReserved: bigint; totalAmount: bigint }
1977
- >;
1978
-
1979
- /**
1980
- * Funds were unreserved since bidder is no longer active. `[bidder, amount]`
1981
- **/
1982
- Unreserved: GenericPalletEvent<'Auctions', 'Unreserved', { bidder: AccountId32; amount: bigint }>;
1983
-
1984
- /**
1985
- * Someone attempted to lease the same slot twice for a parachain. The amount is held in
1986
- * reserve but no parachain slot has been leased.
1987
- **/
1988
- ReserveConfiscated: GenericPalletEvent<
1989
- 'Auctions',
1990
- 'ReserveConfiscated',
1991
- { paraId: PolkadotParachainPrimitivesPrimitivesId; leaser: AccountId32; amount: bigint }
1992
- >;
1993
-
1994
- /**
1995
- * A new bid has been accepted as the current winner.
1996
- **/
1997
- BidAccepted: GenericPalletEvent<
1998
- 'Auctions',
1999
- 'BidAccepted',
2000
- {
2001
- bidder: AccountId32;
2002
- paraId: PolkadotParachainPrimitivesPrimitivesId;
2003
- amount: bigint;
2004
- firstSlot: number;
2005
- lastSlot: number;
2006
- }
2007
- >;
2008
-
2009
- /**
2010
- * The winning offset was chosen for an auction. This will map into the `Winning` storage
2011
- * map.
2012
- **/
2013
- WinningOffset: GenericPalletEvent<'Auctions', 'WinningOffset', { auctionIndex: number; blockNumber: number }>;
2014
-
2015
- /**
2016
- * Generic pallet event
2017
- **/
2018
- [prop: string]: GenericPalletEvent;
2019
- };
2020
- /**
2021
- * Pallet `Crowdloan`'s events
2022
- **/
2023
- crowdloan: {
2024
- /**
2025
- * Create a new crowdloaning campaign.
2026
- **/
2027
- Created: GenericPalletEvent<'Crowdloan', 'Created', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2028
-
2029
- /**
2030
- * Contributed to a crowd sale.
2031
- **/
2032
- Contributed: GenericPalletEvent<
2033
- 'Crowdloan',
2034
- 'Contributed',
2035
- { who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
2036
- >;
2037
-
2038
- /**
2039
- * Withdrew full balance of a contributor.
2040
- **/
2041
- Withdrew: GenericPalletEvent<
2042
- 'Crowdloan',
2043
- 'Withdrew',
2044
- { who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
2045
- >;
2046
-
2047
- /**
2048
- * The loans in a fund have been partially dissolved, i.e. there are some left
2049
- * over child keys that still need to be killed.
2050
- **/
2051
- PartiallyRefunded: GenericPalletEvent<
2052
- 'Crowdloan',
2053
- 'PartiallyRefunded',
2054
- { paraId: PolkadotParachainPrimitivesPrimitivesId }
2055
- >;
2056
-
2057
- /**
2058
- * All loans in a fund have been refunded.
2059
- **/
2060
- AllRefunded: GenericPalletEvent<'Crowdloan', 'AllRefunded', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2061
-
2062
- /**
2063
- * Fund is dissolved.
2064
- **/
2065
- Dissolved: GenericPalletEvent<'Crowdloan', 'Dissolved', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2066
-
2067
- /**
2068
- * The result of trying to submit a new bid to the Slots pallet.
2069
- **/
2070
- HandleBidResult: GenericPalletEvent<
2071
- 'Crowdloan',
2072
- 'HandleBidResult',
2073
- { paraId: PolkadotParachainPrimitivesPrimitivesId; result: Result<[], DispatchError> }
2074
- >;
2075
-
2076
- /**
2077
- * The configuration to a crowdloan has been edited.
2078
- **/
2079
- Edited: GenericPalletEvent<'Crowdloan', 'Edited', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2080
-
2081
- /**
2082
- * A memo has been updated.
2083
- **/
2084
- MemoUpdated: GenericPalletEvent<
2085
- 'Crowdloan',
2086
- 'MemoUpdated',
2087
- { who: AccountId32; paraId: PolkadotParachainPrimitivesPrimitivesId; memo: Bytes }
2088
- >;
2089
-
2090
- /**
2091
- * A parachain has been moved to `NewRaise`
2092
- **/
2093
- AddedToNewRaise: GenericPalletEvent<
2094
- 'Crowdloan',
2095
- 'AddedToNewRaise',
2096
- { paraId: PolkadotParachainPrimitivesPrimitivesId }
2097
- >;
2098
-
2099
- /**
2100
- * Generic pallet event
2101
- **/
2102
- [prop: string]: GenericPalletEvent;
2103
- };
2104
- /**
2105
- * Pallet `XcmPallet`'s events
2106
- **/
2107
- xcmPallet: {
2108
- /**
2109
- * Execution of an XCM message was attempted.
2110
- **/
2111
- Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome: XcmV3TraitsOutcome }>;
2112
-
2113
- /**
2114
- * A XCM message was sent.
2115
- **/
2116
- Sent: GenericPalletEvent<
2117
- 'XcmPallet',
2118
- 'Sent',
2119
- {
2120
- origin: StagingXcmV3MultilocationMultiLocation;
2121
- destination: StagingXcmV3MultilocationMultiLocation;
2122
- message: XcmV3Xcm;
2123
- messageId: FixedBytes<32>;
2124
- }
2125
- >;
2126
-
2127
- /**
2128
- * Query response received which does not match a registered query. This may be because a
2129
- * matching query was never registered, it may be because it is a duplicate response, or
2130
- * because the query timed out.
2131
- **/
2132
- UnexpectedResponse: GenericPalletEvent<
2133
- 'XcmPallet',
2134
- 'UnexpectedResponse',
2135
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
2136
- >;
2137
-
2138
- /**
2139
- * Query response has been received and is ready for taking with `take_response`. There is
2140
- * no registered notification call.
2141
- **/
2142
- ResponseReady: GenericPalletEvent<'XcmPallet', 'ResponseReady', { queryId: bigint; response: XcmV3Response }>;
2143
-
2144
- /**
2145
- * Query response has been received and query is removed. The registered notification has
2146
- * been dispatched and executed successfully.
2147
- **/
2148
- Notified: GenericPalletEvent<'XcmPallet', 'Notified', { queryId: bigint; palletIndex: number; callIndex: number }>;
2149
-
2150
- /**
2151
- * Query response has been received and query is removed. The registered notification
2152
- * could not be dispatched because the dispatch weight is greater than the maximum weight
2153
- * originally budgeted by this runtime for the query result.
2154
- **/
2155
- NotifyOverweight: GenericPalletEvent<
2156
- 'XcmPallet',
2157
- 'NotifyOverweight',
2158
- {
2159
- queryId: bigint;
2160
- palletIndex: number;
2161
- callIndex: number;
2162
- actualWeight: SpWeightsWeightV2Weight;
2163
- maxBudgetedWeight: SpWeightsWeightV2Weight;
2164
- }
2165
- >;
2166
-
2167
- /**
2168
- * Query response has been received and query is removed. There was a general error with
2169
- * dispatching the notification call.
2170
- **/
2171
- NotifyDispatchError: GenericPalletEvent<
2172
- 'XcmPallet',
2173
- 'NotifyDispatchError',
2174
- { queryId: bigint; palletIndex: number; callIndex: number }
2175
- >;
2176
-
2177
- /**
2178
- * Query response has been received and query is removed. The dispatch was unable to be
2179
- * decoded into a `Call`; this might be due to dispatch function having a signature which
2180
- * is not `(origin, QueryId, Response)`.
2181
- **/
2182
- NotifyDecodeFailed: GenericPalletEvent<
2183
- 'XcmPallet',
2184
- 'NotifyDecodeFailed',
2185
- { queryId: bigint; palletIndex: number; callIndex: number }
2186
- >;
2187
-
2188
- /**
2189
- * Expected query response has been received but the origin location of the response does
2190
- * not match that expected. The query remains registered for a later, valid, response to
2191
- * be received and acted upon.
2192
- **/
2193
- InvalidResponder: GenericPalletEvent<
2194
- 'XcmPallet',
2195
- 'InvalidResponder',
2196
- {
2197
- origin: StagingXcmV3MultilocationMultiLocation;
2198
- queryId: bigint;
2199
- expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
2200
- }
2201
- >;
2202
-
2203
- /**
2204
- * Expected query response has been received but the expected origin location placed in
2205
- * storage by this runtime previously cannot be decoded. The query remains registered.
2206
- *
2207
- * This is unexpected (since a location placed in storage in a previously executing
2208
- * runtime should be readable prior to query timeout) and dangerous since the possibly
2209
- * valid response will be dropped. Manual governance intervention is probably going to be
2210
- * needed.
2211
- **/
2212
- InvalidResponderVersion: GenericPalletEvent<
2213
- 'XcmPallet',
2214
- 'InvalidResponderVersion',
2215
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
2216
- >;
2217
-
2218
- /**
2219
- * Received query response has been read and removed.
2220
- **/
2221
- ResponseTaken: GenericPalletEvent<'XcmPallet', 'ResponseTaken', { queryId: bigint }>;
2222
-
2223
- /**
2224
- * Some assets have been placed in an asset trap.
2225
- **/
2226
- AssetsTrapped: GenericPalletEvent<
2227
- 'XcmPallet',
2228
- 'AssetsTrapped',
2229
- { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
2230
- >;
2231
-
2232
- /**
2233
- * An XCM version change notification message has been attempted to be sent.
2234
- *
2235
- * The cost of sending it (borne by the chain) is included.
2236
- **/
2237
- VersionChangeNotified: GenericPalletEvent<
2238
- 'XcmPallet',
2239
- 'VersionChangeNotified',
2240
- {
2241
- destination: StagingXcmV3MultilocationMultiLocation;
2242
- result: number;
2243
- cost: XcmV3MultiassetMultiAssets;
2244
- messageId: FixedBytes<32>;
2245
- }
2246
- >;
2247
-
2248
- /**
2249
- * The supported version of a location has been changed. This might be through an
2250
- * automatic notification or a manual intervention.
2251
- **/
2252
- SupportedVersionChanged: GenericPalletEvent<
2253
- 'XcmPallet',
2254
- 'SupportedVersionChanged',
2255
- { location: StagingXcmV3MultilocationMultiLocation; version: number }
2256
- >;
2257
-
2258
- /**
2259
- * A given location which had a version change subscription was dropped owing to an error
2260
- * sending the notification to it.
2261
- **/
2262
- NotifyTargetSendFail: GenericPalletEvent<
2263
- 'XcmPallet',
2264
- 'NotifyTargetSendFail',
2265
- { location: StagingXcmV3MultilocationMultiLocation; queryId: bigint; error: XcmV3TraitsError }
2266
- >;
2267
-
2268
- /**
2269
- * A given location which had a version change subscription was dropped owing to an error
2270
- * migrating the location to our new XCM format.
2271
- **/
2272
- NotifyTargetMigrationFail: GenericPalletEvent<
2273
- 'XcmPallet',
2274
- 'NotifyTargetMigrationFail',
2275
- { location: XcmVersionedMultiLocation; queryId: bigint }
2276
- >;
2277
-
2278
- /**
2279
- * Expected query response has been received but the expected querier location placed in
2280
- * storage by this runtime previously cannot be decoded. The query remains registered.
2281
- *
2282
- * This is unexpected (since a location placed in storage in a previously executing
2283
- * runtime should be readable prior to query timeout) and dangerous since the possibly
2284
- * valid response will be dropped. Manual governance intervention is probably going to be
2285
- * needed.
2286
- **/
2287
- InvalidQuerierVersion: GenericPalletEvent<
2288
- 'XcmPallet',
2289
- 'InvalidQuerierVersion',
2290
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
2291
- >;
2292
-
2293
- /**
2294
- * Expected query response has been received but the querier location of the response does
2295
- * not match the expected. The query remains registered for a later, valid, response to
2296
- * be received and acted upon.
2297
- **/
2298
- InvalidQuerier: GenericPalletEvent<
2299
- 'XcmPallet',
2300
- 'InvalidQuerier',
2301
- {
2302
- origin: StagingXcmV3MultilocationMultiLocation;
2303
- queryId: bigint;
2304
- expectedQuerier: StagingXcmV3MultilocationMultiLocation;
2305
- maybeActualQuerier?: StagingXcmV3MultilocationMultiLocation | undefined;
2306
- }
2307
- >;
2308
-
2309
- /**
2310
- * A remote has requested XCM version change notification from us and we have honored it.
2311
- * A version information message is sent to them and its cost is included.
2312
- **/
2313
- VersionNotifyStarted: GenericPalletEvent<
2314
- 'XcmPallet',
2315
- 'VersionNotifyStarted',
2316
- {
2317
- destination: StagingXcmV3MultilocationMultiLocation;
2318
- cost: XcmV3MultiassetMultiAssets;
2319
- messageId: FixedBytes<32>;
2320
- }
2321
- >;
2322
-
2323
- /**
2324
- * We have requested that a remote chain send us XCM version change notifications.
2325
- **/
2326
- VersionNotifyRequested: GenericPalletEvent<
2327
- 'XcmPallet',
2328
- 'VersionNotifyRequested',
2329
- {
2330
- destination: StagingXcmV3MultilocationMultiLocation;
2331
- cost: XcmV3MultiassetMultiAssets;
2332
- messageId: FixedBytes<32>;
2333
- }
2334
- >;
2335
-
1373
+ nominationPools: {
1374
+ /**
1375
+ * A pool has been created.
1376
+ **/
1377
+ Created: GenericPalletEvent<'NominationPools', 'Created', {
1378
+ depositor: AccountId32;
1379
+ poolId: number;
1380
+ }>;
1381
+ /**
1382
+ * A member has became bonded in a pool.
1383
+ **/
1384
+ Bonded: GenericPalletEvent<'NominationPools', 'Bonded', {
1385
+ member: AccountId32;
1386
+ poolId: number;
1387
+ bonded: bigint;
1388
+ joined: boolean;
1389
+ }>;
1390
+ /**
1391
+ * A payout has been made to a member.
1392
+ **/
1393
+ PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', {
1394
+ member: AccountId32;
1395
+ poolId: number;
1396
+ payout: bigint;
1397
+ }>;
1398
+ /**
1399
+ * A member has unbonded from their pool.
1400
+ *
1401
+ * - `balance` is the corresponding balance of the number of points that has been
1402
+ * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
1403
+ * pool.
1404
+ * - `points` is the number of points that are issued as a result of `balance` being
1405
+ * dissolved into the corresponding unbonding pool.
1406
+ * - `era` is the era in which the balance will be unbonded.
1407
+ * In the absence of slashing, these values will match. In the presence of slashing, the
1408
+ * number of points that are issued in the unbonding pool will be less than the amount
1409
+ * requested to be unbonded.
1410
+ **/
1411
+ Unbonded: GenericPalletEvent<'NominationPools', 'Unbonded', {
1412
+ member: AccountId32;
1413
+ poolId: number;
1414
+ balance: bigint;
1415
+ points: bigint;
1416
+ era: number;
1417
+ }>;
1418
+ /**
1419
+ * A member has withdrawn from their pool.
1420
+ *
1421
+ * The given number of `points` have been dissolved in return of `balance`.
1422
+ *
1423
+ * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
1424
+ * will be 1.
1425
+ **/
1426
+ Withdrawn: GenericPalletEvent<'NominationPools', 'Withdrawn', {
1427
+ member: AccountId32;
1428
+ poolId: number;
1429
+ balance: bigint;
1430
+ points: bigint;
1431
+ }>;
1432
+ /**
1433
+ * A pool has been destroyed.
1434
+ **/
1435
+ Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', {
1436
+ poolId: number;
1437
+ }>;
1438
+ /**
1439
+ * The state of a pool has changed
1440
+ **/
1441
+ StateChanged: GenericPalletEvent<'NominationPools', 'StateChanged', {
1442
+ poolId: number;
1443
+ newState: PalletNominationPoolsPoolState;
1444
+ }>;
1445
+ /**
1446
+ * A member has been removed from a pool.
1447
+ *
1448
+ * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
1449
+ **/
1450
+ MemberRemoved: GenericPalletEvent<'NominationPools', 'MemberRemoved', {
1451
+ poolId: number;
1452
+ member: AccountId32;
1453
+ }>;
1454
+ /**
1455
+ * The roles of a pool have been updated to the given new roles. Note that the depositor
1456
+ * can never change.
1457
+ **/
1458
+ RolesUpdated: GenericPalletEvent<'NominationPools', 'RolesUpdated', {
1459
+ root?: AccountId32 | undefined;
1460
+ bouncer?: AccountId32 | undefined;
1461
+ nominator?: AccountId32 | undefined;
1462
+ }>;
1463
+ /**
1464
+ * The active balance of pool `pool_id` has been slashed to `balance`.
1465
+ **/
1466
+ PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', {
1467
+ poolId: number;
1468
+ balance: bigint;
1469
+ }>;
1470
+ /**
1471
+ * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
1472
+ **/
1473
+ UnbondingPoolSlashed: GenericPalletEvent<'NominationPools', 'UnbondingPoolSlashed', {
1474
+ poolId: number;
1475
+ era: number;
1476
+ balance: bigint;
1477
+ }>;
1478
+ /**
1479
+ * A pool's commission setting has been changed.
1480
+ **/
1481
+ PoolCommissionUpdated: GenericPalletEvent<'NominationPools', 'PoolCommissionUpdated', {
1482
+ poolId: number;
1483
+ current?: [Perbill, AccountId32] | undefined;
1484
+ }>;
1485
+ /**
1486
+ * A pool's maximum commission setting has been changed.
1487
+ **/
1488
+ PoolMaxCommissionUpdated: GenericPalletEvent<'NominationPools', 'PoolMaxCommissionUpdated', {
1489
+ poolId: number;
1490
+ maxCommission: Perbill;
1491
+ }>;
1492
+ /**
1493
+ * A pool's commission `change_rate` has been changed.
1494
+ **/
1495
+ PoolCommissionChangeRateUpdated: GenericPalletEvent<'NominationPools', 'PoolCommissionChangeRateUpdated', {
1496
+ poolId: number;
1497
+ changeRate: PalletNominationPoolsCommissionChangeRate;
1498
+ }>;
1499
+ /**
1500
+ * Pool commission has been claimed.
1501
+ **/
1502
+ PoolCommissionClaimed: GenericPalletEvent<'NominationPools', 'PoolCommissionClaimed', {
1503
+ poolId: number;
1504
+ commission: bigint;
1505
+ }>;
1506
+ /**
1507
+ * Topped up deficit in frozen ED of the reward pool.
1508
+ **/
1509
+ MinBalanceDeficitAdjusted: GenericPalletEvent<'NominationPools', 'MinBalanceDeficitAdjusted', {
1510
+ poolId: number;
1511
+ amount: bigint;
1512
+ }>;
1513
+ /**
1514
+ * Claimed excess frozen ED of af the reward pool.
1515
+ **/
1516
+ MinBalanceExcessAdjusted: GenericPalletEvent<'NominationPools', 'MinBalanceExcessAdjusted', {
1517
+ poolId: number;
1518
+ amount: bigint;
1519
+ }>;
1520
+ /**
1521
+ * Generic pallet event
1522
+ **/
1523
+ [prop: string]: GenericPalletEvent;
1524
+ };
2336
1525
  /**
2337
- * We have requested that a remote chain stops sending us XCM version change
2338
- * notifications.
1526
+ * Pallet `FastUnstake`'s events
2339
1527
  **/
2340
- VersionNotifyUnrequested: GenericPalletEvent<
2341
- 'XcmPallet',
2342
- 'VersionNotifyUnrequested',
2343
- {
2344
- destination: StagingXcmV3MultilocationMultiLocation;
2345
- cost: XcmV3MultiassetMultiAssets;
2346
- messageId: FixedBytes<32>;
2347
- }
2348
- >;
2349
-
1528
+ fastUnstake: {
1529
+ /**
1530
+ * A staker was unstaked.
1531
+ **/
1532
+ Unstaked: GenericPalletEvent<'FastUnstake', 'Unstaked', {
1533
+ stash: AccountId32;
1534
+ result: Result<[], DispatchError>;
1535
+ }>;
1536
+ /**
1537
+ * A staker was slashed for requesting fast-unstake whilst being exposed.
1538
+ **/
1539
+ Slashed: GenericPalletEvent<'FastUnstake', 'Slashed', {
1540
+ stash: AccountId32;
1541
+ amount: bigint;
1542
+ }>;
1543
+ /**
1544
+ * A batch was partially checked for the given eras, but the process did not finish.
1545
+ **/
1546
+ BatchChecked: GenericPalletEvent<'FastUnstake', 'BatchChecked', {
1547
+ eras: Array<number>;
1548
+ }>;
1549
+ /**
1550
+ * A batch of a given size was terminated.
1551
+ *
1552
+ * This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
1553
+ * of the batch. A new batch will be created upon next block.
1554
+ **/
1555
+ BatchFinished: GenericPalletEvent<'FastUnstake', 'BatchFinished', {
1556
+ size: number;
1557
+ }>;
1558
+ /**
1559
+ * An internal error happened. Operations will be paused now.
1560
+ **/
1561
+ InternalError: GenericPalletEvent<'FastUnstake', 'InternalError', null>;
1562
+ /**
1563
+ * Generic pallet event
1564
+ **/
1565
+ [prop: string]: GenericPalletEvent;
1566
+ };
2350
1567
  /**
2351
- * Fees were paid from a location for an operation (often for using `SendXcm`).
1568
+ * Pallet `ParaInclusion`'s events
2352
1569
  **/
2353
- FeesPaid: GenericPalletEvent<
2354
- 'XcmPallet',
2355
- 'FeesPaid',
2356
- { paying: StagingXcmV3MultilocationMultiLocation; fees: XcmV3MultiassetMultiAssets }
2357
- >;
2358
-
1570
+ paraInclusion: {
1571
+ /**
1572
+ * A candidate was backed. `[candidate, head_data]`
1573
+ **/
1574
+ CandidateBacked: GenericPalletEvent<'ParaInclusion', 'CandidateBacked', [
1575
+ PolkadotPrimitivesV6CandidateReceipt,
1576
+ PolkadotParachainPrimitivesPrimitivesHeadData,
1577
+ PolkadotPrimitivesV6CoreIndex,
1578
+ PolkadotPrimitivesV6GroupIndex
1579
+ ]>;
1580
+ /**
1581
+ * A candidate was included. `[candidate, head_data]`
1582
+ **/
1583
+ CandidateIncluded: GenericPalletEvent<'ParaInclusion', 'CandidateIncluded', [
1584
+ PolkadotPrimitivesV6CandidateReceipt,
1585
+ PolkadotParachainPrimitivesPrimitivesHeadData,
1586
+ PolkadotPrimitivesV6CoreIndex,
1587
+ PolkadotPrimitivesV6GroupIndex
1588
+ ]>;
1589
+ /**
1590
+ * A candidate timed out. `[candidate, head_data]`
1591
+ **/
1592
+ CandidateTimedOut: GenericPalletEvent<'ParaInclusion', 'CandidateTimedOut', [
1593
+ PolkadotPrimitivesV6CandidateReceipt,
1594
+ PolkadotParachainPrimitivesPrimitivesHeadData,
1595
+ PolkadotPrimitivesV6CoreIndex
1596
+ ]>;
1597
+ /**
1598
+ * Some upward messages have been received and will be processed.
1599
+ **/
1600
+ UpwardMessagesReceived: GenericPalletEvent<'ParaInclusion', 'UpwardMessagesReceived', {
1601
+ from: PolkadotParachainPrimitivesPrimitivesId;
1602
+ count: number;
1603
+ }>;
1604
+ /**
1605
+ * Generic pallet event
1606
+ **/
1607
+ [prop: string]: GenericPalletEvent;
1608
+ };
2359
1609
  /**
2360
- * Some assets have been claimed from an asset trap
1610
+ * Pallet `Paras`'s events
2361
1611
  **/
2362
- AssetsClaimed: GenericPalletEvent<
2363
- 'XcmPallet',
2364
- 'AssetsClaimed',
2365
- { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
2366
- >;
2367
-
1612
+ paras: {
1613
+ /**
1614
+ * Current code has been updated for a Para. `para_id`
1615
+ **/
1616
+ CurrentCodeUpdated: GenericPalletEvent<'Paras', 'CurrentCodeUpdated', PolkadotParachainPrimitivesPrimitivesId>;
1617
+ /**
1618
+ * Current head has been updated for a Para. `para_id`
1619
+ **/
1620
+ CurrentHeadUpdated: GenericPalletEvent<'Paras', 'CurrentHeadUpdated', PolkadotParachainPrimitivesPrimitivesId>;
1621
+ /**
1622
+ * A code upgrade has been scheduled for a Para. `para_id`
1623
+ **/
1624
+ CodeUpgradeScheduled: GenericPalletEvent<'Paras', 'CodeUpgradeScheduled', PolkadotParachainPrimitivesPrimitivesId>;
1625
+ /**
1626
+ * A new head has been noted for a Para. `para_id`
1627
+ **/
1628
+ NewHeadNoted: GenericPalletEvent<'Paras', 'NewHeadNoted', PolkadotParachainPrimitivesPrimitivesId>;
1629
+ /**
1630
+ * A para has been queued to execute pending actions. `para_id`
1631
+ **/
1632
+ ActionQueued: GenericPalletEvent<'Paras', 'ActionQueued', [PolkadotParachainPrimitivesPrimitivesId, number]>;
1633
+ /**
1634
+ * The given para either initiated or subscribed to a PVF check for the given validation
1635
+ * code. `code_hash` `para_id`
1636
+ **/
1637
+ PvfCheckStarted: GenericPalletEvent<'Paras', 'PvfCheckStarted', [
1638
+ PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
1639
+ PolkadotParachainPrimitivesPrimitivesId
1640
+ ]>;
1641
+ /**
1642
+ * The given validation code was accepted by the PVF pre-checking vote.
1643
+ * `code_hash` `para_id`
1644
+ **/
1645
+ PvfCheckAccepted: GenericPalletEvent<'Paras', 'PvfCheckAccepted', [
1646
+ PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
1647
+ PolkadotParachainPrimitivesPrimitivesId
1648
+ ]>;
1649
+ /**
1650
+ * The given validation code was rejected by the PVF pre-checking vote.
1651
+ * `code_hash` `para_id`
1652
+ **/
1653
+ PvfCheckRejected: GenericPalletEvent<'Paras', 'PvfCheckRejected', [
1654
+ PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
1655
+ PolkadotParachainPrimitivesPrimitivesId
1656
+ ]>;
1657
+ /**
1658
+ * Generic pallet event
1659
+ **/
1660
+ [prop: string]: GenericPalletEvent;
1661
+ };
2368
1662
  /**
2369
- * Generic pallet event
1663
+ * Pallet `Hrmp`'s events
2370
1664
  **/
2371
- [prop: string]: GenericPalletEvent;
2372
- };
2373
- /**
2374
- * Pallet `MessageQueue`'s events
2375
- **/
2376
- messageQueue: {
1665
+ hrmp: {
1666
+ /**
1667
+ * Open HRMP channel requested.
1668
+ **/
1669
+ OpenChannelRequested: GenericPalletEvent<'Hrmp', 'OpenChannelRequested', {
1670
+ sender: PolkadotParachainPrimitivesPrimitivesId;
1671
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
1672
+ proposedMaxCapacity: number;
1673
+ proposedMaxMessageSize: number;
1674
+ }>;
1675
+ /**
1676
+ * An HRMP channel request sent by the receiver was canceled by either party.
1677
+ **/
1678
+ OpenChannelCanceled: GenericPalletEvent<'Hrmp', 'OpenChannelCanceled', {
1679
+ byParachain: PolkadotParachainPrimitivesPrimitivesId;
1680
+ channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId;
1681
+ }>;
1682
+ /**
1683
+ * Open HRMP channel accepted.
1684
+ **/
1685
+ OpenChannelAccepted: GenericPalletEvent<'Hrmp', 'OpenChannelAccepted', {
1686
+ sender: PolkadotParachainPrimitivesPrimitivesId;
1687
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
1688
+ }>;
1689
+ /**
1690
+ * HRMP channel closed.
1691
+ **/
1692
+ ChannelClosed: GenericPalletEvent<'Hrmp', 'ChannelClosed', {
1693
+ byParachain: PolkadotParachainPrimitivesPrimitivesId;
1694
+ channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId;
1695
+ }>;
1696
+ /**
1697
+ * An HRMP channel was opened via Root origin.
1698
+ **/
1699
+ HrmpChannelForceOpened: GenericPalletEvent<'Hrmp', 'HrmpChannelForceOpened', {
1700
+ sender: PolkadotParachainPrimitivesPrimitivesId;
1701
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
1702
+ proposedMaxCapacity: number;
1703
+ proposedMaxMessageSize: number;
1704
+ }>;
1705
+ /**
1706
+ * An HRMP channel was opened between two system chains.
1707
+ **/
1708
+ HrmpSystemChannelOpened: GenericPalletEvent<'Hrmp', 'HrmpSystemChannelOpened', {
1709
+ sender: PolkadotParachainPrimitivesPrimitivesId;
1710
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
1711
+ proposedMaxCapacity: number;
1712
+ proposedMaxMessageSize: number;
1713
+ }>;
1714
+ /**
1715
+ * An HRMP channel's deposits were updated.
1716
+ **/
1717
+ OpenChannelDepositsUpdated: GenericPalletEvent<'Hrmp', 'OpenChannelDepositsUpdated', {
1718
+ sender: PolkadotParachainPrimitivesPrimitivesId;
1719
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
1720
+ }>;
1721
+ /**
1722
+ * Generic pallet event
1723
+ **/
1724
+ [prop: string]: GenericPalletEvent;
1725
+ };
2377
1726
  /**
2378
- * Message discarded due to an error in the `MessageProcessor` (usually a format error).
1727
+ * Pallet `ParasDisputes`'s events
2379
1728
  **/
2380
- ProcessingFailed: GenericPalletEvent<
2381
- 'MessageQueue',
2382
- 'ProcessingFailed',
2383
- {
2384
- id: FixedBytes<32>;
2385
- origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2386
- error: FrameSupportMessagesProcessMessageError;
2387
- }
2388
- >;
2389
-
1729
+ parasDisputes: {
1730
+ /**
1731
+ * A dispute has been initiated. \[candidate hash, dispute location\]
1732
+ **/
1733
+ DisputeInitiated: GenericPalletEvent<'ParasDisputes', 'DisputeInitiated', [
1734
+ PolkadotCorePrimitivesCandidateHash,
1735
+ PolkadotRuntimeParachainsDisputesDisputeLocation
1736
+ ]>;
1737
+ /**
1738
+ * A dispute has concluded for or against a candidate.
1739
+ * `\[para id, candidate hash, dispute result\]`
1740
+ **/
1741
+ DisputeConcluded: GenericPalletEvent<'ParasDisputes', 'DisputeConcluded', [
1742
+ PolkadotCorePrimitivesCandidateHash,
1743
+ PolkadotRuntimeParachainsDisputesDisputeResult
1744
+ ]>;
1745
+ /**
1746
+ * A dispute has concluded with supermajority against a candidate.
1747
+ * Block authors should no longer build on top of this head and should
1748
+ * instead revert the block at the given height. This should be the
1749
+ * number of the child of the last known valid block in the chain.
1750
+ **/
1751
+ Revert: GenericPalletEvent<'ParasDisputes', 'Revert', number>;
1752
+ /**
1753
+ * Generic pallet event
1754
+ **/
1755
+ [prop: string]: GenericPalletEvent;
1756
+ };
1757
+ /**
1758
+ * Pallet `Registrar`'s events
1759
+ **/
1760
+ registrar: {
1761
+ Registered: GenericPalletEvent<'Registrar', 'Registered', {
1762
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1763
+ manager: AccountId32;
1764
+ }>;
1765
+ Deregistered: GenericPalletEvent<'Registrar', 'Deregistered', {
1766
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1767
+ }>;
1768
+ Reserved: GenericPalletEvent<'Registrar', 'Reserved', {
1769
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1770
+ who: AccountId32;
1771
+ }>;
1772
+ Swapped: GenericPalletEvent<'Registrar', 'Swapped', {
1773
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1774
+ otherId: PolkadotParachainPrimitivesPrimitivesId;
1775
+ }>;
1776
+ /**
1777
+ * Generic pallet event
1778
+ **/
1779
+ [prop: string]: GenericPalletEvent;
1780
+ };
2390
1781
  /**
2391
- * Message is processed.
1782
+ * Pallet `Slots`'s events
2392
1783
  **/
2393
- Processed: GenericPalletEvent<
2394
- 'MessageQueue',
2395
- 'Processed',
2396
- {
2397
- id: FixedBytes<32>;
2398
- origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2399
- weightUsed: SpWeightsWeightV2Weight;
2400
- success: boolean;
2401
- }
2402
- >;
2403
-
1784
+ slots: {
1785
+ /**
1786
+ * A new `[lease_period]` is beginning.
1787
+ **/
1788
+ NewLeasePeriod: GenericPalletEvent<'Slots', 'NewLeasePeriod', {
1789
+ leasePeriod: number;
1790
+ }>;
1791
+ /**
1792
+ * A para has won the right to a continuous set of lease periods as a parachain.
1793
+ * First balance is any extra amount reserved on top of the para's existing deposit.
1794
+ * Second balance is the total amount reserved.
1795
+ **/
1796
+ Leased: GenericPalletEvent<'Slots', 'Leased', {
1797
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1798
+ leaser: AccountId32;
1799
+ periodBegin: number;
1800
+ periodCount: number;
1801
+ extraReserved: bigint;
1802
+ totalAmount: bigint;
1803
+ }>;
1804
+ /**
1805
+ * Generic pallet event
1806
+ **/
1807
+ [prop: string]: GenericPalletEvent;
1808
+ };
2404
1809
  /**
2405
- * Message placed in overweight queue.
1810
+ * Pallet `Auctions`'s events
2406
1811
  **/
2407
- OverweightEnqueued: GenericPalletEvent<
2408
- 'MessageQueue',
2409
- 'OverweightEnqueued',
2410
- {
2411
- id: FixedBytes<32>;
2412
- origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2413
- pageIndex: number;
2414
- messageIndex: number;
2415
- }
2416
- >;
2417
-
1812
+ auctions: {
1813
+ /**
1814
+ * An auction started. Provides its index and the block number where it will begin to
1815
+ * close and the first lease period of the quadruplet that is auctioned.
1816
+ **/
1817
+ AuctionStarted: GenericPalletEvent<'Auctions', 'AuctionStarted', {
1818
+ auctionIndex: number;
1819
+ leasePeriod: number;
1820
+ ending: number;
1821
+ }>;
1822
+ /**
1823
+ * An auction ended. All funds become unreserved.
1824
+ **/
1825
+ AuctionClosed: GenericPalletEvent<'Auctions', 'AuctionClosed', {
1826
+ auctionIndex: number;
1827
+ }>;
1828
+ /**
1829
+ * Funds were reserved for a winning bid. First balance is the extra amount reserved.
1830
+ * Second is the total.
1831
+ **/
1832
+ Reserved: GenericPalletEvent<'Auctions', 'Reserved', {
1833
+ bidder: AccountId32;
1834
+ extraReserved: bigint;
1835
+ totalAmount: bigint;
1836
+ }>;
1837
+ /**
1838
+ * Funds were unreserved since bidder is no longer active. `[bidder, amount]`
1839
+ **/
1840
+ Unreserved: GenericPalletEvent<'Auctions', 'Unreserved', {
1841
+ bidder: AccountId32;
1842
+ amount: bigint;
1843
+ }>;
1844
+ /**
1845
+ * Someone attempted to lease the same slot twice for a parachain. The amount is held in
1846
+ * reserve but no parachain slot has been leased.
1847
+ **/
1848
+ ReserveConfiscated: GenericPalletEvent<'Auctions', 'ReserveConfiscated', {
1849
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1850
+ leaser: AccountId32;
1851
+ amount: bigint;
1852
+ }>;
1853
+ /**
1854
+ * A new bid has been accepted as the current winner.
1855
+ **/
1856
+ BidAccepted: GenericPalletEvent<'Auctions', 'BidAccepted', {
1857
+ bidder: AccountId32;
1858
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1859
+ amount: bigint;
1860
+ firstSlot: number;
1861
+ lastSlot: number;
1862
+ }>;
1863
+ /**
1864
+ * The winning offset was chosen for an auction. This will map into the `Winning` storage
1865
+ * map.
1866
+ **/
1867
+ WinningOffset: GenericPalletEvent<'Auctions', 'WinningOffset', {
1868
+ auctionIndex: number;
1869
+ blockNumber: number;
1870
+ }>;
1871
+ /**
1872
+ * Generic pallet event
1873
+ **/
1874
+ [prop: string]: GenericPalletEvent;
1875
+ };
2418
1876
  /**
2419
- * This page was reaped.
1877
+ * Pallet `Crowdloan`'s events
2420
1878
  **/
2421
- PageReaped: GenericPalletEvent<
2422
- 'MessageQueue',
2423
- 'PageReaped',
2424
- { origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin; index: number }
2425
- >;
2426
-
1879
+ crowdloan: {
1880
+ /**
1881
+ * Create a new crowdloaning campaign.
1882
+ **/
1883
+ Created: GenericPalletEvent<'Crowdloan', 'Created', {
1884
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1885
+ }>;
1886
+ /**
1887
+ * Contributed to a crowd sale.
1888
+ **/
1889
+ Contributed: GenericPalletEvent<'Crowdloan', 'Contributed', {
1890
+ who: AccountId32;
1891
+ fundIndex: PolkadotParachainPrimitivesPrimitivesId;
1892
+ amount: bigint;
1893
+ }>;
1894
+ /**
1895
+ * Withdrew full balance of a contributor.
1896
+ **/
1897
+ Withdrew: GenericPalletEvent<'Crowdloan', 'Withdrew', {
1898
+ who: AccountId32;
1899
+ fundIndex: PolkadotParachainPrimitivesPrimitivesId;
1900
+ amount: bigint;
1901
+ }>;
1902
+ /**
1903
+ * The loans in a fund have been partially dissolved, i.e. there are some left
1904
+ * over child keys that still need to be killed.
1905
+ **/
1906
+ PartiallyRefunded: GenericPalletEvent<'Crowdloan', 'PartiallyRefunded', {
1907
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1908
+ }>;
1909
+ /**
1910
+ * All loans in a fund have been refunded.
1911
+ **/
1912
+ AllRefunded: GenericPalletEvent<'Crowdloan', 'AllRefunded', {
1913
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1914
+ }>;
1915
+ /**
1916
+ * Fund is dissolved.
1917
+ **/
1918
+ Dissolved: GenericPalletEvent<'Crowdloan', 'Dissolved', {
1919
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1920
+ }>;
1921
+ /**
1922
+ * The result of trying to submit a new bid to the Slots pallet.
1923
+ **/
1924
+ HandleBidResult: GenericPalletEvent<'Crowdloan', 'HandleBidResult', {
1925
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1926
+ result: Result<[], DispatchError>;
1927
+ }>;
1928
+ /**
1929
+ * The configuration to a crowdloan has been edited.
1930
+ **/
1931
+ Edited: GenericPalletEvent<'Crowdloan', 'Edited', {
1932
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1933
+ }>;
1934
+ /**
1935
+ * A memo has been updated.
1936
+ **/
1937
+ MemoUpdated: GenericPalletEvent<'Crowdloan', 'MemoUpdated', {
1938
+ who: AccountId32;
1939
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1940
+ memo: Bytes;
1941
+ }>;
1942
+ /**
1943
+ * A parachain has been moved to `NewRaise`
1944
+ **/
1945
+ AddedToNewRaise: GenericPalletEvent<'Crowdloan', 'AddedToNewRaise', {
1946
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
1947
+ }>;
1948
+ /**
1949
+ * Generic pallet event
1950
+ **/
1951
+ [prop: string]: GenericPalletEvent;
1952
+ };
2427
1953
  /**
2428
- * Generic pallet event
1954
+ * Pallet `XcmPallet`'s events
2429
1955
  **/
2430
- [prop: string]: GenericPalletEvent;
2431
- };
2432
- /**
2433
- * Pallet `AssetRate`'s events
2434
- **/
2435
- assetRate: {
2436
- AssetRateCreated: GenericPalletEvent<
2437
- 'AssetRate',
2438
- 'AssetRateCreated',
2439
- { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; rate: FixedU128 }
2440
- >;
2441
- AssetRateRemoved: GenericPalletEvent<
2442
- 'AssetRate',
2443
- 'AssetRateRemoved',
2444
- { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset }
2445
- >;
2446
- AssetRateUpdated: GenericPalletEvent<
2447
- 'AssetRate',
2448
- 'AssetRateUpdated',
2449
- { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 }
2450
- >;
2451
-
1956
+ xcmPallet: {
1957
+ /**
1958
+ * Execution of an XCM message was attempted.
1959
+ **/
1960
+ Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', {
1961
+ outcome: XcmV3TraitsOutcome;
1962
+ }>;
1963
+ /**
1964
+ * A XCM message was sent.
1965
+ **/
1966
+ Sent: GenericPalletEvent<'XcmPallet', 'Sent', {
1967
+ origin: StagingXcmV3MultilocationMultiLocation;
1968
+ destination: StagingXcmV3MultilocationMultiLocation;
1969
+ message: XcmV3Xcm;
1970
+ messageId: FixedBytes<32>;
1971
+ }>;
1972
+ /**
1973
+ * Query response received which does not match a registered query. This may be because a
1974
+ * matching query was never registered, it may be because it is a duplicate response, or
1975
+ * because the query timed out.
1976
+ **/
1977
+ UnexpectedResponse: GenericPalletEvent<'XcmPallet', 'UnexpectedResponse', {
1978
+ origin: StagingXcmV3MultilocationMultiLocation;
1979
+ queryId: bigint;
1980
+ }>;
1981
+ /**
1982
+ * Query response has been received and is ready for taking with `take_response`. There is
1983
+ * no registered notification call.
1984
+ **/
1985
+ ResponseReady: GenericPalletEvent<'XcmPallet', 'ResponseReady', {
1986
+ queryId: bigint;
1987
+ response: XcmV3Response;
1988
+ }>;
1989
+ /**
1990
+ * Query response has been received and query is removed. The registered notification has
1991
+ * been dispatched and executed successfully.
1992
+ **/
1993
+ Notified: GenericPalletEvent<'XcmPallet', 'Notified', {
1994
+ queryId: bigint;
1995
+ palletIndex: number;
1996
+ callIndex: number;
1997
+ }>;
1998
+ /**
1999
+ * Query response has been received and query is removed. The registered notification
2000
+ * could not be dispatched because the dispatch weight is greater than the maximum weight
2001
+ * originally budgeted by this runtime for the query result.
2002
+ **/
2003
+ NotifyOverweight: GenericPalletEvent<'XcmPallet', 'NotifyOverweight', {
2004
+ queryId: bigint;
2005
+ palletIndex: number;
2006
+ callIndex: number;
2007
+ actualWeight: SpWeightsWeightV2Weight;
2008
+ maxBudgetedWeight: SpWeightsWeightV2Weight;
2009
+ }>;
2010
+ /**
2011
+ * Query response has been received and query is removed. There was a general error with
2012
+ * dispatching the notification call.
2013
+ **/
2014
+ NotifyDispatchError: GenericPalletEvent<'XcmPallet', 'NotifyDispatchError', {
2015
+ queryId: bigint;
2016
+ palletIndex: number;
2017
+ callIndex: number;
2018
+ }>;
2019
+ /**
2020
+ * Query response has been received and query is removed. The dispatch was unable to be
2021
+ * decoded into a `Call`; this might be due to dispatch function having a signature which
2022
+ * is not `(origin, QueryId, Response)`.
2023
+ **/
2024
+ NotifyDecodeFailed: GenericPalletEvent<'XcmPallet', 'NotifyDecodeFailed', {
2025
+ queryId: bigint;
2026
+ palletIndex: number;
2027
+ callIndex: number;
2028
+ }>;
2029
+ /**
2030
+ * Expected query response has been received but the origin location of the response does
2031
+ * not match that expected. The query remains registered for a later, valid, response to
2032
+ * be received and acted upon.
2033
+ **/
2034
+ InvalidResponder: GenericPalletEvent<'XcmPallet', 'InvalidResponder', {
2035
+ origin: StagingXcmV3MultilocationMultiLocation;
2036
+ queryId: bigint;
2037
+ expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
2038
+ }>;
2039
+ /**
2040
+ * Expected query response has been received but the expected origin location placed in
2041
+ * storage by this runtime previously cannot be decoded. The query remains registered.
2042
+ *
2043
+ * This is unexpected (since a location placed in storage in a previously executing
2044
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
2045
+ * valid response will be dropped. Manual governance intervention is probably going to be
2046
+ * needed.
2047
+ **/
2048
+ InvalidResponderVersion: GenericPalletEvent<'XcmPallet', 'InvalidResponderVersion', {
2049
+ origin: StagingXcmV3MultilocationMultiLocation;
2050
+ queryId: bigint;
2051
+ }>;
2052
+ /**
2053
+ * Received query response has been read and removed.
2054
+ **/
2055
+ ResponseTaken: GenericPalletEvent<'XcmPallet', 'ResponseTaken', {
2056
+ queryId: bigint;
2057
+ }>;
2058
+ /**
2059
+ * Some assets have been placed in an asset trap.
2060
+ **/
2061
+ AssetsTrapped: GenericPalletEvent<'XcmPallet', 'AssetsTrapped', {
2062
+ hash: H256;
2063
+ origin: StagingXcmV3MultilocationMultiLocation;
2064
+ assets: XcmVersionedMultiAssets;
2065
+ }>;
2066
+ /**
2067
+ * An XCM version change notification message has been attempted to be sent.
2068
+ *
2069
+ * The cost of sending it (borne by the chain) is included.
2070
+ **/
2071
+ VersionChangeNotified: GenericPalletEvent<'XcmPallet', 'VersionChangeNotified', {
2072
+ destination: StagingXcmV3MultilocationMultiLocation;
2073
+ result: number;
2074
+ cost: XcmV3MultiassetMultiAssets;
2075
+ messageId: FixedBytes<32>;
2076
+ }>;
2077
+ /**
2078
+ * The supported version of a location has been changed. This might be through an
2079
+ * automatic notification or a manual intervention.
2080
+ **/
2081
+ SupportedVersionChanged: GenericPalletEvent<'XcmPallet', 'SupportedVersionChanged', {
2082
+ location: StagingXcmV3MultilocationMultiLocation;
2083
+ version: number;
2084
+ }>;
2085
+ /**
2086
+ * A given location which had a version change subscription was dropped owing to an error
2087
+ * sending the notification to it.
2088
+ **/
2089
+ NotifyTargetSendFail: GenericPalletEvent<'XcmPallet', 'NotifyTargetSendFail', {
2090
+ location: StagingXcmV3MultilocationMultiLocation;
2091
+ queryId: bigint;
2092
+ error: XcmV3TraitsError;
2093
+ }>;
2094
+ /**
2095
+ * A given location which had a version change subscription was dropped owing to an error
2096
+ * migrating the location to our new XCM format.
2097
+ **/
2098
+ NotifyTargetMigrationFail: GenericPalletEvent<'XcmPallet', 'NotifyTargetMigrationFail', {
2099
+ location: XcmVersionedMultiLocation;
2100
+ queryId: bigint;
2101
+ }>;
2102
+ /**
2103
+ * Expected query response has been received but the expected querier location placed in
2104
+ * storage by this runtime previously cannot be decoded. The query remains registered.
2105
+ *
2106
+ * This is unexpected (since a location placed in storage in a previously executing
2107
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
2108
+ * valid response will be dropped. Manual governance intervention is probably going to be
2109
+ * needed.
2110
+ **/
2111
+ InvalidQuerierVersion: GenericPalletEvent<'XcmPallet', 'InvalidQuerierVersion', {
2112
+ origin: StagingXcmV3MultilocationMultiLocation;
2113
+ queryId: bigint;
2114
+ }>;
2115
+ /**
2116
+ * Expected query response has been received but the querier location of the response does
2117
+ * not match the expected. The query remains registered for a later, valid, response to
2118
+ * be received and acted upon.
2119
+ **/
2120
+ InvalidQuerier: GenericPalletEvent<'XcmPallet', 'InvalidQuerier', {
2121
+ origin: StagingXcmV3MultilocationMultiLocation;
2122
+ queryId: bigint;
2123
+ expectedQuerier: StagingXcmV3MultilocationMultiLocation;
2124
+ maybeActualQuerier?: StagingXcmV3MultilocationMultiLocation | undefined;
2125
+ }>;
2126
+ /**
2127
+ * A remote has requested XCM version change notification from us and we have honored it.
2128
+ * A version information message is sent to them and its cost is included.
2129
+ **/
2130
+ VersionNotifyStarted: GenericPalletEvent<'XcmPallet', 'VersionNotifyStarted', {
2131
+ destination: StagingXcmV3MultilocationMultiLocation;
2132
+ cost: XcmV3MultiassetMultiAssets;
2133
+ messageId: FixedBytes<32>;
2134
+ }>;
2135
+ /**
2136
+ * We have requested that a remote chain send us XCM version change notifications.
2137
+ **/
2138
+ VersionNotifyRequested: GenericPalletEvent<'XcmPallet', 'VersionNotifyRequested', {
2139
+ destination: StagingXcmV3MultilocationMultiLocation;
2140
+ cost: XcmV3MultiassetMultiAssets;
2141
+ messageId: FixedBytes<32>;
2142
+ }>;
2143
+ /**
2144
+ * We have requested that a remote chain stops sending us XCM version change
2145
+ * notifications.
2146
+ **/
2147
+ VersionNotifyUnrequested: GenericPalletEvent<'XcmPallet', 'VersionNotifyUnrequested', {
2148
+ destination: StagingXcmV3MultilocationMultiLocation;
2149
+ cost: XcmV3MultiassetMultiAssets;
2150
+ messageId: FixedBytes<32>;
2151
+ }>;
2152
+ /**
2153
+ * Fees were paid from a location for an operation (often for using `SendXcm`).
2154
+ **/
2155
+ FeesPaid: GenericPalletEvent<'XcmPallet', 'FeesPaid', {
2156
+ paying: StagingXcmV3MultilocationMultiLocation;
2157
+ fees: XcmV3MultiassetMultiAssets;
2158
+ }>;
2159
+ /**
2160
+ * Some assets have been claimed from an asset trap
2161
+ **/
2162
+ AssetsClaimed: GenericPalletEvent<'XcmPallet', 'AssetsClaimed', {
2163
+ hash: H256;
2164
+ origin: StagingXcmV3MultilocationMultiLocation;
2165
+ assets: XcmVersionedMultiAssets;
2166
+ }>;
2167
+ /**
2168
+ * Generic pallet event
2169
+ **/
2170
+ [prop: string]: GenericPalletEvent;
2171
+ };
2452
2172
  /**
2453
- * Generic pallet event
2173
+ * Pallet `MessageQueue`'s events
2454
2174
  **/
2455
- [prop: string]: GenericPalletEvent;
2456
- };
2175
+ messageQueue: {
2176
+ /**
2177
+ * Message discarded due to an error in the `MessageProcessor` (usually a format error).
2178
+ **/
2179
+ ProcessingFailed: GenericPalletEvent<'MessageQueue', 'ProcessingFailed', {
2180
+ id: FixedBytes<32>;
2181
+ origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2182
+ error: FrameSupportMessagesProcessMessageError;
2183
+ }>;
2184
+ /**
2185
+ * Message is processed.
2186
+ **/
2187
+ Processed: GenericPalletEvent<'MessageQueue', 'Processed', {
2188
+ id: FixedBytes<32>;
2189
+ origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2190
+ weightUsed: SpWeightsWeightV2Weight;
2191
+ success: boolean;
2192
+ }>;
2193
+ /**
2194
+ * Message placed in overweight queue.
2195
+ **/
2196
+ OverweightEnqueued: GenericPalletEvent<'MessageQueue', 'OverweightEnqueued', {
2197
+ id: FixedBytes<32>;
2198
+ origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2199
+ pageIndex: number;
2200
+ messageIndex: number;
2201
+ }>;
2202
+ /**
2203
+ * This page was reaped.
2204
+ **/
2205
+ PageReaped: GenericPalletEvent<'MessageQueue', 'PageReaped', {
2206
+ origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2207
+ index: number;
2208
+ }>;
2209
+ /**
2210
+ * Generic pallet event
2211
+ **/
2212
+ [prop: string]: GenericPalletEvent;
2213
+ };
2214
+ /**
2215
+ * Pallet `AssetRate`'s events
2216
+ **/
2217
+ assetRate: {
2218
+ AssetRateCreated: GenericPalletEvent<'AssetRate', 'AssetRateCreated', {
2219
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
2220
+ rate: FixedU128;
2221
+ }>;
2222
+ AssetRateRemoved: GenericPalletEvent<'AssetRate', 'AssetRateRemoved', {
2223
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
2224
+ }>;
2225
+ AssetRateUpdated: GenericPalletEvent<'AssetRate', 'AssetRateUpdated', {
2226
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
2227
+ old: FixedU128;
2228
+ new: FixedU128;
2229
+ }>;
2230
+ /**
2231
+ * Generic pallet event
2232
+ **/
2233
+ [prop: string]: GenericPalletEvent;
2234
+ };
2457
2235
  }