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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/aleph/consts.d.ts +528 -590
  2. package/aleph/consts.js +2 -0
  3. package/aleph/errors.d.ts +818 -981
  4. package/aleph/errors.js +2 -0
  5. package/aleph/events.d.ts +937 -924
  6. package/aleph/events.js +2 -0
  7. package/aleph/index.d.ts +8 -11
  8. package/aleph/index.js +3 -0
  9. package/aleph/query.d.ts +1268 -1477
  10. package/aleph/query.js +2 -0
  11. package/aleph/rpc.d.ts +573 -725
  12. package/aleph/rpc.js +2 -0
  13. package/aleph/runtime.d.ts +406 -541
  14. package/aleph/runtime.js +2 -0
  15. package/aleph/tx.d.ts +2202 -2664
  16. package/aleph/tx.js +2 -0
  17. package/aleph/types.d.ts +5294 -3380
  18. package/aleph/types.js +2 -0
  19. package/astar/consts.d.ts +674 -753
  20. package/astar/consts.js +2 -0
  21. package/astar/errors.d.ts +1313 -1576
  22. package/astar/errors.js +2 -0
  23. package/astar/events.d.ts +1628 -1709
  24. package/astar/events.js +2 -0
  25. package/astar/index.d.ts +8 -11
  26. package/astar/index.js +3 -0
  27. package/astar/query.d.ts +1471 -1756
  28. package/astar/query.js +2 -0
  29. package/astar/rpc.d.ts +773 -972
  30. package/astar/rpc.js +2 -0
  31. package/astar/runtime.d.ts +258 -310
  32. package/astar/runtime.js +2 -0
  33. package/astar/tx.d.ts +4806 -5474
  34. package/astar/tx.js +2 -0
  35. package/astar/types.d.ts +12053 -8793
  36. package/astar/types.js +2 -0
  37. package/cjs/aleph/consts.js +3 -0
  38. package/cjs/aleph/errors.js +3 -0
  39. package/cjs/aleph/events.js +3 -0
  40. package/cjs/aleph/index.js +19 -0
  41. package/cjs/aleph/query.js +3 -0
  42. package/cjs/aleph/rpc.js +3 -0
  43. package/cjs/aleph/runtime.js +3 -0
  44. package/cjs/aleph/tx.js +3 -0
  45. package/cjs/aleph/types.js +3 -0
  46. package/cjs/astar/consts.js +3 -0
  47. package/cjs/astar/errors.js +3 -0
  48. package/cjs/astar/events.js +3 -0
  49. package/cjs/astar/index.js +19 -0
  50. package/cjs/astar/query.js +3 -0
  51. package/cjs/astar/rpc.js +3 -0
  52. package/cjs/astar/runtime.js +3 -0
  53. package/cjs/astar/tx.js +3 -0
  54. package/cjs/astar/types.js +3 -0
  55. package/cjs/index.js +2 -0
  56. package/cjs/kusama/consts.js +3 -0
  57. package/cjs/kusama/errors.js +3 -0
  58. package/cjs/kusama/events.js +3 -0
  59. package/cjs/kusama/index.js +19 -0
  60. package/cjs/kusama/query.js +3 -0
  61. package/cjs/kusama/rpc.js +3 -0
  62. package/cjs/kusama/runtime.js +3 -0
  63. package/cjs/kusama/tx.js +3 -0
  64. package/cjs/kusama/types.js +3 -0
  65. package/cjs/kusamaAssetHub/consts.js +3 -0
  66. package/cjs/kusamaAssetHub/errors.js +3 -0
  67. package/cjs/kusamaAssetHub/events.js +3 -0
  68. package/cjs/kusamaAssetHub/index.js +19 -0
  69. package/cjs/kusamaAssetHub/query.js +3 -0
  70. package/cjs/kusamaAssetHub/rpc.js +3 -0
  71. package/cjs/kusamaAssetHub/runtime.js +3 -0
  72. package/cjs/kusamaAssetHub/tx.js +3 -0
  73. package/cjs/kusamaAssetHub/types.js +3 -0
  74. package/cjs/moonbeam/consts.js +3 -0
  75. package/cjs/moonbeam/errors.js +3 -0
  76. package/cjs/moonbeam/events.js +3 -0
  77. package/cjs/moonbeam/index.js +19 -0
  78. package/cjs/moonbeam/query.js +3 -0
  79. package/cjs/moonbeam/rpc.js +3 -0
  80. package/cjs/moonbeam/runtime.js +3 -0
  81. package/cjs/moonbeam/tx.js +3 -0
  82. package/cjs/moonbeam/types.js +3 -0
  83. package/cjs/package.json +1 -0
  84. package/cjs/packageInfo.js +5 -0
  85. package/cjs/polkadot/consts.js +3 -0
  86. package/cjs/polkadot/errors.js +3 -0
  87. package/cjs/polkadot/events.js +3 -0
  88. package/cjs/polkadot/index.js +19 -0
  89. package/cjs/polkadot/query.js +3 -0
  90. package/cjs/polkadot/rpc.js +3 -0
  91. package/cjs/polkadot/runtime.js +3 -0
  92. package/cjs/polkadot/tx.js +3 -0
  93. package/cjs/polkadot/types.js +3 -0
  94. package/cjs/polkadotAssetHub/consts.js +3 -0
  95. package/cjs/polkadotAssetHub/errors.js +3 -0
  96. package/cjs/polkadotAssetHub/events.js +3 -0
  97. package/cjs/polkadotAssetHub/index.js +19 -0
  98. package/cjs/polkadotAssetHub/query.js +3 -0
  99. package/cjs/polkadotAssetHub/rpc.js +3 -0
  100. package/cjs/polkadotAssetHub/runtime.js +3 -0
  101. package/cjs/polkadotAssetHub/tx.js +3 -0
  102. package/cjs/polkadotAssetHub/types.js +3 -0
  103. package/cjs/rococoAssetHub/consts.js +3 -0
  104. package/cjs/rococoAssetHub/errors.js +3 -0
  105. package/cjs/rococoAssetHub/events.js +3 -0
  106. package/cjs/rococoAssetHub/index.js +19 -0
  107. package/cjs/rococoAssetHub/query.js +3 -0
  108. package/cjs/rococoAssetHub/rpc.js +3 -0
  109. package/cjs/rococoAssetHub/runtime.js +3 -0
  110. package/cjs/rococoAssetHub/tx.js +3 -0
  111. package/cjs/rococoAssetHub/types.js +3 -0
  112. package/cjs/substrate/consts.js +3 -0
  113. package/cjs/substrate/errors.js +3 -0
  114. package/cjs/substrate/events.js +3 -0
  115. package/cjs/substrate/index.js +19 -0
  116. package/cjs/substrate/query.js +3 -0
  117. package/cjs/substrate/rpc.js +3 -0
  118. package/cjs/substrate/runtime.js +3 -0
  119. package/cjs/substrate/tx.js +3 -0
  120. package/cjs/substrate/types.js +3 -0
  121. package/cjs/westendAssetHub/consts.js +3 -0
  122. package/cjs/westendAssetHub/errors.js +3 -0
  123. package/cjs/westendAssetHub/events.js +3 -0
  124. package/cjs/westendAssetHub/index.js +19 -0
  125. package/cjs/westendAssetHub/query.js +3 -0
  126. package/cjs/westendAssetHub/rpc.js +3 -0
  127. package/cjs/westendAssetHub/runtime.js +3 -0
  128. package/cjs/westendAssetHub/tx.js +3 -0
  129. package/cjs/westendAssetHub/types.js +3 -0
  130. package/kusama/consts.d.ts +1422 -1573
  131. package/kusama/consts.js +2 -0
  132. package/kusama/errors.d.ts +2490 -2995
  133. package/kusama/errors.js +2 -0
  134. package/kusama/events.d.ts +2723 -2996
  135. package/kusama/events.js +2 -0
  136. package/kusama/index.d.ts +8 -11
  137. package/kusama/index.js +3 -0
  138. package/kusama/query.d.ts +3248 -3828
  139. package/kusama/query.js +2 -0
  140. package/kusama/rpc.d.ts +724 -902
  141. package/kusama/rpc.js +2 -0
  142. package/kusama/runtime.d.ts +840 -1130
  143. package/kusama/runtime.js +2 -0
  144. package/kusama/tx.d.ts +6010 -7073
  145. package/kusama/tx.js +2 -0
  146. package/kusama/types.d.ts +15336 -10143
  147. package/kusama/types.js +2 -0
  148. package/kusamaAssetHub/consts.d.ts +627 -714
  149. package/kusamaAssetHub/consts.js +2 -0
  150. package/kusamaAssetHub/errors.d.ts +1160 -1405
  151. package/kusamaAssetHub/errors.js +2 -0
  152. package/kusamaAssetHub/events.d.ts +2060 -2149
  153. package/kusamaAssetHub/events.js +2 -0
  154. package/kusamaAssetHub/index.d.ts +8 -11
  155. package/kusamaAssetHub/index.js +3 -0
  156. package/kusamaAssetHub/query.d.ts +1298 -1551
  157. package/kusamaAssetHub/query.js +2 -0
  158. package/kusamaAssetHub/rpc.d.ts +588 -744
  159. package/kusamaAssetHub/rpc.js +2 -0
  160. package/kusamaAssetHub/runtime.d.ts +398 -510
  161. package/kusamaAssetHub/runtime.js +2 -0
  162. package/kusamaAssetHub/tx.d.ts +4212 -5050
  163. package/kusamaAssetHub/tx.js +2 -0
  164. package/kusamaAssetHub/types.d.ts +9997 -5964
  165. package/kusamaAssetHub/types.js +2 -0
  166. package/moonbeam/consts.d.ts +956 -1075
  167. package/moonbeam/consts.js +2 -0
  168. package/moonbeam/errors.d.ts +1793 -2131
  169. package/moonbeam/errors.js +2 -0
  170. package/moonbeam/events.d.ts +2681 -2932
  171. package/moonbeam/events.js +2 -0
  172. package/moonbeam/index.d.ts +8 -11
  173. package/moonbeam/index.js +3 -0
  174. package/moonbeam/query.d.ts +2024 -2391
  175. package/moonbeam/query.js +2 -0
  176. package/moonbeam/rpc.d.ts +807 -1013
  177. package/moonbeam/rpc.js +2 -0
  178. package/moonbeam/runtime.d.ts +502 -665
  179. package/moonbeam/runtime.js +2 -0
  180. package/moonbeam/tx.d.ts +5201 -6152
  181. package/moonbeam/tx.js +2 -0
  182. package/moonbeam/types.d.ts +12035 -7731
  183. package/moonbeam/types.js +2 -0
  184. package/package.json +8 -9
  185. package/packageInfo.js +1 -2
  186. package/polkadot/consts.d.ts +1155 -1272
  187. package/polkadot/consts.js +2 -0
  188. package/polkadot/errors.d.ts +2016 -2420
  189. package/polkadot/errors.js +2 -0
  190. package/polkadot/events.d.ts +2092 -2314
  191. package/polkadot/events.js +2 -0
  192. package/polkadot/index.d.ts +8 -11
  193. package/polkadot/index.js +3 -0
  194. package/polkadot/query.d.ts +2808 -3319
  195. package/polkadot/query.js +2 -0
  196. package/polkadot/rpc.d.ts +724 -902
  197. package/polkadot/rpc.js +2 -0
  198. package/polkadot/runtime.d.ts +840 -1130
  199. package/polkadot/runtime.js +2 -0
  200. package/polkadot/tx.d.ts +5005 -5909
  201. package/polkadot/tx.js +2 -0
  202. package/polkadot/types.d.ts +13402 -8854
  203. package/polkadot/types.js +2 -0
  204. package/polkadotAssetHub/consts.d.ts +519 -586
  205. package/polkadotAssetHub/consts.js +2 -0
  206. package/polkadotAssetHub/errors.d.ts +921 -1115
  207. package/polkadotAssetHub/errors.js +2 -0
  208. package/polkadotAssetHub/events.d.ts +1782 -1850
  209. package/polkadotAssetHub/events.js +2 -0
  210. package/polkadotAssetHub/index.d.ts +8 -11
  211. package/polkadotAssetHub/index.js +3 -0
  212. package/polkadotAssetHub/query.d.ts +1219 -1457
  213. package/polkadotAssetHub/query.js +2 -0
  214. package/polkadotAssetHub/rpc.d.ts +588 -744
  215. package/polkadotAssetHub/rpc.js +2 -0
  216. package/polkadotAssetHub/runtime.d.ts +355 -447
  217. package/polkadotAssetHub/runtime.js +2 -0
  218. package/polkadotAssetHub/tx.d.ts +3487 -4184
  219. package/polkadotAssetHub/tx.js +2 -0
  220. package/polkadotAssetHub/types.d.ts +8891 -5266
  221. package/polkadotAssetHub/types.js +2 -0
  222. package/rococoAssetHub/consts.d.ts +653 -745
  223. package/rococoAssetHub/consts.js +2 -0
  224. package/rococoAssetHub/errors.d.ts +1227 -1490
  225. package/rococoAssetHub/errors.js +2 -0
  226. package/rococoAssetHub/events.d.ts +2047 -2127
  227. package/rococoAssetHub/events.js +2 -0
  228. package/rococoAssetHub/index.d.ts +8 -11
  229. package/rococoAssetHub/index.js +3 -0
  230. package/rococoAssetHub/query.d.ts +1266 -1513
  231. package/rococoAssetHub/query.js +2 -0
  232. package/rococoAssetHub/rpc.d.ts +588 -744
  233. package/rococoAssetHub/rpc.js +2 -0
  234. package/rococoAssetHub/runtime.d.ts +424 -538
  235. package/rococoAssetHub/runtime.js +2 -0
  236. package/rococoAssetHub/tx.d.ts +4302 -5164
  237. package/rococoAssetHub/tx.js +2 -0
  238. package/rococoAssetHub/types.d.ts +10610 -6295
  239. package/rococoAssetHub/types.js +2 -0
  240. package/substrate/consts.d.ts +1966 -2218
  241. package/substrate/consts.js +2 -0
  242. package/substrate/errors.d.ts +3333 -4019
  243. package/substrate/errors.js +2 -0
  244. package/substrate/events.d.ts +4255 -4585
  245. package/substrate/events.js +2 -0
  246. package/substrate/index.d.ts +8 -11
  247. package/substrate/index.js +3 -0
  248. package/substrate/query.d.ts +3347 -3887
  249. package/substrate/query.js +2 -0
  250. package/substrate/rpc.d.ts +716 -892
  251. package/substrate/rpc.js +2 -0
  252. package/substrate/runtime.d.ts +704 -937
  253. package/substrate/runtime.js +2 -0
  254. package/substrate/tx.d.ts +8796 -10387
  255. package/substrate/tx.js +2 -0
  256. package/substrate/types.d.ts +19843 -12891
  257. package/substrate/types.js +2 -0
  258. package/westendAssetHub/consts.d.ts +653 -745
  259. package/westendAssetHub/consts.js +2 -0
  260. package/westendAssetHub/errors.d.ts +1227 -1490
  261. package/westendAssetHub/errors.js +2 -0
  262. package/westendAssetHub/events.d.ts +2047 -2127
  263. package/westendAssetHub/events.js +2 -0
  264. package/westendAssetHub/index.d.ts +8 -11
  265. package/westendAssetHub/index.js +3 -0
  266. package/westendAssetHub/query.d.ts +1266 -1513
  267. package/westendAssetHub/query.js +2 -0
  268. package/westendAssetHub/rpc.d.ts +588 -744
  269. package/westendAssetHub/rpc.js +2 -0
  270. package/westendAssetHub/runtime.d.ts +452 -577
  271. package/westendAssetHub/runtime.js +2 -0
  272. package/westendAssetHub/tx.d.ts +4302 -5164
  273. package/westendAssetHub/tx.js +2 -0
  274. package/westendAssetHub/types.d.ts +10614 -6302
  275. package/westendAssetHub/types.js +2 -0
  276. package/index.ts +0 -10
  277. package/packageInfo.ts +0 -3
package/aleph/events.d.ts CHANGED
@@ -1,984 +1,997 @@
1
- // Generated by @dedot/codegen
2
-
3
1
  import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
4
2
  import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Perbill, Bytes } from '@dedot/codecs';
5
- import type {
6
- FrameSupportTokensMiscBalanceStatus,
7
- PalletStakingValidatorPrefs,
8
- PalletStakingForcing,
9
- PrimitivesAppPublic,
10
- PrimitivesVersionChange,
11
- PrimitivesCommitteeSeats,
12
- PalletMultisigTimepoint,
13
- PalletContractsOrigin,
14
- PalletNominationPoolsPoolState,
15
- PalletNominationPoolsCommissionChangeRate,
16
- PrimitivesBanConfig,
17
- PrimitivesBanInfo,
18
- } from './types';
19
-
3
+ import type { FrameSupportTokensMiscBalanceStatus, PalletStakingValidatorPrefs, PalletStakingForcing, PrimitivesAppPublic, PrimitivesVersionChange, PrimitivesCommitteeSeats, PalletMultisigTimepoint, PalletContractsOrigin, PalletNominationPoolsPoolState, PalletNominationPoolsCommissionChangeRate, PrimitivesBanConfig, PrimitivesBanInfo } from './types';
20
4
  export interface ChainEvents extends GenericChainEvents {
21
- /**
22
- * Pallet `System`'s events
23
- **/
24
- system: {
25
5
  /**
26
- * An extrinsic completed successfully.
6
+ * Pallet `System`'s events
27
7
  **/
28
- ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
29
-
30
- /**
31
- * An extrinsic failed.
32
- **/
33
- ExtrinsicFailed: GenericPalletEvent<
34
- 'System',
35
- 'ExtrinsicFailed',
36
- { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
37
- >;
38
-
39
- /**
40
- * `:code` was updated.
41
- **/
42
- CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
43
-
44
- /**
45
- * A new account was created.
46
- **/
47
- NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
48
-
49
- /**
50
- * An account was reaped.
51
- **/
52
- KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
53
-
54
- /**
55
- * On on-chain remark happened.
56
- **/
57
- Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
58
-
59
- /**
60
- * Generic pallet event
61
- **/
62
- [prop: string]: GenericPalletEvent;
63
- };
64
- /**
65
- * Pallet `Scheduler`'s events
66
- **/
67
- scheduler: {
68
- /**
69
- * Scheduled some task.
70
- **/
71
- Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
72
-
73
- /**
74
- * Canceled some task.
75
- **/
76
- Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
77
-
78
- /**
79
- * Dispatched some task.
80
- **/
81
- Dispatched: GenericPalletEvent<
82
- 'Scheduler',
83
- 'Dispatched',
84
- { task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
85
- >;
86
-
87
- /**
88
- * The call for the provided hash was not found so the task has been aborted.
89
- **/
90
- CallUnavailable: GenericPalletEvent<
91
- 'Scheduler',
92
- 'CallUnavailable',
93
- { task: [number, number]; id?: FixedBytes<32> | undefined }
94
- >;
95
-
96
- /**
97
- * The given task was unable to be renewed since the agenda is full at that block.
98
- **/
99
- PeriodicFailed: GenericPalletEvent<
100
- 'Scheduler',
101
- 'PeriodicFailed',
102
- { task: [number, number]; id?: FixedBytes<32> | undefined }
103
- >;
104
-
105
- /**
106
- * The given task can never be executed since it is overweight.
107
- **/
108
- PermanentlyOverweight: GenericPalletEvent<
109
- 'Scheduler',
110
- 'PermanentlyOverweight',
111
- { task: [number, number]; id?: FixedBytes<32> | undefined }
112
- >;
113
-
114
- /**
115
- * Generic pallet event
116
- **/
117
- [prop: string]: GenericPalletEvent;
118
- };
119
- /**
120
- * Pallet `Balances`'s events
121
- **/
122
- balances: {
123
- /**
124
- * An account was created with some free balance.
125
- **/
126
- Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
127
-
128
- /**
129
- * An account was removed whose balance was non-zero but below ExistentialDeposit,
130
- * resulting in an outright loss.
131
- **/
132
- DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
133
-
134
- /**
135
- * Transfer succeeded.
136
- **/
137
- Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
138
-
139
- /**
140
- * A balance was set by root.
141
- **/
142
- BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
143
-
144
- /**
145
- * Some balance was reserved (moved from free to reserved).
146
- **/
147
- Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
148
-
149
- /**
150
- * Some balance was unreserved (moved from reserved to free).
151
- **/
152
- Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
153
-
154
- /**
155
- * Some balance was moved from the reserve of the first account to the second account.
156
- * Final argument indicates the destination balance type.
157
- **/
158
- ReserveRepatriated: GenericPalletEvent<
159
- 'Balances',
160
- 'ReserveRepatriated',
161
- { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
162
- >;
163
-
164
- /**
165
- * Some amount was deposited (e.g. for transaction fees).
166
- **/
167
- Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
168
-
169
- /**
170
- * Some amount was withdrawn from the account (e.g. for transaction fees).
171
- **/
172
- Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
173
-
174
- /**
175
- * Some amount was removed from the account (e.g. for misbehavior).
176
- **/
177
- Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
178
-
179
- /**
180
- * Some amount was minted into an account.
181
- **/
182
- Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
183
-
184
- /**
185
- * Some amount was burned from an account.
186
- **/
187
- Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
188
-
189
- /**
190
- * Some amount was suspended from an account (it can be restored later).
191
- **/
192
- Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
193
-
194
- /**
195
- * Some amount was restored into an account.
196
- **/
197
- Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
198
-
199
- /**
200
- * An account was upgraded.
201
- **/
202
- Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
203
-
204
- /**
205
- * Total issuance was increased by `amount`, creating a credit to be balanced.
206
- **/
207
- Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
208
-
209
- /**
210
- * Total issuance was decreased by `amount`, creating a debt to be balanced.
211
- **/
212
- Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
213
-
214
- /**
215
- * Some balance was locked.
216
- **/
217
- Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
218
-
219
- /**
220
- * Some balance was unlocked.
221
- **/
222
- Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
223
-
224
- /**
225
- * Some balance was frozen.
226
- **/
227
- Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
228
-
229
- /**
230
- * Some balance was thawed.
231
- **/
232
- Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
233
-
234
- /**
235
- * Generic pallet event
236
- **/
237
- [prop: string]: GenericPalletEvent;
238
- };
239
- /**
240
- * Pallet `TransactionPayment`'s events
241
- **/
242
- transactionPayment: {
243
- /**
244
- * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
245
- * has been paid by `who`.
246
- **/
247
- TransactionFeePaid: GenericPalletEvent<
248
- 'TransactionPayment',
249
- 'TransactionFeePaid',
250
- { who: AccountId32; actualFee: bigint; tip: bigint }
251
- >;
252
-
253
- /**
254
- * Generic pallet event
255
- **/
256
- [prop: string]: GenericPalletEvent;
257
- };
258
- /**
259
- * Pallet `Staking`'s events
260
- **/
261
- staking: {
262
- /**
263
- * The era payout has been set; the first balance is the validator-payout; the second is
264
- * the remainder from the maximum amount of reward.
265
- **/
266
- EraPaid: GenericPalletEvent<'Staking', 'EraPaid', { eraIndex: number; validatorPayout: bigint; remainder: bigint }>;
267
-
268
- /**
269
- * The nominator has been rewarded by this amount.
270
- **/
271
- Rewarded: GenericPalletEvent<'Staking', 'Rewarded', { stash: AccountId32; amount: bigint }>;
272
-
273
- /**
274
- * A staker (validator or nominator) has been slashed by the given amount.
275
- **/
276
- Slashed: GenericPalletEvent<'Staking', 'Slashed', { staker: AccountId32; amount: bigint }>;
277
-
278
- /**
279
- * A slash for the given validator, for the given percentage of their stake, at the given
280
- * era as been reported.
281
- **/
282
- SlashReported: GenericPalletEvent<
283
- 'Staking',
284
- 'SlashReported',
285
- { validator: AccountId32; fraction: Perbill; slashEra: number }
286
- >;
287
-
288
- /**
289
- * An old slashing report from a prior era was discarded because it could
290
- * not be processed.
291
- **/
292
- OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', { sessionIndex: number }>;
293
-
294
- /**
295
- * A new set of stakers was elected.
296
- **/
297
- StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
298
-
299
- /**
300
- * An account has bonded this amount. \[stash, amount\]
301
- *
302
- * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
303
- * it will not be emitted for staking rewards when they are added to stake.
304
- **/
305
- Bonded: GenericPalletEvent<'Staking', 'Bonded', { stash: AccountId32; amount: bigint }>;
306
-
307
- /**
308
- * An account has unbonded this amount.
309
- **/
310
- Unbonded: GenericPalletEvent<'Staking', 'Unbonded', { stash: AccountId32; amount: bigint }>;
311
-
312
- /**
313
- * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
314
- * from the unlocking queue.
315
- **/
316
- Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', { stash: AccountId32; amount: bigint }>;
317
-
318
- /**
319
- * A nominator has been kicked from a validator.
320
- **/
321
- Kicked: GenericPalletEvent<'Staking', 'Kicked', { nominator: AccountId32; stash: AccountId32 }>;
322
-
323
- /**
324
- * The election failed. No new era is planned.
325
- **/
326
- StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
327
-
328
- /**
329
- * An account has stopped participating as either a validator or nominator.
330
- **/
331
- Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
332
-
333
- /**
334
- * The stakers' rewards are getting paid.
335
- **/
336
- PayoutStarted: GenericPalletEvent<'Staking', 'PayoutStarted', { eraIndex: number; validatorStash: AccountId32 }>;
337
-
338
- /**
339
- * A validator has set their preferences.
340
- **/
341
- ValidatorPrefsSet: GenericPalletEvent<
342
- 'Staking',
343
- 'ValidatorPrefsSet',
344
- { stash: AccountId32; prefs: PalletStakingValidatorPrefs }
345
- >;
346
-
347
- /**
348
- * A new force era mode was set.
349
- **/
350
- ForceEra: GenericPalletEvent<'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
351
-
352
- /**
353
- * Generic pallet event
354
- **/
355
- [prop: string]: GenericPalletEvent;
356
- };
357
- /**
358
- * Pallet `Session`'s events
359
- **/
360
- session: {
361
- /**
362
- * New session has happened. Note that the argument is the session index, not the
363
- * block number as the type might suggest.
364
- **/
365
- NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
366
-
367
- /**
368
- * Generic pallet event
369
- **/
370
- [prop: string]: GenericPalletEvent;
371
- };
372
- /**
373
- * Pallet `Aleph`'s events
374
- **/
375
- aleph: {
376
- ChangeEmergencyFinalizer: GenericPalletEvent<'Aleph', 'ChangeEmergencyFinalizer', PrimitivesAppPublic>;
377
- ScheduleFinalityVersionChange: GenericPalletEvent<
378
- 'Aleph',
379
- 'ScheduleFinalityVersionChange',
380
- PrimitivesVersionChange
381
- >;
382
- FinalityVersionChange: GenericPalletEvent<'Aleph', 'FinalityVersionChange', PrimitivesVersionChange>;
383
-
384
- /**
385
- * Generic pallet event
386
- **/
387
- [prop: string]: GenericPalletEvent;
388
- };
389
- /**
390
- * Pallet `Elections`'s events
391
- **/
392
- elections: {
393
- /**
394
- * Committee for the next era has changed
395
- **/
396
- ChangeValidators: GenericPalletEvent<
397
- 'Elections',
398
- 'ChangeValidators',
399
- [Array<AccountId32>, Array<AccountId32>, PrimitivesCommitteeSeats]
400
- >;
401
-
402
- /**
403
- * Generic pallet event
404
- **/
405
- [prop: string]: GenericPalletEvent;
406
- };
407
- /**
408
- * Pallet `Treasury`'s events
409
- **/
410
- treasury: {
411
- /**
412
- * New proposal.
413
- **/
414
- Proposed: GenericPalletEvent<'Treasury', 'Proposed', { proposalIndex: number }>;
415
-
416
- /**
417
- * We have ended a spend period and will now allocate funds.
418
- **/
419
- Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
420
-
421
- /**
422
- * Some funds have been allocated.
423
- **/
424
- Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId32 }>;
425
-
426
- /**
427
- * A proposal was rejected; funds were slashed.
428
- **/
429
- Rejected: GenericPalletEvent<'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
430
-
431
- /**
432
- * Some of our funds have been burnt.
433
- **/
434
- Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
435
-
436
- /**
437
- * Spending has finished; this is the amount that rolls over until next spend.
438
- **/
439
- Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
440
-
441
- /**
442
- * Some funds have been deposited.
443
- **/
444
- Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
445
-
446
- /**
447
- * A new spend proposal has been approved.
448
- **/
449
- SpendApproved: GenericPalletEvent<
450
- 'Treasury',
451
- 'SpendApproved',
452
- { proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
453
- >;
454
-
455
- /**
456
- * The inactive funds of the pallet have been updated.
457
- **/
458
- UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
459
-
460
- /**
461
- * Generic pallet event
462
- **/
463
- [prop: string]: GenericPalletEvent;
464
- };
465
- /**
466
- * Pallet `Vesting`'s events
467
- **/
468
- vesting: {
469
- /**
470
- * The amount vested has been updated. This could indicate a change in funds available.
471
- * The balance given is the amount which is left unvested (and thus locked).
472
- **/
473
- VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
474
-
475
- /**
476
- * An \[account\] has become fully vested.
477
- **/
478
- VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
479
-
480
- /**
481
- * Generic pallet event
482
- **/
483
- [prop: string]: GenericPalletEvent;
484
- };
485
- /**
486
- * Pallet `Utility`'s events
487
- **/
488
- utility: {
489
- /**
490
- * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
491
- * well as the error.
492
- **/
493
- BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
494
-
495
- /**
496
- * Batch of dispatches completed fully with no error.
497
- **/
498
- BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
499
-
500
- /**
501
- * Batch of dispatches completed but has errors.
502
- **/
503
- BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
504
-
505
- /**
506
- * A single item within a Batch of dispatches has completed with no error.
507
- **/
508
- ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
509
-
510
- /**
511
- * A single item within a Batch of dispatches has completed with error.
512
- **/
513
- ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
514
-
515
- /**
516
- * A call was dispatched.
517
- **/
518
- DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
519
-
520
- /**
521
- * Generic pallet event
522
- **/
523
- [prop: string]: GenericPalletEvent;
524
- };
525
- /**
526
- * Pallet `Multisig`'s events
527
- **/
528
- multisig: {
529
- /**
530
- * A new multisig operation has begun.
531
- **/
532
- NewMultisig: GenericPalletEvent<
533
- 'Multisig',
534
- 'NewMultisig',
535
- { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
536
- >;
537
-
538
- /**
539
- * A multisig operation has been approved by someone.
540
- **/
541
- MultisigApproval: GenericPalletEvent<
542
- 'Multisig',
543
- 'MultisigApproval',
544
- { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
545
- >;
546
-
547
- /**
548
- * A multisig operation has been executed.
549
- **/
550
- MultisigExecuted: GenericPalletEvent<
551
- 'Multisig',
552
- 'MultisigExecuted',
553
- {
554
- approving: AccountId32;
555
- timepoint: PalletMultisigTimepoint;
556
- multisig: AccountId32;
557
- callHash: FixedBytes<32>;
558
- result: Result<[], DispatchError>;
559
- }
560
- >;
561
-
562
- /**
563
- * A multisig operation has been cancelled.
564
- **/
565
- MultisigCancelled: GenericPalletEvent<
566
- 'Multisig',
567
- 'MultisigCancelled',
568
- { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
569
- >;
570
-
571
- /**
572
- * Generic pallet event
573
- **/
574
- [prop: string]: GenericPalletEvent;
575
- };
576
- /**
577
- * Pallet `Sudo`'s events
578
- **/
579
- sudo: {
580
- /**
581
- * A sudo just took place. \[result\]
582
- **/
583
- Sudid: GenericPalletEvent<'Sudo', 'Sudid', { sudoResult: Result<[], DispatchError> }>;
584
-
585
- /**
586
- * The \[sudoer\] just switched identity; the old key is supplied if one existed.
587
- **/
588
- KeyChanged: GenericPalletEvent<'Sudo', 'KeyChanged', { oldSudoer?: AccountId32 | undefined }>;
589
-
590
- /**
591
- * A sudo just took place. \[result\]
592
- **/
593
- SudoAsDone: GenericPalletEvent<'Sudo', 'SudoAsDone', { sudoResult: Result<[], DispatchError> }>;
594
-
595
- /**
596
- * Generic pallet event
597
- **/
598
- [prop: string]: GenericPalletEvent;
599
- };
600
- /**
601
- * Pallet `Contracts`'s events
602
- **/
603
- contracts: {
604
- /**
605
- * Contract deployed by address at the specified address.
606
- **/
607
- Instantiated: GenericPalletEvent<'Contracts', 'Instantiated', { deployer: AccountId32; contract: AccountId32 }>;
608
-
609
- /**
610
- * Contract has been removed.
611
- *
612
- * # Note
613
- *
614
- * The only way for a contract to be removed and emitting this event is by calling
615
- * `seal_terminate`.
616
- **/
617
- Terminated: GenericPalletEvent<
618
- 'Contracts',
619
- 'Terminated',
620
- {
8
+ system: {
621
9
  /**
622
- * The contract that was terminated.
10
+ * An extrinsic completed successfully.
623
11
  **/
624
- contract: AccountId32;
625
-
12
+ ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', {
13
+ dispatchInfo: DispatchInfo;
14
+ }>;
626
15
  /**
627
- * The account that received the contracts remaining balance
16
+ * An extrinsic failed.
628
17
  **/
629
- beneficiary: AccountId32;
630
- }
631
- >;
632
-
633
- /**
634
- * Code with the specified hash has been stored.
635
- **/
636
- CodeStored: GenericPalletEvent<'Contracts', 'CodeStored', { codeHash: H256 }>;
637
-
638
- /**
639
- * A custom event emitted by the contract.
640
- **/
641
- ContractEmitted: GenericPalletEvent<
642
- 'Contracts',
643
- 'ContractEmitted',
644
- {
18
+ ExtrinsicFailed: GenericPalletEvent<'System', 'ExtrinsicFailed', {
19
+ dispatchError: DispatchError;
20
+ dispatchInfo: DispatchInfo;
21
+ }>;
645
22
  /**
646
- * The contract that emitted the event.
23
+ * `:code` was updated.
647
24
  **/
648
- contract: AccountId32;
649
-
25
+ CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
650
26
  /**
651
- * Data supplied by the contract. Metadata generated during contract compilation
652
- * is needed to decode it.
27
+ * A new account was created.
653
28
  **/
654
- data: Bytes;
655
- }
656
- >;
657
-
658
- /**
659
- * A code with the specified hash was removed.
660
- **/
661
- CodeRemoved: GenericPalletEvent<'Contracts', 'CodeRemoved', { codeHash: H256 }>;
662
-
663
- /**
664
- * A contract's code was updated.
665
- **/
666
- ContractCodeUpdated: GenericPalletEvent<
667
- 'Contracts',
668
- 'ContractCodeUpdated',
669
- {
29
+ NewAccount: GenericPalletEvent<'System', 'NewAccount', {
30
+ account: AccountId32;
31
+ }>;
670
32
  /**
671
- * The contract that has been updated.
33
+ * An account was reaped.
672
34
  **/
673
- contract: AccountId32;
674
-
35
+ KilledAccount: GenericPalletEvent<'System', 'KilledAccount', {
36
+ account: AccountId32;
37
+ }>;
675
38
  /**
676
- * New code hash that was set for the contract.
39
+ * On on-chain remark happened.
677
40
  **/
678
- newCodeHash: H256;
679
-
41
+ Remarked: GenericPalletEvent<'System', 'Remarked', {
42
+ sender: AccountId32;
43
+ hash: H256;
44
+ }>;
680
45
  /**
681
- * Previous code hash of the contract.
46
+ * Generic pallet event
682
47
  **/
683
- oldCodeHash: H256;
684
- }
685
- >;
686
-
48
+ [prop: string]: GenericPalletEvent;
49
+ };
687
50
  /**
688
- * A contract was called either by a plain account or another contract.
689
- *
690
- * # Note
691
- *
692
- * Please keep in mind that like all events this is only emitted for successful
693
- * calls. This is because on failure all storage changes including events are
694
- * rolled back.
51
+ * Pallet `Scheduler`'s events
695
52
  **/
696
- Called: GenericPalletEvent<
697
- 'Contracts',
698
- 'Called',
699
- {
53
+ scheduler: {
700
54
  /**
701
- * The caller of the `contract`.
55
+ * Scheduled some task.
702
56
  **/
703
- caller: PalletContractsOrigin;
704
-
57
+ Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', {
58
+ when: number;
59
+ index: number;
60
+ }>;
705
61
  /**
706
- * The contract that was called.
62
+ * Canceled some task.
707
63
  **/
708
- contract: AccountId32;
709
- }
710
- >;
711
-
712
- /**
713
- * A contract delegate called a code hash.
714
- *
715
- * # Note
716
- *
717
- * Please keep in mind that like all events this is only emitted for successful
718
- * calls. This is because on failure all storage changes including events are
719
- * rolled back.
720
- **/
721
- DelegateCalled: GenericPalletEvent<
722
- 'Contracts',
723
- 'DelegateCalled',
724
- {
64
+ Canceled: GenericPalletEvent<'Scheduler', 'Canceled', {
65
+ when: number;
66
+ index: number;
67
+ }>;
725
68
  /**
726
- * The contract that performed the delegate call and hence in whose context
727
- * the `code_hash` is executed.
69
+ * Dispatched some task.
728
70
  **/
729
- contract: AccountId32;
730
-
71
+ Dispatched: GenericPalletEvent<'Scheduler', 'Dispatched', {
72
+ task: [number, number];
73
+ id?: FixedBytes<32> | undefined;
74
+ result: Result<[], DispatchError>;
75
+ }>;
731
76
  /**
732
- * The code hash that was delegate called.
77
+ * The call for the provided hash was not found so the task has been aborted.
733
78
  **/
734
- codeHash: H256;
735
- }
736
- >;
737
-
738
- /**
739
- * Generic pallet event
740
- **/
741
- [prop: string]: GenericPalletEvent;
742
- };
743
- /**
744
- * Pallet `NominationPools`'s events
745
- **/
746
- nominationPools: {
747
- /**
748
- * A pool has been created.
749
- **/
750
- Created: GenericPalletEvent<'NominationPools', 'Created', { depositor: AccountId32; poolId: number }>;
751
-
752
- /**
753
- * A member has became bonded in a pool.
754
- **/
755
- Bonded: GenericPalletEvent<
756
- 'NominationPools',
757
- 'Bonded',
758
- { member: AccountId32; poolId: number; bonded: bigint; joined: boolean }
759
- >;
760
-
761
- /**
762
- * A payout has been made to a member.
763
- **/
764
- PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', { member: AccountId32; poolId: number; payout: bigint }>;
765
-
766
- /**
767
- * A member has unbonded from their pool.
768
- *
769
- * - `balance` is the corresponding balance of the number of points that has been
770
- * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
771
- * pool.
772
- * - `points` is the number of points that are issued as a result of `balance` being
773
- * dissolved into the corresponding unbonding pool.
774
- * - `era` is the era in which the balance will be unbonded.
775
- * In the absence of slashing, these values will match. In the presence of slashing, the
776
- * number of points that are issued in the unbonding pool will be less than the amount
777
- * requested to be unbonded.
778
- **/
779
- Unbonded: GenericPalletEvent<
780
- 'NominationPools',
781
- 'Unbonded',
782
- { member: AccountId32; poolId: number; balance: bigint; points: bigint; era: number }
783
- >;
784
-
785
- /**
786
- * A member has withdrawn from their pool.
787
- *
788
- * The given number of `points` have been dissolved in return of `balance`.
789
- *
790
- * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
791
- * will be 1.
792
- **/
793
- Withdrawn: GenericPalletEvent<
794
- 'NominationPools',
795
- 'Withdrawn',
796
- { member: AccountId32; poolId: number; balance: bigint; points: bigint }
797
- >;
798
-
799
- /**
800
- * A pool has been destroyed.
801
- **/
802
- Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', { poolId: number }>;
803
-
804
- /**
805
- * The state of a pool has changed
806
- **/
807
- StateChanged: GenericPalletEvent<
808
- 'NominationPools',
809
- 'StateChanged',
810
- { poolId: number; newState: PalletNominationPoolsPoolState }
811
- >;
812
-
813
- /**
814
- * A member has been removed from a pool.
815
- *
816
- * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
817
- **/
818
- MemberRemoved: GenericPalletEvent<'NominationPools', 'MemberRemoved', { poolId: number; member: AccountId32 }>;
819
-
820
- /**
821
- * The roles of a pool have been updated to the given new roles. Note that the depositor
822
- * can never change.
823
- **/
824
- RolesUpdated: GenericPalletEvent<
825
- 'NominationPools',
826
- 'RolesUpdated',
827
- { root?: AccountId32 | undefined; bouncer?: AccountId32 | undefined; nominator?: AccountId32 | undefined }
828
- >;
829
-
830
- /**
831
- * The active balance of pool `pool_id` has been slashed to `balance`.
832
- **/
833
- PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', { poolId: number; balance: bigint }>;
834
-
835
- /**
836
- * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
837
- **/
838
- UnbondingPoolSlashed: GenericPalletEvent<
839
- 'NominationPools',
840
- 'UnbondingPoolSlashed',
841
- { poolId: number; era: number; balance: bigint }
842
- >;
843
-
844
- /**
845
- * A pool's commission setting has been changed.
846
- **/
847
- PoolCommissionUpdated: GenericPalletEvent<
848
- 'NominationPools',
849
- 'PoolCommissionUpdated',
850
- { poolId: number; current?: [Perbill, AccountId32] | undefined }
851
- >;
852
-
853
- /**
854
- * A pool's maximum commission setting has been changed.
855
- **/
856
- PoolMaxCommissionUpdated: GenericPalletEvent<
857
- 'NominationPools',
858
- 'PoolMaxCommissionUpdated',
859
- { poolId: number; maxCommission: Perbill }
860
- >;
861
-
862
- /**
863
- * A pool's commission `change_rate` has been changed.
864
- **/
865
- PoolCommissionChangeRateUpdated: GenericPalletEvent<
866
- 'NominationPools',
867
- 'PoolCommissionChangeRateUpdated',
868
- { poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate }
869
- >;
870
-
871
- /**
872
- * Pool commission has been claimed.
873
- **/
874
- PoolCommissionClaimed: GenericPalletEvent<
875
- 'NominationPools',
876
- 'PoolCommissionClaimed',
877
- { poolId: number; commission: bigint }
878
- >;
879
-
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
+ };
880
102
  /**
881
- * Generic pallet event
103
+ * Pallet `Balances`'s events
882
104
  **/
883
- [prop: string]: GenericPalletEvent;
884
- };
885
- /**
886
- * Pallet `Identity`'s events
887
- **/
888
- identity: {
105
+ balances: {
106
+ /**
107
+ * An account was created with some free balance.
108
+ **/
109
+ Endowed: GenericPalletEvent<'Balances', 'Endowed', {
110
+ account: AccountId32;
111
+ freeBalance: bigint;
112
+ }>;
113
+ /**
114
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
115
+ * resulting in an outright loss.
116
+ **/
117
+ DustLost: GenericPalletEvent<'Balances', 'DustLost', {
118
+ account: AccountId32;
119
+ amount: bigint;
120
+ }>;
121
+ /**
122
+ * Transfer succeeded.
123
+ **/
124
+ Transfer: GenericPalletEvent<'Balances', 'Transfer', {
125
+ from: AccountId32;
126
+ to: AccountId32;
127
+ amount: bigint;
128
+ }>;
129
+ /**
130
+ * A balance was set by root.
131
+ **/
132
+ BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', {
133
+ who: AccountId32;
134
+ free: bigint;
135
+ }>;
136
+ /**
137
+ * Some balance was reserved (moved from free to reserved).
138
+ **/
139
+ Reserved: GenericPalletEvent<'Balances', 'Reserved', {
140
+ who: AccountId32;
141
+ amount: bigint;
142
+ }>;
143
+ /**
144
+ * Some balance was unreserved (moved from reserved to free).
145
+ **/
146
+ Unreserved: GenericPalletEvent<'Balances', 'Unreserved', {
147
+ who: AccountId32;
148
+ amount: bigint;
149
+ }>;
150
+ /**
151
+ * Some balance was moved from the reserve of the first account to the second account.
152
+ * Final argument indicates the destination balance type.
153
+ **/
154
+ ReserveRepatriated: GenericPalletEvent<'Balances', 'ReserveRepatriated', {
155
+ from: AccountId32;
156
+ to: AccountId32;
157
+ amount: bigint;
158
+ destinationStatus: FrameSupportTokensMiscBalanceStatus;
159
+ }>;
160
+ /**
161
+ * Some amount was deposited (e.g. for transaction fees).
162
+ **/
163
+ Deposit: GenericPalletEvent<'Balances', 'Deposit', {
164
+ who: AccountId32;
165
+ amount: bigint;
166
+ }>;
167
+ /**
168
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
169
+ **/
170
+ Withdraw: GenericPalletEvent<'Balances', 'Withdraw', {
171
+ who: AccountId32;
172
+ amount: bigint;
173
+ }>;
174
+ /**
175
+ * Some amount was removed from the account (e.g. for misbehavior).
176
+ **/
177
+ Slashed: GenericPalletEvent<'Balances', 'Slashed', {
178
+ who: AccountId32;
179
+ amount: bigint;
180
+ }>;
181
+ /**
182
+ * Some amount was minted into an account.
183
+ **/
184
+ Minted: GenericPalletEvent<'Balances', 'Minted', {
185
+ who: AccountId32;
186
+ amount: bigint;
187
+ }>;
188
+ /**
189
+ * Some amount was burned from an account.
190
+ **/
191
+ Burned: GenericPalletEvent<'Balances', 'Burned', {
192
+ who: AccountId32;
193
+ amount: bigint;
194
+ }>;
195
+ /**
196
+ * Some amount was suspended from an account (it can be restored later).
197
+ **/
198
+ Suspended: GenericPalletEvent<'Balances', 'Suspended', {
199
+ who: AccountId32;
200
+ amount: bigint;
201
+ }>;
202
+ /**
203
+ * Some amount was restored into an account.
204
+ **/
205
+ Restored: GenericPalletEvent<'Balances', 'Restored', {
206
+ who: AccountId32;
207
+ amount: bigint;
208
+ }>;
209
+ /**
210
+ * An account was upgraded.
211
+ **/
212
+ Upgraded: GenericPalletEvent<'Balances', 'Upgraded', {
213
+ who: AccountId32;
214
+ }>;
215
+ /**
216
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
217
+ **/
218
+ Issued: GenericPalletEvent<'Balances', 'Issued', {
219
+ amount: bigint;
220
+ }>;
221
+ /**
222
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
223
+ **/
224
+ Rescinded: GenericPalletEvent<'Balances', 'Rescinded', {
225
+ amount: bigint;
226
+ }>;
227
+ /**
228
+ * Some balance was locked.
229
+ **/
230
+ Locked: GenericPalletEvent<'Balances', 'Locked', {
231
+ who: AccountId32;
232
+ amount: bigint;
233
+ }>;
234
+ /**
235
+ * Some balance was unlocked.
236
+ **/
237
+ Unlocked: GenericPalletEvent<'Balances', 'Unlocked', {
238
+ who: AccountId32;
239
+ amount: bigint;
240
+ }>;
241
+ /**
242
+ * Some balance was frozen.
243
+ **/
244
+ Frozen: GenericPalletEvent<'Balances', 'Frozen', {
245
+ who: AccountId32;
246
+ amount: bigint;
247
+ }>;
248
+ /**
249
+ * Some balance was thawed.
250
+ **/
251
+ Thawed: GenericPalletEvent<'Balances', 'Thawed', {
252
+ who: AccountId32;
253
+ amount: bigint;
254
+ }>;
255
+ /**
256
+ * Generic pallet event
257
+ **/
258
+ [prop: string]: GenericPalletEvent;
259
+ };
889
260
  /**
890
- * A name was set or reset (which will remove all judgements).
261
+ * Pallet `TransactionPayment`'s events
891
262
  **/
892
- IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
893
-
263
+ transactionPayment: {
264
+ /**
265
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
266
+ * has been paid by `who`.
267
+ **/
268
+ TransactionFeePaid: GenericPalletEvent<'TransactionPayment', 'TransactionFeePaid', {
269
+ who: AccountId32;
270
+ actualFee: bigint;
271
+ tip: bigint;
272
+ }>;
273
+ /**
274
+ * Generic pallet event
275
+ **/
276
+ [prop: string]: GenericPalletEvent;
277
+ };
894
278
  /**
895
- * A name was cleared, and the given balance returned.
279
+ * Pallet `Staking`'s events
896
280
  **/
897
- IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
898
-
281
+ staking: {
282
+ /**
283
+ * The era payout has been set; the first balance is the validator-payout; the second is
284
+ * the remainder from the maximum amount of reward.
285
+ **/
286
+ EraPaid: GenericPalletEvent<'Staking', 'EraPaid', {
287
+ eraIndex: number;
288
+ validatorPayout: bigint;
289
+ remainder: bigint;
290
+ }>;
291
+ /**
292
+ * The nominator has been rewarded by this amount.
293
+ **/
294
+ Rewarded: GenericPalletEvent<'Staking', 'Rewarded', {
295
+ stash: AccountId32;
296
+ amount: bigint;
297
+ }>;
298
+ /**
299
+ * A staker (validator or nominator) has been slashed by the given amount.
300
+ **/
301
+ Slashed: GenericPalletEvent<'Staking', 'Slashed', {
302
+ staker: AccountId32;
303
+ amount: bigint;
304
+ }>;
305
+ /**
306
+ * A slash for the given validator, for the given percentage of their stake, at the given
307
+ * era as been reported.
308
+ **/
309
+ SlashReported: GenericPalletEvent<'Staking', 'SlashReported', {
310
+ validator: AccountId32;
311
+ fraction: Perbill;
312
+ slashEra: number;
313
+ }>;
314
+ /**
315
+ * An old slashing report from a prior era was discarded because it could
316
+ * not be processed.
317
+ **/
318
+ OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', {
319
+ sessionIndex: number;
320
+ }>;
321
+ /**
322
+ * A new set of stakers was elected.
323
+ **/
324
+ StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
325
+ /**
326
+ * An account has bonded this amount. \[stash, amount\]
327
+ *
328
+ * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
329
+ * it will not be emitted for staking rewards when they are added to stake.
330
+ **/
331
+ Bonded: GenericPalletEvent<'Staking', 'Bonded', {
332
+ stash: AccountId32;
333
+ amount: bigint;
334
+ }>;
335
+ /**
336
+ * An account has unbonded this amount.
337
+ **/
338
+ Unbonded: GenericPalletEvent<'Staking', 'Unbonded', {
339
+ stash: AccountId32;
340
+ amount: bigint;
341
+ }>;
342
+ /**
343
+ * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
344
+ * from the unlocking queue.
345
+ **/
346
+ Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', {
347
+ stash: AccountId32;
348
+ amount: bigint;
349
+ }>;
350
+ /**
351
+ * A nominator has been kicked from a validator.
352
+ **/
353
+ Kicked: GenericPalletEvent<'Staking', 'Kicked', {
354
+ nominator: AccountId32;
355
+ stash: AccountId32;
356
+ }>;
357
+ /**
358
+ * The election failed. No new era is planned.
359
+ **/
360
+ StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
361
+ /**
362
+ * An account has stopped participating as either a validator or nominator.
363
+ **/
364
+ Chilled: GenericPalletEvent<'Staking', 'Chilled', {
365
+ stash: AccountId32;
366
+ }>;
367
+ /**
368
+ * The stakers' rewards are getting paid.
369
+ **/
370
+ PayoutStarted: GenericPalletEvent<'Staking', 'PayoutStarted', {
371
+ eraIndex: number;
372
+ validatorStash: AccountId32;
373
+ }>;
374
+ /**
375
+ * A validator has set their preferences.
376
+ **/
377
+ ValidatorPrefsSet: GenericPalletEvent<'Staking', 'ValidatorPrefsSet', {
378
+ stash: AccountId32;
379
+ prefs: PalletStakingValidatorPrefs;
380
+ }>;
381
+ /**
382
+ * A new force era mode was set.
383
+ **/
384
+ ForceEra: GenericPalletEvent<'Staking', 'ForceEra', {
385
+ mode: PalletStakingForcing;
386
+ }>;
387
+ /**
388
+ * Generic pallet event
389
+ **/
390
+ [prop: string]: GenericPalletEvent;
391
+ };
899
392
  /**
900
- * A name was removed and the given balance slashed.
393
+ * Pallet `Session`'s events
901
394
  **/
902
- IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
903
-
395
+ session: {
396
+ /**
397
+ * New session has happened. Note that the argument is the session index, not the
398
+ * block number as the type might suggest.
399
+ **/
400
+ NewSession: GenericPalletEvent<'Session', 'NewSession', {
401
+ sessionIndex: number;
402
+ }>;
403
+ /**
404
+ * Generic pallet event
405
+ **/
406
+ [prop: string]: GenericPalletEvent;
407
+ };
904
408
  /**
905
- * A judgement was asked from a registrar.
409
+ * Pallet `Aleph`'s events
906
410
  **/
907
- JudgementRequested: GenericPalletEvent<
908
- 'Identity',
909
- 'JudgementRequested',
910
- { who: AccountId32; registrarIndex: number }
911
- >;
912
-
411
+ aleph: {
412
+ ChangeEmergencyFinalizer: GenericPalletEvent<'Aleph', 'ChangeEmergencyFinalizer', PrimitivesAppPublic>;
413
+ ScheduleFinalityVersionChange: GenericPalletEvent<'Aleph', 'ScheduleFinalityVersionChange', PrimitivesVersionChange>;
414
+ FinalityVersionChange: GenericPalletEvent<'Aleph', 'FinalityVersionChange', PrimitivesVersionChange>;
415
+ /**
416
+ * Generic pallet event
417
+ **/
418
+ [prop: string]: GenericPalletEvent;
419
+ };
913
420
  /**
914
- * A judgement request was retracted.
421
+ * Pallet `Elections`'s events
915
422
  **/
916
- JudgementUnrequested: GenericPalletEvent<
917
- 'Identity',
918
- 'JudgementUnrequested',
919
- { who: AccountId32; registrarIndex: number }
920
- >;
921
-
423
+ elections: {
424
+ /**
425
+ * Committee for the next era has changed
426
+ **/
427
+ ChangeValidators: GenericPalletEvent<'Elections', 'ChangeValidators', [
428
+ Array<AccountId32>,
429
+ Array<AccountId32>,
430
+ PrimitivesCommitteeSeats
431
+ ]>;
432
+ /**
433
+ * Generic pallet event
434
+ **/
435
+ [prop: string]: GenericPalletEvent;
436
+ };
922
437
  /**
923
- * A judgement was given by a registrar.
438
+ * Pallet `Treasury`'s events
924
439
  **/
925
- JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId32; registrarIndex: number }>;
926
-
440
+ treasury: {
441
+ /**
442
+ * New proposal.
443
+ **/
444
+ Proposed: GenericPalletEvent<'Treasury', 'Proposed', {
445
+ proposalIndex: number;
446
+ }>;
447
+ /**
448
+ * We have ended a spend period and will now allocate funds.
449
+ **/
450
+ Spending: GenericPalletEvent<'Treasury', 'Spending', {
451
+ budgetRemaining: bigint;
452
+ }>;
453
+ /**
454
+ * Some funds have been allocated.
455
+ **/
456
+ Awarded: GenericPalletEvent<'Treasury', 'Awarded', {
457
+ proposalIndex: number;
458
+ award: bigint;
459
+ account: AccountId32;
460
+ }>;
461
+ /**
462
+ * A proposal was rejected; funds were slashed.
463
+ **/
464
+ Rejected: GenericPalletEvent<'Treasury', 'Rejected', {
465
+ proposalIndex: number;
466
+ slashed: bigint;
467
+ }>;
468
+ /**
469
+ * Some of our funds have been burnt.
470
+ **/
471
+ Burnt: GenericPalletEvent<'Treasury', 'Burnt', {
472
+ burntFunds: bigint;
473
+ }>;
474
+ /**
475
+ * Spending has finished; this is the amount that rolls over until next spend.
476
+ **/
477
+ Rollover: GenericPalletEvent<'Treasury', 'Rollover', {
478
+ rolloverBalance: bigint;
479
+ }>;
480
+ /**
481
+ * Some funds have been deposited.
482
+ **/
483
+ Deposit: GenericPalletEvent<'Treasury', 'Deposit', {
484
+ value: bigint;
485
+ }>;
486
+ /**
487
+ * A new spend proposal has been approved.
488
+ **/
489
+ SpendApproved: GenericPalletEvent<'Treasury', 'SpendApproved', {
490
+ proposalIndex: number;
491
+ amount: bigint;
492
+ beneficiary: AccountId32;
493
+ }>;
494
+ /**
495
+ * The inactive funds of the pallet have been updated.
496
+ **/
497
+ UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', {
498
+ reactivated: bigint;
499
+ deactivated: bigint;
500
+ }>;
501
+ /**
502
+ * Generic pallet event
503
+ **/
504
+ [prop: string]: GenericPalletEvent;
505
+ };
927
506
  /**
928
- * A registrar was added.
507
+ * Pallet `Vesting`'s events
929
508
  **/
930
- RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
931
-
509
+ vesting: {
510
+ /**
511
+ * The amount vested has been updated. This could indicate a change in funds available.
512
+ * The balance given is the amount which is left unvested (and thus locked).
513
+ **/
514
+ VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', {
515
+ account: AccountId32;
516
+ unvested: bigint;
517
+ }>;
518
+ /**
519
+ * An \[account\] has become fully vested.
520
+ **/
521
+ VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', {
522
+ account: AccountId32;
523
+ }>;
524
+ /**
525
+ * Generic pallet event
526
+ **/
527
+ [prop: string]: GenericPalletEvent;
528
+ };
932
529
  /**
933
- * A sub-identity was added to an identity and the deposit paid.
530
+ * Pallet `Utility`'s events
934
531
  **/
935
- SubIdentityAdded: GenericPalletEvent<
936
- 'Identity',
937
- 'SubIdentityAdded',
938
- { sub: AccountId32; main: AccountId32; deposit: bigint }
939
- >;
940
-
532
+ utility: {
533
+ /**
534
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
535
+ * well as the error.
536
+ **/
537
+ BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', {
538
+ index: number;
539
+ error: DispatchError;
540
+ }>;
541
+ /**
542
+ * Batch of dispatches completed fully with no error.
543
+ **/
544
+ BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
545
+ /**
546
+ * Batch of dispatches completed but has errors.
547
+ **/
548
+ BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
549
+ /**
550
+ * A single item within a Batch of dispatches has completed with no error.
551
+ **/
552
+ ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
553
+ /**
554
+ * A single item within a Batch of dispatches has completed with error.
555
+ **/
556
+ ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', {
557
+ error: DispatchError;
558
+ }>;
559
+ /**
560
+ * A call was dispatched.
561
+ **/
562
+ DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', {
563
+ result: Result<[], DispatchError>;
564
+ }>;
565
+ /**
566
+ * Generic pallet event
567
+ **/
568
+ [prop: string]: GenericPalletEvent;
569
+ };
941
570
  /**
942
- * A sub-identity was removed from an identity and the deposit freed.
571
+ * Pallet `Multisig`'s events
943
572
  **/
944
- SubIdentityRemoved: GenericPalletEvent<
945
- 'Identity',
946
- 'SubIdentityRemoved',
947
- { sub: AccountId32; main: AccountId32; deposit: bigint }
948
- >;
949
-
573
+ multisig: {
574
+ /**
575
+ * A new multisig operation has begun.
576
+ **/
577
+ NewMultisig: GenericPalletEvent<'Multisig', 'NewMultisig', {
578
+ approving: AccountId32;
579
+ multisig: AccountId32;
580
+ callHash: FixedBytes<32>;
581
+ }>;
582
+ /**
583
+ * A multisig operation has been approved by someone.
584
+ **/
585
+ MultisigApproval: GenericPalletEvent<'Multisig', 'MultisigApproval', {
586
+ approving: AccountId32;
587
+ timepoint: PalletMultisigTimepoint;
588
+ multisig: AccountId32;
589
+ callHash: FixedBytes<32>;
590
+ }>;
591
+ /**
592
+ * A multisig operation has been executed.
593
+ **/
594
+ MultisigExecuted: GenericPalletEvent<'Multisig', 'MultisigExecuted', {
595
+ approving: AccountId32;
596
+ timepoint: PalletMultisigTimepoint;
597
+ multisig: AccountId32;
598
+ callHash: FixedBytes<32>;
599
+ result: Result<[], DispatchError>;
600
+ }>;
601
+ /**
602
+ * A multisig operation has been cancelled.
603
+ **/
604
+ MultisigCancelled: GenericPalletEvent<'Multisig', 'MultisigCancelled', {
605
+ cancelling: AccountId32;
606
+ timepoint: PalletMultisigTimepoint;
607
+ multisig: AccountId32;
608
+ callHash: FixedBytes<32>;
609
+ }>;
610
+ /**
611
+ * Generic pallet event
612
+ **/
613
+ [prop: string]: GenericPalletEvent;
614
+ };
950
615
  /**
951
- * A sub-identity was cleared, and the given deposit repatriated from the
952
- * main identity account to the sub-identity account.
616
+ * Pallet `Sudo`'s events
953
617
  **/
954
- SubIdentityRevoked: GenericPalletEvent<
955
- 'Identity',
956
- 'SubIdentityRevoked',
957
- { sub: AccountId32; main: AccountId32; deposit: bigint }
958
- >;
959
-
618
+ sudo: {
619
+ /**
620
+ * A sudo just took place. \[result\]
621
+ **/
622
+ Sudid: GenericPalletEvent<'Sudo', 'Sudid', {
623
+ sudoResult: Result<[], DispatchError>;
624
+ }>;
625
+ /**
626
+ * The \[sudoer\] just switched identity; the old key is supplied if one existed.
627
+ **/
628
+ KeyChanged: GenericPalletEvent<'Sudo', 'KeyChanged', {
629
+ oldSudoer?: AccountId32 | undefined;
630
+ }>;
631
+ /**
632
+ * A sudo just took place. \[result\]
633
+ **/
634
+ SudoAsDone: GenericPalletEvent<'Sudo', 'SudoAsDone', {
635
+ sudoResult: Result<[], DispatchError>;
636
+ }>;
637
+ /**
638
+ * Generic pallet event
639
+ **/
640
+ [prop: string]: GenericPalletEvent;
641
+ };
960
642
  /**
961
- * Generic pallet event
643
+ * Pallet `Contracts`'s events
962
644
  **/
963
- [prop: string]: GenericPalletEvent;
964
- };
965
- /**
966
- * Pallet `CommitteeManagement`'s events
967
- **/
968
- committeeManagement: {
645
+ contracts: {
646
+ /**
647
+ * Contract deployed by address at the specified address.
648
+ **/
649
+ Instantiated: GenericPalletEvent<'Contracts', 'Instantiated', {
650
+ deployer: AccountId32;
651
+ contract: AccountId32;
652
+ }>;
653
+ /**
654
+ * Contract has been removed.
655
+ *
656
+ * # Note
657
+ *
658
+ * The only way for a contract to be removed and emitting this event is by calling
659
+ * `seal_terminate`.
660
+ **/
661
+ Terminated: GenericPalletEvent<'Contracts', 'Terminated', {
662
+ /**
663
+ * The contract that was terminated.
664
+ **/
665
+ contract: AccountId32;
666
+ /**
667
+ * The account that received the contracts remaining balance
668
+ **/
669
+ beneficiary: AccountId32;
670
+ }>;
671
+ /**
672
+ * Code with the specified hash has been stored.
673
+ **/
674
+ CodeStored: GenericPalletEvent<'Contracts', 'CodeStored', {
675
+ codeHash: H256;
676
+ }>;
677
+ /**
678
+ * A custom event emitted by the contract.
679
+ **/
680
+ ContractEmitted: GenericPalletEvent<'Contracts', 'ContractEmitted', {
681
+ /**
682
+ * The contract that emitted the event.
683
+ **/
684
+ contract: AccountId32;
685
+ /**
686
+ * Data supplied by the contract. Metadata generated during contract compilation
687
+ * is needed to decode it.
688
+ **/
689
+ data: Bytes;
690
+ }>;
691
+ /**
692
+ * A code with the specified hash was removed.
693
+ **/
694
+ CodeRemoved: GenericPalletEvent<'Contracts', 'CodeRemoved', {
695
+ codeHash: H256;
696
+ }>;
697
+ /**
698
+ * A contract's code was updated.
699
+ **/
700
+ ContractCodeUpdated: GenericPalletEvent<'Contracts', 'ContractCodeUpdated', {
701
+ /**
702
+ * The contract that has been updated.
703
+ **/
704
+ contract: AccountId32;
705
+ /**
706
+ * New code hash that was set for the contract.
707
+ **/
708
+ newCodeHash: H256;
709
+ /**
710
+ * Previous code hash of the contract.
711
+ **/
712
+ oldCodeHash: H256;
713
+ }>;
714
+ /**
715
+ * A contract was called either by a plain account or another contract.
716
+ *
717
+ * # Note
718
+ *
719
+ * Please keep in mind that like all events this is only emitted for successful
720
+ * calls. This is because on failure all storage changes including events are
721
+ * rolled back.
722
+ **/
723
+ Called: GenericPalletEvent<'Contracts', 'Called', {
724
+ /**
725
+ * The caller of the `contract`.
726
+ **/
727
+ caller: PalletContractsOrigin;
728
+ /**
729
+ * The contract that was called.
730
+ **/
731
+ contract: AccountId32;
732
+ }>;
733
+ /**
734
+ * A contract delegate called a code hash.
735
+ *
736
+ * # Note
737
+ *
738
+ * Please keep in mind that like all events this is only emitted for successful
739
+ * calls. This is because on failure all storage changes including events are
740
+ * rolled back.
741
+ **/
742
+ DelegateCalled: GenericPalletEvent<'Contracts', 'DelegateCalled', {
743
+ /**
744
+ * The contract that performed the delegate call and hence in whose context
745
+ * the `code_hash` is executed.
746
+ **/
747
+ contract: AccountId32;
748
+ /**
749
+ * The code hash that was delegate called.
750
+ **/
751
+ codeHash: H256;
752
+ }>;
753
+ /**
754
+ * Generic pallet event
755
+ **/
756
+ [prop: string]: GenericPalletEvent;
757
+ };
969
758
  /**
970
- * Ban thresholds for the next era has changed
759
+ * Pallet `NominationPools`'s events
971
760
  **/
972
- SetBanConfig: GenericPalletEvent<'CommitteeManagement', 'SetBanConfig', PrimitivesBanConfig>;
973
-
761
+ nominationPools: {
762
+ /**
763
+ * A pool has been created.
764
+ **/
765
+ Created: GenericPalletEvent<'NominationPools', 'Created', {
766
+ depositor: AccountId32;
767
+ poolId: number;
768
+ }>;
769
+ /**
770
+ * A member has became bonded in a pool.
771
+ **/
772
+ Bonded: GenericPalletEvent<'NominationPools', 'Bonded', {
773
+ member: AccountId32;
774
+ poolId: number;
775
+ bonded: bigint;
776
+ joined: boolean;
777
+ }>;
778
+ /**
779
+ * A payout has been made to a member.
780
+ **/
781
+ PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', {
782
+ member: AccountId32;
783
+ poolId: number;
784
+ payout: bigint;
785
+ }>;
786
+ /**
787
+ * A member has unbonded from their pool.
788
+ *
789
+ * - `balance` is the corresponding balance of the number of points that has been
790
+ * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
791
+ * pool.
792
+ * - `points` is the number of points that are issued as a result of `balance` being
793
+ * dissolved into the corresponding unbonding pool.
794
+ * - `era` is the era in which the balance will be unbonded.
795
+ * In the absence of slashing, these values will match. In the presence of slashing, the
796
+ * number of points that are issued in the unbonding pool will be less than the amount
797
+ * requested to be unbonded.
798
+ **/
799
+ Unbonded: GenericPalletEvent<'NominationPools', 'Unbonded', {
800
+ member: AccountId32;
801
+ poolId: number;
802
+ balance: bigint;
803
+ points: bigint;
804
+ era: number;
805
+ }>;
806
+ /**
807
+ * A member has withdrawn from their pool.
808
+ *
809
+ * The given number of `points` have been dissolved in return of `balance`.
810
+ *
811
+ * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
812
+ * will be 1.
813
+ **/
814
+ Withdrawn: GenericPalletEvent<'NominationPools', 'Withdrawn', {
815
+ member: AccountId32;
816
+ poolId: number;
817
+ balance: bigint;
818
+ points: bigint;
819
+ }>;
820
+ /**
821
+ * A pool has been destroyed.
822
+ **/
823
+ Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', {
824
+ poolId: number;
825
+ }>;
826
+ /**
827
+ * The state of a pool has changed
828
+ **/
829
+ StateChanged: GenericPalletEvent<'NominationPools', 'StateChanged', {
830
+ poolId: number;
831
+ newState: PalletNominationPoolsPoolState;
832
+ }>;
833
+ /**
834
+ * A member has been removed from a pool.
835
+ *
836
+ * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
837
+ **/
838
+ MemberRemoved: GenericPalletEvent<'NominationPools', 'MemberRemoved', {
839
+ poolId: number;
840
+ member: AccountId32;
841
+ }>;
842
+ /**
843
+ * The roles of a pool have been updated to the given new roles. Note that the depositor
844
+ * can never change.
845
+ **/
846
+ RolesUpdated: GenericPalletEvent<'NominationPools', 'RolesUpdated', {
847
+ root?: AccountId32 | undefined;
848
+ bouncer?: AccountId32 | undefined;
849
+ nominator?: AccountId32 | undefined;
850
+ }>;
851
+ /**
852
+ * The active balance of pool `pool_id` has been slashed to `balance`.
853
+ **/
854
+ PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', {
855
+ poolId: number;
856
+ balance: bigint;
857
+ }>;
858
+ /**
859
+ * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
860
+ **/
861
+ UnbondingPoolSlashed: GenericPalletEvent<'NominationPools', 'UnbondingPoolSlashed', {
862
+ poolId: number;
863
+ era: number;
864
+ balance: bigint;
865
+ }>;
866
+ /**
867
+ * A pool's commission setting has been changed.
868
+ **/
869
+ PoolCommissionUpdated: GenericPalletEvent<'NominationPools', 'PoolCommissionUpdated', {
870
+ poolId: number;
871
+ current?: [Perbill, AccountId32] | undefined;
872
+ }>;
873
+ /**
874
+ * A pool's maximum commission setting has been changed.
875
+ **/
876
+ PoolMaxCommissionUpdated: GenericPalletEvent<'NominationPools', 'PoolMaxCommissionUpdated', {
877
+ poolId: number;
878
+ maxCommission: Perbill;
879
+ }>;
880
+ /**
881
+ * A pool's commission `change_rate` has been changed.
882
+ **/
883
+ PoolCommissionChangeRateUpdated: GenericPalletEvent<'NominationPools', 'PoolCommissionChangeRateUpdated', {
884
+ poolId: number;
885
+ changeRate: PalletNominationPoolsCommissionChangeRate;
886
+ }>;
887
+ /**
888
+ * Pool commission has been claimed.
889
+ **/
890
+ PoolCommissionClaimed: GenericPalletEvent<'NominationPools', 'PoolCommissionClaimed', {
891
+ poolId: number;
892
+ commission: bigint;
893
+ }>;
894
+ /**
895
+ * Generic pallet event
896
+ **/
897
+ [prop: string]: GenericPalletEvent;
898
+ };
974
899
  /**
975
- * Validators have been banned from the committee
900
+ * Pallet `Identity`'s events
976
901
  **/
977
- BanValidators: GenericPalletEvent<'CommitteeManagement', 'BanValidators', Array<[AccountId32, PrimitivesBanInfo]>>;
978
-
902
+ identity: {
903
+ /**
904
+ * A name was set or reset (which will remove all judgements).
905
+ **/
906
+ IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', {
907
+ who: AccountId32;
908
+ }>;
909
+ /**
910
+ * A name was cleared, and the given balance returned.
911
+ **/
912
+ IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', {
913
+ who: AccountId32;
914
+ deposit: bigint;
915
+ }>;
916
+ /**
917
+ * A name was removed and the given balance slashed.
918
+ **/
919
+ IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', {
920
+ who: AccountId32;
921
+ deposit: bigint;
922
+ }>;
923
+ /**
924
+ * A judgement was asked from a registrar.
925
+ **/
926
+ JudgementRequested: GenericPalletEvent<'Identity', 'JudgementRequested', {
927
+ who: AccountId32;
928
+ registrarIndex: number;
929
+ }>;
930
+ /**
931
+ * A judgement request was retracted.
932
+ **/
933
+ JudgementUnrequested: GenericPalletEvent<'Identity', 'JudgementUnrequested', {
934
+ who: AccountId32;
935
+ registrarIndex: number;
936
+ }>;
937
+ /**
938
+ * A judgement was given by a registrar.
939
+ **/
940
+ JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', {
941
+ target: AccountId32;
942
+ registrarIndex: number;
943
+ }>;
944
+ /**
945
+ * A registrar was added.
946
+ **/
947
+ RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', {
948
+ registrarIndex: number;
949
+ }>;
950
+ /**
951
+ * A sub-identity was added to an identity and the deposit paid.
952
+ **/
953
+ SubIdentityAdded: GenericPalletEvent<'Identity', 'SubIdentityAdded', {
954
+ sub: AccountId32;
955
+ main: AccountId32;
956
+ deposit: bigint;
957
+ }>;
958
+ /**
959
+ * A sub-identity was removed from an identity and the deposit freed.
960
+ **/
961
+ SubIdentityRemoved: GenericPalletEvent<'Identity', 'SubIdentityRemoved', {
962
+ sub: AccountId32;
963
+ main: AccountId32;
964
+ deposit: bigint;
965
+ }>;
966
+ /**
967
+ * A sub-identity was cleared, and the given deposit repatriated from the
968
+ * main identity account to the sub-identity account.
969
+ **/
970
+ SubIdentityRevoked: GenericPalletEvent<'Identity', 'SubIdentityRevoked', {
971
+ sub: AccountId32;
972
+ main: AccountId32;
973
+ deposit: bigint;
974
+ }>;
975
+ /**
976
+ * Generic pallet event
977
+ **/
978
+ [prop: string]: GenericPalletEvent;
979
+ };
979
980
  /**
980
- * Generic pallet event
981
+ * Pallet `CommitteeManagement`'s events
981
982
  **/
982
- [prop: string]: GenericPalletEvent;
983
- };
983
+ committeeManagement: {
984
+ /**
985
+ * Ban thresholds for the next era has changed
986
+ **/
987
+ SetBanConfig: GenericPalletEvent<'CommitteeManagement', 'SetBanConfig', PrimitivesBanConfig>;
988
+ /**
989
+ * Validators have been banned from the committee
990
+ **/
991
+ BanValidators: GenericPalletEvent<'CommitteeManagement', 'BanValidators', Array<[AccountId32, PrimitivesBanInfo]>>;
992
+ /**
993
+ * Generic pallet event
994
+ **/
995
+ [prop: string]: GenericPalletEvent;
996
+ };
984
997
  }