@dedot/chaintypes 0.193.0 → 0.195.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 +13 -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 +13 -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 +13 -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 +14 -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 +13 -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 +14 -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 +13 -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 +13 -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 +14 -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 +15 -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 +14 -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 +14 -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 +13 -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 +14 -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 +13 -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 +14 -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 +14 -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 +13 -17
- package/westend/json-rpc.d.ts +3 -4
- 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 +14 -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 +13 -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 { DispatchError, AccountId32, H256, FixedBytes, Bytes, Result } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemDispatchEventInfo,
|
|
@@ -23,7 +23,7 @@ import type {
|
|
|
23
23
|
PalletProxyDepositKind,
|
|
24
24
|
} from './types.js';
|
|
25
25
|
|
|
26
|
-
export interface ChainEvents
|
|
26
|
+
export interface ChainEvents extends GenericChainEvents {
|
|
27
27
|
/**
|
|
28
28
|
* Pallet `System`'s events
|
|
29
29
|
**/
|
|
@@ -31,18 +31,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
31
31
|
/**
|
|
32
32
|
* An extrinsic completed successfully.
|
|
33
33
|
**/
|
|
34
|
-
ExtrinsicSuccess: GenericPalletEvent<
|
|
35
|
-
Rv,
|
|
36
|
-
'System',
|
|
37
|
-
'ExtrinsicSuccess',
|
|
38
|
-
{ dispatchInfo: FrameSystemDispatchEventInfo }
|
|
39
|
-
>;
|
|
34
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: FrameSystemDispatchEventInfo }>;
|
|
40
35
|
|
|
41
36
|
/**
|
|
42
37
|
* An extrinsic failed.
|
|
43
38
|
**/
|
|
44
39
|
ExtrinsicFailed: GenericPalletEvent<
|
|
45
|
-
Rv,
|
|
46
40
|
'System',
|
|
47
41
|
'ExtrinsicFailed',
|
|
48
42
|
{ dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
|
|
@@ -51,33 +45,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
51
45
|
/**
|
|
52
46
|
* `:code` was updated.
|
|
53
47
|
**/
|
|
54
|
-
CodeUpdated: GenericPalletEvent<
|
|
48
|
+
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
55
49
|
|
|
56
50
|
/**
|
|
57
51
|
* A new account was created.
|
|
58
52
|
**/
|
|
59
|
-
NewAccount: GenericPalletEvent<
|
|
53
|
+
NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
|
|
60
54
|
|
|
61
55
|
/**
|
|
62
56
|
* An account was reaped.
|
|
63
57
|
**/
|
|
64
|
-
KilledAccount: GenericPalletEvent<
|
|
58
|
+
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
|
|
65
59
|
|
|
66
60
|
/**
|
|
67
61
|
* On on-chain remark happened.
|
|
68
62
|
**/
|
|
69
|
-
Remarked: GenericPalletEvent<
|
|
63
|
+
Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
70
64
|
|
|
71
65
|
/**
|
|
72
66
|
* An upgrade was authorized.
|
|
73
67
|
**/
|
|
74
|
-
UpgradeAuthorized: GenericPalletEvent<
|
|
68
|
+
UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
75
69
|
|
|
76
70
|
/**
|
|
77
71
|
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
78
72
|
**/
|
|
79
73
|
RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
|
|
80
|
-
Rv,
|
|
81
74
|
'System',
|
|
82
75
|
'RejectedInvalidAuthorizedUpgrade',
|
|
83
76
|
{ codeHash: H256; error: DispatchError }
|
|
@@ -86,7 +79,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
86
79
|
/**
|
|
87
80
|
* Generic pallet event
|
|
88
81
|
**/
|
|
89
|
-
[prop: string]: GenericPalletEvent
|
|
82
|
+
[prop: string]: GenericPalletEvent;
|
|
90
83
|
};
|
|
91
84
|
/**
|
|
92
85
|
* Pallet `ParachainSystem`'s events
|
|
@@ -95,13 +88,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
95
88
|
/**
|
|
96
89
|
* The validation function has been scheduled to apply.
|
|
97
90
|
**/
|
|
98
|
-
ValidationFunctionStored: GenericPalletEvent<
|
|
91
|
+
ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
|
|
99
92
|
|
|
100
93
|
/**
|
|
101
94
|
* The validation function was applied as of the contained relay chain block number.
|
|
102
95
|
**/
|
|
103
96
|
ValidationFunctionApplied: GenericPalletEvent<
|
|
104
|
-
Rv,
|
|
105
97
|
'ParachainSystem',
|
|
106
98
|
'ValidationFunctionApplied',
|
|
107
99
|
{ relayChainBlockNum: number }
|
|
@@ -110,18 +102,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
110
102
|
/**
|
|
111
103
|
* The relay-chain aborted the upgrade process.
|
|
112
104
|
**/
|
|
113
|
-
ValidationFunctionDiscarded: GenericPalletEvent<
|
|
105
|
+
ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
114
106
|
|
|
115
107
|
/**
|
|
116
108
|
* Some downward messages have been received and will be processed.
|
|
117
109
|
**/
|
|
118
|
-
DownwardMessagesReceived: GenericPalletEvent<
|
|
110
|
+
DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
|
|
119
111
|
|
|
120
112
|
/**
|
|
121
113
|
* Downward messages were processed using the given weight.
|
|
122
114
|
**/
|
|
123
115
|
DownwardMessagesProcessed: GenericPalletEvent<
|
|
124
|
-
Rv,
|
|
125
116
|
'ParachainSystem',
|
|
126
117
|
'DownwardMessagesProcessed',
|
|
127
118
|
{ weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
|
|
@@ -131,7 +122,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
131
122
|
* An upward message was sent to the relay chain.
|
|
132
123
|
**/
|
|
133
124
|
UpwardMessageSent: GenericPalletEvent<
|
|
134
|
-
Rv,
|
|
135
125
|
'ParachainSystem',
|
|
136
126
|
'UpwardMessageSent',
|
|
137
127
|
{ messageHash?: FixedBytes<32> | undefined }
|
|
@@ -140,7 +130,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
140
130
|
/**
|
|
141
131
|
* Generic pallet event
|
|
142
132
|
**/
|
|
143
|
-
[prop: string]: GenericPalletEvent
|
|
133
|
+
[prop: string]: GenericPalletEvent;
|
|
144
134
|
};
|
|
145
135
|
/**
|
|
146
136
|
* Pallet `MultiBlockMigrations`'s events
|
|
@@ -152,7 +142,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
152
142
|
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
153
143
|
**/
|
|
154
144
|
UpgradeStarted: GenericPalletEvent<
|
|
155
|
-
Rv,
|
|
156
145
|
'MultiBlockMigrations',
|
|
157
146
|
'UpgradeStarted',
|
|
158
147
|
{
|
|
@@ -171,20 +160,19 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
171
160
|
*
|
|
172
161
|
* This implies that all of its migrations completed successfully as well.
|
|
173
162
|
**/
|
|
174
|
-
UpgradeCompleted: GenericPalletEvent<
|
|
163
|
+
UpgradeCompleted: GenericPalletEvent<'MultiBlockMigrations', 'UpgradeCompleted', null>;
|
|
175
164
|
|
|
176
165
|
/**
|
|
177
166
|
* Runtime upgrade failed.
|
|
178
167
|
*
|
|
179
168
|
* This is very bad and will require governance intervention.
|
|
180
169
|
**/
|
|
181
|
-
UpgradeFailed: GenericPalletEvent<
|
|
170
|
+
UpgradeFailed: GenericPalletEvent<'MultiBlockMigrations', 'UpgradeFailed', null>;
|
|
182
171
|
|
|
183
172
|
/**
|
|
184
173
|
* A migration was skipped since it was already executed in the past.
|
|
185
174
|
**/
|
|
186
175
|
MigrationSkipped: GenericPalletEvent<
|
|
187
|
-
Rv,
|
|
188
176
|
'MultiBlockMigrations',
|
|
189
177
|
'MigrationSkipped',
|
|
190
178
|
{
|
|
@@ -199,7 +187,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
199
187
|
* A migration progressed.
|
|
200
188
|
**/
|
|
201
189
|
MigrationAdvanced: GenericPalletEvent<
|
|
202
|
-
Rv,
|
|
203
190
|
'MultiBlockMigrations',
|
|
204
191
|
'MigrationAdvanced',
|
|
205
192
|
{
|
|
@@ -219,7 +206,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
219
206
|
* A Migration completed.
|
|
220
207
|
**/
|
|
221
208
|
MigrationCompleted: GenericPalletEvent<
|
|
222
|
-
Rv,
|
|
223
209
|
'MultiBlockMigrations',
|
|
224
210
|
'MigrationCompleted',
|
|
225
211
|
{
|
|
@@ -241,7 +227,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
241
227
|
* This implies that the whole upgrade failed and governance intervention is required.
|
|
242
228
|
**/
|
|
243
229
|
MigrationFailed: GenericPalletEvent<
|
|
244
|
-
Rv,
|
|
245
230
|
'MultiBlockMigrations',
|
|
246
231
|
'MigrationFailed',
|
|
247
232
|
{
|
|
@@ -261,7 +246,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
261
246
|
* The set of historical migrations has been cleared.
|
|
262
247
|
**/
|
|
263
248
|
HistoricCleared: GenericPalletEvent<
|
|
264
|
-
Rv,
|
|
265
249
|
'MultiBlockMigrations',
|
|
266
250
|
'HistoricCleared',
|
|
267
251
|
{
|
|
@@ -275,7 +259,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
275
259
|
/**
|
|
276
260
|
* Generic pallet event
|
|
277
261
|
**/
|
|
278
|
-
[prop: string]: GenericPalletEvent
|
|
262
|
+
[prop: string]: GenericPalletEvent;
|
|
279
263
|
};
|
|
280
264
|
/**
|
|
281
265
|
* Pallet `Balances`'s events
|
|
@@ -284,40 +268,39 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
284
268
|
/**
|
|
285
269
|
* An account was created with some free balance.
|
|
286
270
|
**/
|
|
287
|
-
Endowed: GenericPalletEvent<
|
|
271
|
+
Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
288
272
|
|
|
289
273
|
/**
|
|
290
274
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
291
275
|
* resulting in an outright loss.
|
|
292
276
|
**/
|
|
293
|
-
DustLost: GenericPalletEvent<
|
|
277
|
+
DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
294
278
|
|
|
295
279
|
/**
|
|
296
280
|
* Transfer succeeded.
|
|
297
281
|
**/
|
|
298
|
-
Transfer: GenericPalletEvent<
|
|
282
|
+
Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
299
283
|
|
|
300
284
|
/**
|
|
301
285
|
* A balance was set by root.
|
|
302
286
|
**/
|
|
303
|
-
BalanceSet: GenericPalletEvent<
|
|
287
|
+
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
304
288
|
|
|
305
289
|
/**
|
|
306
290
|
* Some balance was reserved (moved from free to reserved).
|
|
307
291
|
**/
|
|
308
|
-
Reserved: GenericPalletEvent<
|
|
292
|
+
Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
309
293
|
|
|
310
294
|
/**
|
|
311
295
|
* Some balance was unreserved (moved from reserved to free).
|
|
312
296
|
**/
|
|
313
|
-
Unreserved: GenericPalletEvent<
|
|
297
|
+
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
314
298
|
|
|
315
299
|
/**
|
|
316
300
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
317
301
|
* Final argument indicates the destination balance type.
|
|
318
302
|
**/
|
|
319
303
|
ReserveRepatriated: GenericPalletEvent<
|
|
320
|
-
Rv,
|
|
321
304
|
'Balances',
|
|
322
305
|
'ReserveRepatriated',
|
|
323
306
|
{ from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
|
|
@@ -326,87 +309,87 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
326
309
|
/**
|
|
327
310
|
* Some amount was deposited (e.g. for transaction fees).
|
|
328
311
|
**/
|
|
329
|
-
Deposit: GenericPalletEvent<
|
|
312
|
+
Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
330
313
|
|
|
331
314
|
/**
|
|
332
315
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
333
316
|
**/
|
|
334
|
-
Withdraw: GenericPalletEvent<
|
|
317
|
+
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
335
318
|
|
|
336
319
|
/**
|
|
337
320
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
338
321
|
**/
|
|
339
|
-
Slashed: GenericPalletEvent<
|
|
322
|
+
Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
340
323
|
|
|
341
324
|
/**
|
|
342
325
|
* Some amount was minted into an account.
|
|
343
326
|
**/
|
|
344
|
-
Minted: GenericPalletEvent<
|
|
327
|
+
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
345
328
|
|
|
346
329
|
/**
|
|
347
330
|
* Some amount was burned from an account.
|
|
348
331
|
**/
|
|
349
|
-
Burned: GenericPalletEvent<
|
|
332
|
+
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
350
333
|
|
|
351
334
|
/**
|
|
352
335
|
* Some amount was suspended from an account (it can be restored later).
|
|
353
336
|
**/
|
|
354
|
-
Suspended: GenericPalletEvent<
|
|
337
|
+
Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
355
338
|
|
|
356
339
|
/**
|
|
357
340
|
* Some amount was restored into an account.
|
|
358
341
|
**/
|
|
359
|
-
Restored: GenericPalletEvent<
|
|
342
|
+
Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
360
343
|
|
|
361
344
|
/**
|
|
362
345
|
* An account was upgraded.
|
|
363
346
|
**/
|
|
364
|
-
Upgraded: GenericPalletEvent<
|
|
347
|
+
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
365
348
|
|
|
366
349
|
/**
|
|
367
350
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
368
351
|
**/
|
|
369
|
-
Issued: GenericPalletEvent<
|
|
352
|
+
Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
|
|
370
353
|
|
|
371
354
|
/**
|
|
372
355
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
373
356
|
**/
|
|
374
|
-
Rescinded: GenericPalletEvent<
|
|
357
|
+
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
|
|
375
358
|
|
|
376
359
|
/**
|
|
377
360
|
* Some balance was locked.
|
|
378
361
|
**/
|
|
379
|
-
Locked: GenericPalletEvent<
|
|
362
|
+
Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
380
363
|
|
|
381
364
|
/**
|
|
382
365
|
* Some balance was unlocked.
|
|
383
366
|
**/
|
|
384
|
-
Unlocked: GenericPalletEvent<
|
|
367
|
+
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
385
368
|
|
|
386
369
|
/**
|
|
387
370
|
* Some balance was frozen.
|
|
388
371
|
**/
|
|
389
|
-
Frozen: GenericPalletEvent<
|
|
372
|
+
Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
390
373
|
|
|
391
374
|
/**
|
|
392
375
|
* Some balance was thawed.
|
|
393
376
|
**/
|
|
394
|
-
Thawed: GenericPalletEvent<
|
|
377
|
+
Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
395
378
|
|
|
396
379
|
/**
|
|
397
380
|
* The `TotalIssuance` was forcefully changed.
|
|
398
381
|
**/
|
|
399
|
-
TotalIssuanceForced: GenericPalletEvent<
|
|
382
|
+
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
400
383
|
|
|
401
384
|
/**
|
|
402
385
|
* An unexpected/defensive event was triggered.
|
|
403
386
|
**/
|
|
404
|
-
Unexpected: GenericPalletEvent<
|
|
387
|
+
Unexpected: GenericPalletEvent<'Balances', 'Unexpected', PalletBalancesUnexpectedKind>;
|
|
405
388
|
|
|
406
389
|
/**
|
|
407
390
|
* Generic pallet event
|
|
408
391
|
**/
|
|
409
|
-
[prop: string]: GenericPalletEvent
|
|
392
|
+
[prop: string]: GenericPalletEvent;
|
|
410
393
|
};
|
|
411
394
|
/**
|
|
412
395
|
* Pallet `TransactionPayment`'s events
|
|
@@ -417,7 +400,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
417
400
|
* has been paid by `who`.
|
|
418
401
|
**/
|
|
419
402
|
TransactionFeePaid: GenericPalletEvent<
|
|
420
|
-
Rv,
|
|
421
403
|
'TransactionPayment',
|
|
422
404
|
'TransactionFeePaid',
|
|
423
405
|
{ who: AccountId32; actualFee: bigint; tip: bigint }
|
|
@@ -426,7 +408,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
426
408
|
/**
|
|
427
409
|
* Generic pallet event
|
|
428
410
|
**/
|
|
429
|
-
[prop: string]: GenericPalletEvent
|
|
411
|
+
[prop: string]: GenericPalletEvent;
|
|
430
412
|
};
|
|
431
413
|
/**
|
|
432
414
|
* Pallet `CollatorSelection`'s events
|
|
@@ -436,7 +418,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
436
418
|
* New Invulnerables were set.
|
|
437
419
|
**/
|
|
438
420
|
NewInvulnerables: GenericPalletEvent<
|
|
439
|
-
Rv,
|
|
440
421
|
'CollatorSelection',
|
|
441
422
|
'NewInvulnerables',
|
|
442
423
|
{ invulnerables: Array<AccountId32> }
|
|
@@ -445,18 +426,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
445
426
|
/**
|
|
446
427
|
* A new Invulnerable was added.
|
|
447
428
|
**/
|
|
448
|
-
InvulnerableAdded: GenericPalletEvent<
|
|
429
|
+
InvulnerableAdded: GenericPalletEvent<'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
|
|
449
430
|
|
|
450
431
|
/**
|
|
451
432
|
* An Invulnerable was removed.
|
|
452
433
|
**/
|
|
453
|
-
InvulnerableRemoved: GenericPalletEvent<
|
|
434
|
+
InvulnerableRemoved: GenericPalletEvent<'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
|
|
454
435
|
|
|
455
436
|
/**
|
|
456
437
|
* The number of desired candidates was set.
|
|
457
438
|
**/
|
|
458
439
|
NewDesiredCandidates: GenericPalletEvent<
|
|
459
|
-
Rv,
|
|
460
440
|
'CollatorSelection',
|
|
461
441
|
'NewDesiredCandidates',
|
|
462
442
|
{ desiredCandidates: number }
|
|
@@ -465,13 +445,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
465
445
|
/**
|
|
466
446
|
* The candidacy bond was set.
|
|
467
447
|
**/
|
|
468
|
-
NewCandidacyBond: GenericPalletEvent<
|
|
448
|
+
NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
|
|
469
449
|
|
|
470
450
|
/**
|
|
471
451
|
* A new candidate joined.
|
|
472
452
|
**/
|
|
473
453
|
CandidateAdded: GenericPalletEvent<
|
|
474
|
-
Rv,
|
|
475
454
|
'CollatorSelection',
|
|
476
455
|
'CandidateAdded',
|
|
477
456
|
{ accountId: AccountId32; deposit: bigint }
|
|
@@ -481,7 +460,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
481
460
|
* Bond of a candidate updated.
|
|
482
461
|
**/
|
|
483
462
|
CandidateBondUpdated: GenericPalletEvent<
|
|
484
|
-
Rv,
|
|
485
463
|
'CollatorSelection',
|
|
486
464
|
'CandidateBondUpdated',
|
|
487
465
|
{ accountId: AccountId32; deposit: bigint }
|
|
@@ -490,13 +468,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
490
468
|
/**
|
|
491
469
|
* A candidate was removed.
|
|
492
470
|
**/
|
|
493
|
-
CandidateRemoved: GenericPalletEvent<
|
|
471
|
+
CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
|
|
494
472
|
|
|
495
473
|
/**
|
|
496
474
|
* An account was replaced in the candidate list by another one.
|
|
497
475
|
**/
|
|
498
476
|
CandidateReplaced: GenericPalletEvent<
|
|
499
|
-
Rv,
|
|
500
477
|
'CollatorSelection',
|
|
501
478
|
'CandidateReplaced',
|
|
502
479
|
{ old: AccountId32; new: AccountId32; deposit: bigint }
|
|
@@ -507,7 +484,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
507
484
|
* registered. Other Invulnerables may have been set.
|
|
508
485
|
**/
|
|
509
486
|
InvalidInvulnerableSkipped: GenericPalletEvent<
|
|
510
|
-
Rv,
|
|
511
487
|
'CollatorSelection',
|
|
512
488
|
'InvalidInvulnerableSkipped',
|
|
513
489
|
{ accountId: AccountId32 }
|
|
@@ -516,7 +492,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
516
492
|
/**
|
|
517
493
|
* Generic pallet event
|
|
518
494
|
**/
|
|
519
|
-
[prop: string]: GenericPalletEvent
|
|
495
|
+
[prop: string]: GenericPalletEvent;
|
|
520
496
|
};
|
|
521
497
|
/**
|
|
522
498
|
* Pallet `Session`'s events
|
|
@@ -526,28 +502,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
526
502
|
* New session has happened. Note that the argument is the session index, not the
|
|
527
503
|
* block number as the type might suggest.
|
|
528
504
|
**/
|
|
529
|
-
NewSession: GenericPalletEvent<
|
|
505
|
+
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
530
506
|
|
|
531
507
|
/**
|
|
532
508
|
* The `NewSession` event in the current block also implies a new validator set to be
|
|
533
509
|
* queued.
|
|
534
510
|
**/
|
|
535
|
-
NewQueued: GenericPalletEvent<
|
|
511
|
+
NewQueued: GenericPalletEvent<'Session', 'NewQueued', null>;
|
|
536
512
|
|
|
537
513
|
/**
|
|
538
514
|
* Validator has been disabled.
|
|
539
515
|
**/
|
|
540
|
-
ValidatorDisabled: GenericPalletEvent<
|
|
516
|
+
ValidatorDisabled: GenericPalletEvent<'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
|
|
541
517
|
|
|
542
518
|
/**
|
|
543
519
|
* Validator has been re-enabled.
|
|
544
520
|
**/
|
|
545
|
-
ValidatorReenabled: GenericPalletEvent<
|
|
521
|
+
ValidatorReenabled: GenericPalletEvent<'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
|
|
546
522
|
|
|
547
523
|
/**
|
|
548
524
|
* Generic pallet event
|
|
549
525
|
**/
|
|
550
|
-
[prop: string]: GenericPalletEvent
|
|
526
|
+
[prop: string]: GenericPalletEvent;
|
|
551
527
|
};
|
|
552
528
|
/**
|
|
553
529
|
* Pallet `XcmpQueue`'s events
|
|
@@ -556,12 +532,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
556
532
|
/**
|
|
557
533
|
* An HRMP message was sent to a sibling parachain.
|
|
558
534
|
**/
|
|
559
|
-
XcmpMessageSent: GenericPalletEvent<
|
|
535
|
+
XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
|
|
560
536
|
|
|
561
537
|
/**
|
|
562
538
|
* Generic pallet event
|
|
563
539
|
**/
|
|
564
|
-
[prop: string]: GenericPalletEvent
|
|
540
|
+
[prop: string]: GenericPalletEvent;
|
|
565
541
|
};
|
|
566
542
|
/**
|
|
567
543
|
* Pallet `PolkadotXcm`'s events
|
|
@@ -570,13 +546,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
570
546
|
/**
|
|
571
547
|
* Execution of an XCM message was attempted.
|
|
572
548
|
**/
|
|
573
|
-
Attempted: GenericPalletEvent<
|
|
549
|
+
Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
574
550
|
|
|
575
551
|
/**
|
|
576
552
|
* An XCM message was sent.
|
|
577
553
|
**/
|
|
578
554
|
Sent: GenericPalletEvent<
|
|
579
|
-
Rv,
|
|
580
555
|
'PolkadotXcm',
|
|
581
556
|
'Sent',
|
|
582
557
|
{
|
|
@@ -591,7 +566,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
591
566
|
* An XCM message failed to send.
|
|
592
567
|
**/
|
|
593
568
|
SendFailed: GenericPalletEvent<
|
|
594
|
-
Rv,
|
|
595
569
|
'PolkadotXcm',
|
|
596
570
|
'SendFailed',
|
|
597
571
|
{
|
|
@@ -606,7 +580,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
606
580
|
* An XCM message failed to process.
|
|
607
581
|
**/
|
|
608
582
|
ProcessXcmError: GenericPalletEvent<
|
|
609
|
-
Rv,
|
|
610
583
|
'PolkadotXcm',
|
|
611
584
|
'ProcessXcmError',
|
|
612
585
|
{ origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
|
|
@@ -618,7 +591,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
618
591
|
* because the query timed out.
|
|
619
592
|
**/
|
|
620
593
|
UnexpectedResponse: GenericPalletEvent<
|
|
621
|
-
Rv,
|
|
622
594
|
'PolkadotXcm',
|
|
623
595
|
'UnexpectedResponse',
|
|
624
596
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -629,7 +601,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
629
601
|
* no registered notification call.
|
|
630
602
|
**/
|
|
631
603
|
ResponseReady: GenericPalletEvent<
|
|
632
|
-
Rv,
|
|
633
604
|
'PolkadotXcm',
|
|
634
605
|
'ResponseReady',
|
|
635
606
|
{ queryId: bigint; response: StagingXcmV5Response }
|
|
@@ -640,7 +611,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
640
611
|
* been dispatched and executed successfully.
|
|
641
612
|
**/
|
|
642
613
|
Notified: GenericPalletEvent<
|
|
643
|
-
Rv,
|
|
644
614
|
'PolkadotXcm',
|
|
645
615
|
'Notified',
|
|
646
616
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -652,7 +622,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
652
622
|
* originally budgeted by this runtime for the query result.
|
|
653
623
|
**/
|
|
654
624
|
NotifyOverweight: GenericPalletEvent<
|
|
655
|
-
Rv,
|
|
656
625
|
'PolkadotXcm',
|
|
657
626
|
'NotifyOverweight',
|
|
658
627
|
{
|
|
@@ -669,7 +638,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
669
638
|
* dispatching the notification call.
|
|
670
639
|
**/
|
|
671
640
|
NotifyDispatchError: GenericPalletEvent<
|
|
672
|
-
Rv,
|
|
673
641
|
'PolkadotXcm',
|
|
674
642
|
'NotifyDispatchError',
|
|
675
643
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -681,7 +649,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
681
649
|
* is not `(origin, QueryId, Response)`.
|
|
682
650
|
**/
|
|
683
651
|
NotifyDecodeFailed: GenericPalletEvent<
|
|
684
|
-
Rv,
|
|
685
652
|
'PolkadotXcm',
|
|
686
653
|
'NotifyDecodeFailed',
|
|
687
654
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -693,7 +660,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
693
660
|
* be received and acted upon.
|
|
694
661
|
**/
|
|
695
662
|
InvalidResponder: GenericPalletEvent<
|
|
696
|
-
Rv,
|
|
697
663
|
'PolkadotXcm',
|
|
698
664
|
'InvalidResponder',
|
|
699
665
|
{ origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
|
|
@@ -709,7 +675,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
709
675
|
* needed.
|
|
710
676
|
**/
|
|
711
677
|
InvalidResponderVersion: GenericPalletEvent<
|
|
712
|
-
Rv,
|
|
713
678
|
'PolkadotXcm',
|
|
714
679
|
'InvalidResponderVersion',
|
|
715
680
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -718,13 +683,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
718
683
|
/**
|
|
719
684
|
* Received query response has been read and removed.
|
|
720
685
|
**/
|
|
721
|
-
ResponseTaken: GenericPalletEvent<
|
|
686
|
+
ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
|
|
722
687
|
|
|
723
688
|
/**
|
|
724
689
|
* Some assets have been placed in an asset trap.
|
|
725
690
|
**/
|
|
726
691
|
AssetsTrapped: GenericPalletEvent<
|
|
727
|
-
Rv,
|
|
728
692
|
'PolkadotXcm',
|
|
729
693
|
'AssetsTrapped',
|
|
730
694
|
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
@@ -736,7 +700,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
736
700
|
* The cost of sending it (borne by the chain) is included.
|
|
737
701
|
**/
|
|
738
702
|
VersionChangeNotified: GenericPalletEvent<
|
|
739
|
-
Rv,
|
|
740
703
|
'PolkadotXcm',
|
|
741
704
|
'VersionChangeNotified',
|
|
742
705
|
{ destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -747,7 +710,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
747
710
|
* automatic notification or a manual intervention.
|
|
748
711
|
**/
|
|
749
712
|
SupportedVersionChanged: GenericPalletEvent<
|
|
750
|
-
Rv,
|
|
751
713
|
'PolkadotXcm',
|
|
752
714
|
'SupportedVersionChanged',
|
|
753
715
|
{ location: StagingXcmV5Location; version: number }
|
|
@@ -758,7 +720,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
758
720
|
* sending the notification to it.
|
|
759
721
|
**/
|
|
760
722
|
NotifyTargetSendFail: GenericPalletEvent<
|
|
761
|
-
Rv,
|
|
762
723
|
'PolkadotXcm',
|
|
763
724
|
'NotifyTargetSendFail',
|
|
764
725
|
{ location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
|
|
@@ -769,7 +730,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
769
730
|
* migrating the location to our new XCM format.
|
|
770
731
|
**/
|
|
771
732
|
NotifyTargetMigrationFail: GenericPalletEvent<
|
|
772
|
-
Rv,
|
|
773
733
|
'PolkadotXcm',
|
|
774
734
|
'NotifyTargetMigrationFail',
|
|
775
735
|
{ location: XcmVersionedLocation; queryId: bigint }
|
|
@@ -785,7 +745,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
785
745
|
* needed.
|
|
786
746
|
**/
|
|
787
747
|
InvalidQuerierVersion: GenericPalletEvent<
|
|
788
|
-
Rv,
|
|
789
748
|
'PolkadotXcm',
|
|
790
749
|
'InvalidQuerierVersion',
|
|
791
750
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -797,7 +756,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
797
756
|
* be received and acted upon.
|
|
798
757
|
**/
|
|
799
758
|
InvalidQuerier: GenericPalletEvent<
|
|
800
|
-
Rv,
|
|
801
759
|
'PolkadotXcm',
|
|
802
760
|
'InvalidQuerier',
|
|
803
761
|
{
|
|
@@ -813,7 +771,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
813
771
|
* A version information message is sent to them and its cost is included.
|
|
814
772
|
**/
|
|
815
773
|
VersionNotifyStarted: GenericPalletEvent<
|
|
816
|
-
Rv,
|
|
817
774
|
'PolkadotXcm',
|
|
818
775
|
'VersionNotifyStarted',
|
|
819
776
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -823,7 +780,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
823
780
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
824
781
|
**/
|
|
825
782
|
VersionNotifyRequested: GenericPalletEvent<
|
|
826
|
-
Rv,
|
|
827
783
|
'PolkadotXcm',
|
|
828
784
|
'VersionNotifyRequested',
|
|
829
785
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -834,7 +790,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
834
790
|
* notifications.
|
|
835
791
|
**/
|
|
836
792
|
VersionNotifyUnrequested: GenericPalletEvent<
|
|
837
|
-
Rv,
|
|
838
793
|
'PolkadotXcm',
|
|
839
794
|
'VersionNotifyUnrequested',
|
|
840
795
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -844,7 +799,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
844
799
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
845
800
|
**/
|
|
846
801
|
FeesPaid: GenericPalletEvent<
|
|
847
|
-
Rv,
|
|
848
802
|
'PolkadotXcm',
|
|
849
803
|
'FeesPaid',
|
|
850
804
|
{ paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
|
|
@@ -854,7 +808,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
854
808
|
* Some assets have been claimed from an asset trap
|
|
855
809
|
**/
|
|
856
810
|
AssetsClaimed: GenericPalletEvent<
|
|
857
|
-
Rv,
|
|
858
811
|
'PolkadotXcm',
|
|
859
812
|
'AssetsClaimed',
|
|
860
813
|
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
@@ -863,14 +816,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
863
816
|
/**
|
|
864
817
|
* A XCM version migration finished.
|
|
865
818
|
**/
|
|
866
|
-
VersionMigrationFinished: GenericPalletEvent<
|
|
819
|
+
VersionMigrationFinished: GenericPalletEvent<'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
|
|
867
820
|
|
|
868
821
|
/**
|
|
869
822
|
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
870
823
|
* `expiry` block number.
|
|
871
824
|
**/
|
|
872
825
|
AliasAuthorized: GenericPalletEvent<
|
|
873
|
-
Rv,
|
|
874
826
|
'PolkadotXcm',
|
|
875
827
|
'AliasAuthorized',
|
|
876
828
|
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
|
|
@@ -880,7 +832,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
880
832
|
* `target` removed alias authorization for `aliaser`.
|
|
881
833
|
**/
|
|
882
834
|
AliasAuthorizationRemoved: GenericPalletEvent<
|
|
883
|
-
Rv,
|
|
884
835
|
'PolkadotXcm',
|
|
885
836
|
'AliasAuthorizationRemoved',
|
|
886
837
|
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
|
|
@@ -890,7 +841,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
890
841
|
* `target` removed all alias authorizations.
|
|
891
842
|
**/
|
|
892
843
|
AliasesAuthorizationsRemoved: GenericPalletEvent<
|
|
893
|
-
Rv,
|
|
894
844
|
'PolkadotXcm',
|
|
895
845
|
'AliasesAuthorizationsRemoved',
|
|
896
846
|
{ target: StagingXcmV5Location }
|
|
@@ -899,7 +849,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
899
849
|
/**
|
|
900
850
|
* Generic pallet event
|
|
901
851
|
**/
|
|
902
|
-
[prop: string]: GenericPalletEvent
|
|
852
|
+
[prop: string]: GenericPalletEvent;
|
|
903
853
|
};
|
|
904
854
|
/**
|
|
905
855
|
* Pallet `CumulusXcm`'s events
|
|
@@ -909,29 +859,24 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
909
859
|
* Downward message is invalid XCM.
|
|
910
860
|
* \[ id \]
|
|
911
861
|
**/
|
|
912
|
-
InvalidFormat: GenericPalletEvent<
|
|
862
|
+
InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
|
|
913
863
|
|
|
914
864
|
/**
|
|
915
865
|
* Downward message is unsupported version of XCM.
|
|
916
866
|
* \[ id \]
|
|
917
867
|
**/
|
|
918
|
-
UnsupportedVersion: GenericPalletEvent<
|
|
868
|
+
UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
|
|
919
869
|
|
|
920
870
|
/**
|
|
921
871
|
* Downward message executed with the given outcome.
|
|
922
872
|
* \[ id, outcome \]
|
|
923
873
|
**/
|
|
924
|
-
ExecutedDownward: GenericPalletEvent<
|
|
925
|
-
Rv,
|
|
926
|
-
'CumulusXcm',
|
|
927
|
-
'ExecutedDownward',
|
|
928
|
-
[FixedBytes<32>, StagingXcmV5TraitsOutcome]
|
|
929
|
-
>;
|
|
874
|
+
ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, StagingXcmV5TraitsOutcome]>;
|
|
930
875
|
|
|
931
876
|
/**
|
|
932
877
|
* Generic pallet event
|
|
933
878
|
**/
|
|
934
|
-
[prop: string]: GenericPalletEvent
|
|
879
|
+
[prop: string]: GenericPalletEvent;
|
|
935
880
|
};
|
|
936
881
|
/**
|
|
937
882
|
* Pallet `MessageQueue`'s events
|
|
@@ -941,7 +886,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
941
886
|
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
942
887
|
**/
|
|
943
888
|
ProcessingFailed: GenericPalletEvent<
|
|
944
|
-
Rv,
|
|
945
889
|
'MessageQueue',
|
|
946
890
|
'ProcessingFailed',
|
|
947
891
|
{
|
|
@@ -969,7 +913,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
969
913
|
* Message is processed.
|
|
970
914
|
**/
|
|
971
915
|
Processed: GenericPalletEvent<
|
|
972
|
-
Rv,
|
|
973
916
|
'MessageQueue',
|
|
974
917
|
'Processed',
|
|
975
918
|
{
|
|
@@ -1004,7 +947,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1004
947
|
* Message placed in overweight queue.
|
|
1005
948
|
**/
|
|
1006
949
|
OverweightEnqueued: GenericPalletEvent<
|
|
1007
|
-
Rv,
|
|
1008
950
|
'MessageQueue',
|
|
1009
951
|
'OverweightEnqueued',
|
|
1010
952
|
{
|
|
@@ -1034,7 +976,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1034
976
|
* This page was reaped.
|
|
1035
977
|
**/
|
|
1036
978
|
PageReaped: GenericPalletEvent<
|
|
1037
|
-
Rv,
|
|
1038
979
|
'MessageQueue',
|
|
1039
980
|
'PageReaped',
|
|
1040
981
|
{
|
|
@@ -1053,7 +994,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1053
994
|
/**
|
|
1054
995
|
* Generic pallet event
|
|
1055
996
|
**/
|
|
1056
|
-
[prop: string]: GenericPalletEvent
|
|
997
|
+
[prop: string]: GenericPalletEvent;
|
|
1057
998
|
};
|
|
1058
999
|
/**
|
|
1059
1000
|
* Pallet `Utility`'s events
|
|
@@ -1063,47 +1004,47 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1063
1004
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
1064
1005
|
* well as the error.
|
|
1065
1006
|
**/
|
|
1066
|
-
BatchInterrupted: GenericPalletEvent<
|
|
1007
|
+
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
1067
1008
|
|
|
1068
1009
|
/**
|
|
1069
1010
|
* Batch of dispatches completed fully with no error.
|
|
1070
1011
|
**/
|
|
1071
|
-
BatchCompleted: GenericPalletEvent<
|
|
1012
|
+
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
1072
1013
|
|
|
1073
1014
|
/**
|
|
1074
1015
|
* Batch of dispatches completed but has errors.
|
|
1075
1016
|
**/
|
|
1076
|
-
BatchCompletedWithErrors: GenericPalletEvent<
|
|
1017
|
+
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
1077
1018
|
|
|
1078
1019
|
/**
|
|
1079
1020
|
* A single item within a Batch of dispatches has completed with no error.
|
|
1080
1021
|
**/
|
|
1081
|
-
ItemCompleted: GenericPalletEvent<
|
|
1022
|
+
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
1082
1023
|
|
|
1083
1024
|
/**
|
|
1084
1025
|
* A single item within a Batch of dispatches has completed with error.
|
|
1085
1026
|
**/
|
|
1086
|
-
ItemFailed: GenericPalletEvent<
|
|
1027
|
+
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
1087
1028
|
|
|
1088
1029
|
/**
|
|
1089
1030
|
* A call was dispatched.
|
|
1090
1031
|
**/
|
|
1091
|
-
DispatchedAs: GenericPalletEvent<
|
|
1032
|
+
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
1092
1033
|
|
|
1093
1034
|
/**
|
|
1094
1035
|
* Main call was dispatched.
|
|
1095
1036
|
**/
|
|
1096
|
-
IfElseMainSuccess: GenericPalletEvent<
|
|
1037
|
+
IfElseMainSuccess: GenericPalletEvent<'Utility', 'IfElseMainSuccess', null>;
|
|
1097
1038
|
|
|
1098
1039
|
/**
|
|
1099
1040
|
* The fallback call was dispatched.
|
|
1100
1041
|
**/
|
|
1101
|
-
IfElseFallbackCalled: GenericPalletEvent<
|
|
1042
|
+
IfElseFallbackCalled: GenericPalletEvent<'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
|
|
1102
1043
|
|
|
1103
1044
|
/**
|
|
1104
1045
|
* Generic pallet event
|
|
1105
1046
|
**/
|
|
1106
|
-
[prop: string]: GenericPalletEvent
|
|
1047
|
+
[prop: string]: GenericPalletEvent;
|
|
1107
1048
|
};
|
|
1108
1049
|
/**
|
|
1109
1050
|
* Pallet `Multisig`'s events
|
|
@@ -1113,7 +1054,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1113
1054
|
* A new multisig operation has begun.
|
|
1114
1055
|
**/
|
|
1115
1056
|
NewMultisig: GenericPalletEvent<
|
|
1116
|
-
Rv,
|
|
1117
1057
|
'Multisig',
|
|
1118
1058
|
'NewMultisig',
|
|
1119
1059
|
{ approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1123,7 +1063,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1123
1063
|
* A multisig operation has been approved by someone.
|
|
1124
1064
|
**/
|
|
1125
1065
|
MultisigApproval: GenericPalletEvent<
|
|
1126
|
-
Rv,
|
|
1127
1066
|
'Multisig',
|
|
1128
1067
|
'MultisigApproval',
|
|
1129
1068
|
{ approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1133,7 +1072,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1133
1072
|
* A multisig operation has been executed.
|
|
1134
1073
|
**/
|
|
1135
1074
|
MultisigExecuted: GenericPalletEvent<
|
|
1136
|
-
Rv,
|
|
1137
1075
|
'Multisig',
|
|
1138
1076
|
'MultisigExecuted',
|
|
1139
1077
|
{
|
|
@@ -1149,7 +1087,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1149
1087
|
* A multisig operation has been cancelled.
|
|
1150
1088
|
**/
|
|
1151
1089
|
MultisigCancelled: GenericPalletEvent<
|
|
1152
|
-
Rv,
|
|
1153
1090
|
'Multisig',
|
|
1154
1091
|
'MultisigCancelled',
|
|
1155
1092
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1159,7 +1096,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1159
1096
|
* The deposit for a multisig operation has been updated/poked.
|
|
1160
1097
|
**/
|
|
1161
1098
|
DepositPoked: GenericPalletEvent<
|
|
1162
|
-
Rv,
|
|
1163
1099
|
'Multisig',
|
|
1164
1100
|
'DepositPoked',
|
|
1165
1101
|
{ who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -1168,7 +1104,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1168
1104
|
/**
|
|
1169
1105
|
* Generic pallet event
|
|
1170
1106
|
**/
|
|
1171
|
-
[prop: string]: GenericPalletEvent
|
|
1107
|
+
[prop: string]: GenericPalletEvent;
|
|
1172
1108
|
};
|
|
1173
1109
|
/**
|
|
1174
1110
|
* Pallet `Proxy`'s events
|
|
@@ -1177,14 +1113,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1177
1113
|
/**
|
|
1178
1114
|
* A proxy was executed correctly, with the given.
|
|
1179
1115
|
**/
|
|
1180
|
-
ProxyExecuted: GenericPalletEvent<
|
|
1116
|
+
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
1181
1117
|
|
|
1182
1118
|
/**
|
|
1183
1119
|
* A pure account has been created by new proxy with given
|
|
1184
1120
|
* disambiguation index and proxy type.
|
|
1185
1121
|
**/
|
|
1186
1122
|
PureCreated: GenericPalletEvent<
|
|
1187
|
-
Rv,
|
|
1188
1123
|
'Proxy',
|
|
1189
1124
|
'PureCreated',
|
|
1190
1125
|
{ pure: AccountId32; who: AccountId32; proxyType: PeoplePolkadotRuntimeProxyType; disambiguationIndex: number }
|
|
@@ -1194,7 +1129,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1194
1129
|
* A pure proxy was killed by its spawner.
|
|
1195
1130
|
**/
|
|
1196
1131
|
PureKilled: GenericPalletEvent<
|
|
1197
|
-
Rv,
|
|
1198
1132
|
'Proxy',
|
|
1199
1133
|
'PureKilled',
|
|
1200
1134
|
{
|
|
@@ -1208,13 +1142,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1208
1142
|
/**
|
|
1209
1143
|
* An announcement was placed to make a call in the future.
|
|
1210
1144
|
**/
|
|
1211
|
-
Announced: GenericPalletEvent<
|
|
1145
|
+
Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
1212
1146
|
|
|
1213
1147
|
/**
|
|
1214
1148
|
* A proxy was added.
|
|
1215
1149
|
**/
|
|
1216
1150
|
ProxyAdded: GenericPalletEvent<
|
|
1217
|
-
Rv,
|
|
1218
1151
|
'Proxy',
|
|
1219
1152
|
'ProxyAdded',
|
|
1220
1153
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: PeoplePolkadotRuntimeProxyType; delay: number }
|
|
@@ -1224,7 +1157,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1224
1157
|
* A proxy was removed.
|
|
1225
1158
|
**/
|
|
1226
1159
|
ProxyRemoved: GenericPalletEvent<
|
|
1227
|
-
Rv,
|
|
1228
1160
|
'Proxy',
|
|
1229
1161
|
'ProxyRemoved',
|
|
1230
1162
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: PeoplePolkadotRuntimeProxyType; delay: number }
|
|
@@ -1234,7 +1166,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1234
1166
|
* A deposit stored for proxies or announcements was poked / updated.
|
|
1235
1167
|
**/
|
|
1236
1168
|
DepositPoked: GenericPalletEvent<
|
|
1237
|
-
Rv,
|
|
1238
1169
|
'Proxy',
|
|
1239
1170
|
'DepositPoked',
|
|
1240
1171
|
{ who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -1243,7 +1174,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1243
1174
|
/**
|
|
1244
1175
|
* Generic pallet event
|
|
1245
1176
|
**/
|
|
1246
|
-
[prop: string]: GenericPalletEvent
|
|
1177
|
+
[prop: string]: GenericPalletEvent;
|
|
1247
1178
|
};
|
|
1248
1179
|
/**
|
|
1249
1180
|
* Pallet `Identity`'s events
|
|
@@ -1252,23 +1183,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1252
1183
|
/**
|
|
1253
1184
|
* A name was set or reset (which will remove all judgements).
|
|
1254
1185
|
**/
|
|
1255
|
-
IdentitySet: GenericPalletEvent<
|
|
1186
|
+
IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
|
|
1256
1187
|
|
|
1257
1188
|
/**
|
|
1258
1189
|
* A name was cleared, and the given balance returned.
|
|
1259
1190
|
**/
|
|
1260
|
-
IdentityCleared: GenericPalletEvent<
|
|
1191
|
+
IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
|
|
1261
1192
|
|
|
1262
1193
|
/**
|
|
1263
1194
|
* A name was removed and the given balance slashed.
|
|
1264
1195
|
**/
|
|
1265
|
-
IdentityKilled: GenericPalletEvent<
|
|
1196
|
+
IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
|
|
1266
1197
|
|
|
1267
1198
|
/**
|
|
1268
1199
|
* A judgement was asked from a registrar.
|
|
1269
1200
|
**/
|
|
1270
1201
|
JudgementRequested: GenericPalletEvent<
|
|
1271
|
-
Rv,
|
|
1272
1202
|
'Identity',
|
|
1273
1203
|
'JudgementRequested',
|
|
1274
1204
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -1278,7 +1208,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1278
1208
|
* A judgement request was retracted.
|
|
1279
1209
|
**/
|
|
1280
1210
|
JudgementUnrequested: GenericPalletEvent<
|
|
1281
|
-
Rv,
|
|
1282
1211
|
'Identity',
|
|
1283
1212
|
'JudgementUnrequested',
|
|
1284
1213
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -1287,23 +1216,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1287
1216
|
/**
|
|
1288
1217
|
* A judgement was given by a registrar.
|
|
1289
1218
|
**/
|
|
1290
|
-
JudgementGiven: GenericPalletEvent<
|
|
1291
|
-
Rv,
|
|
1292
|
-
'Identity',
|
|
1293
|
-
'JudgementGiven',
|
|
1294
|
-
{ target: AccountId32; registrarIndex: number }
|
|
1295
|
-
>;
|
|
1219
|
+
JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId32; registrarIndex: number }>;
|
|
1296
1220
|
|
|
1297
1221
|
/**
|
|
1298
1222
|
* A registrar was added.
|
|
1299
1223
|
**/
|
|
1300
|
-
RegistrarAdded: GenericPalletEvent<
|
|
1224
|
+
RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
|
|
1301
1225
|
|
|
1302
1226
|
/**
|
|
1303
1227
|
* A sub-identity was added to an identity and the deposit paid.
|
|
1304
1228
|
**/
|
|
1305
1229
|
SubIdentityAdded: GenericPalletEvent<
|
|
1306
|
-
Rv,
|
|
1307
1230
|
'Identity',
|
|
1308
1231
|
'SubIdentityAdded',
|
|
1309
1232
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -1313,7 +1236,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1313
1236
|
* An account's sub-identities were set (in bulk).
|
|
1314
1237
|
**/
|
|
1315
1238
|
SubIdentitiesSet: GenericPalletEvent<
|
|
1316
|
-
Rv,
|
|
1317
1239
|
'Identity',
|
|
1318
1240
|
'SubIdentitiesSet',
|
|
1319
1241
|
{ main: AccountId32; numberOfSubs: number; newDeposit: bigint }
|
|
@@ -1322,18 +1244,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1322
1244
|
/**
|
|
1323
1245
|
* A given sub-account's associated name was changed by its super-identity.
|
|
1324
1246
|
**/
|
|
1325
|
-
SubIdentityRenamed: GenericPalletEvent<
|
|
1326
|
-
Rv,
|
|
1327
|
-
'Identity',
|
|
1328
|
-
'SubIdentityRenamed',
|
|
1329
|
-
{ sub: AccountId32; main: AccountId32 }
|
|
1330
|
-
>;
|
|
1247
|
+
SubIdentityRenamed: GenericPalletEvent<'Identity', 'SubIdentityRenamed', { sub: AccountId32; main: AccountId32 }>;
|
|
1331
1248
|
|
|
1332
1249
|
/**
|
|
1333
1250
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
1334
1251
|
**/
|
|
1335
1252
|
SubIdentityRemoved: GenericPalletEvent<
|
|
1336
|
-
Rv,
|
|
1337
1253
|
'Identity',
|
|
1338
1254
|
'SubIdentityRemoved',
|
|
1339
1255
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -1344,7 +1260,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1344
1260
|
* main identity account to the sub-identity account.
|
|
1345
1261
|
**/
|
|
1346
1262
|
SubIdentityRevoked: GenericPalletEvent<
|
|
1347
|
-
Rv,
|
|
1348
1263
|
'Identity',
|
|
1349
1264
|
'SubIdentityRevoked',
|
|
1350
1265
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -1353,23 +1268,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1353
1268
|
/**
|
|
1354
1269
|
* A username authority was added.
|
|
1355
1270
|
**/
|
|
1356
|
-
AuthorityAdded: GenericPalletEvent<
|
|
1271
|
+
AuthorityAdded: GenericPalletEvent<'Identity', 'AuthorityAdded', { authority: AccountId32 }>;
|
|
1357
1272
|
|
|
1358
1273
|
/**
|
|
1359
1274
|
* A username authority was removed.
|
|
1360
1275
|
**/
|
|
1361
|
-
AuthorityRemoved: GenericPalletEvent<
|
|
1276
|
+
AuthorityRemoved: GenericPalletEvent<'Identity', 'AuthorityRemoved', { authority: AccountId32 }>;
|
|
1362
1277
|
|
|
1363
1278
|
/**
|
|
1364
1279
|
* A username was set for `who`.
|
|
1365
1280
|
**/
|
|
1366
|
-
UsernameSet: GenericPalletEvent<
|
|
1281
|
+
UsernameSet: GenericPalletEvent<'Identity', 'UsernameSet', { who: AccountId32; username: Bytes }>;
|
|
1367
1282
|
|
|
1368
1283
|
/**
|
|
1369
1284
|
* A username was queued, but `who` must accept it prior to `expiration`.
|
|
1370
1285
|
**/
|
|
1371
1286
|
UsernameQueued: GenericPalletEvent<
|
|
1372
|
-
Rv,
|
|
1373
1287
|
'Identity',
|
|
1374
1288
|
'UsernameQueued',
|
|
1375
1289
|
{ who: AccountId32; username: Bytes; expiration: number }
|
|
@@ -1378,19 +1292,18 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1378
1292
|
/**
|
|
1379
1293
|
* A queued username passed its expiration without being claimed and was removed.
|
|
1380
1294
|
**/
|
|
1381
|
-
PreapprovalExpired: GenericPalletEvent<
|
|
1295
|
+
PreapprovalExpired: GenericPalletEvent<'Identity', 'PreapprovalExpired', { whose: AccountId32 }>;
|
|
1382
1296
|
|
|
1383
1297
|
/**
|
|
1384
1298
|
* A username was set as a primary and can be looked up from `who`.
|
|
1385
1299
|
**/
|
|
1386
|
-
PrimaryUsernameSet: GenericPalletEvent<
|
|
1300
|
+
PrimaryUsernameSet: GenericPalletEvent<'Identity', 'PrimaryUsernameSet', { who: AccountId32; username: Bytes }>;
|
|
1387
1301
|
|
|
1388
1302
|
/**
|
|
1389
1303
|
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
1390
1304
|
* identity) has been removed.
|
|
1391
1305
|
**/
|
|
1392
1306
|
DanglingUsernameRemoved: GenericPalletEvent<
|
|
1393
|
-
Rv,
|
|
1394
1307
|
'Identity',
|
|
1395
1308
|
'DanglingUsernameRemoved',
|
|
1396
1309
|
{ who: AccountId32; username: Bytes }
|
|
@@ -1399,21 +1312,21 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1399
1312
|
/**
|
|
1400
1313
|
* A username has been unbound.
|
|
1401
1314
|
**/
|
|
1402
|
-
UsernameUnbound: GenericPalletEvent<
|
|
1315
|
+
UsernameUnbound: GenericPalletEvent<'Identity', 'UsernameUnbound', { username: Bytes }>;
|
|
1403
1316
|
|
|
1404
1317
|
/**
|
|
1405
1318
|
* A username has been removed.
|
|
1406
1319
|
**/
|
|
1407
|
-
UsernameRemoved: GenericPalletEvent<
|
|
1320
|
+
UsernameRemoved: GenericPalletEvent<'Identity', 'UsernameRemoved', { username: Bytes }>;
|
|
1408
1321
|
|
|
1409
1322
|
/**
|
|
1410
1323
|
* A username has been killed.
|
|
1411
1324
|
**/
|
|
1412
|
-
UsernameKilled: GenericPalletEvent<
|
|
1325
|
+
UsernameKilled: GenericPalletEvent<'Identity', 'UsernameKilled', { username: Bytes }>;
|
|
1413
1326
|
|
|
1414
1327
|
/**
|
|
1415
1328
|
* Generic pallet event
|
|
1416
1329
|
**/
|
|
1417
|
-
[prop: string]: GenericPalletEvent
|
|
1330
|
+
[prop: string]: GenericPalletEvent;
|
|
1418
1331
|
};
|
|
1419
1332
|
}
|