@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,4777 @@
1
+ import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
2
+ import type { DispatchInfo, DispatchError, AccountId32, H256, Result, Perbill, FixedU128, Bytes, FixedBytes, FixedU64, Perquintill, Permill } from '@dedot/codecs';
3
+ import type { FrameSupportTokensMiscBalanceStatus, PalletElectionProviderMultiPhaseElectionCompute, SpNposElectionsElectionScore, PalletElectionProviderMultiPhasePhase, PalletStakingValidatorPrefs, PalletStakingForcing, PalletDemocracyVoteThreshold, PalletDemocracyVoteAccountVote, PalletDemocracyMetadataOwner, SpConsensusGrandpaAppPublic, PalletContractsOrigin, PalletImOnlineSr25519AppSr25519Public, PalletStakingExposure, PalletSocietyGroupParams, KitchensinkRuntimeProxyType, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPriceWithDirection, PalletNftsPalletAttributes, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationError, FrameSupportPreimagesBounded, PalletConvictionVotingTally, FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletNominationPoolsPoolState, PalletNominationPoolsCommissionChangeRate, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletAssetConversionNativeOrAssetId, FrameSupportMessagesProcessMessageError, SpWeightsWeightV2Weight, PalletSafeModeExitReason, SpStatementStoreStatement, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletBrokerCoretimeInterfaceCoreAssignment } 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 `Utility`'s events
52
+ **/
53
+ utility: {
54
+ /**
55
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
56
+ * well as the error.
57
+ **/
58
+ BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', {
59
+ index: number;
60
+ error: DispatchError;
61
+ }>;
62
+ /**
63
+ * Batch of dispatches completed fully with no error.
64
+ **/
65
+ BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
66
+ /**
67
+ * Batch of dispatches completed but has errors.
68
+ **/
69
+ BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
70
+ /**
71
+ * A single item within a Batch of dispatches has completed with no error.
72
+ **/
73
+ ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
74
+ /**
75
+ * A single item within a Batch of dispatches has completed with error.
76
+ **/
77
+ ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', {
78
+ error: DispatchError;
79
+ }>;
80
+ /**
81
+ * A call was dispatched.
82
+ **/
83
+ DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', {
84
+ result: Result<[], DispatchError>;
85
+ }>;
86
+ /**
87
+ * Generic pallet event
88
+ **/
89
+ [prop: string]: GenericPalletEvent;
90
+ };
91
+ /**
92
+ * Pallet `Indices`'s events
93
+ **/
94
+ indices: {
95
+ /**
96
+ * A account index was assigned.
97
+ **/
98
+ IndexAssigned: GenericPalletEvent<'Indices', 'IndexAssigned', {
99
+ who: AccountId32;
100
+ index: number;
101
+ }>;
102
+ /**
103
+ * A account index has been freed up (unassigned).
104
+ **/
105
+ IndexFreed: GenericPalletEvent<'Indices', 'IndexFreed', {
106
+ index: number;
107
+ }>;
108
+ /**
109
+ * A account index has been frozen to its current account ID.
110
+ **/
111
+ IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', {
112
+ index: number;
113
+ who: AccountId32;
114
+ }>;
115
+ /**
116
+ * Generic pallet event
117
+ **/
118
+ [prop: string]: GenericPalletEvent;
119
+ };
120
+ /**
121
+ * Pallet `Balances`'s events
122
+ **/
123
+ balances: {
124
+ /**
125
+ * An account was created with some free balance.
126
+ **/
127
+ Endowed: GenericPalletEvent<'Balances', 'Endowed', {
128
+ account: AccountId32;
129
+ freeBalance: bigint;
130
+ }>;
131
+ /**
132
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
133
+ * resulting in an outright loss.
134
+ **/
135
+ DustLost: GenericPalletEvent<'Balances', 'DustLost', {
136
+ account: AccountId32;
137
+ amount: bigint;
138
+ }>;
139
+ /**
140
+ * Transfer succeeded.
141
+ **/
142
+ Transfer: GenericPalletEvent<'Balances', 'Transfer', {
143
+ from: AccountId32;
144
+ to: AccountId32;
145
+ amount: bigint;
146
+ }>;
147
+ /**
148
+ * A balance was set by root.
149
+ **/
150
+ BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', {
151
+ who: AccountId32;
152
+ free: bigint;
153
+ }>;
154
+ /**
155
+ * Some balance was reserved (moved from free to reserved).
156
+ **/
157
+ Reserved: GenericPalletEvent<'Balances', 'Reserved', {
158
+ who: AccountId32;
159
+ amount: bigint;
160
+ }>;
161
+ /**
162
+ * Some balance was unreserved (moved from reserved to free).
163
+ **/
164
+ Unreserved: GenericPalletEvent<'Balances', 'Unreserved', {
165
+ who: AccountId32;
166
+ amount: bigint;
167
+ }>;
168
+ /**
169
+ * Some balance was moved from the reserve of the first account to the second account.
170
+ * Final argument indicates the destination balance type.
171
+ **/
172
+ ReserveRepatriated: GenericPalletEvent<'Balances', 'ReserveRepatriated', {
173
+ from: AccountId32;
174
+ to: AccountId32;
175
+ amount: bigint;
176
+ destinationStatus: FrameSupportTokensMiscBalanceStatus;
177
+ }>;
178
+ /**
179
+ * Some amount was deposited (e.g. for transaction fees).
180
+ **/
181
+ Deposit: GenericPalletEvent<'Balances', 'Deposit', {
182
+ who: AccountId32;
183
+ amount: bigint;
184
+ }>;
185
+ /**
186
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
187
+ **/
188
+ Withdraw: GenericPalletEvent<'Balances', 'Withdraw', {
189
+ who: AccountId32;
190
+ amount: bigint;
191
+ }>;
192
+ /**
193
+ * Some amount was removed from the account (e.g. for misbehavior).
194
+ **/
195
+ Slashed: GenericPalletEvent<'Balances', 'Slashed', {
196
+ who: AccountId32;
197
+ amount: bigint;
198
+ }>;
199
+ /**
200
+ * Some amount was minted into an account.
201
+ **/
202
+ Minted: GenericPalletEvent<'Balances', 'Minted', {
203
+ who: AccountId32;
204
+ amount: bigint;
205
+ }>;
206
+ /**
207
+ * Some amount was burned from an account.
208
+ **/
209
+ Burned: GenericPalletEvent<'Balances', 'Burned', {
210
+ who: AccountId32;
211
+ amount: bigint;
212
+ }>;
213
+ /**
214
+ * Some amount was suspended from an account (it can be restored later).
215
+ **/
216
+ Suspended: GenericPalletEvent<'Balances', 'Suspended', {
217
+ who: AccountId32;
218
+ amount: bigint;
219
+ }>;
220
+ /**
221
+ * Some amount was restored into an account.
222
+ **/
223
+ Restored: GenericPalletEvent<'Balances', 'Restored', {
224
+ who: AccountId32;
225
+ amount: bigint;
226
+ }>;
227
+ /**
228
+ * An account was upgraded.
229
+ **/
230
+ Upgraded: GenericPalletEvent<'Balances', 'Upgraded', {
231
+ who: AccountId32;
232
+ }>;
233
+ /**
234
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
235
+ **/
236
+ Issued: GenericPalletEvent<'Balances', 'Issued', {
237
+ amount: bigint;
238
+ }>;
239
+ /**
240
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
241
+ **/
242
+ Rescinded: GenericPalletEvent<'Balances', 'Rescinded', {
243
+ amount: bigint;
244
+ }>;
245
+ /**
246
+ * Some balance was locked.
247
+ **/
248
+ Locked: GenericPalletEvent<'Balances', 'Locked', {
249
+ who: AccountId32;
250
+ amount: bigint;
251
+ }>;
252
+ /**
253
+ * Some balance was unlocked.
254
+ **/
255
+ Unlocked: GenericPalletEvent<'Balances', 'Unlocked', {
256
+ who: AccountId32;
257
+ amount: bigint;
258
+ }>;
259
+ /**
260
+ * Some balance was frozen.
261
+ **/
262
+ Frozen: GenericPalletEvent<'Balances', 'Frozen', {
263
+ who: AccountId32;
264
+ amount: bigint;
265
+ }>;
266
+ /**
267
+ * Some balance was thawed.
268
+ **/
269
+ Thawed: GenericPalletEvent<'Balances', 'Thawed', {
270
+ who: AccountId32;
271
+ amount: bigint;
272
+ }>;
273
+ /**
274
+ * Generic pallet event
275
+ **/
276
+ [prop: string]: GenericPalletEvent;
277
+ };
278
+ /**
279
+ * Pallet `TransactionPayment`'s events
280
+ **/
281
+ transactionPayment: {
282
+ /**
283
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
284
+ * has been paid by `who`.
285
+ **/
286
+ TransactionFeePaid: GenericPalletEvent<'TransactionPayment', 'TransactionFeePaid', {
287
+ who: AccountId32;
288
+ actualFee: bigint;
289
+ tip: bigint;
290
+ }>;
291
+ /**
292
+ * Generic pallet event
293
+ **/
294
+ [prop: string]: GenericPalletEvent;
295
+ };
296
+ /**
297
+ * Pallet `AssetTxPayment`'s events
298
+ **/
299
+ assetTxPayment: {
300
+ /**
301
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
302
+ * has been paid by `who` in an asset `asset_id`.
303
+ **/
304
+ AssetTxFeePaid: GenericPalletEvent<'AssetTxPayment', 'AssetTxFeePaid', {
305
+ who: AccountId32;
306
+ actualFee: bigint;
307
+ tip: bigint;
308
+ assetId?: number | undefined;
309
+ }>;
310
+ /**
311
+ * Generic pallet event
312
+ **/
313
+ [prop: string]: GenericPalletEvent;
314
+ };
315
+ /**
316
+ * Pallet `AssetConversionTxPayment`'s events
317
+ **/
318
+ assetConversionTxPayment: {
319
+ /**
320
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
321
+ * has been paid by `who` in an asset `asset_id`.
322
+ **/
323
+ AssetTxFeePaid: GenericPalletEvent<'AssetConversionTxPayment', 'AssetTxFeePaid', {
324
+ who: AccountId32;
325
+ actualFee: bigint;
326
+ tip: bigint;
327
+ assetId: number;
328
+ }>;
329
+ /**
330
+ * A swap of the refund in native currency back to asset failed.
331
+ **/
332
+ AssetRefundFailed: GenericPalletEvent<'AssetConversionTxPayment', 'AssetRefundFailed', {
333
+ nativeAmountKept: bigint;
334
+ }>;
335
+ /**
336
+ * Generic pallet event
337
+ **/
338
+ [prop: string]: GenericPalletEvent;
339
+ };
340
+ /**
341
+ * Pallet `ElectionProviderMultiPhase`'s events
342
+ **/
343
+ electionProviderMultiPhase: {
344
+ /**
345
+ * A solution was stored with the given compute.
346
+ *
347
+ * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
348
+ * the stored solution was submited in the signed phase by a miner with the `AccountId`.
349
+ * Otherwise, the solution was stored either during the unsigned phase or by
350
+ * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
351
+ * room for this one.
352
+ **/
353
+ SolutionStored: GenericPalletEvent<'ElectionProviderMultiPhase', 'SolutionStored', {
354
+ compute: PalletElectionProviderMultiPhaseElectionCompute;
355
+ origin?: AccountId32 | undefined;
356
+ prevEjected: boolean;
357
+ }>;
358
+ /**
359
+ * The election has been finalized, with the given computation and score.
360
+ **/
361
+ ElectionFinalized: GenericPalletEvent<'ElectionProviderMultiPhase', 'ElectionFinalized', {
362
+ compute: PalletElectionProviderMultiPhaseElectionCompute;
363
+ score: SpNposElectionsElectionScore;
364
+ }>;
365
+ /**
366
+ * An election failed.
367
+ *
368
+ * Not much can be said about which computes failed in the process.
369
+ **/
370
+ ElectionFailed: GenericPalletEvent<'ElectionProviderMultiPhase', 'ElectionFailed', null>;
371
+ /**
372
+ * An account has been rewarded for their signed submission being finalized.
373
+ **/
374
+ Rewarded: GenericPalletEvent<'ElectionProviderMultiPhase', 'Rewarded', {
375
+ account: AccountId32;
376
+ value: bigint;
377
+ }>;
378
+ /**
379
+ * An account has been slashed for submitting an invalid signed submission.
380
+ **/
381
+ Slashed: GenericPalletEvent<'ElectionProviderMultiPhase', 'Slashed', {
382
+ account: AccountId32;
383
+ value: bigint;
384
+ }>;
385
+ /**
386
+ * There was a phase transition in a given round.
387
+ **/
388
+ PhaseTransitioned: GenericPalletEvent<'ElectionProviderMultiPhase', 'PhaseTransitioned', {
389
+ from: PalletElectionProviderMultiPhasePhase;
390
+ to: PalletElectionProviderMultiPhasePhase;
391
+ round: number;
392
+ }>;
393
+ /**
394
+ * Generic pallet event
395
+ **/
396
+ [prop: string]: GenericPalletEvent;
397
+ };
398
+ /**
399
+ * Pallet `Staking`'s events
400
+ **/
401
+ staking: {
402
+ /**
403
+ * The era payout has been set; the first balance is the validator-payout; the second is
404
+ * the remainder from the maximum amount of reward.
405
+ **/
406
+ EraPaid: GenericPalletEvent<'Staking', 'EraPaid', {
407
+ eraIndex: number;
408
+ validatorPayout: bigint;
409
+ remainder: bigint;
410
+ }>;
411
+ /**
412
+ * The nominator has been rewarded by this amount.
413
+ **/
414
+ Rewarded: GenericPalletEvent<'Staking', 'Rewarded', {
415
+ stash: AccountId32;
416
+ amount: bigint;
417
+ }>;
418
+ /**
419
+ * A staker (validator or nominator) has been slashed by the given amount.
420
+ **/
421
+ Slashed: GenericPalletEvent<'Staking', 'Slashed', {
422
+ staker: AccountId32;
423
+ amount: bigint;
424
+ }>;
425
+ /**
426
+ * A slash for the given validator, for the given percentage of their stake, at the given
427
+ * era as been reported.
428
+ **/
429
+ SlashReported: GenericPalletEvent<'Staking', 'SlashReported', {
430
+ validator: AccountId32;
431
+ fraction: Perbill;
432
+ slashEra: number;
433
+ }>;
434
+ /**
435
+ * An old slashing report from a prior era was discarded because it could
436
+ * not be processed.
437
+ **/
438
+ OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', {
439
+ sessionIndex: number;
440
+ }>;
441
+ /**
442
+ * A new set of stakers was elected.
443
+ **/
444
+ StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
445
+ /**
446
+ * An account has bonded this amount. \[stash, amount\]
447
+ *
448
+ * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
449
+ * it will not be emitted for staking rewards when they are added to stake.
450
+ **/
451
+ Bonded: GenericPalletEvent<'Staking', 'Bonded', {
452
+ stash: AccountId32;
453
+ amount: bigint;
454
+ }>;
455
+ /**
456
+ * An account has unbonded this amount.
457
+ **/
458
+ Unbonded: GenericPalletEvent<'Staking', 'Unbonded', {
459
+ stash: AccountId32;
460
+ amount: bigint;
461
+ }>;
462
+ /**
463
+ * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
464
+ * from the unlocking queue.
465
+ **/
466
+ Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', {
467
+ stash: AccountId32;
468
+ amount: bigint;
469
+ }>;
470
+ /**
471
+ * A nominator has been kicked from a validator.
472
+ **/
473
+ Kicked: GenericPalletEvent<'Staking', 'Kicked', {
474
+ nominator: AccountId32;
475
+ stash: AccountId32;
476
+ }>;
477
+ /**
478
+ * The election failed. No new era is planned.
479
+ **/
480
+ StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
481
+ /**
482
+ * An account has stopped participating as either a validator or nominator.
483
+ **/
484
+ Chilled: GenericPalletEvent<'Staking', 'Chilled', {
485
+ stash: AccountId32;
486
+ }>;
487
+ /**
488
+ * The stakers' rewards are getting paid.
489
+ **/
490
+ PayoutStarted: GenericPalletEvent<'Staking', 'PayoutStarted', {
491
+ eraIndex: number;
492
+ validatorStash: AccountId32;
493
+ }>;
494
+ /**
495
+ * A validator has set their preferences.
496
+ **/
497
+ ValidatorPrefsSet: GenericPalletEvent<'Staking', 'ValidatorPrefsSet', {
498
+ stash: AccountId32;
499
+ prefs: PalletStakingValidatorPrefs;
500
+ }>;
501
+ /**
502
+ * Voters size limit reached.
503
+ **/
504
+ SnapshotVotersSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotVotersSizeExceeded', {
505
+ size: number;
506
+ }>;
507
+ /**
508
+ * Targets size limit reached.
509
+ **/
510
+ SnapshotTargetsSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotTargetsSizeExceeded', {
511
+ size: number;
512
+ }>;
513
+ /**
514
+ * A new force era mode was set.
515
+ **/
516
+ ForceEra: GenericPalletEvent<'Staking', 'ForceEra', {
517
+ mode: PalletStakingForcing;
518
+ }>;
519
+ /**
520
+ * Generic pallet event
521
+ **/
522
+ [prop: string]: GenericPalletEvent;
523
+ };
524
+ /**
525
+ * Pallet `Session`'s events
526
+ **/
527
+ session: {
528
+ /**
529
+ * New session has happened. Note that the argument is the session index, not the
530
+ * block number as the type might suggest.
531
+ **/
532
+ NewSession: GenericPalletEvent<'Session', 'NewSession', {
533
+ sessionIndex: number;
534
+ }>;
535
+ /**
536
+ * Generic pallet event
537
+ **/
538
+ [prop: string]: GenericPalletEvent;
539
+ };
540
+ /**
541
+ * Pallet `Democracy`'s events
542
+ **/
543
+ democracy: {
544
+ /**
545
+ * A motion has been proposed by a public account.
546
+ **/
547
+ Proposed: GenericPalletEvent<'Democracy', 'Proposed', {
548
+ proposalIndex: number;
549
+ deposit: bigint;
550
+ }>;
551
+ /**
552
+ * A public proposal has been tabled for referendum vote.
553
+ **/
554
+ Tabled: GenericPalletEvent<'Democracy', 'Tabled', {
555
+ proposalIndex: number;
556
+ deposit: bigint;
557
+ }>;
558
+ /**
559
+ * An external proposal has been tabled.
560
+ **/
561
+ ExternalTabled: GenericPalletEvent<'Democracy', 'ExternalTabled', null>;
562
+ /**
563
+ * A referendum has begun.
564
+ **/
565
+ Started: GenericPalletEvent<'Democracy', 'Started', {
566
+ refIndex: number;
567
+ threshold: PalletDemocracyVoteThreshold;
568
+ }>;
569
+ /**
570
+ * A proposal has been approved by referendum.
571
+ **/
572
+ Passed: GenericPalletEvent<'Democracy', 'Passed', {
573
+ refIndex: number;
574
+ }>;
575
+ /**
576
+ * A proposal has been rejected by referendum.
577
+ **/
578
+ NotPassed: GenericPalletEvent<'Democracy', 'NotPassed', {
579
+ refIndex: number;
580
+ }>;
581
+ /**
582
+ * A referendum has been cancelled.
583
+ **/
584
+ Cancelled: GenericPalletEvent<'Democracy', 'Cancelled', {
585
+ refIndex: number;
586
+ }>;
587
+ /**
588
+ * An account has delegated their vote to another account.
589
+ **/
590
+ Delegated: GenericPalletEvent<'Democracy', 'Delegated', {
591
+ who: AccountId32;
592
+ target: AccountId32;
593
+ }>;
594
+ /**
595
+ * An account has cancelled a previous delegation operation.
596
+ **/
597
+ Undelegated: GenericPalletEvent<'Democracy', 'Undelegated', {
598
+ account: AccountId32;
599
+ }>;
600
+ /**
601
+ * An external proposal has been vetoed.
602
+ **/
603
+ Vetoed: GenericPalletEvent<'Democracy', 'Vetoed', {
604
+ who: AccountId32;
605
+ proposalHash: H256;
606
+ until: number;
607
+ }>;
608
+ /**
609
+ * A proposal_hash has been blacklisted permanently.
610
+ **/
611
+ Blacklisted: GenericPalletEvent<'Democracy', 'Blacklisted', {
612
+ proposalHash: H256;
613
+ }>;
614
+ /**
615
+ * An account has voted in a referendum
616
+ **/
617
+ Voted: GenericPalletEvent<'Democracy', 'Voted', {
618
+ voter: AccountId32;
619
+ refIndex: number;
620
+ vote: PalletDemocracyVoteAccountVote;
621
+ }>;
622
+ /**
623
+ * An account has secconded a proposal
624
+ **/
625
+ Seconded: GenericPalletEvent<'Democracy', 'Seconded', {
626
+ seconder: AccountId32;
627
+ propIndex: number;
628
+ }>;
629
+ /**
630
+ * A proposal got canceled.
631
+ **/
632
+ ProposalCanceled: GenericPalletEvent<'Democracy', 'ProposalCanceled', {
633
+ propIndex: number;
634
+ }>;
635
+ /**
636
+ * Metadata for a proposal or a referendum has been set.
637
+ **/
638
+ MetadataSet: GenericPalletEvent<'Democracy', 'MetadataSet', {
639
+ /**
640
+ * Metadata owner.
641
+ **/
642
+ owner: PalletDemocracyMetadataOwner;
643
+ /**
644
+ * Preimage hash.
645
+ **/
646
+ hash: H256;
647
+ }>;
648
+ /**
649
+ * Metadata for a proposal or a referendum has been cleared.
650
+ **/
651
+ MetadataCleared: GenericPalletEvent<'Democracy', 'MetadataCleared', {
652
+ /**
653
+ * Metadata owner.
654
+ **/
655
+ owner: PalletDemocracyMetadataOwner;
656
+ /**
657
+ * Preimage hash.
658
+ **/
659
+ hash: H256;
660
+ }>;
661
+ /**
662
+ * Metadata has been transferred to new owner.
663
+ **/
664
+ MetadataTransferred: GenericPalletEvent<'Democracy', 'MetadataTransferred', {
665
+ /**
666
+ * Previous metadata owner.
667
+ **/
668
+ prevOwner: PalletDemocracyMetadataOwner;
669
+ /**
670
+ * New metadata owner.
671
+ **/
672
+ owner: PalletDemocracyMetadataOwner;
673
+ /**
674
+ * Preimage hash.
675
+ **/
676
+ hash: H256;
677
+ }>;
678
+ /**
679
+ * Generic pallet event
680
+ **/
681
+ [prop: string]: GenericPalletEvent;
682
+ };
683
+ /**
684
+ * Pallet `Council`'s events
685
+ **/
686
+ council: {
687
+ /**
688
+ * A motion (given hash) has been proposed (by given account) with a threshold (given
689
+ * `MemberCount`).
690
+ **/
691
+ Proposed: GenericPalletEvent<'Council', 'Proposed', {
692
+ account: AccountId32;
693
+ proposalIndex: number;
694
+ proposalHash: H256;
695
+ threshold: number;
696
+ }>;
697
+ /**
698
+ * A motion (given hash) has been voted on by given account, leaving
699
+ * a tally (yes votes and no votes given respectively as `MemberCount`).
700
+ **/
701
+ Voted: GenericPalletEvent<'Council', 'Voted', {
702
+ account: AccountId32;
703
+ proposalHash: H256;
704
+ voted: boolean;
705
+ yes: number;
706
+ no: number;
707
+ }>;
708
+ /**
709
+ * A motion was approved by the required threshold.
710
+ **/
711
+ Approved: GenericPalletEvent<'Council', 'Approved', {
712
+ proposalHash: H256;
713
+ }>;
714
+ /**
715
+ * A motion was not approved by the required threshold.
716
+ **/
717
+ Disapproved: GenericPalletEvent<'Council', 'Disapproved', {
718
+ proposalHash: H256;
719
+ }>;
720
+ /**
721
+ * A motion was executed; result will be `Ok` if it returned without error.
722
+ **/
723
+ Executed: GenericPalletEvent<'Council', 'Executed', {
724
+ proposalHash: H256;
725
+ result: Result<[], DispatchError>;
726
+ }>;
727
+ /**
728
+ * A single member did some action; result will be `Ok` if it returned without error.
729
+ **/
730
+ MemberExecuted: GenericPalletEvent<'Council', 'MemberExecuted', {
731
+ proposalHash: H256;
732
+ result: Result<[], DispatchError>;
733
+ }>;
734
+ /**
735
+ * A proposal was closed because its threshold was reached or after its duration was up.
736
+ **/
737
+ Closed: GenericPalletEvent<'Council', 'Closed', {
738
+ proposalHash: H256;
739
+ yes: number;
740
+ no: number;
741
+ }>;
742
+ /**
743
+ * Generic pallet event
744
+ **/
745
+ [prop: string]: GenericPalletEvent;
746
+ };
747
+ /**
748
+ * Pallet `TechnicalCommittee`'s events
749
+ **/
750
+ technicalCommittee: {
751
+ /**
752
+ * A motion (given hash) has been proposed (by given account) with a threshold (given
753
+ * `MemberCount`).
754
+ **/
755
+ Proposed: GenericPalletEvent<'TechnicalCommittee', 'Proposed', {
756
+ account: AccountId32;
757
+ proposalIndex: number;
758
+ proposalHash: H256;
759
+ threshold: number;
760
+ }>;
761
+ /**
762
+ * A motion (given hash) has been voted on by given account, leaving
763
+ * a tally (yes votes and no votes given respectively as `MemberCount`).
764
+ **/
765
+ Voted: GenericPalletEvent<'TechnicalCommittee', 'Voted', {
766
+ account: AccountId32;
767
+ proposalHash: H256;
768
+ voted: boolean;
769
+ yes: number;
770
+ no: number;
771
+ }>;
772
+ /**
773
+ * A motion was approved by the required threshold.
774
+ **/
775
+ Approved: GenericPalletEvent<'TechnicalCommittee', 'Approved', {
776
+ proposalHash: H256;
777
+ }>;
778
+ /**
779
+ * A motion was not approved by the required threshold.
780
+ **/
781
+ Disapproved: GenericPalletEvent<'TechnicalCommittee', 'Disapproved', {
782
+ proposalHash: H256;
783
+ }>;
784
+ /**
785
+ * A motion was executed; result will be `Ok` if it returned without error.
786
+ **/
787
+ Executed: GenericPalletEvent<'TechnicalCommittee', 'Executed', {
788
+ proposalHash: H256;
789
+ result: Result<[], DispatchError>;
790
+ }>;
791
+ /**
792
+ * A single member did some action; result will be `Ok` if it returned without error.
793
+ **/
794
+ MemberExecuted: GenericPalletEvent<'TechnicalCommittee', 'MemberExecuted', {
795
+ proposalHash: H256;
796
+ result: Result<[], DispatchError>;
797
+ }>;
798
+ /**
799
+ * A proposal was closed because its threshold was reached or after its duration was up.
800
+ **/
801
+ Closed: GenericPalletEvent<'TechnicalCommittee', 'Closed', {
802
+ proposalHash: H256;
803
+ yes: number;
804
+ no: number;
805
+ }>;
806
+ /**
807
+ * Generic pallet event
808
+ **/
809
+ [prop: string]: GenericPalletEvent;
810
+ };
811
+ /**
812
+ * Pallet `Elections`'s events
813
+ **/
814
+ elections: {
815
+ /**
816
+ * A new term with new_members. This indicates that enough candidates existed to run
817
+ * the election, not that enough have has been elected. The inner value must be examined
818
+ * for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
819
+ * slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
820
+ * begin with.
821
+ **/
822
+ NewTerm: GenericPalletEvent<'Elections', 'NewTerm', {
823
+ newMembers: Array<[AccountId32, bigint]>;
824
+ }>;
825
+ /**
826
+ * No (or not enough) candidates existed for this round. This is different from
827
+ * `NewTerm(\[\])`. See the description of `NewTerm`.
828
+ **/
829
+ EmptyTerm: GenericPalletEvent<'Elections', 'EmptyTerm', null>;
830
+ /**
831
+ * Internal error happened while trying to perform election.
832
+ **/
833
+ ElectionError: GenericPalletEvent<'Elections', 'ElectionError', null>;
834
+ /**
835
+ * A member has been removed. This should always be followed by either `NewTerm` or
836
+ * `EmptyTerm`.
837
+ **/
838
+ MemberKicked: GenericPalletEvent<'Elections', 'MemberKicked', {
839
+ member: AccountId32;
840
+ }>;
841
+ /**
842
+ * Someone has renounced their candidacy.
843
+ **/
844
+ Renounced: GenericPalletEvent<'Elections', 'Renounced', {
845
+ candidate: AccountId32;
846
+ }>;
847
+ /**
848
+ * A candidate was slashed by amount due to failing to obtain a seat as member or
849
+ * runner-up.
850
+ *
851
+ * Note that old members and runners-up are also candidates.
852
+ **/
853
+ CandidateSlashed: GenericPalletEvent<'Elections', 'CandidateSlashed', {
854
+ candidate: AccountId32;
855
+ amount: bigint;
856
+ }>;
857
+ /**
858
+ * A seat holder was slashed by amount by being forcefully removed from the set.
859
+ **/
860
+ SeatHolderSlashed: GenericPalletEvent<'Elections', 'SeatHolderSlashed', {
861
+ seatHolder: AccountId32;
862
+ amount: bigint;
863
+ }>;
864
+ /**
865
+ * Generic pallet event
866
+ **/
867
+ [prop: string]: GenericPalletEvent;
868
+ };
869
+ /**
870
+ * Pallet `TechnicalMembership`'s events
871
+ **/
872
+ technicalMembership: {
873
+ /**
874
+ * The given member was added; see the transaction for who.
875
+ **/
876
+ MemberAdded: GenericPalletEvent<'TechnicalMembership', 'MemberAdded', undefined>;
877
+ /**
878
+ * The given member was removed; see the transaction for who.
879
+ **/
880
+ MemberRemoved: GenericPalletEvent<'TechnicalMembership', 'MemberRemoved', undefined>;
881
+ /**
882
+ * Two members were swapped; see the transaction for who.
883
+ **/
884
+ MembersSwapped: GenericPalletEvent<'TechnicalMembership', 'MembersSwapped', undefined>;
885
+ /**
886
+ * The membership was reset; see the transaction for who the new set is.
887
+ **/
888
+ MembersReset: GenericPalletEvent<'TechnicalMembership', 'MembersReset', undefined>;
889
+ /**
890
+ * One of the members' keys changed.
891
+ **/
892
+ KeyChanged: GenericPalletEvent<'TechnicalMembership', 'KeyChanged', undefined>;
893
+ /**
894
+ * Phantom member, never used.
895
+ **/
896
+ Dummy: GenericPalletEvent<'TechnicalMembership', 'Dummy', undefined>;
897
+ /**
898
+ * Generic pallet event
899
+ **/
900
+ [prop: string]: GenericPalletEvent;
901
+ };
902
+ /**
903
+ * Pallet `Grandpa`'s events
904
+ **/
905
+ grandpa: {
906
+ /**
907
+ * New authority set has been applied.
908
+ **/
909
+ NewAuthorities: GenericPalletEvent<'Grandpa', 'NewAuthorities', {
910
+ authoritySet: Array<[SpConsensusGrandpaAppPublic, bigint]>;
911
+ }>;
912
+ /**
913
+ * Current authority set has been paused.
914
+ **/
915
+ Paused: GenericPalletEvent<'Grandpa', 'Paused', null>;
916
+ /**
917
+ * Current authority set has been resumed.
918
+ **/
919
+ Resumed: GenericPalletEvent<'Grandpa', 'Resumed', null>;
920
+ /**
921
+ * Generic pallet event
922
+ **/
923
+ [prop: string]: GenericPalletEvent;
924
+ };
925
+ /**
926
+ * Pallet `Treasury`'s events
927
+ **/
928
+ treasury: {
929
+ /**
930
+ * New proposal.
931
+ **/
932
+ Proposed: GenericPalletEvent<'Treasury', 'Proposed', {
933
+ proposalIndex: number;
934
+ }>;
935
+ /**
936
+ * We have ended a spend period and will now allocate funds.
937
+ **/
938
+ Spending: GenericPalletEvent<'Treasury', 'Spending', {
939
+ budgetRemaining: bigint;
940
+ }>;
941
+ /**
942
+ * Some funds have been allocated.
943
+ **/
944
+ Awarded: GenericPalletEvent<'Treasury', 'Awarded', {
945
+ proposalIndex: number;
946
+ award: bigint;
947
+ account: AccountId32;
948
+ }>;
949
+ /**
950
+ * A proposal was rejected; funds were slashed.
951
+ **/
952
+ Rejected: GenericPalletEvent<'Treasury', 'Rejected', {
953
+ proposalIndex: number;
954
+ slashed: bigint;
955
+ }>;
956
+ /**
957
+ * Some of our funds have been burnt.
958
+ **/
959
+ Burnt: GenericPalletEvent<'Treasury', 'Burnt', {
960
+ burntFunds: bigint;
961
+ }>;
962
+ /**
963
+ * Spending has finished; this is the amount that rolls over until next spend.
964
+ **/
965
+ Rollover: GenericPalletEvent<'Treasury', 'Rollover', {
966
+ rolloverBalance: bigint;
967
+ }>;
968
+ /**
969
+ * Some funds have been deposited.
970
+ **/
971
+ Deposit: GenericPalletEvent<'Treasury', 'Deposit', {
972
+ value: bigint;
973
+ }>;
974
+ /**
975
+ * A new spend proposal has been approved.
976
+ **/
977
+ SpendApproved: GenericPalletEvent<'Treasury', 'SpendApproved', {
978
+ proposalIndex: number;
979
+ amount: bigint;
980
+ beneficiary: AccountId32;
981
+ }>;
982
+ /**
983
+ * The inactive funds of the pallet have been updated.
984
+ **/
985
+ UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', {
986
+ reactivated: bigint;
987
+ deactivated: bigint;
988
+ }>;
989
+ /**
990
+ * Generic pallet event
991
+ **/
992
+ [prop: string]: GenericPalletEvent;
993
+ };
994
+ /**
995
+ * Pallet `AssetRate`'s events
996
+ **/
997
+ assetRate: {
998
+ AssetRateCreated: GenericPalletEvent<'AssetRate', 'AssetRateCreated', {
999
+ assetKind: number;
1000
+ rate: FixedU128;
1001
+ }>;
1002
+ AssetRateRemoved: GenericPalletEvent<'AssetRate', 'AssetRateRemoved', {
1003
+ assetKind: number;
1004
+ }>;
1005
+ AssetRateUpdated: GenericPalletEvent<'AssetRate', 'AssetRateUpdated', {
1006
+ assetKind: number;
1007
+ old: FixedU128;
1008
+ new: FixedU128;
1009
+ }>;
1010
+ /**
1011
+ * Generic pallet event
1012
+ **/
1013
+ [prop: string]: GenericPalletEvent;
1014
+ };
1015
+ /**
1016
+ * Pallet `Contracts`'s events
1017
+ **/
1018
+ contracts: {
1019
+ /**
1020
+ * Contract deployed by address at the specified address.
1021
+ **/
1022
+ Instantiated: GenericPalletEvent<'Contracts', 'Instantiated', {
1023
+ deployer: AccountId32;
1024
+ contract: AccountId32;
1025
+ }>;
1026
+ /**
1027
+ * Contract has been removed.
1028
+ *
1029
+ * # Note
1030
+ *
1031
+ * The only way for a contract to be removed and emitting this event is by calling
1032
+ * `seal_terminate`.
1033
+ **/
1034
+ Terminated: GenericPalletEvent<'Contracts', 'Terminated', {
1035
+ /**
1036
+ * The contract that was terminated.
1037
+ **/
1038
+ contract: AccountId32;
1039
+ /**
1040
+ * The account that received the contracts remaining balance
1041
+ **/
1042
+ beneficiary: AccountId32;
1043
+ }>;
1044
+ /**
1045
+ * Code with the specified hash has been stored.
1046
+ **/
1047
+ CodeStored: GenericPalletEvent<'Contracts', 'CodeStored', {
1048
+ codeHash: H256;
1049
+ depositHeld: bigint;
1050
+ uploader: AccountId32;
1051
+ }>;
1052
+ /**
1053
+ * A custom event emitted by the contract.
1054
+ **/
1055
+ ContractEmitted: GenericPalletEvent<'Contracts', 'ContractEmitted', {
1056
+ /**
1057
+ * The contract that emitted the event.
1058
+ **/
1059
+ contract: AccountId32;
1060
+ /**
1061
+ * Data supplied by the contract. Metadata generated during contract compilation
1062
+ * is needed to decode it.
1063
+ **/
1064
+ data: Bytes;
1065
+ }>;
1066
+ /**
1067
+ * A code with the specified hash was removed.
1068
+ **/
1069
+ CodeRemoved: GenericPalletEvent<'Contracts', 'CodeRemoved', {
1070
+ codeHash: H256;
1071
+ depositReleased: bigint;
1072
+ remover: AccountId32;
1073
+ }>;
1074
+ /**
1075
+ * A contract's code was updated.
1076
+ **/
1077
+ ContractCodeUpdated: GenericPalletEvent<'Contracts', 'ContractCodeUpdated', {
1078
+ /**
1079
+ * The contract that has been updated.
1080
+ **/
1081
+ contract: AccountId32;
1082
+ /**
1083
+ * New code hash that was set for the contract.
1084
+ **/
1085
+ newCodeHash: H256;
1086
+ /**
1087
+ * Previous code hash of the contract.
1088
+ **/
1089
+ oldCodeHash: H256;
1090
+ }>;
1091
+ /**
1092
+ * A contract was called either by a plain account or another contract.
1093
+ *
1094
+ * # Note
1095
+ *
1096
+ * Please keep in mind that like all events this is only emitted for successful
1097
+ * calls. This is because on failure all storage changes including events are
1098
+ * rolled back.
1099
+ **/
1100
+ Called: GenericPalletEvent<'Contracts', 'Called', {
1101
+ /**
1102
+ * The caller of the `contract`.
1103
+ **/
1104
+ caller: PalletContractsOrigin;
1105
+ /**
1106
+ * The contract that was called.
1107
+ **/
1108
+ contract: AccountId32;
1109
+ }>;
1110
+ /**
1111
+ * A contract delegate called a code hash.
1112
+ *
1113
+ * # Note
1114
+ *
1115
+ * Please keep in mind that like all events this is only emitted for successful
1116
+ * calls. This is because on failure all storage changes including events are
1117
+ * rolled back.
1118
+ **/
1119
+ DelegateCalled: GenericPalletEvent<'Contracts', 'DelegateCalled', {
1120
+ /**
1121
+ * The contract that performed the delegate call and hence in whose context
1122
+ * the `code_hash` is executed.
1123
+ **/
1124
+ contract: AccountId32;
1125
+ /**
1126
+ * The code hash that was delegate called.
1127
+ **/
1128
+ codeHash: H256;
1129
+ }>;
1130
+ /**
1131
+ * Some funds have been transferred and held as storage deposit.
1132
+ **/
1133
+ StorageDepositTransferredAndHeld: GenericPalletEvent<'Contracts', 'StorageDepositTransferredAndHeld', {
1134
+ from: AccountId32;
1135
+ to: AccountId32;
1136
+ amount: bigint;
1137
+ }>;
1138
+ /**
1139
+ * Some storage deposit funds have been transferred and released.
1140
+ **/
1141
+ StorageDepositTransferredAndReleased: GenericPalletEvent<'Contracts', 'StorageDepositTransferredAndReleased', {
1142
+ from: AccountId32;
1143
+ to: AccountId32;
1144
+ amount: bigint;
1145
+ }>;
1146
+ /**
1147
+ * Generic pallet event
1148
+ **/
1149
+ [prop: string]: GenericPalletEvent;
1150
+ };
1151
+ /**
1152
+ * Pallet `Sudo`'s events
1153
+ **/
1154
+ sudo: {
1155
+ /**
1156
+ * A sudo just took place. \[result\]
1157
+ **/
1158
+ Sudid: GenericPalletEvent<'Sudo', 'Sudid', {
1159
+ sudoResult: Result<[], DispatchError>;
1160
+ }>;
1161
+ /**
1162
+ * The \[sudoer\] just switched identity; the old key is supplied if one existed.
1163
+ **/
1164
+ KeyChanged: GenericPalletEvent<'Sudo', 'KeyChanged', {
1165
+ oldSudoer?: AccountId32 | undefined;
1166
+ }>;
1167
+ /**
1168
+ * A sudo just took place. \[result\]
1169
+ **/
1170
+ SudoAsDone: GenericPalletEvent<'Sudo', 'SudoAsDone', {
1171
+ sudoResult: Result<[], DispatchError>;
1172
+ }>;
1173
+ /**
1174
+ * Generic pallet event
1175
+ **/
1176
+ [prop: string]: GenericPalletEvent;
1177
+ };
1178
+ /**
1179
+ * Pallet `ImOnline`'s events
1180
+ **/
1181
+ imOnline: {
1182
+ /**
1183
+ * A new heartbeat was received from `AuthorityId`.
1184
+ **/
1185
+ HeartbeatReceived: GenericPalletEvent<'ImOnline', 'HeartbeatReceived', {
1186
+ authorityId: PalletImOnlineSr25519AppSr25519Public;
1187
+ }>;
1188
+ /**
1189
+ * At the end of the session, no offence was committed.
1190
+ **/
1191
+ AllGood: GenericPalletEvent<'ImOnline', 'AllGood', null>;
1192
+ /**
1193
+ * At the end of the session, at least one validator was found to be offline.
1194
+ **/
1195
+ SomeOffline: GenericPalletEvent<'ImOnline', 'SomeOffline', {
1196
+ offline: Array<[AccountId32, PalletStakingExposure]>;
1197
+ }>;
1198
+ /**
1199
+ * Generic pallet event
1200
+ **/
1201
+ [prop: string]: GenericPalletEvent;
1202
+ };
1203
+ /**
1204
+ * Pallet `Offences`'s events
1205
+ **/
1206
+ offences: {
1207
+ /**
1208
+ * There is an offence reported of the given `kind` happened at the `session_index` and
1209
+ * (kind-specific) time slot. This event is not deposited for duplicate slashes.
1210
+ * \[kind, timeslot\].
1211
+ **/
1212
+ Offence: GenericPalletEvent<'Offences', 'Offence', {
1213
+ kind: FixedBytes<16>;
1214
+ timeslot: Bytes;
1215
+ }>;
1216
+ /**
1217
+ * Generic pallet event
1218
+ **/
1219
+ [prop: string]: GenericPalletEvent;
1220
+ };
1221
+ /**
1222
+ * Pallet `Identity`'s events
1223
+ **/
1224
+ identity: {
1225
+ /**
1226
+ * A name was set or reset (which will remove all judgements).
1227
+ **/
1228
+ IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', {
1229
+ who: AccountId32;
1230
+ }>;
1231
+ /**
1232
+ * A name was cleared, and the given balance returned.
1233
+ **/
1234
+ IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', {
1235
+ who: AccountId32;
1236
+ deposit: bigint;
1237
+ }>;
1238
+ /**
1239
+ * A name was removed and the given balance slashed.
1240
+ **/
1241
+ IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', {
1242
+ who: AccountId32;
1243
+ deposit: bigint;
1244
+ }>;
1245
+ /**
1246
+ * A judgement was asked from a registrar.
1247
+ **/
1248
+ JudgementRequested: GenericPalletEvent<'Identity', 'JudgementRequested', {
1249
+ who: AccountId32;
1250
+ registrarIndex: number;
1251
+ }>;
1252
+ /**
1253
+ * A judgement request was retracted.
1254
+ **/
1255
+ JudgementUnrequested: GenericPalletEvent<'Identity', 'JudgementUnrequested', {
1256
+ who: AccountId32;
1257
+ registrarIndex: number;
1258
+ }>;
1259
+ /**
1260
+ * A judgement was given by a registrar.
1261
+ **/
1262
+ JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', {
1263
+ target: AccountId32;
1264
+ registrarIndex: number;
1265
+ }>;
1266
+ /**
1267
+ * A registrar was added.
1268
+ **/
1269
+ RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', {
1270
+ registrarIndex: number;
1271
+ }>;
1272
+ /**
1273
+ * A sub-identity was added to an identity and the deposit paid.
1274
+ **/
1275
+ SubIdentityAdded: GenericPalletEvent<'Identity', 'SubIdentityAdded', {
1276
+ sub: AccountId32;
1277
+ main: AccountId32;
1278
+ deposit: bigint;
1279
+ }>;
1280
+ /**
1281
+ * A sub-identity was removed from an identity and the deposit freed.
1282
+ **/
1283
+ SubIdentityRemoved: GenericPalletEvent<'Identity', 'SubIdentityRemoved', {
1284
+ sub: AccountId32;
1285
+ main: AccountId32;
1286
+ deposit: bigint;
1287
+ }>;
1288
+ /**
1289
+ * A sub-identity was cleared, and the given deposit repatriated from the
1290
+ * main identity account to the sub-identity account.
1291
+ **/
1292
+ SubIdentityRevoked: GenericPalletEvent<'Identity', 'SubIdentityRevoked', {
1293
+ sub: AccountId32;
1294
+ main: AccountId32;
1295
+ deposit: bigint;
1296
+ }>;
1297
+ /**
1298
+ * Generic pallet event
1299
+ **/
1300
+ [prop: string]: GenericPalletEvent;
1301
+ };
1302
+ /**
1303
+ * Pallet `Society`'s events
1304
+ **/
1305
+ society: {
1306
+ /**
1307
+ * The society is founded by the given identity.
1308
+ **/
1309
+ Founded: GenericPalletEvent<'Society', 'Founded', {
1310
+ founder: AccountId32;
1311
+ }>;
1312
+ /**
1313
+ * A membership bid just happened. The given account is the candidate's ID and their offer
1314
+ * is the second.
1315
+ **/
1316
+ Bid: GenericPalletEvent<'Society', 'Bid', {
1317
+ candidateId: AccountId32;
1318
+ offer: bigint;
1319
+ }>;
1320
+ /**
1321
+ * A membership bid just happened by vouching. The given account is the candidate's ID and
1322
+ * their offer is the second. The vouching party is the third.
1323
+ **/
1324
+ Vouch: GenericPalletEvent<'Society', 'Vouch', {
1325
+ candidateId: AccountId32;
1326
+ offer: bigint;
1327
+ vouching: AccountId32;
1328
+ }>;
1329
+ /**
1330
+ * A candidate was dropped (due to an excess of bids in the system).
1331
+ **/
1332
+ AutoUnbid: GenericPalletEvent<'Society', 'AutoUnbid', {
1333
+ candidate: AccountId32;
1334
+ }>;
1335
+ /**
1336
+ * A candidate was dropped (by their request).
1337
+ **/
1338
+ Unbid: GenericPalletEvent<'Society', 'Unbid', {
1339
+ candidate: AccountId32;
1340
+ }>;
1341
+ /**
1342
+ * A candidate was dropped (by request of who vouched for them).
1343
+ **/
1344
+ Unvouch: GenericPalletEvent<'Society', 'Unvouch', {
1345
+ candidate: AccountId32;
1346
+ }>;
1347
+ /**
1348
+ * A group of candidates have been inducted. The batch's primary is the first value, the
1349
+ * batch in full is the second.
1350
+ **/
1351
+ Inducted: GenericPalletEvent<'Society', 'Inducted', {
1352
+ primary: AccountId32;
1353
+ candidates: Array<AccountId32>;
1354
+ }>;
1355
+ /**
1356
+ * A suspended member has been judged.
1357
+ **/
1358
+ SuspendedMemberJudgement: GenericPalletEvent<'Society', 'SuspendedMemberJudgement', {
1359
+ who: AccountId32;
1360
+ judged: boolean;
1361
+ }>;
1362
+ /**
1363
+ * A candidate has been suspended
1364
+ **/
1365
+ CandidateSuspended: GenericPalletEvent<'Society', 'CandidateSuspended', {
1366
+ candidate: AccountId32;
1367
+ }>;
1368
+ /**
1369
+ * A member has been suspended
1370
+ **/
1371
+ MemberSuspended: GenericPalletEvent<'Society', 'MemberSuspended', {
1372
+ member: AccountId32;
1373
+ }>;
1374
+ /**
1375
+ * A member has been challenged
1376
+ **/
1377
+ Challenged: GenericPalletEvent<'Society', 'Challenged', {
1378
+ member: AccountId32;
1379
+ }>;
1380
+ /**
1381
+ * A vote has been placed
1382
+ **/
1383
+ Vote: GenericPalletEvent<'Society', 'Vote', {
1384
+ candidate: AccountId32;
1385
+ voter: AccountId32;
1386
+ vote: boolean;
1387
+ }>;
1388
+ /**
1389
+ * A vote has been placed for a defending member
1390
+ **/
1391
+ DefenderVote: GenericPalletEvent<'Society', 'DefenderVote', {
1392
+ voter: AccountId32;
1393
+ vote: boolean;
1394
+ }>;
1395
+ /**
1396
+ * A new set of \[params\] has been set for the group.
1397
+ **/
1398
+ NewParams: GenericPalletEvent<'Society', 'NewParams', {
1399
+ params: PalletSocietyGroupParams;
1400
+ }>;
1401
+ /**
1402
+ * Society is unfounded.
1403
+ **/
1404
+ Unfounded: GenericPalletEvent<'Society', 'Unfounded', {
1405
+ founder: AccountId32;
1406
+ }>;
1407
+ /**
1408
+ * Some funds were deposited into the society account.
1409
+ **/
1410
+ Deposit: GenericPalletEvent<'Society', 'Deposit', {
1411
+ value: bigint;
1412
+ }>;
1413
+ /**
1414
+ * A \[member\] got elevated to \[rank\].
1415
+ **/
1416
+ Elevated: GenericPalletEvent<'Society', 'Elevated', {
1417
+ member: AccountId32;
1418
+ rank: number;
1419
+ }>;
1420
+ /**
1421
+ * Generic pallet event
1422
+ **/
1423
+ [prop: string]: GenericPalletEvent;
1424
+ };
1425
+ /**
1426
+ * Pallet `Recovery`'s events
1427
+ **/
1428
+ recovery: {
1429
+ /**
1430
+ * A recovery process has been set up for an account.
1431
+ **/
1432
+ RecoveryCreated: GenericPalletEvent<'Recovery', 'RecoveryCreated', {
1433
+ account: AccountId32;
1434
+ }>;
1435
+ /**
1436
+ * A recovery process has been initiated for lost account by rescuer account.
1437
+ **/
1438
+ RecoveryInitiated: GenericPalletEvent<'Recovery', 'RecoveryInitiated', {
1439
+ lostAccount: AccountId32;
1440
+ rescuerAccount: AccountId32;
1441
+ }>;
1442
+ /**
1443
+ * A recovery process for lost account by rescuer account has been vouched for by sender.
1444
+ **/
1445
+ RecoveryVouched: GenericPalletEvent<'Recovery', 'RecoveryVouched', {
1446
+ lostAccount: AccountId32;
1447
+ rescuerAccount: AccountId32;
1448
+ sender: AccountId32;
1449
+ }>;
1450
+ /**
1451
+ * A recovery process for lost account by rescuer account has been closed.
1452
+ **/
1453
+ RecoveryClosed: GenericPalletEvent<'Recovery', 'RecoveryClosed', {
1454
+ lostAccount: AccountId32;
1455
+ rescuerAccount: AccountId32;
1456
+ }>;
1457
+ /**
1458
+ * Lost account has been successfully recovered by rescuer account.
1459
+ **/
1460
+ AccountRecovered: GenericPalletEvent<'Recovery', 'AccountRecovered', {
1461
+ lostAccount: AccountId32;
1462
+ rescuerAccount: AccountId32;
1463
+ }>;
1464
+ /**
1465
+ * A recovery process has been removed for an account.
1466
+ **/
1467
+ RecoveryRemoved: GenericPalletEvent<'Recovery', 'RecoveryRemoved', {
1468
+ lostAccount: AccountId32;
1469
+ }>;
1470
+ /**
1471
+ * Generic pallet event
1472
+ **/
1473
+ [prop: string]: GenericPalletEvent;
1474
+ };
1475
+ /**
1476
+ * Pallet `Vesting`'s events
1477
+ **/
1478
+ vesting: {
1479
+ /**
1480
+ * The amount vested has been updated. This could indicate a change in funds available.
1481
+ * The balance given is the amount which is left unvested (and thus locked).
1482
+ **/
1483
+ VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', {
1484
+ account: AccountId32;
1485
+ unvested: bigint;
1486
+ }>;
1487
+ /**
1488
+ * An \[account\] has become fully vested.
1489
+ **/
1490
+ VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', {
1491
+ account: AccountId32;
1492
+ }>;
1493
+ /**
1494
+ * Generic pallet event
1495
+ **/
1496
+ [prop: string]: GenericPalletEvent;
1497
+ };
1498
+ /**
1499
+ * Pallet `Scheduler`'s events
1500
+ **/
1501
+ scheduler: {
1502
+ /**
1503
+ * Scheduled some task.
1504
+ **/
1505
+ Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', {
1506
+ when: number;
1507
+ index: number;
1508
+ }>;
1509
+ /**
1510
+ * Canceled some task.
1511
+ **/
1512
+ Canceled: GenericPalletEvent<'Scheduler', 'Canceled', {
1513
+ when: number;
1514
+ index: number;
1515
+ }>;
1516
+ /**
1517
+ * Dispatched some task.
1518
+ **/
1519
+ Dispatched: GenericPalletEvent<'Scheduler', 'Dispatched', {
1520
+ task: [number, number];
1521
+ id?: FixedBytes<32> | undefined;
1522
+ result: Result<[], DispatchError>;
1523
+ }>;
1524
+ /**
1525
+ * The call for the provided hash was not found so the task has been aborted.
1526
+ **/
1527
+ CallUnavailable: GenericPalletEvent<'Scheduler', 'CallUnavailable', {
1528
+ task: [number, number];
1529
+ id?: FixedBytes<32> | undefined;
1530
+ }>;
1531
+ /**
1532
+ * The given task was unable to be renewed since the agenda is full at that block.
1533
+ **/
1534
+ PeriodicFailed: GenericPalletEvent<'Scheduler', 'PeriodicFailed', {
1535
+ task: [number, number];
1536
+ id?: FixedBytes<32> | undefined;
1537
+ }>;
1538
+ /**
1539
+ * The given task can never be executed since it is overweight.
1540
+ **/
1541
+ PermanentlyOverweight: GenericPalletEvent<'Scheduler', 'PermanentlyOverweight', {
1542
+ task: [number, number];
1543
+ id?: FixedBytes<32> | undefined;
1544
+ }>;
1545
+ /**
1546
+ * Generic pallet event
1547
+ **/
1548
+ [prop: string]: GenericPalletEvent;
1549
+ };
1550
+ /**
1551
+ * Pallet `Glutton`'s events
1552
+ **/
1553
+ glutton: {
1554
+ /**
1555
+ * The pallet has been (re)initialized.
1556
+ **/
1557
+ PalletInitialized: GenericPalletEvent<'Glutton', 'PalletInitialized', {
1558
+ /**
1559
+ * Whether the pallet has been re-initialized.
1560
+ **/
1561
+ reinit: boolean;
1562
+ }>;
1563
+ /**
1564
+ * The computation limit has been updated.
1565
+ **/
1566
+ ComputationLimitSet: GenericPalletEvent<'Glutton', 'ComputationLimitSet', {
1567
+ /**
1568
+ * The computation limit.
1569
+ **/
1570
+ compute: FixedU64;
1571
+ }>;
1572
+ /**
1573
+ * The storage limit has been updated.
1574
+ **/
1575
+ StorageLimitSet: GenericPalletEvent<'Glutton', 'StorageLimitSet', {
1576
+ /**
1577
+ * The storage limit.
1578
+ **/
1579
+ storage: FixedU64;
1580
+ }>;
1581
+ /**
1582
+ * Generic pallet event
1583
+ **/
1584
+ [prop: string]: GenericPalletEvent;
1585
+ };
1586
+ /**
1587
+ * Pallet `Preimage`'s events
1588
+ **/
1589
+ preimage: {
1590
+ /**
1591
+ * A preimage has been noted.
1592
+ **/
1593
+ Noted: GenericPalletEvent<'Preimage', 'Noted', {
1594
+ hash: H256;
1595
+ }>;
1596
+ /**
1597
+ * A preimage has been requested.
1598
+ **/
1599
+ Requested: GenericPalletEvent<'Preimage', 'Requested', {
1600
+ hash: H256;
1601
+ }>;
1602
+ /**
1603
+ * A preimage has ben cleared.
1604
+ **/
1605
+ Cleared: GenericPalletEvent<'Preimage', 'Cleared', {
1606
+ hash: H256;
1607
+ }>;
1608
+ /**
1609
+ * Generic pallet event
1610
+ **/
1611
+ [prop: string]: GenericPalletEvent;
1612
+ };
1613
+ /**
1614
+ * Pallet `Proxy`'s events
1615
+ **/
1616
+ proxy: {
1617
+ /**
1618
+ * A proxy was executed correctly, with the given.
1619
+ **/
1620
+ ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', {
1621
+ result: Result<[], DispatchError>;
1622
+ }>;
1623
+ /**
1624
+ * A pure account has been created by new proxy with given
1625
+ * disambiguation index and proxy type.
1626
+ **/
1627
+ PureCreated: GenericPalletEvent<'Proxy', 'PureCreated', {
1628
+ pure: AccountId32;
1629
+ who: AccountId32;
1630
+ proxyType: KitchensinkRuntimeProxyType;
1631
+ disambiguationIndex: number;
1632
+ }>;
1633
+ /**
1634
+ * An announcement was placed to make a call in the future.
1635
+ **/
1636
+ Announced: GenericPalletEvent<'Proxy', 'Announced', {
1637
+ real: AccountId32;
1638
+ proxy: AccountId32;
1639
+ callHash: H256;
1640
+ }>;
1641
+ /**
1642
+ * A proxy was added.
1643
+ **/
1644
+ ProxyAdded: GenericPalletEvent<'Proxy', 'ProxyAdded', {
1645
+ delegator: AccountId32;
1646
+ delegatee: AccountId32;
1647
+ proxyType: KitchensinkRuntimeProxyType;
1648
+ delay: number;
1649
+ }>;
1650
+ /**
1651
+ * A proxy was removed.
1652
+ **/
1653
+ ProxyRemoved: GenericPalletEvent<'Proxy', 'ProxyRemoved', {
1654
+ delegator: AccountId32;
1655
+ delegatee: AccountId32;
1656
+ proxyType: KitchensinkRuntimeProxyType;
1657
+ delay: number;
1658
+ }>;
1659
+ /**
1660
+ * Generic pallet event
1661
+ **/
1662
+ [prop: string]: GenericPalletEvent;
1663
+ };
1664
+ /**
1665
+ * Pallet `Multisig`'s events
1666
+ **/
1667
+ multisig: {
1668
+ /**
1669
+ * A new multisig operation has begun.
1670
+ **/
1671
+ NewMultisig: GenericPalletEvent<'Multisig', 'NewMultisig', {
1672
+ approving: AccountId32;
1673
+ multisig: AccountId32;
1674
+ callHash: FixedBytes<32>;
1675
+ }>;
1676
+ /**
1677
+ * A multisig operation has been approved by someone.
1678
+ **/
1679
+ MultisigApproval: GenericPalletEvent<'Multisig', 'MultisigApproval', {
1680
+ approving: AccountId32;
1681
+ timepoint: PalletMultisigTimepoint;
1682
+ multisig: AccountId32;
1683
+ callHash: FixedBytes<32>;
1684
+ }>;
1685
+ /**
1686
+ * A multisig operation has been executed.
1687
+ **/
1688
+ MultisigExecuted: GenericPalletEvent<'Multisig', 'MultisigExecuted', {
1689
+ approving: AccountId32;
1690
+ timepoint: PalletMultisigTimepoint;
1691
+ multisig: AccountId32;
1692
+ callHash: FixedBytes<32>;
1693
+ result: Result<[], DispatchError>;
1694
+ }>;
1695
+ /**
1696
+ * A multisig operation has been cancelled.
1697
+ **/
1698
+ MultisigCancelled: GenericPalletEvent<'Multisig', 'MultisigCancelled', {
1699
+ cancelling: AccountId32;
1700
+ timepoint: PalletMultisigTimepoint;
1701
+ multisig: AccountId32;
1702
+ callHash: FixedBytes<32>;
1703
+ }>;
1704
+ /**
1705
+ * Generic pallet event
1706
+ **/
1707
+ [prop: string]: GenericPalletEvent;
1708
+ };
1709
+ /**
1710
+ * Pallet `Bounties`'s events
1711
+ **/
1712
+ bounties: {
1713
+ /**
1714
+ * New bounty proposal.
1715
+ **/
1716
+ BountyProposed: GenericPalletEvent<'Bounties', 'BountyProposed', {
1717
+ index: number;
1718
+ }>;
1719
+ /**
1720
+ * A bounty proposal was rejected; funds were slashed.
1721
+ **/
1722
+ BountyRejected: GenericPalletEvent<'Bounties', 'BountyRejected', {
1723
+ index: number;
1724
+ bond: bigint;
1725
+ }>;
1726
+ /**
1727
+ * A bounty proposal is funded and became active.
1728
+ **/
1729
+ BountyBecameActive: GenericPalletEvent<'Bounties', 'BountyBecameActive', {
1730
+ index: number;
1731
+ }>;
1732
+ /**
1733
+ * A bounty is awarded to a beneficiary.
1734
+ **/
1735
+ BountyAwarded: GenericPalletEvent<'Bounties', 'BountyAwarded', {
1736
+ index: number;
1737
+ beneficiary: AccountId32;
1738
+ }>;
1739
+ /**
1740
+ * A bounty is claimed by beneficiary.
1741
+ **/
1742
+ BountyClaimed: GenericPalletEvent<'Bounties', 'BountyClaimed', {
1743
+ index: number;
1744
+ payout: bigint;
1745
+ beneficiary: AccountId32;
1746
+ }>;
1747
+ /**
1748
+ * A bounty is cancelled.
1749
+ **/
1750
+ BountyCanceled: GenericPalletEvent<'Bounties', 'BountyCanceled', {
1751
+ index: number;
1752
+ }>;
1753
+ /**
1754
+ * A bounty expiry is extended.
1755
+ **/
1756
+ BountyExtended: GenericPalletEvent<'Bounties', 'BountyExtended', {
1757
+ index: number;
1758
+ }>;
1759
+ /**
1760
+ * Generic pallet event
1761
+ **/
1762
+ [prop: string]: GenericPalletEvent;
1763
+ };
1764
+ /**
1765
+ * Pallet `Tips`'s events
1766
+ **/
1767
+ tips: {
1768
+ /**
1769
+ * A new tip suggestion has been opened.
1770
+ **/
1771
+ NewTip: GenericPalletEvent<'Tips', 'NewTip', {
1772
+ tipHash: H256;
1773
+ }>;
1774
+ /**
1775
+ * A tip suggestion has reached threshold and is closing.
1776
+ **/
1777
+ TipClosing: GenericPalletEvent<'Tips', 'TipClosing', {
1778
+ tipHash: H256;
1779
+ }>;
1780
+ /**
1781
+ * A tip suggestion has been closed.
1782
+ **/
1783
+ TipClosed: GenericPalletEvent<'Tips', 'TipClosed', {
1784
+ tipHash: H256;
1785
+ who: AccountId32;
1786
+ payout: bigint;
1787
+ }>;
1788
+ /**
1789
+ * A tip suggestion has been retracted.
1790
+ **/
1791
+ TipRetracted: GenericPalletEvent<'Tips', 'TipRetracted', {
1792
+ tipHash: H256;
1793
+ }>;
1794
+ /**
1795
+ * A tip suggestion has been slashed.
1796
+ **/
1797
+ TipSlashed: GenericPalletEvent<'Tips', 'TipSlashed', {
1798
+ tipHash: H256;
1799
+ finder: AccountId32;
1800
+ deposit: bigint;
1801
+ }>;
1802
+ /**
1803
+ * Generic pallet event
1804
+ **/
1805
+ [prop: string]: GenericPalletEvent;
1806
+ };
1807
+ /**
1808
+ * Pallet `Assets`'s events
1809
+ **/
1810
+ assets: {
1811
+ /**
1812
+ * Some asset class was created.
1813
+ **/
1814
+ Created: GenericPalletEvent<'Assets', 'Created', {
1815
+ assetId: number;
1816
+ creator: AccountId32;
1817
+ owner: AccountId32;
1818
+ }>;
1819
+ /**
1820
+ * Some assets were issued.
1821
+ **/
1822
+ Issued: GenericPalletEvent<'Assets', 'Issued', {
1823
+ assetId: number;
1824
+ owner: AccountId32;
1825
+ amount: bigint;
1826
+ }>;
1827
+ /**
1828
+ * Some assets were transferred.
1829
+ **/
1830
+ Transferred: GenericPalletEvent<'Assets', 'Transferred', {
1831
+ assetId: number;
1832
+ from: AccountId32;
1833
+ to: AccountId32;
1834
+ amount: bigint;
1835
+ }>;
1836
+ /**
1837
+ * Some assets were destroyed.
1838
+ **/
1839
+ Burned: GenericPalletEvent<'Assets', 'Burned', {
1840
+ assetId: number;
1841
+ owner: AccountId32;
1842
+ balance: bigint;
1843
+ }>;
1844
+ /**
1845
+ * The management team changed.
1846
+ **/
1847
+ TeamChanged: GenericPalletEvent<'Assets', 'TeamChanged', {
1848
+ assetId: number;
1849
+ issuer: AccountId32;
1850
+ admin: AccountId32;
1851
+ freezer: AccountId32;
1852
+ }>;
1853
+ /**
1854
+ * The owner changed.
1855
+ **/
1856
+ OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', {
1857
+ assetId: number;
1858
+ owner: AccountId32;
1859
+ }>;
1860
+ /**
1861
+ * Some account `who` was frozen.
1862
+ **/
1863
+ Frozen: GenericPalletEvent<'Assets', 'Frozen', {
1864
+ assetId: number;
1865
+ who: AccountId32;
1866
+ }>;
1867
+ /**
1868
+ * Some account `who` was thawed.
1869
+ **/
1870
+ Thawed: GenericPalletEvent<'Assets', 'Thawed', {
1871
+ assetId: number;
1872
+ who: AccountId32;
1873
+ }>;
1874
+ /**
1875
+ * Some asset `asset_id` was frozen.
1876
+ **/
1877
+ AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', {
1878
+ assetId: number;
1879
+ }>;
1880
+ /**
1881
+ * Some asset `asset_id` was thawed.
1882
+ **/
1883
+ AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', {
1884
+ assetId: number;
1885
+ }>;
1886
+ /**
1887
+ * Accounts were destroyed for given asset.
1888
+ **/
1889
+ AccountsDestroyed: GenericPalletEvent<'Assets', 'AccountsDestroyed', {
1890
+ assetId: number;
1891
+ accountsDestroyed: number;
1892
+ accountsRemaining: number;
1893
+ }>;
1894
+ /**
1895
+ * Approvals were destroyed for given asset.
1896
+ **/
1897
+ ApprovalsDestroyed: GenericPalletEvent<'Assets', 'ApprovalsDestroyed', {
1898
+ assetId: number;
1899
+ approvalsDestroyed: number;
1900
+ approvalsRemaining: number;
1901
+ }>;
1902
+ /**
1903
+ * An asset class is in the process of being destroyed.
1904
+ **/
1905
+ DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', {
1906
+ assetId: number;
1907
+ }>;
1908
+ /**
1909
+ * An asset class was destroyed.
1910
+ **/
1911
+ Destroyed: GenericPalletEvent<'Assets', 'Destroyed', {
1912
+ assetId: number;
1913
+ }>;
1914
+ /**
1915
+ * Some asset class was force-created.
1916
+ **/
1917
+ ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', {
1918
+ assetId: number;
1919
+ owner: AccountId32;
1920
+ }>;
1921
+ /**
1922
+ * New metadata has been set for an asset.
1923
+ **/
1924
+ MetadataSet: GenericPalletEvent<'Assets', 'MetadataSet', {
1925
+ assetId: number;
1926
+ name: Bytes;
1927
+ symbol: Bytes;
1928
+ decimals: number;
1929
+ isFrozen: boolean;
1930
+ }>;
1931
+ /**
1932
+ * Metadata has been cleared for an asset.
1933
+ **/
1934
+ MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', {
1935
+ assetId: number;
1936
+ }>;
1937
+ /**
1938
+ * (Additional) funds have been approved for transfer to a destination account.
1939
+ **/
1940
+ ApprovedTransfer: GenericPalletEvent<'Assets', 'ApprovedTransfer', {
1941
+ assetId: number;
1942
+ source: AccountId32;
1943
+ delegate: AccountId32;
1944
+ amount: bigint;
1945
+ }>;
1946
+ /**
1947
+ * An approval for account `delegate` was cancelled by `owner`.
1948
+ **/
1949
+ ApprovalCancelled: GenericPalletEvent<'Assets', 'ApprovalCancelled', {
1950
+ assetId: number;
1951
+ owner: AccountId32;
1952
+ delegate: AccountId32;
1953
+ }>;
1954
+ /**
1955
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
1956
+ * the approved `delegate`.
1957
+ **/
1958
+ TransferredApproved: GenericPalletEvent<'Assets', 'TransferredApproved', {
1959
+ assetId: number;
1960
+ owner: AccountId32;
1961
+ delegate: AccountId32;
1962
+ destination: AccountId32;
1963
+ amount: bigint;
1964
+ }>;
1965
+ /**
1966
+ * An asset has had its attributes changed by the `Force` origin.
1967
+ **/
1968
+ AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', {
1969
+ assetId: number;
1970
+ }>;
1971
+ /**
1972
+ * The min_balance of an asset has been updated by the asset owner.
1973
+ **/
1974
+ AssetMinBalanceChanged: GenericPalletEvent<'Assets', 'AssetMinBalanceChanged', {
1975
+ assetId: number;
1976
+ newMinBalance: bigint;
1977
+ }>;
1978
+ /**
1979
+ * Some account `who` was created with a deposit from `depositor`.
1980
+ **/
1981
+ Touched: GenericPalletEvent<'Assets', 'Touched', {
1982
+ assetId: number;
1983
+ who: AccountId32;
1984
+ depositor: AccountId32;
1985
+ }>;
1986
+ /**
1987
+ * Some account `who` was blocked.
1988
+ **/
1989
+ Blocked: GenericPalletEvent<'Assets', 'Blocked', {
1990
+ assetId: number;
1991
+ who: AccountId32;
1992
+ }>;
1993
+ /**
1994
+ * Generic pallet event
1995
+ **/
1996
+ [prop: string]: GenericPalletEvent;
1997
+ };
1998
+ /**
1999
+ * Pallet `PoolAssets`'s events
2000
+ **/
2001
+ poolAssets: {
2002
+ /**
2003
+ * Some asset class was created.
2004
+ **/
2005
+ Created: GenericPalletEvent<'PoolAssets', 'Created', {
2006
+ assetId: number;
2007
+ creator: AccountId32;
2008
+ owner: AccountId32;
2009
+ }>;
2010
+ /**
2011
+ * Some assets were issued.
2012
+ **/
2013
+ Issued: GenericPalletEvent<'PoolAssets', 'Issued', {
2014
+ assetId: number;
2015
+ owner: AccountId32;
2016
+ amount: bigint;
2017
+ }>;
2018
+ /**
2019
+ * Some assets were transferred.
2020
+ **/
2021
+ Transferred: GenericPalletEvent<'PoolAssets', 'Transferred', {
2022
+ assetId: number;
2023
+ from: AccountId32;
2024
+ to: AccountId32;
2025
+ amount: bigint;
2026
+ }>;
2027
+ /**
2028
+ * Some assets were destroyed.
2029
+ **/
2030
+ Burned: GenericPalletEvent<'PoolAssets', 'Burned', {
2031
+ assetId: number;
2032
+ owner: AccountId32;
2033
+ balance: bigint;
2034
+ }>;
2035
+ /**
2036
+ * The management team changed.
2037
+ **/
2038
+ TeamChanged: GenericPalletEvent<'PoolAssets', 'TeamChanged', {
2039
+ assetId: number;
2040
+ issuer: AccountId32;
2041
+ admin: AccountId32;
2042
+ freezer: AccountId32;
2043
+ }>;
2044
+ /**
2045
+ * The owner changed.
2046
+ **/
2047
+ OwnerChanged: GenericPalletEvent<'PoolAssets', 'OwnerChanged', {
2048
+ assetId: number;
2049
+ owner: AccountId32;
2050
+ }>;
2051
+ /**
2052
+ * Some account `who` was frozen.
2053
+ **/
2054
+ Frozen: GenericPalletEvent<'PoolAssets', 'Frozen', {
2055
+ assetId: number;
2056
+ who: AccountId32;
2057
+ }>;
2058
+ /**
2059
+ * Some account `who` was thawed.
2060
+ **/
2061
+ Thawed: GenericPalletEvent<'PoolAssets', 'Thawed', {
2062
+ assetId: number;
2063
+ who: AccountId32;
2064
+ }>;
2065
+ /**
2066
+ * Some asset `asset_id` was frozen.
2067
+ **/
2068
+ AssetFrozen: GenericPalletEvent<'PoolAssets', 'AssetFrozen', {
2069
+ assetId: number;
2070
+ }>;
2071
+ /**
2072
+ * Some asset `asset_id` was thawed.
2073
+ **/
2074
+ AssetThawed: GenericPalletEvent<'PoolAssets', 'AssetThawed', {
2075
+ assetId: number;
2076
+ }>;
2077
+ /**
2078
+ * Accounts were destroyed for given asset.
2079
+ **/
2080
+ AccountsDestroyed: GenericPalletEvent<'PoolAssets', 'AccountsDestroyed', {
2081
+ assetId: number;
2082
+ accountsDestroyed: number;
2083
+ accountsRemaining: number;
2084
+ }>;
2085
+ /**
2086
+ * Approvals were destroyed for given asset.
2087
+ **/
2088
+ ApprovalsDestroyed: GenericPalletEvent<'PoolAssets', 'ApprovalsDestroyed', {
2089
+ assetId: number;
2090
+ approvalsDestroyed: number;
2091
+ approvalsRemaining: number;
2092
+ }>;
2093
+ /**
2094
+ * An asset class is in the process of being destroyed.
2095
+ **/
2096
+ DestructionStarted: GenericPalletEvent<'PoolAssets', 'DestructionStarted', {
2097
+ assetId: number;
2098
+ }>;
2099
+ /**
2100
+ * An asset class was destroyed.
2101
+ **/
2102
+ Destroyed: GenericPalletEvent<'PoolAssets', 'Destroyed', {
2103
+ assetId: number;
2104
+ }>;
2105
+ /**
2106
+ * Some asset class was force-created.
2107
+ **/
2108
+ ForceCreated: GenericPalletEvent<'PoolAssets', 'ForceCreated', {
2109
+ assetId: number;
2110
+ owner: AccountId32;
2111
+ }>;
2112
+ /**
2113
+ * New metadata has been set for an asset.
2114
+ **/
2115
+ MetadataSet: GenericPalletEvent<'PoolAssets', 'MetadataSet', {
2116
+ assetId: number;
2117
+ name: Bytes;
2118
+ symbol: Bytes;
2119
+ decimals: number;
2120
+ isFrozen: boolean;
2121
+ }>;
2122
+ /**
2123
+ * Metadata has been cleared for an asset.
2124
+ **/
2125
+ MetadataCleared: GenericPalletEvent<'PoolAssets', 'MetadataCleared', {
2126
+ assetId: number;
2127
+ }>;
2128
+ /**
2129
+ * (Additional) funds have been approved for transfer to a destination account.
2130
+ **/
2131
+ ApprovedTransfer: GenericPalletEvent<'PoolAssets', 'ApprovedTransfer', {
2132
+ assetId: number;
2133
+ source: AccountId32;
2134
+ delegate: AccountId32;
2135
+ amount: bigint;
2136
+ }>;
2137
+ /**
2138
+ * An approval for account `delegate` was cancelled by `owner`.
2139
+ **/
2140
+ ApprovalCancelled: GenericPalletEvent<'PoolAssets', 'ApprovalCancelled', {
2141
+ assetId: number;
2142
+ owner: AccountId32;
2143
+ delegate: AccountId32;
2144
+ }>;
2145
+ /**
2146
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
2147
+ * the approved `delegate`.
2148
+ **/
2149
+ TransferredApproved: GenericPalletEvent<'PoolAssets', 'TransferredApproved', {
2150
+ assetId: number;
2151
+ owner: AccountId32;
2152
+ delegate: AccountId32;
2153
+ destination: AccountId32;
2154
+ amount: bigint;
2155
+ }>;
2156
+ /**
2157
+ * An asset has had its attributes changed by the `Force` origin.
2158
+ **/
2159
+ AssetStatusChanged: GenericPalletEvent<'PoolAssets', 'AssetStatusChanged', {
2160
+ assetId: number;
2161
+ }>;
2162
+ /**
2163
+ * The min_balance of an asset has been updated by the asset owner.
2164
+ **/
2165
+ AssetMinBalanceChanged: GenericPalletEvent<'PoolAssets', 'AssetMinBalanceChanged', {
2166
+ assetId: number;
2167
+ newMinBalance: bigint;
2168
+ }>;
2169
+ /**
2170
+ * Some account `who` was created with a deposit from `depositor`.
2171
+ **/
2172
+ Touched: GenericPalletEvent<'PoolAssets', 'Touched', {
2173
+ assetId: number;
2174
+ who: AccountId32;
2175
+ depositor: AccountId32;
2176
+ }>;
2177
+ /**
2178
+ * Some account `who` was blocked.
2179
+ **/
2180
+ Blocked: GenericPalletEvent<'PoolAssets', 'Blocked', {
2181
+ assetId: number;
2182
+ who: AccountId32;
2183
+ }>;
2184
+ /**
2185
+ * Generic pallet event
2186
+ **/
2187
+ [prop: string]: GenericPalletEvent;
2188
+ };
2189
+ /**
2190
+ * Pallet `Lottery`'s events
2191
+ **/
2192
+ lottery: {
2193
+ /**
2194
+ * A lottery has been started!
2195
+ **/
2196
+ LotteryStarted: GenericPalletEvent<'Lottery', 'LotteryStarted', null>;
2197
+ /**
2198
+ * A new set of calls have been set!
2199
+ **/
2200
+ CallsUpdated: GenericPalletEvent<'Lottery', 'CallsUpdated', null>;
2201
+ /**
2202
+ * A winner has been chosen!
2203
+ **/
2204
+ Winner: GenericPalletEvent<'Lottery', 'Winner', {
2205
+ winner: AccountId32;
2206
+ lotteryBalance: bigint;
2207
+ }>;
2208
+ /**
2209
+ * A ticket has been bought!
2210
+ **/
2211
+ TicketBought: GenericPalletEvent<'Lottery', 'TicketBought', {
2212
+ who: AccountId32;
2213
+ callIndex: [number, number];
2214
+ }>;
2215
+ /**
2216
+ * Generic pallet event
2217
+ **/
2218
+ [prop: string]: GenericPalletEvent;
2219
+ };
2220
+ /**
2221
+ * Pallet `Nis`'s events
2222
+ **/
2223
+ nis: {
2224
+ /**
2225
+ * A bid was successfully placed.
2226
+ **/
2227
+ BidPlaced: GenericPalletEvent<'Nis', 'BidPlaced', {
2228
+ who: AccountId32;
2229
+ amount: bigint;
2230
+ duration: number;
2231
+ }>;
2232
+ /**
2233
+ * A bid was successfully removed (before being accepted).
2234
+ **/
2235
+ BidRetracted: GenericPalletEvent<'Nis', 'BidRetracted', {
2236
+ who: AccountId32;
2237
+ amount: bigint;
2238
+ duration: number;
2239
+ }>;
2240
+ /**
2241
+ * A bid was dropped from a queue because of another, more substantial, bid was present.
2242
+ **/
2243
+ BidDropped: GenericPalletEvent<'Nis', 'BidDropped', {
2244
+ who: AccountId32;
2245
+ amount: bigint;
2246
+ duration: number;
2247
+ }>;
2248
+ /**
2249
+ * A bid was accepted. The balance may not be released until expiry.
2250
+ **/
2251
+ Issued: GenericPalletEvent<'Nis', 'Issued', {
2252
+ /**
2253
+ * The identity of the receipt.
2254
+ **/
2255
+ index: number;
2256
+ /**
2257
+ * The block number at which the receipt may be thawed.
2258
+ **/
2259
+ expiry: number;
2260
+ /**
2261
+ * The owner of the receipt.
2262
+ **/
2263
+ who: AccountId32;
2264
+ /**
2265
+ * The proportion of the effective total issuance which the receipt represents.
2266
+ **/
2267
+ proportion: Perquintill;
2268
+ /**
2269
+ * The amount of funds which were debited from the owner.
2270
+ **/
2271
+ amount: bigint;
2272
+ }>;
2273
+ /**
2274
+ * An receipt has been (at least partially) thawed.
2275
+ **/
2276
+ Thawed: GenericPalletEvent<'Nis', 'Thawed', {
2277
+ /**
2278
+ * The identity of the receipt.
2279
+ **/
2280
+ index: number;
2281
+ /**
2282
+ * The owner.
2283
+ **/
2284
+ who: AccountId32;
2285
+ /**
2286
+ * The proportion of the effective total issuance by which the owner was debited.
2287
+ **/
2288
+ proportion: Perquintill;
2289
+ /**
2290
+ * The amount by which the owner was credited.
2291
+ **/
2292
+ amount: bigint;
2293
+ /**
2294
+ * If `true` then the receipt is done.
2295
+ **/
2296
+ dropped: boolean;
2297
+ }>;
2298
+ /**
2299
+ * An automatic funding of the deficit was made.
2300
+ **/
2301
+ Funded: GenericPalletEvent<'Nis', 'Funded', {
2302
+ deficit: bigint;
2303
+ }>;
2304
+ /**
2305
+ * A receipt was transfered.
2306
+ **/
2307
+ Transferred: GenericPalletEvent<'Nis', 'Transferred', {
2308
+ from: AccountId32;
2309
+ to: AccountId32;
2310
+ index: number;
2311
+ }>;
2312
+ /**
2313
+ * Generic pallet event
2314
+ **/
2315
+ [prop: string]: GenericPalletEvent;
2316
+ };
2317
+ /**
2318
+ * Pallet `Uniques`'s events
2319
+ **/
2320
+ uniques: {
2321
+ /**
2322
+ * A `collection` was created.
2323
+ **/
2324
+ Created: GenericPalletEvent<'Uniques', 'Created', {
2325
+ collection: number;
2326
+ creator: AccountId32;
2327
+ owner: AccountId32;
2328
+ }>;
2329
+ /**
2330
+ * A `collection` was force-created.
2331
+ **/
2332
+ ForceCreated: GenericPalletEvent<'Uniques', 'ForceCreated', {
2333
+ collection: number;
2334
+ owner: AccountId32;
2335
+ }>;
2336
+ /**
2337
+ * A `collection` was destroyed.
2338
+ **/
2339
+ Destroyed: GenericPalletEvent<'Uniques', 'Destroyed', {
2340
+ collection: number;
2341
+ }>;
2342
+ /**
2343
+ * An `item` was issued.
2344
+ **/
2345
+ Issued: GenericPalletEvent<'Uniques', 'Issued', {
2346
+ collection: number;
2347
+ item: number;
2348
+ owner: AccountId32;
2349
+ }>;
2350
+ /**
2351
+ * An `item` was transferred.
2352
+ **/
2353
+ Transferred: GenericPalletEvent<'Uniques', 'Transferred', {
2354
+ collection: number;
2355
+ item: number;
2356
+ from: AccountId32;
2357
+ to: AccountId32;
2358
+ }>;
2359
+ /**
2360
+ * An `item` was destroyed.
2361
+ **/
2362
+ Burned: GenericPalletEvent<'Uniques', 'Burned', {
2363
+ collection: number;
2364
+ item: number;
2365
+ owner: AccountId32;
2366
+ }>;
2367
+ /**
2368
+ * Some `item` was frozen.
2369
+ **/
2370
+ Frozen: GenericPalletEvent<'Uniques', 'Frozen', {
2371
+ collection: number;
2372
+ item: number;
2373
+ }>;
2374
+ /**
2375
+ * Some `item` was thawed.
2376
+ **/
2377
+ Thawed: GenericPalletEvent<'Uniques', 'Thawed', {
2378
+ collection: number;
2379
+ item: number;
2380
+ }>;
2381
+ /**
2382
+ * Some `collection` was frozen.
2383
+ **/
2384
+ CollectionFrozen: GenericPalletEvent<'Uniques', 'CollectionFrozen', {
2385
+ collection: number;
2386
+ }>;
2387
+ /**
2388
+ * Some `collection` was thawed.
2389
+ **/
2390
+ CollectionThawed: GenericPalletEvent<'Uniques', 'CollectionThawed', {
2391
+ collection: number;
2392
+ }>;
2393
+ /**
2394
+ * The owner changed.
2395
+ **/
2396
+ OwnerChanged: GenericPalletEvent<'Uniques', 'OwnerChanged', {
2397
+ collection: number;
2398
+ newOwner: AccountId32;
2399
+ }>;
2400
+ /**
2401
+ * The management team changed.
2402
+ **/
2403
+ TeamChanged: GenericPalletEvent<'Uniques', 'TeamChanged', {
2404
+ collection: number;
2405
+ issuer: AccountId32;
2406
+ admin: AccountId32;
2407
+ freezer: AccountId32;
2408
+ }>;
2409
+ /**
2410
+ * An `item` of a `collection` has been approved by the `owner` for transfer by
2411
+ * a `delegate`.
2412
+ **/
2413
+ ApprovedTransfer: GenericPalletEvent<'Uniques', 'ApprovedTransfer', {
2414
+ collection: number;
2415
+ item: number;
2416
+ owner: AccountId32;
2417
+ delegate: AccountId32;
2418
+ }>;
2419
+ /**
2420
+ * An approval for a `delegate` account to transfer the `item` of an item
2421
+ * `collection` was cancelled by its `owner`.
2422
+ **/
2423
+ ApprovalCancelled: GenericPalletEvent<'Uniques', 'ApprovalCancelled', {
2424
+ collection: number;
2425
+ item: number;
2426
+ owner: AccountId32;
2427
+ delegate: AccountId32;
2428
+ }>;
2429
+ /**
2430
+ * A `collection` has had its attributes changed by the `Force` origin.
2431
+ **/
2432
+ ItemStatusChanged: GenericPalletEvent<'Uniques', 'ItemStatusChanged', {
2433
+ collection: number;
2434
+ }>;
2435
+ /**
2436
+ * New metadata has been set for a `collection`.
2437
+ **/
2438
+ CollectionMetadataSet: GenericPalletEvent<'Uniques', 'CollectionMetadataSet', {
2439
+ collection: number;
2440
+ data: Bytes;
2441
+ isFrozen: boolean;
2442
+ }>;
2443
+ /**
2444
+ * Metadata has been cleared for a `collection`.
2445
+ **/
2446
+ CollectionMetadataCleared: GenericPalletEvent<'Uniques', 'CollectionMetadataCleared', {
2447
+ collection: number;
2448
+ }>;
2449
+ /**
2450
+ * New metadata has been set for an item.
2451
+ **/
2452
+ MetadataSet: GenericPalletEvent<'Uniques', 'MetadataSet', {
2453
+ collection: number;
2454
+ item: number;
2455
+ data: Bytes;
2456
+ isFrozen: boolean;
2457
+ }>;
2458
+ /**
2459
+ * Metadata has been cleared for an item.
2460
+ **/
2461
+ MetadataCleared: GenericPalletEvent<'Uniques', 'MetadataCleared', {
2462
+ collection: number;
2463
+ item: number;
2464
+ }>;
2465
+ /**
2466
+ * Metadata has been cleared for an item.
2467
+ **/
2468
+ Redeposited: GenericPalletEvent<'Uniques', 'Redeposited', {
2469
+ collection: number;
2470
+ successfulItems: Array<number>;
2471
+ }>;
2472
+ /**
2473
+ * New attribute metadata has been set for a `collection` or `item`.
2474
+ **/
2475
+ AttributeSet: GenericPalletEvent<'Uniques', 'AttributeSet', {
2476
+ collection: number;
2477
+ maybeItem?: number | undefined;
2478
+ key: Bytes;
2479
+ value: Bytes;
2480
+ }>;
2481
+ /**
2482
+ * Attribute metadata has been cleared for a `collection` or `item`.
2483
+ **/
2484
+ AttributeCleared: GenericPalletEvent<'Uniques', 'AttributeCleared', {
2485
+ collection: number;
2486
+ maybeItem?: number | undefined;
2487
+ key: Bytes;
2488
+ }>;
2489
+ /**
2490
+ * Ownership acceptance has changed for an account.
2491
+ **/
2492
+ OwnershipAcceptanceChanged: GenericPalletEvent<'Uniques', 'OwnershipAcceptanceChanged', {
2493
+ who: AccountId32;
2494
+ maybeCollection?: number | undefined;
2495
+ }>;
2496
+ /**
2497
+ * Max supply has been set for a collection.
2498
+ **/
2499
+ CollectionMaxSupplySet: GenericPalletEvent<'Uniques', 'CollectionMaxSupplySet', {
2500
+ collection: number;
2501
+ maxSupply: number;
2502
+ }>;
2503
+ /**
2504
+ * The price was set for the instance.
2505
+ **/
2506
+ ItemPriceSet: GenericPalletEvent<'Uniques', 'ItemPriceSet', {
2507
+ collection: number;
2508
+ item: number;
2509
+ price: bigint;
2510
+ whitelistedBuyer?: AccountId32 | undefined;
2511
+ }>;
2512
+ /**
2513
+ * The price for the instance was removed.
2514
+ **/
2515
+ ItemPriceRemoved: GenericPalletEvent<'Uniques', 'ItemPriceRemoved', {
2516
+ collection: number;
2517
+ item: number;
2518
+ }>;
2519
+ /**
2520
+ * An item was bought.
2521
+ **/
2522
+ ItemBought: GenericPalletEvent<'Uniques', 'ItemBought', {
2523
+ collection: number;
2524
+ item: number;
2525
+ price: bigint;
2526
+ seller: AccountId32;
2527
+ buyer: AccountId32;
2528
+ }>;
2529
+ /**
2530
+ * Generic pallet event
2531
+ **/
2532
+ [prop: string]: GenericPalletEvent;
2533
+ };
2534
+ /**
2535
+ * Pallet `Nfts`'s events
2536
+ **/
2537
+ nfts: {
2538
+ /**
2539
+ * A `collection` was created.
2540
+ **/
2541
+ Created: GenericPalletEvent<'Nfts', 'Created', {
2542
+ collection: number;
2543
+ creator: AccountId32;
2544
+ owner: AccountId32;
2545
+ }>;
2546
+ /**
2547
+ * A `collection` was force-created.
2548
+ **/
2549
+ ForceCreated: GenericPalletEvent<'Nfts', 'ForceCreated', {
2550
+ collection: number;
2551
+ owner: AccountId32;
2552
+ }>;
2553
+ /**
2554
+ * A `collection` was destroyed.
2555
+ **/
2556
+ Destroyed: GenericPalletEvent<'Nfts', 'Destroyed', {
2557
+ collection: number;
2558
+ }>;
2559
+ /**
2560
+ * An `item` was issued.
2561
+ **/
2562
+ Issued: GenericPalletEvent<'Nfts', 'Issued', {
2563
+ collection: number;
2564
+ item: number;
2565
+ owner: AccountId32;
2566
+ }>;
2567
+ /**
2568
+ * An `item` was transferred.
2569
+ **/
2570
+ Transferred: GenericPalletEvent<'Nfts', 'Transferred', {
2571
+ collection: number;
2572
+ item: number;
2573
+ from: AccountId32;
2574
+ to: AccountId32;
2575
+ }>;
2576
+ /**
2577
+ * An `item` was destroyed.
2578
+ **/
2579
+ Burned: GenericPalletEvent<'Nfts', 'Burned', {
2580
+ collection: number;
2581
+ item: number;
2582
+ owner: AccountId32;
2583
+ }>;
2584
+ /**
2585
+ * An `item` became non-transferable.
2586
+ **/
2587
+ ItemTransferLocked: GenericPalletEvent<'Nfts', 'ItemTransferLocked', {
2588
+ collection: number;
2589
+ item: number;
2590
+ }>;
2591
+ /**
2592
+ * An `item` became transferable.
2593
+ **/
2594
+ ItemTransferUnlocked: GenericPalletEvent<'Nfts', 'ItemTransferUnlocked', {
2595
+ collection: number;
2596
+ item: number;
2597
+ }>;
2598
+ /**
2599
+ * `item` metadata or attributes were locked.
2600
+ **/
2601
+ ItemPropertiesLocked: GenericPalletEvent<'Nfts', 'ItemPropertiesLocked', {
2602
+ collection: number;
2603
+ item: number;
2604
+ lockMetadata: boolean;
2605
+ lockAttributes: boolean;
2606
+ }>;
2607
+ /**
2608
+ * Some `collection` was locked.
2609
+ **/
2610
+ CollectionLocked: GenericPalletEvent<'Nfts', 'CollectionLocked', {
2611
+ collection: number;
2612
+ }>;
2613
+ /**
2614
+ * The owner changed.
2615
+ **/
2616
+ OwnerChanged: GenericPalletEvent<'Nfts', 'OwnerChanged', {
2617
+ collection: number;
2618
+ newOwner: AccountId32;
2619
+ }>;
2620
+ /**
2621
+ * The management team changed.
2622
+ **/
2623
+ TeamChanged: GenericPalletEvent<'Nfts', 'TeamChanged', {
2624
+ collection: number;
2625
+ issuer?: AccountId32 | undefined;
2626
+ admin?: AccountId32 | undefined;
2627
+ freezer?: AccountId32 | undefined;
2628
+ }>;
2629
+ /**
2630
+ * An `item` of a `collection` has been approved by the `owner` for transfer by
2631
+ * a `delegate`.
2632
+ **/
2633
+ TransferApproved: GenericPalletEvent<'Nfts', 'TransferApproved', {
2634
+ collection: number;
2635
+ item: number;
2636
+ owner: AccountId32;
2637
+ delegate: AccountId32;
2638
+ deadline?: number | undefined;
2639
+ }>;
2640
+ /**
2641
+ * An approval for a `delegate` account to transfer the `item` of an item
2642
+ * `collection` was cancelled by its `owner`.
2643
+ **/
2644
+ ApprovalCancelled: GenericPalletEvent<'Nfts', 'ApprovalCancelled', {
2645
+ collection: number;
2646
+ item: number;
2647
+ owner: AccountId32;
2648
+ delegate: AccountId32;
2649
+ }>;
2650
+ /**
2651
+ * All approvals of an item got cancelled.
2652
+ **/
2653
+ AllApprovalsCancelled: GenericPalletEvent<'Nfts', 'AllApprovalsCancelled', {
2654
+ collection: number;
2655
+ item: number;
2656
+ owner: AccountId32;
2657
+ }>;
2658
+ /**
2659
+ * A `collection` has had its config changed by the `Force` origin.
2660
+ **/
2661
+ CollectionConfigChanged: GenericPalletEvent<'Nfts', 'CollectionConfigChanged', {
2662
+ collection: number;
2663
+ }>;
2664
+ /**
2665
+ * New metadata has been set for a `collection`.
2666
+ **/
2667
+ CollectionMetadataSet: GenericPalletEvent<'Nfts', 'CollectionMetadataSet', {
2668
+ collection: number;
2669
+ data: Bytes;
2670
+ }>;
2671
+ /**
2672
+ * Metadata has been cleared for a `collection`.
2673
+ **/
2674
+ CollectionMetadataCleared: GenericPalletEvent<'Nfts', 'CollectionMetadataCleared', {
2675
+ collection: number;
2676
+ }>;
2677
+ /**
2678
+ * New metadata has been set for an item.
2679
+ **/
2680
+ ItemMetadataSet: GenericPalletEvent<'Nfts', 'ItemMetadataSet', {
2681
+ collection: number;
2682
+ item: number;
2683
+ data: Bytes;
2684
+ }>;
2685
+ /**
2686
+ * Metadata has been cleared for an item.
2687
+ **/
2688
+ ItemMetadataCleared: GenericPalletEvent<'Nfts', 'ItemMetadataCleared', {
2689
+ collection: number;
2690
+ item: number;
2691
+ }>;
2692
+ /**
2693
+ * The deposit for a set of `item`s within a `collection` has been updated.
2694
+ **/
2695
+ Redeposited: GenericPalletEvent<'Nfts', 'Redeposited', {
2696
+ collection: number;
2697
+ successfulItems: Array<number>;
2698
+ }>;
2699
+ /**
2700
+ * New attribute metadata has been set for a `collection` or `item`.
2701
+ **/
2702
+ AttributeSet: GenericPalletEvent<'Nfts', 'AttributeSet', {
2703
+ collection: number;
2704
+ maybeItem?: number | undefined;
2705
+ key: Bytes;
2706
+ value: Bytes;
2707
+ namespace: PalletNftsAttributeNamespace;
2708
+ }>;
2709
+ /**
2710
+ * Attribute metadata has been cleared for a `collection` or `item`.
2711
+ **/
2712
+ AttributeCleared: GenericPalletEvent<'Nfts', 'AttributeCleared', {
2713
+ collection: number;
2714
+ maybeItem?: number | undefined;
2715
+ key: Bytes;
2716
+ namespace: PalletNftsAttributeNamespace;
2717
+ }>;
2718
+ /**
2719
+ * A new approval to modify item attributes was added.
2720
+ **/
2721
+ ItemAttributesApprovalAdded: GenericPalletEvent<'Nfts', 'ItemAttributesApprovalAdded', {
2722
+ collection: number;
2723
+ item: number;
2724
+ delegate: AccountId32;
2725
+ }>;
2726
+ /**
2727
+ * A new approval to modify item attributes was removed.
2728
+ **/
2729
+ ItemAttributesApprovalRemoved: GenericPalletEvent<'Nfts', 'ItemAttributesApprovalRemoved', {
2730
+ collection: number;
2731
+ item: number;
2732
+ delegate: AccountId32;
2733
+ }>;
2734
+ /**
2735
+ * Ownership acceptance has changed for an account.
2736
+ **/
2737
+ OwnershipAcceptanceChanged: GenericPalletEvent<'Nfts', 'OwnershipAcceptanceChanged', {
2738
+ who: AccountId32;
2739
+ maybeCollection?: number | undefined;
2740
+ }>;
2741
+ /**
2742
+ * Max supply has been set for a collection.
2743
+ **/
2744
+ CollectionMaxSupplySet: GenericPalletEvent<'Nfts', 'CollectionMaxSupplySet', {
2745
+ collection: number;
2746
+ maxSupply: number;
2747
+ }>;
2748
+ /**
2749
+ * Mint settings for a collection had changed.
2750
+ **/
2751
+ CollectionMintSettingsUpdated: GenericPalletEvent<'Nfts', 'CollectionMintSettingsUpdated', {
2752
+ collection: number;
2753
+ }>;
2754
+ /**
2755
+ * Event gets emitted when the `NextCollectionId` gets incremented.
2756
+ **/
2757
+ NextCollectionIdIncremented: GenericPalletEvent<'Nfts', 'NextCollectionIdIncremented', {
2758
+ nextId?: number | undefined;
2759
+ }>;
2760
+ /**
2761
+ * The price was set for the item.
2762
+ **/
2763
+ ItemPriceSet: GenericPalletEvent<'Nfts', 'ItemPriceSet', {
2764
+ collection: number;
2765
+ item: number;
2766
+ price: bigint;
2767
+ whitelistedBuyer?: AccountId32 | undefined;
2768
+ }>;
2769
+ /**
2770
+ * The price for the item was removed.
2771
+ **/
2772
+ ItemPriceRemoved: GenericPalletEvent<'Nfts', 'ItemPriceRemoved', {
2773
+ collection: number;
2774
+ item: number;
2775
+ }>;
2776
+ /**
2777
+ * An item was bought.
2778
+ **/
2779
+ ItemBought: GenericPalletEvent<'Nfts', 'ItemBought', {
2780
+ collection: number;
2781
+ item: number;
2782
+ price: bigint;
2783
+ seller: AccountId32;
2784
+ buyer: AccountId32;
2785
+ }>;
2786
+ /**
2787
+ * A tip was sent.
2788
+ **/
2789
+ TipSent: GenericPalletEvent<'Nfts', 'TipSent', {
2790
+ collection: number;
2791
+ item: number;
2792
+ sender: AccountId32;
2793
+ receiver: AccountId32;
2794
+ amount: bigint;
2795
+ }>;
2796
+ /**
2797
+ * An `item` swap intent was created.
2798
+ **/
2799
+ SwapCreated: GenericPalletEvent<'Nfts', 'SwapCreated', {
2800
+ offeredCollection: number;
2801
+ offeredItem: number;
2802
+ desiredCollection: number;
2803
+ desiredItem?: number | undefined;
2804
+ price?: PalletNftsPriceWithDirection | undefined;
2805
+ deadline: number;
2806
+ }>;
2807
+ /**
2808
+ * The swap was cancelled.
2809
+ **/
2810
+ SwapCancelled: GenericPalletEvent<'Nfts', 'SwapCancelled', {
2811
+ offeredCollection: number;
2812
+ offeredItem: number;
2813
+ desiredCollection: number;
2814
+ desiredItem?: number | undefined;
2815
+ price?: PalletNftsPriceWithDirection | undefined;
2816
+ deadline: number;
2817
+ }>;
2818
+ /**
2819
+ * The swap has been claimed.
2820
+ **/
2821
+ SwapClaimed: GenericPalletEvent<'Nfts', 'SwapClaimed', {
2822
+ sentCollection: number;
2823
+ sentItem: number;
2824
+ sentItemOwner: AccountId32;
2825
+ receivedCollection: number;
2826
+ receivedItem: number;
2827
+ receivedItemOwner: AccountId32;
2828
+ price?: PalletNftsPriceWithDirection | undefined;
2829
+ deadline: number;
2830
+ }>;
2831
+ /**
2832
+ * New attributes have been set for an `item` of the `collection`.
2833
+ **/
2834
+ PreSignedAttributesSet: GenericPalletEvent<'Nfts', 'PreSignedAttributesSet', {
2835
+ collection: number;
2836
+ item: number;
2837
+ namespace: PalletNftsAttributeNamespace;
2838
+ }>;
2839
+ /**
2840
+ * A new attribute in the `Pallet` namespace was set for the `collection` or an `item`
2841
+ * within that `collection`.
2842
+ **/
2843
+ PalletAttributeSet: GenericPalletEvent<'Nfts', 'PalletAttributeSet', {
2844
+ collection: number;
2845
+ item?: number | undefined;
2846
+ attribute: PalletNftsPalletAttributes;
2847
+ value: Bytes;
2848
+ }>;
2849
+ /**
2850
+ * Generic pallet event
2851
+ **/
2852
+ [prop: string]: GenericPalletEvent;
2853
+ };
2854
+ /**
2855
+ * Pallet `NftFractionalization`'s events
2856
+ **/
2857
+ nftFractionalization: {
2858
+ /**
2859
+ * An NFT was successfully fractionalized.
2860
+ **/
2861
+ NftFractionalized: GenericPalletEvent<'NftFractionalization', 'NftFractionalized', {
2862
+ nftCollection: number;
2863
+ nft: number;
2864
+ fractions: bigint;
2865
+ asset: number;
2866
+ beneficiary: AccountId32;
2867
+ }>;
2868
+ /**
2869
+ * An NFT was successfully returned back.
2870
+ **/
2871
+ NftUnified: GenericPalletEvent<'NftFractionalization', 'NftUnified', {
2872
+ nftCollection: number;
2873
+ nft: number;
2874
+ asset: number;
2875
+ beneficiary: AccountId32;
2876
+ }>;
2877
+ /**
2878
+ * Generic pallet event
2879
+ **/
2880
+ [prop: string]: GenericPalletEvent;
2881
+ };
2882
+ /**
2883
+ * Pallet `Salary`'s events
2884
+ **/
2885
+ salary: {
2886
+ /**
2887
+ * A member is inducted into the payroll.
2888
+ **/
2889
+ Inducted: GenericPalletEvent<'Salary', 'Inducted', {
2890
+ who: AccountId32;
2891
+ }>;
2892
+ /**
2893
+ * A member registered for a payout.
2894
+ **/
2895
+ Registered: GenericPalletEvent<'Salary', 'Registered', {
2896
+ who: AccountId32;
2897
+ amount: bigint;
2898
+ }>;
2899
+ /**
2900
+ * A payment happened.
2901
+ **/
2902
+ Paid: GenericPalletEvent<'Salary', 'Paid', {
2903
+ who: AccountId32;
2904
+ beneficiary: AccountId32;
2905
+ amount: bigint;
2906
+ id: [];
2907
+ }>;
2908
+ /**
2909
+ * The next cycle begins.
2910
+ **/
2911
+ CycleStarted: GenericPalletEvent<'Salary', 'CycleStarted', {
2912
+ index: number;
2913
+ }>;
2914
+ /**
2915
+ * Generic pallet event
2916
+ **/
2917
+ [prop: string]: GenericPalletEvent;
2918
+ };
2919
+ /**
2920
+ * Pallet `CoreFellowship`'s events
2921
+ **/
2922
+ coreFellowship: {
2923
+ /**
2924
+ * Parameters for the pallet have changed.
2925
+ **/
2926
+ ParamsChanged: GenericPalletEvent<'CoreFellowship', 'ParamsChanged', {
2927
+ params: PalletCoreFellowshipParamsType;
2928
+ }>;
2929
+ /**
2930
+ * Member activity flag has been set.
2931
+ **/
2932
+ ActiveChanged: GenericPalletEvent<'CoreFellowship', 'ActiveChanged', {
2933
+ who: AccountId32;
2934
+ isActive: boolean;
2935
+ }>;
2936
+ /**
2937
+ * Member has begun being tracked in this pallet.
2938
+ **/
2939
+ Inducted: GenericPalletEvent<'CoreFellowship', 'Inducted', {
2940
+ who: AccountId32;
2941
+ }>;
2942
+ /**
2943
+ * Member has been removed from being tracked in this pallet (i.e. because rank is now
2944
+ * zero).
2945
+ **/
2946
+ Offboarded: GenericPalletEvent<'CoreFellowship', 'Offboarded', {
2947
+ who: AccountId32;
2948
+ }>;
2949
+ /**
2950
+ * Member has been promoted to the given rank.
2951
+ **/
2952
+ Promoted: GenericPalletEvent<'CoreFellowship', 'Promoted', {
2953
+ who: AccountId32;
2954
+ toRank: number;
2955
+ }>;
2956
+ /**
2957
+ * Member has been demoted to the given (non-zero) rank.
2958
+ **/
2959
+ Demoted: GenericPalletEvent<'CoreFellowship', 'Demoted', {
2960
+ who: AccountId32;
2961
+ toRank: number;
2962
+ }>;
2963
+ /**
2964
+ * Member has been proven at their current rank, postponing auto-demotion.
2965
+ **/
2966
+ Proven: GenericPalletEvent<'CoreFellowship', 'Proven', {
2967
+ who: AccountId32;
2968
+ atRank: number;
2969
+ }>;
2970
+ /**
2971
+ * Member has stated evidence of their efforts their request for rank.
2972
+ **/
2973
+ Requested: GenericPalletEvent<'CoreFellowship', 'Requested', {
2974
+ who: AccountId32;
2975
+ wish: PalletCoreFellowshipWish;
2976
+ }>;
2977
+ /**
2978
+ * Some submitted evidence was judged and removed. There may or may not have been a change
2979
+ * to the rank, but in any case, `last_proof` is reset.
2980
+ **/
2981
+ EvidenceJudged: GenericPalletEvent<'CoreFellowship', 'EvidenceJudged', {
2982
+ /**
2983
+ * The member/candidate.
2984
+ **/
2985
+ who: AccountId32;
2986
+ /**
2987
+ * The desired outcome for which the evidence was presented.
2988
+ **/
2989
+ wish: PalletCoreFellowshipWish;
2990
+ /**
2991
+ * The evidence of efforts.
2992
+ **/
2993
+ evidence: Bytes;
2994
+ /**
2995
+ * The old rank, prior to this change.
2996
+ **/
2997
+ oldRank: number;
2998
+ /**
2999
+ * New rank. If `None` then candidate record was removed entirely.
3000
+ **/
3001
+ newRank?: number | undefined;
3002
+ }>;
3003
+ /**
3004
+ * Pre-ranked account has been inducted at their current rank.
3005
+ **/
3006
+ Imported: GenericPalletEvent<'CoreFellowship', 'Imported', {
3007
+ who: AccountId32;
3008
+ rank: number;
3009
+ }>;
3010
+ /**
3011
+ * Generic pallet event
3012
+ **/
3013
+ [prop: string]: GenericPalletEvent;
3014
+ };
3015
+ /**
3016
+ * Pallet `TransactionStorage`'s events
3017
+ **/
3018
+ transactionStorage: {
3019
+ /**
3020
+ * Stored data under specified index.
3021
+ **/
3022
+ Stored: GenericPalletEvent<'TransactionStorage', 'Stored', {
3023
+ index: number;
3024
+ }>;
3025
+ /**
3026
+ * Renewed data under specified index.
3027
+ **/
3028
+ Renewed: GenericPalletEvent<'TransactionStorage', 'Renewed', {
3029
+ index: number;
3030
+ }>;
3031
+ /**
3032
+ * Storage proof was successfully checked.
3033
+ **/
3034
+ ProofChecked: GenericPalletEvent<'TransactionStorage', 'ProofChecked', null>;
3035
+ /**
3036
+ * Generic pallet event
3037
+ **/
3038
+ [prop: string]: GenericPalletEvent;
3039
+ };
3040
+ /**
3041
+ * Pallet `VoterList`'s events
3042
+ **/
3043
+ voterList: {
3044
+ /**
3045
+ * Moved an account from one bag to another.
3046
+ **/
3047
+ Rebagged: GenericPalletEvent<'VoterList', 'Rebagged', {
3048
+ who: AccountId32;
3049
+ from: bigint;
3050
+ to: bigint;
3051
+ }>;
3052
+ /**
3053
+ * Updated the score of some account to the given amount.
3054
+ **/
3055
+ ScoreUpdated: GenericPalletEvent<'VoterList', 'ScoreUpdated', {
3056
+ who: AccountId32;
3057
+ newScore: bigint;
3058
+ }>;
3059
+ /**
3060
+ * Generic pallet event
3061
+ **/
3062
+ [prop: string]: GenericPalletEvent;
3063
+ };
3064
+ /**
3065
+ * Pallet `StateTrieMigration`'s events
3066
+ **/
3067
+ stateTrieMigration: {
3068
+ /**
3069
+ * Given number of `(top, child)` keys were migrated respectively, with the given
3070
+ * `compute`.
3071
+ **/
3072
+ Migrated: GenericPalletEvent<'StateTrieMigration', 'Migrated', {
3073
+ top: number;
3074
+ child: number;
3075
+ compute: PalletStateTrieMigrationMigrationCompute;
3076
+ }>;
3077
+ /**
3078
+ * Some account got slashed by the given amount.
3079
+ **/
3080
+ Slashed: GenericPalletEvent<'StateTrieMigration', 'Slashed', {
3081
+ who: AccountId32;
3082
+ amount: bigint;
3083
+ }>;
3084
+ /**
3085
+ * The auto migration task finished.
3086
+ **/
3087
+ AutoMigrationFinished: GenericPalletEvent<'StateTrieMigration', 'AutoMigrationFinished', null>;
3088
+ /**
3089
+ * Migration got halted due to an error or miss-configuration.
3090
+ **/
3091
+ Halted: GenericPalletEvent<'StateTrieMigration', 'Halted', {
3092
+ error: PalletStateTrieMigrationError;
3093
+ }>;
3094
+ /**
3095
+ * Generic pallet event
3096
+ **/
3097
+ [prop: string]: GenericPalletEvent;
3098
+ };
3099
+ /**
3100
+ * Pallet `ChildBounties`'s events
3101
+ **/
3102
+ childBounties: {
3103
+ /**
3104
+ * A child-bounty is added.
3105
+ **/
3106
+ Added: GenericPalletEvent<'ChildBounties', 'Added', {
3107
+ index: number;
3108
+ childIndex: number;
3109
+ }>;
3110
+ /**
3111
+ * A child-bounty is awarded to a beneficiary.
3112
+ **/
3113
+ Awarded: GenericPalletEvent<'ChildBounties', 'Awarded', {
3114
+ index: number;
3115
+ childIndex: number;
3116
+ beneficiary: AccountId32;
3117
+ }>;
3118
+ /**
3119
+ * A child-bounty is claimed by beneficiary.
3120
+ **/
3121
+ Claimed: GenericPalletEvent<'ChildBounties', 'Claimed', {
3122
+ index: number;
3123
+ childIndex: number;
3124
+ payout: bigint;
3125
+ beneficiary: AccountId32;
3126
+ }>;
3127
+ /**
3128
+ * A child-bounty is cancelled.
3129
+ **/
3130
+ Canceled: GenericPalletEvent<'ChildBounties', 'Canceled', {
3131
+ index: number;
3132
+ childIndex: number;
3133
+ }>;
3134
+ /**
3135
+ * Generic pallet event
3136
+ **/
3137
+ [prop: string]: GenericPalletEvent;
3138
+ };
3139
+ /**
3140
+ * Pallet `Referenda`'s events
3141
+ **/
3142
+ referenda: {
3143
+ /**
3144
+ * A referendum has been submitted.
3145
+ **/
3146
+ Submitted: GenericPalletEvent<'Referenda', 'Submitted', {
3147
+ /**
3148
+ * Index of the referendum.
3149
+ **/
3150
+ index: number;
3151
+ /**
3152
+ * The track (and by extension proposal dispatch origin) of this referendum.
3153
+ **/
3154
+ track: number;
3155
+ /**
3156
+ * The proposal for the referendum.
3157
+ **/
3158
+ proposal: FrameSupportPreimagesBounded;
3159
+ }>;
3160
+ /**
3161
+ * The decision deposit has been placed.
3162
+ **/
3163
+ DecisionDepositPlaced: GenericPalletEvent<'Referenda', 'DecisionDepositPlaced', {
3164
+ /**
3165
+ * Index of the referendum.
3166
+ **/
3167
+ index: number;
3168
+ /**
3169
+ * The account who placed the deposit.
3170
+ **/
3171
+ who: AccountId32;
3172
+ /**
3173
+ * The amount placed by the account.
3174
+ **/
3175
+ amount: bigint;
3176
+ }>;
3177
+ /**
3178
+ * The decision deposit has been refunded.
3179
+ **/
3180
+ DecisionDepositRefunded: GenericPalletEvent<'Referenda', 'DecisionDepositRefunded', {
3181
+ /**
3182
+ * Index of the referendum.
3183
+ **/
3184
+ index: number;
3185
+ /**
3186
+ * The account who placed the deposit.
3187
+ **/
3188
+ who: AccountId32;
3189
+ /**
3190
+ * The amount placed by the account.
3191
+ **/
3192
+ amount: bigint;
3193
+ }>;
3194
+ /**
3195
+ * A deposit has been slashaed.
3196
+ **/
3197
+ DepositSlashed: GenericPalletEvent<'Referenda', 'DepositSlashed', {
3198
+ /**
3199
+ * The account who placed the deposit.
3200
+ **/
3201
+ who: AccountId32;
3202
+ /**
3203
+ * The amount placed by the account.
3204
+ **/
3205
+ amount: bigint;
3206
+ }>;
3207
+ /**
3208
+ * A referendum has moved into the deciding phase.
3209
+ **/
3210
+ DecisionStarted: GenericPalletEvent<'Referenda', 'DecisionStarted', {
3211
+ /**
3212
+ * Index of the referendum.
3213
+ **/
3214
+ index: number;
3215
+ /**
3216
+ * The track (and by extension proposal dispatch origin) of this referendum.
3217
+ **/
3218
+ track: number;
3219
+ /**
3220
+ * The proposal for the referendum.
3221
+ **/
3222
+ proposal: FrameSupportPreimagesBounded;
3223
+ /**
3224
+ * The current tally of votes in this referendum.
3225
+ **/
3226
+ tally: PalletConvictionVotingTally;
3227
+ }>;
3228
+ ConfirmStarted: GenericPalletEvent<'Referenda', 'ConfirmStarted', {
3229
+ /**
3230
+ * Index of the referendum.
3231
+ **/
3232
+ index: number;
3233
+ }>;
3234
+ ConfirmAborted: GenericPalletEvent<'Referenda', 'ConfirmAborted', {
3235
+ /**
3236
+ * Index of the referendum.
3237
+ **/
3238
+ index: number;
3239
+ }>;
3240
+ /**
3241
+ * A referendum has ended its confirmation phase and is ready for approval.
3242
+ **/
3243
+ Confirmed: GenericPalletEvent<'Referenda', 'Confirmed', {
3244
+ /**
3245
+ * Index of the referendum.
3246
+ **/
3247
+ index: number;
3248
+ /**
3249
+ * The final tally of votes in this referendum.
3250
+ **/
3251
+ tally: PalletConvictionVotingTally;
3252
+ }>;
3253
+ /**
3254
+ * A referendum has been approved and its proposal has been scheduled.
3255
+ **/
3256
+ Approved: GenericPalletEvent<'Referenda', 'Approved', {
3257
+ /**
3258
+ * Index of the referendum.
3259
+ **/
3260
+ index: number;
3261
+ }>;
3262
+ /**
3263
+ * A proposal has been rejected by referendum.
3264
+ **/
3265
+ Rejected: GenericPalletEvent<'Referenda', 'Rejected', {
3266
+ /**
3267
+ * Index of the referendum.
3268
+ **/
3269
+ index: number;
3270
+ /**
3271
+ * The final tally of votes in this referendum.
3272
+ **/
3273
+ tally: PalletConvictionVotingTally;
3274
+ }>;
3275
+ /**
3276
+ * A referendum has been timed out without being decided.
3277
+ **/
3278
+ TimedOut: GenericPalletEvent<'Referenda', 'TimedOut', {
3279
+ /**
3280
+ * Index of the referendum.
3281
+ **/
3282
+ index: number;
3283
+ /**
3284
+ * The final tally of votes in this referendum.
3285
+ **/
3286
+ tally: PalletConvictionVotingTally;
3287
+ }>;
3288
+ /**
3289
+ * A referendum has been cancelled.
3290
+ **/
3291
+ Cancelled: GenericPalletEvent<'Referenda', 'Cancelled', {
3292
+ /**
3293
+ * Index of the referendum.
3294
+ **/
3295
+ index: number;
3296
+ /**
3297
+ * The final tally of votes in this referendum.
3298
+ **/
3299
+ tally: PalletConvictionVotingTally;
3300
+ }>;
3301
+ /**
3302
+ * A referendum has been killed.
3303
+ **/
3304
+ Killed: GenericPalletEvent<'Referenda', 'Killed', {
3305
+ /**
3306
+ * Index of the referendum.
3307
+ **/
3308
+ index: number;
3309
+ /**
3310
+ * The final tally of votes in this referendum.
3311
+ **/
3312
+ tally: PalletConvictionVotingTally;
3313
+ }>;
3314
+ /**
3315
+ * The submission deposit has been refunded.
3316
+ **/
3317
+ SubmissionDepositRefunded: GenericPalletEvent<'Referenda', 'SubmissionDepositRefunded', {
3318
+ /**
3319
+ * Index of the referendum.
3320
+ **/
3321
+ index: number;
3322
+ /**
3323
+ * The account who placed the deposit.
3324
+ **/
3325
+ who: AccountId32;
3326
+ /**
3327
+ * The amount placed by the account.
3328
+ **/
3329
+ amount: bigint;
3330
+ }>;
3331
+ /**
3332
+ * Metadata for a referendum has been set.
3333
+ **/
3334
+ MetadataSet: GenericPalletEvent<'Referenda', 'MetadataSet', {
3335
+ /**
3336
+ * Index of the referendum.
3337
+ **/
3338
+ index: number;
3339
+ /**
3340
+ * Preimage hash.
3341
+ **/
3342
+ hash: H256;
3343
+ }>;
3344
+ /**
3345
+ * Metadata for a referendum has been cleared.
3346
+ **/
3347
+ MetadataCleared: GenericPalletEvent<'Referenda', 'MetadataCleared', {
3348
+ /**
3349
+ * Index of the referendum.
3350
+ **/
3351
+ index: number;
3352
+ /**
3353
+ * Preimage hash.
3354
+ **/
3355
+ hash: H256;
3356
+ }>;
3357
+ /**
3358
+ * Generic pallet event
3359
+ **/
3360
+ [prop: string]: GenericPalletEvent;
3361
+ };
3362
+ /**
3363
+ * Pallet `Remark`'s events
3364
+ **/
3365
+ remark: {
3366
+ /**
3367
+ * Stored data off chain.
3368
+ **/
3369
+ Stored: GenericPalletEvent<'Remark', 'Stored', {
3370
+ sender: AccountId32;
3371
+ contentHash: H256;
3372
+ }>;
3373
+ /**
3374
+ * Generic pallet event
3375
+ **/
3376
+ [prop: string]: GenericPalletEvent;
3377
+ };
3378
+ /**
3379
+ * Pallet `ConvictionVoting`'s events
3380
+ **/
3381
+ convictionVoting: {
3382
+ /**
3383
+ * An account has delegated their vote to another account. \[who, target\]
3384
+ **/
3385
+ Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
3386
+ /**
3387
+ * An \[account\] has cancelled a previous delegation operation.
3388
+ **/
3389
+ Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
3390
+ /**
3391
+ * Generic pallet event
3392
+ **/
3393
+ [prop: string]: GenericPalletEvent;
3394
+ };
3395
+ /**
3396
+ * Pallet `Whitelist`'s events
3397
+ **/
3398
+ whitelist: {
3399
+ CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', {
3400
+ callHash: H256;
3401
+ }>;
3402
+ WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', {
3403
+ callHash: H256;
3404
+ }>;
3405
+ WhitelistedCallDispatched: GenericPalletEvent<'Whitelist', 'WhitelistedCallDispatched', {
3406
+ callHash: H256;
3407
+ result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
3408
+ }>;
3409
+ /**
3410
+ * Generic pallet event
3411
+ **/
3412
+ [prop: string]: GenericPalletEvent;
3413
+ };
3414
+ /**
3415
+ * Pallet `AllianceMotion`'s events
3416
+ **/
3417
+ allianceMotion: {
3418
+ /**
3419
+ * A motion (given hash) has been proposed (by given account) with a threshold (given
3420
+ * `MemberCount`).
3421
+ **/
3422
+ Proposed: GenericPalletEvent<'AllianceMotion', 'Proposed', {
3423
+ account: AccountId32;
3424
+ proposalIndex: number;
3425
+ proposalHash: H256;
3426
+ threshold: number;
3427
+ }>;
3428
+ /**
3429
+ * A motion (given hash) has been voted on by given account, leaving
3430
+ * a tally (yes votes and no votes given respectively as `MemberCount`).
3431
+ **/
3432
+ Voted: GenericPalletEvent<'AllianceMotion', 'Voted', {
3433
+ account: AccountId32;
3434
+ proposalHash: H256;
3435
+ voted: boolean;
3436
+ yes: number;
3437
+ no: number;
3438
+ }>;
3439
+ /**
3440
+ * A motion was approved by the required threshold.
3441
+ **/
3442
+ Approved: GenericPalletEvent<'AllianceMotion', 'Approved', {
3443
+ proposalHash: H256;
3444
+ }>;
3445
+ /**
3446
+ * A motion was not approved by the required threshold.
3447
+ **/
3448
+ Disapproved: GenericPalletEvent<'AllianceMotion', 'Disapproved', {
3449
+ proposalHash: H256;
3450
+ }>;
3451
+ /**
3452
+ * A motion was executed; result will be `Ok` if it returned without error.
3453
+ **/
3454
+ Executed: GenericPalletEvent<'AllianceMotion', 'Executed', {
3455
+ proposalHash: H256;
3456
+ result: Result<[], DispatchError>;
3457
+ }>;
3458
+ /**
3459
+ * A single member did some action; result will be `Ok` if it returned without error.
3460
+ **/
3461
+ MemberExecuted: GenericPalletEvent<'AllianceMotion', 'MemberExecuted', {
3462
+ proposalHash: H256;
3463
+ result: Result<[], DispatchError>;
3464
+ }>;
3465
+ /**
3466
+ * A proposal was closed because its threshold was reached or after its duration was up.
3467
+ **/
3468
+ Closed: GenericPalletEvent<'AllianceMotion', 'Closed', {
3469
+ proposalHash: H256;
3470
+ yes: number;
3471
+ no: number;
3472
+ }>;
3473
+ /**
3474
+ * Generic pallet event
3475
+ **/
3476
+ [prop: string]: GenericPalletEvent;
3477
+ };
3478
+ /**
3479
+ * Pallet `Alliance`'s events
3480
+ **/
3481
+ alliance: {
3482
+ /**
3483
+ * A new rule has been set.
3484
+ **/
3485
+ NewRuleSet: GenericPalletEvent<'Alliance', 'NewRuleSet', {
3486
+ rule: PalletAllianceCid;
3487
+ }>;
3488
+ /**
3489
+ * A new announcement has been proposed.
3490
+ **/
3491
+ Announced: GenericPalletEvent<'Alliance', 'Announced', {
3492
+ announcement: PalletAllianceCid;
3493
+ }>;
3494
+ /**
3495
+ * An on-chain announcement has been removed.
3496
+ **/
3497
+ AnnouncementRemoved: GenericPalletEvent<'Alliance', 'AnnouncementRemoved', {
3498
+ announcement: PalletAllianceCid;
3499
+ }>;
3500
+ /**
3501
+ * Some accounts have been initialized as members (fellows/allies).
3502
+ **/
3503
+ MembersInitialized: GenericPalletEvent<'Alliance', 'MembersInitialized', {
3504
+ fellows: Array<AccountId32>;
3505
+ allies: Array<AccountId32>;
3506
+ }>;
3507
+ /**
3508
+ * An account has been added as an Ally and reserved its deposit.
3509
+ **/
3510
+ NewAllyJoined: GenericPalletEvent<'Alliance', 'NewAllyJoined', {
3511
+ ally: AccountId32;
3512
+ nominator?: AccountId32 | undefined;
3513
+ reserved?: bigint | undefined;
3514
+ }>;
3515
+ /**
3516
+ * An ally has been elevated to Fellow.
3517
+ **/
3518
+ AllyElevated: GenericPalletEvent<'Alliance', 'AllyElevated', {
3519
+ ally: AccountId32;
3520
+ }>;
3521
+ /**
3522
+ * A member gave retirement notice and their retirement period started.
3523
+ **/
3524
+ MemberRetirementPeriodStarted: GenericPalletEvent<'Alliance', 'MemberRetirementPeriodStarted', {
3525
+ member: AccountId32;
3526
+ }>;
3527
+ /**
3528
+ * A member has retired with its deposit unreserved.
3529
+ **/
3530
+ MemberRetired: GenericPalletEvent<'Alliance', 'MemberRetired', {
3531
+ member: AccountId32;
3532
+ unreserved?: bigint | undefined;
3533
+ }>;
3534
+ /**
3535
+ * A member has been kicked out with its deposit slashed.
3536
+ **/
3537
+ MemberKicked: GenericPalletEvent<'Alliance', 'MemberKicked', {
3538
+ member: AccountId32;
3539
+ slashed?: bigint | undefined;
3540
+ }>;
3541
+ /**
3542
+ * Accounts or websites have been added into the list of unscrupulous items.
3543
+ **/
3544
+ UnscrupulousItemAdded: GenericPalletEvent<'Alliance', 'UnscrupulousItemAdded', {
3545
+ items: Array<PalletAllianceUnscrupulousItem>;
3546
+ }>;
3547
+ /**
3548
+ * Accounts or websites have been removed from the list of unscrupulous items.
3549
+ **/
3550
+ UnscrupulousItemRemoved: GenericPalletEvent<'Alliance', 'UnscrupulousItemRemoved', {
3551
+ items: Array<PalletAllianceUnscrupulousItem>;
3552
+ }>;
3553
+ /**
3554
+ * Alliance disbanded. Includes number deleted members and unreserved deposits.
3555
+ **/
3556
+ AllianceDisbanded: GenericPalletEvent<'Alliance', 'AllianceDisbanded', {
3557
+ fellowMembers: number;
3558
+ allyMembers: number;
3559
+ unreserved: number;
3560
+ }>;
3561
+ /**
3562
+ * A Fellow abdicated their voting rights. They are now an Ally.
3563
+ **/
3564
+ FellowAbdicated: GenericPalletEvent<'Alliance', 'FellowAbdicated', {
3565
+ fellow: AccountId32;
3566
+ }>;
3567
+ /**
3568
+ * Generic pallet event
3569
+ **/
3570
+ [prop: string]: GenericPalletEvent;
3571
+ };
3572
+ /**
3573
+ * Pallet `NominationPools`'s events
3574
+ **/
3575
+ nominationPools: {
3576
+ /**
3577
+ * A pool has been created.
3578
+ **/
3579
+ Created: GenericPalletEvent<'NominationPools', 'Created', {
3580
+ depositor: AccountId32;
3581
+ poolId: number;
3582
+ }>;
3583
+ /**
3584
+ * A member has became bonded in a pool.
3585
+ **/
3586
+ Bonded: GenericPalletEvent<'NominationPools', 'Bonded', {
3587
+ member: AccountId32;
3588
+ poolId: number;
3589
+ bonded: bigint;
3590
+ joined: boolean;
3591
+ }>;
3592
+ /**
3593
+ * A payout has been made to a member.
3594
+ **/
3595
+ PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', {
3596
+ member: AccountId32;
3597
+ poolId: number;
3598
+ payout: bigint;
3599
+ }>;
3600
+ /**
3601
+ * A member has unbonded from their pool.
3602
+ *
3603
+ * - `balance` is the corresponding balance of the number of points that has been
3604
+ * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
3605
+ * pool.
3606
+ * - `points` is the number of points that are issued as a result of `balance` being
3607
+ * dissolved into the corresponding unbonding pool.
3608
+ * - `era` is the era in which the balance will be unbonded.
3609
+ * In the absence of slashing, these values will match. In the presence of slashing, the
3610
+ * number of points that are issued in the unbonding pool will be less than the amount
3611
+ * requested to be unbonded.
3612
+ **/
3613
+ Unbonded: GenericPalletEvent<'NominationPools', 'Unbonded', {
3614
+ member: AccountId32;
3615
+ poolId: number;
3616
+ balance: bigint;
3617
+ points: bigint;
3618
+ era: number;
3619
+ }>;
3620
+ /**
3621
+ * A member has withdrawn from their pool.
3622
+ *
3623
+ * The given number of `points` have been dissolved in return of `balance`.
3624
+ *
3625
+ * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
3626
+ * will be 1.
3627
+ **/
3628
+ Withdrawn: GenericPalletEvent<'NominationPools', 'Withdrawn', {
3629
+ member: AccountId32;
3630
+ poolId: number;
3631
+ balance: bigint;
3632
+ points: bigint;
3633
+ }>;
3634
+ /**
3635
+ * A pool has been destroyed.
3636
+ **/
3637
+ Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', {
3638
+ poolId: number;
3639
+ }>;
3640
+ /**
3641
+ * The state of a pool has changed
3642
+ **/
3643
+ StateChanged: GenericPalletEvent<'NominationPools', 'StateChanged', {
3644
+ poolId: number;
3645
+ newState: PalletNominationPoolsPoolState;
3646
+ }>;
3647
+ /**
3648
+ * A member has been removed from a pool.
3649
+ *
3650
+ * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
3651
+ **/
3652
+ MemberRemoved: GenericPalletEvent<'NominationPools', 'MemberRemoved', {
3653
+ poolId: number;
3654
+ member: AccountId32;
3655
+ }>;
3656
+ /**
3657
+ * The roles of a pool have been updated to the given new roles. Note that the depositor
3658
+ * can never change.
3659
+ **/
3660
+ RolesUpdated: GenericPalletEvent<'NominationPools', 'RolesUpdated', {
3661
+ root?: AccountId32 | undefined;
3662
+ bouncer?: AccountId32 | undefined;
3663
+ nominator?: AccountId32 | undefined;
3664
+ }>;
3665
+ /**
3666
+ * The active balance of pool `pool_id` has been slashed to `balance`.
3667
+ **/
3668
+ PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', {
3669
+ poolId: number;
3670
+ balance: bigint;
3671
+ }>;
3672
+ /**
3673
+ * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
3674
+ **/
3675
+ UnbondingPoolSlashed: GenericPalletEvent<'NominationPools', 'UnbondingPoolSlashed', {
3676
+ poolId: number;
3677
+ era: number;
3678
+ balance: bigint;
3679
+ }>;
3680
+ /**
3681
+ * A pool's commission setting has been changed.
3682
+ **/
3683
+ PoolCommissionUpdated: GenericPalletEvent<'NominationPools', 'PoolCommissionUpdated', {
3684
+ poolId: number;
3685
+ current?: [Perbill, AccountId32] | undefined;
3686
+ }>;
3687
+ /**
3688
+ * A pool's maximum commission setting has been changed.
3689
+ **/
3690
+ PoolMaxCommissionUpdated: GenericPalletEvent<'NominationPools', 'PoolMaxCommissionUpdated', {
3691
+ poolId: number;
3692
+ maxCommission: Perbill;
3693
+ }>;
3694
+ /**
3695
+ * A pool's commission `change_rate` has been changed.
3696
+ **/
3697
+ PoolCommissionChangeRateUpdated: GenericPalletEvent<'NominationPools', 'PoolCommissionChangeRateUpdated', {
3698
+ poolId: number;
3699
+ changeRate: PalletNominationPoolsCommissionChangeRate;
3700
+ }>;
3701
+ /**
3702
+ * Pool commission has been claimed.
3703
+ **/
3704
+ PoolCommissionClaimed: GenericPalletEvent<'NominationPools', 'PoolCommissionClaimed', {
3705
+ poolId: number;
3706
+ commission: bigint;
3707
+ }>;
3708
+ /**
3709
+ * Generic pallet event
3710
+ **/
3711
+ [prop: string]: GenericPalletEvent;
3712
+ };
3713
+ /**
3714
+ * Pallet `RankedPolls`'s events
3715
+ **/
3716
+ rankedPolls: {
3717
+ /**
3718
+ * A referendum has been submitted.
3719
+ **/
3720
+ Submitted: GenericPalletEvent<'RankedPolls', 'Submitted', {
3721
+ /**
3722
+ * Index of the referendum.
3723
+ **/
3724
+ index: number;
3725
+ /**
3726
+ * The track (and by extension proposal dispatch origin) of this referendum.
3727
+ **/
3728
+ track: number;
3729
+ /**
3730
+ * The proposal for the referendum.
3731
+ **/
3732
+ proposal: FrameSupportPreimagesBounded;
3733
+ }>;
3734
+ /**
3735
+ * The decision deposit has been placed.
3736
+ **/
3737
+ DecisionDepositPlaced: GenericPalletEvent<'RankedPolls', 'DecisionDepositPlaced', {
3738
+ /**
3739
+ * Index of the referendum.
3740
+ **/
3741
+ index: number;
3742
+ /**
3743
+ * The account who placed the deposit.
3744
+ **/
3745
+ who: AccountId32;
3746
+ /**
3747
+ * The amount placed by the account.
3748
+ **/
3749
+ amount: bigint;
3750
+ }>;
3751
+ /**
3752
+ * The decision deposit has been refunded.
3753
+ **/
3754
+ DecisionDepositRefunded: GenericPalletEvent<'RankedPolls', 'DecisionDepositRefunded', {
3755
+ /**
3756
+ * Index of the referendum.
3757
+ **/
3758
+ index: number;
3759
+ /**
3760
+ * The account who placed the deposit.
3761
+ **/
3762
+ who: AccountId32;
3763
+ /**
3764
+ * The amount placed by the account.
3765
+ **/
3766
+ amount: bigint;
3767
+ }>;
3768
+ /**
3769
+ * A deposit has been slashaed.
3770
+ **/
3771
+ DepositSlashed: GenericPalletEvent<'RankedPolls', 'DepositSlashed', {
3772
+ /**
3773
+ * The account who placed the deposit.
3774
+ **/
3775
+ who: AccountId32;
3776
+ /**
3777
+ * The amount placed by the account.
3778
+ **/
3779
+ amount: bigint;
3780
+ }>;
3781
+ /**
3782
+ * A referendum has moved into the deciding phase.
3783
+ **/
3784
+ DecisionStarted: GenericPalletEvent<'RankedPolls', 'DecisionStarted', {
3785
+ /**
3786
+ * Index of the referendum.
3787
+ **/
3788
+ index: number;
3789
+ /**
3790
+ * The track (and by extension proposal dispatch origin) of this referendum.
3791
+ **/
3792
+ track: number;
3793
+ /**
3794
+ * The proposal for the referendum.
3795
+ **/
3796
+ proposal: FrameSupportPreimagesBounded;
3797
+ /**
3798
+ * The current tally of votes in this referendum.
3799
+ **/
3800
+ tally: PalletRankedCollectiveTally;
3801
+ }>;
3802
+ ConfirmStarted: GenericPalletEvent<'RankedPolls', 'ConfirmStarted', {
3803
+ /**
3804
+ * Index of the referendum.
3805
+ **/
3806
+ index: number;
3807
+ }>;
3808
+ ConfirmAborted: GenericPalletEvent<'RankedPolls', 'ConfirmAborted', {
3809
+ /**
3810
+ * Index of the referendum.
3811
+ **/
3812
+ index: number;
3813
+ }>;
3814
+ /**
3815
+ * A referendum has ended its confirmation phase and is ready for approval.
3816
+ **/
3817
+ Confirmed: GenericPalletEvent<'RankedPolls', 'Confirmed', {
3818
+ /**
3819
+ * Index of the referendum.
3820
+ **/
3821
+ index: number;
3822
+ /**
3823
+ * The final tally of votes in this referendum.
3824
+ **/
3825
+ tally: PalletRankedCollectiveTally;
3826
+ }>;
3827
+ /**
3828
+ * A referendum has been approved and its proposal has been scheduled.
3829
+ **/
3830
+ Approved: GenericPalletEvent<'RankedPolls', 'Approved', {
3831
+ /**
3832
+ * Index of the referendum.
3833
+ **/
3834
+ index: number;
3835
+ }>;
3836
+ /**
3837
+ * A proposal has been rejected by referendum.
3838
+ **/
3839
+ Rejected: GenericPalletEvent<'RankedPolls', 'Rejected', {
3840
+ /**
3841
+ * Index of the referendum.
3842
+ **/
3843
+ index: number;
3844
+ /**
3845
+ * The final tally of votes in this referendum.
3846
+ **/
3847
+ tally: PalletRankedCollectiveTally;
3848
+ }>;
3849
+ /**
3850
+ * A referendum has been timed out without being decided.
3851
+ **/
3852
+ TimedOut: GenericPalletEvent<'RankedPolls', 'TimedOut', {
3853
+ /**
3854
+ * Index of the referendum.
3855
+ **/
3856
+ index: number;
3857
+ /**
3858
+ * The final tally of votes in this referendum.
3859
+ **/
3860
+ tally: PalletRankedCollectiveTally;
3861
+ }>;
3862
+ /**
3863
+ * A referendum has been cancelled.
3864
+ **/
3865
+ Cancelled: GenericPalletEvent<'RankedPolls', 'Cancelled', {
3866
+ /**
3867
+ * Index of the referendum.
3868
+ **/
3869
+ index: number;
3870
+ /**
3871
+ * The final tally of votes in this referendum.
3872
+ **/
3873
+ tally: PalletRankedCollectiveTally;
3874
+ }>;
3875
+ /**
3876
+ * A referendum has been killed.
3877
+ **/
3878
+ Killed: GenericPalletEvent<'RankedPolls', 'Killed', {
3879
+ /**
3880
+ * Index of the referendum.
3881
+ **/
3882
+ index: number;
3883
+ /**
3884
+ * The final tally of votes in this referendum.
3885
+ **/
3886
+ tally: PalletRankedCollectiveTally;
3887
+ }>;
3888
+ /**
3889
+ * The submission deposit has been refunded.
3890
+ **/
3891
+ SubmissionDepositRefunded: GenericPalletEvent<'RankedPolls', 'SubmissionDepositRefunded', {
3892
+ /**
3893
+ * Index of the referendum.
3894
+ **/
3895
+ index: number;
3896
+ /**
3897
+ * The account who placed the deposit.
3898
+ **/
3899
+ who: AccountId32;
3900
+ /**
3901
+ * The amount placed by the account.
3902
+ **/
3903
+ amount: bigint;
3904
+ }>;
3905
+ /**
3906
+ * Metadata for a referendum has been set.
3907
+ **/
3908
+ MetadataSet: GenericPalletEvent<'RankedPolls', 'MetadataSet', {
3909
+ /**
3910
+ * Index of the referendum.
3911
+ **/
3912
+ index: number;
3913
+ /**
3914
+ * Preimage hash.
3915
+ **/
3916
+ hash: H256;
3917
+ }>;
3918
+ /**
3919
+ * Metadata for a referendum has been cleared.
3920
+ **/
3921
+ MetadataCleared: GenericPalletEvent<'RankedPolls', 'MetadataCleared', {
3922
+ /**
3923
+ * Index of the referendum.
3924
+ **/
3925
+ index: number;
3926
+ /**
3927
+ * Preimage hash.
3928
+ **/
3929
+ hash: H256;
3930
+ }>;
3931
+ /**
3932
+ * Generic pallet event
3933
+ **/
3934
+ [prop: string]: GenericPalletEvent;
3935
+ };
3936
+ /**
3937
+ * Pallet `RankedCollective`'s events
3938
+ **/
3939
+ rankedCollective: {
3940
+ /**
3941
+ * A member `who` has been added.
3942
+ **/
3943
+ MemberAdded: GenericPalletEvent<'RankedCollective', 'MemberAdded', {
3944
+ who: AccountId32;
3945
+ }>;
3946
+ /**
3947
+ * The member `who`se rank has been changed to the given `rank`.
3948
+ **/
3949
+ RankChanged: GenericPalletEvent<'RankedCollective', 'RankChanged', {
3950
+ who: AccountId32;
3951
+ rank: number;
3952
+ }>;
3953
+ /**
3954
+ * The member `who` of given `rank` has been removed from the collective.
3955
+ **/
3956
+ MemberRemoved: GenericPalletEvent<'RankedCollective', 'MemberRemoved', {
3957
+ who: AccountId32;
3958
+ rank: number;
3959
+ }>;
3960
+ /**
3961
+ * The member `who` has voted for the `poll` with the given `vote` leading to an updated
3962
+ * `tally`.
3963
+ **/
3964
+ Voted: GenericPalletEvent<'RankedCollective', 'Voted', {
3965
+ who: AccountId32;
3966
+ poll: number;
3967
+ vote: PalletRankedCollectiveVoteRecord;
3968
+ tally: PalletRankedCollectiveTally;
3969
+ }>;
3970
+ /**
3971
+ * Generic pallet event
3972
+ **/
3973
+ [prop: string]: GenericPalletEvent;
3974
+ };
3975
+ /**
3976
+ * Pallet `AssetConversion`'s events
3977
+ **/
3978
+ assetConversion: {
3979
+ /**
3980
+ * A successful call of the `CretaPool` extrinsic will create this event.
3981
+ **/
3982
+ PoolCreated: GenericPalletEvent<'AssetConversion', 'PoolCreated', {
3983
+ /**
3984
+ * The account that created the pool.
3985
+ **/
3986
+ creator: AccountId32;
3987
+ /**
3988
+ * The pool id associated with the pool. Note that the order of the assets may not be
3989
+ * the same as the order specified in the create pool extrinsic.
3990
+ **/
3991
+ poolId: [PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId];
3992
+ /**
3993
+ * The account ID of the pool.
3994
+ **/
3995
+ poolAccount: AccountId32;
3996
+ /**
3997
+ * The id of the liquidity tokens that will be minted when assets are added to this
3998
+ * pool.
3999
+ **/
4000
+ lpToken: number;
4001
+ }>;
4002
+ /**
4003
+ * A successful call of the `AddLiquidity` extrinsic will create this event.
4004
+ **/
4005
+ LiquidityAdded: GenericPalletEvent<'AssetConversion', 'LiquidityAdded', {
4006
+ /**
4007
+ * The account that the liquidity was taken from.
4008
+ **/
4009
+ who: AccountId32;
4010
+ /**
4011
+ * The account that the liquidity tokens were minted to.
4012
+ **/
4013
+ mintTo: AccountId32;
4014
+ /**
4015
+ * The pool id of the pool that the liquidity was added to.
4016
+ **/
4017
+ poolId: [PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId];
4018
+ /**
4019
+ * The amount of the first asset that was added to the pool.
4020
+ **/
4021
+ amount1Provided: bigint;
4022
+ /**
4023
+ * The amount of the second asset that was added to the pool.
4024
+ **/
4025
+ amount2Provided: bigint;
4026
+ /**
4027
+ * The id of the lp token that was minted.
4028
+ **/
4029
+ lpToken: number;
4030
+ /**
4031
+ * The amount of lp tokens that were minted of that id.
4032
+ **/
4033
+ lpTokenMinted: bigint;
4034
+ }>;
4035
+ /**
4036
+ * A successful call of the `RemoveLiquidity` extrinsic will create this event.
4037
+ **/
4038
+ LiquidityRemoved: GenericPalletEvent<'AssetConversion', 'LiquidityRemoved', {
4039
+ /**
4040
+ * The account that the liquidity tokens were burned from.
4041
+ **/
4042
+ who: AccountId32;
4043
+ /**
4044
+ * The account that the assets were transferred to.
4045
+ **/
4046
+ withdrawTo: AccountId32;
4047
+ /**
4048
+ * The pool id that the liquidity was removed from.
4049
+ **/
4050
+ poolId: [PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId];
4051
+ /**
4052
+ * The amount of the first asset that was removed from the pool.
4053
+ **/
4054
+ amount1: bigint;
4055
+ /**
4056
+ * The amount of the second asset that was removed from the pool.
4057
+ **/
4058
+ amount2: bigint;
4059
+ /**
4060
+ * The id of the lp token that was burned.
4061
+ **/
4062
+ lpToken: number;
4063
+ /**
4064
+ * The amount of lp tokens that were burned of that id.
4065
+ **/
4066
+ lpTokenBurned: bigint;
4067
+ /**
4068
+ * Liquidity withdrawal fee (%).
4069
+ **/
4070
+ withdrawalFee: Permill;
4071
+ }>;
4072
+ /**
4073
+ * Assets have been converted from one to another. Both `SwapExactTokenForToken`
4074
+ * and `SwapTokenForExactToken` will generate this event.
4075
+ **/
4076
+ SwapExecuted: GenericPalletEvent<'AssetConversion', 'SwapExecuted', {
4077
+ /**
4078
+ * Which account was the instigator of the swap.
4079
+ **/
4080
+ who: AccountId32;
4081
+ /**
4082
+ * The account that the assets were transferred to.
4083
+ **/
4084
+ sendTo: AccountId32;
4085
+ /**
4086
+ * The route of asset ids that the swap went through.
4087
+ * E.g. A -> Dot -> B
4088
+ **/
4089
+ path: Array<PalletAssetConversionNativeOrAssetId>;
4090
+ /**
4091
+ * The amount of the first asset that was swapped.
4092
+ **/
4093
+ amountIn: bigint;
4094
+ /**
4095
+ * The amount of the second asset that was received.
4096
+ **/
4097
+ amountOut: bigint;
4098
+ }>;
4099
+ /**
4100
+ * An amount has been transferred from one account to another.
4101
+ **/
4102
+ Transfer: GenericPalletEvent<'AssetConversion', 'Transfer', {
4103
+ /**
4104
+ * The account that the assets were transferred from.
4105
+ **/
4106
+ from: AccountId32;
4107
+ /**
4108
+ * The account that the assets were transferred to.
4109
+ **/
4110
+ to: AccountId32;
4111
+ /**
4112
+ * The asset that was transferred.
4113
+ **/
4114
+ asset: PalletAssetConversionNativeOrAssetId;
4115
+ /**
4116
+ * The amount of the asset that was transferred.
4117
+ **/
4118
+ amount: bigint;
4119
+ }>;
4120
+ /**
4121
+ * Generic pallet event
4122
+ **/
4123
+ [prop: string]: GenericPalletEvent;
4124
+ };
4125
+ /**
4126
+ * Pallet `FastUnstake`'s events
4127
+ **/
4128
+ fastUnstake: {
4129
+ /**
4130
+ * A staker was unstaked.
4131
+ **/
4132
+ Unstaked: GenericPalletEvent<'FastUnstake', 'Unstaked', {
4133
+ stash: AccountId32;
4134
+ result: Result<[], DispatchError>;
4135
+ }>;
4136
+ /**
4137
+ * A staker was slashed for requesting fast-unstake whilst being exposed.
4138
+ **/
4139
+ Slashed: GenericPalletEvent<'FastUnstake', 'Slashed', {
4140
+ stash: AccountId32;
4141
+ amount: bigint;
4142
+ }>;
4143
+ /**
4144
+ * A batch was partially checked for the given eras, but the process did not finish.
4145
+ **/
4146
+ BatchChecked: GenericPalletEvent<'FastUnstake', 'BatchChecked', {
4147
+ eras: Array<number>;
4148
+ }>;
4149
+ /**
4150
+ * A batch of a given size was terminated.
4151
+ *
4152
+ * This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
4153
+ * of the batch. A new batch will be created upon next block.
4154
+ **/
4155
+ BatchFinished: GenericPalletEvent<'FastUnstake', 'BatchFinished', {
4156
+ size: number;
4157
+ }>;
4158
+ /**
4159
+ * An internal error happened. Operations will be paused now.
4160
+ **/
4161
+ InternalError: GenericPalletEvent<'FastUnstake', 'InternalError', null>;
4162
+ /**
4163
+ * Generic pallet event
4164
+ **/
4165
+ [prop: string]: GenericPalletEvent;
4166
+ };
4167
+ /**
4168
+ * Pallet `MessageQueue`'s events
4169
+ **/
4170
+ messageQueue: {
4171
+ /**
4172
+ * Message discarded due to an error in the `MessageProcessor` (usually a format error).
4173
+ **/
4174
+ ProcessingFailed: GenericPalletEvent<'MessageQueue', 'ProcessingFailed', {
4175
+ id: FixedBytes<32>;
4176
+ origin: number;
4177
+ error: FrameSupportMessagesProcessMessageError;
4178
+ }>;
4179
+ /**
4180
+ * Message is processed.
4181
+ **/
4182
+ Processed: GenericPalletEvent<'MessageQueue', 'Processed', {
4183
+ id: FixedBytes<32>;
4184
+ origin: number;
4185
+ weightUsed: SpWeightsWeightV2Weight;
4186
+ success: boolean;
4187
+ }>;
4188
+ /**
4189
+ * Message placed in overweight queue.
4190
+ **/
4191
+ OverweightEnqueued: GenericPalletEvent<'MessageQueue', 'OverweightEnqueued', {
4192
+ id: FixedBytes<32>;
4193
+ origin: number;
4194
+ pageIndex: number;
4195
+ messageIndex: number;
4196
+ }>;
4197
+ /**
4198
+ * This page was reaped.
4199
+ **/
4200
+ PageReaped: GenericPalletEvent<'MessageQueue', 'PageReaped', {
4201
+ origin: number;
4202
+ index: number;
4203
+ }>;
4204
+ /**
4205
+ * Generic pallet event
4206
+ **/
4207
+ [prop: string]: GenericPalletEvent;
4208
+ };
4209
+ /**
4210
+ * Pallet `Pov`'s events
4211
+ **/
4212
+ pov: {
4213
+ TestEvent: GenericPalletEvent<'Pov', 'TestEvent', undefined>;
4214
+ /**
4215
+ * Generic pallet event
4216
+ **/
4217
+ [prop: string]: GenericPalletEvent;
4218
+ };
4219
+ /**
4220
+ * Pallet `TxPause`'s events
4221
+ **/
4222
+ txPause: {
4223
+ /**
4224
+ * This pallet, or a specific call is now paused.
4225
+ **/
4226
+ CallPaused: GenericPalletEvent<'TxPause', 'CallPaused', {
4227
+ fullName: [Bytes, Bytes];
4228
+ }>;
4229
+ /**
4230
+ * This pallet, or a specific call is now unpaused.
4231
+ **/
4232
+ CallUnpaused: GenericPalletEvent<'TxPause', 'CallUnpaused', {
4233
+ fullName: [Bytes, Bytes];
4234
+ }>;
4235
+ /**
4236
+ * Generic pallet event
4237
+ **/
4238
+ [prop: string]: GenericPalletEvent;
4239
+ };
4240
+ /**
4241
+ * Pallet `SafeMode`'s events
4242
+ **/
4243
+ safeMode: {
4244
+ /**
4245
+ * The safe-mode was entered until inclusively this block.
4246
+ **/
4247
+ Entered: GenericPalletEvent<'SafeMode', 'Entered', {
4248
+ until: number;
4249
+ }>;
4250
+ /**
4251
+ * The safe-mode was extended until inclusively this block.
4252
+ **/
4253
+ Extended: GenericPalletEvent<'SafeMode', 'Extended', {
4254
+ until: number;
4255
+ }>;
4256
+ /**
4257
+ * Exited the safe-mode for a specific reason.
4258
+ **/
4259
+ Exited: GenericPalletEvent<'SafeMode', 'Exited', {
4260
+ reason: PalletSafeModeExitReason;
4261
+ }>;
4262
+ /**
4263
+ * An account reserved funds for either entering or extending the safe-mode.
4264
+ **/
4265
+ DepositPlaced: GenericPalletEvent<'SafeMode', 'DepositPlaced', {
4266
+ account: AccountId32;
4267
+ amount: bigint;
4268
+ }>;
4269
+ /**
4270
+ * An account had a reserve released that was reserved.
4271
+ **/
4272
+ DepositReleased: GenericPalletEvent<'SafeMode', 'DepositReleased', {
4273
+ account: AccountId32;
4274
+ amount: bigint;
4275
+ }>;
4276
+ /**
4277
+ * An account had reserve slashed that was reserved.
4278
+ **/
4279
+ DepositSlashed: GenericPalletEvent<'SafeMode', 'DepositSlashed', {
4280
+ account: AccountId32;
4281
+ amount: bigint;
4282
+ }>;
4283
+ /**
4284
+ * Could not hold funds for entering or extending the safe-mode.
4285
+ *
4286
+ * This error comes from the underlying `Currency`.
4287
+ **/
4288
+ CannotDeposit: GenericPalletEvent<'SafeMode', 'CannotDeposit', null>;
4289
+ /**
4290
+ * Could not release funds for entering or extending the safe-mode.
4291
+ *
4292
+ * This error comes from the underlying `Currency`.
4293
+ **/
4294
+ CannotRelease: GenericPalletEvent<'SafeMode', 'CannotRelease', null>;
4295
+ /**
4296
+ * Generic pallet event
4297
+ **/
4298
+ [prop: string]: GenericPalletEvent;
4299
+ };
4300
+ /**
4301
+ * Pallet `Statement`'s events
4302
+ **/
4303
+ statement: {
4304
+ /**
4305
+ * A new statement is submitted
4306
+ **/
4307
+ NewStatement: GenericPalletEvent<'Statement', 'NewStatement', {
4308
+ account: AccountId32;
4309
+ statement: SpStatementStoreStatement;
4310
+ }>;
4311
+ /**
4312
+ * Generic pallet event
4313
+ **/
4314
+ [prop: string]: GenericPalletEvent;
4315
+ };
4316
+ /**
4317
+ * Pallet `Broker`'s events
4318
+ **/
4319
+ broker: {
4320
+ /**
4321
+ * A Region of Bulk Coretime has been purchased.
4322
+ **/
4323
+ Purchased: GenericPalletEvent<'Broker', 'Purchased', {
4324
+ /**
4325
+ * The identity of the purchaser.
4326
+ **/
4327
+ who: AccountId32;
4328
+ /**
4329
+ * The identity of the Region.
4330
+ **/
4331
+ regionId: PalletBrokerRegionId;
4332
+ /**
4333
+ * The price paid for this Region.
4334
+ **/
4335
+ price: bigint;
4336
+ /**
4337
+ * The duration of the Region.
4338
+ **/
4339
+ duration: number;
4340
+ }>;
4341
+ /**
4342
+ * The workload of a core has become renewable.
4343
+ **/
4344
+ Renewable: GenericPalletEvent<'Broker', 'Renewable', {
4345
+ /**
4346
+ * The core whose workload can be renewed.
4347
+ **/
4348
+ core: number;
4349
+ /**
4350
+ * The price at which the workload can be renewed.
4351
+ **/
4352
+ price: bigint;
4353
+ /**
4354
+ * The time at which the workload would recommence of this renewal. The call to renew
4355
+ * cannot happen before the beginning of the interlude prior to the sale for regions
4356
+ * which begin at this time.
4357
+ **/
4358
+ begin: number;
4359
+ /**
4360
+ * The actual workload which can be renewed.
4361
+ **/
4362
+ workload: Array<PalletBrokerScheduleItem>;
4363
+ }>;
4364
+ /**
4365
+ * A workload has been renewed.
4366
+ **/
4367
+ Renewed: GenericPalletEvent<'Broker', 'Renewed', {
4368
+ /**
4369
+ * The identity of the renewer.
4370
+ **/
4371
+ who: AccountId32;
4372
+ /**
4373
+ * The price paid for this renewal.
4374
+ **/
4375
+ price: bigint;
4376
+ /**
4377
+ * The index of the core on which the `workload` was previously scheduled.
4378
+ **/
4379
+ oldCore: number;
4380
+ /**
4381
+ * The index of the core on which the renewed `workload` has been scheduled.
4382
+ **/
4383
+ core: number;
4384
+ /**
4385
+ * The time at which the `workload` will begin on the `core`.
4386
+ **/
4387
+ begin: number;
4388
+ /**
4389
+ * The number of timeslices for which this `workload` is newly scheduled.
4390
+ **/
4391
+ duration: number;
4392
+ /**
4393
+ * The workload which was renewed.
4394
+ **/
4395
+ workload: Array<PalletBrokerScheduleItem>;
4396
+ }>;
4397
+ /**
4398
+ * Ownership of a Region has been transferred.
4399
+ **/
4400
+ Transferred: GenericPalletEvent<'Broker', 'Transferred', {
4401
+ /**
4402
+ * The Region which has been transferred.
4403
+ **/
4404
+ regionId: PalletBrokerRegionId;
4405
+ /**
4406
+ * The duration of the Region.
4407
+ **/
4408
+ duration: number;
4409
+ /**
4410
+ * The old owner of the Region.
4411
+ **/
4412
+ oldOwner: AccountId32;
4413
+ /**
4414
+ * The new owner of the Region.
4415
+ **/
4416
+ owner: AccountId32;
4417
+ }>;
4418
+ /**
4419
+ * A Region has been split into two non-overlapping Regions.
4420
+ **/
4421
+ Partitioned: GenericPalletEvent<'Broker', 'Partitioned', {
4422
+ /**
4423
+ * The Region which was split.
4424
+ **/
4425
+ oldRegionId: PalletBrokerRegionId;
4426
+ /**
4427
+ * The new Regions into which it became.
4428
+ **/
4429
+ newRegionIds: [PalletBrokerRegionId, PalletBrokerRegionId];
4430
+ }>;
4431
+ /**
4432
+ * A Region has been converted into two overlapping Regions each of lesser regularity.
4433
+ **/
4434
+ Interlaced: GenericPalletEvent<'Broker', 'Interlaced', {
4435
+ /**
4436
+ * The Region which was interlaced.
4437
+ **/
4438
+ oldRegionId: PalletBrokerRegionId;
4439
+ /**
4440
+ * The new Regions into which it became.
4441
+ **/
4442
+ newRegionIds: [PalletBrokerRegionId, PalletBrokerRegionId];
4443
+ }>;
4444
+ /**
4445
+ * A Region has been assigned to a particular task.
4446
+ **/
4447
+ Assigned: GenericPalletEvent<'Broker', 'Assigned', {
4448
+ /**
4449
+ * The Region which was assigned.
4450
+ **/
4451
+ regionId: PalletBrokerRegionId;
4452
+ /**
4453
+ * The duration of the assignment.
4454
+ **/
4455
+ duration: number;
4456
+ /**
4457
+ * The task to which the Region was assigned.
4458
+ **/
4459
+ task: number;
4460
+ }>;
4461
+ /**
4462
+ * A Region has been added to the Instantaneous Coretime Pool.
4463
+ **/
4464
+ Pooled: GenericPalletEvent<'Broker', 'Pooled', {
4465
+ /**
4466
+ * The Region which was added to the Instantaneous Coretime Pool.
4467
+ **/
4468
+ regionId: PalletBrokerRegionId;
4469
+ /**
4470
+ * The duration of the Region.
4471
+ **/
4472
+ duration: number;
4473
+ }>;
4474
+ /**
4475
+ * A new number of cores has been requested.
4476
+ **/
4477
+ CoreCountRequested: GenericPalletEvent<'Broker', 'CoreCountRequested', {
4478
+ /**
4479
+ * The number of cores requested.
4480
+ **/
4481
+ coreCount: number;
4482
+ }>;
4483
+ /**
4484
+ * The number of cores available for scheduling has changed.
4485
+ **/
4486
+ CoreCountChanged: GenericPalletEvent<'Broker', 'CoreCountChanged', {
4487
+ /**
4488
+ * The new number of cores available for scheduling.
4489
+ **/
4490
+ coreCount: number;
4491
+ }>;
4492
+ /**
4493
+ * There is a new reservation for a workload.
4494
+ **/
4495
+ ReservationMade: GenericPalletEvent<'Broker', 'ReservationMade', {
4496
+ /**
4497
+ * The index of the reservation.
4498
+ **/
4499
+ index: number;
4500
+ /**
4501
+ * The workload of the reservation.
4502
+ **/
4503
+ workload: Array<PalletBrokerScheduleItem>;
4504
+ }>;
4505
+ /**
4506
+ * A reservation for a workload has been cancelled.
4507
+ **/
4508
+ ReservationCancelled: GenericPalletEvent<'Broker', 'ReservationCancelled', {
4509
+ /**
4510
+ * The index of the reservation which was cancelled.
4511
+ **/
4512
+ index: number;
4513
+ /**
4514
+ * The workload of the now cancelled reservation.
4515
+ **/
4516
+ workload: Array<PalletBrokerScheduleItem>;
4517
+ }>;
4518
+ /**
4519
+ * A new sale has been initialized.
4520
+ **/
4521
+ SaleInitialized: GenericPalletEvent<'Broker', 'SaleInitialized', {
4522
+ /**
4523
+ * The local block number at which the sale will/did start.
4524
+ **/
4525
+ saleStart: number;
4526
+ /**
4527
+ * The length in blocks of the Leadin Period (where the price is decreasing).
4528
+ **/
4529
+ leadinLength: number;
4530
+ /**
4531
+ * The price of Bulk Coretime at the beginning of the Leadin Period.
4532
+ **/
4533
+ startPrice: bigint;
4534
+ /**
4535
+ * The price of Bulk Coretime after the Leadin Period.
4536
+ **/
4537
+ regularPrice: bigint;
4538
+ /**
4539
+ * The first timeslice of the Regions which are being sold in this sale.
4540
+ **/
4541
+ regionBegin: number;
4542
+ /**
4543
+ * The timeslice on which the Regions which are being sold in the sale terminate.
4544
+ * (i.e. One after the last timeslice which the Regions control.)
4545
+ **/
4546
+ regionEnd: number;
4547
+ /**
4548
+ * The number of cores we want to sell, ideally. Selling this amount would result in
4549
+ * no change to the price for the next sale.
4550
+ **/
4551
+ idealCoresSold: number;
4552
+ /**
4553
+ * Number of cores which are/have been offered for sale.
4554
+ **/
4555
+ coresOffered: number;
4556
+ }>;
4557
+ /**
4558
+ * A new lease has been created.
4559
+ **/
4560
+ Leased: GenericPalletEvent<'Broker', 'Leased', {
4561
+ /**
4562
+ * The task to which a core will be assigned.
4563
+ **/
4564
+ task: number;
4565
+ /**
4566
+ * The timeslice contained in the sale period after which this lease will
4567
+ * self-terminate (and therefore the earliest timeslice at which the lease may no
4568
+ * longer apply).
4569
+ **/
4570
+ until: number;
4571
+ }>;
4572
+ /**
4573
+ * A lease is about to end.
4574
+ **/
4575
+ LeaseEnding: GenericPalletEvent<'Broker', 'LeaseEnding', {
4576
+ /**
4577
+ * The task to which a core was assigned.
4578
+ **/
4579
+ task: number;
4580
+ /**
4581
+ * The timeslice at which the task will no longer be scheduled.
4582
+ **/
4583
+ when: number;
4584
+ }>;
4585
+ /**
4586
+ * The sale rotation has been started and a new sale is imminent.
4587
+ **/
4588
+ SalesStarted: GenericPalletEvent<'Broker', 'SalesStarted', {
4589
+ /**
4590
+ * The nominal price of an Region of Bulk Coretime.
4591
+ **/
4592
+ price: bigint;
4593
+ /**
4594
+ * The maximum number of cores which this pallet will attempt to assign.
4595
+ **/
4596
+ coreCount: number;
4597
+ }>;
4598
+ /**
4599
+ * The act of claiming revenue has begun.
4600
+ **/
4601
+ RevenueClaimBegun: GenericPalletEvent<'Broker', 'RevenueClaimBegun', {
4602
+ /**
4603
+ * The region to be claimed for.
4604
+ **/
4605
+ region: PalletBrokerRegionId;
4606
+ /**
4607
+ * The maximum number of timeslices which should be searched for claimed.
4608
+ **/
4609
+ maxTimeslices: number;
4610
+ }>;
4611
+ /**
4612
+ * A particular timeslice has a non-zero claim.
4613
+ **/
4614
+ RevenueClaimItem: GenericPalletEvent<'Broker', 'RevenueClaimItem', {
4615
+ /**
4616
+ * The timeslice whose claim is being processed.
4617
+ **/
4618
+ when: number;
4619
+ /**
4620
+ * The amount which was claimed at this timeslice.
4621
+ **/
4622
+ amount: bigint;
4623
+ }>;
4624
+ /**
4625
+ * A revenue claim has (possibly only in part) been paid.
4626
+ **/
4627
+ RevenueClaimPaid: GenericPalletEvent<'Broker', 'RevenueClaimPaid', {
4628
+ /**
4629
+ * The account to whom revenue has been paid.
4630
+ **/
4631
+ who: AccountId32;
4632
+ /**
4633
+ * The total amount of revenue claimed and paid.
4634
+ **/
4635
+ amount: bigint;
4636
+ /**
4637
+ * The next region which should be claimed for the continuation of this contribution.
4638
+ **/
4639
+ next?: PalletBrokerRegionId | undefined;
4640
+ }>;
4641
+ /**
4642
+ * Some Instantaneous Coretime Pool credit has been purchased.
4643
+ **/
4644
+ CreditPurchased: GenericPalletEvent<'Broker', 'CreditPurchased', {
4645
+ /**
4646
+ * The account which purchased the credit.
4647
+ **/
4648
+ who: AccountId32;
4649
+ /**
4650
+ * The Relay-chain account to which the credit will be made.
4651
+ **/
4652
+ beneficiary: AccountId32;
4653
+ /**
4654
+ * The amount of credit purchased.
4655
+ **/
4656
+ amount: bigint;
4657
+ }>;
4658
+ /**
4659
+ * A Region has been dropped due to being out of date.
4660
+ **/
4661
+ RegionDropped: GenericPalletEvent<'Broker', 'RegionDropped', {
4662
+ /**
4663
+ * The Region which no longer exists.
4664
+ **/
4665
+ regionId: PalletBrokerRegionId;
4666
+ /**
4667
+ * The duration of the Region.
4668
+ **/
4669
+ duration: number;
4670
+ }>;
4671
+ /**
4672
+ * Some historical Instantaneous Core Pool contribution record has been dropped.
4673
+ **/
4674
+ ContributionDropped: GenericPalletEvent<'Broker', 'ContributionDropped', {
4675
+ /**
4676
+ * The Region whose contribution is no longer exists.
4677
+ **/
4678
+ regionId: PalletBrokerRegionId;
4679
+ }>;
4680
+ /**
4681
+ * Some historical Instantaneous Core Pool payment record has been initialized.
4682
+ **/
4683
+ HistoryInitialized: GenericPalletEvent<'Broker', 'HistoryInitialized', {
4684
+ /**
4685
+ * The timeslice whose history has been initialized.
4686
+ **/
4687
+ when: number;
4688
+ /**
4689
+ * The amount of privately contributed Coretime to the Instantaneous Coretime Pool.
4690
+ **/
4691
+ privatePoolSize: number;
4692
+ /**
4693
+ * The amount of Coretime contributed to the Instantaneous Coretime Pool by the
4694
+ * Polkadot System.
4695
+ **/
4696
+ systemPoolSize: number;
4697
+ }>;
4698
+ /**
4699
+ * Some historical Instantaneous Core Pool payment record has been dropped.
4700
+ **/
4701
+ HistoryDropped: GenericPalletEvent<'Broker', 'HistoryDropped', {
4702
+ /**
4703
+ * The timeslice whose history is no longer available.
4704
+ **/
4705
+ when: number;
4706
+ /**
4707
+ * The amount of revenue the system has taken.
4708
+ **/
4709
+ revenue: bigint;
4710
+ }>;
4711
+ /**
4712
+ * Some historical Instantaneous Core Pool payment record has been ignored because the
4713
+ * timeslice was already known. Governance may need to intervene.
4714
+ **/
4715
+ HistoryIgnored: GenericPalletEvent<'Broker', 'HistoryIgnored', {
4716
+ /**
4717
+ * The timeslice whose history is was ignored.
4718
+ **/
4719
+ when: number;
4720
+ /**
4721
+ * The amount of revenue which was ignored.
4722
+ **/
4723
+ revenue: bigint;
4724
+ }>;
4725
+ /**
4726
+ * Some historical Instantaneous Core Pool Revenue is ready for payout claims.
4727
+ **/
4728
+ ClaimsReady: GenericPalletEvent<'Broker', 'ClaimsReady', {
4729
+ /**
4730
+ * The timeslice whose history is available.
4731
+ **/
4732
+ when: number;
4733
+ /**
4734
+ * The amount of revenue the Polkadot System has already taken.
4735
+ **/
4736
+ systemPayout: bigint;
4737
+ /**
4738
+ * The total amount of revenue remaining to be claimed.
4739
+ **/
4740
+ privatePayout: bigint;
4741
+ }>;
4742
+ /**
4743
+ * A Core has been assigned to one or more tasks and/or the Pool on the Relay-chain.
4744
+ **/
4745
+ CoreAssigned: GenericPalletEvent<'Broker', 'CoreAssigned', {
4746
+ /**
4747
+ * The index of the Core which has been assigned.
4748
+ **/
4749
+ core: number;
4750
+ /**
4751
+ * The Relay-chain block at which this assignment should take effect.
4752
+ **/
4753
+ when: number;
4754
+ /**
4755
+ * The workload to be done on the Core.
4756
+ **/
4757
+ assignment: Array<[PalletBrokerCoretimeInterfaceCoreAssignment, number]>;
4758
+ }>;
4759
+ /**
4760
+ * Some historical Instantaneous Core Pool payment record has been dropped.
4761
+ **/
4762
+ AllowedRenewalDropped: GenericPalletEvent<'Broker', 'AllowedRenewalDropped', {
4763
+ /**
4764
+ * The timeslice whose renewal is no longer available.
4765
+ **/
4766
+ when: number;
4767
+ /**
4768
+ * The core whose workload is no longer available to be renewed for `when`.
4769
+ **/
4770
+ core: number;
4771
+ }>;
4772
+ /**
4773
+ * Generic pallet event
4774
+ **/
4775
+ [prop: string]: GenericPalletEvent;
4776
+ };
4777
+ }