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

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