@dedot/chaintypes 0.0.1-alpha.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/aleph/consts.d.ts +533 -0
  4. package/aleph/consts.js +2 -0
  5. package/aleph/errors.d.ts +822 -0
  6. package/aleph/errors.js +2 -0
  7. package/aleph/events.d.ts +997 -0
  8. package/aleph/events.js +2 -0
  9. package/aleph/index.d.ts +19 -0
  10. package/aleph/index.js +3 -0
  11. package/aleph/query.d.ts +1271 -0
  12. package/aleph/query.js +2 -0
  13. package/aleph/rpc.d.ts +575 -0
  14. package/aleph/rpc.js +2 -0
  15. package/aleph/runtime.d.ts +410 -0
  16. package/aleph/runtime.js +2 -0
  17. package/aleph/tx.d.ts +2206 -0
  18. package/aleph/tx.js +2 -0
  19. package/aleph/types.d.ts +5560 -0
  20. package/aleph/types.js +2 -0
  21. package/astar/consts.d.ts +679 -0
  22. package/astar/consts.js +2 -0
  23. package/astar/errors.d.ts +1317 -0
  24. package/astar/errors.js +2 -0
  25. package/astar/events.d.ts +1707 -0
  26. package/astar/events.js +2 -0
  27. package/astar/index.d.ts +19 -0
  28. package/astar/index.js +3 -0
  29. package/astar/query.d.ts +1474 -0
  30. package/astar/query.js +2 -0
  31. package/astar/rpc.d.ts +775 -0
  32. package/astar/rpc.js +2 -0
  33. package/astar/runtime.d.ts +262 -0
  34. package/astar/runtime.js +2 -0
  35. package/astar/tx.d.ts +4810 -0
  36. package/astar/tx.js +2 -0
  37. package/astar/types.d.ts +12338 -0
  38. package/astar/types.js +2 -0
  39. package/cjs/aleph/consts.js +3 -0
  40. package/cjs/aleph/errors.js +3 -0
  41. package/cjs/aleph/events.js +3 -0
  42. package/cjs/aleph/index.js +19 -0
  43. package/cjs/aleph/query.js +3 -0
  44. package/cjs/aleph/rpc.js +3 -0
  45. package/cjs/aleph/runtime.js +3 -0
  46. package/cjs/aleph/tx.js +3 -0
  47. package/cjs/aleph/types.js +3 -0
  48. package/cjs/astar/consts.js +3 -0
  49. package/cjs/astar/errors.js +3 -0
  50. package/cjs/astar/events.js +3 -0
  51. package/cjs/astar/index.js +19 -0
  52. package/cjs/astar/query.js +3 -0
  53. package/cjs/astar/rpc.js +3 -0
  54. package/cjs/astar/runtime.js +3 -0
  55. package/cjs/astar/tx.js +3 -0
  56. package/cjs/astar/types.js +3 -0
  57. package/cjs/index.js +2 -0
  58. package/cjs/kusama/consts.js +3 -0
  59. package/cjs/kusama/errors.js +3 -0
  60. package/cjs/kusama/events.js +3 -0
  61. package/cjs/kusama/index.js +19 -0
  62. package/cjs/kusama/query.js +3 -0
  63. package/cjs/kusama/rpc.js +3 -0
  64. package/cjs/kusama/runtime.js +3 -0
  65. package/cjs/kusama/tx.js +3 -0
  66. package/cjs/kusama/types.js +3 -0
  67. package/cjs/kusamaAssetHub/consts.js +3 -0
  68. package/cjs/kusamaAssetHub/errors.js +3 -0
  69. package/cjs/kusamaAssetHub/events.js +3 -0
  70. package/cjs/kusamaAssetHub/index.js +19 -0
  71. package/cjs/kusamaAssetHub/query.js +3 -0
  72. package/cjs/kusamaAssetHub/rpc.js +3 -0
  73. package/cjs/kusamaAssetHub/runtime.js +3 -0
  74. package/cjs/kusamaAssetHub/tx.js +3 -0
  75. package/cjs/kusamaAssetHub/types.js +3 -0
  76. package/cjs/moonbeam/consts.js +3 -0
  77. package/cjs/moonbeam/errors.js +3 -0
  78. package/cjs/moonbeam/events.js +3 -0
  79. package/cjs/moonbeam/index.js +19 -0
  80. package/cjs/moonbeam/query.js +3 -0
  81. package/cjs/moonbeam/rpc.js +3 -0
  82. package/cjs/moonbeam/runtime.js +3 -0
  83. package/cjs/moonbeam/tx.js +3 -0
  84. package/cjs/moonbeam/types.js +3 -0
  85. package/cjs/package.json +1 -0
  86. package/cjs/packageInfo.js +5 -0
  87. package/cjs/polkadot/consts.js +3 -0
  88. package/cjs/polkadot/errors.js +3 -0
  89. package/cjs/polkadot/events.js +3 -0
  90. package/cjs/polkadot/index.js +19 -0
  91. package/cjs/polkadot/query.js +3 -0
  92. package/cjs/polkadot/rpc.js +3 -0
  93. package/cjs/polkadot/runtime.js +3 -0
  94. package/cjs/polkadot/tx.js +3 -0
  95. package/cjs/polkadot/types.js +3 -0
  96. package/cjs/polkadotAssetHub/consts.js +3 -0
  97. package/cjs/polkadotAssetHub/errors.js +3 -0
  98. package/cjs/polkadotAssetHub/events.js +3 -0
  99. package/cjs/polkadotAssetHub/index.js +19 -0
  100. package/cjs/polkadotAssetHub/query.js +3 -0
  101. package/cjs/polkadotAssetHub/rpc.js +3 -0
  102. package/cjs/polkadotAssetHub/runtime.js +3 -0
  103. package/cjs/polkadotAssetHub/tx.js +3 -0
  104. package/cjs/polkadotAssetHub/types.js +3 -0
  105. package/cjs/rococoAssetHub/consts.js +3 -0
  106. package/cjs/rococoAssetHub/errors.js +3 -0
  107. package/cjs/rococoAssetHub/events.js +3 -0
  108. package/cjs/rococoAssetHub/index.js +19 -0
  109. package/cjs/rococoAssetHub/query.js +3 -0
  110. package/cjs/rococoAssetHub/rpc.js +3 -0
  111. package/cjs/rococoAssetHub/runtime.js +3 -0
  112. package/cjs/rococoAssetHub/tx.js +3 -0
  113. package/cjs/rococoAssetHub/types.js +3 -0
  114. package/cjs/substrate/consts.js +3 -0
  115. package/cjs/substrate/errors.js +3 -0
  116. package/cjs/substrate/events.js +3 -0
  117. package/cjs/substrate/index.js +19 -0
  118. package/cjs/substrate/query.js +3 -0
  119. package/cjs/substrate/rpc.js +3 -0
  120. package/cjs/substrate/runtime.js +3 -0
  121. package/cjs/substrate/tx.js +3 -0
  122. package/cjs/substrate/types.js +3 -0
  123. package/cjs/westendAssetHub/consts.js +3 -0
  124. package/cjs/westendAssetHub/errors.js +3 -0
  125. package/cjs/westendAssetHub/events.js +3 -0
  126. package/cjs/westendAssetHub/index.js +19 -0
  127. package/cjs/westendAssetHub/query.js +3 -0
  128. package/cjs/westendAssetHub/rpc.js +3 -0
  129. package/cjs/westendAssetHub/runtime.js +3 -0
  130. package/cjs/westendAssetHub/tx.js +3 -0
  131. package/cjs/westendAssetHub/types.js +3 -0
  132. package/index.d.ts +5 -0
  133. package/index.js +1 -0
  134. package/kusama/consts.d.ts +1427 -0
  135. package/kusama/consts.js +2 -0
  136. package/kusama/errors.d.ts +2494 -0
  137. package/kusama/errors.js +2 -0
  138. package/kusama/events.d.ts +2960 -0
  139. package/kusama/events.js +2 -0
  140. package/kusama/index.d.ts +19 -0
  141. package/kusama/index.js +3 -0
  142. package/kusama/query.d.ts +3251 -0
  143. package/kusama/query.js +2 -0
  144. package/kusama/rpc.d.ts +726 -0
  145. package/kusama/rpc.js +2 -0
  146. package/kusama/runtime.d.ts +844 -0
  147. package/kusama/runtime.js +2 -0
  148. package/kusama/tx.d.ts +6014 -0
  149. package/kusama/tx.js +2 -0
  150. package/kusama/types.d.ts +15903 -0
  151. package/kusama/types.js +2 -0
  152. package/kusamaAssetHub/consts.d.ts +632 -0
  153. package/kusamaAssetHub/consts.js +2 -0
  154. package/kusamaAssetHub/errors.d.ts +1164 -0
  155. package/kusamaAssetHub/errors.js +2 -0
  156. package/kusamaAssetHub/events.d.ts +2162 -0
  157. package/kusamaAssetHub/events.js +2 -0
  158. package/kusamaAssetHub/index.d.ts +19 -0
  159. package/kusamaAssetHub/index.js +3 -0
  160. package/kusamaAssetHub/query.d.ts +1301 -0
  161. package/kusamaAssetHub/query.js +2 -0
  162. package/kusamaAssetHub/rpc.d.ts +590 -0
  163. package/kusamaAssetHub/rpc.js +2 -0
  164. package/kusamaAssetHub/runtime.d.ts +402 -0
  165. package/kusamaAssetHub/runtime.js +2 -0
  166. package/kusamaAssetHub/tx.d.ts +4217 -0
  167. package/kusamaAssetHub/tx.js +2 -0
  168. package/kusamaAssetHub/types.d.ts +10418 -0
  169. package/kusamaAssetHub/types.js +2 -0
  170. package/moonbeam/consts.d.ts +961 -0
  171. package/moonbeam/consts.js +2 -0
  172. package/moonbeam/errors.d.ts +1797 -0
  173. package/moonbeam/errors.js +2 -0
  174. package/moonbeam/events.d.ts +2840 -0
  175. package/moonbeam/events.js +2 -0
  176. package/moonbeam/index.d.ts +19 -0
  177. package/moonbeam/index.js +3 -0
  178. package/moonbeam/query.d.ts +2027 -0
  179. package/moonbeam/query.js +2 -0
  180. package/moonbeam/rpc.d.ts +809 -0
  181. package/moonbeam/rpc.js +2 -0
  182. package/moonbeam/runtime.d.ts +506 -0
  183. package/moonbeam/runtime.js +2 -0
  184. package/moonbeam/tx.d.ts +5205 -0
  185. package/moonbeam/tx.js +2 -0
  186. package/moonbeam/types.d.ts +12349 -0
  187. package/moonbeam/types.js +2 -0
  188. package/package.json +33 -0
  189. package/packageInfo.d.ts +4 -0
  190. package/packageInfo.js +3 -0
  191. package/polkadot/consts.d.ts +1160 -0
  192. package/polkadot/consts.js +2 -0
  193. package/polkadot/errors.d.ts +2020 -0
  194. package/polkadot/errors.js +2 -0
  195. package/polkadot/events.d.ts +2235 -0
  196. package/polkadot/events.js +2 -0
  197. package/polkadot/index.d.ts +19 -0
  198. package/polkadot/index.js +3 -0
  199. package/polkadot/query.d.ts +2811 -0
  200. package/polkadot/query.js +2 -0
  201. package/polkadot/rpc.d.ts +726 -0
  202. package/polkadot/rpc.js +2 -0
  203. package/polkadot/runtime.d.ts +844 -0
  204. package/polkadot/runtime.js +2 -0
  205. package/polkadot/tx.d.ts +5009 -0
  206. package/polkadot/tx.js +2 -0
  207. package/polkadot/types.d.ts +13729 -0
  208. package/polkadot/types.js +2 -0
  209. package/polkadotAssetHub/consts.d.ts +524 -0
  210. package/polkadotAssetHub/consts.js +2 -0
  211. package/polkadotAssetHub/errors.d.ts +925 -0
  212. package/polkadotAssetHub/errors.js +2 -0
  213. package/polkadotAssetHub/events.d.ts +1787 -0
  214. package/polkadotAssetHub/events.js +2 -0
  215. package/polkadotAssetHub/index.d.ts +19 -0
  216. package/polkadotAssetHub/index.js +3 -0
  217. package/polkadotAssetHub/query.d.ts +1222 -0
  218. package/polkadotAssetHub/query.js +2 -0
  219. package/polkadotAssetHub/rpc.d.ts +590 -0
  220. package/polkadotAssetHub/rpc.js +2 -0
  221. package/polkadotAssetHub/runtime.d.ts +359 -0
  222. package/polkadotAssetHub/runtime.js +2 -0
  223. package/polkadotAssetHub/tx.d.ts +3492 -0
  224. package/polkadotAssetHub/tx.js +2 -0
  225. package/polkadotAssetHub/types.d.ts +9164 -0
  226. package/polkadotAssetHub/types.js +2 -0
  227. package/rococoAssetHub/consts.d.ts +658 -0
  228. package/rococoAssetHub/consts.js +2 -0
  229. package/rococoAssetHub/errors.d.ts +1231 -0
  230. package/rococoAssetHub/errors.js +2 -0
  231. package/rococoAssetHub/events.d.ts +2172 -0
  232. package/rococoAssetHub/events.js +2 -0
  233. package/rococoAssetHub/index.d.ts +19 -0
  234. package/rococoAssetHub/index.js +3 -0
  235. package/rococoAssetHub/query.d.ts +1269 -0
  236. package/rococoAssetHub/query.js +2 -0
  237. package/rococoAssetHub/rpc.d.ts +590 -0
  238. package/rococoAssetHub/rpc.js +2 -0
  239. package/rococoAssetHub/runtime.d.ts +428 -0
  240. package/rococoAssetHub/runtime.js +2 -0
  241. package/rococoAssetHub/tx.d.ts +4307 -0
  242. package/rococoAssetHub/tx.js +2 -0
  243. package/rococoAssetHub/types.d.ts +11066 -0
  244. package/rococoAssetHub/types.js +2 -0
  245. package/substrate/consts.d.ts +1971 -0
  246. package/substrate/consts.js +2 -0
  247. package/substrate/errors.d.ts +3337 -0
  248. package/substrate/errors.js +2 -0
  249. package/substrate/events.d.ts +4777 -0
  250. package/substrate/events.js +2 -0
  251. package/substrate/index.d.ts +19 -0
  252. package/substrate/index.js +3 -0
  253. package/substrate/query.d.ts +3350 -0
  254. package/substrate/query.js +2 -0
  255. package/substrate/rpc.d.ts +718 -0
  256. package/substrate/rpc.js +2 -0
  257. package/substrate/runtime.d.ts +708 -0
  258. package/substrate/runtime.js +2 -0
  259. package/substrate/tx.d.ts +8800 -0
  260. package/substrate/tx.js +2 -0
  261. package/substrate/types.d.ts +20332 -0
  262. package/substrate/types.js +2 -0
  263. package/westendAssetHub/consts.d.ts +658 -0
  264. package/westendAssetHub/consts.js +2 -0
  265. package/westendAssetHub/errors.d.ts +1231 -0
  266. package/westendAssetHub/errors.js +2 -0
  267. package/westendAssetHub/events.d.ts +2172 -0
  268. package/westendAssetHub/events.js +2 -0
  269. package/westendAssetHub/index.d.ts +19 -0
  270. package/westendAssetHub/index.js +3 -0
  271. package/westendAssetHub/query.d.ts +1269 -0
  272. package/westendAssetHub/query.js +2 -0
  273. package/westendAssetHub/rpc.d.ts +590 -0
  274. package/westendAssetHub/rpc.js +2 -0
  275. package/westendAssetHub/runtime.d.ts +456 -0
  276. package/westendAssetHub/runtime.js +2 -0
  277. package/westendAssetHub/tx.d.ts +4307 -0
  278. package/westendAssetHub/tx.js +2 -0
  279. package/westendAssetHub/types.d.ts +11062 -0
  280. package/westendAssetHub/types.js +2 -0
@@ -0,0 +1,2172 @@
1
+ import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
2
+ import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Bytes, Permill } from '@dedot/codecs';
3
+ import type { SpWeightsWeightV2Weight, FrameSupportTokensMiscBalanceStatus, StagingXcmV3MultilocationMultiLocation, StagingXcmV4TraitsOutcome, StagingXcmV4Location, StagingXcmV4Xcm, StagingXcmV4Response, XcmVersionedAssets, StagingXcmV4AssetAssets, XcmV3TraitsError, XcmVersionedLocation, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, PalletMultisigTimepoint, AssetHubRococoRuntimeProxyType, PalletNftsAttributeNamespace, PalletNftsPriceWithDirection, PalletNftsPalletAttributes } from './types';
4
+ export interface ChainEvents extends GenericChainEvents {
5
+ /**
6
+ * Pallet `System`'s events
7
+ **/
8
+ system: {
9
+ /**
10
+ * An extrinsic completed successfully.
11
+ **/
12
+ ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', {
13
+ dispatchInfo: DispatchInfo;
14
+ }>;
15
+ /**
16
+ * An extrinsic failed.
17
+ **/
18
+ ExtrinsicFailed: GenericPalletEvent<'System', 'ExtrinsicFailed', {
19
+ dispatchError: DispatchError;
20
+ dispatchInfo: DispatchInfo;
21
+ }>;
22
+ /**
23
+ * `:code` was updated.
24
+ **/
25
+ CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
26
+ /**
27
+ * A new account was created.
28
+ **/
29
+ NewAccount: GenericPalletEvent<'System', 'NewAccount', {
30
+ account: AccountId32;
31
+ }>;
32
+ /**
33
+ * An account was reaped.
34
+ **/
35
+ KilledAccount: GenericPalletEvent<'System', 'KilledAccount', {
36
+ account: AccountId32;
37
+ }>;
38
+ /**
39
+ * On on-chain remark happened.
40
+ **/
41
+ Remarked: GenericPalletEvent<'System', 'Remarked', {
42
+ sender: AccountId32;
43
+ hash: H256;
44
+ }>;
45
+ /**
46
+ * 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
+ };
57
+ /**
58
+ * Pallet `ParachainSystem`'s events
59
+ **/
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
+ };
99
+ /**
100
+ * Pallet `Balances`'s events
101
+ **/
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
+ };
264
+ /**
265
+ * Pallet `TransactionPayment`'s events
266
+ **/
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
+ };
282
+ /**
283
+ * Pallet `AssetTxPayment`'s events
284
+ **/
285
+ assetTxPayment: {
286
+ /**
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`.
289
+ **/
290
+ AssetTxFeePaid: GenericPalletEvent<'AssetTxPayment', 'AssetTxFeePaid', {
291
+ who: AccountId32;
292
+ actualFee: bigint;
293
+ tip: bigint;
294
+ assetId: StagingXcmV3MultilocationMultiLocation;
295
+ }>;
296
+ /**
297
+ * A swap of the refund in native currency back to asset failed.
298
+ **/
299
+ AssetRefundFailed: GenericPalletEvent<'AssetTxPayment', 'AssetRefundFailed', {
300
+ nativeAmountKept: bigint;
301
+ }>;
302
+ /**
303
+ * Generic pallet event
304
+ **/
305
+ [prop: string]: GenericPalletEvent;
306
+ };
307
+ /**
308
+ * Pallet `CollatorSelection`'s events
309
+ **/
310
+ collatorSelection: {
311
+ /**
312
+ * New Invulnerables were set.
313
+ **/
314
+ NewInvulnerables: GenericPalletEvent<'CollatorSelection', 'NewInvulnerables', {
315
+ invulnerables: Array<AccountId32>;
316
+ }>;
317
+ /**
318
+ * A new Invulnerable was added.
319
+ **/
320
+ InvulnerableAdded: GenericPalletEvent<'CollatorSelection', 'InvulnerableAdded', {
321
+ accountId: AccountId32;
322
+ }>;
323
+ /**
324
+ * An Invulnerable was removed.
325
+ **/
326
+ InvulnerableRemoved: GenericPalletEvent<'CollatorSelection', 'InvulnerableRemoved', {
327
+ accountId: AccountId32;
328
+ }>;
329
+ /**
330
+ * The number of desired candidates was set.
331
+ **/
332
+ NewDesiredCandidates: GenericPalletEvent<'CollatorSelection', 'NewDesiredCandidates', {
333
+ desiredCandidates: number;
334
+ }>;
335
+ /**
336
+ * The candidacy bond was set.
337
+ **/
338
+ NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', {
339
+ bondAmount: bigint;
340
+ }>;
341
+ /**
342
+ * A new candidate joined.
343
+ **/
344
+ CandidateAdded: GenericPalletEvent<'CollatorSelection', 'CandidateAdded', {
345
+ accountId: AccountId32;
346
+ deposit: bigint;
347
+ }>;
348
+ /**
349
+ * Bond of a candidate updated.
350
+ **/
351
+ CandidateBondUpdated: GenericPalletEvent<'CollatorSelection', 'CandidateBondUpdated', {
352
+ accountId: AccountId32;
353
+ deposit: bigint;
354
+ }>;
355
+ /**
356
+ * A candidate was removed.
357
+ **/
358
+ CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', {
359
+ accountId: AccountId32;
360
+ }>;
361
+ /**
362
+ * An account was replaced in the candidate list by another one.
363
+ **/
364
+ CandidateReplaced: GenericPalletEvent<'CollatorSelection', 'CandidateReplaced', {
365
+ old: AccountId32;
366
+ new: AccountId32;
367
+ deposit: bigint;
368
+ }>;
369
+ /**
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.
372
+ **/
373
+ InvalidInvulnerableSkipped: GenericPalletEvent<'CollatorSelection', 'InvalidInvulnerableSkipped', {
374
+ accountId: AccountId32;
375
+ }>;
376
+ /**
377
+ * Generic pallet event
378
+ **/
379
+ [prop: string]: GenericPalletEvent;
380
+ };
381
+ /**
382
+ * Pallet `Session`'s events
383
+ **/
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
+ };
397
+ /**
398
+ * Pallet `XcmpQueue`'s events
399
+ **/
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
+ };
412
+ /**
413
+ * Pallet `PolkadotXcm`'s events
414
+ **/
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
+ };
637
+ /**
638
+ * Pallet `CumulusXcm`'s events
639
+ **/
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
+ };
661
+ /**
662
+ * Pallet `MessageQueue`'s events
663
+ **/
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
+ };
750
+ /**
751
+ * Pallet `Utility`'s events
752
+ **/
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
+ };
791
+ /**
792
+ * Pallet `Multisig`'s events
793
+ **/
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
+ };
836
+ /**
837
+ * Pallet `Proxy`'s events
838
+ **/
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: AssetHubRococoRuntimeProxyType;
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: AssetHubRococoRuntimeProxyType;
871
+ delay: number;
872
+ }>;
873
+ /**
874
+ * A proxy was removed.
875
+ **/
876
+ ProxyRemoved: GenericPalletEvent<'Proxy', 'ProxyRemoved', {
877
+ delegator: AccountId32;
878
+ delegatee: AccountId32;
879
+ proxyType: AssetHubRococoRuntimeProxyType;
880
+ delay: number;
881
+ }>;
882
+ /**
883
+ * Generic pallet event
884
+ **/
885
+ [prop: string]: GenericPalletEvent;
886
+ };
887
+ /**
888
+ * Pallet `Assets`'s events
889
+ **/
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
+ };
1078
+ /**
1079
+ * Pallet `Uniques`'s events
1080
+ **/
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
+ };
1295
+ /**
1296
+ * Pallet `Nfts`'s events
1297
+ **/
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
+ };
1615
+ /**
1616
+ * Pallet `ForeignAssets`'s events
1617
+ **/
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
+ };
1806
+ /**
1807
+ * Pallet `NftFractionalization`'s events
1808
+ **/
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
+ };
1834
+ /**
1835
+ * Pallet `PoolAssets`'s events
1836
+ **/
1837
+ poolAssets: {
1838
+ /**
1839
+ * Some asset class was created.
1840
+ **/
1841
+ Created: GenericPalletEvent<'PoolAssets', 'Created', {
1842
+ assetId: number;
1843
+ creator: AccountId32;
1844
+ owner: AccountId32;
1845
+ }>;
1846
+ /**
1847
+ * Some assets were issued.
1848
+ **/
1849
+ Issued: GenericPalletEvent<'PoolAssets', 'Issued', {
1850
+ assetId: number;
1851
+ owner: AccountId32;
1852
+ amount: bigint;
1853
+ }>;
1854
+ /**
1855
+ * Some assets were transferred.
1856
+ **/
1857
+ Transferred: GenericPalletEvent<'PoolAssets', 'Transferred', {
1858
+ assetId: number;
1859
+ from: AccountId32;
1860
+ to: AccountId32;
1861
+ amount: bigint;
1862
+ }>;
1863
+ /**
1864
+ * Some assets were destroyed.
1865
+ **/
1866
+ Burned: GenericPalletEvent<'PoolAssets', 'Burned', {
1867
+ assetId: number;
1868
+ owner: AccountId32;
1869
+ balance: bigint;
1870
+ }>;
1871
+ /**
1872
+ * The management team changed.
1873
+ **/
1874
+ TeamChanged: GenericPalletEvent<'PoolAssets', 'TeamChanged', {
1875
+ assetId: number;
1876
+ issuer: AccountId32;
1877
+ admin: AccountId32;
1878
+ freezer: AccountId32;
1879
+ }>;
1880
+ /**
1881
+ * The owner changed.
1882
+ **/
1883
+ OwnerChanged: GenericPalletEvent<'PoolAssets', 'OwnerChanged', {
1884
+ assetId: number;
1885
+ owner: AccountId32;
1886
+ }>;
1887
+ /**
1888
+ * Some account `who` was frozen.
1889
+ **/
1890
+ Frozen: GenericPalletEvent<'PoolAssets', 'Frozen', {
1891
+ assetId: number;
1892
+ who: AccountId32;
1893
+ }>;
1894
+ /**
1895
+ * Some account `who` was thawed.
1896
+ **/
1897
+ Thawed: GenericPalletEvent<'PoolAssets', 'Thawed', {
1898
+ assetId: number;
1899
+ who: AccountId32;
1900
+ }>;
1901
+ /**
1902
+ * Some asset `asset_id` was frozen.
1903
+ **/
1904
+ AssetFrozen: GenericPalletEvent<'PoolAssets', 'AssetFrozen', {
1905
+ assetId: number;
1906
+ }>;
1907
+ /**
1908
+ * Some asset `asset_id` was thawed.
1909
+ **/
1910
+ AssetThawed: GenericPalletEvent<'PoolAssets', 'AssetThawed', {
1911
+ assetId: number;
1912
+ }>;
1913
+ /**
1914
+ * Accounts were destroyed for given asset.
1915
+ **/
1916
+ AccountsDestroyed: GenericPalletEvent<'PoolAssets', 'AccountsDestroyed', {
1917
+ assetId: number;
1918
+ accountsDestroyed: number;
1919
+ accountsRemaining: number;
1920
+ }>;
1921
+ /**
1922
+ * Approvals were destroyed for given asset.
1923
+ **/
1924
+ ApprovalsDestroyed: GenericPalletEvent<'PoolAssets', 'ApprovalsDestroyed', {
1925
+ assetId: number;
1926
+ approvalsDestroyed: number;
1927
+ approvalsRemaining: number;
1928
+ }>;
1929
+ /**
1930
+ * An asset class is in the process of being destroyed.
1931
+ **/
1932
+ DestructionStarted: GenericPalletEvent<'PoolAssets', 'DestructionStarted', {
1933
+ assetId: number;
1934
+ }>;
1935
+ /**
1936
+ * An asset class was destroyed.
1937
+ **/
1938
+ Destroyed: GenericPalletEvent<'PoolAssets', 'Destroyed', {
1939
+ assetId: number;
1940
+ }>;
1941
+ /**
1942
+ * Some asset class was force-created.
1943
+ **/
1944
+ ForceCreated: GenericPalletEvent<'PoolAssets', 'ForceCreated', {
1945
+ assetId: number;
1946
+ owner: AccountId32;
1947
+ }>;
1948
+ /**
1949
+ * New metadata has been set for an asset.
1950
+ **/
1951
+ MetadataSet: GenericPalletEvent<'PoolAssets', 'MetadataSet', {
1952
+ assetId: number;
1953
+ name: Bytes;
1954
+ symbol: Bytes;
1955
+ decimals: number;
1956
+ isFrozen: boolean;
1957
+ }>;
1958
+ /**
1959
+ * Metadata has been cleared for an asset.
1960
+ **/
1961
+ MetadataCleared: GenericPalletEvent<'PoolAssets', 'MetadataCleared', {
1962
+ assetId: number;
1963
+ }>;
1964
+ /**
1965
+ * (Additional) funds have been approved for transfer to a destination account.
1966
+ **/
1967
+ ApprovedTransfer: GenericPalletEvent<'PoolAssets', 'ApprovedTransfer', {
1968
+ assetId: number;
1969
+ source: AccountId32;
1970
+ delegate: AccountId32;
1971
+ amount: bigint;
1972
+ }>;
1973
+ /**
1974
+ * An approval for account `delegate` was cancelled by `owner`.
1975
+ **/
1976
+ ApprovalCancelled: GenericPalletEvent<'PoolAssets', 'ApprovalCancelled', {
1977
+ assetId: number;
1978
+ owner: AccountId32;
1979
+ delegate: AccountId32;
1980
+ }>;
1981
+ /**
1982
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
1983
+ * the approved `delegate`.
1984
+ **/
1985
+ TransferredApproved: GenericPalletEvent<'PoolAssets', 'TransferredApproved', {
1986
+ assetId: number;
1987
+ owner: AccountId32;
1988
+ delegate: AccountId32;
1989
+ destination: AccountId32;
1990
+ amount: bigint;
1991
+ }>;
1992
+ /**
1993
+ * An asset has had its attributes changed by the `Force` origin.
1994
+ **/
1995
+ AssetStatusChanged: GenericPalletEvent<'PoolAssets', 'AssetStatusChanged', {
1996
+ assetId: number;
1997
+ }>;
1998
+ /**
1999
+ * The min_balance of an asset has been updated by the asset owner.
2000
+ **/
2001
+ AssetMinBalanceChanged: GenericPalletEvent<'PoolAssets', 'AssetMinBalanceChanged', {
2002
+ assetId: number;
2003
+ newMinBalance: bigint;
2004
+ }>;
2005
+ /**
2006
+ * Some account `who` was created with a deposit from `depositor`.
2007
+ **/
2008
+ Touched: GenericPalletEvent<'PoolAssets', 'Touched', {
2009
+ assetId: number;
2010
+ who: AccountId32;
2011
+ depositor: AccountId32;
2012
+ }>;
2013
+ /**
2014
+ * Some account `who` was blocked.
2015
+ **/
2016
+ Blocked: GenericPalletEvent<'PoolAssets', 'Blocked', {
2017
+ assetId: number;
2018
+ who: AccountId32;
2019
+ }>;
2020
+ /**
2021
+ * Generic pallet event
2022
+ **/
2023
+ [prop: string]: GenericPalletEvent;
2024
+ };
2025
+ /**
2026
+ * Pallet `AssetConversion`'s events
2027
+ **/
2028
+ assetConversion: {
2029
+ /**
2030
+ * A successful call of the `CretaPool` extrinsic will create this event.
2031
+ **/
2032
+ PoolCreated: GenericPalletEvent<'AssetConversion', 'PoolCreated', {
2033
+ /**
2034
+ * The account that created the pool.
2035
+ **/
2036
+ creator: AccountId32;
2037
+ /**
2038
+ * The pool id associated with the pool. Note that the order of the assets may not be
2039
+ * the same as the order specified in the create pool extrinsic.
2040
+ **/
2041
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2042
+ /**
2043
+ * The account ID of the pool.
2044
+ **/
2045
+ poolAccount: AccountId32;
2046
+ /**
2047
+ * The id of the liquidity tokens that will be minted when assets are added to this
2048
+ * pool.
2049
+ **/
2050
+ lpToken: number;
2051
+ }>;
2052
+ /**
2053
+ * A successful call of the `AddLiquidity` extrinsic will create this event.
2054
+ **/
2055
+ LiquidityAdded: GenericPalletEvent<'AssetConversion', 'LiquidityAdded', {
2056
+ /**
2057
+ * The account that the liquidity was taken from.
2058
+ **/
2059
+ who: AccountId32;
2060
+ /**
2061
+ * The account that the liquidity tokens were minted to.
2062
+ **/
2063
+ mintTo: AccountId32;
2064
+ /**
2065
+ * The pool id of the pool that the liquidity was added to.
2066
+ **/
2067
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2068
+ /**
2069
+ * The amount of the first asset that was added to the pool.
2070
+ **/
2071
+ amount1Provided: bigint;
2072
+ /**
2073
+ * The amount of the second asset that was added to the pool.
2074
+ **/
2075
+ amount2Provided: bigint;
2076
+ /**
2077
+ * The id of the lp token that was minted.
2078
+ **/
2079
+ lpToken: number;
2080
+ /**
2081
+ * The amount of lp tokens that were minted of that id.
2082
+ **/
2083
+ lpTokenMinted: bigint;
2084
+ }>;
2085
+ /**
2086
+ * A successful call of the `RemoveLiquidity` extrinsic will create this event.
2087
+ **/
2088
+ LiquidityRemoved: GenericPalletEvent<'AssetConversion', 'LiquidityRemoved', {
2089
+ /**
2090
+ * The account that the liquidity tokens were burned from.
2091
+ **/
2092
+ who: AccountId32;
2093
+ /**
2094
+ * The account that the assets were transferred to.
2095
+ **/
2096
+ withdrawTo: AccountId32;
2097
+ /**
2098
+ * The pool id that the liquidity was removed from.
2099
+ **/
2100
+ poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2101
+ /**
2102
+ * The amount of the first asset that was removed from the pool.
2103
+ **/
2104
+ amount1: bigint;
2105
+ /**
2106
+ * The amount of the second asset that was removed from the pool.
2107
+ **/
2108
+ amount2: bigint;
2109
+ /**
2110
+ * The id of the lp token that was burned.
2111
+ **/
2112
+ lpToken: number;
2113
+ /**
2114
+ * The amount of lp tokens that were burned of that id.
2115
+ **/
2116
+ lpTokenBurned: bigint;
2117
+ /**
2118
+ * Liquidity withdrawal fee (%).
2119
+ **/
2120
+ withdrawalFee: Permill;
2121
+ }>;
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
+ };
2172
+ }