@dedot/chaintypes 0.0.1-alpha.8 → 0.0.1-alpha.80

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