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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/README.md +3 -1
  2. package/aleph/consts.d.ts +590 -528
  3. package/aleph/errors.d.ts +981 -818
  4. package/aleph/events.d.ts +924 -937
  5. package/aleph/index.d.ts +11 -8
  6. package/aleph/query.d.ts +1477 -1268
  7. package/aleph/rpc.d.ts +725 -573
  8. package/aleph/runtime.d.ts +541 -406
  9. package/aleph/tx.d.ts +2664 -2202
  10. package/aleph/types.d.ts +3474 -5388
  11. package/astar/consts.d.ts +691 -675
  12. package/astar/errors.d.ts +1465 -1313
  13. package/astar/events.d.ts +1642 -1628
  14. package/astar/index.d.ts +11 -8
  15. package/astar/query.d.ts +1682 -1471
  16. package/astar/rpc.d.ts +972 -773
  17. package/astar/runtime.d.ts +747 -258
  18. package/astar/tx.d.ts +3708 -4806
  19. package/astar/types.d.ts +6088 -12266
  20. package/index.d.ts +1 -0
  21. package/index.ts +11 -0
  22. package/kusama/consts.d.ts +1573 -1422
  23. package/kusama/errors.d.ts +2995 -2490
  24. package/kusama/events.d.ts +2996 -2723
  25. package/kusama/index.d.ts +11 -8
  26. package/kusama/query.d.ts +3828 -3248
  27. package/kusama/rpc.d.ts +902 -724
  28. package/kusama/runtime.d.ts +1130 -840
  29. package/kusama/tx.d.ts +7073 -6010
  30. package/kusama/types.d.ts +10151 -15344
  31. package/kusamaAssetHub/consts.d.ts +714 -627
  32. package/kusamaAssetHub/errors.d.ts +1405 -1160
  33. package/kusamaAssetHub/events.d.ts +2149 -2060
  34. package/kusamaAssetHub/index.d.ts +11 -8
  35. package/kusamaAssetHub/query.d.ts +1551 -1298
  36. package/kusamaAssetHub/rpc.d.ts +744 -588
  37. package/kusamaAssetHub/runtime.d.ts +510 -398
  38. package/kusamaAssetHub/tx.d.ts +5050 -4212
  39. package/kusamaAssetHub/types.d.ts +5976 -10009
  40. package/moonbeam/consts.d.ts +1075 -956
  41. package/moonbeam/errors.d.ts +2131 -1793
  42. package/moonbeam/events.d.ts +2932 -2681
  43. package/moonbeam/index.d.ts +11 -8
  44. package/moonbeam/query.d.ts +2391 -2024
  45. package/moonbeam/rpc.d.ts +969 -807
  46. package/moonbeam/runtime.d.ts +665 -502
  47. package/moonbeam/tx.d.ts +6152 -5201
  48. package/moonbeam/types.d.ts +7731 -12035
  49. package/package.json +9 -16
  50. package/polkadot/consts.d.ts +1272 -1155
  51. package/polkadot/errors.d.ts +2420 -2016
  52. package/polkadot/events.d.ts +2314 -2092
  53. package/polkadot/index.d.ts +11 -8
  54. package/polkadot/query.d.ts +3319 -2808
  55. package/polkadot/rpc.d.ts +902 -724
  56. package/polkadot/runtime.d.ts +1130 -840
  57. package/polkadot/tx.d.ts +5909 -5005
  58. package/polkadot/types.d.ts +8742 -13290
  59. package/polkadotAssetHub/consts.d.ts +586 -519
  60. package/polkadotAssetHub/errors.d.ts +1115 -921
  61. package/polkadotAssetHub/events.d.ts +1850 -1782
  62. package/polkadotAssetHub/index.d.ts +11 -8
  63. package/polkadotAssetHub/query.d.ts +1457 -1219
  64. package/polkadotAssetHub/rpc.d.ts +744 -588
  65. package/polkadotAssetHub/runtime.d.ts +447 -355
  66. package/polkadotAssetHub/tx.d.ts +4184 -3487
  67. package/polkadotAssetHub/types.d.ts +5183 -8808
  68. package/rococo/consts.d.ts +1396 -0
  69. package/rococo/errors.d.ts +2860 -0
  70. package/rococo/events.d.ts +3142 -0
  71. package/rococo/index.d.ts +22 -0
  72. package/rococo/query.d.ts +3275 -0
  73. package/rococo/rpc.d.ts +904 -0
  74. package/rococo/runtime.d.ts +1052 -0
  75. package/rococo/tx.d.ts +9083 -0
  76. package/rococo/types.d.ts +14573 -0
  77. package/rococoAssetHub/consts.d.ts +751 -653
  78. package/rococoAssetHub/errors.d.ts +1495 -1227
  79. package/rococoAssetHub/events.d.ts +2127 -2047
  80. package/rococoAssetHub/index.d.ts +11 -8
  81. package/rococoAssetHub/query.d.ts +1520 -1266
  82. package/rococoAssetHub/rpc.d.ts +744 -588
  83. package/rococoAssetHub/runtime.d.ts +539 -424
  84. package/rococoAssetHub/tx.d.ts +7826 -4302
  85. package/rococoAssetHub/types.d.ts +11614 -10637
  86. package/substrate/consts.d.ts +2218 -1966
  87. package/substrate/errors.d.ts +4019 -3333
  88. package/substrate/events.d.ts +4585 -4255
  89. package/substrate/index.d.ts +11 -8
  90. package/substrate/query.d.ts +3887 -3347
  91. package/substrate/rpc.d.ts +913 -716
  92. package/substrate/runtime.d.ts +937 -704
  93. package/substrate/tx.d.ts +10387 -8796
  94. package/substrate/types.d.ts +12809 -19761
  95. package/westendAssetHub/consts.d.ts +751 -653
  96. package/westendAssetHub/errors.d.ts +1495 -1227
  97. package/westendAssetHub/events.d.ts +2127 -2047
  98. package/westendAssetHub/index.d.ts +11 -8
  99. package/westendAssetHub/query.d.ts +1520 -1266
  100. package/westendAssetHub/rpc.d.ts +744 -588
  101. package/westendAssetHub/runtime.d.ts +606 -452
  102. package/westendAssetHub/tx.d.ts +7826 -4302
  103. package/westendAssetHub/types.d.ts +11614 -10634
  104. package/aleph/consts.js +0 -2
  105. package/aleph/errors.js +0 -2
  106. package/aleph/events.js +0 -2
  107. package/aleph/index.js +0 -3
  108. package/aleph/query.js +0 -2
  109. package/aleph/rpc.js +0 -2
  110. package/aleph/runtime.js +0 -2
  111. package/aleph/tx.js +0 -2
  112. package/aleph/types.js +0 -2
  113. package/astar/consts.js +0 -2
  114. package/astar/errors.js +0 -2
  115. package/astar/events.js +0 -2
  116. package/astar/index.js +0 -3
  117. package/astar/query.js +0 -2
  118. package/astar/rpc.js +0 -2
  119. package/astar/runtime.js +0 -2
  120. package/astar/tx.js +0 -2
  121. package/astar/types.js +0 -2
  122. package/cjs/aleph/consts.js +0 -3
  123. package/cjs/aleph/errors.js +0 -3
  124. package/cjs/aleph/events.js +0 -3
  125. package/cjs/aleph/index.js +0 -19
  126. package/cjs/aleph/query.js +0 -3
  127. package/cjs/aleph/rpc.js +0 -3
  128. package/cjs/aleph/runtime.js +0 -3
  129. package/cjs/aleph/tx.js +0 -3
  130. package/cjs/aleph/types.js +0 -3
  131. package/cjs/astar/consts.js +0 -3
  132. package/cjs/astar/errors.js +0 -3
  133. package/cjs/astar/events.js +0 -3
  134. package/cjs/astar/index.js +0 -19
  135. package/cjs/astar/query.js +0 -3
  136. package/cjs/astar/rpc.js +0 -3
  137. package/cjs/astar/runtime.js +0 -3
  138. package/cjs/astar/tx.js +0 -3
  139. package/cjs/astar/types.js +0 -3
  140. package/cjs/index.js +0 -2
  141. package/cjs/kusama/consts.js +0 -3
  142. package/cjs/kusama/errors.js +0 -3
  143. package/cjs/kusama/events.js +0 -3
  144. package/cjs/kusama/index.js +0 -19
  145. package/cjs/kusama/query.js +0 -3
  146. package/cjs/kusama/rpc.js +0 -3
  147. package/cjs/kusama/runtime.js +0 -3
  148. package/cjs/kusama/tx.js +0 -3
  149. package/cjs/kusama/types.js +0 -3
  150. package/cjs/kusamaAssetHub/consts.js +0 -3
  151. package/cjs/kusamaAssetHub/errors.js +0 -3
  152. package/cjs/kusamaAssetHub/events.js +0 -3
  153. package/cjs/kusamaAssetHub/index.js +0 -19
  154. package/cjs/kusamaAssetHub/query.js +0 -3
  155. package/cjs/kusamaAssetHub/rpc.js +0 -3
  156. package/cjs/kusamaAssetHub/runtime.js +0 -3
  157. package/cjs/kusamaAssetHub/tx.js +0 -3
  158. package/cjs/kusamaAssetHub/types.js +0 -3
  159. package/cjs/moonbeam/consts.js +0 -3
  160. package/cjs/moonbeam/errors.js +0 -3
  161. package/cjs/moonbeam/events.js +0 -3
  162. package/cjs/moonbeam/index.js +0 -19
  163. package/cjs/moonbeam/query.js +0 -3
  164. package/cjs/moonbeam/rpc.js +0 -3
  165. package/cjs/moonbeam/runtime.js +0 -3
  166. package/cjs/moonbeam/tx.js +0 -3
  167. package/cjs/moonbeam/types.js +0 -3
  168. package/cjs/package.json +0 -1
  169. package/cjs/packageInfo.js +0 -5
  170. package/cjs/polkadot/consts.js +0 -3
  171. package/cjs/polkadot/errors.js +0 -3
  172. package/cjs/polkadot/events.js +0 -3
  173. package/cjs/polkadot/index.js +0 -19
  174. package/cjs/polkadot/query.js +0 -3
  175. package/cjs/polkadot/rpc.js +0 -3
  176. package/cjs/polkadot/runtime.js +0 -3
  177. package/cjs/polkadot/tx.js +0 -3
  178. package/cjs/polkadot/types.js +0 -3
  179. package/cjs/polkadotAssetHub/consts.js +0 -3
  180. package/cjs/polkadotAssetHub/errors.js +0 -3
  181. package/cjs/polkadotAssetHub/events.js +0 -3
  182. package/cjs/polkadotAssetHub/index.js +0 -19
  183. package/cjs/polkadotAssetHub/query.js +0 -3
  184. package/cjs/polkadotAssetHub/rpc.js +0 -3
  185. package/cjs/polkadotAssetHub/runtime.js +0 -3
  186. package/cjs/polkadotAssetHub/tx.js +0 -3
  187. package/cjs/polkadotAssetHub/types.js +0 -3
  188. package/cjs/rococoAssetHub/consts.js +0 -3
  189. package/cjs/rococoAssetHub/errors.js +0 -3
  190. package/cjs/rococoAssetHub/events.js +0 -3
  191. package/cjs/rococoAssetHub/index.js +0 -19
  192. package/cjs/rococoAssetHub/query.js +0 -3
  193. package/cjs/rococoAssetHub/rpc.js +0 -3
  194. package/cjs/rococoAssetHub/runtime.js +0 -3
  195. package/cjs/rococoAssetHub/tx.js +0 -3
  196. package/cjs/rococoAssetHub/types.js +0 -3
  197. package/cjs/substrate/consts.js +0 -3
  198. package/cjs/substrate/errors.js +0 -3
  199. package/cjs/substrate/events.js +0 -3
  200. package/cjs/substrate/index.js +0 -19
  201. package/cjs/substrate/query.js +0 -3
  202. package/cjs/substrate/rpc.js +0 -3
  203. package/cjs/substrate/runtime.js +0 -3
  204. package/cjs/substrate/tx.js +0 -3
  205. package/cjs/substrate/types.js +0 -3
  206. package/cjs/westendAssetHub/consts.js +0 -3
  207. package/cjs/westendAssetHub/errors.js +0 -3
  208. package/cjs/westendAssetHub/events.js +0 -3
  209. package/cjs/westendAssetHub/index.js +0 -19
  210. package/cjs/westendAssetHub/query.js +0 -3
  211. package/cjs/westendAssetHub/rpc.js +0 -3
  212. package/cjs/westendAssetHub/runtime.js +0 -3
  213. package/cjs/westendAssetHub/tx.js +0 -3
  214. package/cjs/westendAssetHub/types.js +0 -3
  215. package/kusama/consts.js +0 -2
  216. package/kusama/errors.js +0 -2
  217. package/kusama/events.js +0 -2
  218. package/kusama/index.js +0 -3
  219. package/kusama/query.js +0 -2
  220. package/kusama/rpc.js +0 -2
  221. package/kusama/runtime.js +0 -2
  222. package/kusama/tx.js +0 -2
  223. package/kusama/types.js +0 -2
  224. package/kusamaAssetHub/consts.js +0 -2
  225. package/kusamaAssetHub/errors.js +0 -2
  226. package/kusamaAssetHub/events.js +0 -2
  227. package/kusamaAssetHub/index.js +0 -3
  228. package/kusamaAssetHub/query.js +0 -2
  229. package/kusamaAssetHub/rpc.js +0 -2
  230. package/kusamaAssetHub/runtime.js +0 -2
  231. package/kusamaAssetHub/tx.js +0 -2
  232. package/kusamaAssetHub/types.js +0 -2
  233. package/moonbeam/consts.js +0 -2
  234. package/moonbeam/errors.js +0 -2
  235. package/moonbeam/events.js +0 -2
  236. package/moonbeam/index.js +0 -3
  237. package/moonbeam/query.js +0 -2
  238. package/moonbeam/rpc.js +0 -2
  239. package/moonbeam/runtime.js +0 -2
  240. package/moonbeam/tx.js +0 -2
  241. package/moonbeam/types.js +0 -2
  242. package/packageInfo.d.ts +0 -4
  243. package/packageInfo.js +0 -2
  244. package/polkadot/consts.js +0 -2
  245. package/polkadot/errors.js +0 -2
  246. package/polkadot/events.js +0 -2
  247. package/polkadot/index.js +0 -3
  248. package/polkadot/query.js +0 -2
  249. package/polkadot/rpc.js +0 -2
  250. package/polkadot/runtime.js +0 -2
  251. package/polkadot/tx.js +0 -2
  252. package/polkadot/types.js +0 -2
  253. package/polkadotAssetHub/consts.js +0 -2
  254. package/polkadotAssetHub/errors.js +0 -2
  255. package/polkadotAssetHub/events.js +0 -2
  256. package/polkadotAssetHub/index.js +0 -3
  257. package/polkadotAssetHub/query.js +0 -2
  258. package/polkadotAssetHub/rpc.js +0 -2
  259. package/polkadotAssetHub/runtime.js +0 -2
  260. package/polkadotAssetHub/tx.js +0 -2
  261. package/polkadotAssetHub/types.js +0 -2
  262. package/rococoAssetHub/consts.js +0 -2
  263. package/rococoAssetHub/errors.js +0 -2
  264. package/rococoAssetHub/events.js +0 -2
  265. package/rococoAssetHub/index.js +0 -3
  266. package/rococoAssetHub/query.js +0 -2
  267. package/rococoAssetHub/rpc.js +0 -2
  268. package/rococoAssetHub/runtime.js +0 -2
  269. package/rococoAssetHub/tx.js +0 -2
  270. package/rococoAssetHub/types.js +0 -2
  271. package/substrate/consts.js +0 -2
  272. package/substrate/errors.js +0 -2
  273. package/substrate/events.js +0 -2
  274. package/substrate/index.js +0 -3
  275. package/substrate/query.js +0 -2
  276. package/substrate/rpc.js +0 -2
  277. package/substrate/runtime.js +0 -2
  278. package/substrate/tx.js +0 -2
  279. package/substrate/types.js +0 -2
  280. package/westendAssetHub/consts.js +0 -2
  281. package/westendAssetHub/errors.js +0 -2
  282. package/westendAssetHub/events.js +0 -2
  283. package/westendAssetHub/index.js +0 -3
  284. package/westendAssetHub/query.js +0 -2
  285. package/westendAssetHub/rpc.js +0 -2
  286. package/westendAssetHub/runtime.js +0 -2
  287. package/westendAssetHub/tx.js +0 -2
  288. package/westendAssetHub/types.js +0 -2
@@ -1,2235 +1,2457 @@
1
+ // Generated by @dedot/codegen
2
+
1
3
  import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
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';
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
+
4
59
  export interface ChainEvents extends GenericChainEvents {
60
+ /**
61
+ * Pallet `System`'s events
62
+ **/
63
+ system: {
5
64
  /**
6
- * Pallet `System`'s events
65
+ * An extrinsic completed successfully.
7
66
  **/
8
- system: {
9
- /**
10
- * An extrinsic completed successfully.
11
- **/
12
- ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', {
13
- dispatchInfo: DispatchInfo;
14
- }>;
15
- /**
16
- * An extrinsic failed.
17
- **/
18
- ExtrinsicFailed: GenericPalletEvent<'System', 'ExtrinsicFailed', {
19
- dispatchError: DispatchError;
20
- dispatchInfo: DispatchInfo;
21
- }>;
22
- /**
23
- * `:code` was updated.
24
- **/
25
- CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
26
- /**
27
- * A new account was created.
28
- **/
29
- NewAccount: GenericPalletEvent<'System', 'NewAccount', {
30
- account: AccountId32;
31
- }>;
32
- /**
33
- * An account was reaped.
34
- **/
35
- KilledAccount: GenericPalletEvent<'System', 'KilledAccount', {
36
- account: AccountId32;
37
- }>;
38
- /**
39
- * On on-chain remark happened.
40
- **/
41
- Remarked: GenericPalletEvent<'System', 'Remarked', {
42
- sender: AccountId32;
43
- hash: H256;
44
- }>;
45
- /**
46
- * Generic pallet event
47
- **/
48
- [prop: string]: GenericPalletEvent;
49
- };
67
+ ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
68
+
50
69
  /**
51
- * Pallet `Scheduler`'s events
70
+ * An extrinsic failed.
52
71
  **/
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
- }>;
68
- /**
69
- * Dispatched some task.
70
- **/
71
- Dispatched: GenericPalletEvent<'Scheduler', 'Dispatched', {
72
- task: [number, number];
73
- id?: FixedBytes<32> | undefined;
74
- result: Result<[], DispatchError>;
75
- }>;
76
- /**
77
- * The call for the provided hash was not found so the task has been aborted.
78
- **/
79
- CallUnavailable: GenericPalletEvent<'Scheduler', 'CallUnavailable', {
80
- task: [number, number];
81
- id?: FixedBytes<32> | undefined;
82
- }>;
83
- /**
84
- * The given task was unable to be renewed since the agenda is full at that block.
85
- **/
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
- };
72
+ ExtrinsicFailed: GenericPalletEvent<
73
+ 'System',
74
+ 'ExtrinsicFailed',
75
+ { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
76
+ >;
77
+
102
78
  /**
103
- * Pallet `Preimage`'s events
79
+ * `:code` was updated.
104
80
  **/
105
- preimage: {
106
- /**
107
- * A preimage has been noted.
108
- **/
109
- Noted: GenericPalletEvent<'Preimage', 'Noted', {
110
- hash: H256;
111
- }>;
112
- /**
113
- * A preimage has been requested.
114
- **/
115
- Requested: GenericPalletEvent<'Preimage', 'Requested', {
116
- hash: H256;
117
- }>;
118
- /**
119
- * A preimage has ben cleared.
120
- **/
121
- Cleared: GenericPalletEvent<'Preimage', 'Cleared', {
122
- hash: H256;
123
- }>;
124
- /**
125
- * Generic pallet event
126
- **/
127
- [prop: string]: GenericPalletEvent;
128
- };
81
+ CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
82
+
129
83
  /**
130
- * Pallet `Indices`'s events
84
+ * A new account was created.
131
85
  **/
132
- indices: {
133
- /**
134
- * A account index was assigned.
135
- **/
136
- IndexAssigned: GenericPalletEvent<'Indices', 'IndexAssigned', {
137
- who: AccountId32;
138
- index: number;
139
- }>;
140
- /**
141
- * A account index has been freed up (unassigned).
142
- **/
143
- IndexFreed: GenericPalletEvent<'Indices', 'IndexFreed', {
144
- index: number;
145
- }>;
146
- /**
147
- * A account index has been frozen to its current account ID.
148
- **/
149
- IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', {
150
- index: number;
151
- who: AccountId32;
152
- }>;
153
- /**
154
- * Generic pallet event
155
- **/
156
- [prop: string]: GenericPalletEvent;
157
- };
86
+ NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
87
+
158
88
  /**
159
- * Pallet `Balances`'s events
89
+ * An account was reaped.
160
90
  **/
161
- balances: {
162
- /**
163
- * An account was created with some free balance.
164
- **/
165
- Endowed: GenericPalletEvent<'Balances', 'Endowed', {
166
- account: AccountId32;
167
- freeBalance: bigint;
168
- }>;
169
- /**
170
- * An account was removed whose balance was non-zero but below ExistentialDeposit,
171
- * resulting in an outright loss.
172
- **/
173
- DustLost: GenericPalletEvent<'Balances', 'DustLost', {
174
- account: AccountId32;
175
- amount: bigint;
176
- }>;
177
- /**
178
- * Transfer succeeded.
179
- **/
180
- Transfer: GenericPalletEvent<'Balances', 'Transfer', {
181
- from: AccountId32;
182
- to: AccountId32;
183
- amount: bigint;
184
- }>;
185
- /**
186
- * A balance was set by root.
187
- **/
188
- BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', {
189
- who: AccountId32;
190
- free: bigint;
191
- }>;
192
- /**
193
- * Some balance was reserved (moved from free to reserved).
194
- **/
195
- Reserved: GenericPalletEvent<'Balances', 'Reserved', {
196
- who: AccountId32;
197
- amount: bigint;
198
- }>;
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
+ {
199
674
  /**
200
- * Some balance was unreserved (moved from reserved to free).
675
+ * Index of the referendum.
201
676
  **/
202
- Unreserved: GenericPalletEvent<'Balances', 'Unreserved', {
203
- who: AccountId32;
204
- amount: bigint;
205
- }>;
677
+ index: number;
678
+
206
679
  /**
207
- * Some balance was moved from the reserve of the first account to the second account.
208
- * Final argument indicates the destination balance type.
680
+ * The track (and by extension proposal dispatch origin) of this referendum.
209
681
  **/
210
- ReserveRepatriated: GenericPalletEvent<'Balances', 'ReserveRepatriated', {
211
- from: AccountId32;
212
- to: AccountId32;
213
- amount: bigint;
214
- destinationStatus: FrameSupportTokensMiscBalanceStatus;
215
- }>;
682
+ track: number;
683
+
216
684
  /**
217
- * Some amount was deposited (e.g. for transaction fees).
685
+ * The proposal for the referendum.
218
686
  **/
219
- Deposit: GenericPalletEvent<'Balances', 'Deposit', {
220
- who: AccountId32;
221
- amount: bigint;
222
- }>;
687
+ proposal: FrameSupportPreimagesBounded;
688
+ }
689
+ >;
690
+
691
+ /**
692
+ * The decision deposit has been placed.
693
+ **/
694
+ DecisionDepositPlaced: GenericPalletEvent<
695
+ 'Referenda',
696
+ 'DecisionDepositPlaced',
697
+ {
223
698
  /**
224
- * Some amount was withdrawn from the account (e.g. for transaction fees).
699
+ * Index of the referendum.
225
700
  **/
226
- Withdraw: GenericPalletEvent<'Balances', 'Withdraw', {
227
- who: AccountId32;
228
- amount: bigint;
229
- }>;
701
+ index: number;
702
+
230
703
  /**
231
- * Some amount was removed from the account (e.g. for misbehavior).
704
+ * The account who placed the deposit.
232
705
  **/
233
- Slashed: GenericPalletEvent<'Balances', 'Slashed', {
234
- who: AccountId32;
235
- amount: bigint;
236
- }>;
706
+ who: AccountId32;
707
+
237
708
  /**
238
- * Some amount was minted into an account.
709
+ * The amount placed by the account.
239
710
  **/
240
- Minted: GenericPalletEvent<'Balances', 'Minted', {
241
- who: AccountId32;
242
- amount: bigint;
243
- }>;
711
+ amount: bigint;
712
+ }
713
+ >;
714
+
715
+ /**
716
+ * The decision deposit has been refunded.
717
+ **/
718
+ DecisionDepositRefunded: GenericPalletEvent<
719
+ 'Referenda',
720
+ 'DecisionDepositRefunded',
721
+ {
244
722
  /**
245
- * Some amount was burned from an account.
723
+ * Index of the referendum.
246
724
  **/
247
- Burned: GenericPalletEvent<'Balances', 'Burned', {
248
- who: AccountId32;
249
- amount: bigint;
250
- }>;
725
+ index: number;
726
+
251
727
  /**
252
- * Some amount was suspended from an account (it can be restored later).
728
+ * The account who placed the deposit.
253
729
  **/
254
- Suspended: GenericPalletEvent<'Balances', 'Suspended', {
255
- who: AccountId32;
256
- amount: bigint;
257
- }>;
730
+ who: AccountId32;
731
+
258
732
  /**
259
- * Some amount was restored into an account.
733
+ * The amount placed by the account.
260
734
  **/
261
- Restored: GenericPalletEvent<'Balances', 'Restored', {
262
- who: AccountId32;
263
- amount: bigint;
264
- }>;
735
+ amount: bigint;
736
+ }
737
+ >;
738
+
739
+ /**
740
+ * A deposit has been slashaed.
741
+ **/
742
+ DepositSlashed: GenericPalletEvent<
743
+ 'Referenda',
744
+ 'DepositSlashed',
745
+ {
265
746
  /**
266
- * An account was upgraded.
747
+ * The account who placed the deposit.
267
748
  **/
268
- Upgraded: GenericPalletEvent<'Balances', 'Upgraded', {
269
- who: AccountId32;
270
- }>;
749
+ who: AccountId32;
750
+
271
751
  /**
272
- * Total issuance was increased by `amount`, creating a credit to be balanced.
752
+ * The amount placed by the account.
273
753
  **/
274
- Issued: GenericPalletEvent<'Balances', 'Issued', {
275
- amount: bigint;
276
- }>;
754
+ amount: bigint;
755
+ }
756
+ >;
757
+
758
+ /**
759
+ * A referendum has moved into the deciding phase.
760
+ **/
761
+ DecisionStarted: GenericPalletEvent<
762
+ 'Referenda',
763
+ 'DecisionStarted',
764
+ {
277
765
  /**
278
- * Total issuance was decreased by `amount`, creating a debt to be balanced.
766
+ * Index of the referendum.
279
767
  **/
280
- Rescinded: GenericPalletEvent<'Balances', 'Rescinded', {
281
- amount: bigint;
282
- }>;
768
+ index: number;
769
+
283
770
  /**
284
- * Some balance was locked.
771
+ * The track (and by extension proposal dispatch origin) of this referendum.
285
772
  **/
286
- Locked: GenericPalletEvent<'Balances', 'Locked', {
287
- who: AccountId32;
288
- amount: bigint;
289
- }>;
773
+ track: number;
774
+
290
775
  /**
291
- * Some balance was unlocked.
776
+ * The proposal for the referendum.
292
777
  **/
293
- Unlocked: GenericPalletEvent<'Balances', 'Unlocked', {
294
- who: AccountId32;
295
- amount: bigint;
296
- }>;
778
+ proposal: FrameSupportPreimagesBounded;
779
+
297
780
  /**
298
- * Some balance was frozen.
781
+ * The current tally of votes in this referendum.
299
782
  **/
300
- Frozen: GenericPalletEvent<'Balances', 'Frozen', {
301
- who: AccountId32;
302
- amount: bigint;
303
- }>;
783
+ tally: PalletConvictionVotingTally;
784
+ }
785
+ >;
786
+ ConfirmStarted: GenericPalletEvent<
787
+ 'Referenda',
788
+ 'ConfirmStarted',
789
+ {
304
790
  /**
305
- * Some balance was thawed.
791
+ * Index of the referendum.
306
792
  **/
307
- Thawed: GenericPalletEvent<'Balances', 'Thawed', {
308
- who: AccountId32;
309
- amount: bigint;
310
- }>;
793
+ index: number;
794
+ }
795
+ >;
796
+ ConfirmAborted: GenericPalletEvent<
797
+ 'Referenda',
798
+ 'ConfirmAborted',
799
+ {
311
800
  /**
312
- * Generic pallet event
801
+ * Index of the referendum.
313
802
  **/
314
- [prop: string]: GenericPalletEvent;
315
- };
803
+ index: number;
804
+ }
805
+ >;
806
+
316
807
  /**
317
- * Pallet `TransactionPayment`'s events
808
+ * A referendum has ended its confirmation phase and is ready for approval.
318
809
  **/
319
- transactionPayment: {
810
+ Confirmed: GenericPalletEvent<
811
+ 'Referenda',
812
+ 'Confirmed',
813
+ {
320
814
  /**
321
- * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
322
- * has been paid by `who`.
815
+ * Index of the referendum.
323
816
  **/
324
- TransactionFeePaid: GenericPalletEvent<'TransactionPayment', 'TransactionFeePaid', {
325
- who: AccountId32;
326
- actualFee: bigint;
327
- tip: bigint;
328
- }>;
817
+ index: number;
818
+
329
819
  /**
330
- * Generic pallet event
820
+ * The final tally of votes in this referendum.
331
821
  **/
332
- [prop: string]: GenericPalletEvent;
333
- };
822
+ tally: PalletConvictionVotingTally;
823
+ }
824
+ >;
825
+
334
826
  /**
335
- * Pallet `Staking`'s events
827
+ * A referendum has been approved and its proposal has been scheduled.
336
828
  **/
337
- staking: {
829
+ Approved: GenericPalletEvent<
830
+ 'Referenda',
831
+ 'Approved',
832
+ {
338
833
  /**
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.
834
+ * Index of the referendum.
341
835
  **/
342
- EraPaid: GenericPalletEvent<'Staking', 'EraPaid', {
343
- eraIndex: number;
344
- validatorPayout: bigint;
345
- remainder: bigint;
346
- }>;
836
+ index: number;
837
+ }
838
+ >;
839
+
840
+ /**
841
+ * A proposal has been rejected by referendum.
842
+ **/
843
+ Rejected: GenericPalletEvent<
844
+ 'Referenda',
845
+ 'Rejected',
846
+ {
347
847
  /**
348
- * The nominator has been rewarded by this amount to this destination.
848
+ * Index of the referendum.
349
849
  **/
350
- Rewarded: GenericPalletEvent<'Staking', 'Rewarded', {
351
- stash: AccountId32;
352
- dest: PalletStakingRewardDestination;
353
- amount: bigint;
354
- }>;
850
+ index: number;
851
+
355
852
  /**
356
- * A staker (validator or nominator) has been slashed by the given amount.
853
+ * The final tally of votes in this referendum.
357
854
  **/
358
- Slashed: GenericPalletEvent<'Staking', 'Slashed', {
359
- staker: AccountId32;
360
- amount: bigint;
361
- }>;
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
+ {
362
866
  /**
363
- * A slash for the given validator, for the given percentage of their stake, at the given
364
- * era as been reported.
867
+ * Index of the referendum.
365
868
  **/
366
- SlashReported: GenericPalletEvent<'Staking', 'SlashReported', {
367
- validator: AccountId32;
368
- fraction: Perbill;
369
- slashEra: number;
370
- }>;
869
+ index: number;
870
+
371
871
  /**
372
- * An old slashing report from a prior era was discarded because it could
373
- * not be processed.
872
+ * The final tally of votes in this referendum.
374
873
  **/
375
- OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', {
376
- sessionIndex: number;
377
- }>;
874
+ tally: PalletConvictionVotingTally;
875
+ }
876
+ >;
877
+
878
+ /**
879
+ * A referendum has been cancelled.
880
+ **/
881
+ Cancelled: GenericPalletEvent<
882
+ 'Referenda',
883
+ 'Cancelled',
884
+ {
378
885
  /**
379
- * A new set of stakers was elected.
886
+ * Index of the referendum.
380
887
  **/
381
- StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
888
+ index: number;
889
+
382
890
  /**
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.
891
+ * The final tally of votes in this referendum.
387
892
  **/
388
- Bonded: GenericPalletEvent<'Staking', 'Bonded', {
389
- stash: AccountId32;
390
- amount: bigint;
391
- }>;
893
+ tally: PalletConvictionVotingTally;
894
+ }
895
+ >;
896
+
897
+ /**
898
+ * A referendum has been killed.
899
+ **/
900
+ Killed: GenericPalletEvent<
901
+ 'Referenda',
902
+ 'Killed',
903
+ {
392
904
  /**
393
- * An account has unbonded this amount.
905
+ * Index of the referendum.
394
906
  **/
395
- Unbonded: GenericPalletEvent<'Staking', 'Unbonded', {
396
- stash: AccountId32;
397
- amount: bigint;
398
- }>;
907
+ index: number;
908
+
399
909
  /**
400
- * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
401
- * from the unlocking queue.
910
+ * The final tally of votes in this referendum.
402
911
  **/
403
- Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', {
404
- stash: AccountId32;
405
- amount: bigint;
406
- }>;
912
+ tally: PalletConvictionVotingTally;
913
+ }
914
+ >;
915
+
916
+ /**
917
+ * The submission deposit has been refunded.
918
+ **/
919
+ SubmissionDepositRefunded: GenericPalletEvent<
920
+ 'Referenda',
921
+ 'SubmissionDepositRefunded',
922
+ {
407
923
  /**
408
- * A nominator has been kicked from a validator.
924
+ * Index of the referendum.
409
925
  **/
410
- Kicked: GenericPalletEvent<'Staking', 'Kicked', {
411
- nominator: AccountId32;
412
- stash: AccountId32;
413
- }>;
926
+ index: number;
927
+
414
928
  /**
415
- * The election failed. No new era is planned.
929
+ * The account who placed the deposit.
416
930
  **/
417
- StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
931
+ who: AccountId32;
932
+
418
933
  /**
419
- * An account has stopped participating as either a validator or nominator.
934
+ * The amount placed by the account.
420
935
  **/
421
- Chilled: GenericPalletEvent<'Staking', 'Chilled', {
422
- stash: AccountId32;
423
- }>;
936
+ amount: bigint;
937
+ }
938
+ >;
939
+
940
+ /**
941
+ * Metadata for a referendum has been set.
942
+ **/
943
+ MetadataSet: GenericPalletEvent<
944
+ 'Referenda',
945
+ 'MetadataSet',
946
+ {
424
947
  /**
425
- * The stakers' rewards are getting paid.
948
+ * Index of the referendum.
426
949
  **/
427
- PayoutStarted: GenericPalletEvent<'Staking', 'PayoutStarted', {
428
- eraIndex: number;
429
- validatorStash: AccountId32;
430
- }>;
950
+ index: number;
951
+
431
952
  /**
432
- * A validator has set their preferences.
953
+ * Preimage hash.
433
954
  **/
434
- ValidatorPrefsSet: GenericPalletEvent<'Staking', 'ValidatorPrefsSet', {
435
- stash: AccountId32;
436
- prefs: PalletStakingValidatorPrefs;
437
- }>;
955
+ hash: H256;
956
+ }
957
+ >;
958
+
959
+ /**
960
+ * Metadata for a referendum has been cleared.
961
+ **/
962
+ MetadataCleared: GenericPalletEvent<
963
+ 'Referenda',
964
+ 'MetadataCleared',
965
+ {
438
966
  /**
439
- * Voters size limit reached.
967
+ * Index of the referendum.
440
968
  **/
441
- SnapshotVotersSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotVotersSizeExceeded', {
442
- size: number;
443
- }>;
969
+ index: number;
970
+
444
971
  /**
445
- * Targets size limit reached.
972
+ * Preimage hash.
446
973
  **/
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
- };
974
+ hash: H256;
975
+ }
976
+ >;
977
+
461
978
  /**
462
- * Pallet `Offences`'s events
979
+ * Generic pallet event
463
980
  **/
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
- };
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
+
479
995
  /**
480
- * Pallet `Session`'s events
996
+ * Generic pallet event
481
997
  **/
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
- };
998
+ [prop: string]: GenericPalletEvent;
999
+ };
1000
+ /**
1001
+ * Pallet `Claims`'s events
1002
+ **/
1003
+ claims: {
495
1004
  /**
496
- * Pallet `Grandpa`'s events
1005
+ * Someone claimed some DOTs.
497
1006
  **/
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
- };
1007
+ Claimed: GenericPalletEvent<
1008
+ 'Claims',
1009
+ 'Claimed',
1010
+ { who: AccountId32; ethereumAddress: EthereumAddress; amount: bigint }
1011
+ >;
1012
+
518
1013
  /**
519
- * Pallet `ImOnline`'s events
1014
+ * Generic pallet event
520
1015
  **/
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
- };
1016
+ [prop: string]: GenericPalletEvent;
1017
+ };
1018
+ /**
1019
+ * Pallet `Vesting`'s events
1020
+ **/
1021
+ vesting: {
543
1022
  /**
544
- * Pallet `Treasury`'s events
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).
545
1025
  **/
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
- };
1026
+ VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
1027
+
650
1028
  /**
651
- * Pallet `ConvictionVoting`'s events
1029
+ * An \[account\] has become fully vested.
652
1030
  **/
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
- };
1031
+ VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
1032
+
667
1033
  /**
668
- * Pallet `Referenda`'s events
1034
+ * Generic pallet event
669
1035
  **/
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
- };
1036
+ [prop: string]: GenericPalletEvent;
1037
+ };
1038
+ /**
1039
+ * Pallet `Utility`'s events
1040
+ **/
1041
+ utility: {
909
1042
  /**
910
- * Pallet `Claims`'s events
1043
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1044
+ * well as the error.
911
1045
  **/
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
- };
1046
+ BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
1047
+
926
1048
  /**
927
- * Pallet `Vesting`'s events
1049
+ * Batch of dispatches completed fully with no error.
928
1050
  **/
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
- };
1051
+ BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
1052
+
949
1053
  /**
950
- * Pallet `Utility`'s events
1054
+ * Batch of dispatches completed but has errors.
951
1055
  **/
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
- };
1056
+ BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
1057
+
990
1058
  /**
991
- * Pallet `Identity`'s events
1059
+ * A single item within a Batch of dispatches has completed with no error.
992
1060
  **/
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
- };
1061
+ ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
1062
+
1071
1063
  /**
1072
- * Pallet `Proxy`'s events
1064
+ * A single item within a Batch of dispatches has completed with error.
1073
1065
  **/
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
- };
1066
+ ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
1067
+
1122
1068
  /**
1123
- * Pallet `Multisig`'s events
1069
+ * A call was dispatched.
1124
1070
  **/
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
- };
1071
+ DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
1072
+
1167
1073
  /**
1168
- * Pallet `Bounties`'s events
1074
+ * Generic pallet event
1169
1075
  **/
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
- };
1076
+ [prop: string]: GenericPalletEvent;
1077
+ };
1078
+ /**
1079
+ * Pallet `Identity`'s events
1080
+ **/
1081
+ identity: {
1248
1082
  /**
1249
- * Pallet `ChildBounties`'s events
1083
+ * A name was set or reset (which will remove all judgements).
1250
1084
  **/
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
- };
1085
+ IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
1086
+
1288
1087
  /**
1289
- * Pallet `ElectionProviderMultiPhase`'s events
1088
+ * A name was cleared, and the given balance returned.
1290
1089
  **/
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
- };
1090
+ IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
1091
+
1346
1092
  /**
1347
- * Pallet `VoterList`'s events
1093
+ * A name was removed and the given balance slashed.
1348
1094
  **/
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
- };
1095
+ IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
1096
+
1370
1097
  /**
1371
- * Pallet `NominationPools`'s events
1098
+ * A judgement was asked from a registrar.
1372
1099
  **/
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
- };
1100
+ JudgementRequested: GenericPalletEvent<
1101
+ 'Identity',
1102
+ 'JudgementRequested',
1103
+ { who: AccountId32; registrarIndex: number }
1104
+ >;
1105
+
1525
1106
  /**
1526
- * Pallet `FastUnstake`'s events
1107
+ * A judgement request was retracted.
1527
1108
  **/
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
- };
1109
+ JudgementUnrequested: GenericPalletEvent<
1110
+ 'Identity',
1111
+ 'JudgementUnrequested',
1112
+ { who: AccountId32; registrarIndex: number }
1113
+ >;
1114
+
1567
1115
  /**
1568
- * Pallet `ParaInclusion`'s events
1116
+ * A judgement was given by a registrar.
1569
1117
  **/
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
- };
1118
+ JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId32; registrarIndex: number }>;
1119
+
1609
1120
  /**
1610
- * Pallet `Paras`'s events
1121
+ * A registrar was added.
1611
1122
  **/
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
- };
1123
+ RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
1124
+
1662
1125
  /**
1663
- * Pallet `Hrmp`'s events
1126
+ * A sub-identity was added to an identity and the deposit paid.
1664
1127
  **/
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
- };
1128
+ SubIdentityAdded: GenericPalletEvent<
1129
+ 'Identity',
1130
+ 'SubIdentityAdded',
1131
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
1132
+ >;
1133
+
1726
1134
  /**
1727
- * Pallet `ParasDisputes`'s events
1135
+ * A sub-identity was removed from an identity and the deposit freed.
1728
1136
  **/
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
- };
1137
+ SubIdentityRemoved: GenericPalletEvent<
1138
+ 'Identity',
1139
+ 'SubIdentityRemoved',
1140
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
1141
+ >;
1142
+
1781
1143
  /**
1782
- * Pallet `Slots`'s events
1144
+ * A sub-identity was cleared, and the given deposit repatriated from the
1145
+ * main identity account to the sub-identity account.
1783
1146
  **/
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
- };
1147
+ SubIdentityRevoked: GenericPalletEvent<
1148
+ 'Identity',
1149
+ 'SubIdentityRevoked',
1150
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
1151
+ >;
1152
+
1809
1153
  /**
1810
- * Pallet `Auctions`'s events
1154
+ * Generic pallet event
1811
1155
  **/
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
- };
1156
+ [prop: string]: GenericPalletEvent;
1157
+ };
1158
+ /**
1159
+ * Pallet `Proxy`'s events
1160
+ **/
1161
+ proxy: {
1876
1162
  /**
1877
- * Pallet `Crowdloan`'s events
1163
+ * A proxy was executed correctly, with the given.
1878
1164
  **/
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
- };
1165
+ ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
1166
+
1953
1167
  /**
1954
- * Pallet `XcmPallet`'s events
1168
+ * A pure account has been created by new proxy with given
1169
+ * disambiguation index and proxy type.
1955
1170
  **/
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
- };
1171
+ PureCreated: GenericPalletEvent<
1172
+ 'Proxy',
1173
+ 'PureCreated',
1174
+ { pure: AccountId32; who: AccountId32; proxyType: PolkadotRuntimeProxyType; disambiguationIndex: number }
1175
+ >;
1176
+
2172
1177
  /**
2173
- * Pallet `MessageQueue`'s events
1178
+ * An announcement was placed to make a call in the future.
2174
1179
  **/
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
- };
1180
+ Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
1181
+
1182
+ /**
1183
+ * A proxy was added.
1184
+ **/
1185
+ ProxyAdded: GenericPalletEvent<
1186
+ 'Proxy',
1187
+ 'ProxyAdded',
1188
+ { delegator: AccountId32; delegatee: AccountId32; proxyType: PolkadotRuntimeProxyType; delay: number }
1189
+ >;
1190
+
1191
+ /**
1192
+ * A proxy was removed.
1193
+ **/
1194
+ ProxyRemoved: GenericPalletEvent<
1195
+ 'Proxy',
1196
+ 'ProxyRemoved',
1197
+ { delegator: AccountId32; delegatee: AccountId32; proxyType: PolkadotRuntimeProxyType; delay: number }
1198
+ >;
1199
+
1200
+ /**
1201
+ * Generic pallet event
1202
+ **/
1203
+ [prop: string]: GenericPalletEvent;
1204
+ };
1205
+ /**
1206
+ * Pallet `Multisig`'s events
1207
+ **/
1208
+ multisig: {
1209
+ /**
1210
+ * A new multisig operation has begun.
1211
+ **/
1212
+ NewMultisig: GenericPalletEvent<
1213
+ 'Multisig',
1214
+ 'NewMultisig',
1215
+ { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
1216
+ >;
1217
+
1218
+ /**
1219
+ * A multisig operation has been approved by someone.
1220
+ **/
1221
+ MultisigApproval: GenericPalletEvent<
1222
+ 'Multisig',
1223
+ 'MultisigApproval',
1224
+ { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1225
+ >;
1226
+
1227
+ /**
1228
+ * A multisig operation has been executed.
1229
+ **/
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
+
1242
+ /**
1243
+ * A multisig operation has been cancelled.
1244
+ **/
1245
+ MultisigCancelled: GenericPalletEvent<
1246
+ 'Multisig',
1247
+ 'MultisigCancelled',
1248
+ { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1249
+ >;
1250
+
1251
+ /**
1252
+ * Generic pallet event
1253
+ **/
1254
+ [prop: string]: GenericPalletEvent;
1255
+ };
1256
+ /**
1257
+ * Pallet `Bounties`'s events
1258
+ **/
1259
+ bounties: {
1260
+ /**
1261
+ * New bounty proposal.
1262
+ **/
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
+
2336
+ /**
2337
+ * We have requested that a remote chain stops sending us XCM version change
2338
+ * notifications.
2339
+ **/
2340
+ VersionNotifyUnrequested: GenericPalletEvent<
2341
+ 'XcmPallet',
2342
+ 'VersionNotifyUnrequested',
2343
+ {
2344
+ destination: StagingXcmV3MultilocationMultiLocation;
2345
+ cost: XcmV3MultiassetMultiAssets;
2346
+ messageId: FixedBytes<32>;
2347
+ }
2348
+ >;
2349
+
2350
+ /**
2351
+ * Fees were paid from a location for an operation (often for using `SendXcm`).
2352
+ **/
2353
+ FeesPaid: GenericPalletEvent<
2354
+ 'XcmPallet',
2355
+ 'FeesPaid',
2356
+ { paying: StagingXcmV3MultilocationMultiLocation; fees: XcmV3MultiassetMultiAssets }
2357
+ >;
2358
+
2359
+ /**
2360
+ * Some assets have been claimed from an asset trap
2361
+ **/
2362
+ AssetsClaimed: GenericPalletEvent<
2363
+ 'XcmPallet',
2364
+ 'AssetsClaimed',
2365
+ { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
2366
+ >;
2367
+
2368
+ /**
2369
+ * Generic pallet event
2370
+ **/
2371
+ [prop: string]: GenericPalletEvent;
2372
+ };
2373
+ /**
2374
+ * Pallet `MessageQueue`'s events
2375
+ **/
2376
+ messageQueue: {
2377
+ /**
2378
+ * Message discarded due to an error in the `MessageProcessor` (usually a format error).
2379
+ **/
2380
+ ProcessingFailed: GenericPalletEvent<
2381
+ 'MessageQueue',
2382
+ 'ProcessingFailed',
2383
+ {
2384
+ id: FixedBytes<32>;
2385
+ origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2386
+ error: FrameSupportMessagesProcessMessageError;
2387
+ }
2388
+ >;
2389
+
2390
+ /**
2391
+ * Message is processed.
2392
+ **/
2393
+ Processed: GenericPalletEvent<
2394
+ 'MessageQueue',
2395
+ 'Processed',
2396
+ {
2397
+ id: FixedBytes<32>;
2398
+ origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2399
+ weightUsed: SpWeightsWeightV2Weight;
2400
+ success: boolean;
2401
+ }
2402
+ >;
2403
+
2404
+ /**
2405
+ * Message placed in overweight queue.
2406
+ **/
2407
+ OverweightEnqueued: GenericPalletEvent<
2408
+ 'MessageQueue',
2409
+ 'OverweightEnqueued',
2410
+ {
2411
+ id: FixedBytes<32>;
2412
+ origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2413
+ pageIndex: number;
2414
+ messageIndex: number;
2415
+ }
2416
+ >;
2417
+
2418
+ /**
2419
+ * This page was reaped.
2420
+ **/
2421
+ PageReaped: GenericPalletEvent<
2422
+ 'MessageQueue',
2423
+ 'PageReaped',
2424
+ { origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin; index: number }
2425
+ >;
2426
+
2427
+ /**
2428
+ * Generic pallet event
2429
+ **/
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
+
2452
+ /**
2453
+ * Generic pallet event
2454
+ **/
2455
+ [prop: string]: GenericPalletEvent;
2456
+ };
2235
2457
  }