@dedot/chaintypes 0.0.1-alpha.22

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 (280) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/aleph/consts.d.ts +533 -0
  4. package/aleph/consts.js +2 -0
  5. package/aleph/errors.d.ts +822 -0
  6. package/aleph/errors.js +2 -0
  7. package/aleph/events.d.ts +997 -0
  8. package/aleph/events.js +2 -0
  9. package/aleph/index.d.ts +19 -0
  10. package/aleph/index.js +3 -0
  11. package/aleph/query.d.ts +1271 -0
  12. package/aleph/query.js +2 -0
  13. package/aleph/rpc.d.ts +575 -0
  14. package/aleph/rpc.js +2 -0
  15. package/aleph/runtime.d.ts +410 -0
  16. package/aleph/runtime.js +2 -0
  17. package/aleph/tx.d.ts +2206 -0
  18. package/aleph/tx.js +2 -0
  19. package/aleph/types.d.ts +5560 -0
  20. package/aleph/types.js +2 -0
  21. package/astar/consts.d.ts +679 -0
  22. package/astar/consts.js +2 -0
  23. package/astar/errors.d.ts +1317 -0
  24. package/astar/errors.js +2 -0
  25. package/astar/events.d.ts +1707 -0
  26. package/astar/events.js +2 -0
  27. package/astar/index.d.ts +19 -0
  28. package/astar/index.js +3 -0
  29. package/astar/query.d.ts +1474 -0
  30. package/astar/query.js +2 -0
  31. package/astar/rpc.d.ts +775 -0
  32. package/astar/rpc.js +2 -0
  33. package/astar/runtime.d.ts +262 -0
  34. package/astar/runtime.js +2 -0
  35. package/astar/tx.d.ts +4810 -0
  36. package/astar/tx.js +2 -0
  37. package/astar/types.d.ts +12338 -0
  38. package/astar/types.js +2 -0
  39. package/cjs/aleph/consts.js +3 -0
  40. package/cjs/aleph/errors.js +3 -0
  41. package/cjs/aleph/events.js +3 -0
  42. package/cjs/aleph/index.js +19 -0
  43. package/cjs/aleph/query.js +3 -0
  44. package/cjs/aleph/rpc.js +3 -0
  45. package/cjs/aleph/runtime.js +3 -0
  46. package/cjs/aleph/tx.js +3 -0
  47. package/cjs/aleph/types.js +3 -0
  48. package/cjs/astar/consts.js +3 -0
  49. package/cjs/astar/errors.js +3 -0
  50. package/cjs/astar/events.js +3 -0
  51. package/cjs/astar/index.js +19 -0
  52. package/cjs/astar/query.js +3 -0
  53. package/cjs/astar/rpc.js +3 -0
  54. package/cjs/astar/runtime.js +3 -0
  55. package/cjs/astar/tx.js +3 -0
  56. package/cjs/astar/types.js +3 -0
  57. package/cjs/index.js +2 -0
  58. package/cjs/kusama/consts.js +3 -0
  59. package/cjs/kusama/errors.js +3 -0
  60. package/cjs/kusama/events.js +3 -0
  61. package/cjs/kusama/index.js +19 -0
  62. package/cjs/kusama/query.js +3 -0
  63. package/cjs/kusama/rpc.js +3 -0
  64. package/cjs/kusama/runtime.js +3 -0
  65. package/cjs/kusama/tx.js +3 -0
  66. package/cjs/kusama/types.js +3 -0
  67. package/cjs/kusamaAssetHub/consts.js +3 -0
  68. package/cjs/kusamaAssetHub/errors.js +3 -0
  69. package/cjs/kusamaAssetHub/events.js +3 -0
  70. package/cjs/kusamaAssetHub/index.js +19 -0
  71. package/cjs/kusamaAssetHub/query.js +3 -0
  72. package/cjs/kusamaAssetHub/rpc.js +3 -0
  73. package/cjs/kusamaAssetHub/runtime.js +3 -0
  74. package/cjs/kusamaAssetHub/tx.js +3 -0
  75. package/cjs/kusamaAssetHub/types.js +3 -0
  76. package/cjs/moonbeam/consts.js +3 -0
  77. package/cjs/moonbeam/errors.js +3 -0
  78. package/cjs/moonbeam/events.js +3 -0
  79. package/cjs/moonbeam/index.js +19 -0
  80. package/cjs/moonbeam/query.js +3 -0
  81. package/cjs/moonbeam/rpc.js +3 -0
  82. package/cjs/moonbeam/runtime.js +3 -0
  83. package/cjs/moonbeam/tx.js +3 -0
  84. package/cjs/moonbeam/types.js +3 -0
  85. package/cjs/package.json +1 -0
  86. package/cjs/packageInfo.js +5 -0
  87. package/cjs/polkadot/consts.js +3 -0
  88. package/cjs/polkadot/errors.js +3 -0
  89. package/cjs/polkadot/events.js +3 -0
  90. package/cjs/polkadot/index.js +19 -0
  91. package/cjs/polkadot/query.js +3 -0
  92. package/cjs/polkadot/rpc.js +3 -0
  93. package/cjs/polkadot/runtime.js +3 -0
  94. package/cjs/polkadot/tx.js +3 -0
  95. package/cjs/polkadot/types.js +3 -0
  96. package/cjs/polkadotAssetHub/consts.js +3 -0
  97. package/cjs/polkadotAssetHub/errors.js +3 -0
  98. package/cjs/polkadotAssetHub/events.js +3 -0
  99. package/cjs/polkadotAssetHub/index.js +19 -0
  100. package/cjs/polkadotAssetHub/query.js +3 -0
  101. package/cjs/polkadotAssetHub/rpc.js +3 -0
  102. package/cjs/polkadotAssetHub/runtime.js +3 -0
  103. package/cjs/polkadotAssetHub/tx.js +3 -0
  104. package/cjs/polkadotAssetHub/types.js +3 -0
  105. package/cjs/rococoAssetHub/consts.js +3 -0
  106. package/cjs/rococoAssetHub/errors.js +3 -0
  107. package/cjs/rococoAssetHub/events.js +3 -0
  108. package/cjs/rococoAssetHub/index.js +19 -0
  109. package/cjs/rococoAssetHub/query.js +3 -0
  110. package/cjs/rococoAssetHub/rpc.js +3 -0
  111. package/cjs/rococoAssetHub/runtime.js +3 -0
  112. package/cjs/rococoAssetHub/tx.js +3 -0
  113. package/cjs/rococoAssetHub/types.js +3 -0
  114. package/cjs/substrate/consts.js +3 -0
  115. package/cjs/substrate/errors.js +3 -0
  116. package/cjs/substrate/events.js +3 -0
  117. package/cjs/substrate/index.js +19 -0
  118. package/cjs/substrate/query.js +3 -0
  119. package/cjs/substrate/rpc.js +3 -0
  120. package/cjs/substrate/runtime.js +3 -0
  121. package/cjs/substrate/tx.js +3 -0
  122. package/cjs/substrate/types.js +3 -0
  123. package/cjs/westendAssetHub/consts.js +3 -0
  124. package/cjs/westendAssetHub/errors.js +3 -0
  125. package/cjs/westendAssetHub/events.js +3 -0
  126. package/cjs/westendAssetHub/index.js +19 -0
  127. package/cjs/westendAssetHub/query.js +3 -0
  128. package/cjs/westendAssetHub/rpc.js +3 -0
  129. package/cjs/westendAssetHub/runtime.js +3 -0
  130. package/cjs/westendAssetHub/tx.js +3 -0
  131. package/cjs/westendAssetHub/types.js +3 -0
  132. package/index.d.ts +5 -0
  133. package/index.js +1 -0
  134. package/kusama/consts.d.ts +1427 -0
  135. package/kusama/consts.js +2 -0
  136. package/kusama/errors.d.ts +2494 -0
  137. package/kusama/errors.js +2 -0
  138. package/kusama/events.d.ts +2960 -0
  139. package/kusama/events.js +2 -0
  140. package/kusama/index.d.ts +19 -0
  141. package/kusama/index.js +3 -0
  142. package/kusama/query.d.ts +3251 -0
  143. package/kusama/query.js +2 -0
  144. package/kusama/rpc.d.ts +726 -0
  145. package/kusama/rpc.js +2 -0
  146. package/kusama/runtime.d.ts +844 -0
  147. package/kusama/runtime.js +2 -0
  148. package/kusama/tx.d.ts +6014 -0
  149. package/kusama/tx.js +2 -0
  150. package/kusama/types.d.ts +15903 -0
  151. package/kusama/types.js +2 -0
  152. package/kusamaAssetHub/consts.d.ts +632 -0
  153. package/kusamaAssetHub/consts.js +2 -0
  154. package/kusamaAssetHub/errors.d.ts +1164 -0
  155. package/kusamaAssetHub/errors.js +2 -0
  156. package/kusamaAssetHub/events.d.ts +2162 -0
  157. package/kusamaAssetHub/events.js +2 -0
  158. package/kusamaAssetHub/index.d.ts +19 -0
  159. package/kusamaAssetHub/index.js +3 -0
  160. package/kusamaAssetHub/query.d.ts +1301 -0
  161. package/kusamaAssetHub/query.js +2 -0
  162. package/kusamaAssetHub/rpc.d.ts +590 -0
  163. package/kusamaAssetHub/rpc.js +2 -0
  164. package/kusamaAssetHub/runtime.d.ts +402 -0
  165. package/kusamaAssetHub/runtime.js +2 -0
  166. package/kusamaAssetHub/tx.d.ts +4217 -0
  167. package/kusamaAssetHub/tx.js +2 -0
  168. package/kusamaAssetHub/types.d.ts +10418 -0
  169. package/kusamaAssetHub/types.js +2 -0
  170. package/moonbeam/consts.d.ts +961 -0
  171. package/moonbeam/consts.js +2 -0
  172. package/moonbeam/errors.d.ts +1797 -0
  173. package/moonbeam/errors.js +2 -0
  174. package/moonbeam/events.d.ts +2840 -0
  175. package/moonbeam/events.js +2 -0
  176. package/moonbeam/index.d.ts +19 -0
  177. package/moonbeam/index.js +3 -0
  178. package/moonbeam/query.d.ts +2027 -0
  179. package/moonbeam/query.js +2 -0
  180. package/moonbeam/rpc.d.ts +809 -0
  181. package/moonbeam/rpc.js +2 -0
  182. package/moonbeam/runtime.d.ts +506 -0
  183. package/moonbeam/runtime.js +2 -0
  184. package/moonbeam/tx.d.ts +5205 -0
  185. package/moonbeam/tx.js +2 -0
  186. package/moonbeam/types.d.ts +12349 -0
  187. package/moonbeam/types.js +2 -0
  188. package/package.json +33 -0
  189. package/packageInfo.d.ts +4 -0
  190. package/packageInfo.js +3 -0
  191. package/polkadot/consts.d.ts +1160 -0
  192. package/polkadot/consts.js +2 -0
  193. package/polkadot/errors.d.ts +2020 -0
  194. package/polkadot/errors.js +2 -0
  195. package/polkadot/events.d.ts +2235 -0
  196. package/polkadot/events.js +2 -0
  197. package/polkadot/index.d.ts +19 -0
  198. package/polkadot/index.js +3 -0
  199. package/polkadot/query.d.ts +2811 -0
  200. package/polkadot/query.js +2 -0
  201. package/polkadot/rpc.d.ts +726 -0
  202. package/polkadot/rpc.js +2 -0
  203. package/polkadot/runtime.d.ts +844 -0
  204. package/polkadot/runtime.js +2 -0
  205. package/polkadot/tx.d.ts +5009 -0
  206. package/polkadot/tx.js +2 -0
  207. package/polkadot/types.d.ts +13729 -0
  208. package/polkadot/types.js +2 -0
  209. package/polkadotAssetHub/consts.d.ts +524 -0
  210. package/polkadotAssetHub/consts.js +2 -0
  211. package/polkadotAssetHub/errors.d.ts +925 -0
  212. package/polkadotAssetHub/errors.js +2 -0
  213. package/polkadotAssetHub/events.d.ts +1787 -0
  214. package/polkadotAssetHub/events.js +2 -0
  215. package/polkadotAssetHub/index.d.ts +19 -0
  216. package/polkadotAssetHub/index.js +3 -0
  217. package/polkadotAssetHub/query.d.ts +1222 -0
  218. package/polkadotAssetHub/query.js +2 -0
  219. package/polkadotAssetHub/rpc.d.ts +590 -0
  220. package/polkadotAssetHub/rpc.js +2 -0
  221. package/polkadotAssetHub/runtime.d.ts +359 -0
  222. package/polkadotAssetHub/runtime.js +2 -0
  223. package/polkadotAssetHub/tx.d.ts +3492 -0
  224. package/polkadotAssetHub/tx.js +2 -0
  225. package/polkadotAssetHub/types.d.ts +9164 -0
  226. package/polkadotAssetHub/types.js +2 -0
  227. package/rococoAssetHub/consts.d.ts +658 -0
  228. package/rococoAssetHub/consts.js +2 -0
  229. package/rococoAssetHub/errors.d.ts +1231 -0
  230. package/rococoAssetHub/errors.js +2 -0
  231. package/rococoAssetHub/events.d.ts +2172 -0
  232. package/rococoAssetHub/events.js +2 -0
  233. package/rococoAssetHub/index.d.ts +19 -0
  234. package/rococoAssetHub/index.js +3 -0
  235. package/rococoAssetHub/query.d.ts +1269 -0
  236. package/rococoAssetHub/query.js +2 -0
  237. package/rococoAssetHub/rpc.d.ts +590 -0
  238. package/rococoAssetHub/rpc.js +2 -0
  239. package/rococoAssetHub/runtime.d.ts +428 -0
  240. package/rococoAssetHub/runtime.js +2 -0
  241. package/rococoAssetHub/tx.d.ts +4307 -0
  242. package/rococoAssetHub/tx.js +2 -0
  243. package/rococoAssetHub/types.d.ts +11066 -0
  244. package/rococoAssetHub/types.js +2 -0
  245. package/substrate/consts.d.ts +1971 -0
  246. package/substrate/consts.js +2 -0
  247. package/substrate/errors.d.ts +3337 -0
  248. package/substrate/errors.js +2 -0
  249. package/substrate/events.d.ts +4777 -0
  250. package/substrate/events.js +2 -0
  251. package/substrate/index.d.ts +19 -0
  252. package/substrate/index.js +3 -0
  253. package/substrate/query.d.ts +3350 -0
  254. package/substrate/query.js +2 -0
  255. package/substrate/rpc.d.ts +718 -0
  256. package/substrate/rpc.js +2 -0
  257. package/substrate/runtime.d.ts +708 -0
  258. package/substrate/runtime.js +2 -0
  259. package/substrate/tx.d.ts +8800 -0
  260. package/substrate/tx.js +2 -0
  261. package/substrate/types.d.ts +20332 -0
  262. package/substrate/types.js +2 -0
  263. package/westendAssetHub/consts.d.ts +658 -0
  264. package/westendAssetHub/consts.js +2 -0
  265. package/westendAssetHub/errors.d.ts +1231 -0
  266. package/westendAssetHub/errors.js +2 -0
  267. package/westendAssetHub/events.d.ts +2172 -0
  268. package/westendAssetHub/events.js +2 -0
  269. package/westendAssetHub/index.d.ts +19 -0
  270. package/westendAssetHub/index.js +3 -0
  271. package/westendAssetHub/query.d.ts +1269 -0
  272. package/westendAssetHub/query.js +2 -0
  273. package/westendAssetHub/rpc.d.ts +590 -0
  274. package/westendAssetHub/rpc.js +2 -0
  275. package/westendAssetHub/runtime.d.ts +456 -0
  276. package/westendAssetHub/runtime.js +2 -0
  277. package/westendAssetHub/tx.d.ts +4307 -0
  278. package/westendAssetHub/tx.js +2 -0
  279. package/westendAssetHub/types.d.ts +11062 -0
  280. package/westendAssetHub/types.js +2 -0
@@ -0,0 +1,997 @@
1
+ import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
2
+ import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Perbill, Bytes } from '@dedot/codecs';
3
+ import type { FrameSupportTokensMiscBalanceStatus, PalletStakingValidatorPrefs, PalletStakingForcing, PrimitivesAppPublic, PrimitivesVersionChange, PrimitivesCommitteeSeats, PalletMultisigTimepoint, PalletContractsOrigin, PalletNominationPoolsPoolState, PalletNominationPoolsCommissionChangeRate, PrimitivesBanConfig, PrimitivesBanInfo } from './types';
4
+ export interface ChainEvents extends GenericChainEvents {
5
+ /**
6
+ * Pallet `System`'s events
7
+ **/
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
+ };
50
+ /**
51
+ * Pallet `Scheduler`'s events
52
+ **/
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
+ };
102
+ /**
103
+ * Pallet `Balances`'s events
104
+ **/
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
+ };
260
+ /**
261
+ * Pallet `TransactionPayment`'s events
262
+ **/
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
+ };
278
+ /**
279
+ * Pallet `Staking`'s events
280
+ **/
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
+ };
392
+ /**
393
+ * Pallet `Session`'s events
394
+ **/
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
+ };
408
+ /**
409
+ * Pallet `Aleph`'s events
410
+ **/
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
+ };
420
+ /**
421
+ * Pallet `Elections`'s events
422
+ **/
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
+ };
437
+ /**
438
+ * Pallet `Treasury`'s events
439
+ **/
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
+ };
506
+ /**
507
+ * Pallet `Vesting`'s events
508
+ **/
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
+ };
529
+ /**
530
+ * Pallet `Utility`'s events
531
+ **/
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
+ };
570
+ /**
571
+ * Pallet `Multisig`'s events
572
+ **/
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
+ };
615
+ /**
616
+ * Pallet `Sudo`'s events
617
+ **/
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
+ };
642
+ /**
643
+ * Pallet `Contracts`'s events
644
+ **/
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
+ };
758
+ /**
759
+ * Pallet `NominationPools`'s events
760
+ **/
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
+ };
899
+ /**
900
+ * Pallet `Identity`'s events
901
+ **/
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
+ };
980
+ /**
981
+ * Pallet `CommitteeManagement`'s events
982
+ **/
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
+ };
997
+ }