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