@dedot/chaintypes 0.194.0 → 0.196.0
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.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +15 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +15 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +15 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +16 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +15 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +16 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +15 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +15 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +16 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +17 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +16 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +16 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +15 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +16 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +15 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +16 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +16 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +15 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +16 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +15 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainEvents, GenericPalletEvent
|
|
3
|
+
import type { GenericChainEvents, GenericPalletEvent } from 'dedot/types';
|
|
4
4
|
import type {
|
|
5
5
|
DispatchError,
|
|
6
6
|
AccountId32,
|
|
@@ -68,7 +68,7 @@ import type {
|
|
|
68
68
|
PalletRcMigratorQueuePriority,
|
|
69
69
|
} from './types.js';
|
|
70
70
|
|
|
71
|
-
export interface ChainEvents
|
|
71
|
+
export interface ChainEvents extends GenericChainEvents {
|
|
72
72
|
/**
|
|
73
73
|
* Pallet `System`'s events
|
|
74
74
|
**/
|
|
@@ -76,18 +76,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
76
76
|
/**
|
|
77
77
|
* An extrinsic completed successfully.
|
|
78
78
|
**/
|
|
79
|
-
ExtrinsicSuccess: GenericPalletEvent<
|
|
80
|
-
Rv,
|
|
81
|
-
'System',
|
|
82
|
-
'ExtrinsicSuccess',
|
|
83
|
-
{ dispatchInfo: FrameSystemDispatchEventInfo }
|
|
84
|
-
>;
|
|
79
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: FrameSystemDispatchEventInfo }>;
|
|
85
80
|
|
|
86
81
|
/**
|
|
87
82
|
* An extrinsic failed.
|
|
88
83
|
**/
|
|
89
84
|
ExtrinsicFailed: GenericPalletEvent<
|
|
90
|
-
Rv,
|
|
91
85
|
'System',
|
|
92
86
|
'ExtrinsicFailed',
|
|
93
87
|
{ dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
|
|
@@ -96,38 +90,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
96
90
|
/**
|
|
97
91
|
* `:code` was updated.
|
|
98
92
|
**/
|
|
99
|
-
CodeUpdated: GenericPalletEvent<
|
|
93
|
+
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
100
94
|
|
|
101
95
|
/**
|
|
102
96
|
* A new account was created.
|
|
103
97
|
**/
|
|
104
|
-
NewAccount: GenericPalletEvent<
|
|
98
|
+
NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
|
|
105
99
|
|
|
106
100
|
/**
|
|
107
101
|
* An account was reaped.
|
|
108
102
|
**/
|
|
109
|
-
KilledAccount: GenericPalletEvent<
|
|
103
|
+
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
|
|
110
104
|
|
|
111
105
|
/**
|
|
112
106
|
* On on-chain remark happened.
|
|
113
107
|
**/
|
|
114
|
-
Remarked: GenericPalletEvent<
|
|
108
|
+
Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
115
109
|
|
|
116
110
|
/**
|
|
117
111
|
* A [`Task`] has started executing
|
|
118
112
|
**/
|
|
119
|
-
TaskStarted: GenericPalletEvent<
|
|
113
|
+
TaskStarted: GenericPalletEvent<'System', 'TaskStarted', { task: AssetHubKusamaRuntimeRuntimeTask }>;
|
|
120
114
|
|
|
121
115
|
/**
|
|
122
116
|
* A [`Task`] has finished executing.
|
|
123
117
|
**/
|
|
124
|
-
TaskCompleted: GenericPalletEvent<
|
|
118
|
+
TaskCompleted: GenericPalletEvent<'System', 'TaskCompleted', { task: AssetHubKusamaRuntimeRuntimeTask }>;
|
|
125
119
|
|
|
126
120
|
/**
|
|
127
121
|
* A [`Task`] failed during execution.
|
|
128
122
|
**/
|
|
129
123
|
TaskFailed: GenericPalletEvent<
|
|
130
|
-
Rv,
|
|
131
124
|
'System',
|
|
132
125
|
'TaskFailed',
|
|
133
126
|
{ task: AssetHubKusamaRuntimeRuntimeTask; err: DispatchError }
|
|
@@ -136,13 +129,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
136
129
|
/**
|
|
137
130
|
* An upgrade was authorized.
|
|
138
131
|
**/
|
|
139
|
-
UpgradeAuthorized: GenericPalletEvent<
|
|
132
|
+
UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
140
133
|
|
|
141
134
|
/**
|
|
142
135
|
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
143
136
|
**/
|
|
144
137
|
RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
|
|
145
|
-
Rv,
|
|
146
138
|
'System',
|
|
147
139
|
'RejectedInvalidAuthorizedUpgrade',
|
|
148
140
|
{ codeHash: H256; error: DispatchError }
|
|
@@ -151,7 +143,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
151
143
|
/**
|
|
152
144
|
* Generic pallet event
|
|
153
145
|
**/
|
|
154
|
-
[prop: string]: GenericPalletEvent
|
|
146
|
+
[prop: string]: GenericPalletEvent;
|
|
155
147
|
};
|
|
156
148
|
/**
|
|
157
149
|
* Pallet `ParachainSystem`'s events
|
|
@@ -160,13 +152,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
160
152
|
/**
|
|
161
153
|
* The validation function has been scheduled to apply.
|
|
162
154
|
**/
|
|
163
|
-
ValidationFunctionStored: GenericPalletEvent<
|
|
155
|
+
ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
|
|
164
156
|
|
|
165
157
|
/**
|
|
166
158
|
* The validation function was applied as of the contained relay chain block number.
|
|
167
159
|
**/
|
|
168
160
|
ValidationFunctionApplied: GenericPalletEvent<
|
|
169
|
-
Rv,
|
|
170
161
|
'ParachainSystem',
|
|
171
162
|
'ValidationFunctionApplied',
|
|
172
163
|
{ relayChainBlockNum: number }
|
|
@@ -175,18 +166,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
175
166
|
/**
|
|
176
167
|
* The relay-chain aborted the upgrade process.
|
|
177
168
|
**/
|
|
178
|
-
ValidationFunctionDiscarded: GenericPalletEvent<
|
|
169
|
+
ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
179
170
|
|
|
180
171
|
/**
|
|
181
172
|
* Some downward messages have been received and will be processed.
|
|
182
173
|
**/
|
|
183
|
-
DownwardMessagesReceived: GenericPalletEvent<
|
|
174
|
+
DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
|
|
184
175
|
|
|
185
176
|
/**
|
|
186
177
|
* Downward messages were processed using the given weight.
|
|
187
178
|
**/
|
|
188
179
|
DownwardMessagesProcessed: GenericPalletEvent<
|
|
189
|
-
Rv,
|
|
190
180
|
'ParachainSystem',
|
|
191
181
|
'DownwardMessagesProcessed',
|
|
192
182
|
{ weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
|
|
@@ -196,7 +186,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
196
186
|
* An upward message was sent to the relay chain.
|
|
197
187
|
**/
|
|
198
188
|
UpwardMessageSent: GenericPalletEvent<
|
|
199
|
-
Rv,
|
|
200
189
|
'ParachainSystem',
|
|
201
190
|
'UpwardMessageSent',
|
|
202
191
|
{ messageHash?: FixedBytes<32> | undefined }
|
|
@@ -205,7 +194,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
205
194
|
/**
|
|
206
195
|
* Generic pallet event
|
|
207
196
|
**/
|
|
208
|
-
[prop: string]: GenericPalletEvent
|
|
197
|
+
[prop: string]: GenericPalletEvent;
|
|
209
198
|
};
|
|
210
199
|
/**
|
|
211
200
|
* Pallet `MultiBlockMigrations`'s events
|
|
@@ -217,7 +206,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
217
206
|
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
218
207
|
**/
|
|
219
208
|
UpgradeStarted: GenericPalletEvent<
|
|
220
|
-
Rv,
|
|
221
209
|
'MultiBlockMigrations',
|
|
222
210
|
'UpgradeStarted',
|
|
223
211
|
{
|
|
@@ -236,20 +224,19 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
236
224
|
*
|
|
237
225
|
* This implies that all of its migrations completed successfully as well.
|
|
238
226
|
**/
|
|
239
|
-
UpgradeCompleted: GenericPalletEvent<
|
|
227
|
+
UpgradeCompleted: GenericPalletEvent<'MultiBlockMigrations', 'UpgradeCompleted', null>;
|
|
240
228
|
|
|
241
229
|
/**
|
|
242
230
|
* Runtime upgrade failed.
|
|
243
231
|
*
|
|
244
232
|
* This is very bad and will require governance intervention.
|
|
245
233
|
**/
|
|
246
|
-
UpgradeFailed: GenericPalletEvent<
|
|
234
|
+
UpgradeFailed: GenericPalletEvent<'MultiBlockMigrations', 'UpgradeFailed', null>;
|
|
247
235
|
|
|
248
236
|
/**
|
|
249
237
|
* A migration was skipped since it was already executed in the past.
|
|
250
238
|
**/
|
|
251
239
|
MigrationSkipped: GenericPalletEvent<
|
|
252
|
-
Rv,
|
|
253
240
|
'MultiBlockMigrations',
|
|
254
241
|
'MigrationSkipped',
|
|
255
242
|
{
|
|
@@ -264,7 +251,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
264
251
|
* A migration progressed.
|
|
265
252
|
**/
|
|
266
253
|
MigrationAdvanced: GenericPalletEvent<
|
|
267
|
-
Rv,
|
|
268
254
|
'MultiBlockMigrations',
|
|
269
255
|
'MigrationAdvanced',
|
|
270
256
|
{
|
|
@@ -284,7 +270,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
284
270
|
* A Migration completed.
|
|
285
271
|
**/
|
|
286
272
|
MigrationCompleted: GenericPalletEvent<
|
|
287
|
-
Rv,
|
|
288
273
|
'MultiBlockMigrations',
|
|
289
274
|
'MigrationCompleted',
|
|
290
275
|
{
|
|
@@ -306,7 +291,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
306
291
|
* This implies that the whole upgrade failed and governance intervention is required.
|
|
307
292
|
**/
|
|
308
293
|
MigrationFailed: GenericPalletEvent<
|
|
309
|
-
Rv,
|
|
310
294
|
'MultiBlockMigrations',
|
|
311
295
|
'MigrationFailed',
|
|
312
296
|
{
|
|
@@ -326,7 +310,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
326
310
|
* The set of historical migrations has been cleared.
|
|
327
311
|
**/
|
|
328
312
|
HistoricCleared: GenericPalletEvent<
|
|
329
|
-
Rv,
|
|
330
313
|
'MultiBlockMigrations',
|
|
331
314
|
'HistoricCleared',
|
|
332
315
|
{
|
|
@@ -340,7 +323,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
340
323
|
/**
|
|
341
324
|
* Generic pallet event
|
|
342
325
|
**/
|
|
343
|
-
[prop: string]: GenericPalletEvent
|
|
326
|
+
[prop: string]: GenericPalletEvent;
|
|
344
327
|
};
|
|
345
328
|
/**
|
|
346
329
|
* Pallet `Preimage`'s events
|
|
@@ -349,22 +332,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
349
332
|
/**
|
|
350
333
|
* A preimage has been noted.
|
|
351
334
|
**/
|
|
352
|
-
Noted: GenericPalletEvent<
|
|
335
|
+
Noted: GenericPalletEvent<'Preimage', 'Noted', { hash: H256 }>;
|
|
353
336
|
|
|
354
337
|
/**
|
|
355
338
|
* A preimage has been requested.
|
|
356
339
|
**/
|
|
357
|
-
Requested: GenericPalletEvent<
|
|
340
|
+
Requested: GenericPalletEvent<'Preimage', 'Requested', { hash: H256 }>;
|
|
358
341
|
|
|
359
342
|
/**
|
|
360
343
|
* A preimage has ben cleared.
|
|
361
344
|
**/
|
|
362
|
-
Cleared: GenericPalletEvent<
|
|
345
|
+
Cleared: GenericPalletEvent<'Preimage', 'Cleared', { hash: H256 }>;
|
|
363
346
|
|
|
364
347
|
/**
|
|
365
348
|
* Generic pallet event
|
|
366
349
|
**/
|
|
367
|
-
[prop: string]: GenericPalletEvent
|
|
350
|
+
[prop: string]: GenericPalletEvent;
|
|
368
351
|
};
|
|
369
352
|
/**
|
|
370
353
|
* Pallet `Scheduler`'s events
|
|
@@ -373,18 +356,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
373
356
|
/**
|
|
374
357
|
* Scheduled some task.
|
|
375
358
|
**/
|
|
376
|
-
Scheduled: GenericPalletEvent<
|
|
359
|
+
Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
|
|
377
360
|
|
|
378
361
|
/**
|
|
379
362
|
* Canceled some task.
|
|
380
363
|
**/
|
|
381
|
-
Canceled: GenericPalletEvent<
|
|
364
|
+
Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
|
|
382
365
|
|
|
383
366
|
/**
|
|
384
367
|
* Dispatched some task.
|
|
385
368
|
**/
|
|
386
369
|
Dispatched: GenericPalletEvent<
|
|
387
|
-
Rv,
|
|
388
370
|
'Scheduler',
|
|
389
371
|
'Dispatched',
|
|
390
372
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
|
|
@@ -394,7 +376,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
394
376
|
* Set a retry configuration for some task.
|
|
395
377
|
**/
|
|
396
378
|
RetrySet: GenericPalletEvent<
|
|
397
|
-
Rv,
|
|
398
379
|
'Scheduler',
|
|
399
380
|
'RetrySet',
|
|
400
381
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; period: number; retries: number }
|
|
@@ -404,7 +385,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
404
385
|
* Cancel a retry configuration for some task.
|
|
405
386
|
**/
|
|
406
387
|
RetryCancelled: GenericPalletEvent<
|
|
407
|
-
Rv,
|
|
408
388
|
'Scheduler',
|
|
409
389
|
'RetryCancelled',
|
|
410
390
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -414,7 +394,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
414
394
|
* The call for the provided hash was not found so the task has been aborted.
|
|
415
395
|
**/
|
|
416
396
|
CallUnavailable: GenericPalletEvent<
|
|
417
|
-
Rv,
|
|
418
397
|
'Scheduler',
|
|
419
398
|
'CallUnavailable',
|
|
420
399
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -424,7 +403,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
424
403
|
* The given task was unable to be renewed since the agenda is full at that block.
|
|
425
404
|
**/
|
|
426
405
|
PeriodicFailed: GenericPalletEvent<
|
|
427
|
-
Rv,
|
|
428
406
|
'Scheduler',
|
|
429
407
|
'PeriodicFailed',
|
|
430
408
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -435,7 +413,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
435
413
|
* was not enough weight to reschedule it.
|
|
436
414
|
**/
|
|
437
415
|
RetryFailed: GenericPalletEvent<
|
|
438
|
-
Rv,
|
|
439
416
|
'Scheduler',
|
|
440
417
|
'RetryFailed',
|
|
441
418
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -445,7 +422,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
445
422
|
* The given task can never be executed since it is overweight.
|
|
446
423
|
**/
|
|
447
424
|
PermanentlyOverweight: GenericPalletEvent<
|
|
448
|
-
Rv,
|
|
449
425
|
'Scheduler',
|
|
450
426
|
'PermanentlyOverweight',
|
|
451
427
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -454,12 +430,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
454
430
|
/**
|
|
455
431
|
* Agenda is incomplete from `when`.
|
|
456
432
|
**/
|
|
457
|
-
AgendaIncomplete: GenericPalletEvent<
|
|
433
|
+
AgendaIncomplete: GenericPalletEvent<'Scheduler', 'AgendaIncomplete', { when: number }>;
|
|
458
434
|
|
|
459
435
|
/**
|
|
460
436
|
* Generic pallet event
|
|
461
437
|
**/
|
|
462
|
-
[prop: string]: GenericPalletEvent
|
|
438
|
+
[prop: string]: GenericPalletEvent;
|
|
463
439
|
};
|
|
464
440
|
/**
|
|
465
441
|
* Pallet `Parameters`'s events
|
|
@@ -471,7 +447,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
471
447
|
* Is also emitted when the value was not changed.
|
|
472
448
|
**/
|
|
473
449
|
Updated: GenericPalletEvent<
|
|
474
|
-
Rv,
|
|
475
450
|
'Parameters',
|
|
476
451
|
'Updated',
|
|
477
452
|
{
|
|
@@ -495,7 +470,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
495
470
|
/**
|
|
496
471
|
* Generic pallet event
|
|
497
472
|
**/
|
|
498
|
-
[prop: string]: GenericPalletEvent
|
|
473
|
+
[prop: string]: GenericPalletEvent;
|
|
499
474
|
};
|
|
500
475
|
/**
|
|
501
476
|
* Pallet `Balances`'s events
|
|
@@ -504,40 +479,39 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
504
479
|
/**
|
|
505
480
|
* An account was created with some free balance.
|
|
506
481
|
**/
|
|
507
|
-
Endowed: GenericPalletEvent<
|
|
482
|
+
Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
508
483
|
|
|
509
484
|
/**
|
|
510
485
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
511
486
|
* resulting in an outright loss.
|
|
512
487
|
**/
|
|
513
|
-
DustLost: GenericPalletEvent<
|
|
488
|
+
DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
514
489
|
|
|
515
490
|
/**
|
|
516
491
|
* Transfer succeeded.
|
|
517
492
|
**/
|
|
518
|
-
Transfer: GenericPalletEvent<
|
|
493
|
+
Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
519
494
|
|
|
520
495
|
/**
|
|
521
496
|
* A balance was set by root.
|
|
522
497
|
**/
|
|
523
|
-
BalanceSet: GenericPalletEvent<
|
|
498
|
+
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
524
499
|
|
|
525
500
|
/**
|
|
526
501
|
* Some balance was reserved (moved from free to reserved).
|
|
527
502
|
**/
|
|
528
|
-
Reserved: GenericPalletEvent<
|
|
503
|
+
Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
529
504
|
|
|
530
505
|
/**
|
|
531
506
|
* Some balance was unreserved (moved from reserved to free).
|
|
532
507
|
**/
|
|
533
|
-
Unreserved: GenericPalletEvent<
|
|
508
|
+
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
534
509
|
|
|
535
510
|
/**
|
|
536
511
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
537
512
|
* Final argument indicates the destination balance type.
|
|
538
513
|
**/
|
|
539
514
|
ReserveRepatriated: GenericPalletEvent<
|
|
540
|
-
Rv,
|
|
541
515
|
'Balances',
|
|
542
516
|
'ReserveRepatriated',
|
|
543
517
|
{ from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
|
|
@@ -546,87 +520,87 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
546
520
|
/**
|
|
547
521
|
* Some amount was deposited (e.g. for transaction fees).
|
|
548
522
|
**/
|
|
549
|
-
Deposit: GenericPalletEvent<
|
|
523
|
+
Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
550
524
|
|
|
551
525
|
/**
|
|
552
526
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
553
527
|
**/
|
|
554
|
-
Withdraw: GenericPalletEvent<
|
|
528
|
+
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
555
529
|
|
|
556
530
|
/**
|
|
557
531
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
558
532
|
**/
|
|
559
|
-
Slashed: GenericPalletEvent<
|
|
533
|
+
Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
560
534
|
|
|
561
535
|
/**
|
|
562
536
|
* Some amount was minted into an account.
|
|
563
537
|
**/
|
|
564
|
-
Minted: GenericPalletEvent<
|
|
538
|
+
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
565
539
|
|
|
566
540
|
/**
|
|
567
541
|
* Some amount was burned from an account.
|
|
568
542
|
**/
|
|
569
|
-
Burned: GenericPalletEvent<
|
|
543
|
+
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
570
544
|
|
|
571
545
|
/**
|
|
572
546
|
* Some amount was suspended from an account (it can be restored later).
|
|
573
547
|
**/
|
|
574
|
-
Suspended: GenericPalletEvent<
|
|
548
|
+
Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
575
549
|
|
|
576
550
|
/**
|
|
577
551
|
* Some amount was restored into an account.
|
|
578
552
|
**/
|
|
579
|
-
Restored: GenericPalletEvent<
|
|
553
|
+
Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
580
554
|
|
|
581
555
|
/**
|
|
582
556
|
* An account was upgraded.
|
|
583
557
|
**/
|
|
584
|
-
Upgraded: GenericPalletEvent<
|
|
558
|
+
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
585
559
|
|
|
586
560
|
/**
|
|
587
561
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
588
562
|
**/
|
|
589
|
-
Issued: GenericPalletEvent<
|
|
563
|
+
Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
|
|
590
564
|
|
|
591
565
|
/**
|
|
592
566
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
593
567
|
**/
|
|
594
|
-
Rescinded: GenericPalletEvent<
|
|
568
|
+
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
|
|
595
569
|
|
|
596
570
|
/**
|
|
597
571
|
* Some balance was locked.
|
|
598
572
|
**/
|
|
599
|
-
Locked: GenericPalletEvent<
|
|
573
|
+
Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
600
574
|
|
|
601
575
|
/**
|
|
602
576
|
* Some balance was unlocked.
|
|
603
577
|
**/
|
|
604
|
-
Unlocked: GenericPalletEvent<
|
|
578
|
+
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
605
579
|
|
|
606
580
|
/**
|
|
607
581
|
* Some balance was frozen.
|
|
608
582
|
**/
|
|
609
|
-
Frozen: GenericPalletEvent<
|
|
583
|
+
Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
610
584
|
|
|
611
585
|
/**
|
|
612
586
|
* Some balance was thawed.
|
|
613
587
|
**/
|
|
614
|
-
Thawed: GenericPalletEvent<
|
|
588
|
+
Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
615
589
|
|
|
616
590
|
/**
|
|
617
591
|
* The `TotalIssuance` was forcefully changed.
|
|
618
592
|
**/
|
|
619
|
-
TotalIssuanceForced: GenericPalletEvent<
|
|
593
|
+
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
620
594
|
|
|
621
595
|
/**
|
|
622
596
|
* An unexpected/defensive event was triggered.
|
|
623
597
|
**/
|
|
624
|
-
Unexpected: GenericPalletEvent<
|
|
598
|
+
Unexpected: GenericPalletEvent<'Balances', 'Unexpected', PalletBalancesUnexpectedKind>;
|
|
625
599
|
|
|
626
600
|
/**
|
|
627
601
|
* Generic pallet event
|
|
628
602
|
**/
|
|
629
|
-
[prop: string]: GenericPalletEvent
|
|
603
|
+
[prop: string]: GenericPalletEvent;
|
|
630
604
|
};
|
|
631
605
|
/**
|
|
632
606
|
* Pallet `TransactionPayment`'s events
|
|
@@ -637,7 +611,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
637
611
|
* has been paid by `who`.
|
|
638
612
|
**/
|
|
639
613
|
TransactionFeePaid: GenericPalletEvent<
|
|
640
|
-
Rv,
|
|
641
614
|
'TransactionPayment',
|
|
642
615
|
'TransactionFeePaid',
|
|
643
616
|
{ who: AccountId32; actualFee: bigint; tip: bigint }
|
|
@@ -646,7 +619,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
646
619
|
/**
|
|
647
620
|
* Generic pallet event
|
|
648
621
|
**/
|
|
649
|
-
[prop: string]: GenericPalletEvent
|
|
622
|
+
[prop: string]: GenericPalletEvent;
|
|
650
623
|
};
|
|
651
624
|
/**
|
|
652
625
|
* Pallet `AssetTxPayment`'s events
|
|
@@ -657,7 +630,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
657
630
|
* has been paid by `who` in an asset `asset_id`.
|
|
658
631
|
**/
|
|
659
632
|
AssetTxFeePaid: GenericPalletEvent<
|
|
660
|
-
Rv,
|
|
661
633
|
'AssetTxPayment',
|
|
662
634
|
'AssetTxFeePaid',
|
|
663
635
|
{ who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV5Location }
|
|
@@ -666,12 +638,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
666
638
|
/**
|
|
667
639
|
* A swap of the refund in native currency back to asset failed.
|
|
668
640
|
**/
|
|
669
|
-
AssetRefundFailed: GenericPalletEvent<
|
|
641
|
+
AssetRefundFailed: GenericPalletEvent<'AssetTxPayment', 'AssetRefundFailed', { nativeAmountKept: bigint }>;
|
|
670
642
|
|
|
671
643
|
/**
|
|
672
644
|
* Generic pallet event
|
|
673
645
|
**/
|
|
674
|
-
[prop: string]: GenericPalletEvent
|
|
646
|
+
[prop: string]: GenericPalletEvent;
|
|
675
647
|
};
|
|
676
648
|
/**
|
|
677
649
|
* Pallet `Vesting`'s events
|
|
@@ -680,28 +652,23 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
680
652
|
/**
|
|
681
653
|
* A vesting schedule has been created.
|
|
682
654
|
**/
|
|
683
|
-
VestingCreated: GenericPalletEvent<
|
|
684
|
-
Rv,
|
|
685
|
-
'Vesting',
|
|
686
|
-
'VestingCreated',
|
|
687
|
-
{ account: AccountId32; scheduleIndex: number }
|
|
688
|
-
>;
|
|
655
|
+
VestingCreated: GenericPalletEvent<'Vesting', 'VestingCreated', { account: AccountId32; scheduleIndex: number }>;
|
|
689
656
|
|
|
690
657
|
/**
|
|
691
658
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
692
659
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
693
660
|
**/
|
|
694
|
-
VestingUpdated: GenericPalletEvent<
|
|
661
|
+
VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
|
|
695
662
|
|
|
696
663
|
/**
|
|
697
664
|
* An \[account\] has become fully vested.
|
|
698
665
|
**/
|
|
699
|
-
VestingCompleted: GenericPalletEvent<
|
|
666
|
+
VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
|
|
700
667
|
|
|
701
668
|
/**
|
|
702
669
|
* Generic pallet event
|
|
703
670
|
**/
|
|
704
|
-
[prop: string]: GenericPalletEvent
|
|
671
|
+
[prop: string]: GenericPalletEvent;
|
|
705
672
|
};
|
|
706
673
|
/**
|
|
707
674
|
* Pallet `Claims`'s events
|
|
@@ -711,7 +678,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
711
678
|
* Someone claimed some DOTs.
|
|
712
679
|
**/
|
|
713
680
|
Claimed: GenericPalletEvent<
|
|
714
|
-
Rv,
|
|
715
681
|
'Claims',
|
|
716
682
|
'Claimed',
|
|
717
683
|
{ who: AccountId32; ethereumAddress: EthereumAddress; amount: bigint }
|
|
@@ -720,7 +686,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
720
686
|
/**
|
|
721
687
|
* Generic pallet event
|
|
722
688
|
**/
|
|
723
|
-
[prop: string]: GenericPalletEvent
|
|
689
|
+
[prop: string]: GenericPalletEvent;
|
|
724
690
|
};
|
|
725
691
|
/**
|
|
726
692
|
* Pallet `CollatorSelection`'s events
|
|
@@ -730,7 +696,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
730
696
|
* New Invulnerables were set.
|
|
731
697
|
**/
|
|
732
698
|
NewInvulnerables: GenericPalletEvent<
|
|
733
|
-
Rv,
|
|
734
699
|
'CollatorSelection',
|
|
735
700
|
'NewInvulnerables',
|
|
736
701
|
{ invulnerables: Array<AccountId32> }
|
|
@@ -739,18 +704,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
739
704
|
/**
|
|
740
705
|
* A new Invulnerable was added.
|
|
741
706
|
**/
|
|
742
|
-
InvulnerableAdded: GenericPalletEvent<
|
|
707
|
+
InvulnerableAdded: GenericPalletEvent<'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
|
|
743
708
|
|
|
744
709
|
/**
|
|
745
710
|
* An Invulnerable was removed.
|
|
746
711
|
**/
|
|
747
|
-
InvulnerableRemoved: GenericPalletEvent<
|
|
712
|
+
InvulnerableRemoved: GenericPalletEvent<'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
|
|
748
713
|
|
|
749
714
|
/**
|
|
750
715
|
* The number of desired candidates was set.
|
|
751
716
|
**/
|
|
752
717
|
NewDesiredCandidates: GenericPalletEvent<
|
|
753
|
-
Rv,
|
|
754
718
|
'CollatorSelection',
|
|
755
719
|
'NewDesiredCandidates',
|
|
756
720
|
{ desiredCandidates: number }
|
|
@@ -759,13 +723,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
759
723
|
/**
|
|
760
724
|
* The candidacy bond was set.
|
|
761
725
|
**/
|
|
762
|
-
NewCandidacyBond: GenericPalletEvent<
|
|
726
|
+
NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
|
|
763
727
|
|
|
764
728
|
/**
|
|
765
729
|
* A new candidate joined.
|
|
766
730
|
**/
|
|
767
731
|
CandidateAdded: GenericPalletEvent<
|
|
768
|
-
Rv,
|
|
769
732
|
'CollatorSelection',
|
|
770
733
|
'CandidateAdded',
|
|
771
734
|
{ accountId: AccountId32; deposit: bigint }
|
|
@@ -775,7 +738,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
775
738
|
* Bond of a candidate updated.
|
|
776
739
|
**/
|
|
777
740
|
CandidateBondUpdated: GenericPalletEvent<
|
|
778
|
-
Rv,
|
|
779
741
|
'CollatorSelection',
|
|
780
742
|
'CandidateBondUpdated',
|
|
781
743
|
{ accountId: AccountId32; deposit: bigint }
|
|
@@ -784,13 +746,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
784
746
|
/**
|
|
785
747
|
* A candidate was removed.
|
|
786
748
|
**/
|
|
787
|
-
CandidateRemoved: GenericPalletEvent<
|
|
749
|
+
CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
|
|
788
750
|
|
|
789
751
|
/**
|
|
790
752
|
* An account was replaced in the candidate list by another one.
|
|
791
753
|
**/
|
|
792
754
|
CandidateReplaced: GenericPalletEvent<
|
|
793
|
-
Rv,
|
|
794
755
|
'CollatorSelection',
|
|
795
756
|
'CandidateReplaced',
|
|
796
757
|
{ old: AccountId32; new: AccountId32; deposit: bigint }
|
|
@@ -801,7 +762,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
801
762
|
* registered. Other Invulnerables may have been set.
|
|
802
763
|
**/
|
|
803
764
|
InvalidInvulnerableSkipped: GenericPalletEvent<
|
|
804
|
-
Rv,
|
|
805
765
|
'CollatorSelection',
|
|
806
766
|
'InvalidInvulnerableSkipped',
|
|
807
767
|
{ accountId: AccountId32 }
|
|
@@ -810,7 +770,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
810
770
|
/**
|
|
811
771
|
* Generic pallet event
|
|
812
772
|
**/
|
|
813
|
-
[prop: string]: GenericPalletEvent
|
|
773
|
+
[prop: string]: GenericPalletEvent;
|
|
814
774
|
};
|
|
815
775
|
/**
|
|
816
776
|
* Pallet `Session`'s events
|
|
@@ -820,28 +780,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
820
780
|
* New session has happened. Note that the argument is the session index, not the
|
|
821
781
|
* block number as the type might suggest.
|
|
822
782
|
**/
|
|
823
|
-
NewSession: GenericPalletEvent<
|
|
783
|
+
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
824
784
|
|
|
825
785
|
/**
|
|
826
786
|
* The `NewSession` event in the current block also implies a new validator set to be
|
|
827
787
|
* queued.
|
|
828
788
|
**/
|
|
829
|
-
NewQueued: GenericPalletEvent<
|
|
789
|
+
NewQueued: GenericPalletEvent<'Session', 'NewQueued', null>;
|
|
830
790
|
|
|
831
791
|
/**
|
|
832
792
|
* Validator has been disabled.
|
|
833
793
|
**/
|
|
834
|
-
ValidatorDisabled: GenericPalletEvent<
|
|
794
|
+
ValidatorDisabled: GenericPalletEvent<'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
|
|
835
795
|
|
|
836
796
|
/**
|
|
837
797
|
* Validator has been re-enabled.
|
|
838
798
|
**/
|
|
839
|
-
ValidatorReenabled: GenericPalletEvent<
|
|
799
|
+
ValidatorReenabled: GenericPalletEvent<'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
|
|
840
800
|
|
|
841
801
|
/**
|
|
842
802
|
* Generic pallet event
|
|
843
803
|
**/
|
|
844
|
-
[prop: string]: GenericPalletEvent
|
|
804
|
+
[prop: string]: GenericPalletEvent;
|
|
845
805
|
};
|
|
846
806
|
/**
|
|
847
807
|
* Pallet `XcmpQueue`'s events
|
|
@@ -850,12 +810,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
850
810
|
/**
|
|
851
811
|
* An HRMP message was sent to a sibling parachain.
|
|
852
812
|
**/
|
|
853
|
-
XcmpMessageSent: GenericPalletEvent<
|
|
813
|
+
XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
|
|
854
814
|
|
|
855
815
|
/**
|
|
856
816
|
* Generic pallet event
|
|
857
817
|
**/
|
|
858
|
-
[prop: string]: GenericPalletEvent
|
|
818
|
+
[prop: string]: GenericPalletEvent;
|
|
859
819
|
};
|
|
860
820
|
/**
|
|
861
821
|
* Pallet `PolkadotXcm`'s events
|
|
@@ -864,13 +824,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
864
824
|
/**
|
|
865
825
|
* Execution of an XCM message was attempted.
|
|
866
826
|
**/
|
|
867
|
-
Attempted: GenericPalletEvent<
|
|
827
|
+
Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
868
828
|
|
|
869
829
|
/**
|
|
870
830
|
* An XCM message was sent.
|
|
871
831
|
**/
|
|
872
832
|
Sent: GenericPalletEvent<
|
|
873
|
-
Rv,
|
|
874
833
|
'PolkadotXcm',
|
|
875
834
|
'Sent',
|
|
876
835
|
{
|
|
@@ -885,7 +844,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
885
844
|
* An XCM message failed to send.
|
|
886
845
|
**/
|
|
887
846
|
SendFailed: GenericPalletEvent<
|
|
888
|
-
Rv,
|
|
889
847
|
'PolkadotXcm',
|
|
890
848
|
'SendFailed',
|
|
891
849
|
{
|
|
@@ -900,7 +858,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
900
858
|
* An XCM message failed to process.
|
|
901
859
|
**/
|
|
902
860
|
ProcessXcmError: GenericPalletEvent<
|
|
903
|
-
Rv,
|
|
904
861
|
'PolkadotXcm',
|
|
905
862
|
'ProcessXcmError',
|
|
906
863
|
{ origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
|
|
@@ -912,7 +869,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
912
869
|
* because the query timed out.
|
|
913
870
|
**/
|
|
914
871
|
UnexpectedResponse: GenericPalletEvent<
|
|
915
|
-
Rv,
|
|
916
872
|
'PolkadotXcm',
|
|
917
873
|
'UnexpectedResponse',
|
|
918
874
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -923,7 +879,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
923
879
|
* no registered notification call.
|
|
924
880
|
**/
|
|
925
881
|
ResponseReady: GenericPalletEvent<
|
|
926
|
-
Rv,
|
|
927
882
|
'PolkadotXcm',
|
|
928
883
|
'ResponseReady',
|
|
929
884
|
{ queryId: bigint; response: StagingXcmV5Response }
|
|
@@ -934,7 +889,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
934
889
|
* been dispatched and executed successfully.
|
|
935
890
|
**/
|
|
936
891
|
Notified: GenericPalletEvent<
|
|
937
|
-
Rv,
|
|
938
892
|
'PolkadotXcm',
|
|
939
893
|
'Notified',
|
|
940
894
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -946,7 +900,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
946
900
|
* originally budgeted by this runtime for the query result.
|
|
947
901
|
**/
|
|
948
902
|
NotifyOverweight: GenericPalletEvent<
|
|
949
|
-
Rv,
|
|
950
903
|
'PolkadotXcm',
|
|
951
904
|
'NotifyOverweight',
|
|
952
905
|
{
|
|
@@ -963,7 +916,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
963
916
|
* dispatching the notification call.
|
|
964
917
|
**/
|
|
965
918
|
NotifyDispatchError: GenericPalletEvent<
|
|
966
|
-
Rv,
|
|
967
919
|
'PolkadotXcm',
|
|
968
920
|
'NotifyDispatchError',
|
|
969
921
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -975,7 +927,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
975
927
|
* is not `(origin, QueryId, Response)`.
|
|
976
928
|
**/
|
|
977
929
|
NotifyDecodeFailed: GenericPalletEvent<
|
|
978
|
-
Rv,
|
|
979
930
|
'PolkadotXcm',
|
|
980
931
|
'NotifyDecodeFailed',
|
|
981
932
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -987,7 +938,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
987
938
|
* be received and acted upon.
|
|
988
939
|
**/
|
|
989
940
|
InvalidResponder: GenericPalletEvent<
|
|
990
|
-
Rv,
|
|
991
941
|
'PolkadotXcm',
|
|
992
942
|
'InvalidResponder',
|
|
993
943
|
{ origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
|
|
@@ -1003,7 +953,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1003
953
|
* needed.
|
|
1004
954
|
**/
|
|
1005
955
|
InvalidResponderVersion: GenericPalletEvent<
|
|
1006
|
-
Rv,
|
|
1007
956
|
'PolkadotXcm',
|
|
1008
957
|
'InvalidResponderVersion',
|
|
1009
958
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -1012,13 +961,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1012
961
|
/**
|
|
1013
962
|
* Received query response has been read and removed.
|
|
1014
963
|
**/
|
|
1015
|
-
ResponseTaken: GenericPalletEvent<
|
|
964
|
+
ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
|
|
1016
965
|
|
|
1017
966
|
/**
|
|
1018
967
|
* Some assets have been placed in an asset trap.
|
|
1019
968
|
**/
|
|
1020
969
|
AssetsTrapped: GenericPalletEvent<
|
|
1021
|
-
Rv,
|
|
1022
970
|
'PolkadotXcm',
|
|
1023
971
|
'AssetsTrapped',
|
|
1024
972
|
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
@@ -1030,7 +978,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1030
978
|
* The cost of sending it (borne by the chain) is included.
|
|
1031
979
|
**/
|
|
1032
980
|
VersionChangeNotified: GenericPalletEvent<
|
|
1033
|
-
Rv,
|
|
1034
981
|
'PolkadotXcm',
|
|
1035
982
|
'VersionChangeNotified',
|
|
1036
983
|
{ destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -1041,7 +988,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1041
988
|
* automatic notification or a manual intervention.
|
|
1042
989
|
**/
|
|
1043
990
|
SupportedVersionChanged: GenericPalletEvent<
|
|
1044
|
-
Rv,
|
|
1045
991
|
'PolkadotXcm',
|
|
1046
992
|
'SupportedVersionChanged',
|
|
1047
993
|
{ location: StagingXcmV5Location; version: number }
|
|
@@ -1052,7 +998,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1052
998
|
* sending the notification to it.
|
|
1053
999
|
**/
|
|
1054
1000
|
NotifyTargetSendFail: GenericPalletEvent<
|
|
1055
|
-
Rv,
|
|
1056
1001
|
'PolkadotXcm',
|
|
1057
1002
|
'NotifyTargetSendFail',
|
|
1058
1003
|
{ location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
|
|
@@ -1063,7 +1008,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1063
1008
|
* migrating the location to our new XCM format.
|
|
1064
1009
|
**/
|
|
1065
1010
|
NotifyTargetMigrationFail: GenericPalletEvent<
|
|
1066
|
-
Rv,
|
|
1067
1011
|
'PolkadotXcm',
|
|
1068
1012
|
'NotifyTargetMigrationFail',
|
|
1069
1013
|
{ location: XcmVersionedLocation; queryId: bigint }
|
|
@@ -1079,7 +1023,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1079
1023
|
* needed.
|
|
1080
1024
|
**/
|
|
1081
1025
|
InvalidQuerierVersion: GenericPalletEvent<
|
|
1082
|
-
Rv,
|
|
1083
1026
|
'PolkadotXcm',
|
|
1084
1027
|
'InvalidQuerierVersion',
|
|
1085
1028
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -1091,7 +1034,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1091
1034
|
* be received and acted upon.
|
|
1092
1035
|
**/
|
|
1093
1036
|
InvalidQuerier: GenericPalletEvent<
|
|
1094
|
-
Rv,
|
|
1095
1037
|
'PolkadotXcm',
|
|
1096
1038
|
'InvalidQuerier',
|
|
1097
1039
|
{
|
|
@@ -1107,7 +1049,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1107
1049
|
* A version information message is sent to them and its cost is included.
|
|
1108
1050
|
**/
|
|
1109
1051
|
VersionNotifyStarted: GenericPalletEvent<
|
|
1110
|
-
Rv,
|
|
1111
1052
|
'PolkadotXcm',
|
|
1112
1053
|
'VersionNotifyStarted',
|
|
1113
1054
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -1117,7 +1058,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1117
1058
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
1118
1059
|
**/
|
|
1119
1060
|
VersionNotifyRequested: GenericPalletEvent<
|
|
1120
|
-
Rv,
|
|
1121
1061
|
'PolkadotXcm',
|
|
1122
1062
|
'VersionNotifyRequested',
|
|
1123
1063
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -1128,7 +1068,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1128
1068
|
* notifications.
|
|
1129
1069
|
**/
|
|
1130
1070
|
VersionNotifyUnrequested: GenericPalletEvent<
|
|
1131
|
-
Rv,
|
|
1132
1071
|
'PolkadotXcm',
|
|
1133
1072
|
'VersionNotifyUnrequested',
|
|
1134
1073
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -1138,7 +1077,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1138
1077
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
1139
1078
|
**/
|
|
1140
1079
|
FeesPaid: GenericPalletEvent<
|
|
1141
|
-
Rv,
|
|
1142
1080
|
'PolkadotXcm',
|
|
1143
1081
|
'FeesPaid',
|
|
1144
1082
|
{ paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
|
|
@@ -1148,7 +1086,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1148
1086
|
* Some assets have been claimed from an asset trap
|
|
1149
1087
|
**/
|
|
1150
1088
|
AssetsClaimed: GenericPalletEvent<
|
|
1151
|
-
Rv,
|
|
1152
1089
|
'PolkadotXcm',
|
|
1153
1090
|
'AssetsClaimed',
|
|
1154
1091
|
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
@@ -1157,14 +1094,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1157
1094
|
/**
|
|
1158
1095
|
* A XCM version migration finished.
|
|
1159
1096
|
**/
|
|
1160
|
-
VersionMigrationFinished: GenericPalletEvent<
|
|
1097
|
+
VersionMigrationFinished: GenericPalletEvent<'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
|
|
1161
1098
|
|
|
1162
1099
|
/**
|
|
1163
1100
|
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
1164
1101
|
* `expiry` block number.
|
|
1165
1102
|
**/
|
|
1166
1103
|
AliasAuthorized: GenericPalletEvent<
|
|
1167
|
-
Rv,
|
|
1168
1104
|
'PolkadotXcm',
|
|
1169
1105
|
'AliasAuthorized',
|
|
1170
1106
|
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
|
|
@@ -1174,7 +1110,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1174
1110
|
* `target` removed alias authorization for `aliaser`.
|
|
1175
1111
|
**/
|
|
1176
1112
|
AliasAuthorizationRemoved: GenericPalletEvent<
|
|
1177
|
-
Rv,
|
|
1178
1113
|
'PolkadotXcm',
|
|
1179
1114
|
'AliasAuthorizationRemoved',
|
|
1180
1115
|
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
|
|
@@ -1184,7 +1119,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1184
1119
|
* `target` removed all alias authorizations.
|
|
1185
1120
|
**/
|
|
1186
1121
|
AliasesAuthorizationsRemoved: GenericPalletEvent<
|
|
1187
|
-
Rv,
|
|
1188
1122
|
'PolkadotXcm',
|
|
1189
1123
|
'AliasesAuthorizationsRemoved',
|
|
1190
1124
|
{ target: StagingXcmV5Location }
|
|
@@ -1193,7 +1127,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1193
1127
|
/**
|
|
1194
1128
|
* Generic pallet event
|
|
1195
1129
|
**/
|
|
1196
|
-
[prop: string]: GenericPalletEvent
|
|
1130
|
+
[prop: string]: GenericPalletEvent;
|
|
1197
1131
|
};
|
|
1198
1132
|
/**
|
|
1199
1133
|
* Pallet `CumulusXcm`'s events
|
|
@@ -1203,29 +1137,24 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1203
1137
|
* Downward message is invalid XCM.
|
|
1204
1138
|
* \[ id \]
|
|
1205
1139
|
**/
|
|
1206
|
-
InvalidFormat: GenericPalletEvent<
|
|
1140
|
+
InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
|
|
1207
1141
|
|
|
1208
1142
|
/**
|
|
1209
1143
|
* Downward message is unsupported version of XCM.
|
|
1210
1144
|
* \[ id \]
|
|
1211
1145
|
**/
|
|
1212
|
-
UnsupportedVersion: GenericPalletEvent<
|
|
1146
|
+
UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
|
|
1213
1147
|
|
|
1214
1148
|
/**
|
|
1215
1149
|
* Downward message executed with the given outcome.
|
|
1216
1150
|
* \[ id, outcome \]
|
|
1217
1151
|
**/
|
|
1218
|
-
ExecutedDownward: GenericPalletEvent<
|
|
1219
|
-
Rv,
|
|
1220
|
-
'CumulusXcm',
|
|
1221
|
-
'ExecutedDownward',
|
|
1222
|
-
[FixedBytes<32>, StagingXcmV5TraitsOutcome]
|
|
1223
|
-
>;
|
|
1152
|
+
ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, StagingXcmV5TraitsOutcome]>;
|
|
1224
1153
|
|
|
1225
1154
|
/**
|
|
1226
1155
|
* Generic pallet event
|
|
1227
1156
|
**/
|
|
1228
|
-
[prop: string]: GenericPalletEvent
|
|
1157
|
+
[prop: string]: GenericPalletEvent;
|
|
1229
1158
|
};
|
|
1230
1159
|
/**
|
|
1231
1160
|
* Pallet `ToPolkadotXcmRouter`'s events
|
|
@@ -1235,7 +1164,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1235
1164
|
* Delivery fee factor has been decreased.
|
|
1236
1165
|
**/
|
|
1237
1166
|
DeliveryFeeFactorDecreased: GenericPalletEvent<
|
|
1238
|
-
Rv,
|
|
1239
1167
|
'ToPolkadotXcmRouter',
|
|
1240
1168
|
'DeliveryFeeFactorDecreased',
|
|
1241
1169
|
{
|
|
@@ -1250,7 +1178,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1250
1178
|
* Delivery fee factor has been increased.
|
|
1251
1179
|
**/
|
|
1252
1180
|
DeliveryFeeFactorIncreased: GenericPalletEvent<
|
|
1253
|
-
Rv,
|
|
1254
1181
|
'ToPolkadotXcmRouter',
|
|
1255
1182
|
'DeliveryFeeFactorIncreased',
|
|
1256
1183
|
{
|
|
@@ -1264,7 +1191,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1264
1191
|
/**
|
|
1265
1192
|
* Generic pallet event
|
|
1266
1193
|
**/
|
|
1267
|
-
[prop: string]: GenericPalletEvent
|
|
1194
|
+
[prop: string]: GenericPalletEvent;
|
|
1268
1195
|
};
|
|
1269
1196
|
/**
|
|
1270
1197
|
* Pallet `MessageQueue`'s events
|
|
@@ -1274,7 +1201,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1274
1201
|
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
1275
1202
|
**/
|
|
1276
1203
|
ProcessingFailed: GenericPalletEvent<
|
|
1277
|
-
Rv,
|
|
1278
1204
|
'MessageQueue',
|
|
1279
1205
|
'ProcessingFailed',
|
|
1280
1206
|
{
|
|
@@ -1302,7 +1228,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1302
1228
|
* Message is processed.
|
|
1303
1229
|
**/
|
|
1304
1230
|
Processed: GenericPalletEvent<
|
|
1305
|
-
Rv,
|
|
1306
1231
|
'MessageQueue',
|
|
1307
1232
|
'Processed',
|
|
1308
1233
|
{
|
|
@@ -1337,7 +1262,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1337
1262
|
* Message placed in overweight queue.
|
|
1338
1263
|
**/
|
|
1339
1264
|
OverweightEnqueued: GenericPalletEvent<
|
|
1340
|
-
Rv,
|
|
1341
1265
|
'MessageQueue',
|
|
1342
1266
|
'OverweightEnqueued',
|
|
1343
1267
|
{
|
|
@@ -1367,7 +1291,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1367
1291
|
* This page was reaped.
|
|
1368
1292
|
**/
|
|
1369
1293
|
PageReaped: GenericPalletEvent<
|
|
1370
|
-
Rv,
|
|
1371
1294
|
'MessageQueue',
|
|
1372
1295
|
'PageReaped',
|
|
1373
1296
|
{
|
|
@@ -1386,7 +1309,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1386
1309
|
/**
|
|
1387
1310
|
* Generic pallet event
|
|
1388
1311
|
**/
|
|
1389
|
-
[prop: string]: GenericPalletEvent
|
|
1312
|
+
[prop: string]: GenericPalletEvent;
|
|
1390
1313
|
};
|
|
1391
1314
|
/**
|
|
1392
1315
|
* Pallet `Utility`'s events
|
|
@@ -1396,47 +1319,47 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1396
1319
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
1397
1320
|
* well as the error.
|
|
1398
1321
|
**/
|
|
1399
|
-
BatchInterrupted: GenericPalletEvent<
|
|
1322
|
+
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
1400
1323
|
|
|
1401
1324
|
/**
|
|
1402
1325
|
* Batch of dispatches completed fully with no error.
|
|
1403
1326
|
**/
|
|
1404
|
-
BatchCompleted: GenericPalletEvent<
|
|
1327
|
+
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
1405
1328
|
|
|
1406
1329
|
/**
|
|
1407
1330
|
* Batch of dispatches completed but has errors.
|
|
1408
1331
|
**/
|
|
1409
|
-
BatchCompletedWithErrors: GenericPalletEvent<
|
|
1332
|
+
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
1410
1333
|
|
|
1411
1334
|
/**
|
|
1412
1335
|
* A single item within a Batch of dispatches has completed with no error.
|
|
1413
1336
|
**/
|
|
1414
|
-
ItemCompleted: GenericPalletEvent<
|
|
1337
|
+
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
1415
1338
|
|
|
1416
1339
|
/**
|
|
1417
1340
|
* A single item within a Batch of dispatches has completed with error.
|
|
1418
1341
|
**/
|
|
1419
|
-
ItemFailed: GenericPalletEvent<
|
|
1342
|
+
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
1420
1343
|
|
|
1421
1344
|
/**
|
|
1422
1345
|
* A call was dispatched.
|
|
1423
1346
|
**/
|
|
1424
|
-
DispatchedAs: GenericPalletEvent<
|
|
1347
|
+
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
1425
1348
|
|
|
1426
1349
|
/**
|
|
1427
1350
|
* Main call was dispatched.
|
|
1428
1351
|
**/
|
|
1429
|
-
IfElseMainSuccess: GenericPalletEvent<
|
|
1352
|
+
IfElseMainSuccess: GenericPalletEvent<'Utility', 'IfElseMainSuccess', null>;
|
|
1430
1353
|
|
|
1431
1354
|
/**
|
|
1432
1355
|
* The fallback call was dispatched.
|
|
1433
1356
|
**/
|
|
1434
|
-
IfElseFallbackCalled: GenericPalletEvent<
|
|
1357
|
+
IfElseFallbackCalled: GenericPalletEvent<'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
|
|
1435
1358
|
|
|
1436
1359
|
/**
|
|
1437
1360
|
* Generic pallet event
|
|
1438
1361
|
**/
|
|
1439
|
-
[prop: string]: GenericPalletEvent
|
|
1362
|
+
[prop: string]: GenericPalletEvent;
|
|
1440
1363
|
};
|
|
1441
1364
|
/**
|
|
1442
1365
|
* Pallet `Multisig`'s events
|
|
@@ -1446,7 +1369,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1446
1369
|
* A new multisig operation has begun.
|
|
1447
1370
|
**/
|
|
1448
1371
|
NewMultisig: GenericPalletEvent<
|
|
1449
|
-
Rv,
|
|
1450
1372
|
'Multisig',
|
|
1451
1373
|
'NewMultisig',
|
|
1452
1374
|
{ approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1456,7 +1378,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1456
1378
|
* A multisig operation has been approved by someone.
|
|
1457
1379
|
**/
|
|
1458
1380
|
MultisigApproval: GenericPalletEvent<
|
|
1459
|
-
Rv,
|
|
1460
1381
|
'Multisig',
|
|
1461
1382
|
'MultisigApproval',
|
|
1462
1383
|
{ approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1466,7 +1387,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1466
1387
|
* A multisig operation has been executed.
|
|
1467
1388
|
**/
|
|
1468
1389
|
MultisigExecuted: GenericPalletEvent<
|
|
1469
|
-
Rv,
|
|
1470
1390
|
'Multisig',
|
|
1471
1391
|
'MultisigExecuted',
|
|
1472
1392
|
{
|
|
@@ -1482,7 +1402,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1482
1402
|
* A multisig operation has been cancelled.
|
|
1483
1403
|
**/
|
|
1484
1404
|
MultisigCancelled: GenericPalletEvent<
|
|
1485
|
-
Rv,
|
|
1486
1405
|
'Multisig',
|
|
1487
1406
|
'MultisigCancelled',
|
|
1488
1407
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1492,7 +1411,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1492
1411
|
* The deposit for a multisig operation has been updated/poked.
|
|
1493
1412
|
**/
|
|
1494
1413
|
DepositPoked: GenericPalletEvent<
|
|
1495
|
-
Rv,
|
|
1496
1414
|
'Multisig',
|
|
1497
1415
|
'DepositPoked',
|
|
1498
1416
|
{ who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -1501,7 +1419,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1501
1419
|
/**
|
|
1502
1420
|
* Generic pallet event
|
|
1503
1421
|
**/
|
|
1504
|
-
[prop: string]: GenericPalletEvent
|
|
1422
|
+
[prop: string]: GenericPalletEvent;
|
|
1505
1423
|
};
|
|
1506
1424
|
/**
|
|
1507
1425
|
* Pallet `Proxy`'s events
|
|
@@ -1510,14 +1428,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1510
1428
|
/**
|
|
1511
1429
|
* A proxy was executed correctly, with the given.
|
|
1512
1430
|
**/
|
|
1513
|
-
ProxyExecuted: GenericPalletEvent<
|
|
1431
|
+
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
1514
1432
|
|
|
1515
1433
|
/**
|
|
1516
1434
|
* A pure account has been created by new proxy with given
|
|
1517
1435
|
* disambiguation index and proxy type.
|
|
1518
1436
|
**/
|
|
1519
1437
|
PureCreated: GenericPalletEvent<
|
|
1520
|
-
Rv,
|
|
1521
1438
|
'Proxy',
|
|
1522
1439
|
'PureCreated',
|
|
1523
1440
|
{ pure: AccountId32; who: AccountId32; proxyType: AssetHubKusamaRuntimeProxyType; disambiguationIndex: number }
|
|
@@ -1527,7 +1444,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1527
1444
|
* A pure proxy was killed by its spawner.
|
|
1528
1445
|
**/
|
|
1529
1446
|
PureKilled: GenericPalletEvent<
|
|
1530
|
-
Rv,
|
|
1531
1447
|
'Proxy',
|
|
1532
1448
|
'PureKilled',
|
|
1533
1449
|
{
|
|
@@ -1541,13 +1457,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1541
1457
|
/**
|
|
1542
1458
|
* An announcement was placed to make a call in the future.
|
|
1543
1459
|
**/
|
|
1544
|
-
Announced: GenericPalletEvent<
|
|
1460
|
+
Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
1545
1461
|
|
|
1546
1462
|
/**
|
|
1547
1463
|
* A proxy was added.
|
|
1548
1464
|
**/
|
|
1549
1465
|
ProxyAdded: GenericPalletEvent<
|
|
1550
|
-
Rv,
|
|
1551
1466
|
'Proxy',
|
|
1552
1467
|
'ProxyAdded',
|
|
1553
1468
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubKusamaRuntimeProxyType; delay: number }
|
|
@@ -1557,7 +1472,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1557
1472
|
* A proxy was removed.
|
|
1558
1473
|
**/
|
|
1559
1474
|
ProxyRemoved: GenericPalletEvent<
|
|
1560
|
-
Rv,
|
|
1561
1475
|
'Proxy',
|
|
1562
1476
|
'ProxyRemoved',
|
|
1563
1477
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubKusamaRuntimeProxyType; delay: number }
|
|
@@ -1567,7 +1481,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1567
1481
|
* A deposit stored for proxies or announcements was poked / updated.
|
|
1568
1482
|
**/
|
|
1569
1483
|
DepositPoked: GenericPalletEvent<
|
|
1570
|
-
Rv,
|
|
1571
1484
|
'Proxy',
|
|
1572
1485
|
'DepositPoked',
|
|
1573
1486
|
{ who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -1576,7 +1489,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1576
1489
|
/**
|
|
1577
1490
|
* Generic pallet event
|
|
1578
1491
|
**/
|
|
1579
|
-
[prop: string]: GenericPalletEvent
|
|
1492
|
+
[prop: string]: GenericPalletEvent;
|
|
1580
1493
|
};
|
|
1581
1494
|
/**
|
|
1582
1495
|
* Pallet `Indices`'s events
|
|
@@ -1585,23 +1498,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1585
1498
|
/**
|
|
1586
1499
|
* A account index was assigned.
|
|
1587
1500
|
**/
|
|
1588
|
-
IndexAssigned: GenericPalletEvent<
|
|
1501
|
+
IndexAssigned: GenericPalletEvent<'Indices', 'IndexAssigned', { who: AccountId32; index: number }>;
|
|
1589
1502
|
|
|
1590
1503
|
/**
|
|
1591
1504
|
* A account index has been freed up (unassigned).
|
|
1592
1505
|
**/
|
|
1593
|
-
IndexFreed: GenericPalletEvent<
|
|
1506
|
+
IndexFreed: GenericPalletEvent<'Indices', 'IndexFreed', { index: number }>;
|
|
1594
1507
|
|
|
1595
1508
|
/**
|
|
1596
1509
|
* A account index has been frozen to its current account ID.
|
|
1597
1510
|
**/
|
|
1598
|
-
IndexFrozen: GenericPalletEvent<
|
|
1511
|
+
IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
|
|
1599
1512
|
|
|
1600
1513
|
/**
|
|
1601
1514
|
* A deposit to reserve an index has been poked/reconsidered.
|
|
1602
1515
|
**/
|
|
1603
1516
|
DepositPoked: GenericPalletEvent<
|
|
1604
|
-
Rv,
|
|
1605
1517
|
'Indices',
|
|
1606
1518
|
'DepositPoked',
|
|
1607
1519
|
{ who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -1610,7 +1522,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1610
1522
|
/**
|
|
1611
1523
|
* Generic pallet event
|
|
1612
1524
|
**/
|
|
1613
|
-
[prop: string]: GenericPalletEvent
|
|
1525
|
+
[prop: string]: GenericPalletEvent;
|
|
1614
1526
|
};
|
|
1615
1527
|
/**
|
|
1616
1528
|
* Pallet `Assets`'s events
|
|
@@ -1619,18 +1531,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1619
1531
|
/**
|
|
1620
1532
|
* Some asset class was created.
|
|
1621
1533
|
**/
|
|
1622
|
-
Created: GenericPalletEvent<
|
|
1534
|
+
Created: GenericPalletEvent<'Assets', 'Created', { assetId: number; creator: AccountId32; owner: AccountId32 }>;
|
|
1623
1535
|
|
|
1624
1536
|
/**
|
|
1625
1537
|
* Some assets were issued.
|
|
1626
1538
|
**/
|
|
1627
|
-
Issued: GenericPalletEvent<
|
|
1539
|
+
Issued: GenericPalletEvent<'Assets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
|
|
1628
1540
|
|
|
1629
1541
|
/**
|
|
1630
1542
|
* Some assets were transferred.
|
|
1631
1543
|
**/
|
|
1632
1544
|
Transferred: GenericPalletEvent<
|
|
1633
|
-
Rv,
|
|
1634
1545
|
'Assets',
|
|
1635
1546
|
'Transferred',
|
|
1636
1547
|
{ assetId: number; from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -1639,13 +1550,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1639
1550
|
/**
|
|
1640
1551
|
* Some assets were destroyed.
|
|
1641
1552
|
**/
|
|
1642
|
-
Burned: GenericPalletEvent<
|
|
1553
|
+
Burned: GenericPalletEvent<'Assets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
|
|
1643
1554
|
|
|
1644
1555
|
/**
|
|
1645
1556
|
* The management team changed.
|
|
1646
1557
|
**/
|
|
1647
1558
|
TeamChanged: GenericPalletEvent<
|
|
1648
|
-
Rv,
|
|
1649
1559
|
'Assets',
|
|
1650
1560
|
'TeamChanged',
|
|
1651
1561
|
{ assetId: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -1654,33 +1564,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1654
1564
|
/**
|
|
1655
1565
|
* The owner changed.
|
|
1656
1566
|
**/
|
|
1657
|
-
OwnerChanged: GenericPalletEvent<
|
|
1567
|
+
OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
|
|
1658
1568
|
|
|
1659
1569
|
/**
|
|
1660
1570
|
* Some account `who` was frozen.
|
|
1661
1571
|
**/
|
|
1662
|
-
Frozen: GenericPalletEvent<
|
|
1572
|
+
Frozen: GenericPalletEvent<'Assets', 'Frozen', { assetId: number; who: AccountId32 }>;
|
|
1663
1573
|
|
|
1664
1574
|
/**
|
|
1665
1575
|
* Some account `who` was thawed.
|
|
1666
1576
|
**/
|
|
1667
|
-
Thawed: GenericPalletEvent<
|
|
1577
|
+
Thawed: GenericPalletEvent<'Assets', 'Thawed', { assetId: number; who: AccountId32 }>;
|
|
1668
1578
|
|
|
1669
1579
|
/**
|
|
1670
1580
|
* Some asset `asset_id` was frozen.
|
|
1671
1581
|
**/
|
|
1672
|
-
AssetFrozen: GenericPalletEvent<
|
|
1582
|
+
AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', { assetId: number }>;
|
|
1673
1583
|
|
|
1674
1584
|
/**
|
|
1675
1585
|
* Some asset `asset_id` was thawed.
|
|
1676
1586
|
**/
|
|
1677
|
-
AssetThawed: GenericPalletEvent<
|
|
1587
|
+
AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', { assetId: number }>;
|
|
1678
1588
|
|
|
1679
1589
|
/**
|
|
1680
1590
|
* Accounts were destroyed for given asset.
|
|
1681
1591
|
**/
|
|
1682
1592
|
AccountsDestroyed: GenericPalletEvent<
|
|
1683
|
-
Rv,
|
|
1684
1593
|
'Assets',
|
|
1685
1594
|
'AccountsDestroyed',
|
|
1686
1595
|
{ assetId: number; accountsDestroyed: number; accountsRemaining: number }
|
|
@@ -1690,7 +1599,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1690
1599
|
* Approvals were destroyed for given asset.
|
|
1691
1600
|
**/
|
|
1692
1601
|
ApprovalsDestroyed: GenericPalletEvent<
|
|
1693
|
-
Rv,
|
|
1694
1602
|
'Assets',
|
|
1695
1603
|
'ApprovalsDestroyed',
|
|
1696
1604
|
{ assetId: number; approvalsDestroyed: number; approvalsRemaining: number }
|
|
@@ -1699,23 +1607,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1699
1607
|
/**
|
|
1700
1608
|
* An asset class is in the process of being destroyed.
|
|
1701
1609
|
**/
|
|
1702
|
-
DestructionStarted: GenericPalletEvent<
|
|
1610
|
+
DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', { assetId: number }>;
|
|
1703
1611
|
|
|
1704
1612
|
/**
|
|
1705
1613
|
* An asset class was destroyed.
|
|
1706
1614
|
**/
|
|
1707
|
-
Destroyed: GenericPalletEvent<
|
|
1615
|
+
Destroyed: GenericPalletEvent<'Assets', 'Destroyed', { assetId: number }>;
|
|
1708
1616
|
|
|
1709
1617
|
/**
|
|
1710
1618
|
* Some asset class was force-created.
|
|
1711
1619
|
**/
|
|
1712
|
-
ForceCreated: GenericPalletEvent<
|
|
1620
|
+
ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
|
|
1713
1621
|
|
|
1714
1622
|
/**
|
|
1715
1623
|
* New metadata has been set for an asset.
|
|
1716
1624
|
**/
|
|
1717
1625
|
MetadataSet: GenericPalletEvent<
|
|
1718
|
-
Rv,
|
|
1719
1626
|
'Assets',
|
|
1720
1627
|
'MetadataSet',
|
|
1721
1628
|
{ assetId: number; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
|
|
@@ -1724,13 +1631,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1724
1631
|
/**
|
|
1725
1632
|
* Metadata has been cleared for an asset.
|
|
1726
1633
|
**/
|
|
1727
|
-
MetadataCleared: GenericPalletEvent<
|
|
1634
|
+
MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', { assetId: number }>;
|
|
1728
1635
|
|
|
1729
1636
|
/**
|
|
1730
1637
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
1731
1638
|
**/
|
|
1732
1639
|
ApprovedTransfer: GenericPalletEvent<
|
|
1733
|
-
Rv,
|
|
1734
1640
|
'Assets',
|
|
1735
1641
|
'ApprovedTransfer',
|
|
1736
1642
|
{ assetId: number; source: AccountId32; delegate: AccountId32; amount: bigint }
|
|
@@ -1740,7 +1646,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1740
1646
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
1741
1647
|
**/
|
|
1742
1648
|
ApprovalCancelled: GenericPalletEvent<
|
|
1743
|
-
Rv,
|
|
1744
1649
|
'Assets',
|
|
1745
1650
|
'ApprovalCancelled',
|
|
1746
1651
|
{ assetId: number; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1751,7 +1656,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1751
1656
|
* the approved `delegate`.
|
|
1752
1657
|
**/
|
|
1753
1658
|
TransferredApproved: GenericPalletEvent<
|
|
1754
|
-
Rv,
|
|
1755
1659
|
'Assets',
|
|
1756
1660
|
'TransferredApproved',
|
|
1757
1661
|
{ assetId: number; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
|
|
@@ -1760,13 +1664,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1760
1664
|
/**
|
|
1761
1665
|
* An asset has had its attributes changed by the `Force` origin.
|
|
1762
1666
|
**/
|
|
1763
|
-
AssetStatusChanged: GenericPalletEvent<
|
|
1667
|
+
AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', { assetId: number }>;
|
|
1764
1668
|
|
|
1765
1669
|
/**
|
|
1766
1670
|
* The min_balance of an asset has been updated by the asset owner.
|
|
1767
1671
|
**/
|
|
1768
1672
|
AssetMinBalanceChanged: GenericPalletEvent<
|
|
1769
|
-
Rv,
|
|
1770
1673
|
'Assets',
|
|
1771
1674
|
'AssetMinBalanceChanged',
|
|
1772
1675
|
{ assetId: number; newMinBalance: bigint }
|
|
@@ -1775,27 +1678,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1775
1678
|
/**
|
|
1776
1679
|
* Some account `who` was created with a deposit from `depositor`.
|
|
1777
1680
|
**/
|
|
1778
|
-
Touched: GenericPalletEvent<
|
|
1681
|
+
Touched: GenericPalletEvent<'Assets', 'Touched', { assetId: number; who: AccountId32; depositor: AccountId32 }>;
|
|
1779
1682
|
|
|
1780
1683
|
/**
|
|
1781
1684
|
* Some account `who` was blocked.
|
|
1782
1685
|
**/
|
|
1783
|
-
Blocked: GenericPalletEvent<
|
|
1686
|
+
Blocked: GenericPalletEvent<'Assets', 'Blocked', { assetId: number; who: AccountId32 }>;
|
|
1784
1687
|
|
|
1785
1688
|
/**
|
|
1786
1689
|
* Some assets were deposited (e.g. for transaction fees).
|
|
1787
1690
|
**/
|
|
1788
|
-
Deposited: GenericPalletEvent<
|
|
1691
|
+
Deposited: GenericPalletEvent<'Assets', 'Deposited', { assetId: number; who: AccountId32; amount: bigint }>;
|
|
1789
1692
|
|
|
1790
1693
|
/**
|
|
1791
1694
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
1792
1695
|
**/
|
|
1793
|
-
Withdrawn: GenericPalletEvent<
|
|
1696
|
+
Withdrawn: GenericPalletEvent<'Assets', 'Withdrawn', { assetId: number; who: AccountId32; amount: bigint }>;
|
|
1794
1697
|
|
|
1795
1698
|
/**
|
|
1796
1699
|
* Generic pallet event
|
|
1797
1700
|
**/
|
|
1798
|
-
[prop: string]: GenericPalletEvent
|
|
1701
|
+
[prop: string]: GenericPalletEvent;
|
|
1799
1702
|
};
|
|
1800
1703
|
/**
|
|
1801
1704
|
* Pallet `Uniques`'s events
|
|
@@ -1804,33 +1707,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1804
1707
|
/**
|
|
1805
1708
|
* A `collection` was created.
|
|
1806
1709
|
**/
|
|
1807
|
-
Created: GenericPalletEvent<
|
|
1808
|
-
Rv,
|
|
1809
|
-
'Uniques',
|
|
1810
|
-
'Created',
|
|
1811
|
-
{ collection: number; creator: AccountId32; owner: AccountId32 }
|
|
1812
|
-
>;
|
|
1710
|
+
Created: GenericPalletEvent<'Uniques', 'Created', { collection: number; creator: AccountId32; owner: AccountId32 }>;
|
|
1813
1711
|
|
|
1814
1712
|
/**
|
|
1815
1713
|
* A `collection` was force-created.
|
|
1816
1714
|
**/
|
|
1817
|
-
ForceCreated: GenericPalletEvent<
|
|
1715
|
+
ForceCreated: GenericPalletEvent<'Uniques', 'ForceCreated', { collection: number; owner: AccountId32 }>;
|
|
1818
1716
|
|
|
1819
1717
|
/**
|
|
1820
1718
|
* A `collection` was destroyed.
|
|
1821
1719
|
**/
|
|
1822
|
-
Destroyed: GenericPalletEvent<
|
|
1720
|
+
Destroyed: GenericPalletEvent<'Uniques', 'Destroyed', { collection: number }>;
|
|
1823
1721
|
|
|
1824
1722
|
/**
|
|
1825
1723
|
* An `item` was issued.
|
|
1826
1724
|
**/
|
|
1827
|
-
Issued: GenericPalletEvent<
|
|
1725
|
+
Issued: GenericPalletEvent<'Uniques', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
|
|
1828
1726
|
|
|
1829
1727
|
/**
|
|
1830
1728
|
* An `item` was transferred.
|
|
1831
1729
|
**/
|
|
1832
1730
|
Transferred: GenericPalletEvent<
|
|
1833
|
-
Rv,
|
|
1834
1731
|
'Uniques',
|
|
1835
1732
|
'Transferred',
|
|
1836
1733
|
{ collection: number; item: number; from: AccountId32; to: AccountId32 }
|
|
@@ -1839,38 +1736,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1839
1736
|
/**
|
|
1840
1737
|
* An `item` was destroyed.
|
|
1841
1738
|
**/
|
|
1842
|
-
Burned: GenericPalletEvent<
|
|
1739
|
+
Burned: GenericPalletEvent<'Uniques', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
|
|
1843
1740
|
|
|
1844
1741
|
/**
|
|
1845
1742
|
* Some `item` was frozen.
|
|
1846
1743
|
**/
|
|
1847
|
-
Frozen: GenericPalletEvent<
|
|
1744
|
+
Frozen: GenericPalletEvent<'Uniques', 'Frozen', { collection: number; item: number }>;
|
|
1848
1745
|
|
|
1849
1746
|
/**
|
|
1850
1747
|
* Some `item` was thawed.
|
|
1851
1748
|
**/
|
|
1852
|
-
Thawed: GenericPalletEvent<
|
|
1749
|
+
Thawed: GenericPalletEvent<'Uniques', 'Thawed', { collection: number; item: number }>;
|
|
1853
1750
|
|
|
1854
1751
|
/**
|
|
1855
1752
|
* Some `collection` was frozen.
|
|
1856
1753
|
**/
|
|
1857
|
-
CollectionFrozen: GenericPalletEvent<
|
|
1754
|
+
CollectionFrozen: GenericPalletEvent<'Uniques', 'CollectionFrozen', { collection: number }>;
|
|
1858
1755
|
|
|
1859
1756
|
/**
|
|
1860
1757
|
* Some `collection` was thawed.
|
|
1861
1758
|
**/
|
|
1862
|
-
CollectionThawed: GenericPalletEvent<
|
|
1759
|
+
CollectionThawed: GenericPalletEvent<'Uniques', 'CollectionThawed', { collection: number }>;
|
|
1863
1760
|
|
|
1864
1761
|
/**
|
|
1865
1762
|
* The owner changed.
|
|
1866
1763
|
**/
|
|
1867
|
-
OwnerChanged: GenericPalletEvent<
|
|
1764
|
+
OwnerChanged: GenericPalletEvent<'Uniques', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
|
|
1868
1765
|
|
|
1869
1766
|
/**
|
|
1870
1767
|
* The management team changed.
|
|
1871
1768
|
**/
|
|
1872
1769
|
TeamChanged: GenericPalletEvent<
|
|
1873
|
-
Rv,
|
|
1874
1770
|
'Uniques',
|
|
1875
1771
|
'TeamChanged',
|
|
1876
1772
|
{ collection: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -1881,7 +1777,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1881
1777
|
* a `delegate`.
|
|
1882
1778
|
**/
|
|
1883
1779
|
ApprovedTransfer: GenericPalletEvent<
|
|
1884
|
-
Rv,
|
|
1885
1780
|
'Uniques',
|
|
1886
1781
|
'ApprovedTransfer',
|
|
1887
1782
|
{ collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1892,7 +1787,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1892
1787
|
* `collection` was cancelled by its `owner`.
|
|
1893
1788
|
**/
|
|
1894
1789
|
ApprovalCancelled: GenericPalletEvent<
|
|
1895
|
-
Rv,
|
|
1896
1790
|
'Uniques',
|
|
1897
1791
|
'ApprovalCancelled',
|
|
1898
1792
|
{ collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1901,13 +1795,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1901
1795
|
/**
|
|
1902
1796
|
* A `collection` has had its attributes changed by the `Force` origin.
|
|
1903
1797
|
**/
|
|
1904
|
-
ItemStatusChanged: GenericPalletEvent<
|
|
1798
|
+
ItemStatusChanged: GenericPalletEvent<'Uniques', 'ItemStatusChanged', { collection: number }>;
|
|
1905
1799
|
|
|
1906
1800
|
/**
|
|
1907
1801
|
* New metadata has been set for a `collection`.
|
|
1908
1802
|
**/
|
|
1909
1803
|
CollectionMetadataSet: GenericPalletEvent<
|
|
1910
|
-
Rv,
|
|
1911
1804
|
'Uniques',
|
|
1912
1805
|
'CollectionMetadataSet',
|
|
1913
1806
|
{ collection: number; data: Bytes; isFrozen: boolean }
|
|
@@ -1916,13 +1809,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1916
1809
|
/**
|
|
1917
1810
|
* Metadata has been cleared for a `collection`.
|
|
1918
1811
|
**/
|
|
1919
|
-
CollectionMetadataCleared: GenericPalletEvent<
|
|
1812
|
+
CollectionMetadataCleared: GenericPalletEvent<'Uniques', 'CollectionMetadataCleared', { collection: number }>;
|
|
1920
1813
|
|
|
1921
1814
|
/**
|
|
1922
1815
|
* New metadata has been set for an item.
|
|
1923
1816
|
**/
|
|
1924
1817
|
MetadataSet: GenericPalletEvent<
|
|
1925
|
-
Rv,
|
|
1926
1818
|
'Uniques',
|
|
1927
1819
|
'MetadataSet',
|
|
1928
1820
|
{ collection: number; item: number; data: Bytes; isFrozen: boolean }
|
|
@@ -1931,23 +1823,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1931
1823
|
/**
|
|
1932
1824
|
* Metadata has been cleared for an item.
|
|
1933
1825
|
**/
|
|
1934
|
-
MetadataCleared: GenericPalletEvent<
|
|
1826
|
+
MetadataCleared: GenericPalletEvent<'Uniques', 'MetadataCleared', { collection: number; item: number }>;
|
|
1935
1827
|
|
|
1936
1828
|
/**
|
|
1937
1829
|
* Metadata has been cleared for an item.
|
|
1938
1830
|
**/
|
|
1939
|
-
Redeposited: GenericPalletEvent<
|
|
1940
|
-
Rv,
|
|
1941
|
-
'Uniques',
|
|
1942
|
-
'Redeposited',
|
|
1943
|
-
{ collection: number; successfulItems: Array<number> }
|
|
1944
|
-
>;
|
|
1831
|
+
Redeposited: GenericPalletEvent<'Uniques', 'Redeposited', { collection: number; successfulItems: Array<number> }>;
|
|
1945
1832
|
|
|
1946
1833
|
/**
|
|
1947
1834
|
* New attribute metadata has been set for a `collection` or `item`.
|
|
1948
1835
|
**/
|
|
1949
1836
|
AttributeSet: GenericPalletEvent<
|
|
1950
|
-
Rv,
|
|
1951
1837
|
'Uniques',
|
|
1952
1838
|
'AttributeSet',
|
|
1953
1839
|
{ collection: number; maybeItem?: number | undefined; key: Bytes; value: Bytes }
|
|
@@ -1957,7 +1843,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1957
1843
|
* Attribute metadata has been cleared for a `collection` or `item`.
|
|
1958
1844
|
**/
|
|
1959
1845
|
AttributeCleared: GenericPalletEvent<
|
|
1960
|
-
Rv,
|
|
1961
1846
|
'Uniques',
|
|
1962
1847
|
'AttributeCleared',
|
|
1963
1848
|
{ collection: number; maybeItem?: number | undefined; key: Bytes }
|
|
@@ -1967,7 +1852,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1967
1852
|
* Ownership acceptance has changed for an account.
|
|
1968
1853
|
**/
|
|
1969
1854
|
OwnershipAcceptanceChanged: GenericPalletEvent<
|
|
1970
|
-
Rv,
|
|
1971
1855
|
'Uniques',
|
|
1972
1856
|
'OwnershipAcceptanceChanged',
|
|
1973
1857
|
{ who: AccountId32; maybeCollection?: number | undefined }
|
|
@@ -1977,7 +1861,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1977
1861
|
* Max supply has been set for a collection.
|
|
1978
1862
|
**/
|
|
1979
1863
|
CollectionMaxSupplySet: GenericPalletEvent<
|
|
1980
|
-
Rv,
|
|
1981
1864
|
'Uniques',
|
|
1982
1865
|
'CollectionMaxSupplySet',
|
|
1983
1866
|
{ collection: number; maxSupply: number }
|
|
@@ -1987,7 +1870,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1987
1870
|
* The price was set for the instance.
|
|
1988
1871
|
**/
|
|
1989
1872
|
ItemPriceSet: GenericPalletEvent<
|
|
1990
|
-
Rv,
|
|
1991
1873
|
'Uniques',
|
|
1992
1874
|
'ItemPriceSet',
|
|
1993
1875
|
{ collection: number; item: number; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
|
|
@@ -1996,13 +1878,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1996
1878
|
/**
|
|
1997
1879
|
* The price for the instance was removed.
|
|
1998
1880
|
**/
|
|
1999
|
-
ItemPriceRemoved: GenericPalletEvent<
|
|
1881
|
+
ItemPriceRemoved: GenericPalletEvent<'Uniques', 'ItemPriceRemoved', { collection: number; item: number }>;
|
|
2000
1882
|
|
|
2001
1883
|
/**
|
|
2002
1884
|
* An item was bought.
|
|
2003
1885
|
**/
|
|
2004
1886
|
ItemBought: GenericPalletEvent<
|
|
2005
|
-
Rv,
|
|
2006
1887
|
'Uniques',
|
|
2007
1888
|
'ItemBought',
|
|
2008
1889
|
{ collection: number; item: number; price: bigint; seller: AccountId32; buyer: AccountId32 }
|
|
@@ -2011,7 +1892,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2011
1892
|
/**
|
|
2012
1893
|
* Generic pallet event
|
|
2013
1894
|
**/
|
|
2014
|
-
[prop: string]: GenericPalletEvent
|
|
1895
|
+
[prop: string]: GenericPalletEvent;
|
|
2015
1896
|
};
|
|
2016
1897
|
/**
|
|
2017
1898
|
* Pallet `Nfts`'s events
|
|
@@ -2020,33 +1901,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2020
1901
|
/**
|
|
2021
1902
|
* A `collection` was created.
|
|
2022
1903
|
**/
|
|
2023
|
-
Created: GenericPalletEvent<
|
|
2024
|
-
Rv,
|
|
2025
|
-
'Nfts',
|
|
2026
|
-
'Created',
|
|
2027
|
-
{ collection: number; creator: AccountId32; owner: AccountId32 }
|
|
2028
|
-
>;
|
|
1904
|
+
Created: GenericPalletEvent<'Nfts', 'Created', { collection: number; creator: AccountId32; owner: AccountId32 }>;
|
|
2029
1905
|
|
|
2030
1906
|
/**
|
|
2031
1907
|
* A `collection` was force-created.
|
|
2032
1908
|
**/
|
|
2033
|
-
ForceCreated: GenericPalletEvent<
|
|
1909
|
+
ForceCreated: GenericPalletEvent<'Nfts', 'ForceCreated', { collection: number; owner: AccountId32 }>;
|
|
2034
1910
|
|
|
2035
1911
|
/**
|
|
2036
1912
|
* A `collection` was destroyed.
|
|
2037
1913
|
**/
|
|
2038
|
-
Destroyed: GenericPalletEvent<
|
|
1914
|
+
Destroyed: GenericPalletEvent<'Nfts', 'Destroyed', { collection: number }>;
|
|
2039
1915
|
|
|
2040
1916
|
/**
|
|
2041
1917
|
* An `item` was issued.
|
|
2042
1918
|
**/
|
|
2043
|
-
Issued: GenericPalletEvent<
|
|
1919
|
+
Issued: GenericPalletEvent<'Nfts', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
|
|
2044
1920
|
|
|
2045
1921
|
/**
|
|
2046
1922
|
* An `item` was transferred.
|
|
2047
1923
|
**/
|
|
2048
1924
|
Transferred: GenericPalletEvent<
|
|
2049
|
-
Rv,
|
|
2050
1925
|
'Nfts',
|
|
2051
1926
|
'Transferred',
|
|
2052
1927
|
{ collection: number; item: number; from: AccountId32; to: AccountId32 }
|
|
@@ -2055,23 +1930,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2055
1930
|
/**
|
|
2056
1931
|
* An `item` was destroyed.
|
|
2057
1932
|
**/
|
|
2058
|
-
Burned: GenericPalletEvent<
|
|
1933
|
+
Burned: GenericPalletEvent<'Nfts', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
|
|
2059
1934
|
|
|
2060
1935
|
/**
|
|
2061
1936
|
* An `item` became non-transferable.
|
|
2062
1937
|
**/
|
|
2063
|
-
ItemTransferLocked: GenericPalletEvent<
|
|
1938
|
+
ItemTransferLocked: GenericPalletEvent<'Nfts', 'ItemTransferLocked', { collection: number; item: number }>;
|
|
2064
1939
|
|
|
2065
1940
|
/**
|
|
2066
1941
|
* An `item` became transferable.
|
|
2067
1942
|
**/
|
|
2068
|
-
ItemTransferUnlocked: GenericPalletEvent<
|
|
1943
|
+
ItemTransferUnlocked: GenericPalletEvent<'Nfts', 'ItemTransferUnlocked', { collection: number; item: number }>;
|
|
2069
1944
|
|
|
2070
1945
|
/**
|
|
2071
1946
|
* `item` metadata or attributes were locked.
|
|
2072
1947
|
**/
|
|
2073
1948
|
ItemPropertiesLocked: GenericPalletEvent<
|
|
2074
|
-
Rv,
|
|
2075
1949
|
'Nfts',
|
|
2076
1950
|
'ItemPropertiesLocked',
|
|
2077
1951
|
{ collection: number; item: number; lockMetadata: boolean; lockAttributes: boolean }
|
|
@@ -2080,18 +1954,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2080
1954
|
/**
|
|
2081
1955
|
* Some `collection` was locked.
|
|
2082
1956
|
**/
|
|
2083
|
-
CollectionLocked: GenericPalletEvent<
|
|
1957
|
+
CollectionLocked: GenericPalletEvent<'Nfts', 'CollectionLocked', { collection: number }>;
|
|
2084
1958
|
|
|
2085
1959
|
/**
|
|
2086
1960
|
* The owner changed.
|
|
2087
1961
|
**/
|
|
2088
|
-
OwnerChanged: GenericPalletEvent<
|
|
1962
|
+
OwnerChanged: GenericPalletEvent<'Nfts', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
|
|
2089
1963
|
|
|
2090
1964
|
/**
|
|
2091
1965
|
* The management team changed.
|
|
2092
1966
|
**/
|
|
2093
1967
|
TeamChanged: GenericPalletEvent<
|
|
2094
|
-
Rv,
|
|
2095
1968
|
'Nfts',
|
|
2096
1969
|
'TeamChanged',
|
|
2097
1970
|
{
|
|
@@ -2107,7 +1980,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2107
1980
|
* a `delegate`.
|
|
2108
1981
|
**/
|
|
2109
1982
|
TransferApproved: GenericPalletEvent<
|
|
2110
|
-
Rv,
|
|
2111
1983
|
'Nfts',
|
|
2112
1984
|
'TransferApproved',
|
|
2113
1985
|
{ collection: number; item: number; owner: AccountId32; delegate: AccountId32; deadline?: number | undefined }
|
|
@@ -2118,7 +1990,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2118
1990
|
* `collection` was cancelled by its `owner`.
|
|
2119
1991
|
**/
|
|
2120
1992
|
ApprovalCancelled: GenericPalletEvent<
|
|
2121
|
-
Rv,
|
|
2122
1993
|
'Nfts',
|
|
2123
1994
|
'ApprovalCancelled',
|
|
2124
1995
|
{ collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -2128,7 +1999,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2128
1999
|
* All approvals of an item got cancelled.
|
|
2129
2000
|
**/
|
|
2130
2001
|
AllApprovalsCancelled: GenericPalletEvent<
|
|
2131
|
-
Rv,
|
|
2132
2002
|
'Nfts',
|
|
2133
2003
|
'AllApprovalsCancelled',
|
|
2134
2004
|
{ collection: number; item: number; owner: AccountId32 }
|
|
@@ -2137,43 +2007,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2137
2007
|
/**
|
|
2138
2008
|
* A `collection` has had its config changed by the `Force` origin.
|
|
2139
2009
|
**/
|
|
2140
|
-
CollectionConfigChanged: GenericPalletEvent<
|
|
2010
|
+
CollectionConfigChanged: GenericPalletEvent<'Nfts', 'CollectionConfigChanged', { collection: number }>;
|
|
2141
2011
|
|
|
2142
2012
|
/**
|
|
2143
2013
|
* New metadata has been set for a `collection`.
|
|
2144
2014
|
**/
|
|
2145
|
-
CollectionMetadataSet: GenericPalletEvent<
|
|
2015
|
+
CollectionMetadataSet: GenericPalletEvent<'Nfts', 'CollectionMetadataSet', { collection: number; data: Bytes }>;
|
|
2146
2016
|
|
|
2147
2017
|
/**
|
|
2148
2018
|
* Metadata has been cleared for a `collection`.
|
|
2149
2019
|
**/
|
|
2150
|
-
CollectionMetadataCleared: GenericPalletEvent<
|
|
2020
|
+
CollectionMetadataCleared: GenericPalletEvent<'Nfts', 'CollectionMetadataCleared', { collection: number }>;
|
|
2151
2021
|
|
|
2152
2022
|
/**
|
|
2153
2023
|
* New metadata has been set for an item.
|
|
2154
2024
|
**/
|
|
2155
|
-
ItemMetadataSet: GenericPalletEvent<
|
|
2156
|
-
Rv,
|
|
2157
|
-
'Nfts',
|
|
2158
|
-
'ItemMetadataSet',
|
|
2159
|
-
{ collection: number; item: number; data: Bytes }
|
|
2160
|
-
>;
|
|
2025
|
+
ItemMetadataSet: GenericPalletEvent<'Nfts', 'ItemMetadataSet', { collection: number; item: number; data: Bytes }>;
|
|
2161
2026
|
|
|
2162
2027
|
/**
|
|
2163
2028
|
* Metadata has been cleared for an item.
|
|
2164
2029
|
**/
|
|
2165
|
-
ItemMetadataCleared: GenericPalletEvent<
|
|
2030
|
+
ItemMetadataCleared: GenericPalletEvent<'Nfts', 'ItemMetadataCleared', { collection: number; item: number }>;
|
|
2166
2031
|
|
|
2167
2032
|
/**
|
|
2168
2033
|
* The deposit for a set of `item`s within a `collection` has been updated.
|
|
2169
2034
|
**/
|
|
2170
|
-
Redeposited: GenericPalletEvent<
|
|
2035
|
+
Redeposited: GenericPalletEvent<'Nfts', 'Redeposited', { collection: number; successfulItems: Array<number> }>;
|
|
2171
2036
|
|
|
2172
2037
|
/**
|
|
2173
2038
|
* New attribute metadata has been set for a `collection` or `item`.
|
|
2174
2039
|
**/
|
|
2175
2040
|
AttributeSet: GenericPalletEvent<
|
|
2176
|
-
Rv,
|
|
2177
2041
|
'Nfts',
|
|
2178
2042
|
'AttributeSet',
|
|
2179
2043
|
{
|
|
@@ -2189,7 +2053,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2189
2053
|
* Attribute metadata has been cleared for a `collection` or `item`.
|
|
2190
2054
|
**/
|
|
2191
2055
|
AttributeCleared: GenericPalletEvent<
|
|
2192
|
-
Rv,
|
|
2193
2056
|
'Nfts',
|
|
2194
2057
|
'AttributeCleared',
|
|
2195
2058
|
{ collection: number; maybeItem?: number | undefined; key: Bytes; namespace: PalletNftsAttributeNamespace }
|
|
@@ -2199,7 +2062,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2199
2062
|
* A new approval to modify item attributes was added.
|
|
2200
2063
|
**/
|
|
2201
2064
|
ItemAttributesApprovalAdded: GenericPalletEvent<
|
|
2202
|
-
Rv,
|
|
2203
2065
|
'Nfts',
|
|
2204
2066
|
'ItemAttributesApprovalAdded',
|
|
2205
2067
|
{ collection: number; item: number; delegate: AccountId32 }
|
|
@@ -2209,7 +2071,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2209
2071
|
* A new approval to modify item attributes was removed.
|
|
2210
2072
|
**/
|
|
2211
2073
|
ItemAttributesApprovalRemoved: GenericPalletEvent<
|
|
2212
|
-
Rv,
|
|
2213
2074
|
'Nfts',
|
|
2214
2075
|
'ItemAttributesApprovalRemoved',
|
|
2215
2076
|
{ collection: number; item: number; delegate: AccountId32 }
|
|
@@ -2219,7 +2080,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2219
2080
|
* Ownership acceptance has changed for an account.
|
|
2220
2081
|
**/
|
|
2221
2082
|
OwnershipAcceptanceChanged: GenericPalletEvent<
|
|
2222
|
-
Rv,
|
|
2223
2083
|
'Nfts',
|
|
2224
2084
|
'OwnershipAcceptanceChanged',
|
|
2225
2085
|
{ who: AccountId32; maybeCollection?: number | undefined }
|
|
@@ -2229,7 +2089,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2229
2089
|
* Max supply has been set for a collection.
|
|
2230
2090
|
**/
|
|
2231
2091
|
CollectionMaxSupplySet: GenericPalletEvent<
|
|
2232
|
-
Rv,
|
|
2233
2092
|
'Nfts',
|
|
2234
2093
|
'CollectionMaxSupplySet',
|
|
2235
2094
|
{ collection: number; maxSupply: number }
|
|
@@ -2238,18 +2097,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2238
2097
|
/**
|
|
2239
2098
|
* Mint settings for a collection had changed.
|
|
2240
2099
|
**/
|
|
2241
|
-
CollectionMintSettingsUpdated: GenericPalletEvent<
|
|
2242
|
-
Rv,
|
|
2243
|
-
'Nfts',
|
|
2244
|
-
'CollectionMintSettingsUpdated',
|
|
2245
|
-
{ collection: number }
|
|
2246
|
-
>;
|
|
2100
|
+
CollectionMintSettingsUpdated: GenericPalletEvent<'Nfts', 'CollectionMintSettingsUpdated', { collection: number }>;
|
|
2247
2101
|
|
|
2248
2102
|
/**
|
|
2249
2103
|
* Event gets emitted when the `NextCollectionId` gets incremented.
|
|
2250
2104
|
**/
|
|
2251
2105
|
NextCollectionIdIncremented: GenericPalletEvent<
|
|
2252
|
-
Rv,
|
|
2253
2106
|
'Nfts',
|
|
2254
2107
|
'NextCollectionIdIncremented',
|
|
2255
2108
|
{ nextId?: number | undefined }
|
|
@@ -2259,7 +2112,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2259
2112
|
* The price was set for the item.
|
|
2260
2113
|
**/
|
|
2261
2114
|
ItemPriceSet: GenericPalletEvent<
|
|
2262
|
-
Rv,
|
|
2263
2115
|
'Nfts',
|
|
2264
2116
|
'ItemPriceSet',
|
|
2265
2117
|
{ collection: number; item: number; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
|
|
@@ -2268,13 +2120,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2268
2120
|
/**
|
|
2269
2121
|
* The price for the item was removed.
|
|
2270
2122
|
**/
|
|
2271
|
-
ItemPriceRemoved: GenericPalletEvent<
|
|
2123
|
+
ItemPriceRemoved: GenericPalletEvent<'Nfts', 'ItemPriceRemoved', { collection: number; item: number }>;
|
|
2272
2124
|
|
|
2273
2125
|
/**
|
|
2274
2126
|
* An item was bought.
|
|
2275
2127
|
**/
|
|
2276
2128
|
ItemBought: GenericPalletEvent<
|
|
2277
|
-
Rv,
|
|
2278
2129
|
'Nfts',
|
|
2279
2130
|
'ItemBought',
|
|
2280
2131
|
{ collection: number; item: number; price: bigint; seller: AccountId32; buyer: AccountId32 }
|
|
@@ -2284,7 +2135,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2284
2135
|
* A tip was sent.
|
|
2285
2136
|
**/
|
|
2286
2137
|
TipSent: GenericPalletEvent<
|
|
2287
|
-
Rv,
|
|
2288
2138
|
'Nfts',
|
|
2289
2139
|
'TipSent',
|
|
2290
2140
|
{ collection: number; item: number; sender: AccountId32; receiver: AccountId32; amount: bigint }
|
|
@@ -2294,7 +2144,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2294
2144
|
* An `item` swap intent was created.
|
|
2295
2145
|
**/
|
|
2296
2146
|
SwapCreated: GenericPalletEvent<
|
|
2297
|
-
Rv,
|
|
2298
2147
|
'Nfts',
|
|
2299
2148
|
'SwapCreated',
|
|
2300
2149
|
{
|
|
@@ -2311,7 +2160,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2311
2160
|
* The swap was cancelled.
|
|
2312
2161
|
**/
|
|
2313
2162
|
SwapCancelled: GenericPalletEvent<
|
|
2314
|
-
Rv,
|
|
2315
2163
|
'Nfts',
|
|
2316
2164
|
'SwapCancelled',
|
|
2317
2165
|
{
|
|
@@ -2328,7 +2176,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2328
2176
|
* The swap has been claimed.
|
|
2329
2177
|
**/
|
|
2330
2178
|
SwapClaimed: GenericPalletEvent<
|
|
2331
|
-
Rv,
|
|
2332
2179
|
'Nfts',
|
|
2333
2180
|
'SwapClaimed',
|
|
2334
2181
|
{
|
|
@@ -2347,7 +2194,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2347
2194
|
* New attributes have been set for an `item` of the `collection`.
|
|
2348
2195
|
**/
|
|
2349
2196
|
PreSignedAttributesSet: GenericPalletEvent<
|
|
2350
|
-
Rv,
|
|
2351
2197
|
'Nfts',
|
|
2352
2198
|
'PreSignedAttributesSet',
|
|
2353
2199
|
{ collection: number; item: number; namespace: PalletNftsAttributeNamespace }
|
|
@@ -2358,7 +2204,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2358
2204
|
* within that `collection`.
|
|
2359
2205
|
**/
|
|
2360
2206
|
PalletAttributeSet: GenericPalletEvent<
|
|
2361
|
-
Rv,
|
|
2362
2207
|
'Nfts',
|
|
2363
2208
|
'PalletAttributeSet',
|
|
2364
2209
|
{ collection: number; item?: number | undefined; attribute: PalletNftsPalletAttributes; value: Bytes }
|
|
@@ -2367,7 +2212,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2367
2212
|
/**
|
|
2368
2213
|
* Generic pallet event
|
|
2369
2214
|
**/
|
|
2370
|
-
[prop: string]: GenericPalletEvent
|
|
2215
|
+
[prop: string]: GenericPalletEvent;
|
|
2371
2216
|
};
|
|
2372
2217
|
/**
|
|
2373
2218
|
* Pallet `ForeignAssets`'s events
|
|
@@ -2377,7 +2222,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2377
2222
|
* Some asset class was created.
|
|
2378
2223
|
**/
|
|
2379
2224
|
Created: GenericPalletEvent<
|
|
2380
|
-
Rv,
|
|
2381
2225
|
'ForeignAssets',
|
|
2382
2226
|
'Created',
|
|
2383
2227
|
{ assetId: StagingXcmV5Location; creator: AccountId32; owner: AccountId32 }
|
|
@@ -2387,7 +2231,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2387
2231
|
* Some assets were issued.
|
|
2388
2232
|
**/
|
|
2389
2233
|
Issued: GenericPalletEvent<
|
|
2390
|
-
Rv,
|
|
2391
2234
|
'ForeignAssets',
|
|
2392
2235
|
'Issued',
|
|
2393
2236
|
{ assetId: StagingXcmV5Location; owner: AccountId32; amount: bigint }
|
|
@@ -2397,7 +2240,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2397
2240
|
* Some assets were transferred.
|
|
2398
2241
|
**/
|
|
2399
2242
|
Transferred: GenericPalletEvent<
|
|
2400
|
-
Rv,
|
|
2401
2243
|
'ForeignAssets',
|
|
2402
2244
|
'Transferred',
|
|
2403
2245
|
{ assetId: StagingXcmV5Location; from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -2407,7 +2249,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2407
2249
|
* Some assets were destroyed.
|
|
2408
2250
|
**/
|
|
2409
2251
|
Burned: GenericPalletEvent<
|
|
2410
|
-
Rv,
|
|
2411
2252
|
'ForeignAssets',
|
|
2412
2253
|
'Burned',
|
|
2413
2254
|
{ assetId: StagingXcmV5Location; owner: AccountId32; balance: bigint }
|
|
@@ -2417,7 +2258,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2417
2258
|
* The management team changed.
|
|
2418
2259
|
**/
|
|
2419
2260
|
TeamChanged: GenericPalletEvent<
|
|
2420
|
-
Rv,
|
|
2421
2261
|
'ForeignAssets',
|
|
2422
2262
|
'TeamChanged',
|
|
2423
2263
|
{ assetId: StagingXcmV5Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -2427,7 +2267,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2427
2267
|
* The owner changed.
|
|
2428
2268
|
**/
|
|
2429
2269
|
OwnerChanged: GenericPalletEvent<
|
|
2430
|
-
Rv,
|
|
2431
2270
|
'ForeignAssets',
|
|
2432
2271
|
'OwnerChanged',
|
|
2433
2272
|
{ assetId: StagingXcmV5Location; owner: AccountId32 }
|
|
@@ -2436,28 +2275,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2436
2275
|
/**
|
|
2437
2276
|
* Some account `who` was frozen.
|
|
2438
2277
|
**/
|
|
2439
|
-
Frozen: GenericPalletEvent<
|
|
2278
|
+
Frozen: GenericPalletEvent<'ForeignAssets', 'Frozen', { assetId: StagingXcmV5Location; who: AccountId32 }>;
|
|
2440
2279
|
|
|
2441
2280
|
/**
|
|
2442
2281
|
* Some account `who` was thawed.
|
|
2443
2282
|
**/
|
|
2444
|
-
Thawed: GenericPalletEvent<
|
|
2283
|
+
Thawed: GenericPalletEvent<'ForeignAssets', 'Thawed', { assetId: StagingXcmV5Location; who: AccountId32 }>;
|
|
2445
2284
|
|
|
2446
2285
|
/**
|
|
2447
2286
|
* Some asset `asset_id` was frozen.
|
|
2448
2287
|
**/
|
|
2449
|
-
AssetFrozen: GenericPalletEvent<
|
|
2288
|
+
AssetFrozen: GenericPalletEvent<'ForeignAssets', 'AssetFrozen', { assetId: StagingXcmV5Location }>;
|
|
2450
2289
|
|
|
2451
2290
|
/**
|
|
2452
2291
|
* Some asset `asset_id` was thawed.
|
|
2453
2292
|
**/
|
|
2454
|
-
AssetThawed: GenericPalletEvent<
|
|
2293
|
+
AssetThawed: GenericPalletEvent<'ForeignAssets', 'AssetThawed', { assetId: StagingXcmV5Location }>;
|
|
2455
2294
|
|
|
2456
2295
|
/**
|
|
2457
2296
|
* Accounts were destroyed for given asset.
|
|
2458
2297
|
**/
|
|
2459
2298
|
AccountsDestroyed: GenericPalletEvent<
|
|
2460
|
-
Rv,
|
|
2461
2299
|
'ForeignAssets',
|
|
2462
2300
|
'AccountsDestroyed',
|
|
2463
2301
|
{ assetId: StagingXcmV5Location; accountsDestroyed: number; accountsRemaining: number }
|
|
@@ -2467,7 +2305,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2467
2305
|
* Approvals were destroyed for given asset.
|
|
2468
2306
|
**/
|
|
2469
2307
|
ApprovalsDestroyed: GenericPalletEvent<
|
|
2470
|
-
Rv,
|
|
2471
2308
|
'ForeignAssets',
|
|
2472
2309
|
'ApprovalsDestroyed',
|
|
2473
2310
|
{ assetId: StagingXcmV5Location; approvalsDestroyed: number; approvalsRemaining: number }
|
|
@@ -2476,23 +2313,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2476
2313
|
/**
|
|
2477
2314
|
* An asset class is in the process of being destroyed.
|
|
2478
2315
|
**/
|
|
2479
|
-
DestructionStarted: GenericPalletEvent<
|
|
2480
|
-
Rv,
|
|
2481
|
-
'ForeignAssets',
|
|
2482
|
-
'DestructionStarted',
|
|
2483
|
-
{ assetId: StagingXcmV5Location }
|
|
2484
|
-
>;
|
|
2316
|
+
DestructionStarted: GenericPalletEvent<'ForeignAssets', 'DestructionStarted', { assetId: StagingXcmV5Location }>;
|
|
2485
2317
|
|
|
2486
2318
|
/**
|
|
2487
2319
|
* An asset class was destroyed.
|
|
2488
2320
|
**/
|
|
2489
|
-
Destroyed: GenericPalletEvent<
|
|
2321
|
+
Destroyed: GenericPalletEvent<'ForeignAssets', 'Destroyed', { assetId: StagingXcmV5Location }>;
|
|
2490
2322
|
|
|
2491
2323
|
/**
|
|
2492
2324
|
* Some asset class was force-created.
|
|
2493
2325
|
**/
|
|
2494
2326
|
ForceCreated: GenericPalletEvent<
|
|
2495
|
-
Rv,
|
|
2496
2327
|
'ForeignAssets',
|
|
2497
2328
|
'ForceCreated',
|
|
2498
2329
|
{ assetId: StagingXcmV5Location; owner: AccountId32 }
|
|
@@ -2502,7 +2333,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2502
2333
|
* New metadata has been set for an asset.
|
|
2503
2334
|
**/
|
|
2504
2335
|
MetadataSet: GenericPalletEvent<
|
|
2505
|
-
Rv,
|
|
2506
2336
|
'ForeignAssets',
|
|
2507
2337
|
'MetadataSet',
|
|
2508
2338
|
{ assetId: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
|
|
@@ -2511,13 +2341,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2511
2341
|
/**
|
|
2512
2342
|
* Metadata has been cleared for an asset.
|
|
2513
2343
|
**/
|
|
2514
|
-
MetadataCleared: GenericPalletEvent<
|
|
2344
|
+
MetadataCleared: GenericPalletEvent<'ForeignAssets', 'MetadataCleared', { assetId: StagingXcmV5Location }>;
|
|
2515
2345
|
|
|
2516
2346
|
/**
|
|
2517
2347
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
2518
2348
|
**/
|
|
2519
2349
|
ApprovedTransfer: GenericPalletEvent<
|
|
2520
|
-
Rv,
|
|
2521
2350
|
'ForeignAssets',
|
|
2522
2351
|
'ApprovedTransfer',
|
|
2523
2352
|
{ assetId: StagingXcmV5Location; source: AccountId32; delegate: AccountId32; amount: bigint }
|
|
@@ -2527,7 +2356,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2527
2356
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
2528
2357
|
**/
|
|
2529
2358
|
ApprovalCancelled: GenericPalletEvent<
|
|
2530
|
-
Rv,
|
|
2531
2359
|
'ForeignAssets',
|
|
2532
2360
|
'ApprovalCancelled',
|
|
2533
2361
|
{ assetId: StagingXcmV5Location; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -2538,7 +2366,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2538
2366
|
* the approved `delegate`.
|
|
2539
2367
|
**/
|
|
2540
2368
|
TransferredApproved: GenericPalletEvent<
|
|
2541
|
-
Rv,
|
|
2542
2369
|
'ForeignAssets',
|
|
2543
2370
|
'TransferredApproved',
|
|
2544
2371
|
{
|
|
@@ -2553,18 +2380,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2553
2380
|
/**
|
|
2554
2381
|
* An asset has had its attributes changed by the `Force` origin.
|
|
2555
2382
|
**/
|
|
2556
|
-
AssetStatusChanged: GenericPalletEvent<
|
|
2557
|
-
Rv,
|
|
2558
|
-
'ForeignAssets',
|
|
2559
|
-
'AssetStatusChanged',
|
|
2560
|
-
{ assetId: StagingXcmV5Location }
|
|
2561
|
-
>;
|
|
2383
|
+
AssetStatusChanged: GenericPalletEvent<'ForeignAssets', 'AssetStatusChanged', { assetId: StagingXcmV5Location }>;
|
|
2562
2384
|
|
|
2563
2385
|
/**
|
|
2564
2386
|
* The min_balance of an asset has been updated by the asset owner.
|
|
2565
2387
|
**/
|
|
2566
2388
|
AssetMinBalanceChanged: GenericPalletEvent<
|
|
2567
|
-
Rv,
|
|
2568
2389
|
'ForeignAssets',
|
|
2569
2390
|
'AssetMinBalanceChanged',
|
|
2570
2391
|
{ assetId: StagingXcmV5Location; newMinBalance: bigint }
|
|
@@ -2574,7 +2395,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2574
2395
|
* Some account `who` was created with a deposit from `depositor`.
|
|
2575
2396
|
**/
|
|
2576
2397
|
Touched: GenericPalletEvent<
|
|
2577
|
-
Rv,
|
|
2578
2398
|
'ForeignAssets',
|
|
2579
2399
|
'Touched',
|
|
2580
2400
|
{ assetId: StagingXcmV5Location; who: AccountId32; depositor: AccountId32 }
|
|
@@ -2583,13 +2403,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2583
2403
|
/**
|
|
2584
2404
|
* Some account `who` was blocked.
|
|
2585
2405
|
**/
|
|
2586
|
-
Blocked: GenericPalletEvent<
|
|
2406
|
+
Blocked: GenericPalletEvent<'ForeignAssets', 'Blocked', { assetId: StagingXcmV5Location; who: AccountId32 }>;
|
|
2587
2407
|
|
|
2588
2408
|
/**
|
|
2589
2409
|
* Some assets were deposited (e.g. for transaction fees).
|
|
2590
2410
|
**/
|
|
2591
2411
|
Deposited: GenericPalletEvent<
|
|
2592
|
-
Rv,
|
|
2593
2412
|
'ForeignAssets',
|
|
2594
2413
|
'Deposited',
|
|
2595
2414
|
{ assetId: StagingXcmV5Location; who: AccountId32; amount: bigint }
|
|
@@ -2599,7 +2418,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2599
2418
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
2600
2419
|
**/
|
|
2601
2420
|
Withdrawn: GenericPalletEvent<
|
|
2602
|
-
Rv,
|
|
2603
2421
|
'ForeignAssets',
|
|
2604
2422
|
'Withdrawn',
|
|
2605
2423
|
{ assetId: StagingXcmV5Location; who: AccountId32; amount: bigint }
|
|
@@ -2608,7 +2426,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2608
2426
|
/**
|
|
2609
2427
|
* Generic pallet event
|
|
2610
2428
|
**/
|
|
2611
|
-
[prop: string]: GenericPalletEvent
|
|
2429
|
+
[prop: string]: GenericPalletEvent;
|
|
2612
2430
|
};
|
|
2613
2431
|
/**
|
|
2614
2432
|
* Pallet `NftFractionalization`'s events
|
|
@@ -2618,7 +2436,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2618
2436
|
* An NFT was successfully fractionalized.
|
|
2619
2437
|
**/
|
|
2620
2438
|
NftFractionalized: GenericPalletEvent<
|
|
2621
|
-
Rv,
|
|
2622
2439
|
'NftFractionalization',
|
|
2623
2440
|
'NftFractionalized',
|
|
2624
2441
|
{ nftCollection: number; nft: number; fractions: bigint; asset: number; beneficiary: AccountId32 }
|
|
@@ -2628,7 +2445,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2628
2445
|
* An NFT was successfully returned back.
|
|
2629
2446
|
**/
|
|
2630
2447
|
NftUnified: GenericPalletEvent<
|
|
2631
|
-
Rv,
|
|
2632
2448
|
'NftFractionalization',
|
|
2633
2449
|
'NftUnified',
|
|
2634
2450
|
{ nftCollection: number; nft: number; asset: number; beneficiary: AccountId32 }
|
|
@@ -2637,7 +2453,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2637
2453
|
/**
|
|
2638
2454
|
* Generic pallet event
|
|
2639
2455
|
**/
|
|
2640
|
-
[prop: string]: GenericPalletEvent
|
|
2456
|
+
[prop: string]: GenericPalletEvent;
|
|
2641
2457
|
};
|
|
2642
2458
|
/**
|
|
2643
2459
|
* Pallet `PoolAssets`'s events
|
|
@@ -2646,23 +2462,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2646
2462
|
/**
|
|
2647
2463
|
* Some asset class was created.
|
|
2648
2464
|
**/
|
|
2649
|
-
Created: GenericPalletEvent<
|
|
2650
|
-
Rv,
|
|
2651
|
-
'PoolAssets',
|
|
2652
|
-
'Created',
|
|
2653
|
-
{ assetId: number; creator: AccountId32; owner: AccountId32 }
|
|
2654
|
-
>;
|
|
2465
|
+
Created: GenericPalletEvent<'PoolAssets', 'Created', { assetId: number; creator: AccountId32; owner: AccountId32 }>;
|
|
2655
2466
|
|
|
2656
2467
|
/**
|
|
2657
2468
|
* Some assets were issued.
|
|
2658
2469
|
**/
|
|
2659
|
-
Issued: GenericPalletEvent<
|
|
2470
|
+
Issued: GenericPalletEvent<'PoolAssets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
|
|
2660
2471
|
|
|
2661
2472
|
/**
|
|
2662
2473
|
* Some assets were transferred.
|
|
2663
2474
|
**/
|
|
2664
2475
|
Transferred: GenericPalletEvent<
|
|
2665
|
-
Rv,
|
|
2666
2476
|
'PoolAssets',
|
|
2667
2477
|
'Transferred',
|
|
2668
2478
|
{ assetId: number; from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -2671,13 +2481,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2671
2481
|
/**
|
|
2672
2482
|
* Some assets were destroyed.
|
|
2673
2483
|
**/
|
|
2674
|
-
Burned: GenericPalletEvent<
|
|
2484
|
+
Burned: GenericPalletEvent<'PoolAssets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
|
|
2675
2485
|
|
|
2676
2486
|
/**
|
|
2677
2487
|
* The management team changed.
|
|
2678
2488
|
**/
|
|
2679
2489
|
TeamChanged: GenericPalletEvent<
|
|
2680
|
-
Rv,
|
|
2681
2490
|
'PoolAssets',
|
|
2682
2491
|
'TeamChanged',
|
|
2683
2492
|
{ assetId: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -2686,33 +2495,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2686
2495
|
/**
|
|
2687
2496
|
* The owner changed.
|
|
2688
2497
|
**/
|
|
2689
|
-
OwnerChanged: GenericPalletEvent<
|
|
2498
|
+
OwnerChanged: GenericPalletEvent<'PoolAssets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
|
|
2690
2499
|
|
|
2691
2500
|
/**
|
|
2692
2501
|
* Some account `who` was frozen.
|
|
2693
2502
|
**/
|
|
2694
|
-
Frozen: GenericPalletEvent<
|
|
2503
|
+
Frozen: GenericPalletEvent<'PoolAssets', 'Frozen', { assetId: number; who: AccountId32 }>;
|
|
2695
2504
|
|
|
2696
2505
|
/**
|
|
2697
2506
|
* Some account `who` was thawed.
|
|
2698
2507
|
**/
|
|
2699
|
-
Thawed: GenericPalletEvent<
|
|
2508
|
+
Thawed: GenericPalletEvent<'PoolAssets', 'Thawed', { assetId: number; who: AccountId32 }>;
|
|
2700
2509
|
|
|
2701
2510
|
/**
|
|
2702
2511
|
* Some asset `asset_id` was frozen.
|
|
2703
2512
|
**/
|
|
2704
|
-
AssetFrozen: GenericPalletEvent<
|
|
2513
|
+
AssetFrozen: GenericPalletEvent<'PoolAssets', 'AssetFrozen', { assetId: number }>;
|
|
2705
2514
|
|
|
2706
2515
|
/**
|
|
2707
2516
|
* Some asset `asset_id` was thawed.
|
|
2708
2517
|
**/
|
|
2709
|
-
AssetThawed: GenericPalletEvent<
|
|
2518
|
+
AssetThawed: GenericPalletEvent<'PoolAssets', 'AssetThawed', { assetId: number }>;
|
|
2710
2519
|
|
|
2711
2520
|
/**
|
|
2712
2521
|
* Accounts were destroyed for given asset.
|
|
2713
2522
|
**/
|
|
2714
2523
|
AccountsDestroyed: GenericPalletEvent<
|
|
2715
|
-
Rv,
|
|
2716
2524
|
'PoolAssets',
|
|
2717
2525
|
'AccountsDestroyed',
|
|
2718
2526
|
{ assetId: number; accountsDestroyed: number; accountsRemaining: number }
|
|
@@ -2722,7 +2530,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2722
2530
|
* Approvals were destroyed for given asset.
|
|
2723
2531
|
**/
|
|
2724
2532
|
ApprovalsDestroyed: GenericPalletEvent<
|
|
2725
|
-
Rv,
|
|
2726
2533
|
'PoolAssets',
|
|
2727
2534
|
'ApprovalsDestroyed',
|
|
2728
2535
|
{ assetId: number; approvalsDestroyed: number; approvalsRemaining: number }
|
|
@@ -2731,23 +2538,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2731
2538
|
/**
|
|
2732
2539
|
* An asset class is in the process of being destroyed.
|
|
2733
2540
|
**/
|
|
2734
|
-
DestructionStarted: GenericPalletEvent<
|
|
2541
|
+
DestructionStarted: GenericPalletEvent<'PoolAssets', 'DestructionStarted', { assetId: number }>;
|
|
2735
2542
|
|
|
2736
2543
|
/**
|
|
2737
2544
|
* An asset class was destroyed.
|
|
2738
2545
|
**/
|
|
2739
|
-
Destroyed: GenericPalletEvent<
|
|
2546
|
+
Destroyed: GenericPalletEvent<'PoolAssets', 'Destroyed', { assetId: number }>;
|
|
2740
2547
|
|
|
2741
2548
|
/**
|
|
2742
2549
|
* Some asset class was force-created.
|
|
2743
2550
|
**/
|
|
2744
|
-
ForceCreated: GenericPalletEvent<
|
|
2551
|
+
ForceCreated: GenericPalletEvent<'PoolAssets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
|
|
2745
2552
|
|
|
2746
2553
|
/**
|
|
2747
2554
|
* New metadata has been set for an asset.
|
|
2748
2555
|
**/
|
|
2749
2556
|
MetadataSet: GenericPalletEvent<
|
|
2750
|
-
Rv,
|
|
2751
2557
|
'PoolAssets',
|
|
2752
2558
|
'MetadataSet',
|
|
2753
2559
|
{ assetId: number; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
|
|
@@ -2756,13 +2562,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2756
2562
|
/**
|
|
2757
2563
|
* Metadata has been cleared for an asset.
|
|
2758
2564
|
**/
|
|
2759
|
-
MetadataCleared: GenericPalletEvent<
|
|
2565
|
+
MetadataCleared: GenericPalletEvent<'PoolAssets', 'MetadataCleared', { assetId: number }>;
|
|
2760
2566
|
|
|
2761
2567
|
/**
|
|
2762
2568
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
2763
2569
|
**/
|
|
2764
2570
|
ApprovedTransfer: GenericPalletEvent<
|
|
2765
|
-
Rv,
|
|
2766
2571
|
'PoolAssets',
|
|
2767
2572
|
'ApprovedTransfer',
|
|
2768
2573
|
{ assetId: number; source: AccountId32; delegate: AccountId32; amount: bigint }
|
|
@@ -2772,7 +2577,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2772
2577
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
2773
2578
|
**/
|
|
2774
2579
|
ApprovalCancelled: GenericPalletEvent<
|
|
2775
|
-
Rv,
|
|
2776
2580
|
'PoolAssets',
|
|
2777
2581
|
'ApprovalCancelled',
|
|
2778
2582
|
{ assetId: number; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -2783,7 +2587,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2783
2587
|
* the approved `delegate`.
|
|
2784
2588
|
**/
|
|
2785
2589
|
TransferredApproved: GenericPalletEvent<
|
|
2786
|
-
Rv,
|
|
2787
2590
|
'PoolAssets',
|
|
2788
2591
|
'TransferredApproved',
|
|
2789
2592
|
{ assetId: number; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
|
|
@@ -2792,13 +2595,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2792
2595
|
/**
|
|
2793
2596
|
* An asset has had its attributes changed by the `Force` origin.
|
|
2794
2597
|
**/
|
|
2795
|
-
AssetStatusChanged: GenericPalletEvent<
|
|
2598
|
+
AssetStatusChanged: GenericPalletEvent<'PoolAssets', 'AssetStatusChanged', { assetId: number }>;
|
|
2796
2599
|
|
|
2797
2600
|
/**
|
|
2798
2601
|
* The min_balance of an asset has been updated by the asset owner.
|
|
2799
2602
|
**/
|
|
2800
2603
|
AssetMinBalanceChanged: GenericPalletEvent<
|
|
2801
|
-
Rv,
|
|
2802
2604
|
'PoolAssets',
|
|
2803
2605
|
'AssetMinBalanceChanged',
|
|
2804
2606
|
{ assetId: number; newMinBalance: bigint }
|
|
@@ -2807,32 +2609,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2807
2609
|
/**
|
|
2808
2610
|
* Some account `who` was created with a deposit from `depositor`.
|
|
2809
2611
|
**/
|
|
2810
|
-
Touched: GenericPalletEvent<
|
|
2811
|
-
Rv,
|
|
2812
|
-
'PoolAssets',
|
|
2813
|
-
'Touched',
|
|
2814
|
-
{ assetId: number; who: AccountId32; depositor: AccountId32 }
|
|
2815
|
-
>;
|
|
2612
|
+
Touched: GenericPalletEvent<'PoolAssets', 'Touched', { assetId: number; who: AccountId32; depositor: AccountId32 }>;
|
|
2816
2613
|
|
|
2817
2614
|
/**
|
|
2818
2615
|
* Some account `who` was blocked.
|
|
2819
2616
|
**/
|
|
2820
|
-
Blocked: GenericPalletEvent<
|
|
2617
|
+
Blocked: GenericPalletEvent<'PoolAssets', 'Blocked', { assetId: number; who: AccountId32 }>;
|
|
2821
2618
|
|
|
2822
2619
|
/**
|
|
2823
2620
|
* Some assets were deposited (e.g. for transaction fees).
|
|
2824
2621
|
**/
|
|
2825
|
-
Deposited: GenericPalletEvent<
|
|
2622
|
+
Deposited: GenericPalletEvent<'PoolAssets', 'Deposited', { assetId: number; who: AccountId32; amount: bigint }>;
|
|
2826
2623
|
|
|
2827
2624
|
/**
|
|
2828
2625
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
2829
2626
|
**/
|
|
2830
|
-
Withdrawn: GenericPalletEvent<
|
|
2627
|
+
Withdrawn: GenericPalletEvent<'PoolAssets', 'Withdrawn', { assetId: number; who: AccountId32; amount: bigint }>;
|
|
2831
2628
|
|
|
2832
2629
|
/**
|
|
2833
2630
|
* Generic pallet event
|
|
2834
2631
|
**/
|
|
2835
|
-
[prop: string]: GenericPalletEvent
|
|
2632
|
+
[prop: string]: GenericPalletEvent;
|
|
2836
2633
|
};
|
|
2837
2634
|
/**
|
|
2838
2635
|
* Pallet `AssetConversion`'s events
|
|
@@ -2842,7 +2639,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2842
2639
|
* A successful call of the `CreatePool` extrinsic will create this event.
|
|
2843
2640
|
**/
|
|
2844
2641
|
PoolCreated: GenericPalletEvent<
|
|
2845
|
-
Rv,
|
|
2846
2642
|
'AssetConversion',
|
|
2847
2643
|
'PoolCreated',
|
|
2848
2644
|
{
|
|
@@ -2874,7 +2670,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2874
2670
|
* A successful call of the `AddLiquidity` extrinsic will create this event.
|
|
2875
2671
|
**/
|
|
2876
2672
|
LiquidityAdded: GenericPalletEvent<
|
|
2877
|
-
Rv,
|
|
2878
2673
|
'AssetConversion',
|
|
2879
2674
|
'LiquidityAdded',
|
|
2880
2675
|
{
|
|
@@ -2919,7 +2714,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2919
2714
|
* A successful call of the `RemoveLiquidity` extrinsic will create this event.
|
|
2920
2715
|
**/
|
|
2921
2716
|
LiquidityRemoved: GenericPalletEvent<
|
|
2922
|
-
Rv,
|
|
2923
2717
|
'AssetConversion',
|
|
2924
2718
|
'LiquidityRemoved',
|
|
2925
2719
|
{
|
|
@@ -2970,7 +2764,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2970
2764
|
* and `SwapTokenForExactToken` will generate this event.
|
|
2971
2765
|
**/
|
|
2972
2766
|
SwapExecuted: GenericPalletEvent<
|
|
2973
|
-
Rv,
|
|
2974
2767
|
'AssetConversion',
|
|
2975
2768
|
'SwapExecuted',
|
|
2976
2769
|
{
|
|
@@ -3006,7 +2799,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3006
2799
|
* Assets have been converted from one to another.
|
|
3007
2800
|
**/
|
|
3008
2801
|
SwapCreditExecuted: GenericPalletEvent<
|
|
3009
|
-
Rv,
|
|
3010
2802
|
'AssetConversion',
|
|
3011
2803
|
'SwapCreditExecuted',
|
|
3012
2804
|
{
|
|
@@ -3032,7 +2824,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3032
2824
|
* Pool has been touched in order to fulfill operational requirements.
|
|
3033
2825
|
**/
|
|
3034
2826
|
Touched: GenericPalletEvent<
|
|
3035
|
-
Rv,
|
|
3036
2827
|
'AssetConversion',
|
|
3037
2828
|
'Touched',
|
|
3038
2829
|
{
|
|
@@ -3051,7 +2842,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3051
2842
|
/**
|
|
3052
2843
|
* Generic pallet event
|
|
3053
2844
|
**/
|
|
3054
|
-
[prop: string]: GenericPalletEvent
|
|
2845
|
+
[prop: string]: GenericPalletEvent;
|
|
3055
2846
|
};
|
|
3056
2847
|
/**
|
|
3057
2848
|
* Pallet `Recovery`'s events
|
|
@@ -3060,13 +2851,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3060
2851
|
/**
|
|
3061
2852
|
* A recovery process has been set up for an account.
|
|
3062
2853
|
**/
|
|
3063
|
-
RecoveryCreated: GenericPalletEvent<
|
|
2854
|
+
RecoveryCreated: GenericPalletEvent<'Recovery', 'RecoveryCreated', { account: AccountId32 }>;
|
|
3064
2855
|
|
|
3065
2856
|
/**
|
|
3066
2857
|
* A recovery process has been initiated for lost account by rescuer account.
|
|
3067
2858
|
**/
|
|
3068
2859
|
RecoveryInitiated: GenericPalletEvent<
|
|
3069
|
-
Rv,
|
|
3070
2860
|
'Recovery',
|
|
3071
2861
|
'RecoveryInitiated',
|
|
3072
2862
|
{ lostAccount: AccountId32; rescuerAccount: AccountId32 }
|
|
@@ -3076,7 +2866,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3076
2866
|
* A recovery process for lost account by rescuer account has been vouched for by sender.
|
|
3077
2867
|
**/
|
|
3078
2868
|
RecoveryVouched: GenericPalletEvent<
|
|
3079
|
-
Rv,
|
|
3080
2869
|
'Recovery',
|
|
3081
2870
|
'RecoveryVouched',
|
|
3082
2871
|
{ lostAccount: AccountId32; rescuerAccount: AccountId32; sender: AccountId32 }
|
|
@@ -3086,7 +2875,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3086
2875
|
* A recovery process for lost account by rescuer account has been closed.
|
|
3087
2876
|
**/
|
|
3088
2877
|
RecoveryClosed: GenericPalletEvent<
|
|
3089
|
-
Rv,
|
|
3090
2878
|
'Recovery',
|
|
3091
2879
|
'RecoveryClosed',
|
|
3092
2880
|
{ lostAccount: AccountId32; rescuerAccount: AccountId32 }
|
|
@@ -3096,7 +2884,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3096
2884
|
* Lost account has been successfully recovered by rescuer account.
|
|
3097
2885
|
**/
|
|
3098
2886
|
AccountRecovered: GenericPalletEvent<
|
|
3099
|
-
Rv,
|
|
3100
2887
|
'Recovery',
|
|
3101
2888
|
'AccountRecovered',
|
|
3102
2889
|
{ lostAccount: AccountId32; rescuerAccount: AccountId32 }
|
|
@@ -3105,13 +2892,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3105
2892
|
/**
|
|
3106
2893
|
* A recovery process has been removed for an account.
|
|
3107
2894
|
**/
|
|
3108
|
-
RecoveryRemoved: GenericPalletEvent<
|
|
2895
|
+
RecoveryRemoved: GenericPalletEvent<'Recovery', 'RecoveryRemoved', { lostAccount: AccountId32 }>;
|
|
3109
2896
|
|
|
3110
2897
|
/**
|
|
3111
2898
|
* A deposit has been updated.
|
|
3112
2899
|
**/
|
|
3113
2900
|
DepositPoked: GenericPalletEvent<
|
|
3114
|
-
Rv,
|
|
3115
2901
|
'Recovery',
|
|
3116
2902
|
'DepositPoked',
|
|
3117
2903
|
{ who: AccountId32; kind: PalletRecoveryDepositKind; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -3120,7 +2906,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3120
2906
|
/**
|
|
3121
2907
|
* Generic pallet event
|
|
3122
2908
|
**/
|
|
3123
|
-
[prop: string]: GenericPalletEvent
|
|
2909
|
+
[prop: string]: GenericPalletEvent;
|
|
3124
2910
|
};
|
|
3125
2911
|
/**
|
|
3126
2912
|
* Pallet `Society`'s events
|
|
@@ -3129,51 +2915,45 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3129
2915
|
/**
|
|
3130
2916
|
* The society is founded by the given identity.
|
|
3131
2917
|
**/
|
|
3132
|
-
Founded: GenericPalletEvent<
|
|
2918
|
+
Founded: GenericPalletEvent<'Society', 'Founded', { founder: AccountId32 }>;
|
|
3133
2919
|
|
|
3134
2920
|
/**
|
|
3135
2921
|
* A membership bid just happened. The given account is the candidate's ID and their offer
|
|
3136
2922
|
* is the second.
|
|
3137
2923
|
**/
|
|
3138
|
-
Bid: GenericPalletEvent<
|
|
2924
|
+
Bid: GenericPalletEvent<'Society', 'Bid', { candidateId: AccountId32; offer: bigint }>;
|
|
3139
2925
|
|
|
3140
2926
|
/**
|
|
3141
2927
|
* A membership bid just happened by vouching. The given account is the candidate's ID and
|
|
3142
2928
|
* their offer is the second. The vouching party is the third.
|
|
3143
2929
|
**/
|
|
3144
|
-
Vouch: GenericPalletEvent<
|
|
3145
|
-
Rv,
|
|
3146
|
-
'Society',
|
|
3147
|
-
'Vouch',
|
|
3148
|
-
{ candidateId: AccountId32; offer: bigint; vouching: AccountId32 }
|
|
3149
|
-
>;
|
|
2930
|
+
Vouch: GenericPalletEvent<'Society', 'Vouch', { candidateId: AccountId32; offer: bigint; vouching: AccountId32 }>;
|
|
3150
2931
|
|
|
3151
2932
|
/**
|
|
3152
2933
|
* A candidate was dropped (due to an excess of bids in the system).
|
|
3153
2934
|
**/
|
|
3154
|
-
AutoUnbid: GenericPalletEvent<
|
|
2935
|
+
AutoUnbid: GenericPalletEvent<'Society', 'AutoUnbid', { candidate: AccountId32 }>;
|
|
3155
2936
|
|
|
3156
2937
|
/**
|
|
3157
2938
|
* A candidate was dropped (by their request).
|
|
3158
2939
|
**/
|
|
3159
|
-
Unbid: GenericPalletEvent<
|
|
2940
|
+
Unbid: GenericPalletEvent<'Society', 'Unbid', { candidate: AccountId32 }>;
|
|
3160
2941
|
|
|
3161
2942
|
/**
|
|
3162
2943
|
* A candidate was dropped (by request of who vouched for them).
|
|
3163
2944
|
**/
|
|
3164
|
-
Unvouch: GenericPalletEvent<
|
|
2945
|
+
Unvouch: GenericPalletEvent<'Society', 'Unvouch', { candidate: AccountId32 }>;
|
|
3165
2946
|
|
|
3166
2947
|
/**
|
|
3167
2948
|
* A group of candidates have been inducted. The batch's primary is the first value, the
|
|
3168
2949
|
* batch in full is the second.
|
|
3169
2950
|
**/
|
|
3170
|
-
Inducted: GenericPalletEvent<
|
|
2951
|
+
Inducted: GenericPalletEvent<'Society', 'Inducted', { primary: AccountId32; candidates: Array<AccountId32> }>;
|
|
3171
2952
|
|
|
3172
2953
|
/**
|
|
3173
2954
|
* A suspended member has been judged.
|
|
3174
2955
|
**/
|
|
3175
2956
|
SuspendedMemberJudgement: GenericPalletEvent<
|
|
3176
|
-
Rv,
|
|
3177
2957
|
'Society',
|
|
3178
2958
|
'SuspendedMemberJudgement',
|
|
3179
2959
|
{ who: AccountId32; judged: boolean }
|
|
@@ -3182,53 +2962,52 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3182
2962
|
/**
|
|
3183
2963
|
* A candidate has been suspended
|
|
3184
2964
|
**/
|
|
3185
|
-
CandidateSuspended: GenericPalletEvent<
|
|
2965
|
+
CandidateSuspended: GenericPalletEvent<'Society', 'CandidateSuspended', { candidate: AccountId32 }>;
|
|
3186
2966
|
|
|
3187
2967
|
/**
|
|
3188
2968
|
* A member has been suspended
|
|
3189
2969
|
**/
|
|
3190
|
-
MemberSuspended: GenericPalletEvent<
|
|
2970
|
+
MemberSuspended: GenericPalletEvent<'Society', 'MemberSuspended', { member: AccountId32 }>;
|
|
3191
2971
|
|
|
3192
2972
|
/**
|
|
3193
2973
|
* A member has been challenged
|
|
3194
2974
|
**/
|
|
3195
|
-
Challenged: GenericPalletEvent<
|
|
2975
|
+
Challenged: GenericPalletEvent<'Society', 'Challenged', { member: AccountId32 }>;
|
|
3196
2976
|
|
|
3197
2977
|
/**
|
|
3198
2978
|
* A vote has been placed
|
|
3199
2979
|
**/
|
|
3200
|
-
Vote: GenericPalletEvent<
|
|
2980
|
+
Vote: GenericPalletEvent<'Society', 'Vote', { candidate: AccountId32; voter: AccountId32; vote: boolean }>;
|
|
3201
2981
|
|
|
3202
2982
|
/**
|
|
3203
2983
|
* A vote has been placed for a defending member
|
|
3204
2984
|
**/
|
|
3205
|
-
DefenderVote: GenericPalletEvent<
|
|
2985
|
+
DefenderVote: GenericPalletEvent<'Society', 'DefenderVote', { voter: AccountId32; vote: boolean }>;
|
|
3206
2986
|
|
|
3207
2987
|
/**
|
|
3208
2988
|
* A new set of \[params\] has been set for the group.
|
|
3209
2989
|
**/
|
|
3210
|
-
NewParams: GenericPalletEvent<
|
|
2990
|
+
NewParams: GenericPalletEvent<'Society', 'NewParams', { params: PalletSocietyGroupParams }>;
|
|
3211
2991
|
|
|
3212
2992
|
/**
|
|
3213
2993
|
* Society is unfounded.
|
|
3214
2994
|
**/
|
|
3215
|
-
Unfounded: GenericPalletEvent<
|
|
2995
|
+
Unfounded: GenericPalletEvent<'Society', 'Unfounded', { founder: AccountId32 }>;
|
|
3216
2996
|
|
|
3217
2997
|
/**
|
|
3218
2998
|
* Some funds were deposited into the society account.
|
|
3219
2999
|
**/
|
|
3220
|
-
Deposit: GenericPalletEvent<
|
|
3000
|
+
Deposit: GenericPalletEvent<'Society', 'Deposit', { value: bigint }>;
|
|
3221
3001
|
|
|
3222
3002
|
/**
|
|
3223
3003
|
* A \[member\] got elevated to \[rank\].
|
|
3224
3004
|
**/
|
|
3225
|
-
Elevated: GenericPalletEvent<
|
|
3005
|
+
Elevated: GenericPalletEvent<'Society', 'Elevated', { member: AccountId32; rank: number }>;
|
|
3226
3006
|
|
|
3227
3007
|
/**
|
|
3228
3008
|
* A deposit was poked / adjusted.
|
|
3229
3009
|
**/
|
|
3230
3010
|
DepositPoked: GenericPalletEvent<
|
|
3231
|
-
Rv,
|
|
3232
3011
|
'Society',
|
|
3233
3012
|
'DepositPoked',
|
|
3234
3013
|
{ who: AccountId32; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -3237,7 +3016,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3237
3016
|
/**
|
|
3238
3017
|
* Generic pallet event
|
|
3239
3018
|
**/
|
|
3240
|
-
[prop: string]: GenericPalletEvent
|
|
3019
|
+
[prop: string]: GenericPalletEvent;
|
|
3241
3020
|
};
|
|
3242
3021
|
/**
|
|
3243
3022
|
* Pallet `Revive`'s events
|
|
@@ -3247,7 +3026,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3247
3026
|
* A custom event emitted by the contract.
|
|
3248
3027
|
**/
|
|
3249
3028
|
ContractEmitted: GenericPalletEvent<
|
|
3250
|
-
Rv,
|
|
3251
3029
|
'Revive',
|
|
3252
3030
|
'ContractEmitted',
|
|
3253
3031
|
{
|
|
@@ -3273,12 +3051,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3273
3051
|
/**
|
|
3274
3052
|
* Contract deployed by deployer at the specified address.
|
|
3275
3053
|
**/
|
|
3276
|
-
Instantiated: GenericPalletEvent<
|
|
3054
|
+
Instantiated: GenericPalletEvent<'Revive', 'Instantiated', { deployer: H160; contract: H160 }>;
|
|
3277
3055
|
|
|
3278
3056
|
/**
|
|
3279
3057
|
* Generic pallet event
|
|
3280
3058
|
**/
|
|
3281
|
-
[prop: string]: GenericPalletEvent
|
|
3059
|
+
[prop: string]: GenericPalletEvent;
|
|
3282
3060
|
};
|
|
3283
3061
|
/**
|
|
3284
3062
|
* Pallet `StateTrieMigration`'s events
|
|
@@ -3289,7 +3067,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3289
3067
|
* `compute`.
|
|
3290
3068
|
**/
|
|
3291
3069
|
Migrated: GenericPalletEvent<
|
|
3292
|
-
Rv,
|
|
3293
3070
|
'StateTrieMigration',
|
|
3294
3071
|
'Migrated',
|
|
3295
3072
|
{ top: number; child: number; compute: PalletStateTrieMigrationMigrationCompute }
|
|
@@ -3298,22 +3075,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3298
3075
|
/**
|
|
3299
3076
|
* Some account got slashed by the given amount.
|
|
3300
3077
|
**/
|
|
3301
|
-
Slashed: GenericPalletEvent<
|
|
3078
|
+
Slashed: GenericPalletEvent<'StateTrieMigration', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
3302
3079
|
|
|
3303
3080
|
/**
|
|
3304
3081
|
* The auto migration task finished.
|
|
3305
3082
|
**/
|
|
3306
|
-
AutoMigrationFinished: GenericPalletEvent<
|
|
3083
|
+
AutoMigrationFinished: GenericPalletEvent<'StateTrieMigration', 'AutoMigrationFinished', null>;
|
|
3307
3084
|
|
|
3308
3085
|
/**
|
|
3309
3086
|
* Migration got halted due to an error or miss-configuration.
|
|
3310
3087
|
**/
|
|
3311
|
-
Halted: GenericPalletEvent<
|
|
3088
|
+
Halted: GenericPalletEvent<'StateTrieMigration', 'Halted', { error: PalletStateTrieMigrationError }>;
|
|
3312
3089
|
|
|
3313
3090
|
/**
|
|
3314
3091
|
* Generic pallet event
|
|
3315
3092
|
**/
|
|
3316
|
-
[prop: string]: GenericPalletEvent
|
|
3093
|
+
[prop: string]: GenericPalletEvent;
|
|
3317
3094
|
};
|
|
3318
3095
|
/**
|
|
3319
3096
|
* Pallet `NominationPools`'s events
|
|
@@ -3322,13 +3099,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3322
3099
|
/**
|
|
3323
3100
|
* A pool has been created.
|
|
3324
3101
|
**/
|
|
3325
|
-
Created: GenericPalletEvent<
|
|
3102
|
+
Created: GenericPalletEvent<'NominationPools', 'Created', { depositor: AccountId32; poolId: number }>;
|
|
3326
3103
|
|
|
3327
3104
|
/**
|
|
3328
3105
|
* A member has became bonded in a pool.
|
|
3329
3106
|
**/
|
|
3330
3107
|
Bonded: GenericPalletEvent<
|
|
3331
|
-
Rv,
|
|
3332
3108
|
'NominationPools',
|
|
3333
3109
|
'Bonded',
|
|
3334
3110
|
{ member: AccountId32; poolId: number; bonded: bigint; joined: boolean }
|
|
@@ -3337,12 +3113,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3337
3113
|
/**
|
|
3338
3114
|
* A payout has been made to a member.
|
|
3339
3115
|
**/
|
|
3340
|
-
PaidOut: GenericPalletEvent<
|
|
3341
|
-
Rv,
|
|
3342
|
-
'NominationPools',
|
|
3343
|
-
'PaidOut',
|
|
3344
|
-
{ member: AccountId32; poolId: number; payout: bigint }
|
|
3345
|
-
>;
|
|
3116
|
+
PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', { member: AccountId32; poolId: number; payout: bigint }>;
|
|
3346
3117
|
|
|
3347
3118
|
/**
|
|
3348
3119
|
* A member has unbonded from their pool.
|
|
@@ -3358,7 +3129,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3358
3129
|
* requested to be unbonded.
|
|
3359
3130
|
**/
|
|
3360
3131
|
Unbonded: GenericPalletEvent<
|
|
3361
|
-
Rv,
|
|
3362
3132
|
'NominationPools',
|
|
3363
3133
|
'Unbonded',
|
|
3364
3134
|
{ member: AccountId32; poolId: number; balance: bigint; points: bigint; era: number }
|
|
@@ -3373,7 +3143,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3373
3143
|
* will be 1.
|
|
3374
3144
|
**/
|
|
3375
3145
|
Withdrawn: GenericPalletEvent<
|
|
3376
|
-
Rv,
|
|
3377
3146
|
'NominationPools',
|
|
3378
3147
|
'Withdrawn',
|
|
3379
3148
|
{ member: AccountId32; poolId: number; balance: bigint; points: bigint }
|
|
@@ -3382,13 +3151,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3382
3151
|
/**
|
|
3383
3152
|
* A pool has been destroyed.
|
|
3384
3153
|
**/
|
|
3385
|
-
Destroyed: GenericPalletEvent<
|
|
3154
|
+
Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', { poolId: number }>;
|
|
3386
3155
|
|
|
3387
3156
|
/**
|
|
3388
3157
|
* The state of a pool has changed
|
|
3389
3158
|
**/
|
|
3390
3159
|
StateChanged: GenericPalletEvent<
|
|
3391
|
-
Rv,
|
|
3392
3160
|
'NominationPools',
|
|
3393
3161
|
'StateChanged',
|
|
3394
3162
|
{ poolId: number; newState: PalletNominationPoolsPoolState }
|
|
@@ -3402,7 +3170,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3402
3170
|
* represented by `released_balance`.
|
|
3403
3171
|
**/
|
|
3404
3172
|
MemberRemoved: GenericPalletEvent<
|
|
3405
|
-
Rv,
|
|
3406
3173
|
'NominationPools',
|
|
3407
3174
|
'MemberRemoved',
|
|
3408
3175
|
{ poolId: number; member: AccountId32; releasedBalance: bigint }
|
|
@@ -3413,7 +3180,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3413
3180
|
* can never change.
|
|
3414
3181
|
**/
|
|
3415
3182
|
RolesUpdated: GenericPalletEvent<
|
|
3416
|
-
Rv,
|
|
3417
3183
|
'NominationPools',
|
|
3418
3184
|
'RolesUpdated',
|
|
3419
3185
|
{ root?: AccountId32 | undefined; bouncer?: AccountId32 | undefined; nominator?: AccountId32 | undefined }
|
|
@@ -3422,13 +3188,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3422
3188
|
/**
|
|
3423
3189
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
3424
3190
|
**/
|
|
3425
|
-
PoolSlashed: GenericPalletEvent<
|
|
3191
|
+
PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', { poolId: number; balance: bigint }>;
|
|
3426
3192
|
|
|
3427
3193
|
/**
|
|
3428
3194
|
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
|
3429
3195
|
**/
|
|
3430
3196
|
UnbondingPoolSlashed: GenericPalletEvent<
|
|
3431
|
-
Rv,
|
|
3432
3197
|
'NominationPools',
|
|
3433
3198
|
'UnbondingPoolSlashed',
|
|
3434
3199
|
{ poolId: number; era: number; balance: bigint }
|
|
@@ -3438,7 +3203,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3438
3203
|
* A pool's commission setting has been changed.
|
|
3439
3204
|
**/
|
|
3440
3205
|
PoolCommissionUpdated: GenericPalletEvent<
|
|
3441
|
-
Rv,
|
|
3442
3206
|
'NominationPools',
|
|
3443
3207
|
'PoolCommissionUpdated',
|
|
3444
3208
|
{ poolId: number; current?: [Perbill, AccountId32] | undefined }
|
|
@@ -3448,7 +3212,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3448
3212
|
* A pool's maximum commission setting has been changed.
|
|
3449
3213
|
**/
|
|
3450
3214
|
PoolMaxCommissionUpdated: GenericPalletEvent<
|
|
3451
|
-
Rv,
|
|
3452
3215
|
'NominationPools',
|
|
3453
3216
|
'PoolMaxCommissionUpdated',
|
|
3454
3217
|
{ poolId: number; maxCommission: Perbill }
|
|
@@ -3458,7 +3221,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3458
3221
|
* A pool's commission `change_rate` has been changed.
|
|
3459
3222
|
**/
|
|
3460
3223
|
PoolCommissionChangeRateUpdated: GenericPalletEvent<
|
|
3461
|
-
Rv,
|
|
3462
3224
|
'NominationPools',
|
|
3463
3225
|
'PoolCommissionChangeRateUpdated',
|
|
3464
3226
|
{ poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate }
|
|
@@ -3468,7 +3230,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3468
3230
|
* Pool commission claim permission has been updated.
|
|
3469
3231
|
**/
|
|
3470
3232
|
PoolCommissionClaimPermissionUpdated: GenericPalletEvent<
|
|
3471
|
-
Rv,
|
|
3472
3233
|
'NominationPools',
|
|
3473
3234
|
'PoolCommissionClaimPermissionUpdated',
|
|
3474
3235
|
{ poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined }
|
|
@@ -3478,7 +3239,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3478
3239
|
* Pool commission has been claimed.
|
|
3479
3240
|
**/
|
|
3480
3241
|
PoolCommissionClaimed: GenericPalletEvent<
|
|
3481
|
-
Rv,
|
|
3482
3242
|
'NominationPools',
|
|
3483
3243
|
'PoolCommissionClaimed',
|
|
3484
3244
|
{ poolId: number; commission: bigint }
|
|
@@ -3488,7 +3248,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3488
3248
|
* Topped up deficit in frozen ED of the reward pool.
|
|
3489
3249
|
**/
|
|
3490
3250
|
MinBalanceDeficitAdjusted: GenericPalletEvent<
|
|
3491
|
-
Rv,
|
|
3492
3251
|
'NominationPools',
|
|
3493
3252
|
'MinBalanceDeficitAdjusted',
|
|
3494
3253
|
{ poolId: number; amount: bigint }
|
|
@@ -3498,7 +3257,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3498
3257
|
* Claimed excess frozen ED of af the reward pool.
|
|
3499
3258
|
**/
|
|
3500
3259
|
MinBalanceExcessAdjusted: GenericPalletEvent<
|
|
3501
|
-
Rv,
|
|
3502
3260
|
'NominationPools',
|
|
3503
3261
|
'MinBalanceExcessAdjusted',
|
|
3504
3262
|
{ poolId: number; amount: bigint }
|
|
@@ -3508,7 +3266,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3508
3266
|
* A pool member's claim permission has been updated.
|
|
3509
3267
|
**/
|
|
3510
3268
|
MemberClaimPermissionUpdated: GenericPalletEvent<
|
|
3511
|
-
Rv,
|
|
3512
3269
|
'NominationPools',
|
|
3513
3270
|
'MemberClaimPermissionUpdated',
|
|
3514
3271
|
{ member: AccountId32; permission: PalletNominationPoolsClaimPermission }
|
|
@@ -3517,19 +3274,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3517
3274
|
/**
|
|
3518
3275
|
* A pool's metadata was updated.
|
|
3519
3276
|
**/
|
|
3520
|
-
MetadataUpdated: GenericPalletEvent<
|
|
3521
|
-
Rv,
|
|
3522
|
-
'NominationPools',
|
|
3523
|
-
'MetadataUpdated',
|
|
3524
|
-
{ poolId: number; caller: AccountId32 }
|
|
3525
|
-
>;
|
|
3277
|
+
MetadataUpdated: GenericPalletEvent<'NominationPools', 'MetadataUpdated', { poolId: number; caller: AccountId32 }>;
|
|
3526
3278
|
|
|
3527
3279
|
/**
|
|
3528
3280
|
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
|
3529
3281
|
* on behalf of the pool.
|
|
3530
3282
|
**/
|
|
3531
3283
|
PoolNominationMade: GenericPalletEvent<
|
|
3532
|
-
Rv,
|
|
3533
3284
|
'NominationPools',
|
|
3534
3285
|
'PoolNominationMade',
|
|
3535
3286
|
{ poolId: number; caller: AccountId32 }
|
|
@@ -3539,7 +3290,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3539
3290
|
* The pool is chilled i.e. no longer nominating.
|
|
3540
3291
|
**/
|
|
3541
3292
|
PoolNominatorChilled: GenericPalletEvent<
|
|
3542
|
-
Rv,
|
|
3543
3293
|
'NominationPools',
|
|
3544
3294
|
'PoolNominatorChilled',
|
|
3545
3295
|
{ poolId: number; caller: AccountId32 }
|
|
@@ -3549,7 +3299,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3549
3299
|
* Global parameters regulating nomination pools have been updated.
|
|
3550
3300
|
**/
|
|
3551
3301
|
GlobalParamsUpdated: GenericPalletEvent<
|
|
3552
|
-
Rv,
|
|
3553
3302
|
'NominationPools',
|
|
3554
3303
|
'GlobalParamsUpdated',
|
|
3555
3304
|
{
|
|
@@ -3565,7 +3314,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3565
3314
|
/**
|
|
3566
3315
|
* Generic pallet event
|
|
3567
3316
|
**/
|
|
3568
|
-
[prop: string]: GenericPalletEvent
|
|
3317
|
+
[prop: string]: GenericPalletEvent;
|
|
3569
3318
|
};
|
|
3570
3319
|
/**
|
|
3571
3320
|
* Pallet `VoterList`'s events
|
|
@@ -3574,17 +3323,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3574
3323
|
/**
|
|
3575
3324
|
* Moved an account from one bag to another.
|
|
3576
3325
|
**/
|
|
3577
|
-
Rebagged: GenericPalletEvent<
|
|
3326
|
+
Rebagged: GenericPalletEvent<'VoterList', 'Rebagged', { who: AccountId32; from: bigint; to: bigint }>;
|
|
3578
3327
|
|
|
3579
3328
|
/**
|
|
3580
3329
|
* Updated the score of some account to the given amount.
|
|
3581
3330
|
**/
|
|
3582
|
-
ScoreUpdated: GenericPalletEvent<
|
|
3331
|
+
ScoreUpdated: GenericPalletEvent<'VoterList', 'ScoreUpdated', { who: AccountId32; newScore: bigint }>;
|
|
3583
3332
|
|
|
3584
3333
|
/**
|
|
3585
3334
|
* Generic pallet event
|
|
3586
3335
|
**/
|
|
3587
|
-
[prop: string]: GenericPalletEvent
|
|
3336
|
+
[prop: string]: GenericPalletEvent;
|
|
3588
3337
|
};
|
|
3589
3338
|
/**
|
|
3590
3339
|
* Pallet `DelegatedStaking`'s events
|
|
@@ -3594,7 +3343,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3594
3343
|
* Funds delegated by a delegator.
|
|
3595
3344
|
**/
|
|
3596
3345
|
Delegated: GenericPalletEvent<
|
|
3597
|
-
Rv,
|
|
3598
3346
|
'DelegatedStaking',
|
|
3599
3347
|
'Delegated',
|
|
3600
3348
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -3604,7 +3352,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3604
3352
|
* Funds released to a delegator.
|
|
3605
3353
|
**/
|
|
3606
3354
|
Released: GenericPalletEvent<
|
|
3607
|
-
Rv,
|
|
3608
3355
|
'DelegatedStaking',
|
|
3609
3356
|
'Released',
|
|
3610
3357
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -3614,7 +3361,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3614
3361
|
* Funds slashed from a delegator.
|
|
3615
3362
|
**/
|
|
3616
3363
|
Slashed: GenericPalletEvent<
|
|
3617
|
-
Rv,
|
|
3618
3364
|
'DelegatedStaking',
|
|
3619
3365
|
'Slashed',
|
|
3620
3366
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -3624,7 +3370,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3624
3370
|
* Unclaimed delegation funds migrated to delegator.
|
|
3625
3371
|
**/
|
|
3626
3372
|
MigratedDelegation: GenericPalletEvent<
|
|
3627
|
-
Rv,
|
|
3628
3373
|
'DelegatedStaking',
|
|
3629
3374
|
'MigratedDelegation',
|
|
3630
3375
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -3633,7 +3378,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3633
3378
|
/**
|
|
3634
3379
|
* Generic pallet event
|
|
3635
3380
|
**/
|
|
3636
|
-
[prop: string]: GenericPalletEvent
|
|
3381
|
+
[prop: string]: GenericPalletEvent;
|
|
3637
3382
|
};
|
|
3638
3383
|
/**
|
|
3639
3384
|
* Pallet `StakingRcClient`'s events
|
|
@@ -3643,7 +3388,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3643
3388
|
* A said session report was received.
|
|
3644
3389
|
**/
|
|
3645
3390
|
SessionReportReceived: GenericPalletEvent<
|
|
3646
|
-
Rv,
|
|
3647
3391
|
'StakingRcClient',
|
|
3648
3392
|
'SessionReportReceived',
|
|
3649
3393
|
{
|
|
@@ -3658,7 +3402,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3658
3402
|
* A new offence was reported.
|
|
3659
3403
|
**/
|
|
3660
3404
|
OffenceReceived: GenericPalletEvent<
|
|
3661
|
-
Rv,
|
|
3662
3405
|
'StakingRcClient',
|
|
3663
3406
|
'OffenceReceived',
|
|
3664
3407
|
{ slashSession: number; offencesCount: number }
|
|
@@ -3668,12 +3411,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3668
3411
|
* Something occurred that should never happen under normal operation.
|
|
3669
3412
|
* Logged as an event for fail-safe observability.
|
|
3670
3413
|
**/
|
|
3671
|
-
Unexpected: GenericPalletEvent<
|
|
3414
|
+
Unexpected: GenericPalletEvent<'StakingRcClient', 'Unexpected', PalletStakingAsyncRcClientUnexpectedKind>;
|
|
3672
3415
|
|
|
3673
3416
|
/**
|
|
3674
3417
|
* Generic pallet event
|
|
3675
3418
|
**/
|
|
3676
|
-
[prop: string]: GenericPalletEvent
|
|
3419
|
+
[prop: string]: GenericPalletEvent;
|
|
3677
3420
|
};
|
|
3678
3421
|
/**
|
|
3679
3422
|
* Pallet `MultiBlockElection`'s events
|
|
@@ -3684,7 +3427,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3684
3427
|
* values.
|
|
3685
3428
|
**/
|
|
3686
3429
|
PhaseTransitioned: GenericPalletEvent<
|
|
3687
|
-
Rv,
|
|
3688
3430
|
'MultiBlockElection',
|
|
3689
3431
|
'PhaseTransitioned',
|
|
3690
3432
|
{
|
|
@@ -3703,22 +3445,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3703
3445
|
/**
|
|
3704
3446
|
* Target snapshot creation failed
|
|
3705
3447
|
**/
|
|
3706
|
-
UnexpectedTargetSnapshotFailed: GenericPalletEvent<
|
|
3707
|
-
Rv,
|
|
3708
|
-
'MultiBlockElection',
|
|
3709
|
-
'UnexpectedTargetSnapshotFailed',
|
|
3710
|
-
null
|
|
3711
|
-
>;
|
|
3448
|
+
UnexpectedTargetSnapshotFailed: GenericPalletEvent<'MultiBlockElection', 'UnexpectedTargetSnapshotFailed', null>;
|
|
3712
3449
|
|
|
3713
3450
|
/**
|
|
3714
3451
|
* Voter snapshot creation failed
|
|
3715
3452
|
**/
|
|
3716
|
-
UnexpectedVoterSnapshotFailed: GenericPalletEvent<
|
|
3453
|
+
UnexpectedVoterSnapshotFailed: GenericPalletEvent<'MultiBlockElection', 'UnexpectedVoterSnapshotFailed', null>;
|
|
3717
3454
|
|
|
3718
3455
|
/**
|
|
3719
3456
|
* Generic pallet event
|
|
3720
3457
|
**/
|
|
3721
|
-
[prop: string]: GenericPalletEvent
|
|
3458
|
+
[prop: string]: GenericPalletEvent;
|
|
3722
3459
|
};
|
|
3723
3460
|
/**
|
|
3724
3461
|
* Pallet `MultiBlockElectionVerifier`'s events
|
|
@@ -3731,7 +3468,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3731
3468
|
* was wrong, or the final checks of `finalize_verification` failed.
|
|
3732
3469
|
**/
|
|
3733
3470
|
VerificationFailed: GenericPalletEvent<
|
|
3734
|
-
Rv,
|
|
3735
3471
|
'MultiBlockElectionVerifier',
|
|
3736
3472
|
'VerificationFailed',
|
|
3737
3473
|
[number, PalletElectionProviderMultiBlockVerifierFeasibilityError]
|
|
@@ -3741,13 +3477,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3741
3477
|
* The given page of a solution has been verified, with the given number of winners being
|
|
3742
3478
|
* found in it.
|
|
3743
3479
|
**/
|
|
3744
|
-
Verified: GenericPalletEvent<
|
|
3480
|
+
Verified: GenericPalletEvent<'MultiBlockElectionVerifier', 'Verified', [number, number]>;
|
|
3745
3481
|
|
|
3746
3482
|
/**
|
|
3747
3483
|
* A solution with the given score has replaced our current best solution.
|
|
3748
3484
|
**/
|
|
3749
3485
|
Queued: GenericPalletEvent<
|
|
3750
|
-
Rv,
|
|
3751
3486
|
'MultiBlockElectionVerifier',
|
|
3752
3487
|
'Queued',
|
|
3753
3488
|
[SpNposElectionsElectionScore, SpNposElectionsElectionScore | undefined]
|
|
@@ -3756,7 +3491,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3756
3491
|
/**
|
|
3757
3492
|
* Generic pallet event
|
|
3758
3493
|
**/
|
|
3759
|
-
[prop: string]: GenericPalletEvent
|
|
3494
|
+
[prop: string]: GenericPalletEvent;
|
|
3760
3495
|
};
|
|
3761
3496
|
/**
|
|
3762
3497
|
* Pallet `MultiBlockElectionSigned`'s events
|
|
@@ -3766,7 +3501,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3766
3501
|
* Upcoming submission has been registered for the given account, with the given score.
|
|
3767
3502
|
**/
|
|
3768
3503
|
Registered: GenericPalletEvent<
|
|
3769
|
-
Rv,
|
|
3770
3504
|
'MultiBlockElectionSigned',
|
|
3771
3505
|
'Registered',
|
|
3772
3506
|
[number, AccountId32, SpNposElectionsElectionScore]
|
|
@@ -3775,37 +3509,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3775
3509
|
/**
|
|
3776
3510
|
* A page of solution solution with the given index has been stored for the given account.
|
|
3777
3511
|
**/
|
|
3778
|
-
Stored: GenericPalletEvent<
|
|
3512
|
+
Stored: GenericPalletEvent<'MultiBlockElectionSigned', 'Stored', [number, AccountId32, number]>;
|
|
3779
3513
|
|
|
3780
3514
|
/**
|
|
3781
3515
|
* The given account has been rewarded with the given amount.
|
|
3782
3516
|
**/
|
|
3783
|
-
Rewarded: GenericPalletEvent<
|
|
3517
|
+
Rewarded: GenericPalletEvent<'MultiBlockElectionSigned', 'Rewarded', [number, AccountId32, bigint]>;
|
|
3784
3518
|
|
|
3785
3519
|
/**
|
|
3786
3520
|
* The given account has been slashed with the given amount.
|
|
3787
3521
|
**/
|
|
3788
|
-
Slashed: GenericPalletEvent<
|
|
3522
|
+
Slashed: GenericPalletEvent<'MultiBlockElectionSigned', 'Slashed', [number, AccountId32, bigint]>;
|
|
3789
3523
|
|
|
3790
3524
|
/**
|
|
3791
3525
|
* The given solution, for the given round, was ejected.
|
|
3792
3526
|
**/
|
|
3793
|
-
Ejected: GenericPalletEvent<
|
|
3527
|
+
Ejected: GenericPalletEvent<'MultiBlockElectionSigned', 'Ejected', [number, AccountId32]>;
|
|
3794
3528
|
|
|
3795
3529
|
/**
|
|
3796
3530
|
* The given account has been discarded.
|
|
3797
3531
|
**/
|
|
3798
|
-
Discarded: GenericPalletEvent<
|
|
3532
|
+
Discarded: GenericPalletEvent<'MultiBlockElectionSigned', 'Discarded', [number, AccountId32]>;
|
|
3799
3533
|
|
|
3800
3534
|
/**
|
|
3801
3535
|
* The given account has bailed.
|
|
3802
3536
|
**/
|
|
3803
|
-
Bailed: GenericPalletEvent<
|
|
3537
|
+
Bailed: GenericPalletEvent<'MultiBlockElectionSigned', 'Bailed', [number, AccountId32]>;
|
|
3804
3538
|
|
|
3805
3539
|
/**
|
|
3806
3540
|
* Generic pallet event
|
|
3807
3541
|
**/
|
|
3808
|
-
[prop: string]: GenericPalletEvent
|
|
3542
|
+
[prop: string]: GenericPalletEvent;
|
|
3809
3543
|
};
|
|
3810
3544
|
/**
|
|
3811
3545
|
* Pallet `Staking`'s events
|
|
@@ -3815,18 +3549,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3815
3549
|
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
3816
3550
|
* the remainder from the maximum amount of reward.
|
|
3817
3551
|
**/
|
|
3818
|
-
EraPaid: GenericPalletEvent<
|
|
3819
|
-
Rv,
|
|
3820
|
-
'Staking',
|
|
3821
|
-
'EraPaid',
|
|
3822
|
-
{ eraIndex: number; validatorPayout: bigint; remainder: bigint }
|
|
3823
|
-
>;
|
|
3552
|
+
EraPaid: GenericPalletEvent<'Staking', 'EraPaid', { eraIndex: number; validatorPayout: bigint; remainder: bigint }>;
|
|
3824
3553
|
|
|
3825
3554
|
/**
|
|
3826
3555
|
* The nominator has been rewarded by this amount to this destination.
|
|
3827
3556
|
**/
|
|
3828
3557
|
Rewarded: GenericPalletEvent<
|
|
3829
|
-
Rv,
|
|
3830
3558
|
'Staking',
|
|
3831
3559
|
'Rewarded',
|
|
3832
3560
|
{ stash: AccountId32; dest: PalletStakingAsyncRewardDestination; amount: bigint }
|
|
@@ -3835,18 +3563,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3835
3563
|
/**
|
|
3836
3564
|
* A staker (validator or nominator) has been slashed by the given amount.
|
|
3837
3565
|
**/
|
|
3838
|
-
Slashed: GenericPalletEvent<
|
|
3566
|
+
Slashed: GenericPalletEvent<'Staking', 'Slashed', { staker: AccountId32; amount: bigint }>;
|
|
3839
3567
|
|
|
3840
3568
|
/**
|
|
3841
3569
|
* An old slashing report from a prior era was discarded because it could
|
|
3842
3570
|
* not be processed.
|
|
3843
3571
|
**/
|
|
3844
|
-
OldSlashingReportDiscarded: GenericPalletEvent<
|
|
3845
|
-
Rv,
|
|
3846
|
-
'Staking',
|
|
3847
|
-
'OldSlashingReportDiscarded',
|
|
3848
|
-
{ sessionIndex: number }
|
|
3849
|
-
>;
|
|
3572
|
+
OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', { sessionIndex: number }>;
|
|
3850
3573
|
|
|
3851
3574
|
/**
|
|
3852
3575
|
* An account has bonded this amount. \[stash, amount\]
|
|
@@ -3854,40 +3577,39 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3854
3577
|
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
|
3855
3578
|
* it will not be emitted for staking rewards when they are added to stake.
|
|
3856
3579
|
**/
|
|
3857
|
-
Bonded: GenericPalletEvent<
|
|
3580
|
+
Bonded: GenericPalletEvent<'Staking', 'Bonded', { stash: AccountId32; amount: bigint }>;
|
|
3858
3581
|
|
|
3859
3582
|
/**
|
|
3860
3583
|
* An account has unbonded this amount.
|
|
3861
3584
|
**/
|
|
3862
|
-
Unbonded: GenericPalletEvent<
|
|
3585
|
+
Unbonded: GenericPalletEvent<'Staking', 'Unbonded', { stash: AccountId32; amount: bigint }>;
|
|
3863
3586
|
|
|
3864
3587
|
/**
|
|
3865
3588
|
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
|
3866
3589
|
* from the unlocking queue.
|
|
3867
3590
|
**/
|
|
3868
|
-
Withdrawn: GenericPalletEvent<
|
|
3591
|
+
Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', { stash: AccountId32; amount: bigint }>;
|
|
3869
3592
|
|
|
3870
3593
|
/**
|
|
3871
3594
|
* A subsequent event of `Withdrawn`, indicating that `stash` was fully removed from the
|
|
3872
3595
|
* system.
|
|
3873
3596
|
**/
|
|
3874
|
-
StakerRemoved: GenericPalletEvent<
|
|
3597
|
+
StakerRemoved: GenericPalletEvent<'Staking', 'StakerRemoved', { stash: AccountId32 }>;
|
|
3875
3598
|
|
|
3876
3599
|
/**
|
|
3877
3600
|
* A nominator has been kicked from a validator.
|
|
3878
3601
|
**/
|
|
3879
|
-
Kicked: GenericPalletEvent<
|
|
3602
|
+
Kicked: GenericPalletEvent<'Staking', 'Kicked', { nominator: AccountId32; stash: AccountId32 }>;
|
|
3880
3603
|
|
|
3881
3604
|
/**
|
|
3882
3605
|
* An account has stopped participating as either a validator or nominator.
|
|
3883
3606
|
**/
|
|
3884
|
-
Chilled: GenericPalletEvent<
|
|
3607
|
+
Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
|
|
3885
3608
|
|
|
3886
3609
|
/**
|
|
3887
3610
|
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
|
3888
3611
|
**/
|
|
3889
3612
|
PayoutStarted: GenericPalletEvent<
|
|
3890
|
-
Rv,
|
|
3891
3613
|
'Staking',
|
|
3892
3614
|
'PayoutStarted',
|
|
3893
3615
|
{ eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined }
|
|
@@ -3897,7 +3619,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3897
3619
|
* A validator has set their preferences.
|
|
3898
3620
|
**/
|
|
3899
3621
|
ValidatorPrefsSet: GenericPalletEvent<
|
|
3900
|
-
Rv,
|
|
3901
3622
|
'Staking',
|
|
3902
3623
|
'ValidatorPrefsSet',
|
|
3903
3624
|
{ stash: AccountId32; prefs: PalletStakingAsyncValidatorPrefs }
|
|
@@ -3906,29 +3627,24 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3906
3627
|
/**
|
|
3907
3628
|
* Voters size limit reached.
|
|
3908
3629
|
**/
|
|
3909
|
-
SnapshotVotersSizeExceeded: GenericPalletEvent<
|
|
3630
|
+
SnapshotVotersSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotVotersSizeExceeded', { size: number }>;
|
|
3910
3631
|
|
|
3911
3632
|
/**
|
|
3912
3633
|
* Targets size limit reached.
|
|
3913
3634
|
**/
|
|
3914
|
-
SnapshotTargetsSizeExceeded: GenericPalletEvent<
|
|
3915
|
-
ForceEra: GenericPalletEvent<
|
|
3635
|
+
SnapshotTargetsSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotTargetsSizeExceeded', { size: number }>;
|
|
3636
|
+
ForceEra: GenericPalletEvent<'Staking', 'ForceEra', { mode: PalletStakingAsyncForcing }>;
|
|
3916
3637
|
|
|
3917
3638
|
/**
|
|
3918
3639
|
* Report of a controller batch deprecation.
|
|
3919
3640
|
**/
|
|
3920
|
-
ControllerBatchDeprecated: GenericPalletEvent<
|
|
3641
|
+
ControllerBatchDeprecated: GenericPalletEvent<'Staking', 'ControllerBatchDeprecated', { failures: number }>;
|
|
3921
3642
|
|
|
3922
3643
|
/**
|
|
3923
3644
|
* Staking balance migrated from locks to holds, with any balance that could not be held
|
|
3924
3645
|
* is force withdrawn.
|
|
3925
3646
|
**/
|
|
3926
|
-
CurrencyMigrated: GenericPalletEvent<
|
|
3927
|
-
Rv,
|
|
3928
|
-
'Staking',
|
|
3929
|
-
'CurrencyMigrated',
|
|
3930
|
-
{ stash: AccountId32; forceWithdraw: bigint }
|
|
3931
|
-
>;
|
|
3647
|
+
CurrencyMigrated: GenericPalletEvent<'Staking', 'CurrencyMigrated', { stash: AccountId32; forceWithdraw: bigint }>;
|
|
3932
3648
|
|
|
3933
3649
|
/**
|
|
3934
3650
|
* A page from a multi-page election was fetched. A number of these are followed by
|
|
@@ -3942,7 +3658,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3942
3658
|
* the overall election will continue.
|
|
3943
3659
|
**/
|
|
3944
3660
|
PagedElectionProceeded: GenericPalletEvent<
|
|
3945
|
-
Rv,
|
|
3946
3661
|
'Staking',
|
|
3947
3662
|
'PagedElectionProceeded',
|
|
3948
3663
|
{ page: number; result: Result<number, number> }
|
|
@@ -3953,7 +3668,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3953
3668
|
* given era as been reported.
|
|
3954
3669
|
**/
|
|
3955
3670
|
OffenceReported: GenericPalletEvent<
|
|
3956
|
-
Rv,
|
|
3957
3671
|
'Staking',
|
|
3958
3672
|
'OffenceReported',
|
|
3959
3673
|
{ offenceEra: number; validator: AccountId32; fraction: Perbill }
|
|
@@ -3963,7 +3677,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3963
3677
|
* An offence has been processed and the corresponding slash has been computed.
|
|
3964
3678
|
**/
|
|
3965
3679
|
SlashComputed: GenericPalletEvent<
|
|
3966
|
-
Rv,
|
|
3967
3680
|
'Staking',
|
|
3968
3681
|
'SlashComputed',
|
|
3969
3682
|
{ offenceEra: number; slashEra: number; offender: AccountId32; page: number }
|
|
@@ -3972,7 +3685,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3972
3685
|
/**
|
|
3973
3686
|
* An unapplied slash has been cancelled.
|
|
3974
3687
|
**/
|
|
3975
|
-
SlashCancelled: GenericPalletEvent<
|
|
3688
|
+
SlashCancelled: GenericPalletEvent<'Staking', 'SlashCancelled', { slashEra: number; validator: AccountId32 }>;
|
|
3976
3689
|
|
|
3977
3690
|
/**
|
|
3978
3691
|
* Session change has been triggered.
|
|
@@ -3981,7 +3694,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3981
3694
|
* election is ongoing.
|
|
3982
3695
|
**/
|
|
3983
3696
|
SessionRotated: GenericPalletEvent<
|
|
3984
|
-
Rv,
|
|
3985
3697
|
'Staking',
|
|
3986
3698
|
'SessionRotated',
|
|
3987
3699
|
{ startingSession: number; activeEra: number; plannedEra: number }
|
|
@@ -3991,13 +3703,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3991
3703
|
* Something occurred that should never happen under normal operation.
|
|
3992
3704
|
* Logged as an event for fail-safe observability.
|
|
3993
3705
|
**/
|
|
3994
|
-
Unexpected: GenericPalletEvent<
|
|
3706
|
+
Unexpected: GenericPalletEvent<'Staking', 'Unexpected', PalletStakingAsyncPalletUnexpectedKind>;
|
|
3995
3707
|
|
|
3996
3708
|
/**
|
|
3997
3709
|
* An offence was reported that was too old to be processed, and thus was dropped.
|
|
3998
3710
|
**/
|
|
3999
3711
|
OffenceTooOld: GenericPalletEvent<
|
|
4000
|
-
Rv,
|
|
4001
3712
|
'Staking',
|
|
4002
3713
|
'OffenceTooOld',
|
|
4003
3714
|
{ offenceEra: number; validator: AccountId32; fraction: Perbill }
|
|
@@ -4006,12 +3717,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4006
3717
|
/**
|
|
4007
3718
|
* An old era with the given index was pruned.
|
|
4008
3719
|
**/
|
|
4009
|
-
EraPruned: GenericPalletEvent<
|
|
3720
|
+
EraPruned: GenericPalletEvent<'Staking', 'EraPruned', { index: number }>;
|
|
4010
3721
|
|
|
4011
3722
|
/**
|
|
4012
3723
|
* Generic pallet event
|
|
4013
3724
|
**/
|
|
4014
|
-
[prop: string]: GenericPalletEvent
|
|
3725
|
+
[prop: string]: GenericPalletEvent;
|
|
4015
3726
|
};
|
|
4016
3727
|
/**
|
|
4017
3728
|
* Pallet `Treasury`'s events
|
|
@@ -4020,38 +3731,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4020
3731
|
/**
|
|
4021
3732
|
* We have ended a spend period and will now allocate funds.
|
|
4022
3733
|
**/
|
|
4023
|
-
Spending: GenericPalletEvent<
|
|
3734
|
+
Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
|
|
4024
3735
|
|
|
4025
3736
|
/**
|
|
4026
3737
|
* Some funds have been allocated.
|
|
4027
3738
|
**/
|
|
4028
|
-
Awarded: GenericPalletEvent<
|
|
4029
|
-
Rv,
|
|
4030
|
-
'Treasury',
|
|
4031
|
-
'Awarded',
|
|
4032
|
-
{ proposalIndex: number; award: bigint; account: AccountId32 }
|
|
4033
|
-
>;
|
|
3739
|
+
Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId32 }>;
|
|
4034
3740
|
|
|
4035
3741
|
/**
|
|
4036
3742
|
* Some of our funds have been burnt.
|
|
4037
3743
|
**/
|
|
4038
|
-
Burnt: GenericPalletEvent<
|
|
3744
|
+
Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
|
|
4039
3745
|
|
|
4040
3746
|
/**
|
|
4041
3747
|
* Spending has finished; this is the amount that rolls over until next spend.
|
|
4042
3748
|
**/
|
|
4043
|
-
Rollover: GenericPalletEvent<
|
|
3749
|
+
Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
|
|
4044
3750
|
|
|
4045
3751
|
/**
|
|
4046
3752
|
* Some funds have been deposited.
|
|
4047
3753
|
**/
|
|
4048
|
-
Deposit: GenericPalletEvent<
|
|
3754
|
+
Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
|
|
4049
3755
|
|
|
4050
3756
|
/**
|
|
4051
3757
|
* A new spend proposal has been approved.
|
|
4052
3758
|
**/
|
|
4053
3759
|
SpendApproved: GenericPalletEvent<
|
|
4054
|
-
Rv,
|
|
4055
3760
|
'Treasury',
|
|
4056
3761
|
'SpendApproved',
|
|
4057
3762
|
{ proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
|
|
@@ -4060,18 +3765,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4060
3765
|
/**
|
|
4061
3766
|
* The inactive funds of the pallet have been updated.
|
|
4062
3767
|
**/
|
|
4063
|
-
UpdatedInactive: GenericPalletEvent<
|
|
4064
|
-
Rv,
|
|
4065
|
-
'Treasury',
|
|
4066
|
-
'UpdatedInactive',
|
|
4067
|
-
{ reactivated: bigint; deactivated: bigint }
|
|
4068
|
-
>;
|
|
3768
|
+
UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
|
|
4069
3769
|
|
|
4070
3770
|
/**
|
|
4071
3771
|
* A new asset spend proposal has been approved.
|
|
4072
3772
|
**/
|
|
4073
3773
|
AssetSpendApproved: GenericPalletEvent<
|
|
4074
|
-
Rv,
|
|
4075
3774
|
'Treasury',
|
|
4076
3775
|
'AssetSpendApproved',
|
|
4077
3776
|
{
|
|
@@ -4087,28 +3786,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4087
3786
|
/**
|
|
4088
3787
|
* An approved spend was voided.
|
|
4089
3788
|
**/
|
|
4090
|
-
AssetSpendVoided: GenericPalletEvent<
|
|
3789
|
+
AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', { index: number }>;
|
|
4091
3790
|
|
|
4092
3791
|
/**
|
|
4093
3792
|
* A payment happened.
|
|
4094
3793
|
**/
|
|
4095
|
-
Paid: GenericPalletEvent<
|
|
3794
|
+
Paid: GenericPalletEvent<'Treasury', 'Paid', { index: number; paymentId: bigint }>;
|
|
4096
3795
|
|
|
4097
3796
|
/**
|
|
4098
3797
|
* A payment failed and can be retried.
|
|
4099
3798
|
**/
|
|
4100
|
-
PaymentFailed: GenericPalletEvent<
|
|
3799
|
+
PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', { index: number; paymentId: bigint }>;
|
|
4101
3800
|
|
|
4102
3801
|
/**
|
|
4103
3802
|
* A spend was processed and removed from the storage. It might have been successfully
|
|
4104
3803
|
* paid or it may have expired.
|
|
4105
3804
|
**/
|
|
4106
|
-
SpendProcessed: GenericPalletEvent<
|
|
3805
|
+
SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', { index: number }>;
|
|
4107
3806
|
|
|
4108
3807
|
/**
|
|
4109
3808
|
* Generic pallet event
|
|
4110
3809
|
**/
|
|
4111
|
-
[prop: string]: GenericPalletEvent
|
|
3810
|
+
[prop: string]: GenericPalletEvent;
|
|
4112
3811
|
};
|
|
4113
3812
|
/**
|
|
4114
3813
|
* Pallet `ConvictionVoting`'s events
|
|
@@ -4117,18 +3816,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4117
3816
|
/**
|
|
4118
3817
|
* An account has delegated their vote to another account. \[who, target\]
|
|
4119
3818
|
**/
|
|
4120
|
-
Delegated: GenericPalletEvent<
|
|
3819
|
+
Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
|
|
4121
3820
|
|
|
4122
3821
|
/**
|
|
4123
3822
|
* An \[account\] has cancelled a previous delegation operation.
|
|
4124
3823
|
**/
|
|
4125
|
-
Undelegated: GenericPalletEvent<
|
|
3824
|
+
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
|
|
4126
3825
|
|
|
4127
3826
|
/**
|
|
4128
3827
|
* An account has voted
|
|
4129
3828
|
**/
|
|
4130
3829
|
Voted: GenericPalletEvent<
|
|
4131
|
-
Rv,
|
|
4132
3830
|
'ConvictionVoting',
|
|
4133
3831
|
'Voted',
|
|
4134
3832
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
@@ -4138,7 +3836,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4138
3836
|
* A vote has been removed
|
|
4139
3837
|
**/
|
|
4140
3838
|
VoteRemoved: GenericPalletEvent<
|
|
4141
|
-
Rv,
|
|
4142
3839
|
'ConvictionVoting',
|
|
4143
3840
|
'VoteRemoved',
|
|
4144
3841
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
@@ -4147,12 +3844,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4147
3844
|
/**
|
|
4148
3845
|
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
|
4149
3846
|
**/
|
|
4150
|
-
VoteUnlocked: GenericPalletEvent<
|
|
3847
|
+
VoteUnlocked: GenericPalletEvent<'ConvictionVoting', 'VoteUnlocked', { who: AccountId32; class: number }>;
|
|
4151
3848
|
|
|
4152
3849
|
/**
|
|
4153
3850
|
* Generic pallet event
|
|
4154
3851
|
**/
|
|
4155
|
-
[prop: string]: GenericPalletEvent
|
|
3852
|
+
[prop: string]: GenericPalletEvent;
|
|
4156
3853
|
};
|
|
4157
3854
|
/**
|
|
4158
3855
|
* Pallet `Referenda`'s events
|
|
@@ -4162,7 +3859,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4162
3859
|
* A referendum has been submitted.
|
|
4163
3860
|
**/
|
|
4164
3861
|
Submitted: GenericPalletEvent<
|
|
4165
|
-
Rv,
|
|
4166
3862
|
'Referenda',
|
|
4167
3863
|
'Submitted',
|
|
4168
3864
|
{
|
|
@@ -4187,7 +3883,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4187
3883
|
* The decision deposit has been placed.
|
|
4188
3884
|
**/
|
|
4189
3885
|
DecisionDepositPlaced: GenericPalletEvent<
|
|
4190
|
-
Rv,
|
|
4191
3886
|
'Referenda',
|
|
4192
3887
|
'DecisionDepositPlaced',
|
|
4193
3888
|
{
|
|
@@ -4212,7 +3907,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4212
3907
|
* The decision deposit has been refunded.
|
|
4213
3908
|
**/
|
|
4214
3909
|
DecisionDepositRefunded: GenericPalletEvent<
|
|
4215
|
-
Rv,
|
|
4216
3910
|
'Referenda',
|
|
4217
3911
|
'DecisionDepositRefunded',
|
|
4218
3912
|
{
|
|
@@ -4237,7 +3931,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4237
3931
|
* A deposit has been slashed.
|
|
4238
3932
|
**/
|
|
4239
3933
|
DepositSlashed: GenericPalletEvent<
|
|
4240
|
-
Rv,
|
|
4241
3934
|
'Referenda',
|
|
4242
3935
|
'DepositSlashed',
|
|
4243
3936
|
{
|
|
@@ -4257,7 +3950,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4257
3950
|
* A referendum has moved into the deciding phase.
|
|
4258
3951
|
**/
|
|
4259
3952
|
DecisionStarted: GenericPalletEvent<
|
|
4260
|
-
Rv,
|
|
4261
3953
|
'Referenda',
|
|
4262
3954
|
'DecisionStarted',
|
|
4263
3955
|
{
|
|
@@ -4283,7 +3975,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4283
3975
|
}
|
|
4284
3976
|
>;
|
|
4285
3977
|
ConfirmStarted: GenericPalletEvent<
|
|
4286
|
-
Rv,
|
|
4287
3978
|
'Referenda',
|
|
4288
3979
|
'ConfirmStarted',
|
|
4289
3980
|
{
|
|
@@ -4294,7 +3985,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4294
3985
|
}
|
|
4295
3986
|
>;
|
|
4296
3987
|
ConfirmAborted: GenericPalletEvent<
|
|
4297
|
-
Rv,
|
|
4298
3988
|
'Referenda',
|
|
4299
3989
|
'ConfirmAborted',
|
|
4300
3990
|
{
|
|
@@ -4309,7 +3999,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4309
3999
|
* A referendum has ended its confirmation phase and is ready for approval.
|
|
4310
4000
|
**/
|
|
4311
4001
|
Confirmed: GenericPalletEvent<
|
|
4312
|
-
Rv,
|
|
4313
4002
|
'Referenda',
|
|
4314
4003
|
'Confirmed',
|
|
4315
4004
|
{
|
|
@@ -4329,7 +4018,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4329
4018
|
* A referendum has been approved and its proposal has been scheduled.
|
|
4330
4019
|
**/
|
|
4331
4020
|
Approved: GenericPalletEvent<
|
|
4332
|
-
Rv,
|
|
4333
4021
|
'Referenda',
|
|
4334
4022
|
'Approved',
|
|
4335
4023
|
{
|
|
@@ -4344,7 +4032,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4344
4032
|
* A proposal has been rejected by referendum.
|
|
4345
4033
|
**/
|
|
4346
4034
|
Rejected: GenericPalletEvent<
|
|
4347
|
-
Rv,
|
|
4348
4035
|
'Referenda',
|
|
4349
4036
|
'Rejected',
|
|
4350
4037
|
{
|
|
@@ -4364,7 +4051,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4364
4051
|
* A referendum has been timed out without being decided.
|
|
4365
4052
|
**/
|
|
4366
4053
|
TimedOut: GenericPalletEvent<
|
|
4367
|
-
Rv,
|
|
4368
4054
|
'Referenda',
|
|
4369
4055
|
'TimedOut',
|
|
4370
4056
|
{
|
|
@@ -4384,7 +4070,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4384
4070
|
* A referendum has been cancelled.
|
|
4385
4071
|
**/
|
|
4386
4072
|
Cancelled: GenericPalletEvent<
|
|
4387
|
-
Rv,
|
|
4388
4073
|
'Referenda',
|
|
4389
4074
|
'Cancelled',
|
|
4390
4075
|
{
|
|
@@ -4404,7 +4089,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4404
4089
|
* A referendum has been killed.
|
|
4405
4090
|
**/
|
|
4406
4091
|
Killed: GenericPalletEvent<
|
|
4407
|
-
Rv,
|
|
4408
4092
|
'Referenda',
|
|
4409
4093
|
'Killed',
|
|
4410
4094
|
{
|
|
@@ -4424,7 +4108,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4424
4108
|
* The submission deposit has been refunded.
|
|
4425
4109
|
**/
|
|
4426
4110
|
SubmissionDepositRefunded: GenericPalletEvent<
|
|
4427
|
-
Rv,
|
|
4428
4111
|
'Referenda',
|
|
4429
4112
|
'SubmissionDepositRefunded',
|
|
4430
4113
|
{
|
|
@@ -4449,7 +4132,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4449
4132
|
* Metadata for a referendum has been set.
|
|
4450
4133
|
**/
|
|
4451
4134
|
MetadataSet: GenericPalletEvent<
|
|
4452
|
-
Rv,
|
|
4453
4135
|
'Referenda',
|
|
4454
4136
|
'MetadataSet',
|
|
4455
4137
|
{
|
|
@@ -4469,7 +4151,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4469
4151
|
* Metadata for a referendum has been cleared.
|
|
4470
4152
|
**/
|
|
4471
4153
|
MetadataCleared: GenericPalletEvent<
|
|
4472
|
-
Rv,
|
|
4473
4154
|
'Referenda',
|
|
4474
4155
|
'MetadataCleared',
|
|
4475
4156
|
{
|
|
@@ -4488,16 +4169,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4488
4169
|
/**
|
|
4489
4170
|
* Generic pallet event
|
|
4490
4171
|
**/
|
|
4491
|
-
[prop: string]: GenericPalletEvent
|
|
4172
|
+
[prop: string]: GenericPalletEvent;
|
|
4492
4173
|
};
|
|
4493
4174
|
/**
|
|
4494
4175
|
* Pallet `Whitelist`'s events
|
|
4495
4176
|
**/
|
|
4496
4177
|
whitelist: {
|
|
4497
|
-
CallWhitelisted: GenericPalletEvent<
|
|
4498
|
-
WhitelistedCallRemoved: GenericPalletEvent<
|
|
4178
|
+
CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
|
|
4179
|
+
WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
|
|
4499
4180
|
WhitelistedCallDispatched: GenericPalletEvent<
|
|
4500
|
-
Rv,
|
|
4501
4181
|
'Whitelist',
|
|
4502
4182
|
'WhitelistedCallDispatched',
|
|
4503
4183
|
{ callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
|
|
@@ -4506,7 +4186,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4506
4186
|
/**
|
|
4507
4187
|
* Generic pallet event
|
|
4508
4188
|
**/
|
|
4509
|
-
[prop: string]: GenericPalletEvent
|
|
4189
|
+
[prop: string]: GenericPalletEvent;
|
|
4510
4190
|
};
|
|
4511
4191
|
/**
|
|
4512
4192
|
* Pallet `Bounties`'s events
|
|
@@ -4515,28 +4195,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4515
4195
|
/**
|
|
4516
4196
|
* New bounty proposal.
|
|
4517
4197
|
**/
|
|
4518
|
-
BountyProposed: GenericPalletEvent<
|
|
4198
|
+
BountyProposed: GenericPalletEvent<'Bounties', 'BountyProposed', { index: number }>;
|
|
4519
4199
|
|
|
4520
4200
|
/**
|
|
4521
4201
|
* A bounty proposal was rejected; funds were slashed.
|
|
4522
4202
|
**/
|
|
4523
|
-
BountyRejected: GenericPalletEvent<
|
|
4203
|
+
BountyRejected: GenericPalletEvent<'Bounties', 'BountyRejected', { index: number; bond: bigint }>;
|
|
4524
4204
|
|
|
4525
4205
|
/**
|
|
4526
4206
|
* A bounty proposal is funded and became active.
|
|
4527
4207
|
**/
|
|
4528
|
-
BountyBecameActive: GenericPalletEvent<
|
|
4208
|
+
BountyBecameActive: GenericPalletEvent<'Bounties', 'BountyBecameActive', { index: number }>;
|
|
4529
4209
|
|
|
4530
4210
|
/**
|
|
4531
4211
|
* A bounty is awarded to a beneficiary.
|
|
4532
4212
|
**/
|
|
4533
|
-
BountyAwarded: GenericPalletEvent<
|
|
4213
|
+
BountyAwarded: GenericPalletEvent<'Bounties', 'BountyAwarded', { index: number; beneficiary: AccountId32 }>;
|
|
4534
4214
|
|
|
4535
4215
|
/**
|
|
4536
4216
|
* A bounty is claimed by beneficiary.
|
|
4537
4217
|
**/
|
|
4538
4218
|
BountyClaimed: GenericPalletEvent<
|
|
4539
|
-
Rv,
|
|
4540
4219
|
'Bounties',
|
|
4541
4220
|
'BountyClaimed',
|
|
4542
4221
|
{ index: number; payout: bigint; beneficiary: AccountId32 }
|
|
@@ -4545,38 +4224,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4545
4224
|
/**
|
|
4546
4225
|
* A bounty is cancelled.
|
|
4547
4226
|
**/
|
|
4548
|
-
BountyCanceled: GenericPalletEvent<
|
|
4227
|
+
BountyCanceled: GenericPalletEvent<'Bounties', 'BountyCanceled', { index: number }>;
|
|
4549
4228
|
|
|
4550
4229
|
/**
|
|
4551
4230
|
* A bounty expiry is extended.
|
|
4552
4231
|
**/
|
|
4553
|
-
BountyExtended: GenericPalletEvent<
|
|
4232
|
+
BountyExtended: GenericPalletEvent<'Bounties', 'BountyExtended', { index: number }>;
|
|
4554
4233
|
|
|
4555
4234
|
/**
|
|
4556
4235
|
* A bounty is approved.
|
|
4557
4236
|
**/
|
|
4558
|
-
BountyApproved: GenericPalletEvent<
|
|
4237
|
+
BountyApproved: GenericPalletEvent<'Bounties', 'BountyApproved', { index: number }>;
|
|
4559
4238
|
|
|
4560
4239
|
/**
|
|
4561
4240
|
* A bounty curator is proposed.
|
|
4562
4241
|
**/
|
|
4563
|
-
CuratorProposed: GenericPalletEvent<
|
|
4242
|
+
CuratorProposed: GenericPalletEvent<'Bounties', 'CuratorProposed', { bountyId: number; curator: AccountId32 }>;
|
|
4564
4243
|
|
|
4565
4244
|
/**
|
|
4566
4245
|
* A bounty curator is unassigned.
|
|
4567
4246
|
**/
|
|
4568
|
-
CuratorUnassigned: GenericPalletEvent<
|
|
4247
|
+
CuratorUnassigned: GenericPalletEvent<'Bounties', 'CuratorUnassigned', { bountyId: number }>;
|
|
4569
4248
|
|
|
4570
4249
|
/**
|
|
4571
4250
|
* A bounty curator is accepted.
|
|
4572
4251
|
**/
|
|
4573
|
-
CuratorAccepted: GenericPalletEvent<
|
|
4252
|
+
CuratorAccepted: GenericPalletEvent<'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
|
|
4574
4253
|
|
|
4575
4254
|
/**
|
|
4576
4255
|
* A bounty deposit has been poked.
|
|
4577
4256
|
**/
|
|
4578
4257
|
DepositPoked: GenericPalletEvent<
|
|
4579
|
-
Rv,
|
|
4580
4258
|
'Bounties',
|
|
4581
4259
|
'DepositPoked',
|
|
4582
4260
|
{ bountyId: number; proposer: AccountId32; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -4585,7 +4263,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4585
4263
|
/**
|
|
4586
4264
|
* Generic pallet event
|
|
4587
4265
|
**/
|
|
4588
|
-
[prop: string]: GenericPalletEvent
|
|
4266
|
+
[prop: string]: GenericPalletEvent;
|
|
4589
4267
|
};
|
|
4590
4268
|
/**
|
|
4591
4269
|
* Pallet `ChildBounties`'s events
|
|
@@ -4594,13 +4272,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4594
4272
|
/**
|
|
4595
4273
|
* A child-bounty is added.
|
|
4596
4274
|
**/
|
|
4597
|
-
Added: GenericPalletEvent<
|
|
4275
|
+
Added: GenericPalletEvent<'ChildBounties', 'Added', { index: number; childIndex: number }>;
|
|
4598
4276
|
|
|
4599
4277
|
/**
|
|
4600
4278
|
* A child-bounty is awarded to a beneficiary.
|
|
4601
4279
|
**/
|
|
4602
4280
|
Awarded: GenericPalletEvent<
|
|
4603
|
-
Rv,
|
|
4604
4281
|
'ChildBounties',
|
|
4605
4282
|
'Awarded',
|
|
4606
4283
|
{ index: number; childIndex: number; beneficiary: AccountId32 }
|
|
@@ -4610,7 +4287,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4610
4287
|
* A child-bounty is claimed by beneficiary.
|
|
4611
4288
|
**/
|
|
4612
4289
|
Claimed: GenericPalletEvent<
|
|
4613
|
-
Rv,
|
|
4614
4290
|
'ChildBounties',
|
|
4615
4291
|
'Claimed',
|
|
4616
4292
|
{ index: number; childIndex: number; payout: bigint; beneficiary: AccountId32 }
|
|
@@ -4619,31 +4295,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4619
4295
|
/**
|
|
4620
4296
|
* A child-bounty is cancelled.
|
|
4621
4297
|
**/
|
|
4622
|
-
Canceled: GenericPalletEvent<
|
|
4298
|
+
Canceled: GenericPalletEvent<'ChildBounties', 'Canceled', { index: number; childIndex: number }>;
|
|
4623
4299
|
|
|
4624
4300
|
/**
|
|
4625
4301
|
* Generic pallet event
|
|
4626
4302
|
**/
|
|
4627
|
-
[prop: string]: GenericPalletEvent
|
|
4303
|
+
[prop: string]: GenericPalletEvent;
|
|
4628
4304
|
};
|
|
4629
4305
|
/**
|
|
4630
4306
|
* Pallet `AssetRate`'s events
|
|
4631
4307
|
**/
|
|
4632
4308
|
assetRate: {
|
|
4633
4309
|
AssetRateCreated: GenericPalletEvent<
|
|
4634
|
-
Rv,
|
|
4635
4310
|
'AssetRate',
|
|
4636
4311
|
'AssetRateCreated',
|
|
4637
4312
|
{ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; rate: FixedU128 }
|
|
4638
4313
|
>;
|
|
4639
4314
|
AssetRateRemoved: GenericPalletEvent<
|
|
4640
|
-
Rv,
|
|
4641
4315
|
'AssetRate',
|
|
4642
4316
|
'AssetRateRemoved',
|
|
4643
4317
|
{ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset }
|
|
4644
4318
|
>;
|
|
4645
4319
|
AssetRateUpdated: GenericPalletEvent<
|
|
4646
|
-
Rv,
|
|
4647
4320
|
'AssetRate',
|
|
4648
4321
|
'AssetRateUpdated',
|
|
4649
4322
|
{ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 }
|
|
@@ -4652,7 +4325,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4652
4325
|
/**
|
|
4653
4326
|
* Generic pallet event
|
|
4654
4327
|
**/
|
|
4655
|
-
[prop: string]: GenericPalletEvent
|
|
4328
|
+
[prop: string]: GenericPalletEvent;
|
|
4656
4329
|
};
|
|
4657
4330
|
/**
|
|
4658
4331
|
* Pallet `AhOps`'s events
|
|
@@ -4662,7 +4335,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4662
4335
|
* Some lease reserve could not be unreserved and needs manual cleanup.
|
|
4663
4336
|
**/
|
|
4664
4337
|
LeaseUnreserveRemaining: GenericPalletEvent<
|
|
4665
|
-
Rv,
|
|
4666
4338
|
'AhOps',
|
|
4667
4339
|
'LeaseUnreserveRemaining',
|
|
4668
4340
|
{ depositor: AccountId32; paraId: PolkadotParachainPrimitivesPrimitivesId; remaining: bigint }
|
|
@@ -4672,7 +4344,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4672
4344
|
* Some amount for a crowdloan reserve could not be unreserved and needs manual cleanup.
|
|
4673
4345
|
**/
|
|
4674
4346
|
CrowdloanUnreserveRemaining: GenericPalletEvent<
|
|
4675
|
-
Rv,
|
|
4676
4347
|
'AhOps',
|
|
4677
4348
|
'CrowdloanUnreserveRemaining',
|
|
4678
4349
|
{ depositor: AccountId32; paraId: PolkadotParachainPrimitivesPrimitivesId; remaining: bigint }
|
|
@@ -4683,7 +4354,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4683
4354
|
* representation.
|
|
4684
4355
|
**/
|
|
4685
4356
|
SovereignMigrated: GenericPalletEvent<
|
|
4686
|
-
Rv,
|
|
4687
4357
|
'AhOps',
|
|
4688
4358
|
'SovereignMigrated',
|
|
4689
4359
|
{
|
|
@@ -4712,7 +4382,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4712
4382
|
/**
|
|
4713
4383
|
* Generic pallet event
|
|
4714
4384
|
**/
|
|
4715
|
-
[prop: string]: GenericPalletEvent
|
|
4385
|
+
[prop: string]: GenericPalletEvent;
|
|
4716
4386
|
};
|
|
4717
4387
|
/**
|
|
4718
4388
|
* Pallet `AhMigrator`'s events
|
|
@@ -4722,7 +4392,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4722
4392
|
* A stage transition has occurred.
|
|
4723
4393
|
**/
|
|
4724
4394
|
StageTransition: GenericPalletEvent<
|
|
4725
|
-
Rv,
|
|
4726
4395
|
'AhMigrator',
|
|
4727
4396
|
'StageTransition',
|
|
4728
4397
|
{
|
|
@@ -4742,7 +4411,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4742
4411
|
* We received a batch of messages that will be integrated into a pallet.
|
|
4743
4412
|
**/
|
|
4744
4413
|
BatchReceived: GenericPalletEvent<
|
|
4745
|
-
Rv,
|
|
4746
4414
|
'AhMigrator',
|
|
4747
4415
|
'BatchReceived',
|
|
4748
4416
|
{ pallet: PalletAhMigratorPalletEventName; count: number }
|
|
@@ -4752,7 +4420,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4752
4420
|
* We processed a batch of messages for this pallet.
|
|
4753
4421
|
**/
|
|
4754
4422
|
BatchProcessed: GenericPalletEvent<
|
|
4755
|
-
Rv,
|
|
4756
4423
|
'AhMigrator',
|
|
4757
4424
|
'BatchProcessed',
|
|
4758
4425
|
{ pallet: PalletAhMigratorPalletEventName; countGood: number; countBad: number }
|
|
@@ -4766,7 +4433,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4766
4433
|
* easier to understand. The activation is immediate and affects all events happening
|
|
4767
4434
|
* afterwards.
|
|
4768
4435
|
**/
|
|
4769
|
-
AssetHubMigrationStarted: GenericPalletEvent<
|
|
4436
|
+
AssetHubMigrationStarted: GenericPalletEvent<'AhMigrator', 'AssetHubMigrationStarted', null>;
|
|
4770
4437
|
|
|
4771
4438
|
/**
|
|
4772
4439
|
* The Asset Hub Migration finished.
|
|
@@ -4775,13 +4442,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4775
4442
|
* to understand. The finishing is immediate and affects all events happening
|
|
4776
4443
|
* afterwards.
|
|
4777
4444
|
**/
|
|
4778
|
-
AssetHubMigrationFinished: GenericPalletEvent<
|
|
4445
|
+
AssetHubMigrationFinished: GenericPalletEvent<'AhMigrator', 'AssetHubMigrationFinished', null>;
|
|
4779
4446
|
|
|
4780
4447
|
/**
|
|
4781
4448
|
* Whether the DMP queue was prioritized for the next block.
|
|
4782
4449
|
**/
|
|
4783
4450
|
DmpQueuePrioritySet: GenericPalletEvent<
|
|
4784
|
-
Rv,
|
|
4785
4451
|
'AhMigrator',
|
|
4786
4452
|
'DmpQueuePrioritySet',
|
|
4787
4453
|
{
|
|
@@ -4808,7 +4474,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4808
4474
|
* The DMP queue priority config was set.
|
|
4809
4475
|
**/
|
|
4810
4476
|
DmpQueuePriorityConfigSet: GenericPalletEvent<
|
|
4811
|
-
Rv,
|
|
4812
4477
|
'AhMigrator',
|
|
4813
4478
|
'DmpQueuePriorityConfigSet',
|
|
4814
4479
|
{
|
|
@@ -4828,7 +4493,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4828
4493
|
* The balances before the migration were recorded.
|
|
4829
4494
|
**/
|
|
4830
4495
|
BalancesBeforeRecordSet: GenericPalletEvent<
|
|
4831
|
-
Rv,
|
|
4832
4496
|
'AhMigrator',
|
|
4833
4497
|
'BalancesBeforeRecordSet',
|
|
4834
4498
|
{ checkingAccount: bigint; totalIssuance: bigint }
|
|
@@ -4838,7 +4502,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4838
4502
|
* The balances before the migration were consumed.
|
|
4839
4503
|
**/
|
|
4840
4504
|
BalancesBeforeRecordConsumed: GenericPalletEvent<
|
|
4841
|
-
Rv,
|
|
4842
4505
|
'AhMigrator',
|
|
4843
4506
|
'BalancesBeforeRecordConsumed',
|
|
4844
4507
|
{ checkingAccount: bigint; totalIssuance: bigint }
|
|
@@ -4847,13 +4510,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4847
4510
|
/**
|
|
4848
4511
|
* A referendum was cancelled because it could not be mapped.
|
|
4849
4512
|
**/
|
|
4850
|
-
ReferendumCanceled: GenericPalletEvent<
|
|
4513
|
+
ReferendumCanceled: GenericPalletEvent<'AhMigrator', 'ReferendumCanceled', { id: number }>;
|
|
4851
4514
|
|
|
4852
4515
|
/**
|
|
4853
4516
|
* The manager account id was set.
|
|
4854
4517
|
**/
|
|
4855
4518
|
ManagerSet: GenericPalletEvent<
|
|
4856
|
-
Rv,
|
|
4857
4519
|
'AhMigrator',
|
|
4858
4520
|
'ManagerSet',
|
|
4859
4521
|
{
|
|
@@ -4869,13 +4531,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4869
4531
|
}
|
|
4870
4532
|
>;
|
|
4871
4533
|
AccountTranslatedParachainSovereign: GenericPalletEvent<
|
|
4872
|
-
Rv,
|
|
4873
4534
|
'AhMigrator',
|
|
4874
4535
|
'AccountTranslatedParachainSovereign',
|
|
4875
4536
|
{ from: AccountId32; to: AccountId32 }
|
|
4876
4537
|
>;
|
|
4877
4538
|
AccountTranslatedParachainSovereignDerived: GenericPalletEvent<
|
|
4878
|
-
Rv,
|
|
4879
4539
|
'AhMigrator',
|
|
4880
4540
|
'AccountTranslatedParachainSovereignDerived',
|
|
4881
4541
|
{ from: AccountId32; to: AccountId32; derivationIndex: number }
|
|
@@ -4885,7 +4545,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4885
4545
|
* An XCM message was sent.
|
|
4886
4546
|
**/
|
|
4887
4547
|
XcmSent: GenericPalletEvent<
|
|
4888
|
-
Rv,
|
|
4889
4548
|
'AhMigrator',
|
|
4890
4549
|
'XcmSent',
|
|
4891
4550
|
{
|
|
@@ -4900,7 +4559,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4900
4559
|
* Failed to unreserve a multisig deposit.
|
|
4901
4560
|
**/
|
|
4902
4561
|
FailedToUnreserveMultisigDeposit: GenericPalletEvent<
|
|
4903
|
-
Rv,
|
|
4904
4562
|
'AhMigrator',
|
|
4905
4563
|
'FailedToUnreserveMultisigDeposit',
|
|
4906
4564
|
{
|
|
@@ -4925,7 +4583,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4925
4583
|
* Failed to unreserve a legacy status preimage deposit.
|
|
4926
4584
|
**/
|
|
4927
4585
|
FailedToUnreservePreimageDeposit: GenericPalletEvent<
|
|
4928
|
-
Rv,
|
|
4929
4586
|
'AhMigrator',
|
|
4930
4587
|
'FailedToUnreservePreimageDeposit',
|
|
4931
4588
|
{
|
|
@@ -4949,6 +4606,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4949
4606
|
/**
|
|
4950
4607
|
* Generic pallet event
|
|
4951
4608
|
**/
|
|
4952
|
-
[prop: string]: GenericPalletEvent
|
|
4609
|
+
[prop: string]: GenericPalletEvent;
|
|
4953
4610
|
};
|
|
4954
4611
|
}
|