@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
package/polkadot/events.d.ts
CHANGED
|
@@ -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,
|
|
@@ -67,7 +67,7 @@ import type {
|
|
|
67
67
|
PalletRcMigratorMigrationSettings,
|
|
68
68
|
} from './types.js';
|
|
69
69
|
|
|
70
|
-
export interface ChainEvents
|
|
70
|
+
export interface ChainEvents extends GenericChainEvents {
|
|
71
71
|
/**
|
|
72
72
|
* Pallet `System`'s events
|
|
73
73
|
**/
|
|
@@ -75,18 +75,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
75
75
|
/**
|
|
76
76
|
* An extrinsic completed successfully.
|
|
77
77
|
**/
|
|
78
|
-
ExtrinsicSuccess: GenericPalletEvent<
|
|
79
|
-
Rv,
|
|
80
|
-
'System',
|
|
81
|
-
'ExtrinsicSuccess',
|
|
82
|
-
{ dispatchInfo: FrameSystemDispatchEventInfo }
|
|
83
|
-
>;
|
|
78
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: FrameSystemDispatchEventInfo }>;
|
|
84
79
|
|
|
85
80
|
/**
|
|
86
81
|
* An extrinsic failed.
|
|
87
82
|
**/
|
|
88
83
|
ExtrinsicFailed: GenericPalletEvent<
|
|
89
|
-
Rv,
|
|
90
84
|
'System',
|
|
91
85
|
'ExtrinsicFailed',
|
|
92
86
|
{ dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
|
|
@@ -95,33 +89,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
95
89
|
/**
|
|
96
90
|
* `:code` was updated.
|
|
97
91
|
**/
|
|
98
|
-
CodeUpdated: GenericPalletEvent<
|
|
92
|
+
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
99
93
|
|
|
100
94
|
/**
|
|
101
95
|
* A new account was created.
|
|
102
96
|
**/
|
|
103
|
-
NewAccount: GenericPalletEvent<
|
|
97
|
+
NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
|
|
104
98
|
|
|
105
99
|
/**
|
|
106
100
|
* An account was reaped.
|
|
107
101
|
**/
|
|
108
|
-
KilledAccount: GenericPalletEvent<
|
|
102
|
+
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
|
|
109
103
|
|
|
110
104
|
/**
|
|
111
105
|
* On on-chain remark happened.
|
|
112
106
|
**/
|
|
113
|
-
Remarked: GenericPalletEvent<
|
|
107
|
+
Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
114
108
|
|
|
115
109
|
/**
|
|
116
110
|
* An upgrade was authorized.
|
|
117
111
|
**/
|
|
118
|
-
UpgradeAuthorized: GenericPalletEvent<
|
|
112
|
+
UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
119
113
|
|
|
120
114
|
/**
|
|
121
115
|
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
122
116
|
**/
|
|
123
117
|
RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
|
|
124
|
-
Rv,
|
|
125
118
|
'System',
|
|
126
119
|
'RejectedInvalidAuthorizedUpgrade',
|
|
127
120
|
{ codeHash: H256; error: DispatchError }
|
|
@@ -130,7 +123,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
130
123
|
/**
|
|
131
124
|
* Generic pallet event
|
|
132
125
|
**/
|
|
133
|
-
[prop: string]: GenericPalletEvent
|
|
126
|
+
[prop: string]: GenericPalletEvent;
|
|
134
127
|
};
|
|
135
128
|
/**
|
|
136
129
|
* Pallet `Scheduler`'s events
|
|
@@ -139,18 +132,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
139
132
|
/**
|
|
140
133
|
* Scheduled some task.
|
|
141
134
|
**/
|
|
142
|
-
Scheduled: GenericPalletEvent<
|
|
135
|
+
Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
|
|
143
136
|
|
|
144
137
|
/**
|
|
145
138
|
* Canceled some task.
|
|
146
139
|
**/
|
|
147
|
-
Canceled: GenericPalletEvent<
|
|
140
|
+
Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
|
|
148
141
|
|
|
149
142
|
/**
|
|
150
143
|
* Dispatched some task.
|
|
151
144
|
**/
|
|
152
145
|
Dispatched: GenericPalletEvent<
|
|
153
|
-
Rv,
|
|
154
146
|
'Scheduler',
|
|
155
147
|
'Dispatched',
|
|
156
148
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
|
|
@@ -160,7 +152,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
160
152
|
* Set a retry configuration for some task.
|
|
161
153
|
**/
|
|
162
154
|
RetrySet: GenericPalletEvent<
|
|
163
|
-
Rv,
|
|
164
155
|
'Scheduler',
|
|
165
156
|
'RetrySet',
|
|
166
157
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; period: number; retries: number }
|
|
@@ -170,7 +161,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
170
161
|
* Cancel a retry configuration for some task.
|
|
171
162
|
**/
|
|
172
163
|
RetryCancelled: GenericPalletEvent<
|
|
173
|
-
Rv,
|
|
174
164
|
'Scheduler',
|
|
175
165
|
'RetryCancelled',
|
|
176
166
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -180,7 +170,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
180
170
|
* The call for the provided hash was not found so the task has been aborted.
|
|
181
171
|
**/
|
|
182
172
|
CallUnavailable: GenericPalletEvent<
|
|
183
|
-
Rv,
|
|
184
173
|
'Scheduler',
|
|
185
174
|
'CallUnavailable',
|
|
186
175
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -190,7 +179,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
190
179
|
* The given task was unable to be renewed since the agenda is full at that block.
|
|
191
180
|
**/
|
|
192
181
|
PeriodicFailed: GenericPalletEvent<
|
|
193
|
-
Rv,
|
|
194
182
|
'Scheduler',
|
|
195
183
|
'PeriodicFailed',
|
|
196
184
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -201,7 +189,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
201
189
|
* was not enough weight to reschedule it.
|
|
202
190
|
**/
|
|
203
191
|
RetryFailed: GenericPalletEvent<
|
|
204
|
-
Rv,
|
|
205
192
|
'Scheduler',
|
|
206
193
|
'RetryFailed',
|
|
207
194
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -211,7 +198,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
211
198
|
* The given task can never be executed since it is overweight.
|
|
212
199
|
**/
|
|
213
200
|
PermanentlyOverweight: GenericPalletEvent<
|
|
214
|
-
Rv,
|
|
215
201
|
'Scheduler',
|
|
216
202
|
'PermanentlyOverweight',
|
|
217
203
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -220,12 +206,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
220
206
|
/**
|
|
221
207
|
* Agenda is incomplete from `when`.
|
|
222
208
|
**/
|
|
223
|
-
AgendaIncomplete: GenericPalletEvent<
|
|
209
|
+
AgendaIncomplete: GenericPalletEvent<'Scheduler', 'AgendaIncomplete', { when: number }>;
|
|
224
210
|
|
|
225
211
|
/**
|
|
226
212
|
* Generic pallet event
|
|
227
213
|
**/
|
|
228
|
-
[prop: string]: GenericPalletEvent
|
|
214
|
+
[prop: string]: GenericPalletEvent;
|
|
229
215
|
};
|
|
230
216
|
/**
|
|
231
217
|
* Pallet `Preimage`'s events
|
|
@@ -234,22 +220,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
234
220
|
/**
|
|
235
221
|
* A preimage has been noted.
|
|
236
222
|
**/
|
|
237
|
-
Noted: GenericPalletEvent<
|
|
223
|
+
Noted: GenericPalletEvent<'Preimage', 'Noted', { hash: H256 }>;
|
|
238
224
|
|
|
239
225
|
/**
|
|
240
226
|
* A preimage has been requested.
|
|
241
227
|
**/
|
|
242
|
-
Requested: GenericPalletEvent<
|
|
228
|
+
Requested: GenericPalletEvent<'Preimage', 'Requested', { hash: H256 }>;
|
|
243
229
|
|
|
244
230
|
/**
|
|
245
231
|
* A preimage has ben cleared.
|
|
246
232
|
**/
|
|
247
|
-
Cleared: GenericPalletEvent<
|
|
233
|
+
Cleared: GenericPalletEvent<'Preimage', 'Cleared', { hash: H256 }>;
|
|
248
234
|
|
|
249
235
|
/**
|
|
250
236
|
* Generic pallet event
|
|
251
237
|
**/
|
|
252
|
-
[prop: string]: GenericPalletEvent
|
|
238
|
+
[prop: string]: GenericPalletEvent;
|
|
253
239
|
};
|
|
254
240
|
/**
|
|
255
241
|
* Pallet `Indices`'s events
|
|
@@ -258,23 +244,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
258
244
|
/**
|
|
259
245
|
* A account index was assigned.
|
|
260
246
|
**/
|
|
261
|
-
IndexAssigned: GenericPalletEvent<
|
|
247
|
+
IndexAssigned: GenericPalletEvent<'Indices', 'IndexAssigned', { who: AccountId32; index: number }>;
|
|
262
248
|
|
|
263
249
|
/**
|
|
264
250
|
* A account index has been freed up (unassigned).
|
|
265
251
|
**/
|
|
266
|
-
IndexFreed: GenericPalletEvent<
|
|
252
|
+
IndexFreed: GenericPalletEvent<'Indices', 'IndexFreed', { index: number }>;
|
|
267
253
|
|
|
268
254
|
/**
|
|
269
255
|
* A account index has been frozen to its current account ID.
|
|
270
256
|
**/
|
|
271
|
-
IndexFrozen: GenericPalletEvent<
|
|
257
|
+
IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
|
|
272
258
|
|
|
273
259
|
/**
|
|
274
260
|
* A deposit to reserve an index has been poked/reconsidered.
|
|
275
261
|
**/
|
|
276
262
|
DepositPoked: GenericPalletEvent<
|
|
277
|
-
Rv,
|
|
278
263
|
'Indices',
|
|
279
264
|
'DepositPoked',
|
|
280
265
|
{ who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -283,7 +268,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
283
268
|
/**
|
|
284
269
|
* Generic pallet event
|
|
285
270
|
**/
|
|
286
|
-
[prop: string]: GenericPalletEvent
|
|
271
|
+
[prop: string]: GenericPalletEvent;
|
|
287
272
|
};
|
|
288
273
|
/**
|
|
289
274
|
* Pallet `Balances`'s events
|
|
@@ -292,40 +277,39 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
292
277
|
/**
|
|
293
278
|
* An account was created with some free balance.
|
|
294
279
|
**/
|
|
295
|
-
Endowed: GenericPalletEvent<
|
|
280
|
+
Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
296
281
|
|
|
297
282
|
/**
|
|
298
283
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
299
284
|
* resulting in an outright loss.
|
|
300
285
|
**/
|
|
301
|
-
DustLost: GenericPalletEvent<
|
|
286
|
+
DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
302
287
|
|
|
303
288
|
/**
|
|
304
289
|
* Transfer succeeded.
|
|
305
290
|
**/
|
|
306
|
-
Transfer: GenericPalletEvent<
|
|
291
|
+
Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
307
292
|
|
|
308
293
|
/**
|
|
309
294
|
* A balance was set by root.
|
|
310
295
|
**/
|
|
311
|
-
BalanceSet: GenericPalletEvent<
|
|
296
|
+
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
312
297
|
|
|
313
298
|
/**
|
|
314
299
|
* Some balance was reserved (moved from free to reserved).
|
|
315
300
|
**/
|
|
316
|
-
Reserved: GenericPalletEvent<
|
|
301
|
+
Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
317
302
|
|
|
318
303
|
/**
|
|
319
304
|
* Some balance was unreserved (moved from reserved to free).
|
|
320
305
|
**/
|
|
321
|
-
Unreserved: GenericPalletEvent<
|
|
306
|
+
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
322
307
|
|
|
323
308
|
/**
|
|
324
309
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
325
310
|
* Final argument indicates the destination balance type.
|
|
326
311
|
**/
|
|
327
312
|
ReserveRepatriated: GenericPalletEvent<
|
|
328
|
-
Rv,
|
|
329
313
|
'Balances',
|
|
330
314
|
'ReserveRepatriated',
|
|
331
315
|
{ from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
|
|
@@ -334,87 +318,87 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
334
318
|
/**
|
|
335
319
|
* Some amount was deposited (e.g. for transaction fees).
|
|
336
320
|
**/
|
|
337
|
-
Deposit: GenericPalletEvent<
|
|
321
|
+
Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
338
322
|
|
|
339
323
|
/**
|
|
340
324
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
341
325
|
**/
|
|
342
|
-
Withdraw: GenericPalletEvent<
|
|
326
|
+
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
343
327
|
|
|
344
328
|
/**
|
|
345
329
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
346
330
|
**/
|
|
347
|
-
Slashed: GenericPalletEvent<
|
|
331
|
+
Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
348
332
|
|
|
349
333
|
/**
|
|
350
334
|
* Some amount was minted into an account.
|
|
351
335
|
**/
|
|
352
|
-
Minted: GenericPalletEvent<
|
|
336
|
+
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
353
337
|
|
|
354
338
|
/**
|
|
355
339
|
* Some amount was burned from an account.
|
|
356
340
|
**/
|
|
357
|
-
Burned: GenericPalletEvent<
|
|
341
|
+
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
358
342
|
|
|
359
343
|
/**
|
|
360
344
|
* Some amount was suspended from an account (it can be restored later).
|
|
361
345
|
**/
|
|
362
|
-
Suspended: GenericPalletEvent<
|
|
346
|
+
Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
363
347
|
|
|
364
348
|
/**
|
|
365
349
|
* Some amount was restored into an account.
|
|
366
350
|
**/
|
|
367
|
-
Restored: GenericPalletEvent<
|
|
351
|
+
Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
368
352
|
|
|
369
353
|
/**
|
|
370
354
|
* An account was upgraded.
|
|
371
355
|
**/
|
|
372
|
-
Upgraded: GenericPalletEvent<
|
|
356
|
+
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
373
357
|
|
|
374
358
|
/**
|
|
375
359
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
376
360
|
**/
|
|
377
|
-
Issued: GenericPalletEvent<
|
|
361
|
+
Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
|
|
378
362
|
|
|
379
363
|
/**
|
|
380
364
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
381
365
|
**/
|
|
382
|
-
Rescinded: GenericPalletEvent<
|
|
366
|
+
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
|
|
383
367
|
|
|
384
368
|
/**
|
|
385
369
|
* Some balance was locked.
|
|
386
370
|
**/
|
|
387
|
-
Locked: GenericPalletEvent<
|
|
371
|
+
Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
388
372
|
|
|
389
373
|
/**
|
|
390
374
|
* Some balance was unlocked.
|
|
391
375
|
**/
|
|
392
|
-
Unlocked: GenericPalletEvent<
|
|
376
|
+
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
393
377
|
|
|
394
378
|
/**
|
|
395
379
|
* Some balance was frozen.
|
|
396
380
|
**/
|
|
397
|
-
Frozen: GenericPalletEvent<
|
|
381
|
+
Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
398
382
|
|
|
399
383
|
/**
|
|
400
384
|
* Some balance was thawed.
|
|
401
385
|
**/
|
|
402
|
-
Thawed: GenericPalletEvent<
|
|
386
|
+
Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
403
387
|
|
|
404
388
|
/**
|
|
405
389
|
* The `TotalIssuance` was forcefully changed.
|
|
406
390
|
**/
|
|
407
|
-
TotalIssuanceForced: GenericPalletEvent<
|
|
391
|
+
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
408
392
|
|
|
409
393
|
/**
|
|
410
394
|
* An unexpected/defensive event was triggered.
|
|
411
395
|
**/
|
|
412
|
-
Unexpected: GenericPalletEvent<
|
|
396
|
+
Unexpected: GenericPalletEvent<'Balances', 'Unexpected', PalletBalancesUnexpectedKind>;
|
|
413
397
|
|
|
414
398
|
/**
|
|
415
399
|
* Generic pallet event
|
|
416
400
|
**/
|
|
417
|
-
[prop: string]: GenericPalletEvent
|
|
401
|
+
[prop: string]: GenericPalletEvent;
|
|
418
402
|
};
|
|
419
403
|
/**
|
|
420
404
|
* Pallet `TransactionPayment`'s events
|
|
@@ -425,7 +409,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
425
409
|
* has been paid by `who`.
|
|
426
410
|
**/
|
|
427
411
|
TransactionFeePaid: GenericPalletEvent<
|
|
428
|
-
Rv,
|
|
429
412
|
'TransactionPayment',
|
|
430
413
|
'TransactionFeePaid',
|
|
431
414
|
{ who: AccountId32; actualFee: bigint; tip: bigint }
|
|
@@ -434,7 +417,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
434
417
|
/**
|
|
435
418
|
* Generic pallet event
|
|
436
419
|
**/
|
|
437
|
-
[prop: string]: GenericPalletEvent
|
|
420
|
+
[prop: string]: GenericPalletEvent;
|
|
438
421
|
};
|
|
439
422
|
/**
|
|
440
423
|
* Pallet `Staking`'s events
|
|
@@ -444,18 +427,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
444
427
|
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
445
428
|
* the remainder from the maximum amount of reward.
|
|
446
429
|
**/
|
|
447
|
-
EraPaid: GenericPalletEvent<
|
|
448
|
-
Rv,
|
|
449
|
-
'Staking',
|
|
450
|
-
'EraPaid',
|
|
451
|
-
{ eraIndex: number; validatorPayout: bigint; remainder: bigint }
|
|
452
|
-
>;
|
|
430
|
+
EraPaid: GenericPalletEvent<'Staking', 'EraPaid', { eraIndex: number; validatorPayout: bigint; remainder: bigint }>;
|
|
453
431
|
|
|
454
432
|
/**
|
|
455
433
|
* The nominator has been rewarded by this amount to this destination.
|
|
456
434
|
**/
|
|
457
435
|
Rewarded: GenericPalletEvent<
|
|
458
|
-
Rv,
|
|
459
436
|
'Staking',
|
|
460
437
|
'Rewarded',
|
|
461
438
|
{ stash: AccountId32; dest: PalletStakingRewardDestination; amount: bigint }
|
|
@@ -464,14 +441,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
464
441
|
/**
|
|
465
442
|
* A staker (validator or nominator) has been slashed by the given amount.
|
|
466
443
|
**/
|
|
467
|
-
Slashed: GenericPalletEvent<
|
|
444
|
+
Slashed: GenericPalletEvent<'Staking', 'Slashed', { staker: AccountId32; amount: bigint }>;
|
|
468
445
|
|
|
469
446
|
/**
|
|
470
447
|
* A slash for the given validator, for the given percentage of their stake, at the given
|
|
471
448
|
* era as been reported.
|
|
472
449
|
**/
|
|
473
450
|
SlashReported: GenericPalletEvent<
|
|
474
|
-
Rv,
|
|
475
451
|
'Staking',
|
|
476
452
|
'SlashReported',
|
|
477
453
|
{ validator: AccountId32; fraction: Perbill; slashEra: number }
|
|
@@ -481,17 +457,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
481
457
|
* An old slashing report from a prior era was discarded because it could
|
|
482
458
|
* not be processed.
|
|
483
459
|
**/
|
|
484
|
-
OldSlashingReportDiscarded: GenericPalletEvent<
|
|
485
|
-
Rv,
|
|
486
|
-
'Staking',
|
|
487
|
-
'OldSlashingReportDiscarded',
|
|
488
|
-
{ sessionIndex: number }
|
|
489
|
-
>;
|
|
460
|
+
OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', { sessionIndex: number }>;
|
|
490
461
|
|
|
491
462
|
/**
|
|
492
463
|
* A new set of stakers was elected.
|
|
493
464
|
**/
|
|
494
|
-
StakersElected: GenericPalletEvent<
|
|
465
|
+
StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
|
|
495
466
|
|
|
496
467
|
/**
|
|
497
468
|
* An account has bonded this amount. \[stash, amount\]
|
|
@@ -499,39 +470,38 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
499
470
|
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
|
500
471
|
* it will not be emitted for staking rewards when they are added to stake.
|
|
501
472
|
**/
|
|
502
|
-
Bonded: GenericPalletEvent<
|
|
473
|
+
Bonded: GenericPalletEvent<'Staking', 'Bonded', { stash: AccountId32; amount: bigint }>;
|
|
503
474
|
|
|
504
475
|
/**
|
|
505
476
|
* An account has unbonded this amount.
|
|
506
477
|
**/
|
|
507
|
-
Unbonded: GenericPalletEvent<
|
|
478
|
+
Unbonded: GenericPalletEvent<'Staking', 'Unbonded', { stash: AccountId32; amount: bigint }>;
|
|
508
479
|
|
|
509
480
|
/**
|
|
510
481
|
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
|
511
482
|
* from the unlocking queue.
|
|
512
483
|
**/
|
|
513
|
-
Withdrawn: GenericPalletEvent<
|
|
484
|
+
Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', { stash: AccountId32; amount: bigint }>;
|
|
514
485
|
|
|
515
486
|
/**
|
|
516
487
|
* A nominator has been kicked from a validator.
|
|
517
488
|
**/
|
|
518
|
-
Kicked: GenericPalletEvent<
|
|
489
|
+
Kicked: GenericPalletEvent<'Staking', 'Kicked', { nominator: AccountId32; stash: AccountId32 }>;
|
|
519
490
|
|
|
520
491
|
/**
|
|
521
492
|
* The election failed. No new era is planned.
|
|
522
493
|
**/
|
|
523
|
-
StakingElectionFailed: GenericPalletEvent<
|
|
494
|
+
StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
|
|
524
495
|
|
|
525
496
|
/**
|
|
526
497
|
* An account has stopped participating as either a validator or nominator.
|
|
527
498
|
**/
|
|
528
|
-
Chilled: GenericPalletEvent<
|
|
499
|
+
Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
|
|
529
500
|
|
|
530
501
|
/**
|
|
531
502
|
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
|
532
503
|
**/
|
|
533
504
|
PayoutStarted: GenericPalletEvent<
|
|
534
|
-
Rv,
|
|
535
505
|
'Staking',
|
|
536
506
|
'PayoutStarted',
|
|
537
507
|
{ eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined }
|
|
@@ -541,7 +511,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
541
511
|
* A validator has set their preferences.
|
|
542
512
|
**/
|
|
543
513
|
ValidatorPrefsSet: GenericPalletEvent<
|
|
544
|
-
Rv,
|
|
545
514
|
'Staking',
|
|
546
515
|
'ValidatorPrefsSet',
|
|
547
516
|
{ stash: AccountId32; prefs: PalletStakingValidatorPrefs }
|
|
@@ -550,38 +519,33 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
550
519
|
/**
|
|
551
520
|
* Voters size limit reached.
|
|
552
521
|
**/
|
|
553
|
-
SnapshotVotersSizeExceeded: GenericPalletEvent<
|
|
522
|
+
SnapshotVotersSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotVotersSizeExceeded', { size: number }>;
|
|
554
523
|
|
|
555
524
|
/**
|
|
556
525
|
* Targets size limit reached.
|
|
557
526
|
**/
|
|
558
|
-
SnapshotTargetsSizeExceeded: GenericPalletEvent<
|
|
527
|
+
SnapshotTargetsSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotTargetsSizeExceeded', { size: number }>;
|
|
559
528
|
|
|
560
529
|
/**
|
|
561
530
|
* A new force era mode was set.
|
|
562
531
|
**/
|
|
563
|
-
ForceEra: GenericPalletEvent<
|
|
532
|
+
ForceEra: GenericPalletEvent<'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
|
|
564
533
|
|
|
565
534
|
/**
|
|
566
535
|
* Report of a controller batch deprecation.
|
|
567
536
|
**/
|
|
568
|
-
ControllerBatchDeprecated: GenericPalletEvent<
|
|
537
|
+
ControllerBatchDeprecated: GenericPalletEvent<'Staking', 'ControllerBatchDeprecated', { failures: number }>;
|
|
569
538
|
|
|
570
539
|
/**
|
|
571
540
|
* Staking balance migrated from locks to holds, with any balance that could not be held
|
|
572
541
|
* is force withdrawn.
|
|
573
542
|
**/
|
|
574
|
-
CurrencyMigrated: GenericPalletEvent<
|
|
575
|
-
Rv,
|
|
576
|
-
'Staking',
|
|
577
|
-
'CurrencyMigrated',
|
|
578
|
-
{ stash: AccountId32; forceWithdraw: bigint }
|
|
579
|
-
>;
|
|
543
|
+
CurrencyMigrated: GenericPalletEvent<'Staking', 'CurrencyMigrated', { stash: AccountId32; forceWithdraw: bigint }>;
|
|
580
544
|
|
|
581
545
|
/**
|
|
582
546
|
* Generic pallet event
|
|
583
547
|
**/
|
|
584
|
-
[prop: string]: GenericPalletEvent
|
|
548
|
+
[prop: string]: GenericPalletEvent;
|
|
585
549
|
};
|
|
586
550
|
/**
|
|
587
551
|
* Pallet `Offences`'s events
|
|
@@ -592,12 +556,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
592
556
|
* (kind-specific) time slot. This event is not deposited for duplicate slashes.
|
|
593
557
|
* \[kind, timeslot\].
|
|
594
558
|
**/
|
|
595
|
-
Offence: GenericPalletEvent<
|
|
559
|
+
Offence: GenericPalletEvent<'Offences', 'Offence', { kind: FixedBytes<16>; timeslot: Bytes }>;
|
|
596
560
|
|
|
597
561
|
/**
|
|
598
562
|
* Generic pallet event
|
|
599
563
|
**/
|
|
600
|
-
[prop: string]: GenericPalletEvent
|
|
564
|
+
[prop: string]: GenericPalletEvent;
|
|
601
565
|
};
|
|
602
566
|
/**
|
|
603
567
|
* Pallet `Historical`'s events
|
|
@@ -606,17 +570,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
606
570
|
/**
|
|
607
571
|
* The merkle root of the validators of the said session were stored
|
|
608
572
|
**/
|
|
609
|
-
RootStored: GenericPalletEvent<
|
|
573
|
+
RootStored: GenericPalletEvent<'Historical', 'RootStored', { index: number }>;
|
|
610
574
|
|
|
611
575
|
/**
|
|
612
576
|
* The merkle roots of up to this session index were pruned
|
|
613
577
|
**/
|
|
614
|
-
RootsPruned: GenericPalletEvent<
|
|
578
|
+
RootsPruned: GenericPalletEvent<'Historical', 'RootsPruned', { upTo: number }>;
|
|
615
579
|
|
|
616
580
|
/**
|
|
617
581
|
* Generic pallet event
|
|
618
582
|
**/
|
|
619
|
-
[prop: string]: GenericPalletEvent
|
|
583
|
+
[prop: string]: GenericPalletEvent;
|
|
620
584
|
};
|
|
621
585
|
/**
|
|
622
586
|
* Pallet `Session`'s events
|
|
@@ -626,28 +590,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
626
590
|
* New session has happened. Note that the argument is the session index, not the
|
|
627
591
|
* block number as the type might suggest.
|
|
628
592
|
**/
|
|
629
|
-
NewSession: GenericPalletEvent<
|
|
593
|
+
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
630
594
|
|
|
631
595
|
/**
|
|
632
596
|
* The `NewSession` event in the current block also implies a new validator set to be
|
|
633
597
|
* queued.
|
|
634
598
|
**/
|
|
635
|
-
NewQueued: GenericPalletEvent<
|
|
599
|
+
NewQueued: GenericPalletEvent<'Session', 'NewQueued', null>;
|
|
636
600
|
|
|
637
601
|
/**
|
|
638
602
|
* Validator has been disabled.
|
|
639
603
|
**/
|
|
640
|
-
ValidatorDisabled: GenericPalletEvent<
|
|
604
|
+
ValidatorDisabled: GenericPalletEvent<'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
|
|
641
605
|
|
|
642
606
|
/**
|
|
643
607
|
* Validator has been re-enabled.
|
|
644
608
|
**/
|
|
645
|
-
ValidatorReenabled: GenericPalletEvent<
|
|
609
|
+
ValidatorReenabled: GenericPalletEvent<'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
|
|
646
610
|
|
|
647
611
|
/**
|
|
648
612
|
* Generic pallet event
|
|
649
613
|
**/
|
|
650
|
-
[prop: string]: GenericPalletEvent
|
|
614
|
+
[prop: string]: GenericPalletEvent;
|
|
651
615
|
};
|
|
652
616
|
/**
|
|
653
617
|
* Pallet `Grandpa`'s events
|
|
@@ -657,7 +621,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
657
621
|
* New authority set has been applied.
|
|
658
622
|
**/
|
|
659
623
|
NewAuthorities: GenericPalletEvent<
|
|
660
|
-
Rv,
|
|
661
624
|
'Grandpa',
|
|
662
625
|
'NewAuthorities',
|
|
663
626
|
{ authoritySet: Array<[SpConsensusGrandpaAppPublic, bigint]> }
|
|
@@ -666,17 +629,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
666
629
|
/**
|
|
667
630
|
* Current authority set has been paused.
|
|
668
631
|
**/
|
|
669
|
-
Paused: GenericPalletEvent<
|
|
632
|
+
Paused: GenericPalletEvent<'Grandpa', 'Paused', null>;
|
|
670
633
|
|
|
671
634
|
/**
|
|
672
635
|
* Current authority set has been resumed.
|
|
673
636
|
**/
|
|
674
|
-
Resumed: GenericPalletEvent<
|
|
637
|
+
Resumed: GenericPalletEvent<'Grandpa', 'Resumed', null>;
|
|
675
638
|
|
|
676
639
|
/**
|
|
677
640
|
* Generic pallet event
|
|
678
641
|
**/
|
|
679
|
-
[prop: string]: GenericPalletEvent
|
|
642
|
+
[prop: string]: GenericPalletEvent;
|
|
680
643
|
};
|
|
681
644
|
/**
|
|
682
645
|
* Pallet `Treasury`'s events
|
|
@@ -685,38 +648,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
685
648
|
/**
|
|
686
649
|
* We have ended a spend period and will now allocate funds.
|
|
687
650
|
**/
|
|
688
|
-
Spending: GenericPalletEvent<
|
|
651
|
+
Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
|
|
689
652
|
|
|
690
653
|
/**
|
|
691
654
|
* Some funds have been allocated.
|
|
692
655
|
**/
|
|
693
|
-
Awarded: GenericPalletEvent<
|
|
694
|
-
Rv,
|
|
695
|
-
'Treasury',
|
|
696
|
-
'Awarded',
|
|
697
|
-
{ proposalIndex: number; award: bigint; account: AccountId32 }
|
|
698
|
-
>;
|
|
656
|
+
Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId32 }>;
|
|
699
657
|
|
|
700
658
|
/**
|
|
701
659
|
* Some of our funds have been burnt.
|
|
702
660
|
**/
|
|
703
|
-
Burnt: GenericPalletEvent<
|
|
661
|
+
Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
|
|
704
662
|
|
|
705
663
|
/**
|
|
706
664
|
* Spending has finished; this is the amount that rolls over until next spend.
|
|
707
665
|
**/
|
|
708
|
-
Rollover: GenericPalletEvent<
|
|
666
|
+
Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
|
|
709
667
|
|
|
710
668
|
/**
|
|
711
669
|
* Some funds have been deposited.
|
|
712
670
|
**/
|
|
713
|
-
Deposit: GenericPalletEvent<
|
|
671
|
+
Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
|
|
714
672
|
|
|
715
673
|
/**
|
|
716
674
|
* A new spend proposal has been approved.
|
|
717
675
|
**/
|
|
718
676
|
SpendApproved: GenericPalletEvent<
|
|
719
|
-
Rv,
|
|
720
677
|
'Treasury',
|
|
721
678
|
'SpendApproved',
|
|
722
679
|
{ proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
|
|
@@ -725,18 +682,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
725
682
|
/**
|
|
726
683
|
* The inactive funds of the pallet have been updated.
|
|
727
684
|
**/
|
|
728
|
-
UpdatedInactive: GenericPalletEvent<
|
|
729
|
-
Rv,
|
|
730
|
-
'Treasury',
|
|
731
|
-
'UpdatedInactive',
|
|
732
|
-
{ reactivated: bigint; deactivated: bigint }
|
|
733
|
-
>;
|
|
685
|
+
UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
|
|
734
686
|
|
|
735
687
|
/**
|
|
736
688
|
* A new asset spend proposal has been approved.
|
|
737
689
|
**/
|
|
738
690
|
AssetSpendApproved: GenericPalletEvent<
|
|
739
|
-
Rv,
|
|
740
691
|
'Treasury',
|
|
741
692
|
'AssetSpendApproved',
|
|
742
693
|
{
|
|
@@ -752,28 +703,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
752
703
|
/**
|
|
753
704
|
* An approved spend was voided.
|
|
754
705
|
**/
|
|
755
|
-
AssetSpendVoided: GenericPalletEvent<
|
|
706
|
+
AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', { index: number }>;
|
|
756
707
|
|
|
757
708
|
/**
|
|
758
709
|
* A payment happened.
|
|
759
710
|
**/
|
|
760
|
-
Paid: GenericPalletEvent<
|
|
711
|
+
Paid: GenericPalletEvent<'Treasury', 'Paid', { index: number; paymentId: bigint }>;
|
|
761
712
|
|
|
762
713
|
/**
|
|
763
714
|
* A payment failed and can be retried.
|
|
764
715
|
**/
|
|
765
|
-
PaymentFailed: GenericPalletEvent<
|
|
716
|
+
PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', { index: number; paymentId: bigint }>;
|
|
766
717
|
|
|
767
718
|
/**
|
|
768
719
|
* A spend was processed and removed from the storage. It might have been successfully
|
|
769
720
|
* paid or it may have expired.
|
|
770
721
|
**/
|
|
771
|
-
SpendProcessed: GenericPalletEvent<
|
|
722
|
+
SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', { index: number }>;
|
|
772
723
|
|
|
773
724
|
/**
|
|
774
725
|
* Generic pallet event
|
|
775
726
|
**/
|
|
776
|
-
[prop: string]: GenericPalletEvent
|
|
727
|
+
[prop: string]: GenericPalletEvent;
|
|
777
728
|
};
|
|
778
729
|
/**
|
|
779
730
|
* Pallet `ConvictionVoting`'s events
|
|
@@ -782,18 +733,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
782
733
|
/**
|
|
783
734
|
* An account has delegated their vote to another account. \[who, target\]
|
|
784
735
|
**/
|
|
785
|
-
Delegated: GenericPalletEvent<
|
|
736
|
+
Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
|
|
786
737
|
|
|
787
738
|
/**
|
|
788
739
|
* An \[account\] has cancelled a previous delegation operation.
|
|
789
740
|
**/
|
|
790
|
-
Undelegated: GenericPalletEvent<
|
|
741
|
+
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
|
|
791
742
|
|
|
792
743
|
/**
|
|
793
744
|
* An account has voted
|
|
794
745
|
**/
|
|
795
746
|
Voted: GenericPalletEvent<
|
|
796
|
-
Rv,
|
|
797
747
|
'ConvictionVoting',
|
|
798
748
|
'Voted',
|
|
799
749
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
@@ -803,7 +753,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
803
753
|
* A vote has been removed
|
|
804
754
|
**/
|
|
805
755
|
VoteRemoved: GenericPalletEvent<
|
|
806
|
-
Rv,
|
|
807
756
|
'ConvictionVoting',
|
|
808
757
|
'VoteRemoved',
|
|
809
758
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
@@ -812,12 +761,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
812
761
|
/**
|
|
813
762
|
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
|
814
763
|
**/
|
|
815
|
-
VoteUnlocked: GenericPalletEvent<
|
|
764
|
+
VoteUnlocked: GenericPalletEvent<'ConvictionVoting', 'VoteUnlocked', { who: AccountId32; class: number }>;
|
|
816
765
|
|
|
817
766
|
/**
|
|
818
767
|
* Generic pallet event
|
|
819
768
|
**/
|
|
820
|
-
[prop: string]: GenericPalletEvent
|
|
769
|
+
[prop: string]: GenericPalletEvent;
|
|
821
770
|
};
|
|
822
771
|
/**
|
|
823
772
|
* Pallet `Referenda`'s events
|
|
@@ -827,7 +776,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
827
776
|
* A referendum has been submitted.
|
|
828
777
|
**/
|
|
829
778
|
Submitted: GenericPalletEvent<
|
|
830
|
-
Rv,
|
|
831
779
|
'Referenda',
|
|
832
780
|
'Submitted',
|
|
833
781
|
{
|
|
@@ -852,7 +800,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
852
800
|
* The decision deposit has been placed.
|
|
853
801
|
**/
|
|
854
802
|
DecisionDepositPlaced: GenericPalletEvent<
|
|
855
|
-
Rv,
|
|
856
803
|
'Referenda',
|
|
857
804
|
'DecisionDepositPlaced',
|
|
858
805
|
{
|
|
@@ -877,7 +824,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
877
824
|
* The decision deposit has been refunded.
|
|
878
825
|
**/
|
|
879
826
|
DecisionDepositRefunded: GenericPalletEvent<
|
|
880
|
-
Rv,
|
|
881
827
|
'Referenda',
|
|
882
828
|
'DecisionDepositRefunded',
|
|
883
829
|
{
|
|
@@ -902,7 +848,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
902
848
|
* A deposit has been slashed.
|
|
903
849
|
**/
|
|
904
850
|
DepositSlashed: GenericPalletEvent<
|
|
905
|
-
Rv,
|
|
906
851
|
'Referenda',
|
|
907
852
|
'DepositSlashed',
|
|
908
853
|
{
|
|
@@ -922,7 +867,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
922
867
|
* A referendum has moved into the deciding phase.
|
|
923
868
|
**/
|
|
924
869
|
DecisionStarted: GenericPalletEvent<
|
|
925
|
-
Rv,
|
|
926
870
|
'Referenda',
|
|
927
871
|
'DecisionStarted',
|
|
928
872
|
{
|
|
@@ -948,7 +892,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
948
892
|
}
|
|
949
893
|
>;
|
|
950
894
|
ConfirmStarted: GenericPalletEvent<
|
|
951
|
-
Rv,
|
|
952
895
|
'Referenda',
|
|
953
896
|
'ConfirmStarted',
|
|
954
897
|
{
|
|
@@ -959,7 +902,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
959
902
|
}
|
|
960
903
|
>;
|
|
961
904
|
ConfirmAborted: GenericPalletEvent<
|
|
962
|
-
Rv,
|
|
963
905
|
'Referenda',
|
|
964
906
|
'ConfirmAborted',
|
|
965
907
|
{
|
|
@@ -974,7 +916,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
974
916
|
* A referendum has ended its confirmation phase and is ready for approval.
|
|
975
917
|
**/
|
|
976
918
|
Confirmed: GenericPalletEvent<
|
|
977
|
-
Rv,
|
|
978
919
|
'Referenda',
|
|
979
920
|
'Confirmed',
|
|
980
921
|
{
|
|
@@ -994,7 +935,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
994
935
|
* A referendum has been approved and its proposal has been scheduled.
|
|
995
936
|
**/
|
|
996
937
|
Approved: GenericPalletEvent<
|
|
997
|
-
Rv,
|
|
998
938
|
'Referenda',
|
|
999
939
|
'Approved',
|
|
1000
940
|
{
|
|
@@ -1009,7 +949,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1009
949
|
* A proposal has been rejected by referendum.
|
|
1010
950
|
**/
|
|
1011
951
|
Rejected: GenericPalletEvent<
|
|
1012
|
-
Rv,
|
|
1013
952
|
'Referenda',
|
|
1014
953
|
'Rejected',
|
|
1015
954
|
{
|
|
@@ -1029,7 +968,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1029
968
|
* A referendum has been timed out without being decided.
|
|
1030
969
|
**/
|
|
1031
970
|
TimedOut: GenericPalletEvent<
|
|
1032
|
-
Rv,
|
|
1033
971
|
'Referenda',
|
|
1034
972
|
'TimedOut',
|
|
1035
973
|
{
|
|
@@ -1049,7 +987,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1049
987
|
* A referendum has been cancelled.
|
|
1050
988
|
**/
|
|
1051
989
|
Cancelled: GenericPalletEvent<
|
|
1052
|
-
Rv,
|
|
1053
990
|
'Referenda',
|
|
1054
991
|
'Cancelled',
|
|
1055
992
|
{
|
|
@@ -1069,7 +1006,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1069
1006
|
* A referendum has been killed.
|
|
1070
1007
|
**/
|
|
1071
1008
|
Killed: GenericPalletEvent<
|
|
1072
|
-
Rv,
|
|
1073
1009
|
'Referenda',
|
|
1074
1010
|
'Killed',
|
|
1075
1011
|
{
|
|
@@ -1089,7 +1025,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1089
1025
|
* The submission deposit has been refunded.
|
|
1090
1026
|
**/
|
|
1091
1027
|
SubmissionDepositRefunded: GenericPalletEvent<
|
|
1092
|
-
Rv,
|
|
1093
1028
|
'Referenda',
|
|
1094
1029
|
'SubmissionDepositRefunded',
|
|
1095
1030
|
{
|
|
@@ -1114,7 +1049,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1114
1049
|
* Metadata for a referendum has been set.
|
|
1115
1050
|
**/
|
|
1116
1051
|
MetadataSet: GenericPalletEvent<
|
|
1117
|
-
Rv,
|
|
1118
1052
|
'Referenda',
|
|
1119
1053
|
'MetadataSet',
|
|
1120
1054
|
{
|
|
@@ -1134,7 +1068,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1134
1068
|
* Metadata for a referendum has been cleared.
|
|
1135
1069
|
**/
|
|
1136
1070
|
MetadataCleared: GenericPalletEvent<
|
|
1137
|
-
Rv,
|
|
1138
1071
|
'Referenda',
|
|
1139
1072
|
'MetadataCleared',
|
|
1140
1073
|
{
|
|
@@ -1153,16 +1086,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1153
1086
|
/**
|
|
1154
1087
|
* Generic pallet event
|
|
1155
1088
|
**/
|
|
1156
|
-
[prop: string]: GenericPalletEvent
|
|
1089
|
+
[prop: string]: GenericPalletEvent;
|
|
1157
1090
|
};
|
|
1158
1091
|
/**
|
|
1159
1092
|
* Pallet `Whitelist`'s events
|
|
1160
1093
|
**/
|
|
1161
1094
|
whitelist: {
|
|
1162
|
-
CallWhitelisted: GenericPalletEvent<
|
|
1163
|
-
WhitelistedCallRemoved: GenericPalletEvent<
|
|
1095
|
+
CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
|
|
1096
|
+
WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
|
|
1164
1097
|
WhitelistedCallDispatched: GenericPalletEvent<
|
|
1165
|
-
Rv,
|
|
1166
1098
|
'Whitelist',
|
|
1167
1099
|
'WhitelistedCallDispatched',
|
|
1168
1100
|
{ callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
|
|
@@ -1171,7 +1103,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1171
1103
|
/**
|
|
1172
1104
|
* Generic pallet event
|
|
1173
1105
|
**/
|
|
1174
|
-
[prop: string]: GenericPalletEvent
|
|
1106
|
+
[prop: string]: GenericPalletEvent;
|
|
1175
1107
|
};
|
|
1176
1108
|
/**
|
|
1177
1109
|
* Pallet `Claims`'s events
|
|
@@ -1181,7 +1113,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1181
1113
|
* Someone claimed some DOTs.
|
|
1182
1114
|
**/
|
|
1183
1115
|
Claimed: GenericPalletEvent<
|
|
1184
|
-
Rv,
|
|
1185
1116
|
'Claims',
|
|
1186
1117
|
'Claimed',
|
|
1187
1118
|
{ who: AccountId32; ethereumAddress: EthereumAddress; amount: bigint }
|
|
@@ -1190,7 +1121,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1190
1121
|
/**
|
|
1191
1122
|
* Generic pallet event
|
|
1192
1123
|
**/
|
|
1193
|
-
[prop: string]: GenericPalletEvent
|
|
1124
|
+
[prop: string]: GenericPalletEvent;
|
|
1194
1125
|
};
|
|
1195
1126
|
/**
|
|
1196
1127
|
* Pallet `Vesting`'s events
|
|
@@ -1199,28 +1130,23 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1199
1130
|
/**
|
|
1200
1131
|
* A vesting schedule has been created.
|
|
1201
1132
|
**/
|
|
1202
|
-
VestingCreated: GenericPalletEvent<
|
|
1203
|
-
Rv,
|
|
1204
|
-
'Vesting',
|
|
1205
|
-
'VestingCreated',
|
|
1206
|
-
{ account: AccountId32; scheduleIndex: number }
|
|
1207
|
-
>;
|
|
1133
|
+
VestingCreated: GenericPalletEvent<'Vesting', 'VestingCreated', { account: AccountId32; scheduleIndex: number }>;
|
|
1208
1134
|
|
|
1209
1135
|
/**
|
|
1210
1136
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
1211
1137
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
1212
1138
|
**/
|
|
1213
|
-
VestingUpdated: GenericPalletEvent<
|
|
1139
|
+
VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
|
|
1214
1140
|
|
|
1215
1141
|
/**
|
|
1216
1142
|
* An \[account\] has become fully vested.
|
|
1217
1143
|
**/
|
|
1218
|
-
VestingCompleted: GenericPalletEvent<
|
|
1144
|
+
VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
|
|
1219
1145
|
|
|
1220
1146
|
/**
|
|
1221
1147
|
* Generic pallet event
|
|
1222
1148
|
**/
|
|
1223
|
-
[prop: string]: GenericPalletEvent
|
|
1149
|
+
[prop: string]: GenericPalletEvent;
|
|
1224
1150
|
};
|
|
1225
1151
|
/**
|
|
1226
1152
|
* Pallet `Utility`'s events
|
|
@@ -1230,47 +1156,47 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1230
1156
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
1231
1157
|
* well as the error.
|
|
1232
1158
|
**/
|
|
1233
|
-
BatchInterrupted: GenericPalletEvent<
|
|
1159
|
+
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
1234
1160
|
|
|
1235
1161
|
/**
|
|
1236
1162
|
* Batch of dispatches completed fully with no error.
|
|
1237
1163
|
**/
|
|
1238
|
-
BatchCompleted: GenericPalletEvent<
|
|
1164
|
+
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
1239
1165
|
|
|
1240
1166
|
/**
|
|
1241
1167
|
* Batch of dispatches completed but has errors.
|
|
1242
1168
|
**/
|
|
1243
|
-
BatchCompletedWithErrors: GenericPalletEvent<
|
|
1169
|
+
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
1244
1170
|
|
|
1245
1171
|
/**
|
|
1246
1172
|
* A single item within a Batch of dispatches has completed with no error.
|
|
1247
1173
|
**/
|
|
1248
|
-
ItemCompleted: GenericPalletEvent<
|
|
1174
|
+
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
1249
1175
|
|
|
1250
1176
|
/**
|
|
1251
1177
|
* A single item within a Batch of dispatches has completed with error.
|
|
1252
1178
|
**/
|
|
1253
|
-
ItemFailed: GenericPalletEvent<
|
|
1179
|
+
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
1254
1180
|
|
|
1255
1181
|
/**
|
|
1256
1182
|
* A call was dispatched.
|
|
1257
1183
|
**/
|
|
1258
|
-
DispatchedAs: GenericPalletEvent<
|
|
1184
|
+
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
1259
1185
|
|
|
1260
1186
|
/**
|
|
1261
1187
|
* Main call was dispatched.
|
|
1262
1188
|
**/
|
|
1263
|
-
IfElseMainSuccess: GenericPalletEvent<
|
|
1189
|
+
IfElseMainSuccess: GenericPalletEvent<'Utility', 'IfElseMainSuccess', null>;
|
|
1264
1190
|
|
|
1265
1191
|
/**
|
|
1266
1192
|
* The fallback call was dispatched.
|
|
1267
1193
|
**/
|
|
1268
|
-
IfElseFallbackCalled: GenericPalletEvent<
|
|
1194
|
+
IfElseFallbackCalled: GenericPalletEvent<'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
|
|
1269
1195
|
|
|
1270
1196
|
/**
|
|
1271
1197
|
* Generic pallet event
|
|
1272
1198
|
**/
|
|
1273
|
-
[prop: string]: GenericPalletEvent
|
|
1199
|
+
[prop: string]: GenericPalletEvent;
|
|
1274
1200
|
};
|
|
1275
1201
|
/**
|
|
1276
1202
|
* Pallet `Proxy`'s events
|
|
@@ -1279,14 +1205,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1279
1205
|
/**
|
|
1280
1206
|
* A proxy was executed correctly, with the given.
|
|
1281
1207
|
**/
|
|
1282
|
-
ProxyExecuted: GenericPalletEvent<
|
|
1208
|
+
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
1283
1209
|
|
|
1284
1210
|
/**
|
|
1285
1211
|
* A pure account has been created by new proxy with given
|
|
1286
1212
|
* disambiguation index and proxy type.
|
|
1287
1213
|
**/
|
|
1288
1214
|
PureCreated: GenericPalletEvent<
|
|
1289
|
-
Rv,
|
|
1290
1215
|
'Proxy',
|
|
1291
1216
|
'PureCreated',
|
|
1292
1217
|
{
|
|
@@ -1301,7 +1226,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1301
1226
|
* A pure proxy was killed by its spawner.
|
|
1302
1227
|
**/
|
|
1303
1228
|
PureKilled: GenericPalletEvent<
|
|
1304
|
-
Rv,
|
|
1305
1229
|
'Proxy',
|
|
1306
1230
|
'PureKilled',
|
|
1307
1231
|
{
|
|
@@ -1315,13 +1239,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1315
1239
|
/**
|
|
1316
1240
|
* An announcement was placed to make a call in the future.
|
|
1317
1241
|
**/
|
|
1318
|
-
Announced: GenericPalletEvent<
|
|
1242
|
+
Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
1319
1243
|
|
|
1320
1244
|
/**
|
|
1321
1245
|
* A proxy was added.
|
|
1322
1246
|
**/
|
|
1323
1247
|
ProxyAdded: GenericPalletEvent<
|
|
1324
|
-
Rv,
|
|
1325
1248
|
'Proxy',
|
|
1326
1249
|
'ProxyAdded',
|
|
1327
1250
|
{
|
|
@@ -1336,7 +1259,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1336
1259
|
* A proxy was removed.
|
|
1337
1260
|
**/
|
|
1338
1261
|
ProxyRemoved: GenericPalletEvent<
|
|
1339
|
-
Rv,
|
|
1340
1262
|
'Proxy',
|
|
1341
1263
|
'ProxyRemoved',
|
|
1342
1264
|
{
|
|
@@ -1351,7 +1273,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1351
1273
|
* A deposit stored for proxies or announcements was poked / updated.
|
|
1352
1274
|
**/
|
|
1353
1275
|
DepositPoked: GenericPalletEvent<
|
|
1354
|
-
Rv,
|
|
1355
1276
|
'Proxy',
|
|
1356
1277
|
'DepositPoked',
|
|
1357
1278
|
{ who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -1360,7 +1281,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1360
1281
|
/**
|
|
1361
1282
|
* Generic pallet event
|
|
1362
1283
|
**/
|
|
1363
|
-
[prop: string]: GenericPalletEvent
|
|
1284
|
+
[prop: string]: GenericPalletEvent;
|
|
1364
1285
|
};
|
|
1365
1286
|
/**
|
|
1366
1287
|
* Pallet `Multisig`'s events
|
|
@@ -1370,7 +1291,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1370
1291
|
* A new multisig operation has begun.
|
|
1371
1292
|
**/
|
|
1372
1293
|
NewMultisig: GenericPalletEvent<
|
|
1373
|
-
Rv,
|
|
1374
1294
|
'Multisig',
|
|
1375
1295
|
'NewMultisig',
|
|
1376
1296
|
{ approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1380,7 +1300,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1380
1300
|
* A multisig operation has been approved by someone.
|
|
1381
1301
|
**/
|
|
1382
1302
|
MultisigApproval: GenericPalletEvent<
|
|
1383
|
-
Rv,
|
|
1384
1303
|
'Multisig',
|
|
1385
1304
|
'MultisigApproval',
|
|
1386
1305
|
{ approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1390,7 +1309,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1390
1309
|
* A multisig operation has been executed.
|
|
1391
1310
|
**/
|
|
1392
1311
|
MultisigExecuted: GenericPalletEvent<
|
|
1393
|
-
Rv,
|
|
1394
1312
|
'Multisig',
|
|
1395
1313
|
'MultisigExecuted',
|
|
1396
1314
|
{
|
|
@@ -1406,7 +1324,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1406
1324
|
* A multisig operation has been cancelled.
|
|
1407
1325
|
**/
|
|
1408
1326
|
MultisigCancelled: GenericPalletEvent<
|
|
1409
|
-
Rv,
|
|
1410
1327
|
'Multisig',
|
|
1411
1328
|
'MultisigCancelled',
|
|
1412
1329
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1416,7 +1333,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1416
1333
|
* The deposit for a multisig operation has been updated/poked.
|
|
1417
1334
|
**/
|
|
1418
1335
|
DepositPoked: GenericPalletEvent<
|
|
1419
|
-
Rv,
|
|
1420
1336
|
'Multisig',
|
|
1421
1337
|
'DepositPoked',
|
|
1422
1338
|
{ who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -1425,7 +1341,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1425
1341
|
/**
|
|
1426
1342
|
* Generic pallet event
|
|
1427
1343
|
**/
|
|
1428
|
-
[prop: string]: GenericPalletEvent
|
|
1344
|
+
[prop: string]: GenericPalletEvent;
|
|
1429
1345
|
};
|
|
1430
1346
|
/**
|
|
1431
1347
|
* Pallet `Bounties`'s events
|
|
@@ -1434,28 +1350,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1434
1350
|
/**
|
|
1435
1351
|
* New bounty proposal.
|
|
1436
1352
|
**/
|
|
1437
|
-
BountyProposed: GenericPalletEvent<
|
|
1353
|
+
BountyProposed: GenericPalletEvent<'Bounties', 'BountyProposed', { index: number }>;
|
|
1438
1354
|
|
|
1439
1355
|
/**
|
|
1440
1356
|
* A bounty proposal was rejected; funds were slashed.
|
|
1441
1357
|
**/
|
|
1442
|
-
BountyRejected: GenericPalletEvent<
|
|
1358
|
+
BountyRejected: GenericPalletEvent<'Bounties', 'BountyRejected', { index: number; bond: bigint }>;
|
|
1443
1359
|
|
|
1444
1360
|
/**
|
|
1445
1361
|
* A bounty proposal is funded and became active.
|
|
1446
1362
|
**/
|
|
1447
|
-
BountyBecameActive: GenericPalletEvent<
|
|
1363
|
+
BountyBecameActive: GenericPalletEvent<'Bounties', 'BountyBecameActive', { index: number }>;
|
|
1448
1364
|
|
|
1449
1365
|
/**
|
|
1450
1366
|
* A bounty is awarded to a beneficiary.
|
|
1451
1367
|
**/
|
|
1452
|
-
BountyAwarded: GenericPalletEvent<
|
|
1368
|
+
BountyAwarded: GenericPalletEvent<'Bounties', 'BountyAwarded', { index: number; beneficiary: AccountId32 }>;
|
|
1453
1369
|
|
|
1454
1370
|
/**
|
|
1455
1371
|
* A bounty is claimed by beneficiary.
|
|
1456
1372
|
**/
|
|
1457
1373
|
BountyClaimed: GenericPalletEvent<
|
|
1458
|
-
Rv,
|
|
1459
1374
|
'Bounties',
|
|
1460
1375
|
'BountyClaimed',
|
|
1461
1376
|
{ index: number; payout: bigint; beneficiary: AccountId32 }
|
|
@@ -1464,38 +1379,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1464
1379
|
/**
|
|
1465
1380
|
* A bounty is cancelled.
|
|
1466
1381
|
**/
|
|
1467
|
-
BountyCanceled: GenericPalletEvent<
|
|
1382
|
+
BountyCanceled: GenericPalletEvent<'Bounties', 'BountyCanceled', { index: number }>;
|
|
1468
1383
|
|
|
1469
1384
|
/**
|
|
1470
1385
|
* A bounty expiry is extended.
|
|
1471
1386
|
**/
|
|
1472
|
-
BountyExtended: GenericPalletEvent<
|
|
1387
|
+
BountyExtended: GenericPalletEvent<'Bounties', 'BountyExtended', { index: number }>;
|
|
1473
1388
|
|
|
1474
1389
|
/**
|
|
1475
1390
|
* A bounty is approved.
|
|
1476
1391
|
**/
|
|
1477
|
-
BountyApproved: GenericPalletEvent<
|
|
1392
|
+
BountyApproved: GenericPalletEvent<'Bounties', 'BountyApproved', { index: number }>;
|
|
1478
1393
|
|
|
1479
1394
|
/**
|
|
1480
1395
|
* A bounty curator is proposed.
|
|
1481
1396
|
**/
|
|
1482
|
-
CuratorProposed: GenericPalletEvent<
|
|
1397
|
+
CuratorProposed: GenericPalletEvent<'Bounties', 'CuratorProposed', { bountyId: number; curator: AccountId32 }>;
|
|
1483
1398
|
|
|
1484
1399
|
/**
|
|
1485
1400
|
* A bounty curator is unassigned.
|
|
1486
1401
|
**/
|
|
1487
|
-
CuratorUnassigned: GenericPalletEvent<
|
|
1402
|
+
CuratorUnassigned: GenericPalletEvent<'Bounties', 'CuratorUnassigned', { bountyId: number }>;
|
|
1488
1403
|
|
|
1489
1404
|
/**
|
|
1490
1405
|
* A bounty curator is accepted.
|
|
1491
1406
|
**/
|
|
1492
|
-
CuratorAccepted: GenericPalletEvent<
|
|
1407
|
+
CuratorAccepted: GenericPalletEvent<'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
|
|
1493
1408
|
|
|
1494
1409
|
/**
|
|
1495
1410
|
* A bounty deposit has been poked.
|
|
1496
1411
|
**/
|
|
1497
1412
|
DepositPoked: GenericPalletEvent<
|
|
1498
|
-
Rv,
|
|
1499
1413
|
'Bounties',
|
|
1500
1414
|
'DepositPoked',
|
|
1501
1415
|
{ bountyId: number; proposer: AccountId32; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -1504,7 +1418,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1504
1418
|
/**
|
|
1505
1419
|
* Generic pallet event
|
|
1506
1420
|
**/
|
|
1507
|
-
[prop: string]: GenericPalletEvent
|
|
1421
|
+
[prop: string]: GenericPalletEvent;
|
|
1508
1422
|
};
|
|
1509
1423
|
/**
|
|
1510
1424
|
* Pallet `ChildBounties`'s events
|
|
@@ -1513,13 +1427,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1513
1427
|
/**
|
|
1514
1428
|
* A child-bounty is added.
|
|
1515
1429
|
**/
|
|
1516
|
-
Added: GenericPalletEvent<
|
|
1430
|
+
Added: GenericPalletEvent<'ChildBounties', 'Added', { index: number; childIndex: number }>;
|
|
1517
1431
|
|
|
1518
1432
|
/**
|
|
1519
1433
|
* A child-bounty is awarded to a beneficiary.
|
|
1520
1434
|
**/
|
|
1521
1435
|
Awarded: GenericPalletEvent<
|
|
1522
|
-
Rv,
|
|
1523
1436
|
'ChildBounties',
|
|
1524
1437
|
'Awarded',
|
|
1525
1438
|
{ index: number; childIndex: number; beneficiary: AccountId32 }
|
|
@@ -1529,7 +1442,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1529
1442
|
* A child-bounty is claimed by beneficiary.
|
|
1530
1443
|
**/
|
|
1531
1444
|
Claimed: GenericPalletEvent<
|
|
1532
|
-
Rv,
|
|
1533
1445
|
'ChildBounties',
|
|
1534
1446
|
'Claimed',
|
|
1535
1447
|
{ index: number; childIndex: number; payout: bigint; beneficiary: AccountId32 }
|
|
@@ -1538,12 +1450,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1538
1450
|
/**
|
|
1539
1451
|
* A child-bounty is cancelled.
|
|
1540
1452
|
**/
|
|
1541
|
-
Canceled: GenericPalletEvent<
|
|
1453
|
+
Canceled: GenericPalletEvent<'ChildBounties', 'Canceled', { index: number; childIndex: number }>;
|
|
1542
1454
|
|
|
1543
1455
|
/**
|
|
1544
1456
|
* Generic pallet event
|
|
1545
1457
|
**/
|
|
1546
|
-
[prop: string]: GenericPalletEvent
|
|
1458
|
+
[prop: string]: GenericPalletEvent;
|
|
1547
1459
|
};
|
|
1548
1460
|
/**
|
|
1549
1461
|
* Pallet `ElectionProviderMultiPhase`'s events
|
|
@@ -1559,7 +1471,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1559
1471
|
* room for this one.
|
|
1560
1472
|
**/
|
|
1561
1473
|
SolutionStored: GenericPalletEvent<
|
|
1562
|
-
Rv,
|
|
1563
1474
|
'ElectionProviderMultiPhase',
|
|
1564
1475
|
'SolutionStored',
|
|
1565
1476
|
{
|
|
@@ -1573,7 +1484,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1573
1484
|
* The election has been finalized, with the given computation and score.
|
|
1574
1485
|
**/
|
|
1575
1486
|
ElectionFinalized: GenericPalletEvent<
|
|
1576
|
-
Rv,
|
|
1577
1487
|
'ElectionProviderMultiPhase',
|
|
1578
1488
|
'ElectionFinalized',
|
|
1579
1489
|
{ compute: PalletElectionProviderMultiPhaseElectionCompute; score: SpNposElectionsElectionScore }
|
|
@@ -1584,23 +1494,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1584
1494
|
*
|
|
1585
1495
|
* Not much can be said about which computes failed in the process.
|
|
1586
1496
|
**/
|
|
1587
|
-
ElectionFailed: GenericPalletEvent<
|
|
1497
|
+
ElectionFailed: GenericPalletEvent<'ElectionProviderMultiPhase', 'ElectionFailed', null>;
|
|
1588
1498
|
|
|
1589
1499
|
/**
|
|
1590
1500
|
* An account has been rewarded for their signed submission being finalized.
|
|
1591
1501
|
**/
|
|
1592
|
-
Rewarded: GenericPalletEvent<
|
|
1502
|
+
Rewarded: GenericPalletEvent<'ElectionProviderMultiPhase', 'Rewarded', { account: AccountId32; value: bigint }>;
|
|
1593
1503
|
|
|
1594
1504
|
/**
|
|
1595
1505
|
* An account has been slashed for submitting an invalid signed submission.
|
|
1596
1506
|
**/
|
|
1597
|
-
Slashed: GenericPalletEvent<
|
|
1507
|
+
Slashed: GenericPalletEvent<'ElectionProviderMultiPhase', 'Slashed', { account: AccountId32; value: bigint }>;
|
|
1598
1508
|
|
|
1599
1509
|
/**
|
|
1600
1510
|
* There was a phase transition in a given round.
|
|
1601
1511
|
**/
|
|
1602
1512
|
PhaseTransitioned: GenericPalletEvent<
|
|
1603
|
-
Rv,
|
|
1604
1513
|
'ElectionProviderMultiPhase',
|
|
1605
1514
|
'PhaseTransitioned',
|
|
1606
1515
|
{ from: PalletElectionProviderMultiPhasePhase; to: PalletElectionProviderMultiPhasePhase; round: number }
|
|
@@ -1609,7 +1518,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1609
1518
|
/**
|
|
1610
1519
|
* Generic pallet event
|
|
1611
1520
|
**/
|
|
1612
|
-
[prop: string]: GenericPalletEvent
|
|
1521
|
+
[prop: string]: GenericPalletEvent;
|
|
1613
1522
|
};
|
|
1614
1523
|
/**
|
|
1615
1524
|
* Pallet `VoterList`'s events
|
|
@@ -1618,17 +1527,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1618
1527
|
/**
|
|
1619
1528
|
* Moved an account from one bag to another.
|
|
1620
1529
|
**/
|
|
1621
|
-
Rebagged: GenericPalletEvent<
|
|
1530
|
+
Rebagged: GenericPalletEvent<'VoterList', 'Rebagged', { who: AccountId32; from: bigint; to: bigint }>;
|
|
1622
1531
|
|
|
1623
1532
|
/**
|
|
1624
1533
|
* Updated the score of some account to the given amount.
|
|
1625
1534
|
**/
|
|
1626
|
-
ScoreUpdated: GenericPalletEvent<
|
|
1535
|
+
ScoreUpdated: GenericPalletEvent<'VoterList', 'ScoreUpdated', { who: AccountId32; newScore: bigint }>;
|
|
1627
1536
|
|
|
1628
1537
|
/**
|
|
1629
1538
|
* Generic pallet event
|
|
1630
1539
|
**/
|
|
1631
|
-
[prop: string]: GenericPalletEvent
|
|
1540
|
+
[prop: string]: GenericPalletEvent;
|
|
1632
1541
|
};
|
|
1633
1542
|
/**
|
|
1634
1543
|
* Pallet `NominationPools`'s events
|
|
@@ -1637,13 +1546,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1637
1546
|
/**
|
|
1638
1547
|
* A pool has been created.
|
|
1639
1548
|
**/
|
|
1640
|
-
Created: GenericPalletEvent<
|
|
1549
|
+
Created: GenericPalletEvent<'NominationPools', 'Created', { depositor: AccountId32; poolId: number }>;
|
|
1641
1550
|
|
|
1642
1551
|
/**
|
|
1643
1552
|
* A member has became bonded in a pool.
|
|
1644
1553
|
**/
|
|
1645
1554
|
Bonded: GenericPalletEvent<
|
|
1646
|
-
Rv,
|
|
1647
1555
|
'NominationPools',
|
|
1648
1556
|
'Bonded',
|
|
1649
1557
|
{ member: AccountId32; poolId: number; bonded: bigint; joined: boolean }
|
|
@@ -1652,12 +1560,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1652
1560
|
/**
|
|
1653
1561
|
* A payout has been made to a member.
|
|
1654
1562
|
**/
|
|
1655
|
-
PaidOut: GenericPalletEvent<
|
|
1656
|
-
Rv,
|
|
1657
|
-
'NominationPools',
|
|
1658
|
-
'PaidOut',
|
|
1659
|
-
{ member: AccountId32; poolId: number; payout: bigint }
|
|
1660
|
-
>;
|
|
1563
|
+
PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', { member: AccountId32; poolId: number; payout: bigint }>;
|
|
1661
1564
|
|
|
1662
1565
|
/**
|
|
1663
1566
|
* A member has unbonded from their pool.
|
|
@@ -1673,7 +1576,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1673
1576
|
* requested to be unbonded.
|
|
1674
1577
|
**/
|
|
1675
1578
|
Unbonded: GenericPalletEvent<
|
|
1676
|
-
Rv,
|
|
1677
1579
|
'NominationPools',
|
|
1678
1580
|
'Unbonded',
|
|
1679
1581
|
{ member: AccountId32; poolId: number; balance: bigint; points: bigint; era: number }
|
|
@@ -1688,7 +1590,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1688
1590
|
* will be 1.
|
|
1689
1591
|
**/
|
|
1690
1592
|
Withdrawn: GenericPalletEvent<
|
|
1691
|
-
Rv,
|
|
1692
1593
|
'NominationPools',
|
|
1693
1594
|
'Withdrawn',
|
|
1694
1595
|
{ member: AccountId32; poolId: number; balance: bigint; points: bigint }
|
|
@@ -1697,13 +1598,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1697
1598
|
/**
|
|
1698
1599
|
* A pool has been destroyed.
|
|
1699
1600
|
**/
|
|
1700
|
-
Destroyed: GenericPalletEvent<
|
|
1601
|
+
Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', { poolId: number }>;
|
|
1701
1602
|
|
|
1702
1603
|
/**
|
|
1703
1604
|
* The state of a pool has changed
|
|
1704
1605
|
**/
|
|
1705
1606
|
StateChanged: GenericPalletEvent<
|
|
1706
|
-
Rv,
|
|
1707
1607
|
'NominationPools',
|
|
1708
1608
|
'StateChanged',
|
|
1709
1609
|
{ poolId: number; newState: PalletNominationPoolsPoolState }
|
|
@@ -1717,7 +1617,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1717
1617
|
* represented by `released_balance`.
|
|
1718
1618
|
**/
|
|
1719
1619
|
MemberRemoved: GenericPalletEvent<
|
|
1720
|
-
Rv,
|
|
1721
1620
|
'NominationPools',
|
|
1722
1621
|
'MemberRemoved',
|
|
1723
1622
|
{ poolId: number; member: AccountId32; releasedBalance: bigint }
|
|
@@ -1728,7 +1627,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1728
1627
|
* can never change.
|
|
1729
1628
|
**/
|
|
1730
1629
|
RolesUpdated: GenericPalletEvent<
|
|
1731
|
-
Rv,
|
|
1732
1630
|
'NominationPools',
|
|
1733
1631
|
'RolesUpdated',
|
|
1734
1632
|
{ root?: AccountId32 | undefined; bouncer?: AccountId32 | undefined; nominator?: AccountId32 | undefined }
|
|
@@ -1737,13 +1635,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1737
1635
|
/**
|
|
1738
1636
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
1739
1637
|
**/
|
|
1740
|
-
PoolSlashed: GenericPalletEvent<
|
|
1638
|
+
PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', { poolId: number; balance: bigint }>;
|
|
1741
1639
|
|
|
1742
1640
|
/**
|
|
1743
1641
|
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
|
1744
1642
|
**/
|
|
1745
1643
|
UnbondingPoolSlashed: GenericPalletEvent<
|
|
1746
|
-
Rv,
|
|
1747
1644
|
'NominationPools',
|
|
1748
1645
|
'UnbondingPoolSlashed',
|
|
1749
1646
|
{ poolId: number; era: number; balance: bigint }
|
|
@@ -1753,7 +1650,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1753
1650
|
* A pool's commission setting has been changed.
|
|
1754
1651
|
**/
|
|
1755
1652
|
PoolCommissionUpdated: GenericPalletEvent<
|
|
1756
|
-
Rv,
|
|
1757
1653
|
'NominationPools',
|
|
1758
1654
|
'PoolCommissionUpdated',
|
|
1759
1655
|
{ poolId: number; current?: [Perbill, AccountId32] | undefined }
|
|
@@ -1763,7 +1659,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1763
1659
|
* A pool's maximum commission setting has been changed.
|
|
1764
1660
|
**/
|
|
1765
1661
|
PoolMaxCommissionUpdated: GenericPalletEvent<
|
|
1766
|
-
Rv,
|
|
1767
1662
|
'NominationPools',
|
|
1768
1663
|
'PoolMaxCommissionUpdated',
|
|
1769
1664
|
{ poolId: number; maxCommission: Perbill }
|
|
@@ -1773,7 +1668,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1773
1668
|
* A pool's commission `change_rate` has been changed.
|
|
1774
1669
|
**/
|
|
1775
1670
|
PoolCommissionChangeRateUpdated: GenericPalletEvent<
|
|
1776
|
-
Rv,
|
|
1777
1671
|
'NominationPools',
|
|
1778
1672
|
'PoolCommissionChangeRateUpdated',
|
|
1779
1673
|
{ poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate }
|
|
@@ -1783,7 +1677,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1783
1677
|
* Pool commission claim permission has been updated.
|
|
1784
1678
|
**/
|
|
1785
1679
|
PoolCommissionClaimPermissionUpdated: GenericPalletEvent<
|
|
1786
|
-
Rv,
|
|
1787
1680
|
'NominationPools',
|
|
1788
1681
|
'PoolCommissionClaimPermissionUpdated',
|
|
1789
1682
|
{ poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined }
|
|
@@ -1793,7 +1686,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1793
1686
|
* Pool commission has been claimed.
|
|
1794
1687
|
**/
|
|
1795
1688
|
PoolCommissionClaimed: GenericPalletEvent<
|
|
1796
|
-
Rv,
|
|
1797
1689
|
'NominationPools',
|
|
1798
1690
|
'PoolCommissionClaimed',
|
|
1799
1691
|
{ poolId: number; commission: bigint }
|
|
@@ -1803,7 +1695,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1803
1695
|
* Topped up deficit in frozen ED of the reward pool.
|
|
1804
1696
|
**/
|
|
1805
1697
|
MinBalanceDeficitAdjusted: GenericPalletEvent<
|
|
1806
|
-
Rv,
|
|
1807
1698
|
'NominationPools',
|
|
1808
1699
|
'MinBalanceDeficitAdjusted',
|
|
1809
1700
|
{ poolId: number; amount: bigint }
|
|
@@ -1813,7 +1704,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1813
1704
|
* Claimed excess frozen ED of af the reward pool.
|
|
1814
1705
|
**/
|
|
1815
1706
|
MinBalanceExcessAdjusted: GenericPalletEvent<
|
|
1816
|
-
Rv,
|
|
1817
1707
|
'NominationPools',
|
|
1818
1708
|
'MinBalanceExcessAdjusted',
|
|
1819
1709
|
{ poolId: number; amount: bigint }
|
|
@@ -1823,7 +1713,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1823
1713
|
* A pool member's claim permission has been updated.
|
|
1824
1714
|
**/
|
|
1825
1715
|
MemberClaimPermissionUpdated: GenericPalletEvent<
|
|
1826
|
-
Rv,
|
|
1827
1716
|
'NominationPools',
|
|
1828
1717
|
'MemberClaimPermissionUpdated',
|
|
1829
1718
|
{ member: AccountId32; permission: PalletNominationPoolsClaimPermission }
|
|
@@ -1832,19 +1721,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1832
1721
|
/**
|
|
1833
1722
|
* A pool's metadata was updated.
|
|
1834
1723
|
**/
|
|
1835
|
-
MetadataUpdated: GenericPalletEvent<
|
|
1836
|
-
Rv,
|
|
1837
|
-
'NominationPools',
|
|
1838
|
-
'MetadataUpdated',
|
|
1839
|
-
{ poolId: number; caller: AccountId32 }
|
|
1840
|
-
>;
|
|
1724
|
+
MetadataUpdated: GenericPalletEvent<'NominationPools', 'MetadataUpdated', { poolId: number; caller: AccountId32 }>;
|
|
1841
1725
|
|
|
1842
1726
|
/**
|
|
1843
1727
|
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
|
1844
1728
|
* on behalf of the pool.
|
|
1845
1729
|
**/
|
|
1846
1730
|
PoolNominationMade: GenericPalletEvent<
|
|
1847
|
-
Rv,
|
|
1848
1731
|
'NominationPools',
|
|
1849
1732
|
'PoolNominationMade',
|
|
1850
1733
|
{ poolId: number; caller: AccountId32 }
|
|
@@ -1854,7 +1737,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1854
1737
|
* The pool is chilled i.e. no longer nominating.
|
|
1855
1738
|
**/
|
|
1856
1739
|
PoolNominatorChilled: GenericPalletEvent<
|
|
1857
|
-
Rv,
|
|
1858
1740
|
'NominationPools',
|
|
1859
1741
|
'PoolNominatorChilled',
|
|
1860
1742
|
{ poolId: number; caller: AccountId32 }
|
|
@@ -1864,7 +1746,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1864
1746
|
* Global parameters regulating nomination pools have been updated.
|
|
1865
1747
|
**/
|
|
1866
1748
|
GlobalParamsUpdated: GenericPalletEvent<
|
|
1867
|
-
Rv,
|
|
1868
1749
|
'NominationPools',
|
|
1869
1750
|
'GlobalParamsUpdated',
|
|
1870
1751
|
{
|
|
@@ -1880,7 +1761,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1880
1761
|
/**
|
|
1881
1762
|
* Generic pallet event
|
|
1882
1763
|
**/
|
|
1883
|
-
[prop: string]: GenericPalletEvent
|
|
1764
|
+
[prop: string]: GenericPalletEvent;
|
|
1884
1765
|
};
|
|
1885
1766
|
/**
|
|
1886
1767
|
* Pallet `FastUnstake`'s events
|
|
@@ -1889,22 +1770,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1889
1770
|
/**
|
|
1890
1771
|
* A staker was unstaked.
|
|
1891
1772
|
**/
|
|
1892
|
-
Unstaked: GenericPalletEvent<
|
|
1893
|
-
Rv,
|
|
1894
|
-
'FastUnstake',
|
|
1895
|
-
'Unstaked',
|
|
1896
|
-
{ stash: AccountId32; result: Result<[], DispatchError> }
|
|
1897
|
-
>;
|
|
1773
|
+
Unstaked: GenericPalletEvent<'FastUnstake', 'Unstaked', { stash: AccountId32; result: Result<[], DispatchError> }>;
|
|
1898
1774
|
|
|
1899
1775
|
/**
|
|
1900
1776
|
* A staker was slashed for requesting fast-unstake whilst being exposed.
|
|
1901
1777
|
**/
|
|
1902
|
-
Slashed: GenericPalletEvent<
|
|
1778
|
+
Slashed: GenericPalletEvent<'FastUnstake', 'Slashed', { stash: AccountId32; amount: bigint }>;
|
|
1903
1779
|
|
|
1904
1780
|
/**
|
|
1905
1781
|
* A batch was partially checked for the given eras, but the process did not finish.
|
|
1906
1782
|
**/
|
|
1907
|
-
BatchChecked: GenericPalletEvent<
|
|
1783
|
+
BatchChecked: GenericPalletEvent<'FastUnstake', 'BatchChecked', { eras: Array<number> }>;
|
|
1908
1784
|
|
|
1909
1785
|
/**
|
|
1910
1786
|
* A batch of a given size was terminated.
|
|
@@ -1912,17 +1788,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1912
1788
|
* This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
|
|
1913
1789
|
* of the batch. A new batch will be created upon next block.
|
|
1914
1790
|
**/
|
|
1915
|
-
BatchFinished: GenericPalletEvent<
|
|
1791
|
+
BatchFinished: GenericPalletEvent<'FastUnstake', 'BatchFinished', { size: number }>;
|
|
1916
1792
|
|
|
1917
1793
|
/**
|
|
1918
1794
|
* An internal error happened. Operations will be paused now.
|
|
1919
1795
|
**/
|
|
1920
|
-
InternalError: GenericPalletEvent<
|
|
1796
|
+
InternalError: GenericPalletEvent<'FastUnstake', 'InternalError', null>;
|
|
1921
1797
|
|
|
1922
1798
|
/**
|
|
1923
1799
|
* Generic pallet event
|
|
1924
1800
|
**/
|
|
1925
|
-
[prop: string]: GenericPalletEvent
|
|
1801
|
+
[prop: string]: GenericPalletEvent;
|
|
1926
1802
|
};
|
|
1927
1803
|
/**
|
|
1928
1804
|
* Pallet `DelegatedStaking`'s events
|
|
@@ -1932,7 +1808,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1932
1808
|
* Funds delegated by a delegator.
|
|
1933
1809
|
**/
|
|
1934
1810
|
Delegated: GenericPalletEvent<
|
|
1935
|
-
Rv,
|
|
1936
1811
|
'DelegatedStaking',
|
|
1937
1812
|
'Delegated',
|
|
1938
1813
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -1942,7 +1817,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1942
1817
|
* Funds released to a delegator.
|
|
1943
1818
|
**/
|
|
1944
1819
|
Released: GenericPalletEvent<
|
|
1945
|
-
Rv,
|
|
1946
1820
|
'DelegatedStaking',
|
|
1947
1821
|
'Released',
|
|
1948
1822
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -1952,7 +1826,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1952
1826
|
* Funds slashed from a delegator.
|
|
1953
1827
|
**/
|
|
1954
1828
|
Slashed: GenericPalletEvent<
|
|
1955
|
-
Rv,
|
|
1956
1829
|
'DelegatedStaking',
|
|
1957
1830
|
'Slashed',
|
|
1958
1831
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -1962,7 +1835,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1962
1835
|
* Unclaimed delegation funds migrated to delegator.
|
|
1963
1836
|
**/
|
|
1964
1837
|
MigratedDelegation: GenericPalletEvent<
|
|
1965
|
-
Rv,
|
|
1966
1838
|
'DelegatedStaking',
|
|
1967
1839
|
'MigratedDelegation',
|
|
1968
1840
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -1971,7 +1843,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1971
1843
|
/**
|
|
1972
1844
|
* Generic pallet event
|
|
1973
1845
|
**/
|
|
1974
|
-
[prop: string]: GenericPalletEvent
|
|
1846
|
+
[prop: string]: GenericPalletEvent;
|
|
1975
1847
|
};
|
|
1976
1848
|
/**
|
|
1977
1849
|
* Pallet `StakingAhClient`'s events
|
|
@@ -1981,7 +1853,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1981
1853
|
* A new validator set has been received.
|
|
1982
1854
|
**/
|
|
1983
1855
|
ValidatorSetReceived: GenericPalletEvent<
|
|
1984
|
-
Rv,
|
|
1985
1856
|
'StakingAhClient',
|
|
1986
1857
|
'ValidatorSetReceived',
|
|
1987
1858
|
{ id: number; newValidatorSetCount: number; pruneUpTo?: number | undefined; leftover: boolean }
|
|
@@ -1993,24 +1864,24 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1993
1864
|
* Note that this event is more resembling an error, but we use an event because in this
|
|
1994
1865
|
* pallet we need to mutate storage upon some failures.
|
|
1995
1866
|
**/
|
|
1996
|
-
CouldNotMergeAndDropped: GenericPalletEvent<
|
|
1867
|
+
CouldNotMergeAndDropped: GenericPalletEvent<'StakingAhClient', 'CouldNotMergeAndDropped', null>;
|
|
1997
1868
|
|
|
1998
1869
|
/**
|
|
1999
1870
|
* The validator set received is way too small, as per
|
|
2000
1871
|
* [`Config::MinimumValidatorSetSize`].
|
|
2001
1872
|
**/
|
|
2002
|
-
SetTooSmallAndDropped: GenericPalletEvent<
|
|
1873
|
+
SetTooSmallAndDropped: GenericPalletEvent<'StakingAhClient', 'SetTooSmallAndDropped', null>;
|
|
2003
1874
|
|
|
2004
1875
|
/**
|
|
2005
1876
|
* Something occurred that should never happen under normal operation. Logged as an event
|
|
2006
1877
|
* for fail-safe observability.
|
|
2007
1878
|
**/
|
|
2008
|
-
Unexpected: GenericPalletEvent<
|
|
1879
|
+
Unexpected: GenericPalletEvent<'StakingAhClient', 'Unexpected', PalletStakingAsyncAhClientUnexpectedKind>;
|
|
2009
1880
|
|
|
2010
1881
|
/**
|
|
2011
1882
|
* Generic pallet event
|
|
2012
1883
|
**/
|
|
2013
|
-
[prop: string]: GenericPalletEvent
|
|
1884
|
+
[prop: string]: GenericPalletEvent;
|
|
2014
1885
|
};
|
|
2015
1886
|
/**
|
|
2016
1887
|
* Pallet `ParaInclusion`'s events
|
|
@@ -2020,7 +1891,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2020
1891
|
* A candidate was backed. `[candidate, head_data]`
|
|
2021
1892
|
**/
|
|
2022
1893
|
CandidateBacked: GenericPalletEvent<
|
|
2023
|
-
Rv,
|
|
2024
1894
|
'ParaInclusion',
|
|
2025
1895
|
'CandidateBacked',
|
|
2026
1896
|
[
|
|
@@ -2035,7 +1905,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2035
1905
|
* A candidate was included. `[candidate, head_data]`
|
|
2036
1906
|
**/
|
|
2037
1907
|
CandidateIncluded: GenericPalletEvent<
|
|
2038
|
-
Rv,
|
|
2039
1908
|
'ParaInclusion',
|
|
2040
1909
|
'CandidateIncluded',
|
|
2041
1910
|
[
|
|
@@ -2050,7 +1919,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2050
1919
|
* A candidate timed out. `[candidate, head_data]`
|
|
2051
1920
|
**/
|
|
2052
1921
|
CandidateTimedOut: GenericPalletEvent<
|
|
2053
|
-
Rv,
|
|
2054
1922
|
'ParaInclusion',
|
|
2055
1923
|
'CandidateTimedOut',
|
|
2056
1924
|
[
|
|
@@ -2064,7 +1932,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2064
1932
|
* Some upward messages have been received and will be processed.
|
|
2065
1933
|
**/
|
|
2066
1934
|
UpwardMessagesReceived: GenericPalletEvent<
|
|
2067
|
-
Rv,
|
|
2068
1935
|
'ParaInclusion',
|
|
2069
1936
|
'UpwardMessagesReceived',
|
|
2070
1937
|
{ from: PolkadotParachainPrimitivesPrimitivesId; count: number }
|
|
@@ -2073,7 +1940,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2073
1940
|
/**
|
|
2074
1941
|
* Generic pallet event
|
|
2075
1942
|
**/
|
|
2076
|
-
[prop: string]: GenericPalletEvent
|
|
1943
|
+
[prop: string]: GenericPalletEvent;
|
|
2077
1944
|
};
|
|
2078
1945
|
/**
|
|
2079
1946
|
* Pallet `Paras`'s events
|
|
@@ -2082,39 +1949,33 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2082
1949
|
/**
|
|
2083
1950
|
* Current code has been updated for a Para. `para_id`
|
|
2084
1951
|
**/
|
|
2085
|
-
CurrentCodeUpdated: GenericPalletEvent<
|
|
1952
|
+
CurrentCodeUpdated: GenericPalletEvent<'Paras', 'CurrentCodeUpdated', PolkadotParachainPrimitivesPrimitivesId>;
|
|
2086
1953
|
|
|
2087
1954
|
/**
|
|
2088
1955
|
* Current head has been updated for a Para. `para_id`
|
|
2089
1956
|
**/
|
|
2090
|
-
CurrentHeadUpdated: GenericPalletEvent<
|
|
1957
|
+
CurrentHeadUpdated: GenericPalletEvent<'Paras', 'CurrentHeadUpdated', PolkadotParachainPrimitivesPrimitivesId>;
|
|
2091
1958
|
|
|
2092
1959
|
/**
|
|
2093
1960
|
* A code upgrade has been scheduled for a Para. `para_id`
|
|
2094
1961
|
**/
|
|
2095
|
-
CodeUpgradeScheduled: GenericPalletEvent<
|
|
2096
|
-
Rv,
|
|
2097
|
-
'Paras',
|
|
2098
|
-
'CodeUpgradeScheduled',
|
|
2099
|
-
PolkadotParachainPrimitivesPrimitivesId
|
|
2100
|
-
>;
|
|
1962
|
+
CodeUpgradeScheduled: GenericPalletEvent<'Paras', 'CodeUpgradeScheduled', PolkadotParachainPrimitivesPrimitivesId>;
|
|
2101
1963
|
|
|
2102
1964
|
/**
|
|
2103
1965
|
* A new head has been noted for a Para. `para_id`
|
|
2104
1966
|
**/
|
|
2105
|
-
NewHeadNoted: GenericPalletEvent<
|
|
1967
|
+
NewHeadNoted: GenericPalletEvent<'Paras', 'NewHeadNoted', PolkadotParachainPrimitivesPrimitivesId>;
|
|
2106
1968
|
|
|
2107
1969
|
/**
|
|
2108
1970
|
* A para has been queued to execute pending actions. `para_id`
|
|
2109
1971
|
**/
|
|
2110
|
-
ActionQueued: GenericPalletEvent<
|
|
1972
|
+
ActionQueued: GenericPalletEvent<'Paras', 'ActionQueued', [PolkadotParachainPrimitivesPrimitivesId, number]>;
|
|
2111
1973
|
|
|
2112
1974
|
/**
|
|
2113
1975
|
* The given para either initiated or subscribed to a PVF check for the given validation
|
|
2114
1976
|
* code. `code_hash` `para_id`
|
|
2115
1977
|
**/
|
|
2116
1978
|
PvfCheckStarted: GenericPalletEvent<
|
|
2117
|
-
Rv,
|
|
2118
1979
|
'Paras',
|
|
2119
1980
|
'PvfCheckStarted',
|
|
2120
1981
|
[PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
|
|
@@ -2125,7 +1986,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2125
1986
|
* `code_hash` `para_id`
|
|
2126
1987
|
**/
|
|
2127
1988
|
PvfCheckAccepted: GenericPalletEvent<
|
|
2128
|
-
Rv,
|
|
2129
1989
|
'Paras',
|
|
2130
1990
|
'PvfCheckAccepted',
|
|
2131
1991
|
[PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
|
|
@@ -2136,7 +1996,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2136
1996
|
* `code_hash` `para_id`
|
|
2137
1997
|
**/
|
|
2138
1998
|
PvfCheckRejected: GenericPalletEvent<
|
|
2139
|
-
Rv,
|
|
2140
1999
|
'Paras',
|
|
2141
2000
|
'PvfCheckRejected',
|
|
2142
2001
|
[PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
|
|
@@ -2146,7 +2005,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2146
2005
|
* The upgrade cooldown was removed.
|
|
2147
2006
|
**/
|
|
2148
2007
|
UpgradeCooldownRemoved: GenericPalletEvent<
|
|
2149
|
-
Rv,
|
|
2150
2008
|
'Paras',
|
|
2151
2009
|
'UpgradeCooldownRemoved',
|
|
2152
2010
|
{
|
|
@@ -2161,7 +2019,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2161
2019
|
* A new code hash has been authorized for a Para.
|
|
2162
2020
|
**/
|
|
2163
2021
|
CodeAuthorized: GenericPalletEvent<
|
|
2164
|
-
Rv,
|
|
2165
2022
|
'Paras',
|
|
2166
2023
|
'CodeAuthorized',
|
|
2167
2024
|
{
|
|
@@ -2185,7 +2042,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2185
2042
|
/**
|
|
2186
2043
|
* Generic pallet event
|
|
2187
2044
|
**/
|
|
2188
|
-
[prop: string]: GenericPalletEvent
|
|
2045
|
+
[prop: string]: GenericPalletEvent;
|
|
2189
2046
|
};
|
|
2190
2047
|
/**
|
|
2191
2048
|
* Pallet `Hrmp`'s events
|
|
@@ -2195,7 +2052,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2195
2052
|
* Open HRMP channel requested.
|
|
2196
2053
|
**/
|
|
2197
2054
|
OpenChannelRequested: GenericPalletEvent<
|
|
2198
|
-
Rv,
|
|
2199
2055
|
'Hrmp',
|
|
2200
2056
|
'OpenChannelRequested',
|
|
2201
2057
|
{
|
|
@@ -2210,7 +2066,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2210
2066
|
* An HRMP channel request sent by the receiver was canceled by either party.
|
|
2211
2067
|
**/
|
|
2212
2068
|
OpenChannelCanceled: GenericPalletEvent<
|
|
2213
|
-
Rv,
|
|
2214
2069
|
'Hrmp',
|
|
2215
2070
|
'OpenChannelCanceled',
|
|
2216
2071
|
{
|
|
@@ -2223,7 +2078,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2223
2078
|
* Open HRMP channel accepted.
|
|
2224
2079
|
**/
|
|
2225
2080
|
OpenChannelAccepted: GenericPalletEvent<
|
|
2226
|
-
Rv,
|
|
2227
2081
|
'Hrmp',
|
|
2228
2082
|
'OpenChannelAccepted',
|
|
2229
2083
|
{ sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
|
|
@@ -2233,7 +2087,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2233
2087
|
* HRMP channel closed.
|
|
2234
2088
|
**/
|
|
2235
2089
|
ChannelClosed: GenericPalletEvent<
|
|
2236
|
-
Rv,
|
|
2237
2090
|
'Hrmp',
|
|
2238
2091
|
'ChannelClosed',
|
|
2239
2092
|
{
|
|
@@ -2246,7 +2099,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2246
2099
|
* An HRMP channel was opened via Root origin.
|
|
2247
2100
|
**/
|
|
2248
2101
|
HrmpChannelForceOpened: GenericPalletEvent<
|
|
2249
|
-
Rv,
|
|
2250
2102
|
'Hrmp',
|
|
2251
2103
|
'HrmpChannelForceOpened',
|
|
2252
2104
|
{
|
|
@@ -2261,7 +2113,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2261
2113
|
* An HRMP channel was opened with a system chain.
|
|
2262
2114
|
**/
|
|
2263
2115
|
HrmpSystemChannelOpened: GenericPalletEvent<
|
|
2264
|
-
Rv,
|
|
2265
2116
|
'Hrmp',
|
|
2266
2117
|
'HrmpSystemChannelOpened',
|
|
2267
2118
|
{
|
|
@@ -2276,7 +2127,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2276
2127
|
* An HRMP channel's deposits were updated.
|
|
2277
2128
|
**/
|
|
2278
2129
|
OpenChannelDepositsUpdated: GenericPalletEvent<
|
|
2279
|
-
Rv,
|
|
2280
2130
|
'Hrmp',
|
|
2281
2131
|
'OpenChannelDepositsUpdated',
|
|
2282
2132
|
{ sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
|
|
@@ -2285,7 +2135,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2285
2135
|
/**
|
|
2286
2136
|
* Generic pallet event
|
|
2287
2137
|
**/
|
|
2288
|
-
[prop: string]: GenericPalletEvent
|
|
2138
|
+
[prop: string]: GenericPalletEvent;
|
|
2289
2139
|
};
|
|
2290
2140
|
/**
|
|
2291
2141
|
* Pallet `ParasDisputes`'s events
|
|
@@ -2295,7 +2145,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2295
2145
|
* A dispute has been initiated. \[candidate hash, dispute location\]
|
|
2296
2146
|
**/
|
|
2297
2147
|
DisputeInitiated: GenericPalletEvent<
|
|
2298
|
-
Rv,
|
|
2299
2148
|
'ParasDisputes',
|
|
2300
2149
|
'DisputeInitiated',
|
|
2301
2150
|
[PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeLocation]
|
|
@@ -2306,7 +2155,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2306
2155
|
* `\[para id, candidate hash, dispute result\]`
|
|
2307
2156
|
**/
|
|
2308
2157
|
DisputeConcluded: GenericPalletEvent<
|
|
2309
|
-
Rv,
|
|
2310
2158
|
'ParasDisputes',
|
|
2311
2159
|
'DisputeConcluded',
|
|
2312
2160
|
[PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeResult]
|
|
@@ -2318,12 +2166,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2318
2166
|
* instead revert the block at the given height. This should be the
|
|
2319
2167
|
* number of the child of the last known valid block in the chain.
|
|
2320
2168
|
**/
|
|
2321
|
-
Revert: GenericPalletEvent<
|
|
2169
|
+
Revert: GenericPalletEvent<'ParasDisputes', 'Revert', number>;
|
|
2322
2170
|
|
|
2323
2171
|
/**
|
|
2324
2172
|
* Generic pallet event
|
|
2325
2173
|
**/
|
|
2326
|
-
[prop: string]: GenericPalletEvent
|
|
2174
|
+
[prop: string]: GenericPalletEvent;
|
|
2327
2175
|
};
|
|
2328
2176
|
/**
|
|
2329
2177
|
* Pallet `OnDemand`'s events
|
|
@@ -2333,7 +2181,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2333
2181
|
* An order was placed at some spot price amount by orderer ordered_by
|
|
2334
2182
|
**/
|
|
2335
2183
|
OnDemandOrderPlaced: GenericPalletEvent<
|
|
2336
|
-
Rv,
|
|
2337
2184
|
'OnDemand',
|
|
2338
2185
|
'OnDemandOrderPlaced',
|
|
2339
2186
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; spotPrice: bigint; orderedBy: AccountId32 }
|
|
@@ -2342,42 +2189,34 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2342
2189
|
/**
|
|
2343
2190
|
* The value of the spot price has likely changed
|
|
2344
2191
|
**/
|
|
2345
|
-
SpotPriceSet: GenericPalletEvent<
|
|
2192
|
+
SpotPriceSet: GenericPalletEvent<'OnDemand', 'SpotPriceSet', { spotPrice: bigint }>;
|
|
2346
2193
|
|
|
2347
2194
|
/**
|
|
2348
2195
|
* An account was given credits.
|
|
2349
2196
|
**/
|
|
2350
|
-
AccountCredited: GenericPalletEvent<
|
|
2197
|
+
AccountCredited: GenericPalletEvent<'OnDemand', 'AccountCredited', { who: AccountId32; amount: bigint }>;
|
|
2351
2198
|
|
|
2352
2199
|
/**
|
|
2353
2200
|
* Generic pallet event
|
|
2354
2201
|
**/
|
|
2355
|
-
[prop: string]: GenericPalletEvent
|
|
2202
|
+
[prop: string]: GenericPalletEvent;
|
|
2356
2203
|
};
|
|
2357
2204
|
/**
|
|
2358
2205
|
* Pallet `Registrar`'s events
|
|
2359
2206
|
**/
|
|
2360
2207
|
registrar: {
|
|
2361
2208
|
Registered: GenericPalletEvent<
|
|
2362
|
-
Rv,
|
|
2363
2209
|
'Registrar',
|
|
2364
2210
|
'Registered',
|
|
2365
2211
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; manager: AccountId32 }
|
|
2366
2212
|
>;
|
|
2367
|
-
Deregistered: GenericPalletEvent<
|
|
2368
|
-
Rv,
|
|
2369
|
-
'Registrar',
|
|
2370
|
-
'Deregistered',
|
|
2371
|
-
{ paraId: PolkadotParachainPrimitivesPrimitivesId }
|
|
2372
|
-
>;
|
|
2213
|
+
Deregistered: GenericPalletEvent<'Registrar', 'Deregistered', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
|
|
2373
2214
|
Reserved: GenericPalletEvent<
|
|
2374
|
-
Rv,
|
|
2375
2215
|
'Registrar',
|
|
2376
2216
|
'Reserved',
|
|
2377
2217
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; who: AccountId32 }
|
|
2378
2218
|
>;
|
|
2379
2219
|
Swapped: GenericPalletEvent<
|
|
2380
|
-
Rv,
|
|
2381
2220
|
'Registrar',
|
|
2382
2221
|
'Swapped',
|
|
2383
2222
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; otherId: PolkadotParachainPrimitivesPrimitivesId }
|
|
@@ -2386,7 +2225,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2386
2225
|
/**
|
|
2387
2226
|
* Generic pallet event
|
|
2388
2227
|
**/
|
|
2389
|
-
[prop: string]: GenericPalletEvent
|
|
2228
|
+
[prop: string]: GenericPalletEvent;
|
|
2390
2229
|
};
|
|
2391
2230
|
/**
|
|
2392
2231
|
* Pallet `Slots`'s events
|
|
@@ -2395,7 +2234,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2395
2234
|
/**
|
|
2396
2235
|
* A new `[lease_period]` is beginning.
|
|
2397
2236
|
**/
|
|
2398
|
-
NewLeasePeriod: GenericPalletEvent<
|
|
2237
|
+
NewLeasePeriod: GenericPalletEvent<'Slots', 'NewLeasePeriod', { leasePeriod: number }>;
|
|
2399
2238
|
|
|
2400
2239
|
/**
|
|
2401
2240
|
* A para has won the right to a continuous set of lease periods as a parachain.
|
|
@@ -2403,7 +2242,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2403
2242
|
* Second balance is the total amount reserved.
|
|
2404
2243
|
**/
|
|
2405
2244
|
Leased: GenericPalletEvent<
|
|
2406
|
-
Rv,
|
|
2407
2245
|
'Slots',
|
|
2408
2246
|
'Leased',
|
|
2409
2247
|
{
|
|
@@ -2419,7 +2257,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2419
2257
|
/**
|
|
2420
2258
|
* Generic pallet event
|
|
2421
2259
|
**/
|
|
2422
|
-
[prop: string]: GenericPalletEvent
|
|
2260
|
+
[prop: string]: GenericPalletEvent;
|
|
2423
2261
|
};
|
|
2424
2262
|
/**
|
|
2425
2263
|
* Pallet `Auctions`'s events
|
|
@@ -2430,7 +2268,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2430
2268
|
* close and the first lease period of the quadruplet that is auctioned.
|
|
2431
2269
|
**/
|
|
2432
2270
|
AuctionStarted: GenericPalletEvent<
|
|
2433
|
-
Rv,
|
|
2434
2271
|
'Auctions',
|
|
2435
2272
|
'AuctionStarted',
|
|
2436
2273
|
{ auctionIndex: number; leasePeriod: number; ending: number }
|
|
@@ -2439,14 +2276,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2439
2276
|
/**
|
|
2440
2277
|
* An auction ended. All funds become unreserved.
|
|
2441
2278
|
**/
|
|
2442
|
-
AuctionClosed: GenericPalletEvent<
|
|
2279
|
+
AuctionClosed: GenericPalletEvent<'Auctions', 'AuctionClosed', { auctionIndex: number }>;
|
|
2443
2280
|
|
|
2444
2281
|
/**
|
|
2445
2282
|
* Funds were reserved for a winning bid. First balance is the extra amount reserved.
|
|
2446
2283
|
* Second is the total.
|
|
2447
2284
|
**/
|
|
2448
2285
|
Reserved: GenericPalletEvent<
|
|
2449
|
-
Rv,
|
|
2450
2286
|
'Auctions',
|
|
2451
2287
|
'Reserved',
|
|
2452
2288
|
{ bidder: AccountId32; extraReserved: bigint; totalAmount: bigint }
|
|
@@ -2455,14 +2291,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2455
2291
|
/**
|
|
2456
2292
|
* Funds were unreserved since bidder is no longer active. `[bidder, amount]`
|
|
2457
2293
|
**/
|
|
2458
|
-
Unreserved: GenericPalletEvent<
|
|
2294
|
+
Unreserved: GenericPalletEvent<'Auctions', 'Unreserved', { bidder: AccountId32; amount: bigint }>;
|
|
2459
2295
|
|
|
2460
2296
|
/**
|
|
2461
2297
|
* Someone attempted to lease the same slot twice for a parachain. The amount is held in
|
|
2462
2298
|
* reserve but no parachain slot has been leased.
|
|
2463
2299
|
**/
|
|
2464
2300
|
ReserveConfiscated: GenericPalletEvent<
|
|
2465
|
-
Rv,
|
|
2466
2301
|
'Auctions',
|
|
2467
2302
|
'ReserveConfiscated',
|
|
2468
2303
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; leaser: AccountId32; amount: bigint }
|
|
@@ -2472,7 +2307,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2472
2307
|
* A new bid has been accepted as the current winner.
|
|
2473
2308
|
**/
|
|
2474
2309
|
BidAccepted: GenericPalletEvent<
|
|
2475
|
-
Rv,
|
|
2476
2310
|
'Auctions',
|
|
2477
2311
|
'BidAccepted',
|
|
2478
2312
|
{
|
|
@@ -2488,12 +2322,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2488
2322
|
* The winning offset was chosen for an auction. This will map into the `Winning` storage
|
|
2489
2323
|
* map.
|
|
2490
2324
|
**/
|
|
2491
|
-
WinningOffset: GenericPalletEvent<
|
|
2325
|
+
WinningOffset: GenericPalletEvent<'Auctions', 'WinningOffset', { auctionIndex: number; blockNumber: number }>;
|
|
2492
2326
|
|
|
2493
2327
|
/**
|
|
2494
2328
|
* Generic pallet event
|
|
2495
2329
|
**/
|
|
2496
|
-
[prop: string]: GenericPalletEvent
|
|
2330
|
+
[prop: string]: GenericPalletEvent;
|
|
2497
2331
|
};
|
|
2498
2332
|
/**
|
|
2499
2333
|
* Pallet `Crowdloan`'s events
|
|
@@ -2502,13 +2336,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2502
2336
|
/**
|
|
2503
2337
|
* Create a new crowdloaning campaign.
|
|
2504
2338
|
**/
|
|
2505
|
-
Created: GenericPalletEvent<
|
|
2339
|
+
Created: GenericPalletEvent<'Crowdloan', 'Created', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
|
|
2506
2340
|
|
|
2507
2341
|
/**
|
|
2508
2342
|
* Contributed to a crowd sale.
|
|
2509
2343
|
**/
|
|
2510
2344
|
Contributed: GenericPalletEvent<
|
|
2511
|
-
Rv,
|
|
2512
2345
|
'Crowdloan',
|
|
2513
2346
|
'Contributed',
|
|
2514
2347
|
{ who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
|
|
@@ -2518,7 +2351,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2518
2351
|
* Withdrew full balance of a contributor.
|
|
2519
2352
|
**/
|
|
2520
2353
|
Withdrew: GenericPalletEvent<
|
|
2521
|
-
Rv,
|
|
2522
2354
|
'Crowdloan',
|
|
2523
2355
|
'Withdrew',
|
|
2524
2356
|
{ who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
|
|
@@ -2529,7 +2361,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2529
2361
|
* over child keys that still need to be killed.
|
|
2530
2362
|
**/
|
|
2531
2363
|
PartiallyRefunded: GenericPalletEvent<
|
|
2532
|
-
Rv,
|
|
2533
2364
|
'Crowdloan',
|
|
2534
2365
|
'PartiallyRefunded',
|
|
2535
2366
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId }
|
|
@@ -2538,23 +2369,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2538
2369
|
/**
|
|
2539
2370
|
* All loans in a fund have been refunded.
|
|
2540
2371
|
**/
|
|
2541
|
-
AllRefunded: GenericPalletEvent<
|
|
2542
|
-
Rv,
|
|
2543
|
-
'Crowdloan',
|
|
2544
|
-
'AllRefunded',
|
|
2545
|
-
{ paraId: PolkadotParachainPrimitivesPrimitivesId }
|
|
2546
|
-
>;
|
|
2372
|
+
AllRefunded: GenericPalletEvent<'Crowdloan', 'AllRefunded', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
|
|
2547
2373
|
|
|
2548
2374
|
/**
|
|
2549
2375
|
* Fund is dissolved.
|
|
2550
2376
|
**/
|
|
2551
|
-
Dissolved: GenericPalletEvent<
|
|
2377
|
+
Dissolved: GenericPalletEvent<'Crowdloan', 'Dissolved', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
|
|
2552
2378
|
|
|
2553
2379
|
/**
|
|
2554
2380
|
* The result of trying to submit a new bid to the Slots pallet.
|
|
2555
2381
|
**/
|
|
2556
2382
|
HandleBidResult: GenericPalletEvent<
|
|
2557
|
-
Rv,
|
|
2558
2383
|
'Crowdloan',
|
|
2559
2384
|
'HandleBidResult',
|
|
2560
2385
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; result: Result<[], DispatchError> }
|
|
@@ -2563,13 +2388,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2563
2388
|
/**
|
|
2564
2389
|
* The configuration to a crowdloan has been edited.
|
|
2565
2390
|
**/
|
|
2566
|
-
Edited: GenericPalletEvent<
|
|
2391
|
+
Edited: GenericPalletEvent<'Crowdloan', 'Edited', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
|
|
2567
2392
|
|
|
2568
2393
|
/**
|
|
2569
2394
|
* A memo has been updated.
|
|
2570
2395
|
**/
|
|
2571
2396
|
MemoUpdated: GenericPalletEvent<
|
|
2572
|
-
Rv,
|
|
2573
2397
|
'Crowdloan',
|
|
2574
2398
|
'MemoUpdated',
|
|
2575
2399
|
{ who: AccountId32; paraId: PolkadotParachainPrimitivesPrimitivesId; memo: Bytes }
|
|
@@ -2579,7 +2403,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2579
2403
|
* A parachain has been moved to `NewRaise`
|
|
2580
2404
|
**/
|
|
2581
2405
|
AddedToNewRaise: GenericPalletEvent<
|
|
2582
|
-
Rv,
|
|
2583
2406
|
'Crowdloan',
|
|
2584
2407
|
'AddedToNewRaise',
|
|
2585
2408
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId }
|
|
@@ -2588,7 +2411,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2588
2411
|
/**
|
|
2589
2412
|
* Generic pallet event
|
|
2590
2413
|
**/
|
|
2591
|
-
[prop: string]: GenericPalletEvent
|
|
2414
|
+
[prop: string]: GenericPalletEvent;
|
|
2592
2415
|
};
|
|
2593
2416
|
/**
|
|
2594
2417
|
* Pallet `Coretime`'s events
|
|
@@ -2597,17 +2420,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2597
2420
|
/**
|
|
2598
2421
|
* The broker chain has asked for revenue information for a specific block.
|
|
2599
2422
|
**/
|
|
2600
|
-
RevenueInfoRequested: GenericPalletEvent<
|
|
2423
|
+
RevenueInfoRequested: GenericPalletEvent<'Coretime', 'RevenueInfoRequested', { when: number }>;
|
|
2601
2424
|
|
|
2602
2425
|
/**
|
|
2603
2426
|
* A core has received a new assignment from the broker chain.
|
|
2604
2427
|
**/
|
|
2605
|
-
CoreAssigned: GenericPalletEvent<
|
|
2428
|
+
CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV8CoreIndex }>;
|
|
2606
2429
|
|
|
2607
2430
|
/**
|
|
2608
2431
|
* Generic pallet event
|
|
2609
2432
|
**/
|
|
2610
|
-
[prop: string]: GenericPalletEvent
|
|
2433
|
+
[prop: string]: GenericPalletEvent;
|
|
2611
2434
|
};
|
|
2612
2435
|
/**
|
|
2613
2436
|
* Pallet `StateTrieMigration`'s events
|
|
@@ -2618,7 +2441,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2618
2441
|
* `compute`.
|
|
2619
2442
|
**/
|
|
2620
2443
|
Migrated: GenericPalletEvent<
|
|
2621
|
-
Rv,
|
|
2622
2444
|
'StateTrieMigration',
|
|
2623
2445
|
'Migrated',
|
|
2624
2446
|
{ top: number; child: number; compute: PalletStateTrieMigrationMigrationCompute }
|
|
@@ -2627,22 +2449,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2627
2449
|
/**
|
|
2628
2450
|
* Some account got slashed by the given amount.
|
|
2629
2451
|
**/
|
|
2630
|
-
Slashed: GenericPalletEvent<
|
|
2452
|
+
Slashed: GenericPalletEvent<'StateTrieMigration', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
2631
2453
|
|
|
2632
2454
|
/**
|
|
2633
2455
|
* The auto migration task finished.
|
|
2634
2456
|
**/
|
|
2635
|
-
AutoMigrationFinished: GenericPalletEvent<
|
|
2457
|
+
AutoMigrationFinished: GenericPalletEvent<'StateTrieMigration', 'AutoMigrationFinished', null>;
|
|
2636
2458
|
|
|
2637
2459
|
/**
|
|
2638
2460
|
* Migration got halted due to an error or miss-configuration.
|
|
2639
2461
|
**/
|
|
2640
|
-
Halted: GenericPalletEvent<
|
|
2462
|
+
Halted: GenericPalletEvent<'StateTrieMigration', 'Halted', { error: PalletStateTrieMigrationError }>;
|
|
2641
2463
|
|
|
2642
2464
|
/**
|
|
2643
2465
|
* Generic pallet event
|
|
2644
2466
|
**/
|
|
2645
|
-
[prop: string]: GenericPalletEvent
|
|
2467
|
+
[prop: string]: GenericPalletEvent;
|
|
2646
2468
|
};
|
|
2647
2469
|
/**
|
|
2648
2470
|
* Pallet `XcmPallet`'s events
|
|
@@ -2651,13 +2473,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2651
2473
|
/**
|
|
2652
2474
|
* Execution of an XCM message was attempted.
|
|
2653
2475
|
**/
|
|
2654
|
-
Attempted: GenericPalletEvent<
|
|
2476
|
+
Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
2655
2477
|
|
|
2656
2478
|
/**
|
|
2657
2479
|
* An XCM message was sent.
|
|
2658
2480
|
**/
|
|
2659
2481
|
Sent: GenericPalletEvent<
|
|
2660
|
-
Rv,
|
|
2661
2482
|
'XcmPallet',
|
|
2662
2483
|
'Sent',
|
|
2663
2484
|
{
|
|
@@ -2672,7 +2493,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2672
2493
|
* An XCM message failed to send.
|
|
2673
2494
|
**/
|
|
2674
2495
|
SendFailed: GenericPalletEvent<
|
|
2675
|
-
Rv,
|
|
2676
2496
|
'XcmPallet',
|
|
2677
2497
|
'SendFailed',
|
|
2678
2498
|
{
|
|
@@ -2687,7 +2507,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2687
2507
|
* An XCM message failed to process.
|
|
2688
2508
|
**/
|
|
2689
2509
|
ProcessXcmError: GenericPalletEvent<
|
|
2690
|
-
Rv,
|
|
2691
2510
|
'XcmPallet',
|
|
2692
2511
|
'ProcessXcmError',
|
|
2693
2512
|
{ origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
|
|
@@ -2699,7 +2518,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2699
2518
|
* because the query timed out.
|
|
2700
2519
|
**/
|
|
2701
2520
|
UnexpectedResponse: GenericPalletEvent<
|
|
2702
|
-
Rv,
|
|
2703
2521
|
'XcmPallet',
|
|
2704
2522
|
'UnexpectedResponse',
|
|
2705
2523
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -2710,7 +2528,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2710
2528
|
* no registered notification call.
|
|
2711
2529
|
**/
|
|
2712
2530
|
ResponseReady: GenericPalletEvent<
|
|
2713
|
-
Rv,
|
|
2714
2531
|
'XcmPallet',
|
|
2715
2532
|
'ResponseReady',
|
|
2716
2533
|
{ queryId: bigint; response: StagingXcmV5Response }
|
|
@@ -2720,12 +2537,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2720
2537
|
* Query response has been received and query is removed. The registered notification has
|
|
2721
2538
|
* been dispatched and executed successfully.
|
|
2722
2539
|
**/
|
|
2723
|
-
Notified: GenericPalletEvent<
|
|
2724
|
-
Rv,
|
|
2725
|
-
'XcmPallet',
|
|
2726
|
-
'Notified',
|
|
2727
|
-
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
2728
|
-
>;
|
|
2540
|
+
Notified: GenericPalletEvent<'XcmPallet', 'Notified', { queryId: bigint; palletIndex: number; callIndex: number }>;
|
|
2729
2541
|
|
|
2730
2542
|
/**
|
|
2731
2543
|
* Query response has been received and query is removed. The registered notification
|
|
@@ -2733,7 +2545,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2733
2545
|
* originally budgeted by this runtime for the query result.
|
|
2734
2546
|
**/
|
|
2735
2547
|
NotifyOverweight: GenericPalletEvent<
|
|
2736
|
-
Rv,
|
|
2737
2548
|
'XcmPallet',
|
|
2738
2549
|
'NotifyOverweight',
|
|
2739
2550
|
{
|
|
@@ -2750,7 +2561,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2750
2561
|
* dispatching the notification call.
|
|
2751
2562
|
**/
|
|
2752
2563
|
NotifyDispatchError: GenericPalletEvent<
|
|
2753
|
-
Rv,
|
|
2754
2564
|
'XcmPallet',
|
|
2755
2565
|
'NotifyDispatchError',
|
|
2756
2566
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -2762,7 +2572,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2762
2572
|
* is not `(origin, QueryId, Response)`.
|
|
2763
2573
|
**/
|
|
2764
2574
|
NotifyDecodeFailed: GenericPalletEvent<
|
|
2765
|
-
Rv,
|
|
2766
2575
|
'XcmPallet',
|
|
2767
2576
|
'NotifyDecodeFailed',
|
|
2768
2577
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -2774,7 +2583,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2774
2583
|
* be received and acted upon.
|
|
2775
2584
|
**/
|
|
2776
2585
|
InvalidResponder: GenericPalletEvent<
|
|
2777
|
-
Rv,
|
|
2778
2586
|
'XcmPallet',
|
|
2779
2587
|
'InvalidResponder',
|
|
2780
2588
|
{ origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
|
|
@@ -2790,7 +2598,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2790
2598
|
* needed.
|
|
2791
2599
|
**/
|
|
2792
2600
|
InvalidResponderVersion: GenericPalletEvent<
|
|
2793
|
-
Rv,
|
|
2794
2601
|
'XcmPallet',
|
|
2795
2602
|
'InvalidResponderVersion',
|
|
2796
2603
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -2799,13 +2606,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2799
2606
|
/**
|
|
2800
2607
|
* Received query response has been read and removed.
|
|
2801
2608
|
**/
|
|
2802
|
-
ResponseTaken: GenericPalletEvent<
|
|
2609
|
+
ResponseTaken: GenericPalletEvent<'XcmPallet', 'ResponseTaken', { queryId: bigint }>;
|
|
2803
2610
|
|
|
2804
2611
|
/**
|
|
2805
2612
|
* Some assets have been placed in an asset trap.
|
|
2806
2613
|
**/
|
|
2807
2614
|
AssetsTrapped: GenericPalletEvent<
|
|
2808
|
-
Rv,
|
|
2809
2615
|
'XcmPallet',
|
|
2810
2616
|
'AssetsTrapped',
|
|
2811
2617
|
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
@@ -2817,7 +2623,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2817
2623
|
* The cost of sending it (borne by the chain) is included.
|
|
2818
2624
|
**/
|
|
2819
2625
|
VersionChangeNotified: GenericPalletEvent<
|
|
2820
|
-
Rv,
|
|
2821
2626
|
'XcmPallet',
|
|
2822
2627
|
'VersionChangeNotified',
|
|
2823
2628
|
{ destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -2828,7 +2633,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2828
2633
|
* automatic notification or a manual intervention.
|
|
2829
2634
|
**/
|
|
2830
2635
|
SupportedVersionChanged: GenericPalletEvent<
|
|
2831
|
-
Rv,
|
|
2832
2636
|
'XcmPallet',
|
|
2833
2637
|
'SupportedVersionChanged',
|
|
2834
2638
|
{ location: StagingXcmV5Location; version: number }
|
|
@@ -2839,7 +2643,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2839
2643
|
* sending the notification to it.
|
|
2840
2644
|
**/
|
|
2841
2645
|
NotifyTargetSendFail: GenericPalletEvent<
|
|
2842
|
-
Rv,
|
|
2843
2646
|
'XcmPallet',
|
|
2844
2647
|
'NotifyTargetSendFail',
|
|
2845
2648
|
{ location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
|
|
@@ -2850,7 +2653,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2850
2653
|
* migrating the location to our new XCM format.
|
|
2851
2654
|
**/
|
|
2852
2655
|
NotifyTargetMigrationFail: GenericPalletEvent<
|
|
2853
|
-
Rv,
|
|
2854
2656
|
'XcmPallet',
|
|
2855
2657
|
'NotifyTargetMigrationFail',
|
|
2856
2658
|
{ location: XcmVersionedLocation; queryId: bigint }
|
|
@@ -2866,7 +2668,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2866
2668
|
* needed.
|
|
2867
2669
|
**/
|
|
2868
2670
|
InvalidQuerierVersion: GenericPalletEvent<
|
|
2869
|
-
Rv,
|
|
2870
2671
|
'XcmPallet',
|
|
2871
2672
|
'InvalidQuerierVersion',
|
|
2872
2673
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -2878,7 +2679,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2878
2679
|
* be received and acted upon.
|
|
2879
2680
|
**/
|
|
2880
2681
|
InvalidQuerier: GenericPalletEvent<
|
|
2881
|
-
Rv,
|
|
2882
2682
|
'XcmPallet',
|
|
2883
2683
|
'InvalidQuerier',
|
|
2884
2684
|
{
|
|
@@ -2894,7 +2694,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2894
2694
|
* A version information message is sent to them and its cost is included.
|
|
2895
2695
|
**/
|
|
2896
2696
|
VersionNotifyStarted: GenericPalletEvent<
|
|
2897
|
-
Rv,
|
|
2898
2697
|
'XcmPallet',
|
|
2899
2698
|
'VersionNotifyStarted',
|
|
2900
2699
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -2904,7 +2703,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2904
2703
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
2905
2704
|
**/
|
|
2906
2705
|
VersionNotifyRequested: GenericPalletEvent<
|
|
2907
|
-
Rv,
|
|
2908
2706
|
'XcmPallet',
|
|
2909
2707
|
'VersionNotifyRequested',
|
|
2910
2708
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -2915,7 +2713,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2915
2713
|
* notifications.
|
|
2916
2714
|
**/
|
|
2917
2715
|
VersionNotifyUnrequested: GenericPalletEvent<
|
|
2918
|
-
Rv,
|
|
2919
2716
|
'XcmPallet',
|
|
2920
2717
|
'VersionNotifyUnrequested',
|
|
2921
2718
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -2925,7 +2722,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2925
2722
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
2926
2723
|
**/
|
|
2927
2724
|
FeesPaid: GenericPalletEvent<
|
|
2928
|
-
Rv,
|
|
2929
2725
|
'XcmPallet',
|
|
2930
2726
|
'FeesPaid',
|
|
2931
2727
|
{ paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
|
|
@@ -2935,7 +2731,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2935
2731
|
* Some assets have been claimed from an asset trap
|
|
2936
2732
|
**/
|
|
2937
2733
|
AssetsClaimed: GenericPalletEvent<
|
|
2938
|
-
Rv,
|
|
2939
2734
|
'XcmPallet',
|
|
2940
2735
|
'AssetsClaimed',
|
|
2941
2736
|
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
@@ -2944,14 +2739,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2944
2739
|
/**
|
|
2945
2740
|
* A XCM version migration finished.
|
|
2946
2741
|
**/
|
|
2947
|
-
VersionMigrationFinished: GenericPalletEvent<
|
|
2742
|
+
VersionMigrationFinished: GenericPalletEvent<'XcmPallet', 'VersionMigrationFinished', { version: number }>;
|
|
2948
2743
|
|
|
2949
2744
|
/**
|
|
2950
2745
|
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
2951
2746
|
* `expiry` block number.
|
|
2952
2747
|
**/
|
|
2953
2748
|
AliasAuthorized: GenericPalletEvent<
|
|
2954
|
-
Rv,
|
|
2955
2749
|
'XcmPallet',
|
|
2956
2750
|
'AliasAuthorized',
|
|
2957
2751
|
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
|
|
@@ -2961,7 +2755,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2961
2755
|
* `target` removed alias authorization for `aliaser`.
|
|
2962
2756
|
**/
|
|
2963
2757
|
AliasAuthorizationRemoved: GenericPalletEvent<
|
|
2964
|
-
Rv,
|
|
2965
2758
|
'XcmPallet',
|
|
2966
2759
|
'AliasAuthorizationRemoved',
|
|
2967
2760
|
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
|
|
@@ -2971,7 +2764,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2971
2764
|
* `target` removed all alias authorizations.
|
|
2972
2765
|
**/
|
|
2973
2766
|
AliasesAuthorizationsRemoved: GenericPalletEvent<
|
|
2974
|
-
Rv,
|
|
2975
2767
|
'XcmPallet',
|
|
2976
2768
|
'AliasesAuthorizationsRemoved',
|
|
2977
2769
|
{ target: StagingXcmV5Location }
|
|
@@ -2980,7 +2772,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2980
2772
|
/**
|
|
2981
2773
|
* Generic pallet event
|
|
2982
2774
|
**/
|
|
2983
|
-
[prop: string]: GenericPalletEvent
|
|
2775
|
+
[prop: string]: GenericPalletEvent;
|
|
2984
2776
|
};
|
|
2985
2777
|
/**
|
|
2986
2778
|
* Pallet `MessageQueue`'s events
|
|
@@ -2990,7 +2782,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2990
2782
|
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
2991
2783
|
**/
|
|
2992
2784
|
ProcessingFailed: GenericPalletEvent<
|
|
2993
|
-
Rv,
|
|
2994
2785
|
'MessageQueue',
|
|
2995
2786
|
'ProcessingFailed',
|
|
2996
2787
|
{
|
|
@@ -3018,7 +2809,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3018
2809
|
* Message is processed.
|
|
3019
2810
|
**/
|
|
3020
2811
|
Processed: GenericPalletEvent<
|
|
3021
|
-
Rv,
|
|
3022
2812
|
'MessageQueue',
|
|
3023
2813
|
'Processed',
|
|
3024
2814
|
{
|
|
@@ -3053,7 +2843,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3053
2843
|
* Message placed in overweight queue.
|
|
3054
2844
|
**/
|
|
3055
2845
|
OverweightEnqueued: GenericPalletEvent<
|
|
3056
|
-
Rv,
|
|
3057
2846
|
'MessageQueue',
|
|
3058
2847
|
'OverweightEnqueued',
|
|
3059
2848
|
{
|
|
@@ -3083,7 +2872,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3083
2872
|
* This page was reaped.
|
|
3084
2873
|
**/
|
|
3085
2874
|
PageReaped: GenericPalletEvent<
|
|
3086
|
-
Rv,
|
|
3087
2875
|
'MessageQueue',
|
|
3088
2876
|
'PageReaped',
|
|
3089
2877
|
{
|
|
@@ -3102,26 +2890,23 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3102
2890
|
/**
|
|
3103
2891
|
* Generic pallet event
|
|
3104
2892
|
**/
|
|
3105
|
-
[prop: string]: GenericPalletEvent
|
|
2893
|
+
[prop: string]: GenericPalletEvent;
|
|
3106
2894
|
};
|
|
3107
2895
|
/**
|
|
3108
2896
|
* Pallet `AssetRate`'s events
|
|
3109
2897
|
**/
|
|
3110
2898
|
assetRate: {
|
|
3111
2899
|
AssetRateCreated: GenericPalletEvent<
|
|
3112
|
-
Rv,
|
|
3113
2900
|
'AssetRate',
|
|
3114
2901
|
'AssetRateCreated',
|
|
3115
2902
|
{ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; rate: FixedU128 }
|
|
3116
2903
|
>;
|
|
3117
2904
|
AssetRateRemoved: GenericPalletEvent<
|
|
3118
|
-
Rv,
|
|
3119
2905
|
'AssetRate',
|
|
3120
2906
|
'AssetRateRemoved',
|
|
3121
2907
|
{ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset }
|
|
3122
2908
|
>;
|
|
3123
2909
|
AssetRateUpdated: GenericPalletEvent<
|
|
3124
|
-
Rv,
|
|
3125
2910
|
'AssetRate',
|
|
3126
2911
|
'AssetRateUpdated',
|
|
3127
2912
|
{ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 }
|
|
@@ -3130,7 +2915,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3130
2915
|
/**
|
|
3131
2916
|
* Generic pallet event
|
|
3132
2917
|
**/
|
|
3133
|
-
[prop: string]: GenericPalletEvent
|
|
2918
|
+
[prop: string]: GenericPalletEvent;
|
|
3134
2919
|
};
|
|
3135
2920
|
/**
|
|
3136
2921
|
* Pallet `RcMigrator`'s events
|
|
@@ -3140,7 +2925,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3140
2925
|
* A stage transition has occurred.
|
|
3141
2926
|
**/
|
|
3142
2927
|
StageTransition: GenericPalletEvent<
|
|
3143
|
-
Rv,
|
|
3144
2928
|
'RcMigrator',
|
|
3145
2929
|
'StageTransition',
|
|
3146
2930
|
{
|
|
@@ -3164,7 +2948,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3164
2948
|
* to understand. The activation is immediate and affects all events happening
|
|
3165
2949
|
* afterwards.
|
|
3166
2950
|
**/
|
|
3167
|
-
AssetHubMigrationStarted: GenericPalletEvent<
|
|
2951
|
+
AssetHubMigrationStarted: GenericPalletEvent<'RcMigrator', 'AssetHubMigrationStarted', null>;
|
|
3168
2952
|
|
|
3169
2953
|
/**
|
|
3170
2954
|
* The Asset Hub Migration finished.
|
|
@@ -3173,13 +2957,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3173
2957
|
* to understand. The finishing is immediate and affects all events happening
|
|
3174
2958
|
* afterwards.
|
|
3175
2959
|
**/
|
|
3176
|
-
AssetHubMigrationFinished: GenericPalletEvent<
|
|
2960
|
+
AssetHubMigrationFinished: GenericPalletEvent<'RcMigrator', 'AssetHubMigrationFinished', null>;
|
|
3177
2961
|
|
|
3178
2962
|
/**
|
|
3179
2963
|
* A query response has been received.
|
|
3180
2964
|
**/
|
|
3181
2965
|
QueryResponseReceived: GenericPalletEvent<
|
|
3182
|
-
Rv,
|
|
3183
2966
|
'RcMigrator',
|
|
3184
2967
|
'QueryResponseReceived',
|
|
3185
2968
|
{
|
|
@@ -3199,7 +2982,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3199
2982
|
* A XCM message has been resent.
|
|
3200
2983
|
**/
|
|
3201
2984
|
XcmResendAttempt: GenericPalletEvent<
|
|
3202
|
-
Rv,
|
|
3203
2985
|
'RcMigrator',
|
|
3204
2986
|
'XcmResendAttempt',
|
|
3205
2987
|
{
|
|
@@ -3219,7 +3001,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3219
3001
|
* The unprocessed message buffer size has been set.
|
|
3220
3002
|
**/
|
|
3221
3003
|
UnprocessedMsgBufferSet: GenericPalletEvent<
|
|
3222
|
-
Rv,
|
|
3223
3004
|
'RcMigrator',
|
|
3224
3005
|
'UnprocessedMsgBufferSet',
|
|
3225
3006
|
{
|
|
@@ -3239,7 +3020,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3239
3020
|
* Whether the AH UMP queue was prioritized for the next block.
|
|
3240
3021
|
**/
|
|
3241
3022
|
AhUmpQueuePrioritySet: GenericPalletEvent<
|
|
3242
|
-
Rv,
|
|
3243
3023
|
'RcMigrator',
|
|
3244
3024
|
'AhUmpQueuePrioritySet',
|
|
3245
3025
|
{
|
|
@@ -3266,7 +3046,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3266
3046
|
* The AH UMP queue priority config was set.
|
|
3267
3047
|
**/
|
|
3268
3048
|
AhUmpQueuePriorityConfigSet: GenericPalletEvent<
|
|
3269
|
-
Rv,
|
|
3270
3049
|
'RcMigrator',
|
|
3271
3050
|
'AhUmpQueuePriorityConfigSet',
|
|
3272
3051
|
{
|
|
@@ -3286,7 +3065,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3286
3065
|
* The total issuance was recorded.
|
|
3287
3066
|
**/
|
|
3288
3067
|
MigratedBalanceRecordSet: GenericPalletEvent<
|
|
3289
|
-
Rv,
|
|
3290
3068
|
'RcMigrator',
|
|
3291
3069
|
'MigratedBalanceRecordSet',
|
|
3292
3070
|
{ kept: bigint; migrated: bigint }
|
|
@@ -3296,7 +3074,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3296
3074
|
* The RC kept balance was consumed.
|
|
3297
3075
|
**/
|
|
3298
3076
|
MigratedBalanceConsumed: GenericPalletEvent<
|
|
3299
|
-
Rv,
|
|
3300
3077
|
'RcMigrator',
|
|
3301
3078
|
'MigratedBalanceConsumed',
|
|
3302
3079
|
{ kept: bigint; migrated: bigint }
|
|
@@ -3306,7 +3083,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3306
3083
|
* The manager account id was set.
|
|
3307
3084
|
**/
|
|
3308
3085
|
ManagerSet: GenericPalletEvent<
|
|
3309
|
-
Rv,
|
|
3310
3086
|
'RcMigrator',
|
|
3311
3087
|
'ManagerSet',
|
|
3312
3088
|
{
|
|
@@ -3326,7 +3102,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3326
3102
|
* An XCM message was sent.
|
|
3327
3103
|
**/
|
|
3328
3104
|
XcmSent: GenericPalletEvent<
|
|
3329
|
-
Rv,
|
|
3330
3105
|
'RcMigrator',
|
|
3331
3106
|
'XcmSent',
|
|
3332
3107
|
{
|
|
@@ -3340,13 +3115,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3340
3115
|
/**
|
|
3341
3116
|
* The staking elections were paused.
|
|
3342
3117
|
**/
|
|
3343
|
-
StakingElectionsPaused: GenericPalletEvent<
|
|
3118
|
+
StakingElectionsPaused: GenericPalletEvent<'RcMigrator', 'StakingElectionsPaused', null>;
|
|
3344
3119
|
|
|
3345
3120
|
/**
|
|
3346
3121
|
* The accounts to be preserved on Relay Chain were set.
|
|
3347
3122
|
**/
|
|
3348
3123
|
AccountsPreserved: GenericPalletEvent<
|
|
3349
|
-
Rv,
|
|
3350
3124
|
'RcMigrator',
|
|
3351
3125
|
'AccountsPreserved',
|
|
3352
3126
|
{
|
|
@@ -3361,7 +3135,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3361
3135
|
* The canceller account id was set.
|
|
3362
3136
|
**/
|
|
3363
3137
|
CancellerSet: GenericPalletEvent<
|
|
3364
|
-
Rv,
|
|
3365
3138
|
'RcMigrator',
|
|
3366
3139
|
'CancellerSet',
|
|
3367
3140
|
{
|
|
@@ -3381,7 +3154,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3381
3154
|
* The migration was paused.
|
|
3382
3155
|
**/
|
|
3383
3156
|
MigrationPaused: GenericPalletEvent<
|
|
3384
|
-
Rv,
|
|
3385
3157
|
'RcMigrator',
|
|
3386
3158
|
'MigrationPaused',
|
|
3387
3159
|
{
|
|
@@ -3395,13 +3167,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3395
3167
|
/**
|
|
3396
3168
|
* The migration was cancelled.
|
|
3397
3169
|
**/
|
|
3398
|
-
MigrationCancelled: GenericPalletEvent<
|
|
3170
|
+
MigrationCancelled: GenericPalletEvent<'RcMigrator', 'MigrationCancelled', null>;
|
|
3399
3171
|
|
|
3400
3172
|
/**
|
|
3401
3173
|
* Some pure accounts were indexed for possibly receiving free `Any` proxies.
|
|
3402
3174
|
**/
|
|
3403
3175
|
PureAccountsIndexed: GenericPalletEvent<
|
|
3404
|
-
Rv,
|
|
3405
3176
|
'RcMigrator',
|
|
3406
3177
|
'PureAccountsIndexed',
|
|
3407
3178
|
{
|
|
@@ -3416,7 +3187,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3416
3187
|
* The manager multisig dispatched something.
|
|
3417
3188
|
**/
|
|
3418
3189
|
ManagerMultisigDispatched: GenericPalletEvent<
|
|
3419
|
-
Rv,
|
|
3420
3190
|
'RcMigrator',
|
|
3421
3191
|
'ManagerMultisigDispatched',
|
|
3422
3192
|
{ res: Result<[], DispatchError> }
|
|
@@ -3425,13 +3195,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3425
3195
|
/**
|
|
3426
3196
|
* The manager multisig received a vote.
|
|
3427
3197
|
**/
|
|
3428
|
-
ManagerMultisigVoted: GenericPalletEvent<
|
|
3198
|
+
ManagerMultisigVoted: GenericPalletEvent<'RcMigrator', 'ManagerMultisigVoted', { votes: number }>;
|
|
3429
3199
|
|
|
3430
3200
|
/**
|
|
3431
3201
|
* The migration settings were set.
|
|
3432
3202
|
**/
|
|
3433
3203
|
MigrationSettingsSet: GenericPalletEvent<
|
|
3434
|
-
Rv,
|
|
3435
3204
|
'RcMigrator',
|
|
3436
3205
|
'MigrationSettingsSet',
|
|
3437
3206
|
{
|
|
@@ -3450,6 +3219,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3450
3219
|
/**
|
|
3451
3220
|
* Generic pallet event
|
|
3452
3221
|
**/
|
|
3453
|
-
[prop: string]: GenericPalletEvent
|
|
3222
|
+
[prop: string]: GenericPalletEvent;
|
|
3454
3223
|
};
|
|
3455
3224
|
}
|