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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/aleph/consts.d.ts +528 -590
  2. package/aleph/consts.js +2 -0
  3. package/aleph/errors.d.ts +818 -981
  4. package/aleph/errors.js +2 -0
  5. package/aleph/events.d.ts +937 -924
  6. package/aleph/events.js +2 -0
  7. package/aleph/index.d.ts +8 -11
  8. package/aleph/index.js +3 -0
  9. package/aleph/query.d.ts +1268 -1477
  10. package/aleph/query.js +2 -0
  11. package/aleph/rpc.d.ts +573 -725
  12. package/aleph/rpc.js +2 -0
  13. package/aleph/runtime.d.ts +406 -541
  14. package/aleph/runtime.js +2 -0
  15. package/aleph/tx.d.ts +2202 -2664
  16. package/aleph/tx.js +2 -0
  17. package/aleph/types.d.ts +5294 -3380
  18. package/aleph/types.js +2 -0
  19. package/astar/consts.d.ts +674 -753
  20. package/astar/consts.js +2 -0
  21. package/astar/errors.d.ts +1313 -1576
  22. package/astar/errors.js +2 -0
  23. package/astar/events.d.ts +1628 -1709
  24. package/astar/events.js +2 -0
  25. package/astar/index.d.ts +8 -11
  26. package/astar/index.js +3 -0
  27. package/astar/query.d.ts +1471 -1756
  28. package/astar/query.js +2 -0
  29. package/astar/rpc.d.ts +773 -972
  30. package/astar/rpc.js +2 -0
  31. package/astar/runtime.d.ts +258 -310
  32. package/astar/runtime.js +2 -0
  33. package/astar/tx.d.ts +4806 -5474
  34. package/astar/tx.js +2 -0
  35. package/astar/types.d.ts +12053 -8793
  36. package/astar/types.js +2 -0
  37. package/cjs/aleph/consts.js +3 -0
  38. package/cjs/aleph/errors.js +3 -0
  39. package/cjs/aleph/events.js +3 -0
  40. package/cjs/aleph/index.js +19 -0
  41. package/cjs/aleph/query.js +3 -0
  42. package/cjs/aleph/rpc.js +3 -0
  43. package/cjs/aleph/runtime.js +3 -0
  44. package/cjs/aleph/tx.js +3 -0
  45. package/cjs/aleph/types.js +3 -0
  46. package/cjs/astar/consts.js +3 -0
  47. package/cjs/astar/errors.js +3 -0
  48. package/cjs/astar/events.js +3 -0
  49. package/cjs/astar/index.js +19 -0
  50. package/cjs/astar/query.js +3 -0
  51. package/cjs/astar/rpc.js +3 -0
  52. package/cjs/astar/runtime.js +3 -0
  53. package/cjs/astar/tx.js +3 -0
  54. package/cjs/astar/types.js +3 -0
  55. package/cjs/index.js +2 -0
  56. package/cjs/kusama/consts.js +3 -0
  57. package/cjs/kusama/errors.js +3 -0
  58. package/cjs/kusama/events.js +3 -0
  59. package/cjs/kusama/index.js +19 -0
  60. package/cjs/kusama/query.js +3 -0
  61. package/cjs/kusama/rpc.js +3 -0
  62. package/cjs/kusama/runtime.js +3 -0
  63. package/cjs/kusama/tx.js +3 -0
  64. package/cjs/kusama/types.js +3 -0
  65. package/cjs/kusamaAssetHub/consts.js +3 -0
  66. package/cjs/kusamaAssetHub/errors.js +3 -0
  67. package/cjs/kusamaAssetHub/events.js +3 -0
  68. package/cjs/kusamaAssetHub/index.js +19 -0
  69. package/cjs/kusamaAssetHub/query.js +3 -0
  70. package/cjs/kusamaAssetHub/rpc.js +3 -0
  71. package/cjs/kusamaAssetHub/runtime.js +3 -0
  72. package/cjs/kusamaAssetHub/tx.js +3 -0
  73. package/cjs/kusamaAssetHub/types.js +3 -0
  74. package/cjs/moonbeam/consts.js +3 -0
  75. package/cjs/moonbeam/errors.js +3 -0
  76. package/cjs/moonbeam/events.js +3 -0
  77. package/cjs/moonbeam/index.js +19 -0
  78. package/cjs/moonbeam/query.js +3 -0
  79. package/cjs/moonbeam/rpc.js +3 -0
  80. package/cjs/moonbeam/runtime.js +3 -0
  81. package/cjs/moonbeam/tx.js +3 -0
  82. package/cjs/moonbeam/types.js +3 -0
  83. package/cjs/package.json +1 -0
  84. package/cjs/packageInfo.js +5 -0
  85. package/cjs/polkadot/consts.js +3 -0
  86. package/cjs/polkadot/errors.js +3 -0
  87. package/cjs/polkadot/events.js +3 -0
  88. package/cjs/polkadot/index.js +19 -0
  89. package/cjs/polkadot/query.js +3 -0
  90. package/cjs/polkadot/rpc.js +3 -0
  91. package/cjs/polkadot/runtime.js +3 -0
  92. package/cjs/polkadot/tx.js +3 -0
  93. package/cjs/polkadot/types.js +3 -0
  94. package/cjs/polkadotAssetHub/consts.js +3 -0
  95. package/cjs/polkadotAssetHub/errors.js +3 -0
  96. package/cjs/polkadotAssetHub/events.js +3 -0
  97. package/cjs/polkadotAssetHub/index.js +19 -0
  98. package/cjs/polkadotAssetHub/query.js +3 -0
  99. package/cjs/polkadotAssetHub/rpc.js +3 -0
  100. package/cjs/polkadotAssetHub/runtime.js +3 -0
  101. package/cjs/polkadotAssetHub/tx.js +3 -0
  102. package/cjs/polkadotAssetHub/types.js +3 -0
  103. package/cjs/rococoAssetHub/consts.js +3 -0
  104. package/cjs/rococoAssetHub/errors.js +3 -0
  105. package/cjs/rococoAssetHub/events.js +3 -0
  106. package/cjs/rococoAssetHub/index.js +19 -0
  107. package/cjs/rococoAssetHub/query.js +3 -0
  108. package/cjs/rococoAssetHub/rpc.js +3 -0
  109. package/cjs/rococoAssetHub/runtime.js +3 -0
  110. package/cjs/rococoAssetHub/tx.js +3 -0
  111. package/cjs/rococoAssetHub/types.js +3 -0
  112. package/cjs/substrate/consts.js +3 -0
  113. package/cjs/substrate/errors.js +3 -0
  114. package/cjs/substrate/events.js +3 -0
  115. package/cjs/substrate/index.js +19 -0
  116. package/cjs/substrate/query.js +3 -0
  117. package/cjs/substrate/rpc.js +3 -0
  118. package/cjs/substrate/runtime.js +3 -0
  119. package/cjs/substrate/tx.js +3 -0
  120. package/cjs/substrate/types.js +3 -0
  121. package/cjs/westendAssetHub/consts.js +3 -0
  122. package/cjs/westendAssetHub/errors.js +3 -0
  123. package/cjs/westendAssetHub/events.js +3 -0
  124. package/cjs/westendAssetHub/index.js +19 -0
  125. package/cjs/westendAssetHub/query.js +3 -0
  126. package/cjs/westendAssetHub/rpc.js +3 -0
  127. package/cjs/westendAssetHub/runtime.js +3 -0
  128. package/cjs/westendAssetHub/tx.js +3 -0
  129. package/cjs/westendAssetHub/types.js +3 -0
  130. package/kusama/consts.d.ts +1422 -1573
  131. package/kusama/consts.js +2 -0
  132. package/kusama/errors.d.ts +2490 -2995
  133. package/kusama/errors.js +2 -0
  134. package/kusama/events.d.ts +2723 -2996
  135. package/kusama/events.js +2 -0
  136. package/kusama/index.d.ts +8 -11
  137. package/kusama/index.js +3 -0
  138. package/kusama/query.d.ts +3248 -3828
  139. package/kusama/query.js +2 -0
  140. package/kusama/rpc.d.ts +724 -902
  141. package/kusama/rpc.js +2 -0
  142. package/kusama/runtime.d.ts +840 -1130
  143. package/kusama/runtime.js +2 -0
  144. package/kusama/tx.d.ts +6010 -7073
  145. package/kusama/tx.js +2 -0
  146. package/kusama/types.d.ts +15336 -10143
  147. package/kusama/types.js +2 -0
  148. package/kusamaAssetHub/consts.d.ts +627 -714
  149. package/kusamaAssetHub/consts.js +2 -0
  150. package/kusamaAssetHub/errors.d.ts +1160 -1405
  151. package/kusamaAssetHub/errors.js +2 -0
  152. package/kusamaAssetHub/events.d.ts +2060 -2149
  153. package/kusamaAssetHub/events.js +2 -0
  154. package/kusamaAssetHub/index.d.ts +8 -11
  155. package/kusamaAssetHub/index.js +3 -0
  156. package/kusamaAssetHub/query.d.ts +1298 -1551
  157. package/kusamaAssetHub/query.js +2 -0
  158. package/kusamaAssetHub/rpc.d.ts +588 -744
  159. package/kusamaAssetHub/rpc.js +2 -0
  160. package/kusamaAssetHub/runtime.d.ts +398 -510
  161. package/kusamaAssetHub/runtime.js +2 -0
  162. package/kusamaAssetHub/tx.d.ts +4212 -5050
  163. package/kusamaAssetHub/tx.js +2 -0
  164. package/kusamaAssetHub/types.d.ts +9997 -5964
  165. package/kusamaAssetHub/types.js +2 -0
  166. package/moonbeam/consts.d.ts +956 -1075
  167. package/moonbeam/consts.js +2 -0
  168. package/moonbeam/errors.d.ts +1793 -2131
  169. package/moonbeam/errors.js +2 -0
  170. package/moonbeam/events.d.ts +2681 -2932
  171. package/moonbeam/events.js +2 -0
  172. package/moonbeam/index.d.ts +8 -11
  173. package/moonbeam/index.js +3 -0
  174. package/moonbeam/query.d.ts +2024 -2391
  175. package/moonbeam/query.js +2 -0
  176. package/moonbeam/rpc.d.ts +807 -1013
  177. package/moonbeam/rpc.js +2 -0
  178. package/moonbeam/runtime.d.ts +502 -665
  179. package/moonbeam/runtime.js +2 -0
  180. package/moonbeam/tx.d.ts +5201 -6152
  181. package/moonbeam/tx.js +2 -0
  182. package/moonbeam/types.d.ts +12035 -7731
  183. package/moonbeam/types.js +2 -0
  184. package/package.json +8 -9
  185. package/packageInfo.js +1 -2
  186. package/polkadot/consts.d.ts +1155 -1272
  187. package/polkadot/consts.js +2 -0
  188. package/polkadot/errors.d.ts +2016 -2420
  189. package/polkadot/errors.js +2 -0
  190. package/polkadot/events.d.ts +2092 -2314
  191. package/polkadot/events.js +2 -0
  192. package/polkadot/index.d.ts +8 -11
  193. package/polkadot/index.js +3 -0
  194. package/polkadot/query.d.ts +2808 -3319
  195. package/polkadot/query.js +2 -0
  196. package/polkadot/rpc.d.ts +724 -902
  197. package/polkadot/rpc.js +2 -0
  198. package/polkadot/runtime.d.ts +840 -1130
  199. package/polkadot/runtime.js +2 -0
  200. package/polkadot/tx.d.ts +5005 -5909
  201. package/polkadot/tx.js +2 -0
  202. package/polkadot/types.d.ts +13402 -8854
  203. package/polkadot/types.js +2 -0
  204. package/polkadotAssetHub/consts.d.ts +519 -586
  205. package/polkadotAssetHub/consts.js +2 -0
  206. package/polkadotAssetHub/errors.d.ts +921 -1115
  207. package/polkadotAssetHub/errors.js +2 -0
  208. package/polkadotAssetHub/events.d.ts +1782 -1850
  209. package/polkadotAssetHub/events.js +2 -0
  210. package/polkadotAssetHub/index.d.ts +8 -11
  211. package/polkadotAssetHub/index.js +3 -0
  212. package/polkadotAssetHub/query.d.ts +1219 -1457
  213. package/polkadotAssetHub/query.js +2 -0
  214. package/polkadotAssetHub/rpc.d.ts +588 -744
  215. package/polkadotAssetHub/rpc.js +2 -0
  216. package/polkadotAssetHub/runtime.d.ts +355 -447
  217. package/polkadotAssetHub/runtime.js +2 -0
  218. package/polkadotAssetHub/tx.d.ts +3487 -4184
  219. package/polkadotAssetHub/tx.js +2 -0
  220. package/polkadotAssetHub/types.d.ts +8891 -5266
  221. package/polkadotAssetHub/types.js +2 -0
  222. package/rococoAssetHub/consts.d.ts +653 -745
  223. package/rococoAssetHub/consts.js +2 -0
  224. package/rococoAssetHub/errors.d.ts +1227 -1490
  225. package/rococoAssetHub/errors.js +2 -0
  226. package/rococoAssetHub/events.d.ts +2047 -2127
  227. package/rococoAssetHub/events.js +2 -0
  228. package/rococoAssetHub/index.d.ts +8 -11
  229. package/rococoAssetHub/index.js +3 -0
  230. package/rococoAssetHub/query.d.ts +1266 -1513
  231. package/rococoAssetHub/query.js +2 -0
  232. package/rococoAssetHub/rpc.d.ts +588 -744
  233. package/rococoAssetHub/rpc.js +2 -0
  234. package/rococoAssetHub/runtime.d.ts +424 -538
  235. package/rococoAssetHub/runtime.js +2 -0
  236. package/rococoAssetHub/tx.d.ts +4302 -5164
  237. package/rococoAssetHub/tx.js +2 -0
  238. package/rococoAssetHub/types.d.ts +10610 -6295
  239. package/rococoAssetHub/types.js +2 -0
  240. package/substrate/consts.d.ts +1966 -2218
  241. package/substrate/consts.js +2 -0
  242. package/substrate/errors.d.ts +3333 -4019
  243. package/substrate/errors.js +2 -0
  244. package/substrate/events.d.ts +4255 -4585
  245. package/substrate/events.js +2 -0
  246. package/substrate/index.d.ts +8 -11
  247. package/substrate/index.js +3 -0
  248. package/substrate/query.d.ts +3347 -3887
  249. package/substrate/query.js +2 -0
  250. package/substrate/rpc.d.ts +716 -892
  251. package/substrate/rpc.js +2 -0
  252. package/substrate/runtime.d.ts +704 -937
  253. package/substrate/runtime.js +2 -0
  254. package/substrate/tx.d.ts +8796 -10387
  255. package/substrate/tx.js +2 -0
  256. package/substrate/types.d.ts +19843 -12891
  257. package/substrate/types.js +2 -0
  258. package/westendAssetHub/consts.d.ts +653 -745
  259. package/westendAssetHub/consts.js +2 -0
  260. package/westendAssetHub/errors.d.ts +1227 -1490
  261. package/westendAssetHub/errors.js +2 -0
  262. package/westendAssetHub/events.d.ts +2047 -2127
  263. package/westendAssetHub/events.js +2 -0
  264. package/westendAssetHub/index.d.ts +8 -11
  265. package/westendAssetHub/index.js +3 -0
  266. package/westendAssetHub/query.d.ts +1266 -1513
  267. package/westendAssetHub/query.js +2 -0
  268. package/westendAssetHub/rpc.d.ts +588 -744
  269. package/westendAssetHub/rpc.js +2 -0
  270. package/westendAssetHub/runtime.d.ts +452 -577
  271. package/westendAssetHub/runtime.js +2 -0
  272. package/westendAssetHub/tx.d.ts +4302 -5164
  273. package/westendAssetHub/tx.js +2 -0
  274. package/westendAssetHub/types.d.ts +10614 -6302
  275. package/westendAssetHub/types.js +2 -0
  276. package/index.ts +0 -10
  277. package/packageInfo.ts +0 -3
@@ -1,2251 +1,2162 @@
1
- // Generated by @dedot/codegen
2
-
3
1
  import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
4
2
  import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Bytes, Permill } from '@dedot/codecs';
5
- import type {
6
- SpWeightsWeightV2Weight,
7
- FrameSupportTokensMiscBalanceStatus,
8
- StagingXcmV3MultilocationMultiLocation,
9
- XcmV3TraitsError,
10
- PolkadotParachainPrimitivesPrimitivesId,
11
- XcmV3TraitsOutcome,
12
- XcmV3Xcm,
13
- XcmV3Response,
14
- XcmVersionedMultiAssets,
15
- XcmV3MultiassetMultiAssets,
16
- XcmVersionedMultiLocation,
17
- PalletMultisigTimepoint,
18
- AssetHubKusamaRuntimeProxyType,
19
- PalletNftsAttributeNamespace,
20
- PalletNftsPriceWithDirection,
21
- PalletNftsPalletAttributes,
22
- } from './types';
23
-
3
+ import type { SpWeightsWeightV2Weight, FrameSupportTokensMiscBalanceStatus, StagingXcmV3MultilocationMultiLocation, XcmV3TraitsError, PolkadotParachainPrimitivesPrimitivesId, XcmV3TraitsOutcome, XcmV3Xcm, XcmV3Response, XcmVersionedMultiAssets, XcmV3MultiassetMultiAssets, XcmVersionedMultiLocation, PalletMultisigTimepoint, AssetHubKusamaRuntimeProxyType, PalletNftsAttributeNamespace, PalletNftsPriceWithDirection, PalletNftsPalletAttributes } from './types';
24
4
  export interface ChainEvents extends GenericChainEvents {
25
- /**
26
- * Pallet `System`'s events
27
- **/
28
- system: {
29
5
  /**
30
- * An extrinsic completed successfully.
6
+ * Pallet `System`'s events
31
7
  **/
32
- ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
33
-
34
- /**
35
- * An extrinsic failed.
36
- **/
37
- ExtrinsicFailed: GenericPalletEvent<
38
- 'System',
39
- 'ExtrinsicFailed',
40
- { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
41
- >;
42
-
43
- /**
44
- * `:code` was updated.
45
- **/
46
- CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
47
-
48
- /**
49
- * A new account was created.
50
- **/
51
- NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
52
-
53
- /**
54
- * An account was reaped.
55
- **/
56
- KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
57
-
58
- /**
59
- * On on-chain remark happened.
60
- **/
61
- Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
62
-
63
- /**
64
- * Generic pallet event
65
- **/
66
- [prop: string]: GenericPalletEvent;
67
- };
68
- /**
69
- * Pallet `ParachainSystem`'s events
70
- **/
71
- parachainSystem: {
72
- /**
73
- * The validation function has been scheduled to apply.
74
- **/
75
- ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
76
-
77
- /**
78
- * The validation function was applied as of the contained relay chain block number.
79
- **/
80
- ValidationFunctionApplied: GenericPalletEvent<
81
- 'ParachainSystem',
82
- 'ValidationFunctionApplied',
83
- { relayChainBlockNum: number }
84
- >;
85
-
86
- /**
87
- * The relay-chain aborted the upgrade process.
88
- **/
89
- ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
90
-
91
- /**
92
- * An upgrade has been authorized.
93
- **/
94
- UpgradeAuthorized: GenericPalletEvent<'ParachainSystem', 'UpgradeAuthorized', { codeHash: H256 }>;
95
-
96
- /**
97
- * Some downward messages have been received and will be processed.
98
- **/
99
- DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
100
-
101
- /**
102
- * Downward messages were processed using the given weight.
103
- **/
104
- DownwardMessagesProcessed: GenericPalletEvent<
105
- 'ParachainSystem',
106
- 'DownwardMessagesProcessed',
107
- { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
108
- >;
109
-
110
- /**
111
- * An upward message was sent to the relay chain.
112
- **/
113
- UpwardMessageSent: GenericPalletEvent<
114
- 'ParachainSystem',
115
- 'UpwardMessageSent',
116
- { messageHash?: FixedBytes<32> | undefined }
117
- >;
118
-
119
- /**
120
- * Generic pallet event
121
- **/
122
- [prop: string]: GenericPalletEvent;
123
- };
124
- /**
125
- * Pallet `Balances`'s events
126
- **/
127
- balances: {
128
- /**
129
- * An account was created with some free balance.
130
- **/
131
- Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
132
-
133
- /**
134
- * An account was removed whose balance was non-zero but below ExistentialDeposit,
135
- * resulting in an outright loss.
136
- **/
137
- DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
138
-
139
- /**
140
- * Transfer succeeded.
141
- **/
142
- Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
143
-
144
- /**
145
- * A balance was set by root.
146
- **/
147
- BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
148
-
149
- /**
150
- * Some balance was reserved (moved from free to reserved).
151
- **/
152
- Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
153
-
154
- /**
155
- * Some balance was unreserved (moved from reserved to free).
156
- **/
157
- Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
158
-
159
- /**
160
- * Some balance was moved from the reserve of the first account to the second account.
161
- * Final argument indicates the destination balance type.
162
- **/
163
- ReserveRepatriated: GenericPalletEvent<
164
- 'Balances',
165
- 'ReserveRepatriated',
166
- { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
167
- >;
168
-
169
- /**
170
- * Some amount was deposited (e.g. for transaction fees).
171
- **/
172
- Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
173
-
174
- /**
175
- * Some amount was withdrawn from the account (e.g. for transaction fees).
176
- **/
177
- Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
178
-
179
- /**
180
- * Some amount was removed from the account (e.g. for misbehavior).
181
- **/
182
- Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
183
-
184
- /**
185
- * Some amount was minted into an account.
186
- **/
187
- Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
188
-
189
- /**
190
- * Some amount was burned from an account.
191
- **/
192
- Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
193
-
194
- /**
195
- * Some amount was suspended from an account (it can be restored later).
196
- **/
197
- Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
198
-
199
- /**
200
- * Some amount was restored into an account.
201
- **/
202
- Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
203
-
204
- /**
205
- * An account was upgraded.
206
- **/
207
- Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
208
-
209
- /**
210
- * Total issuance was increased by `amount`, creating a credit to be balanced.
211
- **/
212
- Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
213
-
214
- /**
215
- * Total issuance was decreased by `amount`, creating a debt to be balanced.
216
- **/
217
- Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
218
-
219
- /**
220
- * Some balance was locked.
221
- **/
222
- Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
223
-
224
- /**
225
- * Some balance was unlocked.
226
- **/
227
- Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
228
-
229
- /**
230
- * Some balance was frozen.
231
- **/
232
- Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
233
-
234
- /**
235
- * Some balance was thawed.
236
- **/
237
- Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
238
-
239
- /**
240
- * Generic pallet event
241
- **/
242
- [prop: string]: GenericPalletEvent;
243
- };
244
- /**
245
- * Pallet `TransactionPayment`'s events
246
- **/
247
- transactionPayment: {
248
- /**
249
- * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
250
- * has been paid by `who`.
251
- **/
252
- TransactionFeePaid: GenericPalletEvent<
253
- 'TransactionPayment',
254
- 'TransactionFeePaid',
255
- { who: AccountId32; actualFee: bigint; tip: bigint }
256
- >;
257
-
258
- /**
259
- * Generic pallet event
260
- **/
261
- [prop: string]: GenericPalletEvent;
262
- };
263
- /**
264
- * Pallet `AssetTxPayment`'s events
265
- **/
266
- assetTxPayment: {
267
- /**
268
- * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
269
- * has been paid by `who` in an asset `asset_id`.
270
- **/
271
- AssetTxFeePaid: GenericPalletEvent<
272
- 'AssetTxPayment',
273
- 'AssetTxFeePaid',
274
- { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV3MultilocationMultiLocation }
275
- >;
276
-
277
- /**
278
- * A swap of the refund in native currency back to asset failed.
279
- **/
280
- AssetRefundFailed: GenericPalletEvent<'AssetTxPayment', 'AssetRefundFailed', { nativeAmountKept: bigint }>;
281
-
282
- /**
283
- * Generic pallet event
284
- **/
285
- [prop: string]: GenericPalletEvent;
286
- };
287
- /**
288
- * Pallet `CollatorSelection`'s events
289
- **/
290
- collatorSelection: {
291
- /**
292
- * New Invulnerables were set.
293
- **/
294
- NewInvulnerables: GenericPalletEvent<
295
- 'CollatorSelection',
296
- 'NewInvulnerables',
297
- { invulnerables: Array<AccountId32> }
298
- >;
299
-
300
- /**
301
- * A new Invulnerable was added.
302
- **/
303
- InvulnerableAdded: GenericPalletEvent<'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
304
-
305
- /**
306
- * An Invulnerable was removed.
307
- **/
308
- InvulnerableRemoved: GenericPalletEvent<'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
309
-
310
- /**
311
- * The number of desired candidates was set.
312
- **/
313
- NewDesiredCandidates: GenericPalletEvent<
314
- 'CollatorSelection',
315
- 'NewDesiredCandidates',
316
- { desiredCandidates: number }
317
- >;
318
-
319
- /**
320
- * The candidacy bond was set.
321
- **/
322
- NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
323
-
324
- /**
325
- * A new candidate joined.
326
- **/
327
- CandidateAdded: GenericPalletEvent<
328
- 'CollatorSelection',
329
- 'CandidateAdded',
330
- { accountId: AccountId32; deposit: bigint }
331
- >;
332
-
333
- /**
334
- * A candidate was removed.
335
- **/
336
- CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
337
-
338
- /**
339
- * An account was unable to be added to the Invulnerables because they did not have keys
340
- * registered. Other Invulnerables may have been set.
341
- **/
342
- InvalidInvulnerableSkipped: GenericPalletEvent<
343
- 'CollatorSelection',
344
- 'InvalidInvulnerableSkipped',
345
- { accountId: AccountId32 }
346
- >;
347
-
348
- /**
349
- * Generic pallet event
350
- **/
351
- [prop: string]: GenericPalletEvent;
352
- };
353
- /**
354
- * Pallet `Session`'s events
355
- **/
356
- session: {
357
- /**
358
- * New session has happened. Note that the argument is the session index, not the
359
- * block number as the type might suggest.
360
- **/
361
- NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
362
-
363
- /**
364
- * Generic pallet event
365
- **/
366
- [prop: string]: GenericPalletEvent;
367
- };
368
- /**
369
- * Pallet `XcmpQueue`'s events
370
- **/
371
- xcmpQueue: {
372
- /**
373
- * Some XCM was executed ok.
374
- **/
375
- Success: GenericPalletEvent<
376
- 'XcmpQueue',
377
- 'Success',
378
- { messageHash: FixedBytes<32>; messageId: FixedBytes<32>; weight: SpWeightsWeightV2Weight }
379
- >;
380
-
381
- /**
382
- * Some XCM failed.
383
- **/
384
- Fail: GenericPalletEvent<
385
- 'XcmpQueue',
386
- 'Fail',
387
- {
388
- messageHash: FixedBytes<32>;
389
- messageId: FixedBytes<32>;
390
- error: XcmV3TraitsError;
391
- weight: SpWeightsWeightV2Weight;
392
- }
393
- >;
394
-
395
- /**
396
- * Bad XCM version used.
397
- **/
398
- BadVersion: GenericPalletEvent<'XcmpQueue', 'BadVersion', { messageHash: FixedBytes<32> }>;
399
-
400
- /**
401
- * Bad XCM format used.
402
- **/
403
- BadFormat: GenericPalletEvent<'XcmpQueue', 'BadFormat', { messageHash: FixedBytes<32> }>;
404
-
405
- /**
406
- * An HRMP message was sent to a sibling parachain.
407
- **/
408
- XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
409
-
410
- /**
411
- * An XCM exceeded the individual message weight budget.
412
- **/
413
- OverweightEnqueued: GenericPalletEvent<
414
- 'XcmpQueue',
415
- 'OverweightEnqueued',
416
- {
417
- sender: PolkadotParachainPrimitivesPrimitivesId;
418
- sentAt: number;
419
- index: bigint;
420
- required: SpWeightsWeightV2Weight;
421
- }
422
- >;
423
-
424
- /**
425
- * An XCM from the overweight queue was executed with the given actual weight used.
426
- **/
427
- OverweightServiced: GenericPalletEvent<
428
- 'XcmpQueue',
429
- 'OverweightServiced',
430
- { index: bigint; used: SpWeightsWeightV2Weight }
431
- >;
432
-
433
- /**
434
- * Generic pallet event
435
- **/
436
- [prop: string]: GenericPalletEvent;
437
- };
438
- /**
439
- * Pallet `PolkadotXcm`'s events
440
- **/
441
- polkadotXcm: {
442
- /**
443
- * Execution of an XCM message was attempted.
444
- **/
445
- Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome: XcmV3TraitsOutcome }>;
446
-
447
- /**
448
- * A XCM message was sent.
449
- **/
450
- Sent: GenericPalletEvent<
451
- 'PolkadotXcm',
452
- 'Sent',
453
- {
454
- origin: StagingXcmV3MultilocationMultiLocation;
455
- destination: StagingXcmV3MultilocationMultiLocation;
456
- message: XcmV3Xcm;
457
- messageId: FixedBytes<32>;
458
- }
459
- >;
460
-
461
- /**
462
- * Query response received which does not match a registered query. This may be because a
463
- * matching query was never registered, it may be because it is a duplicate response, or
464
- * because the query timed out.
465
- **/
466
- UnexpectedResponse: GenericPalletEvent<
467
- 'PolkadotXcm',
468
- 'UnexpectedResponse',
469
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
470
- >;
471
-
472
- /**
473
- * Query response has been received and is ready for taking with `take_response`. There is
474
- * no registered notification call.
475
- **/
476
- ResponseReady: GenericPalletEvent<'PolkadotXcm', 'ResponseReady', { queryId: bigint; response: XcmV3Response }>;
477
-
478
- /**
479
- * Query response has been received and query is removed. The registered notification has
480
- * been dispatched and executed successfully.
481
- **/
482
- Notified: GenericPalletEvent<
483
- 'PolkadotXcm',
484
- 'Notified',
485
- { queryId: bigint; palletIndex: number; callIndex: number }
486
- >;
487
-
488
- /**
489
- * Query response has been received and query is removed. The registered notification
490
- * could not be dispatched because the dispatch weight is greater than the maximum weight
491
- * originally budgeted by this runtime for the query result.
492
- **/
493
- NotifyOverweight: GenericPalletEvent<
494
- 'PolkadotXcm',
495
- 'NotifyOverweight',
496
- {
497
- queryId: bigint;
498
- palletIndex: number;
499
- callIndex: number;
500
- actualWeight: SpWeightsWeightV2Weight;
501
- maxBudgetedWeight: SpWeightsWeightV2Weight;
502
- }
503
- >;
504
-
505
- /**
506
- * Query response has been received and query is removed. There was a general error with
507
- * dispatching the notification call.
508
- **/
509
- NotifyDispatchError: GenericPalletEvent<
510
- 'PolkadotXcm',
511
- 'NotifyDispatchError',
512
- { queryId: bigint; palletIndex: number; callIndex: number }
513
- >;
514
-
515
- /**
516
- * Query response has been received and query is removed. The dispatch was unable to be
517
- * decoded into a `Call`; this might be due to dispatch function having a signature which
518
- * is not `(origin, QueryId, Response)`.
519
- **/
520
- NotifyDecodeFailed: GenericPalletEvent<
521
- 'PolkadotXcm',
522
- 'NotifyDecodeFailed',
523
- { queryId: bigint; palletIndex: number; callIndex: number }
524
- >;
525
-
526
- /**
527
- * Expected query response has been received but the origin location of the response does
528
- * not match that expected. The query remains registered for a later, valid, response to
529
- * be received and acted upon.
530
- **/
531
- InvalidResponder: GenericPalletEvent<
532
- 'PolkadotXcm',
533
- 'InvalidResponder',
534
- {
535
- origin: StagingXcmV3MultilocationMultiLocation;
536
- queryId: bigint;
537
- expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
538
- }
539
- >;
540
-
541
- /**
542
- * Expected query response has been received but the expected origin location placed in
543
- * storage by this runtime previously cannot be decoded. The query remains registered.
544
- *
545
- * This is unexpected (since a location placed in storage in a previously executing
546
- * runtime should be readable prior to query timeout) and dangerous since the possibly
547
- * valid response will be dropped. Manual governance intervention is probably going to be
548
- * needed.
549
- **/
550
- InvalidResponderVersion: GenericPalletEvent<
551
- 'PolkadotXcm',
552
- 'InvalidResponderVersion',
553
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
554
- >;
555
-
556
- /**
557
- * Received query response has been read and removed.
558
- **/
559
- ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
560
-
561
- /**
562
- * Some assets have been placed in an asset trap.
563
- **/
564
- AssetsTrapped: GenericPalletEvent<
565
- 'PolkadotXcm',
566
- 'AssetsTrapped',
567
- { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
568
- >;
569
-
570
- /**
571
- * An XCM version change notification message has been attempted to be sent.
572
- *
573
- * The cost of sending it (borne by the chain) is included.
574
- **/
575
- VersionChangeNotified: GenericPalletEvent<
576
- 'PolkadotXcm',
577
- 'VersionChangeNotified',
578
- {
579
- destination: StagingXcmV3MultilocationMultiLocation;
580
- result: number;
581
- cost: XcmV3MultiassetMultiAssets;
582
- messageId: FixedBytes<32>;
583
- }
584
- >;
585
-
586
- /**
587
- * The supported version of a location has been changed. This might be through an
588
- * automatic notification or a manual intervention.
589
- **/
590
- SupportedVersionChanged: GenericPalletEvent<
591
- 'PolkadotXcm',
592
- 'SupportedVersionChanged',
593
- { location: StagingXcmV3MultilocationMultiLocation; version: number }
594
- >;
595
-
596
- /**
597
- * A given location which had a version change subscription was dropped owing to an error
598
- * sending the notification to it.
599
- **/
600
- NotifyTargetSendFail: GenericPalletEvent<
601
- 'PolkadotXcm',
602
- 'NotifyTargetSendFail',
603
- { location: StagingXcmV3MultilocationMultiLocation; queryId: bigint; error: XcmV3TraitsError }
604
- >;
605
-
606
- /**
607
- * A given location which had a version change subscription was dropped owing to an error
608
- * migrating the location to our new XCM format.
609
- **/
610
- NotifyTargetMigrationFail: GenericPalletEvent<
611
- 'PolkadotXcm',
612
- 'NotifyTargetMigrationFail',
613
- { location: XcmVersionedMultiLocation; queryId: bigint }
614
- >;
615
-
616
- /**
617
- * Expected query response has been received but the expected querier location placed in
618
- * storage by this runtime previously cannot be decoded. The query remains registered.
619
- *
620
- * This is unexpected (since a location placed in storage in a previously executing
621
- * runtime should be readable prior to query timeout) and dangerous since the possibly
622
- * valid response will be dropped. Manual governance intervention is probably going to be
623
- * needed.
624
- **/
625
- InvalidQuerierVersion: GenericPalletEvent<
626
- 'PolkadotXcm',
627
- 'InvalidQuerierVersion',
628
- { origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
629
- >;
630
-
631
- /**
632
- * Expected query response has been received but the querier location of the response does
633
- * not match the expected. The query remains registered for a later, valid, response to
634
- * be received and acted upon.
635
- **/
636
- InvalidQuerier: GenericPalletEvent<
637
- 'PolkadotXcm',
638
- 'InvalidQuerier',
639
- {
640
- origin: StagingXcmV3MultilocationMultiLocation;
641
- queryId: bigint;
642
- expectedQuerier: StagingXcmV3MultilocationMultiLocation;
643
- maybeActualQuerier?: StagingXcmV3MultilocationMultiLocation | undefined;
644
- }
645
- >;
646
-
647
- /**
648
- * A remote has requested XCM version change notification from us and we have honored it.
649
- * A version information message is sent to them and its cost is included.
650
- **/
651
- VersionNotifyStarted: GenericPalletEvent<
652
- 'PolkadotXcm',
653
- 'VersionNotifyStarted',
654
- {
655
- destination: StagingXcmV3MultilocationMultiLocation;
656
- cost: XcmV3MultiassetMultiAssets;
657
- messageId: FixedBytes<32>;
658
- }
659
- >;
660
-
661
- /**
662
- * We have requested that a remote chain send us XCM version change notifications.
663
- **/
664
- VersionNotifyRequested: GenericPalletEvent<
665
- 'PolkadotXcm',
666
- 'VersionNotifyRequested',
667
- {
668
- destination: StagingXcmV3MultilocationMultiLocation;
669
- cost: XcmV3MultiassetMultiAssets;
670
- messageId: FixedBytes<32>;
671
- }
672
- >;
673
-
674
- /**
675
- * We have requested that a remote chain stops sending us XCM version change
676
- * notifications.
677
- **/
678
- VersionNotifyUnrequested: GenericPalletEvent<
679
- 'PolkadotXcm',
680
- 'VersionNotifyUnrequested',
681
- {
682
- destination: StagingXcmV3MultilocationMultiLocation;
683
- cost: XcmV3MultiassetMultiAssets;
684
- messageId: FixedBytes<32>;
685
- }
686
- >;
687
-
688
- /**
689
- * Fees were paid from a location for an operation (often for using `SendXcm`).
690
- **/
691
- FeesPaid: GenericPalletEvent<
692
- 'PolkadotXcm',
693
- 'FeesPaid',
694
- { paying: StagingXcmV3MultilocationMultiLocation; fees: XcmV3MultiassetMultiAssets }
695
- >;
696
-
697
- /**
698
- * Some assets have been claimed from an asset trap
699
- **/
700
- AssetsClaimed: GenericPalletEvent<
701
- 'PolkadotXcm',
702
- 'AssetsClaimed',
703
- { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
704
- >;
705
-
706
- /**
707
- * Generic pallet event
708
- **/
709
- [prop: string]: GenericPalletEvent;
710
- };
711
- /**
712
- * Pallet `CumulusXcm`'s events
713
- **/
714
- cumulusXcm: {
715
- /**
716
- * Downward message is invalid XCM.
717
- * \[ id \]
718
- **/
719
- InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
720
-
721
- /**
722
- * Downward message is unsupported version of XCM.
723
- * \[ id \]
724
- **/
725
- UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
726
-
727
- /**
728
- * Downward message executed with the given outcome.
729
- * \[ id, outcome \]
730
- **/
731
- ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, XcmV3TraitsOutcome]>;
732
-
733
- /**
734
- * Generic pallet event
735
- **/
736
- [prop: string]: GenericPalletEvent;
737
- };
738
- /**
739
- * Pallet `DmpQueue`'s events
740
- **/
741
- dmpQueue: {
742
- /**
743
- * Downward message is invalid XCM.
744
- **/
745
- InvalidFormat: GenericPalletEvent<'DmpQueue', 'InvalidFormat', { messageHash: FixedBytes<32> }>;
746
-
747
- /**
748
- * Downward message is unsupported version of XCM.
749
- **/
750
- UnsupportedVersion: GenericPalletEvent<'DmpQueue', 'UnsupportedVersion', { messageHash: FixedBytes<32> }>;
751
-
752
- /**
753
- * Downward message executed with the given outcome.
754
- **/
755
- ExecutedDownward: GenericPalletEvent<
756
- 'DmpQueue',
757
- 'ExecutedDownward',
758
- { messageHash: FixedBytes<32>; messageId: FixedBytes<32>; outcome: XcmV3TraitsOutcome }
759
- >;
760
-
761
- /**
762
- * The weight limit for handling downward messages was reached.
763
- **/
764
- WeightExhausted: GenericPalletEvent<
765
- 'DmpQueue',
766
- 'WeightExhausted',
767
- {
768
- messageHash: FixedBytes<32>;
769
- messageId: FixedBytes<32>;
770
- remainingWeight: SpWeightsWeightV2Weight;
771
- requiredWeight: SpWeightsWeightV2Weight;
772
- }
773
- >;
774
-
775
- /**
776
- * Downward message is overweight and was placed in the overweight queue.
777
- **/
778
- OverweightEnqueued: GenericPalletEvent<
779
- 'DmpQueue',
780
- 'OverweightEnqueued',
781
- {
782
- messageHash: FixedBytes<32>;
783
- messageId: FixedBytes<32>;
784
- overweightIndex: bigint;
785
- requiredWeight: SpWeightsWeightV2Weight;
786
- }
787
- >;
788
-
789
- /**
790
- * Downward message from the overweight queue was executed.
791
- **/
792
- OverweightServiced: GenericPalletEvent<
793
- 'DmpQueue',
794
- 'OverweightServiced',
795
- { overweightIndex: bigint; weightUsed: SpWeightsWeightV2Weight }
796
- >;
797
-
798
- /**
799
- * The maximum number of downward messages was reached.
800
- **/
801
- MaxMessagesExhausted: GenericPalletEvent<'DmpQueue', 'MaxMessagesExhausted', { messageHash: FixedBytes<32> }>;
802
-
803
- /**
804
- * Generic pallet event
805
- **/
806
- [prop: string]: GenericPalletEvent;
807
- };
808
- /**
809
- * Pallet `Utility`'s events
810
- **/
811
- utility: {
812
- /**
813
- * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
814
- * well as the error.
815
- **/
816
- BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
817
-
818
- /**
819
- * Batch of dispatches completed fully with no error.
820
- **/
821
- BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
822
-
823
- /**
824
- * Batch of dispatches completed but has errors.
825
- **/
826
- BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
827
-
828
- /**
829
- * A single item within a Batch of dispatches has completed with no error.
830
- **/
831
- ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
832
-
833
- /**
834
- * A single item within a Batch of dispatches has completed with error.
835
- **/
836
- ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
837
-
838
- /**
839
- * A call was dispatched.
840
- **/
841
- DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
842
-
843
- /**
844
- * Generic pallet event
845
- **/
846
- [prop: string]: GenericPalletEvent;
847
- };
848
- /**
849
- * Pallet `Multisig`'s events
850
- **/
851
- multisig: {
852
- /**
853
- * A new multisig operation has begun.
854
- **/
855
- NewMultisig: GenericPalletEvent<
856
- 'Multisig',
857
- 'NewMultisig',
858
- { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
859
- >;
860
-
861
- /**
862
- * A multisig operation has been approved by someone.
863
- **/
864
- MultisigApproval: GenericPalletEvent<
865
- 'Multisig',
866
- 'MultisigApproval',
867
- { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
868
- >;
869
-
870
- /**
871
- * A multisig operation has been executed.
872
- **/
873
- MultisigExecuted: GenericPalletEvent<
874
- 'Multisig',
875
- 'MultisigExecuted',
876
- {
877
- approving: AccountId32;
878
- timepoint: PalletMultisigTimepoint;
879
- multisig: AccountId32;
880
- callHash: FixedBytes<32>;
881
- result: Result<[], DispatchError>;
882
- }
883
- >;
884
-
885
- /**
886
- * A multisig operation has been cancelled.
887
- **/
888
- MultisigCancelled: GenericPalletEvent<
889
- 'Multisig',
890
- 'MultisigCancelled',
891
- { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
892
- >;
893
-
894
- /**
895
- * Generic pallet event
896
- **/
897
- [prop: string]: GenericPalletEvent;
898
- };
899
- /**
900
- * Pallet `Proxy`'s events
901
- **/
902
- proxy: {
903
- /**
904
- * A proxy was executed correctly, with the given.
905
- **/
906
- ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
907
-
908
- /**
909
- * A pure account has been created by new proxy with given
910
- * disambiguation index and proxy type.
911
- **/
912
- PureCreated: GenericPalletEvent<
913
- 'Proxy',
914
- 'PureCreated',
915
- { pure: AccountId32; who: AccountId32; proxyType: AssetHubKusamaRuntimeProxyType; disambiguationIndex: number }
916
- >;
917
-
918
- /**
919
- * An announcement was placed to make a call in the future.
920
- **/
921
- Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
922
-
923
- /**
924
- * A proxy was added.
925
- **/
926
- ProxyAdded: GenericPalletEvent<
927
- 'Proxy',
928
- 'ProxyAdded',
929
- { delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubKusamaRuntimeProxyType; delay: number }
930
- >;
931
-
932
- /**
933
- * A proxy was removed.
934
- **/
935
- ProxyRemoved: GenericPalletEvent<
936
- 'Proxy',
937
- 'ProxyRemoved',
938
- { delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubKusamaRuntimeProxyType; delay: number }
939
- >;
940
-
941
- /**
942
- * Generic pallet event
943
- **/
944
- [prop: string]: GenericPalletEvent;
945
- };
946
- /**
947
- * Pallet `Assets`'s events
948
- **/
949
- assets: {
950
- /**
951
- * Some asset class was created.
952
- **/
953
- Created: GenericPalletEvent<'Assets', 'Created', { assetId: number; creator: AccountId32; owner: AccountId32 }>;
954
-
955
- /**
956
- * Some assets were issued.
957
- **/
958
- Issued: GenericPalletEvent<'Assets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
959
-
960
- /**
961
- * Some assets were transferred.
962
- **/
963
- Transferred: GenericPalletEvent<
964
- 'Assets',
965
- 'Transferred',
966
- { assetId: number; from: AccountId32; to: AccountId32; amount: bigint }
967
- >;
968
-
969
- /**
970
- * Some assets were destroyed.
971
- **/
972
- Burned: GenericPalletEvent<'Assets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
973
-
974
- /**
975
- * The management team changed.
976
- **/
977
- TeamChanged: GenericPalletEvent<
978
- 'Assets',
979
- 'TeamChanged',
980
- { assetId: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
981
- >;
982
-
983
- /**
984
- * The owner changed.
985
- **/
986
- OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
987
-
988
- /**
989
- * Some account `who` was frozen.
990
- **/
991
- Frozen: GenericPalletEvent<'Assets', 'Frozen', { assetId: number; who: AccountId32 }>;
992
-
993
- /**
994
- * Some account `who` was thawed.
995
- **/
996
- Thawed: GenericPalletEvent<'Assets', 'Thawed', { assetId: number; who: AccountId32 }>;
997
-
998
- /**
999
- * Some asset `asset_id` was frozen.
1000
- **/
1001
- AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', { assetId: number }>;
1002
-
1003
- /**
1004
- * Some asset `asset_id` was thawed.
1005
- **/
1006
- AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', { assetId: number }>;
1007
-
1008
- /**
1009
- * Accounts were destroyed for given asset.
1010
- **/
1011
- AccountsDestroyed: GenericPalletEvent<
1012
- 'Assets',
1013
- 'AccountsDestroyed',
1014
- { assetId: number; accountsDestroyed: number; accountsRemaining: number }
1015
- >;
1016
-
1017
- /**
1018
- * Approvals were destroyed for given asset.
1019
- **/
1020
- ApprovalsDestroyed: GenericPalletEvent<
1021
- 'Assets',
1022
- 'ApprovalsDestroyed',
1023
- { assetId: number; approvalsDestroyed: number; approvalsRemaining: number }
1024
- >;
1025
-
1026
- /**
1027
- * An asset class is in the process of being destroyed.
1028
- **/
1029
- DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', { assetId: number }>;
1030
-
1031
- /**
1032
- * An asset class was destroyed.
1033
- **/
1034
- Destroyed: GenericPalletEvent<'Assets', 'Destroyed', { assetId: number }>;
1035
-
1036
- /**
1037
- * Some asset class was force-created.
1038
- **/
1039
- ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
1040
-
1041
- /**
1042
- * New metadata has been set for an asset.
1043
- **/
1044
- MetadataSet: GenericPalletEvent<
1045
- 'Assets',
1046
- 'MetadataSet',
1047
- { assetId: number; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
1048
- >;
1049
-
1050
- /**
1051
- * Metadata has been cleared for an asset.
1052
- **/
1053
- MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', { assetId: number }>;
1054
-
1055
- /**
1056
- * (Additional) funds have been approved for transfer to a destination account.
1057
- **/
1058
- ApprovedTransfer: GenericPalletEvent<
1059
- 'Assets',
1060
- 'ApprovedTransfer',
1061
- { assetId: number; source: AccountId32; delegate: AccountId32; amount: bigint }
1062
- >;
1063
-
1064
- /**
1065
- * An approval for account `delegate` was cancelled by `owner`.
1066
- **/
1067
- ApprovalCancelled: GenericPalletEvent<
1068
- 'Assets',
1069
- 'ApprovalCancelled',
1070
- { assetId: number; owner: AccountId32; delegate: AccountId32 }
1071
- >;
1072
-
1073
- /**
1074
- * An `amount` was transferred in its entirety from `owner` to `destination` by
1075
- * the approved `delegate`.
1076
- **/
1077
- TransferredApproved: GenericPalletEvent<
1078
- 'Assets',
1079
- 'TransferredApproved',
1080
- { assetId: number; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
1081
- >;
1082
-
1083
- /**
1084
- * An asset has had its attributes changed by the `Force` origin.
1085
- **/
1086
- AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', { assetId: number }>;
1087
-
1088
- /**
1089
- * The min_balance of an asset has been updated by the asset owner.
1090
- **/
1091
- AssetMinBalanceChanged: GenericPalletEvent<
1092
- 'Assets',
1093
- 'AssetMinBalanceChanged',
1094
- { assetId: number; newMinBalance: bigint }
1095
- >;
1096
-
1097
- /**
1098
- * Some account `who` was created with a deposit from `depositor`.
1099
- **/
1100
- Touched: GenericPalletEvent<'Assets', 'Touched', { assetId: number; who: AccountId32; depositor: AccountId32 }>;
1101
-
1102
- /**
1103
- * Some account `who` was blocked.
1104
- **/
1105
- Blocked: GenericPalletEvent<'Assets', 'Blocked', { assetId: number; who: AccountId32 }>;
1106
-
1107
- /**
1108
- * Generic pallet event
1109
- **/
1110
- [prop: string]: GenericPalletEvent;
1111
- };
1112
- /**
1113
- * Pallet `Uniques`'s events
1114
- **/
1115
- uniques: {
1116
- /**
1117
- * A `collection` was created.
1118
- **/
1119
- Created: GenericPalletEvent<'Uniques', 'Created', { collection: number; creator: AccountId32; owner: AccountId32 }>;
1120
-
1121
- /**
1122
- * A `collection` was force-created.
1123
- **/
1124
- ForceCreated: GenericPalletEvent<'Uniques', 'ForceCreated', { collection: number; owner: AccountId32 }>;
1125
-
1126
- /**
1127
- * A `collection` was destroyed.
1128
- **/
1129
- Destroyed: GenericPalletEvent<'Uniques', 'Destroyed', { collection: number }>;
1130
-
1131
- /**
1132
- * An `item` was issued.
1133
- **/
1134
- Issued: GenericPalletEvent<'Uniques', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
1135
-
1136
- /**
1137
- * An `item` was transferred.
1138
- **/
1139
- Transferred: GenericPalletEvent<
1140
- 'Uniques',
1141
- 'Transferred',
1142
- { collection: number; item: number; from: AccountId32; to: AccountId32 }
1143
- >;
1144
-
1145
- /**
1146
- * An `item` was destroyed.
1147
- **/
1148
- Burned: GenericPalletEvent<'Uniques', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
1149
-
1150
- /**
1151
- * Some `item` was frozen.
1152
- **/
1153
- Frozen: GenericPalletEvent<'Uniques', 'Frozen', { collection: number; item: number }>;
1154
-
1155
- /**
1156
- * Some `item` was thawed.
1157
- **/
1158
- Thawed: GenericPalletEvent<'Uniques', 'Thawed', { collection: number; item: number }>;
1159
-
1160
- /**
1161
- * Some `collection` was frozen.
1162
- **/
1163
- CollectionFrozen: GenericPalletEvent<'Uniques', 'CollectionFrozen', { collection: number }>;
1164
-
1165
- /**
1166
- * Some `collection` was thawed.
1167
- **/
1168
- CollectionThawed: GenericPalletEvent<'Uniques', 'CollectionThawed', { collection: number }>;
1169
-
1170
- /**
1171
- * The owner changed.
1172
- **/
1173
- OwnerChanged: GenericPalletEvent<'Uniques', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
1174
-
1175
- /**
1176
- * The management team changed.
1177
- **/
1178
- TeamChanged: GenericPalletEvent<
1179
- 'Uniques',
1180
- 'TeamChanged',
1181
- { collection: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
1182
- >;
1183
-
1184
- /**
1185
- * An `item` of a `collection` has been approved by the `owner` for transfer by
1186
- * a `delegate`.
1187
- **/
1188
- ApprovedTransfer: GenericPalletEvent<
1189
- 'Uniques',
1190
- 'ApprovedTransfer',
1191
- { collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
1192
- >;
1193
-
1194
- /**
1195
- * An approval for a `delegate` account to transfer the `item` of an item
1196
- * `collection` was cancelled by its `owner`.
1197
- **/
1198
- ApprovalCancelled: GenericPalletEvent<
1199
- 'Uniques',
1200
- 'ApprovalCancelled',
1201
- { collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
1202
- >;
1203
-
1204
- /**
1205
- * A `collection` has had its attributes changed by the `Force` origin.
1206
- **/
1207
- ItemStatusChanged: GenericPalletEvent<'Uniques', 'ItemStatusChanged', { collection: number }>;
1208
-
1209
- /**
1210
- * New metadata has been set for a `collection`.
1211
- **/
1212
- CollectionMetadataSet: GenericPalletEvent<
1213
- 'Uniques',
1214
- 'CollectionMetadataSet',
1215
- { collection: number; data: Bytes; isFrozen: boolean }
1216
- >;
1217
-
1218
- /**
1219
- * Metadata has been cleared for a `collection`.
1220
- **/
1221
- CollectionMetadataCleared: GenericPalletEvent<'Uniques', 'CollectionMetadataCleared', { collection: number }>;
1222
-
1223
- /**
1224
- * New metadata has been set for an item.
1225
- **/
1226
- MetadataSet: GenericPalletEvent<
1227
- 'Uniques',
1228
- 'MetadataSet',
1229
- { collection: number; item: number; data: Bytes; isFrozen: boolean }
1230
- >;
1231
-
1232
- /**
1233
- * Metadata has been cleared for an item.
1234
- **/
1235
- MetadataCleared: GenericPalletEvent<'Uniques', 'MetadataCleared', { collection: number; item: number }>;
1236
-
1237
- /**
1238
- * Metadata has been cleared for an item.
1239
- **/
1240
- Redeposited: GenericPalletEvent<'Uniques', 'Redeposited', { collection: number; successfulItems: Array<number> }>;
1241
-
1242
- /**
1243
- * New attribute metadata has been set for a `collection` or `item`.
1244
- **/
1245
- AttributeSet: GenericPalletEvent<
1246
- 'Uniques',
1247
- 'AttributeSet',
1248
- { collection: number; maybeItem?: number | undefined; key: Bytes; value: Bytes }
1249
- >;
1250
-
1251
- /**
1252
- * Attribute metadata has been cleared for a `collection` or `item`.
1253
- **/
1254
- AttributeCleared: GenericPalletEvent<
1255
- 'Uniques',
1256
- 'AttributeCleared',
1257
- { collection: number; maybeItem?: number | undefined; key: Bytes }
1258
- >;
1259
-
1260
- /**
1261
- * Ownership acceptance has changed for an account.
1262
- **/
1263
- OwnershipAcceptanceChanged: GenericPalletEvent<
1264
- 'Uniques',
1265
- 'OwnershipAcceptanceChanged',
1266
- { who: AccountId32; maybeCollection?: number | undefined }
1267
- >;
1268
-
1269
- /**
1270
- * Max supply has been set for a collection.
1271
- **/
1272
- CollectionMaxSupplySet: GenericPalletEvent<
1273
- 'Uniques',
1274
- 'CollectionMaxSupplySet',
1275
- { collection: number; maxSupply: number }
1276
- >;
1277
-
1278
- /**
1279
- * The price was set for the instance.
1280
- **/
1281
- ItemPriceSet: GenericPalletEvent<
1282
- 'Uniques',
1283
- 'ItemPriceSet',
1284
- { collection: number; item: number; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
1285
- >;
1286
-
1287
- /**
1288
- * The price for the instance was removed.
1289
- **/
1290
- ItemPriceRemoved: GenericPalletEvent<'Uniques', 'ItemPriceRemoved', { collection: number; item: number }>;
1291
-
1292
- /**
1293
- * An item was bought.
1294
- **/
1295
- ItemBought: GenericPalletEvent<
1296
- 'Uniques',
1297
- 'ItemBought',
1298
- { collection: number; item: number; price: bigint; seller: AccountId32; buyer: AccountId32 }
1299
- >;
1300
-
1301
- /**
1302
- * Generic pallet event
1303
- **/
1304
- [prop: string]: GenericPalletEvent;
1305
- };
1306
- /**
1307
- * Pallet `Nfts`'s events
1308
- **/
1309
- nfts: {
1310
- /**
1311
- * A `collection` was created.
1312
- **/
1313
- Created: GenericPalletEvent<'Nfts', 'Created', { collection: number; creator: AccountId32; owner: AccountId32 }>;
1314
-
1315
- /**
1316
- * A `collection` was force-created.
1317
- **/
1318
- ForceCreated: GenericPalletEvent<'Nfts', 'ForceCreated', { collection: number; owner: AccountId32 }>;
1319
-
1320
- /**
1321
- * A `collection` was destroyed.
1322
- **/
1323
- Destroyed: GenericPalletEvent<'Nfts', 'Destroyed', { collection: number }>;
1324
-
1325
- /**
1326
- * An `item` was issued.
1327
- **/
1328
- Issued: GenericPalletEvent<'Nfts', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
1329
-
1330
- /**
1331
- * An `item` was transferred.
1332
- **/
1333
- Transferred: GenericPalletEvent<
1334
- 'Nfts',
1335
- 'Transferred',
1336
- { collection: number; item: number; from: AccountId32; to: AccountId32 }
1337
- >;
1338
-
1339
- /**
1340
- * An `item` was destroyed.
1341
- **/
1342
- Burned: GenericPalletEvent<'Nfts', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
1343
-
1344
- /**
1345
- * An `item` became non-transferable.
1346
- **/
1347
- ItemTransferLocked: GenericPalletEvent<'Nfts', 'ItemTransferLocked', { collection: number; item: number }>;
1348
-
1349
- /**
1350
- * An `item` became transferable.
1351
- **/
1352
- ItemTransferUnlocked: GenericPalletEvent<'Nfts', 'ItemTransferUnlocked', { collection: number; item: number }>;
1353
-
1354
- /**
1355
- * `item` metadata or attributes were locked.
1356
- **/
1357
- ItemPropertiesLocked: GenericPalletEvent<
1358
- 'Nfts',
1359
- 'ItemPropertiesLocked',
1360
- { collection: number; item: number; lockMetadata: boolean; lockAttributes: boolean }
1361
- >;
1362
-
1363
- /**
1364
- * Some `collection` was locked.
1365
- **/
1366
- CollectionLocked: GenericPalletEvent<'Nfts', 'CollectionLocked', { collection: number }>;
1367
-
1368
- /**
1369
- * The owner changed.
1370
- **/
1371
- OwnerChanged: GenericPalletEvent<'Nfts', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
1372
-
1373
- /**
1374
- * The management team changed.
1375
- **/
1376
- TeamChanged: GenericPalletEvent<
1377
- 'Nfts',
1378
- 'TeamChanged',
1379
- {
1380
- collection: number;
1381
- issuer?: AccountId32 | undefined;
1382
- admin?: AccountId32 | undefined;
1383
- freezer?: AccountId32 | undefined;
1384
- }
1385
- >;
1386
-
1387
- /**
1388
- * An `item` of a `collection` has been approved by the `owner` for transfer by
1389
- * a `delegate`.
1390
- **/
1391
- TransferApproved: GenericPalletEvent<
1392
- 'Nfts',
1393
- 'TransferApproved',
1394
- { collection: number; item: number; owner: AccountId32; delegate: AccountId32; deadline?: number | undefined }
1395
- >;
1396
-
1397
- /**
1398
- * An approval for a `delegate` account to transfer the `item` of an item
1399
- * `collection` was cancelled by its `owner`.
1400
- **/
1401
- ApprovalCancelled: GenericPalletEvent<
1402
- 'Nfts',
1403
- 'ApprovalCancelled',
1404
- { collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
1405
- >;
1406
-
1407
- /**
1408
- * All approvals of an item got cancelled.
1409
- **/
1410
- AllApprovalsCancelled: GenericPalletEvent<
1411
- 'Nfts',
1412
- 'AllApprovalsCancelled',
1413
- { collection: number; item: number; owner: AccountId32 }
1414
- >;
1415
-
1416
- /**
1417
- * A `collection` has had its config changed by the `Force` origin.
1418
- **/
1419
- CollectionConfigChanged: GenericPalletEvent<'Nfts', 'CollectionConfigChanged', { collection: number }>;
1420
-
1421
- /**
1422
- * New metadata has been set for a `collection`.
1423
- **/
1424
- CollectionMetadataSet: GenericPalletEvent<'Nfts', 'CollectionMetadataSet', { collection: number; data: Bytes }>;
1425
-
1426
- /**
1427
- * Metadata has been cleared for a `collection`.
1428
- **/
1429
- CollectionMetadataCleared: GenericPalletEvent<'Nfts', 'CollectionMetadataCleared', { collection: number }>;
1430
-
1431
- /**
1432
- * New metadata has been set for an item.
1433
- **/
1434
- ItemMetadataSet: GenericPalletEvent<'Nfts', 'ItemMetadataSet', { collection: number; item: number; data: Bytes }>;
1435
-
1436
- /**
1437
- * Metadata has been cleared for an item.
1438
- **/
1439
- ItemMetadataCleared: GenericPalletEvent<'Nfts', 'ItemMetadataCleared', { collection: number; item: number }>;
1440
-
1441
- /**
1442
- * The deposit for a set of `item`s within a `collection` has been updated.
1443
- **/
1444
- Redeposited: GenericPalletEvent<'Nfts', 'Redeposited', { collection: number; successfulItems: Array<number> }>;
1445
-
1446
- /**
1447
- * New attribute metadata has been set for a `collection` or `item`.
1448
- **/
1449
- AttributeSet: GenericPalletEvent<
1450
- 'Nfts',
1451
- 'AttributeSet',
1452
- {
1453
- collection: number;
1454
- maybeItem?: number | undefined;
1455
- key: Bytes;
1456
- value: Bytes;
1457
- namespace: PalletNftsAttributeNamespace;
1458
- }
1459
- >;
1460
-
1461
- /**
1462
- * Attribute metadata has been cleared for a `collection` or `item`.
1463
- **/
1464
- AttributeCleared: GenericPalletEvent<
1465
- 'Nfts',
1466
- 'AttributeCleared',
1467
- { collection: number; maybeItem?: number | undefined; key: Bytes; namespace: PalletNftsAttributeNamespace }
1468
- >;
1469
-
1470
- /**
1471
- * A new approval to modify item attributes was added.
1472
- **/
1473
- ItemAttributesApprovalAdded: GenericPalletEvent<
1474
- 'Nfts',
1475
- 'ItemAttributesApprovalAdded',
1476
- { collection: number; item: number; delegate: AccountId32 }
1477
- >;
1478
-
1479
- /**
1480
- * A new approval to modify item attributes was removed.
1481
- **/
1482
- ItemAttributesApprovalRemoved: GenericPalletEvent<
1483
- 'Nfts',
1484
- 'ItemAttributesApprovalRemoved',
1485
- { collection: number; item: number; delegate: AccountId32 }
1486
- >;
1487
-
1488
- /**
1489
- * Ownership acceptance has changed for an account.
1490
- **/
1491
- OwnershipAcceptanceChanged: GenericPalletEvent<
1492
- 'Nfts',
1493
- 'OwnershipAcceptanceChanged',
1494
- { who: AccountId32; maybeCollection?: number | undefined }
1495
- >;
1496
-
1497
- /**
1498
- * Max supply has been set for a collection.
1499
- **/
1500
- CollectionMaxSupplySet: GenericPalletEvent<
1501
- 'Nfts',
1502
- 'CollectionMaxSupplySet',
1503
- { collection: number; maxSupply: number }
1504
- >;
1505
-
1506
- /**
1507
- * Mint settings for a collection had changed.
1508
- **/
1509
- CollectionMintSettingsUpdated: GenericPalletEvent<'Nfts', 'CollectionMintSettingsUpdated', { collection: number }>;
1510
-
1511
- /**
1512
- * Event gets emitted when the `NextCollectionId` gets incremented.
1513
- **/
1514
- NextCollectionIdIncremented: GenericPalletEvent<
1515
- 'Nfts',
1516
- 'NextCollectionIdIncremented',
1517
- { nextId?: number | undefined }
1518
- >;
1519
-
1520
- /**
1521
- * The price was set for the item.
1522
- **/
1523
- ItemPriceSet: GenericPalletEvent<
1524
- 'Nfts',
1525
- 'ItemPriceSet',
1526
- { collection: number; item: number; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
1527
- >;
1528
-
1529
- /**
1530
- * The price for the item was removed.
1531
- **/
1532
- ItemPriceRemoved: GenericPalletEvent<'Nfts', 'ItemPriceRemoved', { collection: number; item: number }>;
1533
-
1534
- /**
1535
- * An item was bought.
1536
- **/
1537
- ItemBought: GenericPalletEvent<
1538
- 'Nfts',
1539
- 'ItemBought',
1540
- { collection: number; item: number; price: bigint; seller: AccountId32; buyer: AccountId32 }
1541
- >;
1542
-
1543
- /**
1544
- * A tip was sent.
1545
- **/
1546
- TipSent: GenericPalletEvent<
1547
- 'Nfts',
1548
- 'TipSent',
1549
- { collection: number; item: number; sender: AccountId32; receiver: AccountId32; amount: bigint }
1550
- >;
1551
-
1552
- /**
1553
- * An `item` swap intent was created.
1554
- **/
1555
- SwapCreated: GenericPalletEvent<
1556
- 'Nfts',
1557
- 'SwapCreated',
1558
- {
1559
- offeredCollection: number;
1560
- offeredItem: number;
1561
- desiredCollection: number;
1562
- desiredItem?: number | undefined;
1563
- price?: PalletNftsPriceWithDirection | undefined;
1564
- deadline: number;
1565
- }
1566
- >;
1567
-
1568
- /**
1569
- * The swap was cancelled.
1570
- **/
1571
- SwapCancelled: GenericPalletEvent<
1572
- 'Nfts',
1573
- 'SwapCancelled',
1574
- {
1575
- offeredCollection: number;
1576
- offeredItem: number;
1577
- desiredCollection: number;
1578
- desiredItem?: number | undefined;
1579
- price?: PalletNftsPriceWithDirection | undefined;
1580
- deadline: number;
1581
- }
1582
- >;
1583
-
1584
- /**
1585
- * The swap has been claimed.
1586
- **/
1587
- SwapClaimed: GenericPalletEvent<
1588
- 'Nfts',
1589
- 'SwapClaimed',
1590
- {
1591
- sentCollection: number;
1592
- sentItem: number;
1593
- sentItemOwner: AccountId32;
1594
- receivedCollection: number;
1595
- receivedItem: number;
1596
- receivedItemOwner: AccountId32;
1597
- price?: PalletNftsPriceWithDirection | undefined;
1598
- deadline: number;
1599
- }
1600
- >;
1601
-
1602
- /**
1603
- * New attributes have been set for an `item` of the `collection`.
1604
- **/
1605
- PreSignedAttributesSet: GenericPalletEvent<
1606
- 'Nfts',
1607
- 'PreSignedAttributesSet',
1608
- { collection: number; item: number; namespace: PalletNftsAttributeNamespace }
1609
- >;
1610
-
1611
- /**
1612
- * A new attribute in the `Pallet` namespace was set for the `collection` or an `item`
1613
- * within that `collection`.
1614
- **/
1615
- PalletAttributeSet: GenericPalletEvent<
1616
- 'Nfts',
1617
- 'PalletAttributeSet',
1618
- { collection: number; item?: number | undefined; attribute: PalletNftsPalletAttributes; value: Bytes }
1619
- >;
1620
-
1621
- /**
1622
- * Generic pallet event
1623
- **/
1624
- [prop: string]: GenericPalletEvent;
1625
- };
1626
- /**
1627
- * Pallet `ForeignAssets`'s events
1628
- **/
1629
- foreignAssets: {
1630
- /**
1631
- * Some asset class was created.
1632
- **/
1633
- Created: GenericPalletEvent<
1634
- 'ForeignAssets',
1635
- 'Created',
1636
- { assetId: StagingXcmV3MultilocationMultiLocation; creator: AccountId32; owner: AccountId32 }
1637
- >;
1638
-
1639
- /**
1640
- * Some assets were issued.
1641
- **/
1642
- Issued: GenericPalletEvent<
1643
- 'ForeignAssets',
1644
- 'Issued',
1645
- { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; amount: bigint }
1646
- >;
1647
-
1648
- /**
1649
- * Some assets were transferred.
1650
- **/
1651
- Transferred: GenericPalletEvent<
1652
- 'ForeignAssets',
1653
- 'Transferred',
1654
- { assetId: StagingXcmV3MultilocationMultiLocation; from: AccountId32; to: AccountId32; amount: bigint }
1655
- >;
1656
-
1657
- /**
1658
- * Some assets were destroyed.
1659
- **/
1660
- Burned: GenericPalletEvent<
1661
- 'ForeignAssets',
1662
- 'Burned',
1663
- { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; balance: bigint }
1664
- >;
1665
-
1666
- /**
1667
- * The management team changed.
1668
- **/
1669
- TeamChanged: GenericPalletEvent<
1670
- 'ForeignAssets',
1671
- 'TeamChanged',
1672
- { assetId: StagingXcmV3MultilocationMultiLocation; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
1673
- >;
1674
-
1675
- /**
1676
- * The owner changed.
1677
- **/
1678
- OwnerChanged: GenericPalletEvent<
1679
- 'ForeignAssets',
1680
- 'OwnerChanged',
1681
- { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32 }
1682
- >;
1683
-
1684
- /**
1685
- * Some account `who` was frozen.
1686
- **/
1687
- Frozen: GenericPalletEvent<
1688
- 'ForeignAssets',
1689
- 'Frozen',
1690
- { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
1691
- >;
1692
-
1693
- /**
1694
- * Some account `who` was thawed.
1695
- **/
1696
- Thawed: GenericPalletEvent<
1697
- 'ForeignAssets',
1698
- 'Thawed',
1699
- { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
1700
- >;
1701
-
1702
- /**
1703
- * Some asset `asset_id` was frozen.
1704
- **/
1705
- AssetFrozen: GenericPalletEvent<
1706
- 'ForeignAssets',
1707
- 'AssetFrozen',
1708
- { assetId: StagingXcmV3MultilocationMultiLocation }
1709
- >;
1710
-
1711
- /**
1712
- * Some asset `asset_id` was thawed.
1713
- **/
1714
- AssetThawed: GenericPalletEvent<
1715
- 'ForeignAssets',
1716
- 'AssetThawed',
1717
- { assetId: StagingXcmV3MultilocationMultiLocation }
1718
- >;
1719
-
1720
- /**
1721
- * Accounts were destroyed for given asset.
1722
- **/
1723
- AccountsDestroyed: GenericPalletEvent<
1724
- 'ForeignAssets',
1725
- 'AccountsDestroyed',
1726
- { assetId: StagingXcmV3MultilocationMultiLocation; accountsDestroyed: number; accountsRemaining: number }
1727
- >;
1728
-
1729
- /**
1730
- * Approvals were destroyed for given asset.
1731
- **/
1732
- ApprovalsDestroyed: GenericPalletEvent<
1733
- 'ForeignAssets',
1734
- 'ApprovalsDestroyed',
1735
- { assetId: StagingXcmV3MultilocationMultiLocation; approvalsDestroyed: number; approvalsRemaining: number }
1736
- >;
1737
-
1738
- /**
1739
- * An asset class is in the process of being destroyed.
1740
- **/
1741
- DestructionStarted: GenericPalletEvent<
1742
- 'ForeignAssets',
1743
- 'DestructionStarted',
1744
- { assetId: StagingXcmV3MultilocationMultiLocation }
1745
- >;
1746
-
1747
- /**
1748
- * An asset class was destroyed.
1749
- **/
1750
- Destroyed: GenericPalletEvent<'ForeignAssets', 'Destroyed', { assetId: StagingXcmV3MultilocationMultiLocation }>;
1751
-
1752
- /**
1753
- * Some asset class was force-created.
1754
- **/
1755
- ForceCreated: GenericPalletEvent<
1756
- 'ForeignAssets',
1757
- 'ForceCreated',
1758
- { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32 }
1759
- >;
1760
-
1761
- /**
1762
- * New metadata has been set for an asset.
1763
- **/
1764
- MetadataSet: GenericPalletEvent<
1765
- 'ForeignAssets',
1766
- 'MetadataSet',
1767
- {
1768
- assetId: StagingXcmV3MultilocationMultiLocation;
1769
- name: Bytes;
1770
- symbol: Bytes;
1771
- decimals: number;
1772
- isFrozen: boolean;
1773
- }
1774
- >;
1775
-
1776
- /**
1777
- * Metadata has been cleared for an asset.
1778
- **/
1779
- MetadataCleared: GenericPalletEvent<
1780
- 'ForeignAssets',
1781
- 'MetadataCleared',
1782
- { assetId: StagingXcmV3MultilocationMultiLocation }
1783
- >;
1784
-
1785
- /**
1786
- * (Additional) funds have been approved for transfer to a destination account.
1787
- **/
1788
- ApprovedTransfer: GenericPalletEvent<
1789
- 'ForeignAssets',
1790
- 'ApprovedTransfer',
1791
- { assetId: StagingXcmV3MultilocationMultiLocation; source: AccountId32; delegate: AccountId32; amount: bigint }
1792
- >;
1793
-
1794
- /**
1795
- * An approval for account `delegate` was cancelled by `owner`.
1796
- **/
1797
- ApprovalCancelled: GenericPalletEvent<
1798
- 'ForeignAssets',
1799
- 'ApprovalCancelled',
1800
- { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; delegate: AccountId32 }
1801
- >;
1802
-
1803
- /**
1804
- * An `amount` was transferred in its entirety from `owner` to `destination` by
1805
- * the approved `delegate`.
1806
- **/
1807
- TransferredApproved: GenericPalletEvent<
1808
- 'ForeignAssets',
1809
- 'TransferredApproved',
1810
- {
1811
- assetId: StagingXcmV3MultilocationMultiLocation;
1812
- owner: AccountId32;
1813
- delegate: AccountId32;
1814
- destination: AccountId32;
1815
- amount: bigint;
1816
- }
1817
- >;
1818
-
1819
- /**
1820
- * An asset has had its attributes changed by the `Force` origin.
1821
- **/
1822
- AssetStatusChanged: GenericPalletEvent<
1823
- 'ForeignAssets',
1824
- 'AssetStatusChanged',
1825
- { assetId: StagingXcmV3MultilocationMultiLocation }
1826
- >;
1827
-
1828
- /**
1829
- * The min_balance of an asset has been updated by the asset owner.
1830
- **/
1831
- AssetMinBalanceChanged: GenericPalletEvent<
1832
- 'ForeignAssets',
1833
- 'AssetMinBalanceChanged',
1834
- { assetId: StagingXcmV3MultilocationMultiLocation; newMinBalance: bigint }
1835
- >;
1836
-
1837
- /**
1838
- * Some account `who` was created with a deposit from `depositor`.
1839
- **/
1840
- Touched: GenericPalletEvent<
1841
- 'ForeignAssets',
1842
- 'Touched',
1843
- { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; depositor: AccountId32 }
1844
- >;
1845
-
1846
- /**
1847
- * Some account `who` was blocked.
1848
- **/
1849
- Blocked: GenericPalletEvent<
1850
- 'ForeignAssets',
1851
- 'Blocked',
1852
- { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
1853
- >;
1854
-
1855
- /**
1856
- * Generic pallet event
1857
- **/
1858
- [prop: string]: GenericPalletEvent;
1859
- };
1860
- /**
1861
- * Pallet `NftFractionalization`'s events
1862
- **/
1863
- nftFractionalization: {
1864
- /**
1865
- * An NFT was successfully fractionalized.
1866
- **/
1867
- NftFractionalized: GenericPalletEvent<
1868
- 'NftFractionalization',
1869
- 'NftFractionalized',
1870
- { nftCollection: number; nft: number; fractions: bigint; asset: number; beneficiary: AccountId32 }
1871
- >;
1872
-
1873
- /**
1874
- * An NFT was successfully returned back.
1875
- **/
1876
- NftUnified: GenericPalletEvent<
1877
- 'NftFractionalization',
1878
- 'NftUnified',
1879
- { nftCollection: number; nft: number; asset: number; beneficiary: AccountId32 }
1880
- >;
1881
-
1882
- /**
1883
- * Generic pallet event
1884
- **/
1885
- [prop: string]: GenericPalletEvent;
1886
- };
1887
- /**
1888
- * Pallet `PoolAssets`'s events
1889
- **/
1890
- poolAssets: {
1891
- /**
1892
- * Some asset class was created.
1893
- **/
1894
- Created: GenericPalletEvent<'PoolAssets', 'Created', { assetId: number; creator: AccountId32; owner: AccountId32 }>;
1895
-
1896
- /**
1897
- * Some assets were issued.
1898
- **/
1899
- Issued: GenericPalletEvent<'PoolAssets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
1900
-
1901
- /**
1902
- * Some assets were transferred.
1903
- **/
1904
- Transferred: GenericPalletEvent<
1905
- 'PoolAssets',
1906
- 'Transferred',
1907
- { assetId: number; from: AccountId32; to: AccountId32; amount: bigint }
1908
- >;
1909
-
1910
- /**
1911
- * Some assets were destroyed.
1912
- **/
1913
- Burned: GenericPalletEvent<'PoolAssets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
1914
-
1915
- /**
1916
- * The management team changed.
1917
- **/
1918
- TeamChanged: GenericPalletEvent<
1919
- 'PoolAssets',
1920
- 'TeamChanged',
1921
- { assetId: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
1922
- >;
1923
-
1924
- /**
1925
- * The owner changed.
1926
- **/
1927
- OwnerChanged: GenericPalletEvent<'PoolAssets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
1928
-
1929
- /**
1930
- * Some account `who` was frozen.
1931
- **/
1932
- Frozen: GenericPalletEvent<'PoolAssets', 'Frozen', { assetId: number; who: AccountId32 }>;
1933
-
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
+ };
1934
50
  /**
1935
- * Some account `who` was thawed.
51
+ * Pallet `ParachainSystem`'s events
1936
52
  **/
1937
- Thawed: GenericPalletEvent<'PoolAssets', 'Thawed', { assetId: number; who: AccountId32 }>;
1938
-
53
+ parachainSystem: {
54
+ /**
55
+ * The validation function has been scheduled to apply.
56
+ **/
57
+ ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
58
+ /**
59
+ * The validation function was applied as of the contained relay chain block number.
60
+ **/
61
+ ValidationFunctionApplied: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionApplied', {
62
+ relayChainBlockNum: number;
63
+ }>;
64
+ /**
65
+ * The relay-chain aborted the upgrade process.
66
+ **/
67
+ ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
68
+ /**
69
+ * An upgrade has been authorized.
70
+ **/
71
+ UpgradeAuthorized: GenericPalletEvent<'ParachainSystem', 'UpgradeAuthorized', {
72
+ codeHash: H256;
73
+ }>;
74
+ /**
75
+ * Some downward messages have been received and will be processed.
76
+ **/
77
+ DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', {
78
+ count: number;
79
+ }>;
80
+ /**
81
+ * Downward messages were processed using the given weight.
82
+ **/
83
+ DownwardMessagesProcessed: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesProcessed', {
84
+ weightUsed: SpWeightsWeightV2Weight;
85
+ dmqHead: H256;
86
+ }>;
87
+ /**
88
+ * An upward message was sent to the relay chain.
89
+ **/
90
+ UpwardMessageSent: GenericPalletEvent<'ParachainSystem', 'UpwardMessageSent', {
91
+ messageHash?: FixedBytes<32> | undefined;
92
+ }>;
93
+ /**
94
+ * Generic pallet event
95
+ **/
96
+ [prop: string]: GenericPalletEvent;
97
+ };
1939
98
  /**
1940
- * Some asset `asset_id` was frozen.
99
+ * Pallet `Balances`'s events
1941
100
  **/
1942
- AssetFrozen: GenericPalletEvent<'PoolAssets', 'AssetFrozen', { assetId: number }>;
1943
-
101
+ balances: {
102
+ /**
103
+ * An account was created with some free balance.
104
+ **/
105
+ Endowed: GenericPalletEvent<'Balances', 'Endowed', {
106
+ account: AccountId32;
107
+ freeBalance: bigint;
108
+ }>;
109
+ /**
110
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
111
+ * resulting in an outright loss.
112
+ **/
113
+ DustLost: GenericPalletEvent<'Balances', 'DustLost', {
114
+ account: AccountId32;
115
+ amount: bigint;
116
+ }>;
117
+ /**
118
+ * Transfer succeeded.
119
+ **/
120
+ Transfer: GenericPalletEvent<'Balances', 'Transfer', {
121
+ from: AccountId32;
122
+ to: AccountId32;
123
+ amount: bigint;
124
+ }>;
125
+ /**
126
+ * A balance was set by root.
127
+ **/
128
+ BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', {
129
+ who: AccountId32;
130
+ free: bigint;
131
+ }>;
132
+ /**
133
+ * Some balance was reserved (moved from free to reserved).
134
+ **/
135
+ Reserved: GenericPalletEvent<'Balances', 'Reserved', {
136
+ who: AccountId32;
137
+ amount: bigint;
138
+ }>;
139
+ /**
140
+ * Some balance was unreserved (moved from reserved to free).
141
+ **/
142
+ Unreserved: GenericPalletEvent<'Balances', 'Unreserved', {
143
+ who: AccountId32;
144
+ amount: bigint;
145
+ }>;
146
+ /**
147
+ * Some balance was moved from the reserve of the first account to the second account.
148
+ * Final argument indicates the destination balance type.
149
+ **/
150
+ ReserveRepatriated: GenericPalletEvent<'Balances', 'ReserveRepatriated', {
151
+ from: AccountId32;
152
+ to: AccountId32;
153
+ amount: bigint;
154
+ destinationStatus: FrameSupportTokensMiscBalanceStatus;
155
+ }>;
156
+ /**
157
+ * Some amount was deposited (e.g. for transaction fees).
158
+ **/
159
+ Deposit: GenericPalletEvent<'Balances', 'Deposit', {
160
+ who: AccountId32;
161
+ amount: bigint;
162
+ }>;
163
+ /**
164
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
165
+ **/
166
+ Withdraw: GenericPalletEvent<'Balances', 'Withdraw', {
167
+ who: AccountId32;
168
+ amount: bigint;
169
+ }>;
170
+ /**
171
+ * Some amount was removed from the account (e.g. for misbehavior).
172
+ **/
173
+ Slashed: GenericPalletEvent<'Balances', 'Slashed', {
174
+ who: AccountId32;
175
+ amount: bigint;
176
+ }>;
177
+ /**
178
+ * Some amount was minted into an account.
179
+ **/
180
+ Minted: GenericPalletEvent<'Balances', 'Minted', {
181
+ who: AccountId32;
182
+ amount: bigint;
183
+ }>;
184
+ /**
185
+ * Some amount was burned from an account.
186
+ **/
187
+ Burned: GenericPalletEvent<'Balances', 'Burned', {
188
+ who: AccountId32;
189
+ amount: bigint;
190
+ }>;
191
+ /**
192
+ * Some amount was suspended from an account (it can be restored later).
193
+ **/
194
+ Suspended: GenericPalletEvent<'Balances', 'Suspended', {
195
+ who: AccountId32;
196
+ amount: bigint;
197
+ }>;
198
+ /**
199
+ * Some amount was restored into an account.
200
+ **/
201
+ Restored: GenericPalletEvent<'Balances', 'Restored', {
202
+ who: AccountId32;
203
+ amount: bigint;
204
+ }>;
205
+ /**
206
+ * An account was upgraded.
207
+ **/
208
+ Upgraded: GenericPalletEvent<'Balances', 'Upgraded', {
209
+ who: AccountId32;
210
+ }>;
211
+ /**
212
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
213
+ **/
214
+ Issued: GenericPalletEvent<'Balances', 'Issued', {
215
+ amount: bigint;
216
+ }>;
217
+ /**
218
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
219
+ **/
220
+ Rescinded: GenericPalletEvent<'Balances', 'Rescinded', {
221
+ amount: bigint;
222
+ }>;
223
+ /**
224
+ * Some balance was locked.
225
+ **/
226
+ Locked: GenericPalletEvent<'Balances', 'Locked', {
227
+ who: AccountId32;
228
+ amount: bigint;
229
+ }>;
230
+ /**
231
+ * Some balance was unlocked.
232
+ **/
233
+ Unlocked: GenericPalletEvent<'Balances', 'Unlocked', {
234
+ who: AccountId32;
235
+ amount: bigint;
236
+ }>;
237
+ /**
238
+ * Some balance was frozen.
239
+ **/
240
+ Frozen: GenericPalletEvent<'Balances', 'Frozen', {
241
+ who: AccountId32;
242
+ amount: bigint;
243
+ }>;
244
+ /**
245
+ * Some balance was thawed.
246
+ **/
247
+ Thawed: GenericPalletEvent<'Balances', 'Thawed', {
248
+ who: AccountId32;
249
+ amount: bigint;
250
+ }>;
251
+ /**
252
+ * Generic pallet event
253
+ **/
254
+ [prop: string]: GenericPalletEvent;
255
+ };
1944
256
  /**
1945
- * Some asset `asset_id` was thawed.
257
+ * Pallet `TransactionPayment`'s events
1946
258
  **/
1947
- AssetThawed: GenericPalletEvent<'PoolAssets', 'AssetThawed', { assetId: number }>;
1948
-
259
+ transactionPayment: {
260
+ /**
261
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
262
+ * has been paid by `who`.
263
+ **/
264
+ TransactionFeePaid: GenericPalletEvent<'TransactionPayment', 'TransactionFeePaid', {
265
+ who: AccountId32;
266
+ actualFee: bigint;
267
+ tip: bigint;
268
+ }>;
269
+ /**
270
+ * Generic pallet event
271
+ **/
272
+ [prop: string]: GenericPalletEvent;
273
+ };
1949
274
  /**
1950
- * Accounts were destroyed for given asset.
275
+ * Pallet `AssetTxPayment`'s events
1951
276
  **/
1952
- AccountsDestroyed: GenericPalletEvent<
1953
- 'PoolAssets',
1954
- 'AccountsDestroyed',
1955
- { assetId: number; accountsDestroyed: number; accountsRemaining: number }
1956
- >;
1957
-
277
+ assetTxPayment: {
278
+ /**
279
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
280
+ * has been paid by `who` in an asset `asset_id`.
281
+ **/
282
+ AssetTxFeePaid: GenericPalletEvent<'AssetTxPayment', 'AssetTxFeePaid', {
283
+ who: AccountId32;
284
+ actualFee: bigint;
285
+ tip: bigint;
286
+ assetId: StagingXcmV3MultilocationMultiLocation;
287
+ }>;
288
+ /**
289
+ * A swap of the refund in native currency back to asset failed.
290
+ **/
291
+ AssetRefundFailed: GenericPalletEvent<'AssetTxPayment', 'AssetRefundFailed', {
292
+ nativeAmountKept: bigint;
293
+ }>;
294
+ /**
295
+ * Generic pallet event
296
+ **/
297
+ [prop: string]: GenericPalletEvent;
298
+ };
1958
299
  /**
1959
- * Approvals were destroyed for given asset.
300
+ * Pallet `CollatorSelection`'s events
1960
301
  **/
1961
- ApprovalsDestroyed: GenericPalletEvent<
1962
- 'PoolAssets',
1963
- 'ApprovalsDestroyed',
1964
- { assetId: number; approvalsDestroyed: number; approvalsRemaining: number }
1965
- >;
1966
-
302
+ collatorSelection: {
303
+ /**
304
+ * New Invulnerables were set.
305
+ **/
306
+ NewInvulnerables: GenericPalletEvent<'CollatorSelection', 'NewInvulnerables', {
307
+ invulnerables: Array<AccountId32>;
308
+ }>;
309
+ /**
310
+ * A new Invulnerable was added.
311
+ **/
312
+ InvulnerableAdded: GenericPalletEvent<'CollatorSelection', 'InvulnerableAdded', {
313
+ accountId: AccountId32;
314
+ }>;
315
+ /**
316
+ * An Invulnerable was removed.
317
+ **/
318
+ InvulnerableRemoved: GenericPalletEvent<'CollatorSelection', 'InvulnerableRemoved', {
319
+ accountId: AccountId32;
320
+ }>;
321
+ /**
322
+ * The number of desired candidates was set.
323
+ **/
324
+ NewDesiredCandidates: GenericPalletEvent<'CollatorSelection', 'NewDesiredCandidates', {
325
+ desiredCandidates: number;
326
+ }>;
327
+ /**
328
+ * The candidacy bond was set.
329
+ **/
330
+ NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', {
331
+ bondAmount: bigint;
332
+ }>;
333
+ /**
334
+ * A new candidate joined.
335
+ **/
336
+ CandidateAdded: GenericPalletEvent<'CollatorSelection', 'CandidateAdded', {
337
+ accountId: AccountId32;
338
+ deposit: bigint;
339
+ }>;
340
+ /**
341
+ * A candidate was removed.
342
+ **/
343
+ CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', {
344
+ accountId: AccountId32;
345
+ }>;
346
+ /**
347
+ * An account was unable to be added to the Invulnerables because they did not have keys
348
+ * registered. Other Invulnerables may have been set.
349
+ **/
350
+ InvalidInvulnerableSkipped: GenericPalletEvent<'CollatorSelection', 'InvalidInvulnerableSkipped', {
351
+ accountId: AccountId32;
352
+ }>;
353
+ /**
354
+ * Generic pallet event
355
+ **/
356
+ [prop: string]: GenericPalletEvent;
357
+ };
1967
358
  /**
1968
- * An asset class is in the process of being destroyed.
359
+ * Pallet `Session`'s events
1969
360
  **/
1970
- DestructionStarted: GenericPalletEvent<'PoolAssets', 'DestructionStarted', { assetId: number }>;
1971
-
361
+ session: {
362
+ /**
363
+ * New session has happened. Note that the argument is the session index, not the
364
+ * block number as the type might suggest.
365
+ **/
366
+ NewSession: GenericPalletEvent<'Session', 'NewSession', {
367
+ sessionIndex: number;
368
+ }>;
369
+ /**
370
+ * Generic pallet event
371
+ **/
372
+ [prop: string]: GenericPalletEvent;
373
+ };
1972
374
  /**
1973
- * An asset class was destroyed.
375
+ * Pallet `XcmpQueue`'s events
1974
376
  **/
1975
- Destroyed: GenericPalletEvent<'PoolAssets', 'Destroyed', { assetId: number }>;
1976
-
377
+ xcmpQueue: {
378
+ /**
379
+ * Some XCM was executed ok.
380
+ **/
381
+ Success: GenericPalletEvent<'XcmpQueue', 'Success', {
382
+ messageHash: FixedBytes<32>;
383
+ messageId: FixedBytes<32>;
384
+ weight: SpWeightsWeightV2Weight;
385
+ }>;
386
+ /**
387
+ * Some XCM failed.
388
+ **/
389
+ Fail: GenericPalletEvent<'XcmpQueue', 'Fail', {
390
+ messageHash: FixedBytes<32>;
391
+ messageId: FixedBytes<32>;
392
+ error: XcmV3TraitsError;
393
+ weight: SpWeightsWeightV2Weight;
394
+ }>;
395
+ /**
396
+ * Bad XCM version used.
397
+ **/
398
+ BadVersion: GenericPalletEvent<'XcmpQueue', 'BadVersion', {
399
+ messageHash: FixedBytes<32>;
400
+ }>;
401
+ /**
402
+ * Bad XCM format used.
403
+ **/
404
+ BadFormat: GenericPalletEvent<'XcmpQueue', 'BadFormat', {
405
+ messageHash: FixedBytes<32>;
406
+ }>;
407
+ /**
408
+ * An HRMP message was sent to a sibling parachain.
409
+ **/
410
+ XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', {
411
+ messageHash: FixedBytes<32>;
412
+ }>;
413
+ /**
414
+ * An XCM exceeded the individual message weight budget.
415
+ **/
416
+ OverweightEnqueued: GenericPalletEvent<'XcmpQueue', 'OverweightEnqueued', {
417
+ sender: PolkadotParachainPrimitivesPrimitivesId;
418
+ sentAt: number;
419
+ index: bigint;
420
+ required: SpWeightsWeightV2Weight;
421
+ }>;
422
+ /**
423
+ * An XCM from the overweight queue was executed with the given actual weight used.
424
+ **/
425
+ OverweightServiced: GenericPalletEvent<'XcmpQueue', 'OverweightServiced', {
426
+ index: bigint;
427
+ used: SpWeightsWeightV2Weight;
428
+ }>;
429
+ /**
430
+ * Generic pallet event
431
+ **/
432
+ [prop: string]: GenericPalletEvent;
433
+ };
1977
434
  /**
1978
- * Some asset class was force-created.
435
+ * Pallet `PolkadotXcm`'s events
1979
436
  **/
1980
- ForceCreated: GenericPalletEvent<'PoolAssets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
1981
-
437
+ polkadotXcm: {
438
+ /**
439
+ * Execution of an XCM message was attempted.
440
+ **/
441
+ Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', {
442
+ outcome: XcmV3TraitsOutcome;
443
+ }>;
444
+ /**
445
+ * A XCM message was sent.
446
+ **/
447
+ Sent: GenericPalletEvent<'PolkadotXcm', 'Sent', {
448
+ origin: StagingXcmV3MultilocationMultiLocation;
449
+ destination: StagingXcmV3MultilocationMultiLocation;
450
+ message: XcmV3Xcm;
451
+ messageId: FixedBytes<32>;
452
+ }>;
453
+ /**
454
+ * Query response received which does not match a registered query. This may be because a
455
+ * matching query was never registered, it may be because it is a duplicate response, or
456
+ * because the query timed out.
457
+ **/
458
+ UnexpectedResponse: GenericPalletEvent<'PolkadotXcm', 'UnexpectedResponse', {
459
+ origin: StagingXcmV3MultilocationMultiLocation;
460
+ queryId: bigint;
461
+ }>;
462
+ /**
463
+ * Query response has been received and is ready for taking with `take_response`. There is
464
+ * no registered notification call.
465
+ **/
466
+ ResponseReady: GenericPalletEvent<'PolkadotXcm', 'ResponseReady', {
467
+ queryId: bigint;
468
+ response: XcmV3Response;
469
+ }>;
470
+ /**
471
+ * Query response has been received and query is removed. The registered notification has
472
+ * been dispatched and executed successfully.
473
+ **/
474
+ Notified: GenericPalletEvent<'PolkadotXcm', 'Notified', {
475
+ queryId: bigint;
476
+ palletIndex: number;
477
+ callIndex: number;
478
+ }>;
479
+ /**
480
+ * Query response has been received and query is removed. The registered notification
481
+ * could not be dispatched because the dispatch weight is greater than the maximum weight
482
+ * originally budgeted by this runtime for the query result.
483
+ **/
484
+ NotifyOverweight: GenericPalletEvent<'PolkadotXcm', 'NotifyOverweight', {
485
+ queryId: bigint;
486
+ palletIndex: number;
487
+ callIndex: number;
488
+ actualWeight: SpWeightsWeightV2Weight;
489
+ maxBudgetedWeight: SpWeightsWeightV2Weight;
490
+ }>;
491
+ /**
492
+ * Query response has been received and query is removed. There was a general error with
493
+ * dispatching the notification call.
494
+ **/
495
+ NotifyDispatchError: GenericPalletEvent<'PolkadotXcm', 'NotifyDispatchError', {
496
+ queryId: bigint;
497
+ palletIndex: number;
498
+ callIndex: number;
499
+ }>;
500
+ /**
501
+ * Query response has been received and query is removed. The dispatch was unable to be
502
+ * decoded into a `Call`; this might be due to dispatch function having a signature which
503
+ * is not `(origin, QueryId, Response)`.
504
+ **/
505
+ NotifyDecodeFailed: GenericPalletEvent<'PolkadotXcm', 'NotifyDecodeFailed', {
506
+ queryId: bigint;
507
+ palletIndex: number;
508
+ callIndex: number;
509
+ }>;
510
+ /**
511
+ * Expected query response has been received but the origin location of the response does
512
+ * not match that expected. The query remains registered for a later, valid, response to
513
+ * be received and acted upon.
514
+ **/
515
+ InvalidResponder: GenericPalletEvent<'PolkadotXcm', 'InvalidResponder', {
516
+ origin: StagingXcmV3MultilocationMultiLocation;
517
+ queryId: bigint;
518
+ expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
519
+ }>;
520
+ /**
521
+ * Expected query response has been received but the expected origin location placed in
522
+ * storage by this runtime previously cannot be decoded. The query remains registered.
523
+ *
524
+ * This is unexpected (since a location placed in storage in a previously executing
525
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
526
+ * valid response will be dropped. Manual governance intervention is probably going to be
527
+ * needed.
528
+ **/
529
+ InvalidResponderVersion: GenericPalletEvent<'PolkadotXcm', 'InvalidResponderVersion', {
530
+ origin: StagingXcmV3MultilocationMultiLocation;
531
+ queryId: bigint;
532
+ }>;
533
+ /**
534
+ * Received query response has been read and removed.
535
+ **/
536
+ ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', {
537
+ queryId: bigint;
538
+ }>;
539
+ /**
540
+ * Some assets have been placed in an asset trap.
541
+ **/
542
+ AssetsTrapped: GenericPalletEvent<'PolkadotXcm', 'AssetsTrapped', {
543
+ hash: H256;
544
+ origin: StagingXcmV3MultilocationMultiLocation;
545
+ assets: XcmVersionedMultiAssets;
546
+ }>;
547
+ /**
548
+ * An XCM version change notification message has been attempted to be sent.
549
+ *
550
+ * The cost of sending it (borne by the chain) is included.
551
+ **/
552
+ VersionChangeNotified: GenericPalletEvent<'PolkadotXcm', 'VersionChangeNotified', {
553
+ destination: StagingXcmV3MultilocationMultiLocation;
554
+ result: number;
555
+ cost: XcmV3MultiassetMultiAssets;
556
+ messageId: FixedBytes<32>;
557
+ }>;
558
+ /**
559
+ * The supported version of a location has been changed. This might be through an
560
+ * automatic notification or a manual intervention.
561
+ **/
562
+ SupportedVersionChanged: GenericPalletEvent<'PolkadotXcm', 'SupportedVersionChanged', {
563
+ location: StagingXcmV3MultilocationMultiLocation;
564
+ version: number;
565
+ }>;
566
+ /**
567
+ * A given location which had a version change subscription was dropped owing to an error
568
+ * sending the notification to it.
569
+ **/
570
+ NotifyTargetSendFail: GenericPalletEvent<'PolkadotXcm', 'NotifyTargetSendFail', {
571
+ location: StagingXcmV3MultilocationMultiLocation;
572
+ queryId: bigint;
573
+ error: XcmV3TraitsError;
574
+ }>;
575
+ /**
576
+ * A given location which had a version change subscription was dropped owing to an error
577
+ * migrating the location to our new XCM format.
578
+ **/
579
+ NotifyTargetMigrationFail: GenericPalletEvent<'PolkadotXcm', 'NotifyTargetMigrationFail', {
580
+ location: XcmVersionedMultiLocation;
581
+ queryId: bigint;
582
+ }>;
583
+ /**
584
+ * Expected query response has been received but the expected querier location placed in
585
+ * storage by this runtime previously cannot be decoded. The query remains registered.
586
+ *
587
+ * This is unexpected (since a location placed in storage in a previously executing
588
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
589
+ * valid response will be dropped. Manual governance intervention is probably going to be
590
+ * needed.
591
+ **/
592
+ InvalidQuerierVersion: GenericPalletEvent<'PolkadotXcm', 'InvalidQuerierVersion', {
593
+ origin: StagingXcmV3MultilocationMultiLocation;
594
+ queryId: bigint;
595
+ }>;
596
+ /**
597
+ * Expected query response has been received but the querier location of the response does
598
+ * not match the expected. The query remains registered for a later, valid, response to
599
+ * be received and acted upon.
600
+ **/
601
+ InvalidQuerier: GenericPalletEvent<'PolkadotXcm', 'InvalidQuerier', {
602
+ origin: StagingXcmV3MultilocationMultiLocation;
603
+ queryId: bigint;
604
+ expectedQuerier: StagingXcmV3MultilocationMultiLocation;
605
+ maybeActualQuerier?: StagingXcmV3MultilocationMultiLocation | undefined;
606
+ }>;
607
+ /**
608
+ * A remote has requested XCM version change notification from us and we have honored it.
609
+ * A version information message is sent to them and its cost is included.
610
+ **/
611
+ VersionNotifyStarted: GenericPalletEvent<'PolkadotXcm', 'VersionNotifyStarted', {
612
+ destination: StagingXcmV3MultilocationMultiLocation;
613
+ cost: XcmV3MultiassetMultiAssets;
614
+ messageId: FixedBytes<32>;
615
+ }>;
616
+ /**
617
+ * We have requested that a remote chain send us XCM version change notifications.
618
+ **/
619
+ VersionNotifyRequested: GenericPalletEvent<'PolkadotXcm', 'VersionNotifyRequested', {
620
+ destination: StagingXcmV3MultilocationMultiLocation;
621
+ cost: XcmV3MultiassetMultiAssets;
622
+ messageId: FixedBytes<32>;
623
+ }>;
624
+ /**
625
+ * We have requested that a remote chain stops sending us XCM version change
626
+ * notifications.
627
+ **/
628
+ VersionNotifyUnrequested: GenericPalletEvent<'PolkadotXcm', 'VersionNotifyUnrequested', {
629
+ destination: StagingXcmV3MultilocationMultiLocation;
630
+ cost: XcmV3MultiassetMultiAssets;
631
+ messageId: FixedBytes<32>;
632
+ }>;
633
+ /**
634
+ * Fees were paid from a location for an operation (often for using `SendXcm`).
635
+ **/
636
+ FeesPaid: GenericPalletEvent<'PolkadotXcm', 'FeesPaid', {
637
+ paying: StagingXcmV3MultilocationMultiLocation;
638
+ fees: XcmV3MultiassetMultiAssets;
639
+ }>;
640
+ /**
641
+ * Some assets have been claimed from an asset trap
642
+ **/
643
+ AssetsClaimed: GenericPalletEvent<'PolkadotXcm', 'AssetsClaimed', {
644
+ hash: H256;
645
+ origin: StagingXcmV3MultilocationMultiLocation;
646
+ assets: XcmVersionedMultiAssets;
647
+ }>;
648
+ /**
649
+ * Generic pallet event
650
+ **/
651
+ [prop: string]: GenericPalletEvent;
652
+ };
1982
653
  /**
1983
- * New metadata has been set for an asset.
654
+ * Pallet `CumulusXcm`'s events
1984
655
  **/
1985
- MetadataSet: GenericPalletEvent<
1986
- 'PoolAssets',
1987
- 'MetadataSet',
1988
- { assetId: number; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
1989
- >;
1990
-
656
+ cumulusXcm: {
657
+ /**
658
+ * Downward message is invalid XCM.
659
+ * \[ id \]
660
+ **/
661
+ InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
662
+ /**
663
+ * Downward message is unsupported version of XCM.
664
+ * \[ id \]
665
+ **/
666
+ UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
667
+ /**
668
+ * Downward message executed with the given outcome.
669
+ * \[ id, outcome \]
670
+ **/
671
+ ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, XcmV3TraitsOutcome]>;
672
+ /**
673
+ * Generic pallet event
674
+ **/
675
+ [prop: string]: GenericPalletEvent;
676
+ };
1991
677
  /**
1992
- * Metadata has been cleared for an asset.
678
+ * Pallet `DmpQueue`'s events
1993
679
  **/
1994
- MetadataCleared: GenericPalletEvent<'PoolAssets', 'MetadataCleared', { assetId: number }>;
1995
-
680
+ dmpQueue: {
681
+ /**
682
+ * Downward message is invalid XCM.
683
+ **/
684
+ InvalidFormat: GenericPalletEvent<'DmpQueue', 'InvalidFormat', {
685
+ messageHash: FixedBytes<32>;
686
+ }>;
687
+ /**
688
+ * Downward message is unsupported version of XCM.
689
+ **/
690
+ UnsupportedVersion: GenericPalletEvent<'DmpQueue', 'UnsupportedVersion', {
691
+ messageHash: FixedBytes<32>;
692
+ }>;
693
+ /**
694
+ * Downward message executed with the given outcome.
695
+ **/
696
+ ExecutedDownward: GenericPalletEvent<'DmpQueue', 'ExecutedDownward', {
697
+ messageHash: FixedBytes<32>;
698
+ messageId: FixedBytes<32>;
699
+ outcome: XcmV3TraitsOutcome;
700
+ }>;
701
+ /**
702
+ * The weight limit for handling downward messages was reached.
703
+ **/
704
+ WeightExhausted: GenericPalletEvent<'DmpQueue', 'WeightExhausted', {
705
+ messageHash: FixedBytes<32>;
706
+ messageId: FixedBytes<32>;
707
+ remainingWeight: SpWeightsWeightV2Weight;
708
+ requiredWeight: SpWeightsWeightV2Weight;
709
+ }>;
710
+ /**
711
+ * Downward message is overweight and was placed in the overweight queue.
712
+ **/
713
+ OverweightEnqueued: GenericPalletEvent<'DmpQueue', 'OverweightEnqueued', {
714
+ messageHash: FixedBytes<32>;
715
+ messageId: FixedBytes<32>;
716
+ overweightIndex: bigint;
717
+ requiredWeight: SpWeightsWeightV2Weight;
718
+ }>;
719
+ /**
720
+ * Downward message from the overweight queue was executed.
721
+ **/
722
+ OverweightServiced: GenericPalletEvent<'DmpQueue', 'OverweightServiced', {
723
+ overweightIndex: bigint;
724
+ weightUsed: SpWeightsWeightV2Weight;
725
+ }>;
726
+ /**
727
+ * The maximum number of downward messages was reached.
728
+ **/
729
+ MaxMessagesExhausted: GenericPalletEvent<'DmpQueue', 'MaxMessagesExhausted', {
730
+ messageHash: FixedBytes<32>;
731
+ }>;
732
+ /**
733
+ * Generic pallet event
734
+ **/
735
+ [prop: string]: GenericPalletEvent;
736
+ };
1996
737
  /**
1997
- * (Additional) funds have been approved for transfer to a destination account.
738
+ * Pallet `Utility`'s events
1998
739
  **/
1999
- ApprovedTransfer: GenericPalletEvent<
2000
- 'PoolAssets',
2001
- 'ApprovedTransfer',
2002
- { assetId: number; source: AccountId32; delegate: AccountId32; amount: bigint }
2003
- >;
2004
-
740
+ utility: {
741
+ /**
742
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
743
+ * well as the error.
744
+ **/
745
+ BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', {
746
+ index: number;
747
+ error: DispatchError;
748
+ }>;
749
+ /**
750
+ * Batch of dispatches completed fully with no error.
751
+ **/
752
+ BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
753
+ /**
754
+ * Batch of dispatches completed but has errors.
755
+ **/
756
+ BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
757
+ /**
758
+ * A single item within a Batch of dispatches has completed with no error.
759
+ **/
760
+ ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
761
+ /**
762
+ * A single item within a Batch of dispatches has completed with error.
763
+ **/
764
+ ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', {
765
+ error: DispatchError;
766
+ }>;
767
+ /**
768
+ * A call was dispatched.
769
+ **/
770
+ DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', {
771
+ result: Result<[], DispatchError>;
772
+ }>;
773
+ /**
774
+ * Generic pallet event
775
+ **/
776
+ [prop: string]: GenericPalletEvent;
777
+ };
2005
778
  /**
2006
- * An approval for account `delegate` was cancelled by `owner`.
779
+ * Pallet `Multisig`'s events
2007
780
  **/
2008
- ApprovalCancelled: GenericPalletEvent<
2009
- 'PoolAssets',
2010
- 'ApprovalCancelled',
2011
- { assetId: number; owner: AccountId32; delegate: AccountId32 }
2012
- >;
2013
-
781
+ multisig: {
782
+ /**
783
+ * A new multisig operation has begun.
784
+ **/
785
+ NewMultisig: GenericPalletEvent<'Multisig', 'NewMultisig', {
786
+ approving: AccountId32;
787
+ multisig: AccountId32;
788
+ callHash: FixedBytes<32>;
789
+ }>;
790
+ /**
791
+ * A multisig operation has been approved by someone.
792
+ **/
793
+ MultisigApproval: GenericPalletEvent<'Multisig', 'MultisigApproval', {
794
+ approving: AccountId32;
795
+ timepoint: PalletMultisigTimepoint;
796
+ multisig: AccountId32;
797
+ callHash: FixedBytes<32>;
798
+ }>;
799
+ /**
800
+ * A multisig operation has been executed.
801
+ **/
802
+ MultisigExecuted: GenericPalletEvent<'Multisig', 'MultisigExecuted', {
803
+ approving: AccountId32;
804
+ timepoint: PalletMultisigTimepoint;
805
+ multisig: AccountId32;
806
+ callHash: FixedBytes<32>;
807
+ result: Result<[], DispatchError>;
808
+ }>;
809
+ /**
810
+ * A multisig operation has been cancelled.
811
+ **/
812
+ MultisigCancelled: GenericPalletEvent<'Multisig', 'MultisigCancelled', {
813
+ cancelling: AccountId32;
814
+ timepoint: PalletMultisigTimepoint;
815
+ multisig: AccountId32;
816
+ callHash: FixedBytes<32>;
817
+ }>;
818
+ /**
819
+ * Generic pallet event
820
+ **/
821
+ [prop: string]: GenericPalletEvent;
822
+ };
2014
823
  /**
2015
- * An `amount` was transferred in its entirety from `owner` to `destination` by
2016
- * the approved `delegate`.
824
+ * Pallet `Proxy`'s events
2017
825
  **/
2018
- TransferredApproved: GenericPalletEvent<
2019
- 'PoolAssets',
2020
- 'TransferredApproved',
2021
- { assetId: number; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
2022
- >;
2023
-
826
+ proxy: {
827
+ /**
828
+ * A proxy was executed correctly, with the given.
829
+ **/
830
+ ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', {
831
+ result: Result<[], DispatchError>;
832
+ }>;
833
+ /**
834
+ * A pure account has been created by new proxy with given
835
+ * disambiguation index and proxy type.
836
+ **/
837
+ PureCreated: GenericPalletEvent<'Proxy', 'PureCreated', {
838
+ pure: AccountId32;
839
+ who: AccountId32;
840
+ proxyType: AssetHubKusamaRuntimeProxyType;
841
+ disambiguationIndex: number;
842
+ }>;
843
+ /**
844
+ * An announcement was placed to make a call in the future.
845
+ **/
846
+ Announced: GenericPalletEvent<'Proxy', 'Announced', {
847
+ real: AccountId32;
848
+ proxy: AccountId32;
849
+ callHash: H256;
850
+ }>;
851
+ /**
852
+ * A proxy was added.
853
+ **/
854
+ ProxyAdded: GenericPalletEvent<'Proxy', 'ProxyAdded', {
855
+ delegator: AccountId32;
856
+ delegatee: AccountId32;
857
+ proxyType: AssetHubKusamaRuntimeProxyType;
858
+ delay: number;
859
+ }>;
860
+ /**
861
+ * A proxy was removed.
862
+ **/
863
+ ProxyRemoved: GenericPalletEvent<'Proxy', 'ProxyRemoved', {
864
+ delegator: AccountId32;
865
+ delegatee: AccountId32;
866
+ proxyType: AssetHubKusamaRuntimeProxyType;
867
+ delay: number;
868
+ }>;
869
+ /**
870
+ * Generic pallet event
871
+ **/
872
+ [prop: string]: GenericPalletEvent;
873
+ };
2024
874
  /**
2025
- * An asset has had its attributes changed by the `Force` origin.
875
+ * Pallet `Assets`'s events
2026
876
  **/
2027
- AssetStatusChanged: GenericPalletEvent<'PoolAssets', 'AssetStatusChanged', { assetId: number }>;
2028
-
877
+ assets: {
878
+ /**
879
+ * Some asset class was created.
880
+ **/
881
+ Created: GenericPalletEvent<'Assets', 'Created', {
882
+ assetId: number;
883
+ creator: AccountId32;
884
+ owner: AccountId32;
885
+ }>;
886
+ /**
887
+ * Some assets were issued.
888
+ **/
889
+ Issued: GenericPalletEvent<'Assets', 'Issued', {
890
+ assetId: number;
891
+ owner: AccountId32;
892
+ amount: bigint;
893
+ }>;
894
+ /**
895
+ * Some assets were transferred.
896
+ **/
897
+ Transferred: GenericPalletEvent<'Assets', 'Transferred', {
898
+ assetId: number;
899
+ from: AccountId32;
900
+ to: AccountId32;
901
+ amount: bigint;
902
+ }>;
903
+ /**
904
+ * Some assets were destroyed.
905
+ **/
906
+ Burned: GenericPalletEvent<'Assets', 'Burned', {
907
+ assetId: number;
908
+ owner: AccountId32;
909
+ balance: bigint;
910
+ }>;
911
+ /**
912
+ * The management team changed.
913
+ **/
914
+ TeamChanged: GenericPalletEvent<'Assets', 'TeamChanged', {
915
+ assetId: number;
916
+ issuer: AccountId32;
917
+ admin: AccountId32;
918
+ freezer: AccountId32;
919
+ }>;
920
+ /**
921
+ * The owner changed.
922
+ **/
923
+ OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', {
924
+ assetId: number;
925
+ owner: AccountId32;
926
+ }>;
927
+ /**
928
+ * Some account `who` was frozen.
929
+ **/
930
+ Frozen: GenericPalletEvent<'Assets', 'Frozen', {
931
+ assetId: number;
932
+ who: AccountId32;
933
+ }>;
934
+ /**
935
+ * Some account `who` was thawed.
936
+ **/
937
+ Thawed: GenericPalletEvent<'Assets', 'Thawed', {
938
+ assetId: number;
939
+ who: AccountId32;
940
+ }>;
941
+ /**
942
+ * Some asset `asset_id` was frozen.
943
+ **/
944
+ AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', {
945
+ assetId: number;
946
+ }>;
947
+ /**
948
+ * Some asset `asset_id` was thawed.
949
+ **/
950
+ AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', {
951
+ assetId: number;
952
+ }>;
953
+ /**
954
+ * Accounts were destroyed for given asset.
955
+ **/
956
+ AccountsDestroyed: GenericPalletEvent<'Assets', 'AccountsDestroyed', {
957
+ assetId: number;
958
+ accountsDestroyed: number;
959
+ accountsRemaining: number;
960
+ }>;
961
+ /**
962
+ * Approvals were destroyed for given asset.
963
+ **/
964
+ ApprovalsDestroyed: GenericPalletEvent<'Assets', 'ApprovalsDestroyed', {
965
+ assetId: number;
966
+ approvalsDestroyed: number;
967
+ approvalsRemaining: number;
968
+ }>;
969
+ /**
970
+ * An asset class is in the process of being destroyed.
971
+ **/
972
+ DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', {
973
+ assetId: number;
974
+ }>;
975
+ /**
976
+ * An asset class was destroyed.
977
+ **/
978
+ Destroyed: GenericPalletEvent<'Assets', 'Destroyed', {
979
+ assetId: number;
980
+ }>;
981
+ /**
982
+ * Some asset class was force-created.
983
+ **/
984
+ ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', {
985
+ assetId: number;
986
+ owner: AccountId32;
987
+ }>;
988
+ /**
989
+ * New metadata has been set for an asset.
990
+ **/
991
+ MetadataSet: GenericPalletEvent<'Assets', 'MetadataSet', {
992
+ assetId: number;
993
+ name: Bytes;
994
+ symbol: Bytes;
995
+ decimals: number;
996
+ isFrozen: boolean;
997
+ }>;
998
+ /**
999
+ * Metadata has been cleared for an asset.
1000
+ **/
1001
+ MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', {
1002
+ assetId: number;
1003
+ }>;
1004
+ /**
1005
+ * (Additional) funds have been approved for transfer to a destination account.
1006
+ **/
1007
+ ApprovedTransfer: GenericPalletEvent<'Assets', 'ApprovedTransfer', {
1008
+ assetId: number;
1009
+ source: AccountId32;
1010
+ delegate: AccountId32;
1011
+ amount: bigint;
1012
+ }>;
1013
+ /**
1014
+ * An approval for account `delegate` was cancelled by `owner`.
1015
+ **/
1016
+ ApprovalCancelled: GenericPalletEvent<'Assets', 'ApprovalCancelled', {
1017
+ assetId: number;
1018
+ owner: AccountId32;
1019
+ delegate: AccountId32;
1020
+ }>;
1021
+ /**
1022
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
1023
+ * the approved `delegate`.
1024
+ **/
1025
+ TransferredApproved: GenericPalletEvent<'Assets', 'TransferredApproved', {
1026
+ assetId: number;
1027
+ owner: AccountId32;
1028
+ delegate: AccountId32;
1029
+ destination: AccountId32;
1030
+ amount: bigint;
1031
+ }>;
1032
+ /**
1033
+ * An asset has had its attributes changed by the `Force` origin.
1034
+ **/
1035
+ AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', {
1036
+ assetId: number;
1037
+ }>;
1038
+ /**
1039
+ * The min_balance of an asset has been updated by the asset owner.
1040
+ **/
1041
+ AssetMinBalanceChanged: GenericPalletEvent<'Assets', 'AssetMinBalanceChanged', {
1042
+ assetId: number;
1043
+ newMinBalance: bigint;
1044
+ }>;
1045
+ /**
1046
+ * Some account `who` was created with a deposit from `depositor`.
1047
+ **/
1048
+ Touched: GenericPalletEvent<'Assets', 'Touched', {
1049
+ assetId: number;
1050
+ who: AccountId32;
1051
+ depositor: AccountId32;
1052
+ }>;
1053
+ /**
1054
+ * Some account `who` was blocked.
1055
+ **/
1056
+ Blocked: GenericPalletEvent<'Assets', 'Blocked', {
1057
+ assetId: number;
1058
+ who: AccountId32;
1059
+ }>;
1060
+ /**
1061
+ * Generic pallet event
1062
+ **/
1063
+ [prop: string]: GenericPalletEvent;
1064
+ };
2029
1065
  /**
2030
- * The min_balance of an asset has been updated by the asset owner.
1066
+ * Pallet `Uniques`'s events
2031
1067
  **/
2032
- AssetMinBalanceChanged: GenericPalletEvent<
2033
- 'PoolAssets',
2034
- 'AssetMinBalanceChanged',
2035
- { assetId: number; newMinBalance: bigint }
2036
- >;
2037
-
1068
+ uniques: {
1069
+ /**
1070
+ * A `collection` was created.
1071
+ **/
1072
+ Created: GenericPalletEvent<'Uniques', 'Created', {
1073
+ collection: number;
1074
+ creator: AccountId32;
1075
+ owner: AccountId32;
1076
+ }>;
1077
+ /**
1078
+ * A `collection` was force-created.
1079
+ **/
1080
+ ForceCreated: GenericPalletEvent<'Uniques', 'ForceCreated', {
1081
+ collection: number;
1082
+ owner: AccountId32;
1083
+ }>;
1084
+ /**
1085
+ * A `collection` was destroyed.
1086
+ **/
1087
+ Destroyed: GenericPalletEvent<'Uniques', 'Destroyed', {
1088
+ collection: number;
1089
+ }>;
1090
+ /**
1091
+ * An `item` was issued.
1092
+ **/
1093
+ Issued: GenericPalletEvent<'Uniques', 'Issued', {
1094
+ collection: number;
1095
+ item: number;
1096
+ owner: AccountId32;
1097
+ }>;
1098
+ /**
1099
+ * An `item` was transferred.
1100
+ **/
1101
+ Transferred: GenericPalletEvent<'Uniques', 'Transferred', {
1102
+ collection: number;
1103
+ item: number;
1104
+ from: AccountId32;
1105
+ to: AccountId32;
1106
+ }>;
1107
+ /**
1108
+ * An `item` was destroyed.
1109
+ **/
1110
+ Burned: GenericPalletEvent<'Uniques', 'Burned', {
1111
+ collection: number;
1112
+ item: number;
1113
+ owner: AccountId32;
1114
+ }>;
1115
+ /**
1116
+ * Some `item` was frozen.
1117
+ **/
1118
+ Frozen: GenericPalletEvent<'Uniques', 'Frozen', {
1119
+ collection: number;
1120
+ item: number;
1121
+ }>;
1122
+ /**
1123
+ * Some `item` was thawed.
1124
+ **/
1125
+ Thawed: GenericPalletEvent<'Uniques', 'Thawed', {
1126
+ collection: number;
1127
+ item: number;
1128
+ }>;
1129
+ /**
1130
+ * Some `collection` was frozen.
1131
+ **/
1132
+ CollectionFrozen: GenericPalletEvent<'Uniques', 'CollectionFrozen', {
1133
+ collection: number;
1134
+ }>;
1135
+ /**
1136
+ * Some `collection` was thawed.
1137
+ **/
1138
+ CollectionThawed: GenericPalletEvent<'Uniques', 'CollectionThawed', {
1139
+ collection: number;
1140
+ }>;
1141
+ /**
1142
+ * The owner changed.
1143
+ **/
1144
+ OwnerChanged: GenericPalletEvent<'Uniques', 'OwnerChanged', {
1145
+ collection: number;
1146
+ newOwner: AccountId32;
1147
+ }>;
1148
+ /**
1149
+ * The management team changed.
1150
+ **/
1151
+ TeamChanged: GenericPalletEvent<'Uniques', 'TeamChanged', {
1152
+ collection: number;
1153
+ issuer: AccountId32;
1154
+ admin: AccountId32;
1155
+ freezer: AccountId32;
1156
+ }>;
1157
+ /**
1158
+ * An `item` of a `collection` has been approved by the `owner` for transfer by
1159
+ * a `delegate`.
1160
+ **/
1161
+ ApprovedTransfer: GenericPalletEvent<'Uniques', 'ApprovedTransfer', {
1162
+ collection: number;
1163
+ item: number;
1164
+ owner: AccountId32;
1165
+ delegate: AccountId32;
1166
+ }>;
1167
+ /**
1168
+ * An approval for a `delegate` account to transfer the `item` of an item
1169
+ * `collection` was cancelled by its `owner`.
1170
+ **/
1171
+ ApprovalCancelled: GenericPalletEvent<'Uniques', 'ApprovalCancelled', {
1172
+ collection: number;
1173
+ item: number;
1174
+ owner: AccountId32;
1175
+ delegate: AccountId32;
1176
+ }>;
1177
+ /**
1178
+ * A `collection` has had its attributes changed by the `Force` origin.
1179
+ **/
1180
+ ItemStatusChanged: GenericPalletEvent<'Uniques', 'ItemStatusChanged', {
1181
+ collection: number;
1182
+ }>;
1183
+ /**
1184
+ * New metadata has been set for a `collection`.
1185
+ **/
1186
+ CollectionMetadataSet: GenericPalletEvent<'Uniques', 'CollectionMetadataSet', {
1187
+ collection: number;
1188
+ data: Bytes;
1189
+ isFrozen: boolean;
1190
+ }>;
1191
+ /**
1192
+ * Metadata has been cleared for a `collection`.
1193
+ **/
1194
+ CollectionMetadataCleared: GenericPalletEvent<'Uniques', 'CollectionMetadataCleared', {
1195
+ collection: number;
1196
+ }>;
1197
+ /**
1198
+ * New metadata has been set for an item.
1199
+ **/
1200
+ MetadataSet: GenericPalletEvent<'Uniques', 'MetadataSet', {
1201
+ collection: number;
1202
+ item: number;
1203
+ data: Bytes;
1204
+ isFrozen: boolean;
1205
+ }>;
1206
+ /**
1207
+ * Metadata has been cleared for an item.
1208
+ **/
1209
+ MetadataCleared: GenericPalletEvent<'Uniques', 'MetadataCleared', {
1210
+ collection: number;
1211
+ item: number;
1212
+ }>;
1213
+ /**
1214
+ * Metadata has been cleared for an item.
1215
+ **/
1216
+ Redeposited: GenericPalletEvent<'Uniques', 'Redeposited', {
1217
+ collection: number;
1218
+ successfulItems: Array<number>;
1219
+ }>;
1220
+ /**
1221
+ * New attribute metadata has been set for a `collection` or `item`.
1222
+ **/
1223
+ AttributeSet: GenericPalletEvent<'Uniques', 'AttributeSet', {
1224
+ collection: number;
1225
+ maybeItem?: number | undefined;
1226
+ key: Bytes;
1227
+ value: Bytes;
1228
+ }>;
1229
+ /**
1230
+ * Attribute metadata has been cleared for a `collection` or `item`.
1231
+ **/
1232
+ AttributeCleared: GenericPalletEvent<'Uniques', 'AttributeCleared', {
1233
+ collection: number;
1234
+ maybeItem?: number | undefined;
1235
+ key: Bytes;
1236
+ }>;
1237
+ /**
1238
+ * Ownership acceptance has changed for an account.
1239
+ **/
1240
+ OwnershipAcceptanceChanged: GenericPalletEvent<'Uniques', 'OwnershipAcceptanceChanged', {
1241
+ who: AccountId32;
1242
+ maybeCollection?: number | undefined;
1243
+ }>;
1244
+ /**
1245
+ * Max supply has been set for a collection.
1246
+ **/
1247
+ CollectionMaxSupplySet: GenericPalletEvent<'Uniques', 'CollectionMaxSupplySet', {
1248
+ collection: number;
1249
+ maxSupply: number;
1250
+ }>;
1251
+ /**
1252
+ * The price was set for the instance.
1253
+ **/
1254
+ ItemPriceSet: GenericPalletEvent<'Uniques', 'ItemPriceSet', {
1255
+ collection: number;
1256
+ item: number;
1257
+ price: bigint;
1258
+ whitelistedBuyer?: AccountId32 | undefined;
1259
+ }>;
1260
+ /**
1261
+ * The price for the instance was removed.
1262
+ **/
1263
+ ItemPriceRemoved: GenericPalletEvent<'Uniques', 'ItemPriceRemoved', {
1264
+ collection: number;
1265
+ item: number;
1266
+ }>;
1267
+ /**
1268
+ * An item was bought.
1269
+ **/
1270
+ ItemBought: GenericPalletEvent<'Uniques', 'ItemBought', {
1271
+ collection: number;
1272
+ item: number;
1273
+ price: bigint;
1274
+ seller: AccountId32;
1275
+ buyer: AccountId32;
1276
+ }>;
1277
+ /**
1278
+ * Generic pallet event
1279
+ **/
1280
+ [prop: string]: GenericPalletEvent;
1281
+ };
2038
1282
  /**
2039
- * Some account `who` was created with a deposit from `depositor`.
1283
+ * Pallet `Nfts`'s events
2040
1284
  **/
2041
- Touched: GenericPalletEvent<'PoolAssets', 'Touched', { assetId: number; who: AccountId32; depositor: AccountId32 }>;
2042
-
1285
+ nfts: {
1286
+ /**
1287
+ * A `collection` was created.
1288
+ **/
1289
+ Created: GenericPalletEvent<'Nfts', 'Created', {
1290
+ collection: number;
1291
+ creator: AccountId32;
1292
+ owner: AccountId32;
1293
+ }>;
1294
+ /**
1295
+ * A `collection` was force-created.
1296
+ **/
1297
+ ForceCreated: GenericPalletEvent<'Nfts', 'ForceCreated', {
1298
+ collection: number;
1299
+ owner: AccountId32;
1300
+ }>;
1301
+ /**
1302
+ * A `collection` was destroyed.
1303
+ **/
1304
+ Destroyed: GenericPalletEvent<'Nfts', 'Destroyed', {
1305
+ collection: number;
1306
+ }>;
1307
+ /**
1308
+ * An `item` was issued.
1309
+ **/
1310
+ Issued: GenericPalletEvent<'Nfts', 'Issued', {
1311
+ collection: number;
1312
+ item: number;
1313
+ owner: AccountId32;
1314
+ }>;
1315
+ /**
1316
+ * An `item` was transferred.
1317
+ **/
1318
+ Transferred: GenericPalletEvent<'Nfts', 'Transferred', {
1319
+ collection: number;
1320
+ item: number;
1321
+ from: AccountId32;
1322
+ to: AccountId32;
1323
+ }>;
1324
+ /**
1325
+ * An `item` was destroyed.
1326
+ **/
1327
+ Burned: GenericPalletEvent<'Nfts', 'Burned', {
1328
+ collection: number;
1329
+ item: number;
1330
+ owner: AccountId32;
1331
+ }>;
1332
+ /**
1333
+ * An `item` became non-transferable.
1334
+ **/
1335
+ ItemTransferLocked: GenericPalletEvent<'Nfts', 'ItemTransferLocked', {
1336
+ collection: number;
1337
+ item: number;
1338
+ }>;
1339
+ /**
1340
+ * An `item` became transferable.
1341
+ **/
1342
+ ItemTransferUnlocked: GenericPalletEvent<'Nfts', 'ItemTransferUnlocked', {
1343
+ collection: number;
1344
+ item: number;
1345
+ }>;
1346
+ /**
1347
+ * `item` metadata or attributes were locked.
1348
+ **/
1349
+ ItemPropertiesLocked: GenericPalletEvent<'Nfts', 'ItemPropertiesLocked', {
1350
+ collection: number;
1351
+ item: number;
1352
+ lockMetadata: boolean;
1353
+ lockAttributes: boolean;
1354
+ }>;
1355
+ /**
1356
+ * Some `collection` was locked.
1357
+ **/
1358
+ CollectionLocked: GenericPalletEvent<'Nfts', 'CollectionLocked', {
1359
+ collection: number;
1360
+ }>;
1361
+ /**
1362
+ * The owner changed.
1363
+ **/
1364
+ OwnerChanged: GenericPalletEvent<'Nfts', 'OwnerChanged', {
1365
+ collection: number;
1366
+ newOwner: AccountId32;
1367
+ }>;
1368
+ /**
1369
+ * The management team changed.
1370
+ **/
1371
+ TeamChanged: GenericPalletEvent<'Nfts', 'TeamChanged', {
1372
+ collection: number;
1373
+ issuer?: AccountId32 | undefined;
1374
+ admin?: AccountId32 | undefined;
1375
+ freezer?: AccountId32 | undefined;
1376
+ }>;
1377
+ /**
1378
+ * An `item` of a `collection` has been approved by the `owner` for transfer by
1379
+ * a `delegate`.
1380
+ **/
1381
+ TransferApproved: GenericPalletEvent<'Nfts', 'TransferApproved', {
1382
+ collection: number;
1383
+ item: number;
1384
+ owner: AccountId32;
1385
+ delegate: AccountId32;
1386
+ deadline?: number | undefined;
1387
+ }>;
1388
+ /**
1389
+ * An approval for a `delegate` account to transfer the `item` of an item
1390
+ * `collection` was cancelled by its `owner`.
1391
+ **/
1392
+ ApprovalCancelled: GenericPalletEvent<'Nfts', 'ApprovalCancelled', {
1393
+ collection: number;
1394
+ item: number;
1395
+ owner: AccountId32;
1396
+ delegate: AccountId32;
1397
+ }>;
1398
+ /**
1399
+ * All approvals of an item got cancelled.
1400
+ **/
1401
+ AllApprovalsCancelled: GenericPalletEvent<'Nfts', 'AllApprovalsCancelled', {
1402
+ collection: number;
1403
+ item: number;
1404
+ owner: AccountId32;
1405
+ }>;
1406
+ /**
1407
+ * A `collection` has had its config changed by the `Force` origin.
1408
+ **/
1409
+ CollectionConfigChanged: GenericPalletEvent<'Nfts', 'CollectionConfigChanged', {
1410
+ collection: number;
1411
+ }>;
1412
+ /**
1413
+ * New metadata has been set for a `collection`.
1414
+ **/
1415
+ CollectionMetadataSet: GenericPalletEvent<'Nfts', 'CollectionMetadataSet', {
1416
+ collection: number;
1417
+ data: Bytes;
1418
+ }>;
1419
+ /**
1420
+ * Metadata has been cleared for a `collection`.
1421
+ **/
1422
+ CollectionMetadataCleared: GenericPalletEvent<'Nfts', 'CollectionMetadataCleared', {
1423
+ collection: number;
1424
+ }>;
1425
+ /**
1426
+ * New metadata has been set for an item.
1427
+ **/
1428
+ ItemMetadataSet: GenericPalletEvent<'Nfts', 'ItemMetadataSet', {
1429
+ collection: number;
1430
+ item: number;
1431
+ data: Bytes;
1432
+ }>;
1433
+ /**
1434
+ * Metadata has been cleared for an item.
1435
+ **/
1436
+ ItemMetadataCleared: GenericPalletEvent<'Nfts', 'ItemMetadataCleared', {
1437
+ collection: number;
1438
+ item: number;
1439
+ }>;
1440
+ /**
1441
+ * The deposit for a set of `item`s within a `collection` has been updated.
1442
+ **/
1443
+ Redeposited: GenericPalletEvent<'Nfts', 'Redeposited', {
1444
+ collection: number;
1445
+ successfulItems: Array<number>;
1446
+ }>;
1447
+ /**
1448
+ * New attribute metadata has been set for a `collection` or `item`.
1449
+ **/
1450
+ AttributeSet: GenericPalletEvent<'Nfts', 'AttributeSet', {
1451
+ collection: number;
1452
+ maybeItem?: number | undefined;
1453
+ key: Bytes;
1454
+ value: Bytes;
1455
+ namespace: PalletNftsAttributeNamespace;
1456
+ }>;
1457
+ /**
1458
+ * Attribute metadata has been cleared for a `collection` or `item`.
1459
+ **/
1460
+ AttributeCleared: GenericPalletEvent<'Nfts', 'AttributeCleared', {
1461
+ collection: number;
1462
+ maybeItem?: number | undefined;
1463
+ key: Bytes;
1464
+ namespace: PalletNftsAttributeNamespace;
1465
+ }>;
1466
+ /**
1467
+ * A new approval to modify item attributes was added.
1468
+ **/
1469
+ ItemAttributesApprovalAdded: GenericPalletEvent<'Nfts', 'ItemAttributesApprovalAdded', {
1470
+ collection: number;
1471
+ item: number;
1472
+ delegate: AccountId32;
1473
+ }>;
1474
+ /**
1475
+ * A new approval to modify item attributes was removed.
1476
+ **/
1477
+ ItemAttributesApprovalRemoved: GenericPalletEvent<'Nfts', 'ItemAttributesApprovalRemoved', {
1478
+ collection: number;
1479
+ item: number;
1480
+ delegate: AccountId32;
1481
+ }>;
1482
+ /**
1483
+ * Ownership acceptance has changed for an account.
1484
+ **/
1485
+ OwnershipAcceptanceChanged: GenericPalletEvent<'Nfts', 'OwnershipAcceptanceChanged', {
1486
+ who: AccountId32;
1487
+ maybeCollection?: number | undefined;
1488
+ }>;
1489
+ /**
1490
+ * Max supply has been set for a collection.
1491
+ **/
1492
+ CollectionMaxSupplySet: GenericPalletEvent<'Nfts', 'CollectionMaxSupplySet', {
1493
+ collection: number;
1494
+ maxSupply: number;
1495
+ }>;
1496
+ /**
1497
+ * Mint settings for a collection had changed.
1498
+ **/
1499
+ CollectionMintSettingsUpdated: GenericPalletEvent<'Nfts', 'CollectionMintSettingsUpdated', {
1500
+ collection: number;
1501
+ }>;
1502
+ /**
1503
+ * Event gets emitted when the `NextCollectionId` gets incremented.
1504
+ **/
1505
+ NextCollectionIdIncremented: GenericPalletEvent<'Nfts', 'NextCollectionIdIncremented', {
1506
+ nextId?: number | undefined;
1507
+ }>;
1508
+ /**
1509
+ * The price was set for the item.
1510
+ **/
1511
+ ItemPriceSet: GenericPalletEvent<'Nfts', 'ItemPriceSet', {
1512
+ collection: number;
1513
+ item: number;
1514
+ price: bigint;
1515
+ whitelistedBuyer?: AccountId32 | undefined;
1516
+ }>;
1517
+ /**
1518
+ * The price for the item was removed.
1519
+ **/
1520
+ ItemPriceRemoved: GenericPalletEvent<'Nfts', 'ItemPriceRemoved', {
1521
+ collection: number;
1522
+ item: number;
1523
+ }>;
1524
+ /**
1525
+ * An item was bought.
1526
+ **/
1527
+ ItemBought: GenericPalletEvent<'Nfts', 'ItemBought', {
1528
+ collection: number;
1529
+ item: number;
1530
+ price: bigint;
1531
+ seller: AccountId32;
1532
+ buyer: AccountId32;
1533
+ }>;
1534
+ /**
1535
+ * A tip was sent.
1536
+ **/
1537
+ TipSent: GenericPalletEvent<'Nfts', 'TipSent', {
1538
+ collection: number;
1539
+ item: number;
1540
+ sender: AccountId32;
1541
+ receiver: AccountId32;
1542
+ amount: bigint;
1543
+ }>;
1544
+ /**
1545
+ * An `item` swap intent was created.
1546
+ **/
1547
+ SwapCreated: GenericPalletEvent<'Nfts', 'SwapCreated', {
1548
+ offeredCollection: number;
1549
+ offeredItem: number;
1550
+ desiredCollection: number;
1551
+ desiredItem?: number | undefined;
1552
+ price?: PalletNftsPriceWithDirection | undefined;
1553
+ deadline: number;
1554
+ }>;
1555
+ /**
1556
+ * The swap was cancelled.
1557
+ **/
1558
+ SwapCancelled: GenericPalletEvent<'Nfts', 'SwapCancelled', {
1559
+ offeredCollection: number;
1560
+ offeredItem: number;
1561
+ desiredCollection: number;
1562
+ desiredItem?: number | undefined;
1563
+ price?: PalletNftsPriceWithDirection | undefined;
1564
+ deadline: number;
1565
+ }>;
1566
+ /**
1567
+ * The swap has been claimed.
1568
+ **/
1569
+ SwapClaimed: GenericPalletEvent<'Nfts', 'SwapClaimed', {
1570
+ sentCollection: number;
1571
+ sentItem: number;
1572
+ sentItemOwner: AccountId32;
1573
+ receivedCollection: number;
1574
+ receivedItem: number;
1575
+ receivedItemOwner: AccountId32;
1576
+ price?: PalletNftsPriceWithDirection | undefined;
1577
+ deadline: number;
1578
+ }>;
1579
+ /**
1580
+ * New attributes have been set for an `item` of the `collection`.
1581
+ **/
1582
+ PreSignedAttributesSet: GenericPalletEvent<'Nfts', 'PreSignedAttributesSet', {
1583
+ collection: number;
1584
+ item: number;
1585
+ namespace: PalletNftsAttributeNamespace;
1586
+ }>;
1587
+ /**
1588
+ * A new attribute in the `Pallet` namespace was set for the `collection` or an `item`
1589
+ * within that `collection`.
1590
+ **/
1591
+ PalletAttributeSet: GenericPalletEvent<'Nfts', 'PalletAttributeSet', {
1592
+ collection: number;
1593
+ item?: number | undefined;
1594
+ attribute: PalletNftsPalletAttributes;
1595
+ value: Bytes;
1596
+ }>;
1597
+ /**
1598
+ * Generic pallet event
1599
+ **/
1600
+ [prop: string]: GenericPalletEvent;
1601
+ };
2043
1602
  /**
2044
- * Some account `who` was blocked.
1603
+ * Pallet `ForeignAssets`'s events
2045
1604
  **/
2046
- Blocked: GenericPalletEvent<'PoolAssets', 'Blocked', { assetId: number; who: AccountId32 }>;
2047
-
1605
+ foreignAssets: {
1606
+ /**
1607
+ * Some asset class was created.
1608
+ **/
1609
+ Created: GenericPalletEvent<'ForeignAssets', 'Created', {
1610
+ assetId: StagingXcmV3MultilocationMultiLocation;
1611
+ creator: AccountId32;
1612
+ owner: AccountId32;
1613
+ }>;
1614
+ /**
1615
+ * Some assets were issued.
1616
+ **/
1617
+ Issued: GenericPalletEvent<'ForeignAssets', 'Issued', {
1618
+ assetId: StagingXcmV3MultilocationMultiLocation;
1619
+ owner: AccountId32;
1620
+ amount: bigint;
1621
+ }>;
1622
+ /**
1623
+ * Some assets were transferred.
1624
+ **/
1625
+ Transferred: GenericPalletEvent<'ForeignAssets', 'Transferred', {
1626
+ assetId: StagingXcmV3MultilocationMultiLocation;
1627
+ from: AccountId32;
1628
+ to: AccountId32;
1629
+ amount: bigint;
1630
+ }>;
1631
+ /**
1632
+ * Some assets were destroyed.
1633
+ **/
1634
+ Burned: GenericPalletEvent<'ForeignAssets', 'Burned', {
1635
+ assetId: StagingXcmV3MultilocationMultiLocation;
1636
+ owner: AccountId32;
1637
+ balance: bigint;
1638
+ }>;
1639
+ /**
1640
+ * The management team changed.
1641
+ **/
1642
+ TeamChanged: GenericPalletEvent<'ForeignAssets', 'TeamChanged', {
1643
+ assetId: StagingXcmV3MultilocationMultiLocation;
1644
+ issuer: AccountId32;
1645
+ admin: AccountId32;
1646
+ freezer: AccountId32;
1647
+ }>;
1648
+ /**
1649
+ * The owner changed.
1650
+ **/
1651
+ OwnerChanged: GenericPalletEvent<'ForeignAssets', 'OwnerChanged', {
1652
+ assetId: StagingXcmV3MultilocationMultiLocation;
1653
+ owner: AccountId32;
1654
+ }>;
1655
+ /**
1656
+ * Some account `who` was frozen.
1657
+ **/
1658
+ Frozen: GenericPalletEvent<'ForeignAssets', 'Frozen', {
1659
+ assetId: StagingXcmV3MultilocationMultiLocation;
1660
+ who: AccountId32;
1661
+ }>;
1662
+ /**
1663
+ * Some account `who` was thawed.
1664
+ **/
1665
+ Thawed: GenericPalletEvent<'ForeignAssets', 'Thawed', {
1666
+ assetId: StagingXcmV3MultilocationMultiLocation;
1667
+ who: AccountId32;
1668
+ }>;
1669
+ /**
1670
+ * Some asset `asset_id` was frozen.
1671
+ **/
1672
+ AssetFrozen: GenericPalletEvent<'ForeignAssets', 'AssetFrozen', {
1673
+ assetId: StagingXcmV3MultilocationMultiLocation;
1674
+ }>;
1675
+ /**
1676
+ * Some asset `asset_id` was thawed.
1677
+ **/
1678
+ AssetThawed: GenericPalletEvent<'ForeignAssets', 'AssetThawed', {
1679
+ assetId: StagingXcmV3MultilocationMultiLocation;
1680
+ }>;
1681
+ /**
1682
+ * Accounts were destroyed for given asset.
1683
+ **/
1684
+ AccountsDestroyed: GenericPalletEvent<'ForeignAssets', 'AccountsDestroyed', {
1685
+ assetId: StagingXcmV3MultilocationMultiLocation;
1686
+ accountsDestroyed: number;
1687
+ accountsRemaining: number;
1688
+ }>;
1689
+ /**
1690
+ * Approvals were destroyed for given asset.
1691
+ **/
1692
+ ApprovalsDestroyed: GenericPalletEvent<'ForeignAssets', 'ApprovalsDestroyed', {
1693
+ assetId: StagingXcmV3MultilocationMultiLocation;
1694
+ approvalsDestroyed: number;
1695
+ approvalsRemaining: number;
1696
+ }>;
1697
+ /**
1698
+ * An asset class is in the process of being destroyed.
1699
+ **/
1700
+ DestructionStarted: GenericPalletEvent<'ForeignAssets', 'DestructionStarted', {
1701
+ assetId: StagingXcmV3MultilocationMultiLocation;
1702
+ }>;
1703
+ /**
1704
+ * An asset class was destroyed.
1705
+ **/
1706
+ Destroyed: GenericPalletEvent<'ForeignAssets', 'Destroyed', {
1707
+ assetId: StagingXcmV3MultilocationMultiLocation;
1708
+ }>;
1709
+ /**
1710
+ * Some asset class was force-created.
1711
+ **/
1712
+ ForceCreated: GenericPalletEvent<'ForeignAssets', 'ForceCreated', {
1713
+ assetId: StagingXcmV3MultilocationMultiLocation;
1714
+ owner: AccountId32;
1715
+ }>;
1716
+ /**
1717
+ * New metadata has been set for an asset.
1718
+ **/
1719
+ MetadataSet: GenericPalletEvent<'ForeignAssets', 'MetadataSet', {
1720
+ assetId: StagingXcmV3MultilocationMultiLocation;
1721
+ name: Bytes;
1722
+ symbol: Bytes;
1723
+ decimals: number;
1724
+ isFrozen: boolean;
1725
+ }>;
1726
+ /**
1727
+ * Metadata has been cleared for an asset.
1728
+ **/
1729
+ MetadataCleared: GenericPalletEvent<'ForeignAssets', 'MetadataCleared', {
1730
+ assetId: StagingXcmV3MultilocationMultiLocation;
1731
+ }>;
1732
+ /**
1733
+ * (Additional) funds have been approved for transfer to a destination account.
1734
+ **/
1735
+ ApprovedTransfer: GenericPalletEvent<'ForeignAssets', 'ApprovedTransfer', {
1736
+ assetId: StagingXcmV3MultilocationMultiLocation;
1737
+ source: AccountId32;
1738
+ delegate: AccountId32;
1739
+ amount: bigint;
1740
+ }>;
1741
+ /**
1742
+ * An approval for account `delegate` was cancelled by `owner`.
1743
+ **/
1744
+ ApprovalCancelled: GenericPalletEvent<'ForeignAssets', 'ApprovalCancelled', {
1745
+ assetId: StagingXcmV3MultilocationMultiLocation;
1746
+ owner: AccountId32;
1747
+ delegate: AccountId32;
1748
+ }>;
1749
+ /**
1750
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
1751
+ * the approved `delegate`.
1752
+ **/
1753
+ TransferredApproved: GenericPalletEvent<'ForeignAssets', 'TransferredApproved', {
1754
+ assetId: StagingXcmV3MultilocationMultiLocation;
1755
+ owner: AccountId32;
1756
+ delegate: AccountId32;
1757
+ destination: AccountId32;
1758
+ amount: bigint;
1759
+ }>;
1760
+ /**
1761
+ * An asset has had its attributes changed by the `Force` origin.
1762
+ **/
1763
+ AssetStatusChanged: GenericPalletEvent<'ForeignAssets', 'AssetStatusChanged', {
1764
+ assetId: StagingXcmV3MultilocationMultiLocation;
1765
+ }>;
1766
+ /**
1767
+ * The min_balance of an asset has been updated by the asset owner.
1768
+ **/
1769
+ AssetMinBalanceChanged: GenericPalletEvent<'ForeignAssets', 'AssetMinBalanceChanged', {
1770
+ assetId: StagingXcmV3MultilocationMultiLocation;
1771
+ newMinBalance: bigint;
1772
+ }>;
1773
+ /**
1774
+ * Some account `who` was created with a deposit from `depositor`.
1775
+ **/
1776
+ Touched: GenericPalletEvent<'ForeignAssets', 'Touched', {
1777
+ assetId: StagingXcmV3MultilocationMultiLocation;
1778
+ who: AccountId32;
1779
+ depositor: AccountId32;
1780
+ }>;
1781
+ /**
1782
+ * Some account `who` was blocked.
1783
+ **/
1784
+ Blocked: GenericPalletEvent<'ForeignAssets', 'Blocked', {
1785
+ assetId: StagingXcmV3MultilocationMultiLocation;
1786
+ who: AccountId32;
1787
+ }>;
1788
+ /**
1789
+ * Generic pallet event
1790
+ **/
1791
+ [prop: string]: GenericPalletEvent;
1792
+ };
2048
1793
  /**
2049
- * Generic pallet event
1794
+ * Pallet `NftFractionalization`'s events
2050
1795
  **/
2051
- [prop: string]: GenericPalletEvent;
2052
- };
2053
- /**
2054
- * Pallet `AssetConversion`'s events
2055
- **/
2056
- assetConversion: {
1796
+ nftFractionalization: {
1797
+ /**
1798
+ * An NFT was successfully fractionalized.
1799
+ **/
1800
+ NftFractionalized: GenericPalletEvent<'NftFractionalization', 'NftFractionalized', {
1801
+ nftCollection: number;
1802
+ nft: number;
1803
+ fractions: bigint;
1804
+ asset: number;
1805
+ beneficiary: AccountId32;
1806
+ }>;
1807
+ /**
1808
+ * An NFT was successfully returned back.
1809
+ **/
1810
+ NftUnified: GenericPalletEvent<'NftFractionalization', 'NftUnified', {
1811
+ nftCollection: number;
1812
+ nft: number;
1813
+ asset: number;
1814
+ beneficiary: AccountId32;
1815
+ }>;
1816
+ /**
1817
+ * Generic pallet event
1818
+ **/
1819
+ [prop: string]: GenericPalletEvent;
1820
+ };
2057
1821
  /**
2058
- * A successful call of the `CretaPool` extrinsic will create this event.
1822
+ * Pallet `PoolAssets`'s events
2059
1823
  **/
2060
- PoolCreated: GenericPalletEvent<
2061
- 'AssetConversion',
2062
- 'PoolCreated',
2063
- {
1824
+ poolAssets: {
2064
1825
  /**
2065
- * The account that created the pool.
1826
+ * Some asset class was created.
2066
1827
  **/
2067
- creator: AccountId32;
2068
-
1828
+ Created: GenericPalletEvent<'PoolAssets', 'Created', {
1829
+ assetId: number;
1830
+ creator: AccountId32;
1831
+ owner: AccountId32;
1832
+ }>;
2069
1833
  /**
2070
- * The pool id associated with the pool. Note that the order of the assets may not be
2071
- * the same as the order specified in the create pool extrinsic.
1834
+ * Some assets were issued.
2072
1835
  **/
2073
- poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2074
-
1836
+ Issued: GenericPalletEvent<'PoolAssets', 'Issued', {
1837
+ assetId: number;
1838
+ owner: AccountId32;
1839
+ amount: bigint;
1840
+ }>;
2075
1841
  /**
2076
- * The account ID of the pool.
1842
+ * Some assets were transferred.
2077
1843
  **/
2078
- poolAccount: AccountId32;
2079
-
1844
+ Transferred: GenericPalletEvent<'PoolAssets', 'Transferred', {
1845
+ assetId: number;
1846
+ from: AccountId32;
1847
+ to: AccountId32;
1848
+ amount: bigint;
1849
+ }>;
2080
1850
  /**
2081
- * The id of the liquidity tokens that will be minted when assets are added to this
2082
- * pool.
1851
+ * Some assets were destroyed.
2083
1852
  **/
2084
- lpToken: number;
2085
- }
2086
- >;
2087
-
2088
- /**
2089
- * A successful call of the `AddLiquidity` extrinsic will create this event.
2090
- **/
2091
- LiquidityAdded: GenericPalletEvent<
2092
- 'AssetConversion',
2093
- 'LiquidityAdded',
2094
- {
1853
+ Burned: GenericPalletEvent<'PoolAssets', 'Burned', {
1854
+ assetId: number;
1855
+ owner: AccountId32;
1856
+ balance: bigint;
1857
+ }>;
2095
1858
  /**
2096
- * The account that the liquidity was taken from.
1859
+ * The management team changed.
2097
1860
  **/
2098
- who: AccountId32;
2099
-
1861
+ TeamChanged: GenericPalletEvent<'PoolAssets', 'TeamChanged', {
1862
+ assetId: number;
1863
+ issuer: AccountId32;
1864
+ admin: AccountId32;
1865
+ freezer: AccountId32;
1866
+ }>;
2100
1867
  /**
2101
- * The account that the liquidity tokens were minted to.
1868
+ * The owner changed.
2102
1869
  **/
2103
- mintTo: AccountId32;
2104
-
1870
+ OwnerChanged: GenericPalletEvent<'PoolAssets', 'OwnerChanged', {
1871
+ assetId: number;
1872
+ owner: AccountId32;
1873
+ }>;
2105
1874
  /**
2106
- * The pool id of the pool that the liquidity was added to.
1875
+ * Some account `who` was frozen.
2107
1876
  **/
2108
- poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2109
-
1877
+ Frozen: GenericPalletEvent<'PoolAssets', 'Frozen', {
1878
+ assetId: number;
1879
+ who: AccountId32;
1880
+ }>;
2110
1881
  /**
2111
- * The amount of the first asset that was added to the pool.
1882
+ * Some account `who` was thawed.
2112
1883
  **/
2113
- amount1Provided: bigint;
2114
-
1884
+ Thawed: GenericPalletEvent<'PoolAssets', 'Thawed', {
1885
+ assetId: number;
1886
+ who: AccountId32;
1887
+ }>;
2115
1888
  /**
2116
- * The amount of the second asset that was added to the pool.
1889
+ * Some asset `asset_id` was frozen.
2117
1890
  **/
2118
- amount2Provided: bigint;
2119
-
1891
+ AssetFrozen: GenericPalletEvent<'PoolAssets', 'AssetFrozen', {
1892
+ assetId: number;
1893
+ }>;
2120
1894
  /**
2121
- * The id of the lp token that was minted.
1895
+ * Some asset `asset_id` was thawed.
2122
1896
  **/
2123
- lpToken: number;
2124
-
1897
+ AssetThawed: GenericPalletEvent<'PoolAssets', 'AssetThawed', {
1898
+ assetId: number;
1899
+ }>;
2125
1900
  /**
2126
- * The amount of lp tokens that were minted of that id.
1901
+ * Accounts were destroyed for given asset.
2127
1902
  **/
2128
- lpTokenMinted: bigint;
2129
- }
2130
- >;
2131
-
2132
- /**
2133
- * A successful call of the `RemoveLiquidity` extrinsic will create this event.
2134
- **/
2135
- LiquidityRemoved: GenericPalletEvent<
2136
- 'AssetConversion',
2137
- 'LiquidityRemoved',
2138
- {
1903
+ AccountsDestroyed: GenericPalletEvent<'PoolAssets', 'AccountsDestroyed', {
1904
+ assetId: number;
1905
+ accountsDestroyed: number;
1906
+ accountsRemaining: number;
1907
+ }>;
2139
1908
  /**
2140
- * The account that the liquidity tokens were burned from.
1909
+ * Approvals were destroyed for given asset.
2141
1910
  **/
2142
- who: AccountId32;
2143
-
1911
+ ApprovalsDestroyed: GenericPalletEvent<'PoolAssets', 'ApprovalsDestroyed', {
1912
+ assetId: number;
1913
+ approvalsDestroyed: number;
1914
+ approvalsRemaining: number;
1915
+ }>;
2144
1916
  /**
2145
- * The account that the assets were transferred to.
1917
+ * An asset class is in the process of being destroyed.
2146
1918
  **/
2147
- withdrawTo: AccountId32;
2148
-
1919
+ DestructionStarted: GenericPalletEvent<'PoolAssets', 'DestructionStarted', {
1920
+ assetId: number;
1921
+ }>;
2149
1922
  /**
2150
- * The pool id that the liquidity was removed from.
1923
+ * An asset class was destroyed.
2151
1924
  **/
2152
- poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2153
-
1925
+ Destroyed: GenericPalletEvent<'PoolAssets', 'Destroyed', {
1926
+ assetId: number;
1927
+ }>;
2154
1928
  /**
2155
- * The amount of the first asset that was removed from the pool.
1929
+ * Some asset class was force-created.
2156
1930
  **/
2157
- amount1: bigint;
2158
-
1931
+ ForceCreated: GenericPalletEvent<'PoolAssets', 'ForceCreated', {
1932
+ assetId: number;
1933
+ owner: AccountId32;
1934
+ }>;
2159
1935
  /**
2160
- * The amount of the second asset that was removed from the pool.
1936
+ * New metadata has been set for an asset.
2161
1937
  **/
2162
- amount2: bigint;
2163
-
1938
+ MetadataSet: GenericPalletEvent<'PoolAssets', 'MetadataSet', {
1939
+ assetId: number;
1940
+ name: Bytes;
1941
+ symbol: Bytes;
1942
+ decimals: number;
1943
+ isFrozen: boolean;
1944
+ }>;
2164
1945
  /**
2165
- * The id of the lp token that was burned.
1946
+ * Metadata has been cleared for an asset.
2166
1947
  **/
2167
- lpToken: number;
2168
-
1948
+ MetadataCleared: GenericPalletEvent<'PoolAssets', 'MetadataCleared', {
1949
+ assetId: number;
1950
+ }>;
2169
1951
  /**
2170
- * The amount of lp tokens that were burned of that id.
1952
+ * (Additional) funds have been approved for transfer to a destination account.
2171
1953
  **/
2172
- lpTokenBurned: bigint;
2173
-
1954
+ ApprovedTransfer: GenericPalletEvent<'PoolAssets', 'ApprovedTransfer', {
1955
+ assetId: number;
1956
+ source: AccountId32;
1957
+ delegate: AccountId32;
1958
+ amount: bigint;
1959
+ }>;
2174
1960
  /**
2175
- * Liquidity withdrawal fee (%).
1961
+ * An approval for account `delegate` was cancelled by `owner`.
2176
1962
  **/
2177
- withdrawalFee: Permill;
2178
- }
2179
- >;
2180
-
2181
- /**
2182
- * Assets have been converted from one to another. Both `SwapExactTokenForToken`
2183
- * and `SwapTokenForExactToken` will generate this event.
2184
- **/
2185
- SwapExecuted: GenericPalletEvent<
2186
- 'AssetConversion',
2187
- 'SwapExecuted',
2188
- {
1963
+ ApprovalCancelled: GenericPalletEvent<'PoolAssets', 'ApprovalCancelled', {
1964
+ assetId: number;
1965
+ owner: AccountId32;
1966
+ delegate: AccountId32;
1967
+ }>;
2189
1968
  /**
2190
- * Which account was the instigator of the swap.
1969
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
1970
+ * the approved `delegate`.
2191
1971
  **/
2192
- who: AccountId32;
2193
-
1972
+ TransferredApproved: GenericPalletEvent<'PoolAssets', 'TransferredApproved', {
1973
+ assetId: number;
1974
+ owner: AccountId32;
1975
+ delegate: AccountId32;
1976
+ destination: AccountId32;
1977
+ amount: bigint;
1978
+ }>;
2194
1979
  /**
2195
- * The account that the assets were transferred to.
1980
+ * An asset has had its attributes changed by the `Force` origin.
2196
1981
  **/
2197
- sendTo: AccountId32;
2198
-
1982
+ AssetStatusChanged: GenericPalletEvent<'PoolAssets', 'AssetStatusChanged', {
1983
+ assetId: number;
1984
+ }>;
2199
1985
  /**
2200
- * The route of asset ids that the swap went through.
2201
- * E.g. A -> Dot -> B
1986
+ * The min_balance of an asset has been updated by the asset owner.
2202
1987
  **/
2203
- path: Array<StagingXcmV3MultilocationMultiLocation>;
2204
-
1988
+ AssetMinBalanceChanged: GenericPalletEvent<'PoolAssets', 'AssetMinBalanceChanged', {
1989
+ assetId: number;
1990
+ newMinBalance: bigint;
1991
+ }>;
2205
1992
  /**
2206
- * The amount of the first asset that was swapped.
1993
+ * Some account `who` was created with a deposit from `depositor`.
2207
1994
  **/
2208
- amountIn: bigint;
2209
-
1995
+ Touched: GenericPalletEvent<'PoolAssets', 'Touched', {
1996
+ assetId: number;
1997
+ who: AccountId32;
1998
+ depositor: AccountId32;
1999
+ }>;
2210
2000
  /**
2211
- * The amount of the second asset that was received.
2001
+ * Some account `who` was blocked.
2212
2002
  **/
2213
- amountOut: bigint;
2214
- }
2215
- >;
2216
-
2003
+ Blocked: GenericPalletEvent<'PoolAssets', 'Blocked', {
2004
+ assetId: number;
2005
+ who: AccountId32;
2006
+ }>;
2007
+ /**
2008
+ * Generic pallet event
2009
+ **/
2010
+ [prop: string]: GenericPalletEvent;
2011
+ };
2217
2012
  /**
2218
- * An amount has been transferred from one account to another.
2013
+ * Pallet `AssetConversion`'s events
2219
2014
  **/
2220
- Transfer: GenericPalletEvent<
2221
- 'AssetConversion',
2222
- 'Transfer',
2223
- {
2015
+ assetConversion: {
2224
2016
  /**
2225
- * The account that the assets were transferred from.
2017
+ * A successful call of the `CretaPool` extrinsic will create this event.
2226
2018
  **/
2227
- from: AccountId32;
2228
-
2019
+ PoolCreated: GenericPalletEvent<'AssetConversion', 'PoolCreated', {
2020
+ /**
2021
+ * The account that created the pool.
2022
+ **/
2023
+ creator: AccountId32;
2024
+ /**
2025
+ * The pool id associated with the pool. Note that the order of the assets may not be
2026
+ * the same as the order specified in the create pool extrinsic.
2027
+ **/
2028
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2029
+ /**
2030
+ * The account ID of the pool.
2031
+ **/
2032
+ poolAccount: AccountId32;
2033
+ /**
2034
+ * The id of the liquidity tokens that will be minted when assets are added to this
2035
+ * pool.
2036
+ **/
2037
+ lpToken: number;
2038
+ }>;
2229
2039
  /**
2230
- * The account that the assets were transferred to.
2040
+ * A successful call of the `AddLiquidity` extrinsic will create this event.
2231
2041
  **/
2232
- to: AccountId32;
2233
-
2042
+ LiquidityAdded: GenericPalletEvent<'AssetConversion', 'LiquidityAdded', {
2043
+ /**
2044
+ * The account that the liquidity was taken from.
2045
+ **/
2046
+ who: AccountId32;
2047
+ /**
2048
+ * The account that the liquidity tokens were minted to.
2049
+ **/
2050
+ mintTo: AccountId32;
2051
+ /**
2052
+ * The pool id of the pool that the liquidity was added to.
2053
+ **/
2054
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2055
+ /**
2056
+ * The amount of the first asset that was added to the pool.
2057
+ **/
2058
+ amount1Provided: bigint;
2059
+ /**
2060
+ * The amount of the second asset that was added to the pool.
2061
+ **/
2062
+ amount2Provided: bigint;
2063
+ /**
2064
+ * The id of the lp token that was minted.
2065
+ **/
2066
+ lpToken: number;
2067
+ /**
2068
+ * The amount of lp tokens that were minted of that id.
2069
+ **/
2070
+ lpTokenMinted: bigint;
2071
+ }>;
2234
2072
  /**
2235
- * The asset that was transferred.
2073
+ * A successful call of the `RemoveLiquidity` extrinsic will create this event.
2236
2074
  **/
2237
- asset: StagingXcmV3MultilocationMultiLocation;
2238
-
2075
+ LiquidityRemoved: GenericPalletEvent<'AssetConversion', 'LiquidityRemoved', {
2076
+ /**
2077
+ * The account that the liquidity tokens were burned from.
2078
+ **/
2079
+ who: AccountId32;
2080
+ /**
2081
+ * The account that the assets were transferred to.
2082
+ **/
2083
+ withdrawTo: AccountId32;
2084
+ /**
2085
+ * The pool id that the liquidity was removed from.
2086
+ **/
2087
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2088
+ /**
2089
+ * The amount of the first asset that was removed from the pool.
2090
+ **/
2091
+ amount1: bigint;
2092
+ /**
2093
+ * The amount of the second asset that was removed from the pool.
2094
+ **/
2095
+ amount2: bigint;
2096
+ /**
2097
+ * The id of the lp token that was burned.
2098
+ **/
2099
+ lpToken: number;
2100
+ /**
2101
+ * The amount of lp tokens that were burned of that id.
2102
+ **/
2103
+ lpTokenBurned: bigint;
2104
+ /**
2105
+ * Liquidity withdrawal fee (%).
2106
+ **/
2107
+ withdrawalFee: Permill;
2108
+ }>;
2239
2109
  /**
2240
- * The amount of the asset that was transferred.
2110
+ * Assets have been converted from one to another. Both `SwapExactTokenForToken`
2111
+ * and `SwapTokenForExactToken` will generate this event.
2241
2112
  **/
2242
- amount: bigint;
2243
- }
2244
- >;
2245
-
2246
- /**
2247
- * Generic pallet event
2248
- **/
2249
- [prop: string]: GenericPalletEvent;
2250
- };
2113
+ SwapExecuted: GenericPalletEvent<'AssetConversion', 'SwapExecuted', {
2114
+ /**
2115
+ * Which account was the instigator of the swap.
2116
+ **/
2117
+ who: AccountId32;
2118
+ /**
2119
+ * The account that the assets were transferred to.
2120
+ **/
2121
+ sendTo: AccountId32;
2122
+ /**
2123
+ * The route of asset ids that the swap went through.
2124
+ * E.g. A -> Dot -> B
2125
+ **/
2126
+ path: Array<StagingXcmV3MultilocationMultiLocation>;
2127
+ /**
2128
+ * The amount of the first asset that was swapped.
2129
+ **/
2130
+ amountIn: bigint;
2131
+ /**
2132
+ * The amount of the second asset that was received.
2133
+ **/
2134
+ amountOut: bigint;
2135
+ }>;
2136
+ /**
2137
+ * An amount has been transferred from one account to another.
2138
+ **/
2139
+ Transfer: GenericPalletEvent<'AssetConversion', 'Transfer', {
2140
+ /**
2141
+ * The account that the assets were transferred from.
2142
+ **/
2143
+ from: AccountId32;
2144
+ /**
2145
+ * The account that the assets were transferred to.
2146
+ **/
2147
+ to: AccountId32;
2148
+ /**
2149
+ * The asset that was transferred.
2150
+ **/
2151
+ asset: StagingXcmV3MultilocationMultiLocation;
2152
+ /**
2153
+ * The amount of the asset that was transferred.
2154
+ **/
2155
+ amount: bigint;
2156
+ }>;
2157
+ /**
2158
+ * Generic pallet event
2159
+ **/
2160
+ [prop: string]: GenericPalletEvent;
2161
+ };
2251
2162
  }