@dedot/chaintypes 0.194.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 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +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/westend/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 { DispatchError, AccountId32, H256, Perbill, FixedBytes, Bytes, Result, FixedU128 } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemDispatchEventInfo,
|
|
@@ -55,7 +55,7 @@ import type {
|
|
|
55
55
|
FrameSupportMessagesProcessMessageError,
|
|
56
56
|
} from './types.js';
|
|
57
57
|
|
|
58
|
-
export interface ChainEvents
|
|
58
|
+
export interface ChainEvents extends GenericChainEvents {
|
|
59
59
|
/**
|
|
60
60
|
* Pallet `System`'s events
|
|
61
61
|
**/
|
|
@@ -63,18 +63,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
63
63
|
/**
|
|
64
64
|
* An extrinsic completed successfully.
|
|
65
65
|
**/
|
|
66
|
-
ExtrinsicSuccess: GenericPalletEvent<
|
|
67
|
-
Rv,
|
|
68
|
-
'System',
|
|
69
|
-
'ExtrinsicSuccess',
|
|
70
|
-
{ dispatchInfo: FrameSystemDispatchEventInfo }
|
|
71
|
-
>;
|
|
66
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: FrameSystemDispatchEventInfo }>;
|
|
72
67
|
|
|
73
68
|
/**
|
|
74
69
|
* An extrinsic failed.
|
|
75
70
|
**/
|
|
76
71
|
ExtrinsicFailed: GenericPalletEvent<
|
|
77
|
-
Rv,
|
|
78
72
|
'System',
|
|
79
73
|
'ExtrinsicFailed',
|
|
80
74
|
{ dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
|
|
@@ -83,33 +77,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
83
77
|
/**
|
|
84
78
|
* `:code` was updated.
|
|
85
79
|
**/
|
|
86
|
-
CodeUpdated: GenericPalletEvent<
|
|
80
|
+
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
87
81
|
|
|
88
82
|
/**
|
|
89
83
|
* A new account was created.
|
|
90
84
|
**/
|
|
91
|
-
NewAccount: GenericPalletEvent<
|
|
85
|
+
NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
|
|
92
86
|
|
|
93
87
|
/**
|
|
94
88
|
* An account was reaped.
|
|
95
89
|
**/
|
|
96
|
-
KilledAccount: GenericPalletEvent<
|
|
90
|
+
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
|
|
97
91
|
|
|
98
92
|
/**
|
|
99
93
|
* On on-chain remark happened.
|
|
100
94
|
**/
|
|
101
|
-
Remarked: GenericPalletEvent<
|
|
95
|
+
Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
102
96
|
|
|
103
97
|
/**
|
|
104
98
|
* An upgrade was authorized.
|
|
105
99
|
**/
|
|
106
|
-
UpgradeAuthorized: GenericPalletEvent<
|
|
100
|
+
UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
107
101
|
|
|
108
102
|
/**
|
|
109
103
|
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
110
104
|
**/
|
|
111
105
|
RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
|
|
112
|
-
Rv,
|
|
113
106
|
'System',
|
|
114
107
|
'RejectedInvalidAuthorizedUpgrade',
|
|
115
108
|
{ codeHash: H256; error: DispatchError }
|
|
@@ -118,7 +111,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
118
111
|
/**
|
|
119
112
|
* Generic pallet event
|
|
120
113
|
**/
|
|
121
|
-
[prop: string]: GenericPalletEvent
|
|
114
|
+
[prop: string]: GenericPalletEvent;
|
|
122
115
|
};
|
|
123
116
|
/**
|
|
124
117
|
* Pallet `Indices`'s events
|
|
@@ -127,23 +120,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
127
120
|
/**
|
|
128
121
|
* A account index was assigned.
|
|
129
122
|
**/
|
|
130
|
-
IndexAssigned: GenericPalletEvent<
|
|
123
|
+
IndexAssigned: GenericPalletEvent<'Indices', 'IndexAssigned', { who: AccountId32; index: number }>;
|
|
131
124
|
|
|
132
125
|
/**
|
|
133
126
|
* A account index has been freed up (unassigned).
|
|
134
127
|
**/
|
|
135
|
-
IndexFreed: GenericPalletEvent<
|
|
128
|
+
IndexFreed: GenericPalletEvent<'Indices', 'IndexFreed', { index: number }>;
|
|
136
129
|
|
|
137
130
|
/**
|
|
138
131
|
* A account index has been frozen to its current account ID.
|
|
139
132
|
**/
|
|
140
|
-
IndexFrozen: GenericPalletEvent<
|
|
133
|
+
IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
|
|
141
134
|
|
|
142
135
|
/**
|
|
143
136
|
* A deposit to reserve an index has been poked/reconsidered.
|
|
144
137
|
**/
|
|
145
138
|
DepositPoked: GenericPalletEvent<
|
|
146
|
-
Rv,
|
|
147
139
|
'Indices',
|
|
148
140
|
'DepositPoked',
|
|
149
141
|
{ who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -152,7 +144,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
152
144
|
/**
|
|
153
145
|
* Generic pallet event
|
|
154
146
|
**/
|
|
155
|
-
[prop: string]: GenericPalletEvent
|
|
147
|
+
[prop: string]: GenericPalletEvent;
|
|
156
148
|
};
|
|
157
149
|
/**
|
|
158
150
|
* Pallet `Balances`'s events
|
|
@@ -161,40 +153,39 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
161
153
|
/**
|
|
162
154
|
* An account was created with some free balance.
|
|
163
155
|
**/
|
|
164
|
-
Endowed: GenericPalletEvent<
|
|
156
|
+
Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
165
157
|
|
|
166
158
|
/**
|
|
167
159
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
168
160
|
* resulting in an outright loss.
|
|
169
161
|
**/
|
|
170
|
-
DustLost: GenericPalletEvent<
|
|
162
|
+
DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
171
163
|
|
|
172
164
|
/**
|
|
173
165
|
* Transfer succeeded.
|
|
174
166
|
**/
|
|
175
|
-
Transfer: GenericPalletEvent<
|
|
167
|
+
Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
176
168
|
|
|
177
169
|
/**
|
|
178
170
|
* A balance was set by root.
|
|
179
171
|
**/
|
|
180
|
-
BalanceSet: GenericPalletEvent<
|
|
172
|
+
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
181
173
|
|
|
182
174
|
/**
|
|
183
175
|
* Some balance was reserved (moved from free to reserved).
|
|
184
176
|
**/
|
|
185
|
-
Reserved: GenericPalletEvent<
|
|
177
|
+
Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
186
178
|
|
|
187
179
|
/**
|
|
188
180
|
* Some balance was unreserved (moved from reserved to free).
|
|
189
181
|
**/
|
|
190
|
-
Unreserved: GenericPalletEvent<
|
|
182
|
+
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
191
183
|
|
|
192
184
|
/**
|
|
193
185
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
194
186
|
* Final argument indicates the destination balance type.
|
|
195
187
|
**/
|
|
196
188
|
ReserveRepatriated: GenericPalletEvent<
|
|
197
|
-
Rv,
|
|
198
189
|
'Balances',
|
|
199
190
|
'ReserveRepatriated',
|
|
200
191
|
{ from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
|
|
@@ -203,93 +194,92 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
203
194
|
/**
|
|
204
195
|
* Some amount was deposited (e.g. for transaction fees).
|
|
205
196
|
**/
|
|
206
|
-
Deposit: GenericPalletEvent<
|
|
197
|
+
Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
207
198
|
|
|
208
199
|
/**
|
|
209
200
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
210
201
|
**/
|
|
211
|
-
Withdraw: GenericPalletEvent<
|
|
202
|
+
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
212
203
|
|
|
213
204
|
/**
|
|
214
205
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
215
206
|
**/
|
|
216
|
-
Slashed: GenericPalletEvent<
|
|
207
|
+
Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
217
208
|
|
|
218
209
|
/**
|
|
219
210
|
* Some amount was minted into an account.
|
|
220
211
|
**/
|
|
221
|
-
Minted: GenericPalletEvent<
|
|
212
|
+
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
222
213
|
|
|
223
214
|
/**
|
|
224
215
|
* Some credit was balanced and added to the TotalIssuance.
|
|
225
216
|
**/
|
|
226
|
-
MintedCredit: GenericPalletEvent<
|
|
217
|
+
MintedCredit: GenericPalletEvent<'Balances', 'MintedCredit', { amount: bigint }>;
|
|
227
218
|
|
|
228
219
|
/**
|
|
229
220
|
* Some amount was burned from an account.
|
|
230
221
|
**/
|
|
231
|
-
Burned: GenericPalletEvent<
|
|
222
|
+
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
232
223
|
|
|
233
224
|
/**
|
|
234
225
|
* Some debt has been dropped from the Total Issuance.
|
|
235
226
|
**/
|
|
236
|
-
BurnedDebt: GenericPalletEvent<
|
|
227
|
+
BurnedDebt: GenericPalletEvent<'Balances', 'BurnedDebt', { amount: bigint }>;
|
|
237
228
|
|
|
238
229
|
/**
|
|
239
230
|
* Some amount was suspended from an account (it can be restored later).
|
|
240
231
|
**/
|
|
241
|
-
Suspended: GenericPalletEvent<
|
|
232
|
+
Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
242
233
|
|
|
243
234
|
/**
|
|
244
235
|
* Some amount was restored into an account.
|
|
245
236
|
**/
|
|
246
|
-
Restored: GenericPalletEvent<
|
|
237
|
+
Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
247
238
|
|
|
248
239
|
/**
|
|
249
240
|
* An account was upgraded.
|
|
250
241
|
**/
|
|
251
|
-
Upgraded: GenericPalletEvent<
|
|
242
|
+
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
252
243
|
|
|
253
244
|
/**
|
|
254
245
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
255
246
|
**/
|
|
256
|
-
Issued: GenericPalletEvent<
|
|
247
|
+
Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
|
|
257
248
|
|
|
258
249
|
/**
|
|
259
250
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
260
251
|
**/
|
|
261
|
-
Rescinded: GenericPalletEvent<
|
|
252
|
+
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
|
|
262
253
|
|
|
263
254
|
/**
|
|
264
255
|
* Some balance was locked.
|
|
265
256
|
**/
|
|
266
|
-
Locked: GenericPalletEvent<
|
|
257
|
+
Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
267
258
|
|
|
268
259
|
/**
|
|
269
260
|
* Some balance was unlocked.
|
|
270
261
|
**/
|
|
271
|
-
Unlocked: GenericPalletEvent<
|
|
262
|
+
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
272
263
|
|
|
273
264
|
/**
|
|
274
265
|
* Some balance was frozen.
|
|
275
266
|
**/
|
|
276
|
-
Frozen: GenericPalletEvent<
|
|
267
|
+
Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
277
268
|
|
|
278
269
|
/**
|
|
279
270
|
* Some balance was thawed.
|
|
280
271
|
**/
|
|
281
|
-
Thawed: GenericPalletEvent<
|
|
272
|
+
Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
282
273
|
|
|
283
274
|
/**
|
|
284
275
|
* The `TotalIssuance` was forcefully changed.
|
|
285
276
|
**/
|
|
286
|
-
TotalIssuanceForced: GenericPalletEvent<
|
|
277
|
+
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
287
278
|
|
|
288
279
|
/**
|
|
289
280
|
* Some balance was placed on hold.
|
|
290
281
|
**/
|
|
291
282
|
Held: GenericPalletEvent<
|
|
292
|
-
Rv,
|
|
293
283
|
'Balances',
|
|
294
284
|
'Held',
|
|
295
285
|
{ reason: WestendRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
@@ -299,7 +289,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
299
289
|
* Held balance was burned from an account.
|
|
300
290
|
**/
|
|
301
291
|
BurnedHeld: GenericPalletEvent<
|
|
302
|
-
Rv,
|
|
303
292
|
'Balances',
|
|
304
293
|
'BurnedHeld',
|
|
305
294
|
{ reason: WestendRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
@@ -309,7 +298,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
309
298
|
* A transfer of `amount` on hold from `source` to `dest` was initiated.
|
|
310
299
|
**/
|
|
311
300
|
TransferOnHold: GenericPalletEvent<
|
|
312
|
-
Rv,
|
|
313
301
|
'Balances',
|
|
314
302
|
'TransferOnHold',
|
|
315
303
|
{ reason: WestendRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint }
|
|
@@ -319,7 +307,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
319
307
|
* The `transferred` balance is placed on hold at the `dest` account.
|
|
320
308
|
**/
|
|
321
309
|
TransferAndHold: GenericPalletEvent<
|
|
322
|
-
Rv,
|
|
323
310
|
'Balances',
|
|
324
311
|
'TransferAndHold',
|
|
325
312
|
{ reason: WestendRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; transferred: bigint }
|
|
@@ -329,7 +316,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
329
316
|
* Some balance was released from hold.
|
|
330
317
|
**/
|
|
331
318
|
Released: GenericPalletEvent<
|
|
332
|
-
Rv,
|
|
333
319
|
'Balances',
|
|
334
320
|
'Released',
|
|
335
321
|
{ reason: WestendRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
@@ -338,12 +324,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
338
324
|
/**
|
|
339
325
|
* An unexpected/defensive event was triggered.
|
|
340
326
|
**/
|
|
341
|
-
Unexpected: GenericPalletEvent<
|
|
327
|
+
Unexpected: GenericPalletEvent<'Balances', 'Unexpected', PalletBalancesUnexpectedKind>;
|
|
342
328
|
|
|
343
329
|
/**
|
|
344
330
|
* Generic pallet event
|
|
345
331
|
**/
|
|
346
|
-
[prop: string]: GenericPalletEvent
|
|
332
|
+
[prop: string]: GenericPalletEvent;
|
|
347
333
|
};
|
|
348
334
|
/**
|
|
349
335
|
* Pallet `TransactionPayment`'s events
|
|
@@ -354,7 +340,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
354
340
|
* has been paid by `who`.
|
|
355
341
|
**/
|
|
356
342
|
TransactionFeePaid: GenericPalletEvent<
|
|
357
|
-
Rv,
|
|
358
343
|
'TransactionPayment',
|
|
359
344
|
'TransactionFeePaid',
|
|
360
345
|
{ who: AccountId32; actualFee: bigint; tip: bigint }
|
|
@@ -363,7 +348,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
363
348
|
/**
|
|
364
349
|
* Generic pallet event
|
|
365
350
|
**/
|
|
366
|
-
[prop: string]: GenericPalletEvent
|
|
351
|
+
[prop: string]: GenericPalletEvent;
|
|
367
352
|
};
|
|
368
353
|
/**
|
|
369
354
|
* Pallet `Staking`'s events
|
|
@@ -373,18 +358,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
373
358
|
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
374
359
|
* the remainder from the maximum amount of reward.
|
|
375
360
|
**/
|
|
376
|
-
EraPaid: GenericPalletEvent<
|
|
377
|
-
Rv,
|
|
378
|
-
'Staking',
|
|
379
|
-
'EraPaid',
|
|
380
|
-
{ eraIndex: number; validatorPayout: bigint; remainder: bigint }
|
|
381
|
-
>;
|
|
361
|
+
EraPaid: GenericPalletEvent<'Staking', 'EraPaid', { eraIndex: number; validatorPayout: bigint; remainder: bigint }>;
|
|
382
362
|
|
|
383
363
|
/**
|
|
384
364
|
* The nominator has been rewarded by this amount to this destination.
|
|
385
365
|
**/
|
|
386
366
|
Rewarded: GenericPalletEvent<
|
|
387
|
-
Rv,
|
|
388
367
|
'Staking',
|
|
389
368
|
'Rewarded',
|
|
390
369
|
{ stash: AccountId32; dest: PalletStakingRewardDestination; amount: bigint }
|
|
@@ -393,14 +372,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
393
372
|
/**
|
|
394
373
|
* A staker (validator or nominator) has been slashed by the given amount.
|
|
395
374
|
**/
|
|
396
|
-
Slashed: GenericPalletEvent<
|
|
375
|
+
Slashed: GenericPalletEvent<'Staking', 'Slashed', { staker: AccountId32; amount: bigint }>;
|
|
397
376
|
|
|
398
377
|
/**
|
|
399
378
|
* A slash for the given validator, for the given percentage of their stake, at the given
|
|
400
379
|
* era as been reported.
|
|
401
380
|
**/
|
|
402
381
|
SlashReported: GenericPalletEvent<
|
|
403
|
-
Rv,
|
|
404
382
|
'Staking',
|
|
405
383
|
'SlashReported',
|
|
406
384
|
{ validator: AccountId32; fraction: Perbill; slashEra: number }
|
|
@@ -410,17 +388,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
410
388
|
* An old slashing report from a prior era was discarded because it could
|
|
411
389
|
* not be processed.
|
|
412
390
|
**/
|
|
413
|
-
OldSlashingReportDiscarded: GenericPalletEvent<
|
|
414
|
-
Rv,
|
|
415
|
-
'Staking',
|
|
416
|
-
'OldSlashingReportDiscarded',
|
|
417
|
-
{ sessionIndex: number }
|
|
418
|
-
>;
|
|
391
|
+
OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', { sessionIndex: number }>;
|
|
419
392
|
|
|
420
393
|
/**
|
|
421
394
|
* A new set of stakers was elected.
|
|
422
395
|
**/
|
|
423
|
-
StakersElected: GenericPalletEvent<
|
|
396
|
+
StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
|
|
424
397
|
|
|
425
398
|
/**
|
|
426
399
|
* An account has bonded this amount. \[stash, amount\]
|
|
@@ -428,39 +401,38 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
428
401
|
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
|
429
402
|
* it will not be emitted for staking rewards when they are added to stake.
|
|
430
403
|
**/
|
|
431
|
-
Bonded: GenericPalletEvent<
|
|
404
|
+
Bonded: GenericPalletEvent<'Staking', 'Bonded', { stash: AccountId32; amount: bigint }>;
|
|
432
405
|
|
|
433
406
|
/**
|
|
434
407
|
* An account has unbonded this amount.
|
|
435
408
|
**/
|
|
436
|
-
Unbonded: GenericPalletEvent<
|
|
409
|
+
Unbonded: GenericPalletEvent<'Staking', 'Unbonded', { stash: AccountId32; amount: bigint }>;
|
|
437
410
|
|
|
438
411
|
/**
|
|
439
412
|
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
|
440
413
|
* from the unlocking queue.
|
|
441
414
|
**/
|
|
442
|
-
Withdrawn: GenericPalletEvent<
|
|
415
|
+
Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', { stash: AccountId32; amount: bigint }>;
|
|
443
416
|
|
|
444
417
|
/**
|
|
445
418
|
* A nominator has been kicked from a validator.
|
|
446
419
|
**/
|
|
447
|
-
Kicked: GenericPalletEvent<
|
|
420
|
+
Kicked: GenericPalletEvent<'Staking', 'Kicked', { nominator: AccountId32; stash: AccountId32 }>;
|
|
448
421
|
|
|
449
422
|
/**
|
|
450
423
|
* The election failed. No new era is planned.
|
|
451
424
|
**/
|
|
452
|
-
StakingElectionFailed: GenericPalletEvent<
|
|
425
|
+
StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
|
|
453
426
|
|
|
454
427
|
/**
|
|
455
428
|
* An account has stopped participating as either a validator or nominator.
|
|
456
429
|
**/
|
|
457
|
-
Chilled: GenericPalletEvent<
|
|
430
|
+
Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
|
|
458
431
|
|
|
459
432
|
/**
|
|
460
433
|
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
|
461
434
|
**/
|
|
462
435
|
PayoutStarted: GenericPalletEvent<
|
|
463
|
-
Rv,
|
|
464
436
|
'Staking',
|
|
465
437
|
'PayoutStarted',
|
|
466
438
|
{ eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined }
|
|
@@ -470,7 +442,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
470
442
|
* A validator has set their preferences.
|
|
471
443
|
**/
|
|
472
444
|
ValidatorPrefsSet: GenericPalletEvent<
|
|
473
|
-
Rv,
|
|
474
445
|
'Staking',
|
|
475
446
|
'ValidatorPrefsSet',
|
|
476
447
|
{ stash: AccountId32; prefs: PalletStakingValidatorPrefs }
|
|
@@ -479,38 +450,33 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
479
450
|
/**
|
|
480
451
|
* Voters size limit reached.
|
|
481
452
|
**/
|
|
482
|
-
SnapshotVotersSizeExceeded: GenericPalletEvent<
|
|
453
|
+
SnapshotVotersSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotVotersSizeExceeded', { size: number }>;
|
|
483
454
|
|
|
484
455
|
/**
|
|
485
456
|
* Targets size limit reached.
|
|
486
457
|
**/
|
|
487
|
-
SnapshotTargetsSizeExceeded: GenericPalletEvent<
|
|
458
|
+
SnapshotTargetsSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotTargetsSizeExceeded', { size: number }>;
|
|
488
459
|
|
|
489
460
|
/**
|
|
490
461
|
* A new force era mode was set.
|
|
491
462
|
**/
|
|
492
|
-
ForceEra: GenericPalletEvent<
|
|
463
|
+
ForceEra: GenericPalletEvent<'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
|
|
493
464
|
|
|
494
465
|
/**
|
|
495
466
|
* Report of a controller batch deprecation.
|
|
496
467
|
**/
|
|
497
|
-
ControllerBatchDeprecated: GenericPalletEvent<
|
|
468
|
+
ControllerBatchDeprecated: GenericPalletEvent<'Staking', 'ControllerBatchDeprecated', { failures: number }>;
|
|
498
469
|
|
|
499
470
|
/**
|
|
500
471
|
* Staking balance migrated from locks to holds, with any balance that could not be held
|
|
501
472
|
* is force withdrawn.
|
|
502
473
|
**/
|
|
503
|
-
CurrencyMigrated: GenericPalletEvent<
|
|
504
|
-
Rv,
|
|
505
|
-
'Staking',
|
|
506
|
-
'CurrencyMigrated',
|
|
507
|
-
{ stash: AccountId32; forceWithdraw: bigint }
|
|
508
|
-
>;
|
|
474
|
+
CurrencyMigrated: GenericPalletEvent<'Staking', 'CurrencyMigrated', { stash: AccountId32; forceWithdraw: bigint }>;
|
|
509
475
|
|
|
510
476
|
/**
|
|
511
477
|
* Generic pallet event
|
|
512
478
|
**/
|
|
513
|
-
[prop: string]: GenericPalletEvent
|
|
479
|
+
[prop: string]: GenericPalletEvent;
|
|
514
480
|
};
|
|
515
481
|
/**
|
|
516
482
|
* Pallet `Offences`'s events
|
|
@@ -521,12 +487,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
521
487
|
* (kind-specific) time slot. This event is not deposited for duplicate slashes.
|
|
522
488
|
* \[kind, timeslot\].
|
|
523
489
|
**/
|
|
524
|
-
Offence: GenericPalletEvent<
|
|
490
|
+
Offence: GenericPalletEvent<'Offences', 'Offence', { kind: FixedBytes<16>; timeslot: Bytes }>;
|
|
525
491
|
|
|
526
492
|
/**
|
|
527
493
|
* Generic pallet event
|
|
528
494
|
**/
|
|
529
|
-
[prop: string]: GenericPalletEvent
|
|
495
|
+
[prop: string]: GenericPalletEvent;
|
|
530
496
|
};
|
|
531
497
|
/**
|
|
532
498
|
* Pallet `Historical`'s events
|
|
@@ -535,17 +501,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
535
501
|
/**
|
|
536
502
|
* The merkle root of the validators of the said session were stored
|
|
537
503
|
**/
|
|
538
|
-
RootStored: GenericPalletEvent<
|
|
504
|
+
RootStored: GenericPalletEvent<'Historical', 'RootStored', { index: number }>;
|
|
539
505
|
|
|
540
506
|
/**
|
|
541
507
|
* The merkle roots of up to this session index were pruned
|
|
542
508
|
**/
|
|
543
|
-
RootsPruned: GenericPalletEvent<
|
|
509
|
+
RootsPruned: GenericPalletEvent<'Historical', 'RootsPruned', { upTo: number }>;
|
|
544
510
|
|
|
545
511
|
/**
|
|
546
512
|
* Generic pallet event
|
|
547
513
|
**/
|
|
548
|
-
[prop: string]: GenericPalletEvent
|
|
514
|
+
[prop: string]: GenericPalletEvent;
|
|
549
515
|
};
|
|
550
516
|
/**
|
|
551
517
|
* Pallet `Parameters`'s events
|
|
@@ -557,7 +523,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
557
523
|
* Is also emitted when the value was not changed.
|
|
558
524
|
**/
|
|
559
525
|
Updated: GenericPalletEvent<
|
|
560
|
-
Rv,
|
|
561
526
|
'Parameters',
|
|
562
527
|
'Updated',
|
|
563
528
|
{
|
|
@@ -581,7 +546,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
581
546
|
/**
|
|
582
547
|
* Generic pallet event
|
|
583
548
|
**/
|
|
584
|
-
[prop: string]: GenericPalletEvent
|
|
549
|
+
[prop: string]: GenericPalletEvent;
|
|
585
550
|
};
|
|
586
551
|
/**
|
|
587
552
|
* Pallet `Session`'s events
|
|
@@ -591,28 +556,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
591
556
|
* New session has happened. Note that the argument is the session index, not the
|
|
592
557
|
* block number as the type might suggest.
|
|
593
558
|
**/
|
|
594
|
-
NewSession: GenericPalletEvent<
|
|
559
|
+
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
595
560
|
|
|
596
561
|
/**
|
|
597
562
|
* The `NewSession` event in the current block also implies a new validator set to be
|
|
598
563
|
* queued.
|
|
599
564
|
**/
|
|
600
|
-
NewQueued: GenericPalletEvent<
|
|
565
|
+
NewQueued: GenericPalletEvent<'Session', 'NewQueued', null>;
|
|
601
566
|
|
|
602
567
|
/**
|
|
603
568
|
* Validator has been disabled.
|
|
604
569
|
**/
|
|
605
|
-
ValidatorDisabled: GenericPalletEvent<
|
|
570
|
+
ValidatorDisabled: GenericPalletEvent<'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
|
|
606
571
|
|
|
607
572
|
/**
|
|
608
573
|
* Validator has been re-enabled.
|
|
609
574
|
**/
|
|
610
|
-
ValidatorReenabled: GenericPalletEvent<
|
|
575
|
+
ValidatorReenabled: GenericPalletEvent<'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
|
|
611
576
|
|
|
612
577
|
/**
|
|
613
578
|
* Generic pallet event
|
|
614
579
|
**/
|
|
615
|
-
[prop: string]: GenericPalletEvent
|
|
580
|
+
[prop: string]: GenericPalletEvent;
|
|
616
581
|
};
|
|
617
582
|
/**
|
|
618
583
|
* Pallet `Grandpa`'s events
|
|
@@ -622,7 +587,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
622
587
|
* New authority set has been applied.
|
|
623
588
|
**/
|
|
624
589
|
NewAuthorities: GenericPalletEvent<
|
|
625
|
-
Rv,
|
|
626
590
|
'Grandpa',
|
|
627
591
|
'NewAuthorities',
|
|
628
592
|
{ authoritySet: Array<[SpConsensusGrandpaAppPublic, bigint]> }
|
|
@@ -631,17 +595,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
631
595
|
/**
|
|
632
596
|
* Current authority set has been paused.
|
|
633
597
|
**/
|
|
634
|
-
Paused: GenericPalletEvent<
|
|
598
|
+
Paused: GenericPalletEvent<'Grandpa', 'Paused', null>;
|
|
635
599
|
|
|
636
600
|
/**
|
|
637
601
|
* Current authority set has been resumed.
|
|
638
602
|
**/
|
|
639
|
-
Resumed: GenericPalletEvent<
|
|
603
|
+
Resumed: GenericPalletEvent<'Grandpa', 'Resumed', null>;
|
|
640
604
|
|
|
641
605
|
/**
|
|
642
606
|
* Generic pallet event
|
|
643
607
|
**/
|
|
644
|
-
[prop: string]: GenericPalletEvent
|
|
608
|
+
[prop: string]: GenericPalletEvent;
|
|
645
609
|
};
|
|
646
610
|
/**
|
|
647
611
|
* Pallet `Utility`'s events
|
|
@@ -651,47 +615,47 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
651
615
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
652
616
|
* well as the error.
|
|
653
617
|
**/
|
|
654
|
-
BatchInterrupted: GenericPalletEvent<
|
|
618
|
+
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
655
619
|
|
|
656
620
|
/**
|
|
657
621
|
* Batch of dispatches completed fully with no error.
|
|
658
622
|
**/
|
|
659
|
-
BatchCompleted: GenericPalletEvent<
|
|
623
|
+
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
660
624
|
|
|
661
625
|
/**
|
|
662
626
|
* Batch of dispatches completed but has errors.
|
|
663
627
|
**/
|
|
664
|
-
BatchCompletedWithErrors: GenericPalletEvent<
|
|
628
|
+
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
665
629
|
|
|
666
630
|
/**
|
|
667
631
|
* A single item within a Batch of dispatches has completed with no error.
|
|
668
632
|
**/
|
|
669
|
-
ItemCompleted: GenericPalletEvent<
|
|
633
|
+
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
670
634
|
|
|
671
635
|
/**
|
|
672
636
|
* A single item within a Batch of dispatches has completed with error.
|
|
673
637
|
**/
|
|
674
|
-
ItemFailed: GenericPalletEvent<
|
|
638
|
+
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
675
639
|
|
|
676
640
|
/**
|
|
677
641
|
* A call was dispatched.
|
|
678
642
|
**/
|
|
679
|
-
DispatchedAs: GenericPalletEvent<
|
|
643
|
+
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
680
644
|
|
|
681
645
|
/**
|
|
682
646
|
* Main call was dispatched.
|
|
683
647
|
**/
|
|
684
|
-
IfElseMainSuccess: GenericPalletEvent<
|
|
648
|
+
IfElseMainSuccess: GenericPalletEvent<'Utility', 'IfElseMainSuccess', null>;
|
|
685
649
|
|
|
686
650
|
/**
|
|
687
651
|
* The fallback call was dispatched.
|
|
688
652
|
**/
|
|
689
|
-
IfElseFallbackCalled: GenericPalletEvent<
|
|
653
|
+
IfElseFallbackCalled: GenericPalletEvent<'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
|
|
690
654
|
|
|
691
655
|
/**
|
|
692
656
|
* Generic pallet event
|
|
693
657
|
**/
|
|
694
|
-
[prop: string]: GenericPalletEvent
|
|
658
|
+
[prop: string]: GenericPalletEvent;
|
|
695
659
|
};
|
|
696
660
|
/**
|
|
697
661
|
* Pallet `Identity`'s events
|
|
@@ -700,23 +664,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
700
664
|
/**
|
|
701
665
|
* A name was set or reset (which will remove all judgements).
|
|
702
666
|
**/
|
|
703
|
-
IdentitySet: GenericPalletEvent<
|
|
667
|
+
IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
|
|
704
668
|
|
|
705
669
|
/**
|
|
706
670
|
* A name was cleared, and the given balance returned.
|
|
707
671
|
**/
|
|
708
|
-
IdentityCleared: GenericPalletEvent<
|
|
672
|
+
IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
|
|
709
673
|
|
|
710
674
|
/**
|
|
711
675
|
* A name was removed and the given balance slashed.
|
|
712
676
|
**/
|
|
713
|
-
IdentityKilled: GenericPalletEvent<
|
|
677
|
+
IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
|
|
714
678
|
|
|
715
679
|
/**
|
|
716
680
|
* A judgement was asked from a registrar.
|
|
717
681
|
**/
|
|
718
682
|
JudgementRequested: GenericPalletEvent<
|
|
719
|
-
Rv,
|
|
720
683
|
'Identity',
|
|
721
684
|
'JudgementRequested',
|
|
722
685
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -726,7 +689,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
726
689
|
* A judgement request was retracted.
|
|
727
690
|
**/
|
|
728
691
|
JudgementUnrequested: GenericPalletEvent<
|
|
729
|
-
Rv,
|
|
730
692
|
'Identity',
|
|
731
693
|
'JudgementUnrequested',
|
|
732
694
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -735,23 +697,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
735
697
|
/**
|
|
736
698
|
* A judgement was given by a registrar.
|
|
737
699
|
**/
|
|
738
|
-
JudgementGiven: GenericPalletEvent<
|
|
739
|
-
Rv,
|
|
740
|
-
'Identity',
|
|
741
|
-
'JudgementGiven',
|
|
742
|
-
{ target: AccountId32; registrarIndex: number }
|
|
743
|
-
>;
|
|
700
|
+
JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId32; registrarIndex: number }>;
|
|
744
701
|
|
|
745
702
|
/**
|
|
746
703
|
* A registrar was added.
|
|
747
704
|
**/
|
|
748
|
-
RegistrarAdded: GenericPalletEvent<
|
|
705
|
+
RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
|
|
749
706
|
|
|
750
707
|
/**
|
|
751
708
|
* A sub-identity was added to an identity and the deposit paid.
|
|
752
709
|
**/
|
|
753
710
|
SubIdentityAdded: GenericPalletEvent<
|
|
754
|
-
Rv,
|
|
755
711
|
'Identity',
|
|
756
712
|
'SubIdentityAdded',
|
|
757
713
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -761,7 +717,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
761
717
|
* An account's sub-identities were set (in bulk).
|
|
762
718
|
**/
|
|
763
719
|
SubIdentitiesSet: GenericPalletEvent<
|
|
764
|
-
Rv,
|
|
765
720
|
'Identity',
|
|
766
721
|
'SubIdentitiesSet',
|
|
767
722
|
{ main: AccountId32; numberOfSubs: number; newDeposit: bigint }
|
|
@@ -770,18 +725,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
770
725
|
/**
|
|
771
726
|
* A given sub-account's associated name was changed by its super-identity.
|
|
772
727
|
**/
|
|
773
|
-
SubIdentityRenamed: GenericPalletEvent<
|
|
774
|
-
Rv,
|
|
775
|
-
'Identity',
|
|
776
|
-
'SubIdentityRenamed',
|
|
777
|
-
{ sub: AccountId32; main: AccountId32 }
|
|
778
|
-
>;
|
|
728
|
+
SubIdentityRenamed: GenericPalletEvent<'Identity', 'SubIdentityRenamed', { sub: AccountId32; main: AccountId32 }>;
|
|
779
729
|
|
|
780
730
|
/**
|
|
781
731
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
782
732
|
**/
|
|
783
733
|
SubIdentityRemoved: GenericPalletEvent<
|
|
784
|
-
Rv,
|
|
785
734
|
'Identity',
|
|
786
735
|
'SubIdentityRemoved',
|
|
787
736
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -792,7 +741,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
792
741
|
* main identity account to the sub-identity account.
|
|
793
742
|
**/
|
|
794
743
|
SubIdentityRevoked: GenericPalletEvent<
|
|
795
|
-
Rv,
|
|
796
744
|
'Identity',
|
|
797
745
|
'SubIdentityRevoked',
|
|
798
746
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -801,23 +749,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
801
749
|
/**
|
|
802
750
|
* A username authority was added.
|
|
803
751
|
**/
|
|
804
|
-
AuthorityAdded: GenericPalletEvent<
|
|
752
|
+
AuthorityAdded: GenericPalletEvent<'Identity', 'AuthorityAdded', { authority: AccountId32 }>;
|
|
805
753
|
|
|
806
754
|
/**
|
|
807
755
|
* A username authority was removed.
|
|
808
756
|
**/
|
|
809
|
-
AuthorityRemoved: GenericPalletEvent<
|
|
757
|
+
AuthorityRemoved: GenericPalletEvent<'Identity', 'AuthorityRemoved', { authority: AccountId32 }>;
|
|
810
758
|
|
|
811
759
|
/**
|
|
812
760
|
* A username was set for `who`.
|
|
813
761
|
**/
|
|
814
|
-
UsernameSet: GenericPalletEvent<
|
|
762
|
+
UsernameSet: GenericPalletEvent<'Identity', 'UsernameSet', { who: AccountId32; username: Bytes }>;
|
|
815
763
|
|
|
816
764
|
/**
|
|
817
765
|
* A username was queued, but `who` must accept it prior to `expiration`.
|
|
818
766
|
**/
|
|
819
767
|
UsernameQueued: GenericPalletEvent<
|
|
820
|
-
Rv,
|
|
821
768
|
'Identity',
|
|
822
769
|
'UsernameQueued',
|
|
823
770
|
{ who: AccountId32; username: Bytes; expiration: number }
|
|
@@ -826,19 +773,18 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
826
773
|
/**
|
|
827
774
|
* A queued username passed its expiration without being claimed and was removed.
|
|
828
775
|
**/
|
|
829
|
-
PreapprovalExpired: GenericPalletEvent<
|
|
776
|
+
PreapprovalExpired: GenericPalletEvent<'Identity', 'PreapprovalExpired', { whose: AccountId32 }>;
|
|
830
777
|
|
|
831
778
|
/**
|
|
832
779
|
* A username was set as a primary and can be looked up from `who`.
|
|
833
780
|
**/
|
|
834
|
-
PrimaryUsernameSet: GenericPalletEvent<
|
|
781
|
+
PrimaryUsernameSet: GenericPalletEvent<'Identity', 'PrimaryUsernameSet', { who: AccountId32; username: Bytes }>;
|
|
835
782
|
|
|
836
783
|
/**
|
|
837
784
|
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
838
785
|
* identity) has been removed.
|
|
839
786
|
**/
|
|
840
787
|
DanglingUsernameRemoved: GenericPalletEvent<
|
|
841
|
-
Rv,
|
|
842
788
|
'Identity',
|
|
843
789
|
'DanglingUsernameRemoved',
|
|
844
790
|
{ who: AccountId32; username: Bytes }
|
|
@@ -847,22 +793,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
847
793
|
/**
|
|
848
794
|
* A username has been unbound.
|
|
849
795
|
**/
|
|
850
|
-
UsernameUnbound: GenericPalletEvent<
|
|
796
|
+
UsernameUnbound: GenericPalletEvent<'Identity', 'UsernameUnbound', { username: Bytes }>;
|
|
851
797
|
|
|
852
798
|
/**
|
|
853
799
|
* A username has been removed.
|
|
854
800
|
**/
|
|
855
|
-
UsernameRemoved: GenericPalletEvent<
|
|
801
|
+
UsernameRemoved: GenericPalletEvent<'Identity', 'UsernameRemoved', { username: Bytes }>;
|
|
856
802
|
|
|
857
803
|
/**
|
|
858
804
|
* A username has been killed.
|
|
859
805
|
**/
|
|
860
|
-
UsernameKilled: GenericPalletEvent<
|
|
806
|
+
UsernameKilled: GenericPalletEvent<'Identity', 'UsernameKilled', { username: Bytes }>;
|
|
861
807
|
|
|
862
808
|
/**
|
|
863
809
|
* Generic pallet event
|
|
864
810
|
**/
|
|
865
|
-
[prop: string]: GenericPalletEvent
|
|
811
|
+
[prop: string]: GenericPalletEvent;
|
|
866
812
|
};
|
|
867
813
|
/**
|
|
868
814
|
* Pallet `Recovery`'s events
|
|
@@ -871,13 +817,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
871
817
|
/**
|
|
872
818
|
* A recovery process has been set up for an account.
|
|
873
819
|
**/
|
|
874
|
-
RecoveryCreated: GenericPalletEvent<
|
|
820
|
+
RecoveryCreated: GenericPalletEvent<'Recovery', 'RecoveryCreated', { account: AccountId32 }>;
|
|
875
821
|
|
|
876
822
|
/**
|
|
877
823
|
* A recovery process has been initiated for lost account by rescuer account.
|
|
878
824
|
**/
|
|
879
825
|
RecoveryInitiated: GenericPalletEvent<
|
|
880
|
-
Rv,
|
|
881
826
|
'Recovery',
|
|
882
827
|
'RecoveryInitiated',
|
|
883
828
|
{ lostAccount: AccountId32; rescuerAccount: AccountId32 }
|
|
@@ -887,7 +832,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
887
832
|
* A recovery process for lost account by rescuer account has been vouched for by sender.
|
|
888
833
|
**/
|
|
889
834
|
RecoveryVouched: GenericPalletEvent<
|
|
890
|
-
Rv,
|
|
891
835
|
'Recovery',
|
|
892
836
|
'RecoveryVouched',
|
|
893
837
|
{ lostAccount: AccountId32; rescuerAccount: AccountId32; sender: AccountId32 }
|
|
@@ -897,7 +841,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
897
841
|
* A recovery process for lost account by rescuer account has been closed.
|
|
898
842
|
**/
|
|
899
843
|
RecoveryClosed: GenericPalletEvent<
|
|
900
|
-
Rv,
|
|
901
844
|
'Recovery',
|
|
902
845
|
'RecoveryClosed',
|
|
903
846
|
{ lostAccount: AccountId32; rescuerAccount: AccountId32 }
|
|
@@ -907,7 +850,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
907
850
|
* Lost account has been successfully recovered by rescuer account.
|
|
908
851
|
**/
|
|
909
852
|
AccountRecovered: GenericPalletEvent<
|
|
910
|
-
Rv,
|
|
911
853
|
'Recovery',
|
|
912
854
|
'AccountRecovered',
|
|
913
855
|
{ lostAccount: AccountId32; rescuerAccount: AccountId32 }
|
|
@@ -916,13 +858,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
916
858
|
/**
|
|
917
859
|
* A recovery process has been removed for an account.
|
|
918
860
|
**/
|
|
919
|
-
RecoveryRemoved: GenericPalletEvent<
|
|
861
|
+
RecoveryRemoved: GenericPalletEvent<'Recovery', 'RecoveryRemoved', { lostAccount: AccountId32 }>;
|
|
920
862
|
|
|
921
863
|
/**
|
|
922
864
|
* A deposit has been updated.
|
|
923
865
|
**/
|
|
924
866
|
DepositPoked: GenericPalletEvent<
|
|
925
|
-
Rv,
|
|
926
867
|
'Recovery',
|
|
927
868
|
'DepositPoked',
|
|
928
869
|
{ who: AccountId32; kind: PalletRecoveryDepositKind; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -931,7 +872,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
931
872
|
/**
|
|
932
873
|
* Generic pallet event
|
|
933
874
|
**/
|
|
934
|
-
[prop: string]: GenericPalletEvent
|
|
875
|
+
[prop: string]: GenericPalletEvent;
|
|
935
876
|
};
|
|
936
877
|
/**
|
|
937
878
|
* Pallet `Vesting`'s events
|
|
@@ -940,28 +881,23 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
940
881
|
/**
|
|
941
882
|
* A vesting schedule has been created.
|
|
942
883
|
**/
|
|
943
|
-
VestingCreated: GenericPalletEvent<
|
|
944
|
-
Rv,
|
|
945
|
-
'Vesting',
|
|
946
|
-
'VestingCreated',
|
|
947
|
-
{ account: AccountId32; scheduleIndex: number }
|
|
948
|
-
>;
|
|
884
|
+
VestingCreated: GenericPalletEvent<'Vesting', 'VestingCreated', { account: AccountId32; scheduleIndex: number }>;
|
|
949
885
|
|
|
950
886
|
/**
|
|
951
887
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
952
888
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
953
889
|
**/
|
|
954
|
-
VestingUpdated: GenericPalletEvent<
|
|
890
|
+
VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
|
|
955
891
|
|
|
956
892
|
/**
|
|
957
893
|
* An \[account\] has become fully vested.
|
|
958
894
|
**/
|
|
959
|
-
VestingCompleted: GenericPalletEvent<
|
|
895
|
+
VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
|
|
960
896
|
|
|
961
897
|
/**
|
|
962
898
|
* Generic pallet event
|
|
963
899
|
**/
|
|
964
|
-
[prop: string]: GenericPalletEvent
|
|
900
|
+
[prop: string]: GenericPalletEvent;
|
|
965
901
|
};
|
|
966
902
|
/**
|
|
967
903
|
* Pallet `Scheduler`'s events
|
|
@@ -970,18 +906,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
970
906
|
/**
|
|
971
907
|
* Scheduled some task.
|
|
972
908
|
**/
|
|
973
|
-
Scheduled: GenericPalletEvent<
|
|
909
|
+
Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
|
|
974
910
|
|
|
975
911
|
/**
|
|
976
912
|
* Canceled some task.
|
|
977
913
|
**/
|
|
978
|
-
Canceled: GenericPalletEvent<
|
|
914
|
+
Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
|
|
979
915
|
|
|
980
916
|
/**
|
|
981
917
|
* Dispatched some task.
|
|
982
918
|
**/
|
|
983
919
|
Dispatched: GenericPalletEvent<
|
|
984
|
-
Rv,
|
|
985
920
|
'Scheduler',
|
|
986
921
|
'Dispatched',
|
|
987
922
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
|
|
@@ -991,7 +926,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
991
926
|
* Set a retry configuration for some task.
|
|
992
927
|
**/
|
|
993
928
|
RetrySet: GenericPalletEvent<
|
|
994
|
-
Rv,
|
|
995
929
|
'Scheduler',
|
|
996
930
|
'RetrySet',
|
|
997
931
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; period: number; retries: number }
|
|
@@ -1001,7 +935,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1001
935
|
* Cancel a retry configuration for some task.
|
|
1002
936
|
**/
|
|
1003
937
|
RetryCancelled: GenericPalletEvent<
|
|
1004
|
-
Rv,
|
|
1005
938
|
'Scheduler',
|
|
1006
939
|
'RetryCancelled',
|
|
1007
940
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -1011,7 +944,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1011
944
|
* The call for the provided hash was not found so the task has been aborted.
|
|
1012
945
|
**/
|
|
1013
946
|
CallUnavailable: GenericPalletEvent<
|
|
1014
|
-
Rv,
|
|
1015
947
|
'Scheduler',
|
|
1016
948
|
'CallUnavailable',
|
|
1017
949
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -1021,7 +953,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1021
953
|
* The given task was unable to be renewed since the agenda is full at that block.
|
|
1022
954
|
**/
|
|
1023
955
|
PeriodicFailed: GenericPalletEvent<
|
|
1024
|
-
Rv,
|
|
1025
956
|
'Scheduler',
|
|
1026
957
|
'PeriodicFailed',
|
|
1027
958
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -1032,7 +963,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1032
963
|
* was not enough weight to reschedule it.
|
|
1033
964
|
**/
|
|
1034
965
|
RetryFailed: GenericPalletEvent<
|
|
1035
|
-
Rv,
|
|
1036
966
|
'Scheduler',
|
|
1037
967
|
'RetryFailed',
|
|
1038
968
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -1042,7 +972,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1042
972
|
* The given task can never be executed since it is overweight.
|
|
1043
973
|
**/
|
|
1044
974
|
PermanentlyOverweight: GenericPalletEvent<
|
|
1045
|
-
Rv,
|
|
1046
975
|
'Scheduler',
|
|
1047
976
|
'PermanentlyOverweight',
|
|
1048
977
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -1051,12 +980,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1051
980
|
/**
|
|
1052
981
|
* Agenda is incomplete from `when`.
|
|
1053
982
|
**/
|
|
1054
|
-
AgendaIncomplete: GenericPalletEvent<
|
|
983
|
+
AgendaIncomplete: GenericPalletEvent<'Scheduler', 'AgendaIncomplete', { when: number }>;
|
|
1055
984
|
|
|
1056
985
|
/**
|
|
1057
986
|
* Generic pallet event
|
|
1058
987
|
**/
|
|
1059
|
-
[prop: string]: GenericPalletEvent
|
|
988
|
+
[prop: string]: GenericPalletEvent;
|
|
1060
989
|
};
|
|
1061
990
|
/**
|
|
1062
991
|
* Pallet `Preimage`'s events
|
|
@@ -1065,22 +994,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1065
994
|
/**
|
|
1066
995
|
* A preimage has been noted.
|
|
1067
996
|
**/
|
|
1068
|
-
Noted: GenericPalletEvent<
|
|
997
|
+
Noted: GenericPalletEvent<'Preimage', 'Noted', { hash: H256 }>;
|
|
1069
998
|
|
|
1070
999
|
/**
|
|
1071
1000
|
* A preimage has been requested.
|
|
1072
1001
|
**/
|
|
1073
|
-
Requested: GenericPalletEvent<
|
|
1002
|
+
Requested: GenericPalletEvent<'Preimage', 'Requested', { hash: H256 }>;
|
|
1074
1003
|
|
|
1075
1004
|
/**
|
|
1076
1005
|
* A preimage has ben cleared.
|
|
1077
1006
|
**/
|
|
1078
|
-
Cleared: GenericPalletEvent<
|
|
1007
|
+
Cleared: GenericPalletEvent<'Preimage', 'Cleared', { hash: H256 }>;
|
|
1079
1008
|
|
|
1080
1009
|
/**
|
|
1081
1010
|
* Generic pallet event
|
|
1082
1011
|
**/
|
|
1083
|
-
[prop: string]: GenericPalletEvent
|
|
1012
|
+
[prop: string]: GenericPalletEvent;
|
|
1084
1013
|
};
|
|
1085
1014
|
/**
|
|
1086
1015
|
* Pallet `Sudo`'s events
|
|
@@ -1090,7 +1019,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1090
1019
|
* A sudo call just took place.
|
|
1091
1020
|
**/
|
|
1092
1021
|
Sudid: GenericPalletEvent<
|
|
1093
|
-
Rv,
|
|
1094
1022
|
'Sudo',
|
|
1095
1023
|
'Sudid',
|
|
1096
1024
|
{
|
|
@@ -1105,7 +1033,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1105
1033
|
* The sudo key has been updated.
|
|
1106
1034
|
**/
|
|
1107
1035
|
KeyChanged: GenericPalletEvent<
|
|
1108
|
-
Rv,
|
|
1109
1036
|
'Sudo',
|
|
1110
1037
|
'KeyChanged',
|
|
1111
1038
|
{
|
|
@@ -1124,13 +1051,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1124
1051
|
/**
|
|
1125
1052
|
* The key was permanently removed.
|
|
1126
1053
|
**/
|
|
1127
|
-
KeyRemoved: GenericPalletEvent<
|
|
1054
|
+
KeyRemoved: GenericPalletEvent<'Sudo', 'KeyRemoved', null>;
|
|
1128
1055
|
|
|
1129
1056
|
/**
|
|
1130
1057
|
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
1131
1058
|
**/
|
|
1132
1059
|
SudoAsDone: GenericPalletEvent<
|
|
1133
|
-
Rv,
|
|
1134
1060
|
'Sudo',
|
|
1135
1061
|
'SudoAsDone',
|
|
1136
1062
|
{
|
|
@@ -1144,7 +1070,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1144
1070
|
/**
|
|
1145
1071
|
* Generic pallet event
|
|
1146
1072
|
**/
|
|
1147
|
-
[prop: string]: GenericPalletEvent
|
|
1073
|
+
[prop: string]: GenericPalletEvent;
|
|
1148
1074
|
};
|
|
1149
1075
|
/**
|
|
1150
1076
|
* Pallet `Proxy`'s events
|
|
@@ -1153,14 +1079,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1153
1079
|
/**
|
|
1154
1080
|
* A proxy was executed correctly, with the given.
|
|
1155
1081
|
**/
|
|
1156
|
-
ProxyExecuted: GenericPalletEvent<
|
|
1082
|
+
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
1157
1083
|
|
|
1158
1084
|
/**
|
|
1159
1085
|
* A pure account has been created by new proxy with given
|
|
1160
1086
|
* disambiguation index and proxy type.
|
|
1161
1087
|
**/
|
|
1162
1088
|
PureCreated: GenericPalletEvent<
|
|
1163
|
-
Rv,
|
|
1164
1089
|
'Proxy',
|
|
1165
1090
|
'PureCreated',
|
|
1166
1091
|
{
|
|
@@ -1177,7 +1102,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1177
1102
|
* A pure proxy was killed by its spawner.
|
|
1178
1103
|
**/
|
|
1179
1104
|
PureKilled: GenericPalletEvent<
|
|
1180
|
-
Rv,
|
|
1181
1105
|
'Proxy',
|
|
1182
1106
|
'PureKilled',
|
|
1183
1107
|
{ pure: AccountId32; spawner: AccountId32; proxyType: WestendRuntimeProxyType; disambiguationIndex: number }
|
|
@@ -1186,13 +1110,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1186
1110
|
/**
|
|
1187
1111
|
* An announcement was placed to make a call in the future.
|
|
1188
1112
|
**/
|
|
1189
|
-
Announced: GenericPalletEvent<
|
|
1113
|
+
Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
1190
1114
|
|
|
1191
1115
|
/**
|
|
1192
1116
|
* A proxy was added.
|
|
1193
1117
|
**/
|
|
1194
1118
|
ProxyAdded: GenericPalletEvent<
|
|
1195
|
-
Rv,
|
|
1196
1119
|
'Proxy',
|
|
1197
1120
|
'ProxyAdded',
|
|
1198
1121
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: WestendRuntimeProxyType; delay: number }
|
|
@@ -1202,7 +1125,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1202
1125
|
* A proxy was removed.
|
|
1203
1126
|
**/
|
|
1204
1127
|
ProxyRemoved: GenericPalletEvent<
|
|
1205
|
-
Rv,
|
|
1206
1128
|
'Proxy',
|
|
1207
1129
|
'ProxyRemoved',
|
|
1208
1130
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: WestendRuntimeProxyType; delay: number }
|
|
@@ -1212,7 +1134,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1212
1134
|
* A deposit stored for proxies or announcements was poked / updated.
|
|
1213
1135
|
**/
|
|
1214
1136
|
DepositPoked: GenericPalletEvent<
|
|
1215
|
-
Rv,
|
|
1216
1137
|
'Proxy',
|
|
1217
1138
|
'DepositPoked',
|
|
1218
1139
|
{ who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -1221,7 +1142,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1221
1142
|
/**
|
|
1222
1143
|
* Generic pallet event
|
|
1223
1144
|
**/
|
|
1224
|
-
[prop: string]: GenericPalletEvent
|
|
1145
|
+
[prop: string]: GenericPalletEvent;
|
|
1225
1146
|
};
|
|
1226
1147
|
/**
|
|
1227
1148
|
* Pallet `Multisig`'s events
|
|
@@ -1231,7 +1152,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1231
1152
|
* A new multisig operation has begun.
|
|
1232
1153
|
**/
|
|
1233
1154
|
NewMultisig: GenericPalletEvent<
|
|
1234
|
-
Rv,
|
|
1235
1155
|
'Multisig',
|
|
1236
1156
|
'NewMultisig',
|
|
1237
1157
|
{ approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1241,7 +1161,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1241
1161
|
* A multisig operation has been approved by someone.
|
|
1242
1162
|
**/
|
|
1243
1163
|
MultisigApproval: GenericPalletEvent<
|
|
1244
|
-
Rv,
|
|
1245
1164
|
'Multisig',
|
|
1246
1165
|
'MultisigApproval',
|
|
1247
1166
|
{ approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1251,7 +1170,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1251
1170
|
* A multisig operation has been executed.
|
|
1252
1171
|
**/
|
|
1253
1172
|
MultisigExecuted: GenericPalletEvent<
|
|
1254
|
-
Rv,
|
|
1255
1173
|
'Multisig',
|
|
1256
1174
|
'MultisigExecuted',
|
|
1257
1175
|
{
|
|
@@ -1267,7 +1185,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1267
1185
|
* A multisig operation has been cancelled.
|
|
1268
1186
|
**/
|
|
1269
1187
|
MultisigCancelled: GenericPalletEvent<
|
|
1270
|
-
Rv,
|
|
1271
1188
|
'Multisig',
|
|
1272
1189
|
'MultisigCancelled',
|
|
1273
1190
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1277,7 +1194,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1277
1194
|
* The deposit for a multisig operation has been updated/poked.
|
|
1278
1195
|
**/
|
|
1279
1196
|
DepositPoked: GenericPalletEvent<
|
|
1280
|
-
Rv,
|
|
1281
1197
|
'Multisig',
|
|
1282
1198
|
'DepositPoked',
|
|
1283
1199
|
{ who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
|
|
@@ -1286,7 +1202,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1286
1202
|
/**
|
|
1287
1203
|
* Generic pallet event
|
|
1288
1204
|
**/
|
|
1289
|
-
[prop: string]: GenericPalletEvent
|
|
1205
|
+
[prop: string]: GenericPalletEvent;
|
|
1290
1206
|
};
|
|
1291
1207
|
/**
|
|
1292
1208
|
* Pallet `ElectionProviderMultiPhase`'s events
|
|
@@ -1302,7 +1218,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1302
1218
|
* room for this one.
|
|
1303
1219
|
**/
|
|
1304
1220
|
SolutionStored: GenericPalletEvent<
|
|
1305
|
-
Rv,
|
|
1306
1221
|
'ElectionProviderMultiPhase',
|
|
1307
1222
|
'SolutionStored',
|
|
1308
1223
|
{
|
|
@@ -1316,7 +1231,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1316
1231
|
* The election has been finalized, with the given computation and score.
|
|
1317
1232
|
**/
|
|
1318
1233
|
ElectionFinalized: GenericPalletEvent<
|
|
1319
|
-
Rv,
|
|
1320
1234
|
'ElectionProviderMultiPhase',
|
|
1321
1235
|
'ElectionFinalized',
|
|
1322
1236
|
{ compute: PalletElectionProviderMultiPhaseElectionCompute; score: SpNposElectionsElectionScore }
|
|
@@ -1327,23 +1241,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1327
1241
|
*
|
|
1328
1242
|
* Not much can be said about which computes failed in the process.
|
|
1329
1243
|
**/
|
|
1330
|
-
ElectionFailed: GenericPalletEvent<
|
|
1244
|
+
ElectionFailed: GenericPalletEvent<'ElectionProviderMultiPhase', 'ElectionFailed', null>;
|
|
1331
1245
|
|
|
1332
1246
|
/**
|
|
1333
1247
|
* An account has been rewarded for their signed submission being finalized.
|
|
1334
1248
|
**/
|
|
1335
|
-
Rewarded: GenericPalletEvent<
|
|
1249
|
+
Rewarded: GenericPalletEvent<'ElectionProviderMultiPhase', 'Rewarded', { account: AccountId32; value: bigint }>;
|
|
1336
1250
|
|
|
1337
1251
|
/**
|
|
1338
1252
|
* An account has been slashed for submitting an invalid signed submission.
|
|
1339
1253
|
**/
|
|
1340
|
-
Slashed: GenericPalletEvent<
|
|
1254
|
+
Slashed: GenericPalletEvent<'ElectionProviderMultiPhase', 'Slashed', { account: AccountId32; value: bigint }>;
|
|
1341
1255
|
|
|
1342
1256
|
/**
|
|
1343
1257
|
* There was a phase transition in a given round.
|
|
1344
1258
|
**/
|
|
1345
1259
|
PhaseTransitioned: GenericPalletEvent<
|
|
1346
|
-
Rv,
|
|
1347
1260
|
'ElectionProviderMultiPhase',
|
|
1348
1261
|
'PhaseTransitioned',
|
|
1349
1262
|
{ from: PalletElectionProviderMultiPhasePhase; to: PalletElectionProviderMultiPhasePhase; round: number }
|
|
@@ -1352,7 +1265,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1352
1265
|
/**
|
|
1353
1266
|
* Generic pallet event
|
|
1354
1267
|
**/
|
|
1355
|
-
[prop: string]: GenericPalletEvent
|
|
1268
|
+
[prop: string]: GenericPalletEvent;
|
|
1356
1269
|
};
|
|
1357
1270
|
/**
|
|
1358
1271
|
* Pallet `VoterList`'s events
|
|
@@ -1361,17 +1274,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1361
1274
|
/**
|
|
1362
1275
|
* Moved an account from one bag to another.
|
|
1363
1276
|
**/
|
|
1364
|
-
Rebagged: GenericPalletEvent<
|
|
1277
|
+
Rebagged: GenericPalletEvent<'VoterList', 'Rebagged', { who: AccountId32; from: bigint; to: bigint }>;
|
|
1365
1278
|
|
|
1366
1279
|
/**
|
|
1367
1280
|
* Updated the score of some account to the given amount.
|
|
1368
1281
|
**/
|
|
1369
|
-
ScoreUpdated: GenericPalletEvent<
|
|
1282
|
+
ScoreUpdated: GenericPalletEvent<'VoterList', 'ScoreUpdated', { who: AccountId32; newScore: bigint }>;
|
|
1370
1283
|
|
|
1371
1284
|
/**
|
|
1372
1285
|
* Generic pallet event
|
|
1373
1286
|
**/
|
|
1374
|
-
[prop: string]: GenericPalletEvent
|
|
1287
|
+
[prop: string]: GenericPalletEvent;
|
|
1375
1288
|
};
|
|
1376
1289
|
/**
|
|
1377
1290
|
* Pallet `NominationPools`'s events
|
|
@@ -1380,13 +1293,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1380
1293
|
/**
|
|
1381
1294
|
* A pool has been created.
|
|
1382
1295
|
**/
|
|
1383
|
-
Created: GenericPalletEvent<
|
|
1296
|
+
Created: GenericPalletEvent<'NominationPools', 'Created', { depositor: AccountId32; poolId: number }>;
|
|
1384
1297
|
|
|
1385
1298
|
/**
|
|
1386
1299
|
* A member has became bonded in a pool.
|
|
1387
1300
|
**/
|
|
1388
1301
|
Bonded: GenericPalletEvent<
|
|
1389
|
-
Rv,
|
|
1390
1302
|
'NominationPools',
|
|
1391
1303
|
'Bonded',
|
|
1392
1304
|
{ member: AccountId32; poolId: number; bonded: bigint; joined: boolean }
|
|
@@ -1395,12 +1307,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1395
1307
|
/**
|
|
1396
1308
|
* A payout has been made to a member.
|
|
1397
1309
|
**/
|
|
1398
|
-
PaidOut: GenericPalletEvent<
|
|
1399
|
-
Rv,
|
|
1400
|
-
'NominationPools',
|
|
1401
|
-
'PaidOut',
|
|
1402
|
-
{ member: AccountId32; poolId: number; payout: bigint }
|
|
1403
|
-
>;
|
|
1310
|
+
PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', { member: AccountId32; poolId: number; payout: bigint }>;
|
|
1404
1311
|
|
|
1405
1312
|
/**
|
|
1406
1313
|
* A member has unbonded from their pool.
|
|
@@ -1416,7 +1323,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1416
1323
|
* requested to be unbonded.
|
|
1417
1324
|
**/
|
|
1418
1325
|
Unbonded: GenericPalletEvent<
|
|
1419
|
-
Rv,
|
|
1420
1326
|
'NominationPools',
|
|
1421
1327
|
'Unbonded',
|
|
1422
1328
|
{ member: AccountId32; poolId: number; balance: bigint; points: bigint; era: number }
|
|
@@ -1431,7 +1337,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1431
1337
|
* will be 1.
|
|
1432
1338
|
**/
|
|
1433
1339
|
Withdrawn: GenericPalletEvent<
|
|
1434
|
-
Rv,
|
|
1435
1340
|
'NominationPools',
|
|
1436
1341
|
'Withdrawn',
|
|
1437
1342
|
{ member: AccountId32; poolId: number; balance: bigint; points: bigint }
|
|
@@ -1440,13 +1345,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1440
1345
|
/**
|
|
1441
1346
|
* A pool has been destroyed.
|
|
1442
1347
|
**/
|
|
1443
|
-
Destroyed: GenericPalletEvent<
|
|
1348
|
+
Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', { poolId: number }>;
|
|
1444
1349
|
|
|
1445
1350
|
/**
|
|
1446
1351
|
* The state of a pool has changed
|
|
1447
1352
|
**/
|
|
1448
1353
|
StateChanged: GenericPalletEvent<
|
|
1449
|
-
Rv,
|
|
1450
1354
|
'NominationPools',
|
|
1451
1355
|
'StateChanged',
|
|
1452
1356
|
{ poolId: number; newState: PalletNominationPoolsPoolState }
|
|
@@ -1460,7 +1364,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1460
1364
|
* represented by `released_balance`.
|
|
1461
1365
|
**/
|
|
1462
1366
|
MemberRemoved: GenericPalletEvent<
|
|
1463
|
-
Rv,
|
|
1464
1367
|
'NominationPools',
|
|
1465
1368
|
'MemberRemoved',
|
|
1466
1369
|
{ poolId: number; member: AccountId32; releasedBalance: bigint }
|
|
@@ -1471,7 +1374,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1471
1374
|
* can never change.
|
|
1472
1375
|
**/
|
|
1473
1376
|
RolesUpdated: GenericPalletEvent<
|
|
1474
|
-
Rv,
|
|
1475
1377
|
'NominationPools',
|
|
1476
1378
|
'RolesUpdated',
|
|
1477
1379
|
{ root?: AccountId32 | undefined; bouncer?: AccountId32 | undefined; nominator?: AccountId32 | undefined }
|
|
@@ -1480,13 +1382,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1480
1382
|
/**
|
|
1481
1383
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
1482
1384
|
**/
|
|
1483
|
-
PoolSlashed: GenericPalletEvent<
|
|
1385
|
+
PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', { poolId: number; balance: bigint }>;
|
|
1484
1386
|
|
|
1485
1387
|
/**
|
|
1486
1388
|
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
|
1487
1389
|
**/
|
|
1488
1390
|
UnbondingPoolSlashed: GenericPalletEvent<
|
|
1489
|
-
Rv,
|
|
1490
1391
|
'NominationPools',
|
|
1491
1392
|
'UnbondingPoolSlashed',
|
|
1492
1393
|
{ poolId: number; era: number; balance: bigint }
|
|
@@ -1496,7 +1397,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1496
1397
|
* A pool's commission setting has been changed.
|
|
1497
1398
|
**/
|
|
1498
1399
|
PoolCommissionUpdated: GenericPalletEvent<
|
|
1499
|
-
Rv,
|
|
1500
1400
|
'NominationPools',
|
|
1501
1401
|
'PoolCommissionUpdated',
|
|
1502
1402
|
{ poolId: number; current?: [Perbill, AccountId32] | undefined }
|
|
@@ -1506,7 +1406,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1506
1406
|
* A pool's maximum commission setting has been changed.
|
|
1507
1407
|
**/
|
|
1508
1408
|
PoolMaxCommissionUpdated: GenericPalletEvent<
|
|
1509
|
-
Rv,
|
|
1510
1409
|
'NominationPools',
|
|
1511
1410
|
'PoolMaxCommissionUpdated',
|
|
1512
1411
|
{ poolId: number; maxCommission: Perbill }
|
|
@@ -1516,7 +1415,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1516
1415
|
* A pool's commission `change_rate` has been changed.
|
|
1517
1416
|
**/
|
|
1518
1417
|
PoolCommissionChangeRateUpdated: GenericPalletEvent<
|
|
1519
|
-
Rv,
|
|
1520
1418
|
'NominationPools',
|
|
1521
1419
|
'PoolCommissionChangeRateUpdated',
|
|
1522
1420
|
{ poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate }
|
|
@@ -1526,7 +1424,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1526
1424
|
* Pool commission claim permission has been updated.
|
|
1527
1425
|
**/
|
|
1528
1426
|
PoolCommissionClaimPermissionUpdated: GenericPalletEvent<
|
|
1529
|
-
Rv,
|
|
1530
1427
|
'NominationPools',
|
|
1531
1428
|
'PoolCommissionClaimPermissionUpdated',
|
|
1532
1429
|
{ poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined }
|
|
@@ -1536,7 +1433,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1536
1433
|
* Pool commission has been claimed.
|
|
1537
1434
|
**/
|
|
1538
1435
|
PoolCommissionClaimed: GenericPalletEvent<
|
|
1539
|
-
Rv,
|
|
1540
1436
|
'NominationPools',
|
|
1541
1437
|
'PoolCommissionClaimed',
|
|
1542
1438
|
{ poolId: number; commission: bigint }
|
|
@@ -1546,7 +1442,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1546
1442
|
* Topped up deficit in frozen ED of the reward pool.
|
|
1547
1443
|
**/
|
|
1548
1444
|
MinBalanceDeficitAdjusted: GenericPalletEvent<
|
|
1549
|
-
Rv,
|
|
1550
1445
|
'NominationPools',
|
|
1551
1446
|
'MinBalanceDeficitAdjusted',
|
|
1552
1447
|
{ poolId: number; amount: bigint }
|
|
@@ -1556,7 +1451,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1556
1451
|
* Claimed excess frozen ED of af the reward pool.
|
|
1557
1452
|
**/
|
|
1558
1453
|
MinBalanceExcessAdjusted: GenericPalletEvent<
|
|
1559
|
-
Rv,
|
|
1560
1454
|
'NominationPools',
|
|
1561
1455
|
'MinBalanceExcessAdjusted',
|
|
1562
1456
|
{ poolId: number; amount: bigint }
|
|
@@ -1566,7 +1460,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1566
1460
|
* A pool member's claim permission has been updated.
|
|
1567
1461
|
**/
|
|
1568
1462
|
MemberClaimPermissionUpdated: GenericPalletEvent<
|
|
1569
|
-
Rv,
|
|
1570
1463
|
'NominationPools',
|
|
1571
1464
|
'MemberClaimPermissionUpdated',
|
|
1572
1465
|
{ member: AccountId32; permission: PalletNominationPoolsClaimPermission }
|
|
@@ -1575,19 +1468,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1575
1468
|
/**
|
|
1576
1469
|
* A pool's metadata was updated.
|
|
1577
1470
|
**/
|
|
1578
|
-
MetadataUpdated: GenericPalletEvent<
|
|
1579
|
-
Rv,
|
|
1580
|
-
'NominationPools',
|
|
1581
|
-
'MetadataUpdated',
|
|
1582
|
-
{ poolId: number; caller: AccountId32 }
|
|
1583
|
-
>;
|
|
1471
|
+
MetadataUpdated: GenericPalletEvent<'NominationPools', 'MetadataUpdated', { poolId: number; caller: AccountId32 }>;
|
|
1584
1472
|
|
|
1585
1473
|
/**
|
|
1586
1474
|
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
|
1587
1475
|
* on behalf of the pool.
|
|
1588
1476
|
**/
|
|
1589
1477
|
PoolNominationMade: GenericPalletEvent<
|
|
1590
|
-
Rv,
|
|
1591
1478
|
'NominationPools',
|
|
1592
1479
|
'PoolNominationMade',
|
|
1593
1480
|
{ poolId: number; caller: AccountId32 }
|
|
@@ -1597,7 +1484,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1597
1484
|
* The pool is chilled i.e. no longer nominating.
|
|
1598
1485
|
**/
|
|
1599
1486
|
PoolNominatorChilled: GenericPalletEvent<
|
|
1600
|
-
Rv,
|
|
1601
1487
|
'NominationPools',
|
|
1602
1488
|
'PoolNominatorChilled',
|
|
1603
1489
|
{ poolId: number; caller: AccountId32 }
|
|
@@ -1607,7 +1493,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1607
1493
|
* Global parameters regulating nomination pools have been updated.
|
|
1608
1494
|
**/
|
|
1609
1495
|
GlobalParamsUpdated: GenericPalletEvent<
|
|
1610
|
-
Rv,
|
|
1611
1496
|
'NominationPools',
|
|
1612
1497
|
'GlobalParamsUpdated',
|
|
1613
1498
|
{
|
|
@@ -1623,7 +1508,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1623
1508
|
/**
|
|
1624
1509
|
* Generic pallet event
|
|
1625
1510
|
**/
|
|
1626
|
-
[prop: string]: GenericPalletEvent
|
|
1511
|
+
[prop: string]: GenericPalletEvent;
|
|
1627
1512
|
};
|
|
1628
1513
|
/**
|
|
1629
1514
|
* Pallet `FastUnstake`'s events
|
|
@@ -1632,22 +1517,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1632
1517
|
/**
|
|
1633
1518
|
* A staker was unstaked.
|
|
1634
1519
|
**/
|
|
1635
|
-
Unstaked: GenericPalletEvent<
|
|
1636
|
-
Rv,
|
|
1637
|
-
'FastUnstake',
|
|
1638
|
-
'Unstaked',
|
|
1639
|
-
{ stash: AccountId32; result: Result<[], DispatchError> }
|
|
1640
|
-
>;
|
|
1520
|
+
Unstaked: GenericPalletEvent<'FastUnstake', 'Unstaked', { stash: AccountId32; result: Result<[], DispatchError> }>;
|
|
1641
1521
|
|
|
1642
1522
|
/**
|
|
1643
1523
|
* A staker was slashed for requesting fast-unstake whilst being exposed.
|
|
1644
1524
|
**/
|
|
1645
|
-
Slashed: GenericPalletEvent<
|
|
1525
|
+
Slashed: GenericPalletEvent<'FastUnstake', 'Slashed', { stash: AccountId32; amount: bigint }>;
|
|
1646
1526
|
|
|
1647
1527
|
/**
|
|
1648
1528
|
* A batch was partially checked for the given eras, but the process did not finish.
|
|
1649
1529
|
**/
|
|
1650
|
-
BatchChecked: GenericPalletEvent<
|
|
1530
|
+
BatchChecked: GenericPalletEvent<'FastUnstake', 'BatchChecked', { eras: Array<number> }>;
|
|
1651
1531
|
|
|
1652
1532
|
/**
|
|
1653
1533
|
* A batch of a given size was terminated.
|
|
@@ -1655,17 +1535,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1655
1535
|
* This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
|
|
1656
1536
|
* of the batch. A new batch will be created upon next block.
|
|
1657
1537
|
**/
|
|
1658
|
-
BatchFinished: GenericPalletEvent<
|
|
1538
|
+
BatchFinished: GenericPalletEvent<'FastUnstake', 'BatchFinished', { size: number }>;
|
|
1659
1539
|
|
|
1660
1540
|
/**
|
|
1661
1541
|
* An internal error happened. Operations will be paused now.
|
|
1662
1542
|
**/
|
|
1663
|
-
InternalError: GenericPalletEvent<
|
|
1543
|
+
InternalError: GenericPalletEvent<'FastUnstake', 'InternalError', null>;
|
|
1664
1544
|
|
|
1665
1545
|
/**
|
|
1666
1546
|
* Generic pallet event
|
|
1667
1547
|
**/
|
|
1668
|
-
[prop: string]: GenericPalletEvent
|
|
1548
|
+
[prop: string]: GenericPalletEvent;
|
|
1669
1549
|
};
|
|
1670
1550
|
/**
|
|
1671
1551
|
* Pallet `ConvictionVoting`'s events
|
|
@@ -1674,18 +1554,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1674
1554
|
/**
|
|
1675
1555
|
* An account has delegated their vote to another account. \[who, target\]
|
|
1676
1556
|
**/
|
|
1677
|
-
Delegated: GenericPalletEvent<
|
|
1557
|
+
Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32, number]>;
|
|
1678
1558
|
|
|
1679
1559
|
/**
|
|
1680
1560
|
* An \[account\] has cancelled a previous delegation operation.
|
|
1681
1561
|
**/
|
|
1682
|
-
Undelegated: GenericPalletEvent<
|
|
1562
|
+
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', [AccountId32, number]>;
|
|
1683
1563
|
|
|
1684
1564
|
/**
|
|
1685
1565
|
* An account has voted
|
|
1686
1566
|
**/
|
|
1687
1567
|
Voted: GenericPalletEvent<
|
|
1688
|
-
Rv,
|
|
1689
1568
|
'ConvictionVoting',
|
|
1690
1569
|
'Voted',
|
|
1691
1570
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number }
|
|
@@ -1695,7 +1574,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1695
1574
|
* A vote has been removed
|
|
1696
1575
|
**/
|
|
1697
1576
|
VoteRemoved: GenericPalletEvent<
|
|
1698
|
-
Rv,
|
|
1699
1577
|
'ConvictionVoting',
|
|
1700
1578
|
'VoteRemoved',
|
|
1701
1579
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number }
|
|
@@ -1704,12 +1582,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1704
1582
|
/**
|
|
1705
1583
|
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
|
1706
1584
|
**/
|
|
1707
|
-
VoteUnlocked: GenericPalletEvent<
|
|
1585
|
+
VoteUnlocked: GenericPalletEvent<'ConvictionVoting', 'VoteUnlocked', { who: AccountId32; class: number }>;
|
|
1708
1586
|
|
|
1709
1587
|
/**
|
|
1710
1588
|
* Generic pallet event
|
|
1711
1589
|
**/
|
|
1712
|
-
[prop: string]: GenericPalletEvent
|
|
1590
|
+
[prop: string]: GenericPalletEvent;
|
|
1713
1591
|
};
|
|
1714
1592
|
/**
|
|
1715
1593
|
* Pallet `Referenda`'s events
|
|
@@ -1719,7 +1597,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1719
1597
|
* A referendum has been submitted.
|
|
1720
1598
|
**/
|
|
1721
1599
|
Submitted: GenericPalletEvent<
|
|
1722
|
-
Rv,
|
|
1723
1600
|
'Referenda',
|
|
1724
1601
|
'Submitted',
|
|
1725
1602
|
{
|
|
@@ -1744,7 +1621,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1744
1621
|
* The decision deposit has been placed.
|
|
1745
1622
|
**/
|
|
1746
1623
|
DecisionDepositPlaced: GenericPalletEvent<
|
|
1747
|
-
Rv,
|
|
1748
1624
|
'Referenda',
|
|
1749
1625
|
'DecisionDepositPlaced',
|
|
1750
1626
|
{
|
|
@@ -1769,7 +1645,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1769
1645
|
* The decision deposit has been refunded.
|
|
1770
1646
|
**/
|
|
1771
1647
|
DecisionDepositRefunded: GenericPalletEvent<
|
|
1772
|
-
Rv,
|
|
1773
1648
|
'Referenda',
|
|
1774
1649
|
'DecisionDepositRefunded',
|
|
1775
1650
|
{
|
|
@@ -1794,7 +1669,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1794
1669
|
* A deposit has been slashed.
|
|
1795
1670
|
**/
|
|
1796
1671
|
DepositSlashed: GenericPalletEvent<
|
|
1797
|
-
Rv,
|
|
1798
1672
|
'Referenda',
|
|
1799
1673
|
'DepositSlashed',
|
|
1800
1674
|
{
|
|
@@ -1814,7 +1688,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1814
1688
|
* A referendum has moved into the deciding phase.
|
|
1815
1689
|
**/
|
|
1816
1690
|
DecisionStarted: GenericPalletEvent<
|
|
1817
|
-
Rv,
|
|
1818
1691
|
'Referenda',
|
|
1819
1692
|
'DecisionStarted',
|
|
1820
1693
|
{
|
|
@@ -1840,7 +1713,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1840
1713
|
}
|
|
1841
1714
|
>;
|
|
1842
1715
|
ConfirmStarted: GenericPalletEvent<
|
|
1843
|
-
Rv,
|
|
1844
1716
|
'Referenda',
|
|
1845
1717
|
'ConfirmStarted',
|
|
1846
1718
|
{
|
|
@@ -1851,7 +1723,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1851
1723
|
}
|
|
1852
1724
|
>;
|
|
1853
1725
|
ConfirmAborted: GenericPalletEvent<
|
|
1854
|
-
Rv,
|
|
1855
1726
|
'Referenda',
|
|
1856
1727
|
'ConfirmAborted',
|
|
1857
1728
|
{
|
|
@@ -1866,7 +1737,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1866
1737
|
* A referendum has ended its confirmation phase and is ready for approval.
|
|
1867
1738
|
**/
|
|
1868
1739
|
Confirmed: GenericPalletEvent<
|
|
1869
|
-
Rv,
|
|
1870
1740
|
'Referenda',
|
|
1871
1741
|
'Confirmed',
|
|
1872
1742
|
{
|
|
@@ -1886,7 +1756,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1886
1756
|
* A referendum has been approved and its proposal has been scheduled.
|
|
1887
1757
|
**/
|
|
1888
1758
|
Approved: GenericPalletEvent<
|
|
1889
|
-
Rv,
|
|
1890
1759
|
'Referenda',
|
|
1891
1760
|
'Approved',
|
|
1892
1761
|
{
|
|
@@ -1901,7 +1770,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1901
1770
|
* A proposal has been rejected by referendum.
|
|
1902
1771
|
**/
|
|
1903
1772
|
Rejected: GenericPalletEvent<
|
|
1904
|
-
Rv,
|
|
1905
1773
|
'Referenda',
|
|
1906
1774
|
'Rejected',
|
|
1907
1775
|
{
|
|
@@ -1921,7 +1789,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1921
1789
|
* A referendum has been timed out without being decided.
|
|
1922
1790
|
**/
|
|
1923
1791
|
TimedOut: GenericPalletEvent<
|
|
1924
|
-
Rv,
|
|
1925
1792
|
'Referenda',
|
|
1926
1793
|
'TimedOut',
|
|
1927
1794
|
{
|
|
@@ -1941,7 +1808,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1941
1808
|
* A referendum has been cancelled.
|
|
1942
1809
|
**/
|
|
1943
1810
|
Cancelled: GenericPalletEvent<
|
|
1944
|
-
Rv,
|
|
1945
1811
|
'Referenda',
|
|
1946
1812
|
'Cancelled',
|
|
1947
1813
|
{
|
|
@@ -1961,7 +1827,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1961
1827
|
* A referendum has been killed.
|
|
1962
1828
|
**/
|
|
1963
1829
|
Killed: GenericPalletEvent<
|
|
1964
|
-
Rv,
|
|
1965
1830
|
'Referenda',
|
|
1966
1831
|
'Killed',
|
|
1967
1832
|
{
|
|
@@ -1981,7 +1846,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1981
1846
|
* The submission deposit has been refunded.
|
|
1982
1847
|
**/
|
|
1983
1848
|
SubmissionDepositRefunded: GenericPalletEvent<
|
|
1984
|
-
Rv,
|
|
1985
1849
|
'Referenda',
|
|
1986
1850
|
'SubmissionDepositRefunded',
|
|
1987
1851
|
{
|
|
@@ -2006,7 +1870,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2006
1870
|
* Metadata for a referendum has been set.
|
|
2007
1871
|
**/
|
|
2008
1872
|
MetadataSet: GenericPalletEvent<
|
|
2009
|
-
Rv,
|
|
2010
1873
|
'Referenda',
|
|
2011
1874
|
'MetadataSet',
|
|
2012
1875
|
{
|
|
@@ -2026,7 +1889,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2026
1889
|
* Metadata for a referendum has been cleared.
|
|
2027
1890
|
**/
|
|
2028
1891
|
MetadataCleared: GenericPalletEvent<
|
|
2029
|
-
Rv,
|
|
2030
1892
|
'Referenda',
|
|
2031
1893
|
'MetadataCleared',
|
|
2032
1894
|
{
|
|
@@ -2045,16 +1907,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2045
1907
|
/**
|
|
2046
1908
|
* Generic pallet event
|
|
2047
1909
|
**/
|
|
2048
|
-
[prop: string]: GenericPalletEvent
|
|
1910
|
+
[prop: string]: GenericPalletEvent;
|
|
2049
1911
|
};
|
|
2050
1912
|
/**
|
|
2051
1913
|
* Pallet `Whitelist`'s events
|
|
2052
1914
|
**/
|
|
2053
1915
|
whitelist: {
|
|
2054
|
-
CallWhitelisted: GenericPalletEvent<
|
|
2055
|
-
WhitelistedCallRemoved: GenericPalletEvent<
|
|
1916
|
+
CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
|
|
1917
|
+
WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
|
|
2056
1918
|
WhitelistedCallDispatched: GenericPalletEvent<
|
|
2057
|
-
Rv,
|
|
2058
1919
|
'Whitelist',
|
|
2059
1920
|
'WhitelistedCallDispatched',
|
|
2060
1921
|
{ callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
|
|
@@ -2063,7 +1924,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2063
1924
|
/**
|
|
2064
1925
|
* Generic pallet event
|
|
2065
1926
|
**/
|
|
2066
|
-
[prop: string]: GenericPalletEvent
|
|
1927
|
+
[prop: string]: GenericPalletEvent;
|
|
2067
1928
|
};
|
|
2068
1929
|
/**
|
|
2069
1930
|
* Pallet `Treasury`'s events
|
|
@@ -2072,38 +1933,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2072
1933
|
/**
|
|
2073
1934
|
* We have ended a spend period and will now allocate funds.
|
|
2074
1935
|
**/
|
|
2075
|
-
Spending: GenericPalletEvent<
|
|
1936
|
+
Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
|
|
2076
1937
|
|
|
2077
1938
|
/**
|
|
2078
1939
|
* Some funds have been allocated.
|
|
2079
1940
|
**/
|
|
2080
|
-
Awarded: GenericPalletEvent<
|
|
2081
|
-
Rv,
|
|
2082
|
-
'Treasury',
|
|
2083
|
-
'Awarded',
|
|
2084
|
-
{ proposalIndex: number; award: bigint; account: AccountId32 }
|
|
2085
|
-
>;
|
|
1941
|
+
Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId32 }>;
|
|
2086
1942
|
|
|
2087
1943
|
/**
|
|
2088
1944
|
* Some of our funds have been burnt.
|
|
2089
1945
|
**/
|
|
2090
|
-
Burnt: GenericPalletEvent<
|
|
1946
|
+
Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
|
|
2091
1947
|
|
|
2092
1948
|
/**
|
|
2093
1949
|
* Spending has finished; this is the amount that rolls over until next spend.
|
|
2094
1950
|
**/
|
|
2095
|
-
Rollover: GenericPalletEvent<
|
|
1951
|
+
Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
|
|
2096
1952
|
|
|
2097
1953
|
/**
|
|
2098
1954
|
* Some funds have been deposited.
|
|
2099
1955
|
**/
|
|
2100
|
-
Deposit: GenericPalletEvent<
|
|
1956
|
+
Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
|
|
2101
1957
|
|
|
2102
1958
|
/**
|
|
2103
1959
|
* A new spend proposal has been approved.
|
|
2104
1960
|
**/
|
|
2105
1961
|
SpendApproved: GenericPalletEvent<
|
|
2106
|
-
Rv,
|
|
2107
1962
|
'Treasury',
|
|
2108
1963
|
'SpendApproved',
|
|
2109
1964
|
{ proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
|
|
@@ -2112,18 +1967,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2112
1967
|
/**
|
|
2113
1968
|
* The inactive funds of the pallet have been updated.
|
|
2114
1969
|
**/
|
|
2115
|
-
UpdatedInactive: GenericPalletEvent<
|
|
2116
|
-
Rv,
|
|
2117
|
-
'Treasury',
|
|
2118
|
-
'UpdatedInactive',
|
|
2119
|
-
{ reactivated: bigint; deactivated: bigint }
|
|
2120
|
-
>;
|
|
1970
|
+
UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
|
|
2121
1971
|
|
|
2122
1972
|
/**
|
|
2123
1973
|
* A new asset spend proposal has been approved.
|
|
2124
1974
|
**/
|
|
2125
1975
|
AssetSpendApproved: GenericPalletEvent<
|
|
2126
|
-
Rv,
|
|
2127
1976
|
'Treasury',
|
|
2128
1977
|
'AssetSpendApproved',
|
|
2129
1978
|
{
|
|
@@ -2139,28 +1988,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2139
1988
|
/**
|
|
2140
1989
|
* An approved spend was voided.
|
|
2141
1990
|
**/
|
|
2142
|
-
AssetSpendVoided: GenericPalletEvent<
|
|
1991
|
+
AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', { index: number }>;
|
|
2143
1992
|
|
|
2144
1993
|
/**
|
|
2145
1994
|
* A payment happened.
|
|
2146
1995
|
**/
|
|
2147
|
-
Paid: GenericPalletEvent<
|
|
1996
|
+
Paid: GenericPalletEvent<'Treasury', 'Paid', { index: number; paymentId: bigint }>;
|
|
2148
1997
|
|
|
2149
1998
|
/**
|
|
2150
1999
|
* A payment failed and can be retried.
|
|
2151
2000
|
**/
|
|
2152
|
-
PaymentFailed: GenericPalletEvent<
|
|
2001
|
+
PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', { index: number; paymentId: bigint }>;
|
|
2153
2002
|
|
|
2154
2003
|
/**
|
|
2155
2004
|
* A spend was processed and removed from the storage. It might have been successfully
|
|
2156
2005
|
* paid or it may have expired.
|
|
2157
2006
|
**/
|
|
2158
|
-
SpendProcessed: GenericPalletEvent<
|
|
2007
|
+
SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', { index: number }>;
|
|
2159
2008
|
|
|
2160
2009
|
/**
|
|
2161
2010
|
* Generic pallet event
|
|
2162
2011
|
**/
|
|
2163
|
-
[prop: string]: GenericPalletEvent
|
|
2012
|
+
[prop: string]: GenericPalletEvent;
|
|
2164
2013
|
};
|
|
2165
2014
|
/**
|
|
2166
2015
|
* Pallet `DelegatedStaking`'s events
|
|
@@ -2170,7 +2019,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2170
2019
|
* Funds delegated by a delegator.
|
|
2171
2020
|
**/
|
|
2172
2021
|
Delegated: GenericPalletEvent<
|
|
2173
|
-
Rv,
|
|
2174
2022
|
'DelegatedStaking',
|
|
2175
2023
|
'Delegated',
|
|
2176
2024
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -2180,7 +2028,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2180
2028
|
* Funds released to a delegator.
|
|
2181
2029
|
**/
|
|
2182
2030
|
Released: GenericPalletEvent<
|
|
2183
|
-
Rv,
|
|
2184
2031
|
'DelegatedStaking',
|
|
2185
2032
|
'Released',
|
|
2186
2033
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -2190,7 +2037,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2190
2037
|
* Funds slashed from a delegator.
|
|
2191
2038
|
**/
|
|
2192
2039
|
Slashed: GenericPalletEvent<
|
|
2193
|
-
Rv,
|
|
2194
2040
|
'DelegatedStaking',
|
|
2195
2041
|
'Slashed',
|
|
2196
2042
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -2200,7 +2046,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2200
2046
|
* Unclaimed delegation funds migrated to delegator.
|
|
2201
2047
|
**/
|
|
2202
2048
|
MigratedDelegation: GenericPalletEvent<
|
|
2203
|
-
Rv,
|
|
2204
2049
|
'DelegatedStaking',
|
|
2205
2050
|
'MigratedDelegation',
|
|
2206
2051
|
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
@@ -2209,7 +2054,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2209
2054
|
/**
|
|
2210
2055
|
* Generic pallet event
|
|
2211
2056
|
**/
|
|
2212
|
-
[prop: string]: GenericPalletEvent
|
|
2057
|
+
[prop: string]: GenericPalletEvent;
|
|
2213
2058
|
};
|
|
2214
2059
|
/**
|
|
2215
2060
|
* Pallet `ParaInclusion`'s events
|
|
@@ -2219,7 +2064,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2219
2064
|
* A candidate was backed. `[candidate, head_data]`
|
|
2220
2065
|
**/
|
|
2221
2066
|
CandidateBacked: GenericPalletEvent<
|
|
2222
|
-
Rv,
|
|
2223
2067
|
'ParaInclusion',
|
|
2224
2068
|
'CandidateBacked',
|
|
2225
2069
|
[
|
|
@@ -2234,7 +2078,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2234
2078
|
* A candidate was included. `[candidate, head_data]`
|
|
2235
2079
|
**/
|
|
2236
2080
|
CandidateIncluded: GenericPalletEvent<
|
|
2237
|
-
Rv,
|
|
2238
2081
|
'ParaInclusion',
|
|
2239
2082
|
'CandidateIncluded',
|
|
2240
2083
|
[
|
|
@@ -2249,7 +2092,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2249
2092
|
* A candidate timed out. `[candidate, head_data]`
|
|
2250
2093
|
**/
|
|
2251
2094
|
CandidateTimedOut: GenericPalletEvent<
|
|
2252
|
-
Rv,
|
|
2253
2095
|
'ParaInclusion',
|
|
2254
2096
|
'CandidateTimedOut',
|
|
2255
2097
|
[
|
|
@@ -2263,7 +2105,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2263
2105
|
* Some upward messages have been received and will be processed.
|
|
2264
2106
|
**/
|
|
2265
2107
|
UpwardMessagesReceived: GenericPalletEvent<
|
|
2266
|
-
Rv,
|
|
2267
2108
|
'ParaInclusion',
|
|
2268
2109
|
'UpwardMessagesReceived',
|
|
2269
2110
|
{ from: PolkadotParachainPrimitivesPrimitivesId; count: number }
|
|
@@ -2272,7 +2113,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2272
2113
|
/**
|
|
2273
2114
|
* Generic pallet event
|
|
2274
2115
|
**/
|
|
2275
|
-
[prop: string]: GenericPalletEvent
|
|
2116
|
+
[prop: string]: GenericPalletEvent;
|
|
2276
2117
|
};
|
|
2277
2118
|
/**
|
|
2278
2119
|
* Pallet `Paras`'s events
|
|
@@ -2281,39 +2122,33 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2281
2122
|
/**
|
|
2282
2123
|
* Current code has been updated for a Para. `para_id`
|
|
2283
2124
|
**/
|
|
2284
|
-
CurrentCodeUpdated: GenericPalletEvent<
|
|
2125
|
+
CurrentCodeUpdated: GenericPalletEvent<'Paras', 'CurrentCodeUpdated', PolkadotParachainPrimitivesPrimitivesId>;
|
|
2285
2126
|
|
|
2286
2127
|
/**
|
|
2287
2128
|
* Current head has been updated for a Para. `para_id`
|
|
2288
2129
|
**/
|
|
2289
|
-
CurrentHeadUpdated: GenericPalletEvent<
|
|
2130
|
+
CurrentHeadUpdated: GenericPalletEvent<'Paras', 'CurrentHeadUpdated', PolkadotParachainPrimitivesPrimitivesId>;
|
|
2290
2131
|
|
|
2291
2132
|
/**
|
|
2292
2133
|
* A code upgrade has been scheduled for a Para. `para_id`
|
|
2293
2134
|
**/
|
|
2294
|
-
CodeUpgradeScheduled: GenericPalletEvent<
|
|
2295
|
-
Rv,
|
|
2296
|
-
'Paras',
|
|
2297
|
-
'CodeUpgradeScheduled',
|
|
2298
|
-
PolkadotParachainPrimitivesPrimitivesId
|
|
2299
|
-
>;
|
|
2135
|
+
CodeUpgradeScheduled: GenericPalletEvent<'Paras', 'CodeUpgradeScheduled', PolkadotParachainPrimitivesPrimitivesId>;
|
|
2300
2136
|
|
|
2301
2137
|
/**
|
|
2302
2138
|
* A new head has been noted for a Para. `para_id`
|
|
2303
2139
|
**/
|
|
2304
|
-
NewHeadNoted: GenericPalletEvent<
|
|
2140
|
+
NewHeadNoted: GenericPalletEvent<'Paras', 'NewHeadNoted', PolkadotParachainPrimitivesPrimitivesId>;
|
|
2305
2141
|
|
|
2306
2142
|
/**
|
|
2307
2143
|
* A para has been queued to execute pending actions. `para_id`
|
|
2308
2144
|
**/
|
|
2309
|
-
ActionQueued: GenericPalletEvent<
|
|
2145
|
+
ActionQueued: GenericPalletEvent<'Paras', 'ActionQueued', [PolkadotParachainPrimitivesPrimitivesId, number]>;
|
|
2310
2146
|
|
|
2311
2147
|
/**
|
|
2312
2148
|
* The given para either initiated or subscribed to a PVF check for the given validation
|
|
2313
2149
|
* code. `code_hash` `para_id`
|
|
2314
2150
|
**/
|
|
2315
2151
|
PvfCheckStarted: GenericPalletEvent<
|
|
2316
|
-
Rv,
|
|
2317
2152
|
'Paras',
|
|
2318
2153
|
'PvfCheckStarted',
|
|
2319
2154
|
[PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
|
|
@@ -2324,7 +2159,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2324
2159
|
* `code_hash` `para_id`
|
|
2325
2160
|
**/
|
|
2326
2161
|
PvfCheckAccepted: GenericPalletEvent<
|
|
2327
|
-
Rv,
|
|
2328
2162
|
'Paras',
|
|
2329
2163
|
'PvfCheckAccepted',
|
|
2330
2164
|
[PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
|
|
@@ -2335,7 +2169,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2335
2169
|
* `code_hash` `para_id`
|
|
2336
2170
|
**/
|
|
2337
2171
|
PvfCheckRejected: GenericPalletEvent<
|
|
2338
|
-
Rv,
|
|
2339
2172
|
'Paras',
|
|
2340
2173
|
'PvfCheckRejected',
|
|
2341
2174
|
[PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
|
|
@@ -2345,7 +2178,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2345
2178
|
* The upgrade cooldown was removed.
|
|
2346
2179
|
**/
|
|
2347
2180
|
UpgradeCooldownRemoved: GenericPalletEvent<
|
|
2348
|
-
Rv,
|
|
2349
2181
|
'Paras',
|
|
2350
2182
|
'UpgradeCooldownRemoved',
|
|
2351
2183
|
{
|
|
@@ -2360,7 +2192,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2360
2192
|
* A new code hash has been authorized for a Para.
|
|
2361
2193
|
**/
|
|
2362
2194
|
CodeAuthorized: GenericPalletEvent<
|
|
2363
|
-
Rv,
|
|
2364
2195
|
'Paras',
|
|
2365
2196
|
'CodeAuthorized',
|
|
2366
2197
|
{
|
|
@@ -2384,7 +2215,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2384
2215
|
/**
|
|
2385
2216
|
* Generic pallet event
|
|
2386
2217
|
**/
|
|
2387
|
-
[prop: string]: GenericPalletEvent
|
|
2218
|
+
[prop: string]: GenericPalletEvent;
|
|
2388
2219
|
};
|
|
2389
2220
|
/**
|
|
2390
2221
|
* Pallet `Hrmp`'s events
|
|
@@ -2394,7 +2225,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2394
2225
|
* Open HRMP channel requested.
|
|
2395
2226
|
**/
|
|
2396
2227
|
OpenChannelRequested: GenericPalletEvent<
|
|
2397
|
-
Rv,
|
|
2398
2228
|
'Hrmp',
|
|
2399
2229
|
'OpenChannelRequested',
|
|
2400
2230
|
{
|
|
@@ -2409,7 +2239,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2409
2239
|
* An HRMP channel request sent by the receiver was canceled by either party.
|
|
2410
2240
|
**/
|
|
2411
2241
|
OpenChannelCanceled: GenericPalletEvent<
|
|
2412
|
-
Rv,
|
|
2413
2242
|
'Hrmp',
|
|
2414
2243
|
'OpenChannelCanceled',
|
|
2415
2244
|
{
|
|
@@ -2422,7 +2251,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2422
2251
|
* Open HRMP channel accepted.
|
|
2423
2252
|
**/
|
|
2424
2253
|
OpenChannelAccepted: GenericPalletEvent<
|
|
2425
|
-
Rv,
|
|
2426
2254
|
'Hrmp',
|
|
2427
2255
|
'OpenChannelAccepted',
|
|
2428
2256
|
{ sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
|
|
@@ -2432,7 +2260,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2432
2260
|
* HRMP channel closed.
|
|
2433
2261
|
**/
|
|
2434
2262
|
ChannelClosed: GenericPalletEvent<
|
|
2435
|
-
Rv,
|
|
2436
2263
|
'Hrmp',
|
|
2437
2264
|
'ChannelClosed',
|
|
2438
2265
|
{
|
|
@@ -2445,7 +2272,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2445
2272
|
* An HRMP channel was opened via Root origin.
|
|
2446
2273
|
**/
|
|
2447
2274
|
HrmpChannelForceOpened: GenericPalletEvent<
|
|
2448
|
-
Rv,
|
|
2449
2275
|
'Hrmp',
|
|
2450
2276
|
'HrmpChannelForceOpened',
|
|
2451
2277
|
{
|
|
@@ -2460,7 +2286,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2460
2286
|
* An HRMP channel was opened with a system chain.
|
|
2461
2287
|
**/
|
|
2462
2288
|
HrmpSystemChannelOpened: GenericPalletEvent<
|
|
2463
|
-
Rv,
|
|
2464
2289
|
'Hrmp',
|
|
2465
2290
|
'HrmpSystemChannelOpened',
|
|
2466
2291
|
{
|
|
@@ -2475,7 +2300,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2475
2300
|
* An HRMP channel's deposits were updated.
|
|
2476
2301
|
**/
|
|
2477
2302
|
OpenChannelDepositsUpdated: GenericPalletEvent<
|
|
2478
|
-
Rv,
|
|
2479
2303
|
'Hrmp',
|
|
2480
2304
|
'OpenChannelDepositsUpdated',
|
|
2481
2305
|
{ sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
|
|
@@ -2484,7 +2308,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2484
2308
|
/**
|
|
2485
2309
|
* Generic pallet event
|
|
2486
2310
|
**/
|
|
2487
|
-
[prop: string]: GenericPalletEvent
|
|
2311
|
+
[prop: string]: GenericPalletEvent;
|
|
2488
2312
|
};
|
|
2489
2313
|
/**
|
|
2490
2314
|
* Pallet `ParasDisputes`'s events
|
|
@@ -2494,7 +2318,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2494
2318
|
* A dispute has been initiated. \[candidate hash, dispute location\]
|
|
2495
2319
|
**/
|
|
2496
2320
|
DisputeInitiated: GenericPalletEvent<
|
|
2497
|
-
Rv,
|
|
2498
2321
|
'ParasDisputes',
|
|
2499
2322
|
'DisputeInitiated',
|
|
2500
2323
|
[PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeLocation]
|
|
@@ -2505,7 +2328,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2505
2328
|
* `\[para id, candidate hash, dispute result\]`
|
|
2506
2329
|
**/
|
|
2507
2330
|
DisputeConcluded: GenericPalletEvent<
|
|
2508
|
-
Rv,
|
|
2509
2331
|
'ParasDisputes',
|
|
2510
2332
|
'DisputeConcluded',
|
|
2511
2333
|
[PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeResult]
|
|
@@ -2517,12 +2339,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2517
2339
|
* instead revert the block at the given height. This should be the
|
|
2518
2340
|
* number of the child of the last known valid block in the chain.
|
|
2519
2341
|
**/
|
|
2520
|
-
Revert: GenericPalletEvent<
|
|
2342
|
+
Revert: GenericPalletEvent<'ParasDisputes', 'Revert', number>;
|
|
2521
2343
|
|
|
2522
2344
|
/**
|
|
2523
2345
|
* Generic pallet event
|
|
2524
2346
|
**/
|
|
2525
|
-
[prop: string]: GenericPalletEvent
|
|
2347
|
+
[prop: string]: GenericPalletEvent;
|
|
2526
2348
|
};
|
|
2527
2349
|
/**
|
|
2528
2350
|
* Pallet `OnDemandAssignmentProvider`'s events
|
|
@@ -2532,7 +2354,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2532
2354
|
* An order was placed at some spot price amount by orderer ordered_by
|
|
2533
2355
|
**/
|
|
2534
2356
|
OnDemandOrderPlaced: GenericPalletEvent<
|
|
2535
|
-
Rv,
|
|
2536
2357
|
'OnDemandAssignmentProvider',
|
|
2537
2358
|
'OnDemandOrderPlaced',
|
|
2538
2359
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; spotPrice: bigint; orderedBy: AccountId32 }
|
|
@@ -2541,13 +2362,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2541
2362
|
/**
|
|
2542
2363
|
* The value of the spot price has likely changed
|
|
2543
2364
|
**/
|
|
2544
|
-
SpotPriceSet: GenericPalletEvent<
|
|
2365
|
+
SpotPriceSet: GenericPalletEvent<'OnDemandAssignmentProvider', 'SpotPriceSet', { spotPrice: bigint }>;
|
|
2545
2366
|
|
|
2546
2367
|
/**
|
|
2547
2368
|
* An account was given credits.
|
|
2548
2369
|
**/
|
|
2549
2370
|
AccountCredited: GenericPalletEvent<
|
|
2550
|
-
Rv,
|
|
2551
2371
|
'OnDemandAssignmentProvider',
|
|
2552
2372
|
'AccountCredited',
|
|
2553
2373
|
{ who: AccountId32; amount: bigint }
|
|
@@ -2556,32 +2376,24 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2556
2376
|
/**
|
|
2557
2377
|
* Generic pallet event
|
|
2558
2378
|
**/
|
|
2559
|
-
[prop: string]: GenericPalletEvent
|
|
2379
|
+
[prop: string]: GenericPalletEvent;
|
|
2560
2380
|
};
|
|
2561
2381
|
/**
|
|
2562
2382
|
* Pallet `Registrar`'s events
|
|
2563
2383
|
**/
|
|
2564
2384
|
registrar: {
|
|
2565
2385
|
Registered: GenericPalletEvent<
|
|
2566
|
-
Rv,
|
|
2567
2386
|
'Registrar',
|
|
2568
2387
|
'Registered',
|
|
2569
2388
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; manager: AccountId32 }
|
|
2570
2389
|
>;
|
|
2571
|
-
Deregistered: GenericPalletEvent<
|
|
2572
|
-
Rv,
|
|
2573
|
-
'Registrar',
|
|
2574
|
-
'Deregistered',
|
|
2575
|
-
{ paraId: PolkadotParachainPrimitivesPrimitivesId }
|
|
2576
|
-
>;
|
|
2390
|
+
Deregistered: GenericPalletEvent<'Registrar', 'Deregistered', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
|
|
2577
2391
|
Reserved: GenericPalletEvent<
|
|
2578
|
-
Rv,
|
|
2579
2392
|
'Registrar',
|
|
2580
2393
|
'Reserved',
|
|
2581
2394
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; who: AccountId32 }
|
|
2582
2395
|
>;
|
|
2583
2396
|
Swapped: GenericPalletEvent<
|
|
2584
|
-
Rv,
|
|
2585
2397
|
'Registrar',
|
|
2586
2398
|
'Swapped',
|
|
2587
2399
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; otherId: PolkadotParachainPrimitivesPrimitivesId }
|
|
@@ -2590,7 +2402,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2590
2402
|
/**
|
|
2591
2403
|
* Generic pallet event
|
|
2592
2404
|
**/
|
|
2593
|
-
[prop: string]: GenericPalletEvent
|
|
2405
|
+
[prop: string]: GenericPalletEvent;
|
|
2594
2406
|
};
|
|
2595
2407
|
/**
|
|
2596
2408
|
* Pallet `Slots`'s events
|
|
@@ -2599,7 +2411,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2599
2411
|
/**
|
|
2600
2412
|
* A new `[lease_period]` is beginning.
|
|
2601
2413
|
**/
|
|
2602
|
-
NewLeasePeriod: GenericPalletEvent<
|
|
2414
|
+
NewLeasePeriod: GenericPalletEvent<'Slots', 'NewLeasePeriod', { leasePeriod: number }>;
|
|
2603
2415
|
|
|
2604
2416
|
/**
|
|
2605
2417
|
* A para has won the right to a continuous set of lease periods as a parachain.
|
|
@@ -2607,7 +2419,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2607
2419
|
* Second balance is the total amount reserved.
|
|
2608
2420
|
**/
|
|
2609
2421
|
Leased: GenericPalletEvent<
|
|
2610
|
-
Rv,
|
|
2611
2422
|
'Slots',
|
|
2612
2423
|
'Leased',
|
|
2613
2424
|
{
|
|
@@ -2623,7 +2434,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2623
2434
|
/**
|
|
2624
2435
|
* Generic pallet event
|
|
2625
2436
|
**/
|
|
2626
|
-
[prop: string]: GenericPalletEvent
|
|
2437
|
+
[prop: string]: GenericPalletEvent;
|
|
2627
2438
|
};
|
|
2628
2439
|
/**
|
|
2629
2440
|
* Pallet `Auctions`'s events
|
|
@@ -2634,7 +2445,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2634
2445
|
* close and the first lease period of the quadruplet that is auctioned.
|
|
2635
2446
|
**/
|
|
2636
2447
|
AuctionStarted: GenericPalletEvent<
|
|
2637
|
-
Rv,
|
|
2638
2448
|
'Auctions',
|
|
2639
2449
|
'AuctionStarted',
|
|
2640
2450
|
{ auctionIndex: number; leasePeriod: number; ending: number }
|
|
@@ -2643,14 +2453,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2643
2453
|
/**
|
|
2644
2454
|
* An auction ended. All funds become unreserved.
|
|
2645
2455
|
**/
|
|
2646
|
-
AuctionClosed: GenericPalletEvent<
|
|
2456
|
+
AuctionClosed: GenericPalletEvent<'Auctions', 'AuctionClosed', { auctionIndex: number }>;
|
|
2647
2457
|
|
|
2648
2458
|
/**
|
|
2649
2459
|
* Funds were reserved for a winning bid. First balance is the extra amount reserved.
|
|
2650
2460
|
* Second is the total.
|
|
2651
2461
|
**/
|
|
2652
2462
|
Reserved: GenericPalletEvent<
|
|
2653
|
-
Rv,
|
|
2654
2463
|
'Auctions',
|
|
2655
2464
|
'Reserved',
|
|
2656
2465
|
{ bidder: AccountId32; extraReserved: bigint; totalAmount: bigint }
|
|
@@ -2659,14 +2468,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2659
2468
|
/**
|
|
2660
2469
|
* Funds were unreserved since bidder is no longer active. `[bidder, amount]`
|
|
2661
2470
|
**/
|
|
2662
|
-
Unreserved: GenericPalletEvent<
|
|
2471
|
+
Unreserved: GenericPalletEvent<'Auctions', 'Unreserved', { bidder: AccountId32; amount: bigint }>;
|
|
2663
2472
|
|
|
2664
2473
|
/**
|
|
2665
2474
|
* Someone attempted to lease the same slot twice for a parachain. The amount is held in
|
|
2666
2475
|
* reserve but no parachain slot has been leased.
|
|
2667
2476
|
**/
|
|
2668
2477
|
ReserveConfiscated: GenericPalletEvent<
|
|
2669
|
-
Rv,
|
|
2670
2478
|
'Auctions',
|
|
2671
2479
|
'ReserveConfiscated',
|
|
2672
2480
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; leaser: AccountId32; amount: bigint }
|
|
@@ -2676,7 +2484,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2676
2484
|
* A new bid has been accepted as the current winner.
|
|
2677
2485
|
**/
|
|
2678
2486
|
BidAccepted: GenericPalletEvent<
|
|
2679
|
-
Rv,
|
|
2680
2487
|
'Auctions',
|
|
2681
2488
|
'BidAccepted',
|
|
2682
2489
|
{
|
|
@@ -2692,12 +2499,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2692
2499
|
* The winning offset was chosen for an auction. This will map into the `Winning` storage
|
|
2693
2500
|
* map.
|
|
2694
2501
|
**/
|
|
2695
|
-
WinningOffset: GenericPalletEvent<
|
|
2502
|
+
WinningOffset: GenericPalletEvent<'Auctions', 'WinningOffset', { auctionIndex: number; blockNumber: number }>;
|
|
2696
2503
|
|
|
2697
2504
|
/**
|
|
2698
2505
|
* Generic pallet event
|
|
2699
2506
|
**/
|
|
2700
|
-
[prop: string]: GenericPalletEvent
|
|
2507
|
+
[prop: string]: GenericPalletEvent;
|
|
2701
2508
|
};
|
|
2702
2509
|
/**
|
|
2703
2510
|
* Pallet `Crowdloan`'s events
|
|
@@ -2706,13 +2513,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2706
2513
|
/**
|
|
2707
2514
|
* Create a new crowdloaning campaign.
|
|
2708
2515
|
**/
|
|
2709
|
-
Created: GenericPalletEvent<
|
|
2516
|
+
Created: GenericPalletEvent<'Crowdloan', 'Created', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
|
|
2710
2517
|
|
|
2711
2518
|
/**
|
|
2712
2519
|
* Contributed to a crowd sale.
|
|
2713
2520
|
**/
|
|
2714
2521
|
Contributed: GenericPalletEvent<
|
|
2715
|
-
Rv,
|
|
2716
2522
|
'Crowdloan',
|
|
2717
2523
|
'Contributed',
|
|
2718
2524
|
{ who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
|
|
@@ -2722,7 +2528,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2722
2528
|
* Withdrew full balance of a contributor.
|
|
2723
2529
|
**/
|
|
2724
2530
|
Withdrew: GenericPalletEvent<
|
|
2725
|
-
Rv,
|
|
2726
2531
|
'Crowdloan',
|
|
2727
2532
|
'Withdrew',
|
|
2728
2533
|
{ who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
|
|
@@ -2733,7 +2538,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2733
2538
|
* over child keys that still need to be killed.
|
|
2734
2539
|
**/
|
|
2735
2540
|
PartiallyRefunded: GenericPalletEvent<
|
|
2736
|
-
Rv,
|
|
2737
2541
|
'Crowdloan',
|
|
2738
2542
|
'PartiallyRefunded',
|
|
2739
2543
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId }
|
|
@@ -2742,23 +2546,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2742
2546
|
/**
|
|
2743
2547
|
* All loans in a fund have been refunded.
|
|
2744
2548
|
**/
|
|
2745
|
-
AllRefunded: GenericPalletEvent<
|
|
2746
|
-
Rv,
|
|
2747
|
-
'Crowdloan',
|
|
2748
|
-
'AllRefunded',
|
|
2749
|
-
{ paraId: PolkadotParachainPrimitivesPrimitivesId }
|
|
2750
|
-
>;
|
|
2549
|
+
AllRefunded: GenericPalletEvent<'Crowdloan', 'AllRefunded', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
|
|
2751
2550
|
|
|
2752
2551
|
/**
|
|
2753
2552
|
* Fund is dissolved.
|
|
2754
2553
|
**/
|
|
2755
|
-
Dissolved: GenericPalletEvent<
|
|
2554
|
+
Dissolved: GenericPalletEvent<'Crowdloan', 'Dissolved', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
|
|
2756
2555
|
|
|
2757
2556
|
/**
|
|
2758
2557
|
* The result of trying to submit a new bid to the Slots pallet.
|
|
2759
2558
|
**/
|
|
2760
2559
|
HandleBidResult: GenericPalletEvent<
|
|
2761
|
-
Rv,
|
|
2762
2560
|
'Crowdloan',
|
|
2763
2561
|
'HandleBidResult',
|
|
2764
2562
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId; result: Result<[], DispatchError> }
|
|
@@ -2767,13 +2565,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2767
2565
|
/**
|
|
2768
2566
|
* The configuration to a crowdloan has been edited.
|
|
2769
2567
|
**/
|
|
2770
|
-
Edited: GenericPalletEvent<
|
|
2568
|
+
Edited: GenericPalletEvent<'Crowdloan', 'Edited', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
|
|
2771
2569
|
|
|
2772
2570
|
/**
|
|
2773
2571
|
* A memo has been updated.
|
|
2774
2572
|
**/
|
|
2775
2573
|
MemoUpdated: GenericPalletEvent<
|
|
2776
|
-
Rv,
|
|
2777
2574
|
'Crowdloan',
|
|
2778
2575
|
'MemoUpdated',
|
|
2779
2576
|
{ who: AccountId32; paraId: PolkadotParachainPrimitivesPrimitivesId; memo: Bytes }
|
|
@@ -2783,7 +2580,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2783
2580
|
* A parachain has been moved to `NewRaise`
|
|
2784
2581
|
**/
|
|
2785
2582
|
AddedToNewRaise: GenericPalletEvent<
|
|
2786
|
-
Rv,
|
|
2787
2583
|
'Crowdloan',
|
|
2788
2584
|
'AddedToNewRaise',
|
|
2789
2585
|
{ paraId: PolkadotParachainPrimitivesPrimitivesId }
|
|
@@ -2792,7 +2588,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2792
2588
|
/**
|
|
2793
2589
|
* Generic pallet event
|
|
2794
2590
|
**/
|
|
2795
|
-
[prop: string]: GenericPalletEvent
|
|
2591
|
+
[prop: string]: GenericPalletEvent;
|
|
2796
2592
|
};
|
|
2797
2593
|
/**
|
|
2798
2594
|
* Pallet `AssignedSlots`'s events
|
|
@@ -2802,7 +2598,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2802
2598
|
* A parachain was assigned a permanent parachain slot
|
|
2803
2599
|
**/
|
|
2804
2600
|
PermanentSlotAssigned: GenericPalletEvent<
|
|
2805
|
-
Rv,
|
|
2806
2601
|
'AssignedSlots',
|
|
2807
2602
|
'PermanentSlotAssigned',
|
|
2808
2603
|
PolkadotParachainPrimitivesPrimitivesId
|
|
@@ -2812,7 +2607,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2812
2607
|
* A parachain was assigned a temporary parachain slot
|
|
2813
2608
|
**/
|
|
2814
2609
|
TemporarySlotAssigned: GenericPalletEvent<
|
|
2815
|
-
Rv,
|
|
2816
2610
|
'AssignedSlots',
|
|
2817
2611
|
'TemporarySlotAssigned',
|
|
2818
2612
|
PolkadotParachainPrimitivesPrimitivesId
|
|
@@ -2821,17 +2615,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2821
2615
|
/**
|
|
2822
2616
|
* The maximum number of permanent slots has been changed
|
|
2823
2617
|
**/
|
|
2824
|
-
MaxPermanentSlotsChanged: GenericPalletEvent<
|
|
2618
|
+
MaxPermanentSlotsChanged: GenericPalletEvent<'AssignedSlots', 'MaxPermanentSlotsChanged', { slots: number }>;
|
|
2825
2619
|
|
|
2826
2620
|
/**
|
|
2827
2621
|
* The maximum number of temporary slots has been changed
|
|
2828
2622
|
**/
|
|
2829
|
-
MaxTemporarySlotsChanged: GenericPalletEvent<
|
|
2623
|
+
MaxTemporarySlotsChanged: GenericPalletEvent<'AssignedSlots', 'MaxTemporarySlotsChanged', { slots: number }>;
|
|
2830
2624
|
|
|
2831
2625
|
/**
|
|
2832
2626
|
* Generic pallet event
|
|
2833
2627
|
**/
|
|
2834
|
-
[prop: string]: GenericPalletEvent
|
|
2628
|
+
[prop: string]: GenericPalletEvent;
|
|
2835
2629
|
};
|
|
2836
2630
|
/**
|
|
2837
2631
|
* Pallet `Coretime`'s events
|
|
@@ -2840,17 +2634,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2840
2634
|
/**
|
|
2841
2635
|
* The broker chain has asked for revenue information for a specific block.
|
|
2842
2636
|
**/
|
|
2843
|
-
RevenueInfoRequested: GenericPalletEvent<
|
|
2637
|
+
RevenueInfoRequested: GenericPalletEvent<'Coretime', 'RevenueInfoRequested', { when: number }>;
|
|
2844
2638
|
|
|
2845
2639
|
/**
|
|
2846
2640
|
* A core has received a new assignment from the broker chain.
|
|
2847
2641
|
**/
|
|
2848
|
-
CoreAssigned: GenericPalletEvent<
|
|
2642
|
+
CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV8CoreIndex }>;
|
|
2849
2643
|
|
|
2850
2644
|
/**
|
|
2851
2645
|
* Generic pallet event
|
|
2852
2646
|
**/
|
|
2853
|
-
[prop: string]: GenericPalletEvent
|
|
2647
|
+
[prop: string]: GenericPalletEvent;
|
|
2854
2648
|
};
|
|
2855
2649
|
/**
|
|
2856
2650
|
* Pallet `StakingAhClient`'s events
|
|
@@ -2860,7 +2654,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2860
2654
|
* A new validator set has been received.
|
|
2861
2655
|
**/
|
|
2862
2656
|
ValidatorSetReceived: GenericPalletEvent<
|
|
2863
|
-
Rv,
|
|
2864
2657
|
'StakingAhClient',
|
|
2865
2658
|
'ValidatorSetReceived',
|
|
2866
2659
|
{ id: number; newValidatorSetCount: number; pruneUpTo?: number | undefined; leftover: boolean }
|
|
@@ -2872,24 +2665,24 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2872
2665
|
* Note that this event is more resembling an error, but we use an event because in this
|
|
2873
2666
|
* pallet we need to mutate storage upon some failures.
|
|
2874
2667
|
**/
|
|
2875
|
-
CouldNotMergeAndDropped: GenericPalletEvent<
|
|
2668
|
+
CouldNotMergeAndDropped: GenericPalletEvent<'StakingAhClient', 'CouldNotMergeAndDropped', null>;
|
|
2876
2669
|
|
|
2877
2670
|
/**
|
|
2878
2671
|
* The validator set received is way too small, as per
|
|
2879
2672
|
* [`Config::MinimumValidatorSetSize`].
|
|
2880
2673
|
**/
|
|
2881
|
-
SetTooSmallAndDropped: GenericPalletEvent<
|
|
2674
|
+
SetTooSmallAndDropped: GenericPalletEvent<'StakingAhClient', 'SetTooSmallAndDropped', null>;
|
|
2882
2675
|
|
|
2883
2676
|
/**
|
|
2884
2677
|
* Something occurred that should never happen under normal operation. Logged as an event
|
|
2885
2678
|
* for fail-safe observability.
|
|
2886
2679
|
**/
|
|
2887
|
-
Unexpected: GenericPalletEvent<
|
|
2680
|
+
Unexpected: GenericPalletEvent<'StakingAhClient', 'Unexpected', PalletStakingAsyncAhClientUnexpectedKind>;
|
|
2888
2681
|
|
|
2889
2682
|
/**
|
|
2890
2683
|
* Generic pallet event
|
|
2891
2684
|
**/
|
|
2892
|
-
[prop: string]: GenericPalletEvent
|
|
2685
|
+
[prop: string]: GenericPalletEvent;
|
|
2893
2686
|
};
|
|
2894
2687
|
/**
|
|
2895
2688
|
* Pallet `MultiBlockMigrations`'s events
|
|
@@ -2901,7 +2694,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2901
2694
|
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
2902
2695
|
**/
|
|
2903
2696
|
UpgradeStarted: GenericPalletEvent<
|
|
2904
|
-
Rv,
|
|
2905
2697
|
'MultiBlockMigrations',
|
|
2906
2698
|
'UpgradeStarted',
|
|
2907
2699
|
{
|
|
@@ -2920,20 +2712,19 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2920
2712
|
*
|
|
2921
2713
|
* This implies that all of its migrations completed successfully as well.
|
|
2922
2714
|
**/
|
|
2923
|
-
UpgradeCompleted: GenericPalletEvent<
|
|
2715
|
+
UpgradeCompleted: GenericPalletEvent<'MultiBlockMigrations', 'UpgradeCompleted', null>;
|
|
2924
2716
|
|
|
2925
2717
|
/**
|
|
2926
2718
|
* Runtime upgrade failed.
|
|
2927
2719
|
*
|
|
2928
2720
|
* This is very bad and will require governance intervention.
|
|
2929
2721
|
**/
|
|
2930
|
-
UpgradeFailed: GenericPalletEvent<
|
|
2722
|
+
UpgradeFailed: GenericPalletEvent<'MultiBlockMigrations', 'UpgradeFailed', null>;
|
|
2931
2723
|
|
|
2932
2724
|
/**
|
|
2933
2725
|
* A migration was skipped since it was already executed in the past.
|
|
2934
2726
|
**/
|
|
2935
2727
|
MigrationSkipped: GenericPalletEvent<
|
|
2936
|
-
Rv,
|
|
2937
2728
|
'MultiBlockMigrations',
|
|
2938
2729
|
'MigrationSkipped',
|
|
2939
2730
|
{
|
|
@@ -2948,7 +2739,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2948
2739
|
* A migration progressed.
|
|
2949
2740
|
**/
|
|
2950
2741
|
MigrationAdvanced: GenericPalletEvent<
|
|
2951
|
-
Rv,
|
|
2952
2742
|
'MultiBlockMigrations',
|
|
2953
2743
|
'MigrationAdvanced',
|
|
2954
2744
|
{
|
|
@@ -2968,7 +2758,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2968
2758
|
* A Migration completed.
|
|
2969
2759
|
**/
|
|
2970
2760
|
MigrationCompleted: GenericPalletEvent<
|
|
2971
|
-
Rv,
|
|
2972
2761
|
'MultiBlockMigrations',
|
|
2973
2762
|
'MigrationCompleted',
|
|
2974
2763
|
{
|
|
@@ -2990,7 +2779,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2990
2779
|
* This implies that the whole upgrade failed and governance intervention is required.
|
|
2991
2780
|
**/
|
|
2992
2781
|
MigrationFailed: GenericPalletEvent<
|
|
2993
|
-
Rv,
|
|
2994
2782
|
'MultiBlockMigrations',
|
|
2995
2783
|
'MigrationFailed',
|
|
2996
2784
|
{
|
|
@@ -3010,7 +2798,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3010
2798
|
* The set of historical migrations has been cleared.
|
|
3011
2799
|
**/
|
|
3012
2800
|
HistoricCleared: GenericPalletEvent<
|
|
3013
|
-
Rv,
|
|
3014
2801
|
'MultiBlockMigrations',
|
|
3015
2802
|
'HistoricCleared',
|
|
3016
2803
|
{
|
|
@@ -3024,7 +2811,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3024
2811
|
/**
|
|
3025
2812
|
* Generic pallet event
|
|
3026
2813
|
**/
|
|
3027
|
-
[prop: string]: GenericPalletEvent
|
|
2814
|
+
[prop: string]: GenericPalletEvent;
|
|
3028
2815
|
};
|
|
3029
2816
|
/**
|
|
3030
2817
|
* Pallet `XcmPallet`'s events
|
|
@@ -3033,13 +2820,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3033
2820
|
/**
|
|
3034
2821
|
* Execution of an XCM message was attempted.
|
|
3035
2822
|
**/
|
|
3036
|
-
Attempted: GenericPalletEvent<
|
|
2823
|
+
Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
3037
2824
|
|
|
3038
2825
|
/**
|
|
3039
2826
|
* An XCM message was sent.
|
|
3040
2827
|
**/
|
|
3041
2828
|
Sent: GenericPalletEvent<
|
|
3042
|
-
Rv,
|
|
3043
2829
|
'XcmPallet',
|
|
3044
2830
|
'Sent',
|
|
3045
2831
|
{
|
|
@@ -3054,7 +2840,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3054
2840
|
* An XCM message failed to send.
|
|
3055
2841
|
**/
|
|
3056
2842
|
SendFailed: GenericPalletEvent<
|
|
3057
|
-
Rv,
|
|
3058
2843
|
'XcmPallet',
|
|
3059
2844
|
'SendFailed',
|
|
3060
2845
|
{
|
|
@@ -3069,7 +2854,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3069
2854
|
* An XCM message failed to process.
|
|
3070
2855
|
**/
|
|
3071
2856
|
ProcessXcmError: GenericPalletEvent<
|
|
3072
|
-
Rv,
|
|
3073
2857
|
'XcmPallet',
|
|
3074
2858
|
'ProcessXcmError',
|
|
3075
2859
|
{ origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
|
|
@@ -3081,7 +2865,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3081
2865
|
* because the query timed out.
|
|
3082
2866
|
**/
|
|
3083
2867
|
UnexpectedResponse: GenericPalletEvent<
|
|
3084
|
-
Rv,
|
|
3085
2868
|
'XcmPallet',
|
|
3086
2869
|
'UnexpectedResponse',
|
|
3087
2870
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -3092,7 +2875,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3092
2875
|
* no registered notification call.
|
|
3093
2876
|
**/
|
|
3094
2877
|
ResponseReady: GenericPalletEvent<
|
|
3095
|
-
Rv,
|
|
3096
2878
|
'XcmPallet',
|
|
3097
2879
|
'ResponseReady',
|
|
3098
2880
|
{ queryId: bigint; response: StagingXcmV5Response }
|
|
@@ -3102,12 +2884,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3102
2884
|
* Query response has been received and query is removed. The registered notification has
|
|
3103
2885
|
* been dispatched and executed successfully.
|
|
3104
2886
|
**/
|
|
3105
|
-
Notified: GenericPalletEvent<
|
|
3106
|
-
Rv,
|
|
3107
|
-
'XcmPallet',
|
|
3108
|
-
'Notified',
|
|
3109
|
-
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
3110
|
-
>;
|
|
2887
|
+
Notified: GenericPalletEvent<'XcmPallet', 'Notified', { queryId: bigint; palletIndex: number; callIndex: number }>;
|
|
3111
2888
|
|
|
3112
2889
|
/**
|
|
3113
2890
|
* Query response has been received and query is removed. The registered notification
|
|
@@ -3115,7 +2892,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3115
2892
|
* originally budgeted by this runtime for the query result.
|
|
3116
2893
|
**/
|
|
3117
2894
|
NotifyOverweight: GenericPalletEvent<
|
|
3118
|
-
Rv,
|
|
3119
2895
|
'XcmPallet',
|
|
3120
2896
|
'NotifyOverweight',
|
|
3121
2897
|
{
|
|
@@ -3132,7 +2908,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3132
2908
|
* dispatching the notification call.
|
|
3133
2909
|
**/
|
|
3134
2910
|
NotifyDispatchError: GenericPalletEvent<
|
|
3135
|
-
Rv,
|
|
3136
2911
|
'XcmPallet',
|
|
3137
2912
|
'NotifyDispatchError',
|
|
3138
2913
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -3144,7 +2919,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3144
2919
|
* is not `(origin, QueryId, Response)`.
|
|
3145
2920
|
**/
|
|
3146
2921
|
NotifyDecodeFailed: GenericPalletEvent<
|
|
3147
|
-
Rv,
|
|
3148
2922
|
'XcmPallet',
|
|
3149
2923
|
'NotifyDecodeFailed',
|
|
3150
2924
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -3156,7 +2930,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3156
2930
|
* be received and acted upon.
|
|
3157
2931
|
**/
|
|
3158
2932
|
InvalidResponder: GenericPalletEvent<
|
|
3159
|
-
Rv,
|
|
3160
2933
|
'XcmPallet',
|
|
3161
2934
|
'InvalidResponder',
|
|
3162
2935
|
{ origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
|
|
@@ -3172,7 +2945,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3172
2945
|
* needed.
|
|
3173
2946
|
**/
|
|
3174
2947
|
InvalidResponderVersion: GenericPalletEvent<
|
|
3175
|
-
Rv,
|
|
3176
2948
|
'XcmPallet',
|
|
3177
2949
|
'InvalidResponderVersion',
|
|
3178
2950
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -3181,13 +2953,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3181
2953
|
/**
|
|
3182
2954
|
* Received query response has been read and removed.
|
|
3183
2955
|
**/
|
|
3184
|
-
ResponseTaken: GenericPalletEvent<
|
|
2956
|
+
ResponseTaken: GenericPalletEvent<'XcmPallet', 'ResponseTaken', { queryId: bigint }>;
|
|
3185
2957
|
|
|
3186
2958
|
/**
|
|
3187
2959
|
* Some assets have been placed in an asset trap.
|
|
3188
2960
|
**/
|
|
3189
2961
|
AssetsTrapped: GenericPalletEvent<
|
|
3190
|
-
Rv,
|
|
3191
2962
|
'XcmPallet',
|
|
3192
2963
|
'AssetsTrapped',
|
|
3193
2964
|
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
@@ -3199,7 +2970,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3199
2970
|
* The cost of sending it (borne by the chain) is included.
|
|
3200
2971
|
**/
|
|
3201
2972
|
VersionChangeNotified: GenericPalletEvent<
|
|
3202
|
-
Rv,
|
|
3203
2973
|
'XcmPallet',
|
|
3204
2974
|
'VersionChangeNotified',
|
|
3205
2975
|
{ destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -3210,7 +2980,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3210
2980
|
* automatic notification or a manual intervention.
|
|
3211
2981
|
**/
|
|
3212
2982
|
SupportedVersionChanged: GenericPalletEvent<
|
|
3213
|
-
Rv,
|
|
3214
2983
|
'XcmPallet',
|
|
3215
2984
|
'SupportedVersionChanged',
|
|
3216
2985
|
{ location: StagingXcmV5Location; version: number }
|
|
@@ -3221,7 +2990,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3221
2990
|
* sending the notification to it.
|
|
3222
2991
|
**/
|
|
3223
2992
|
NotifyTargetSendFail: GenericPalletEvent<
|
|
3224
|
-
Rv,
|
|
3225
2993
|
'XcmPallet',
|
|
3226
2994
|
'NotifyTargetSendFail',
|
|
3227
2995
|
{ location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
|
|
@@ -3232,7 +3000,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3232
3000
|
* migrating the location to our new XCM format.
|
|
3233
3001
|
**/
|
|
3234
3002
|
NotifyTargetMigrationFail: GenericPalletEvent<
|
|
3235
|
-
Rv,
|
|
3236
3003
|
'XcmPallet',
|
|
3237
3004
|
'NotifyTargetMigrationFail',
|
|
3238
3005
|
{ location: XcmVersionedLocation; queryId: bigint }
|
|
@@ -3248,7 +3015,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3248
3015
|
* needed.
|
|
3249
3016
|
**/
|
|
3250
3017
|
InvalidQuerierVersion: GenericPalletEvent<
|
|
3251
|
-
Rv,
|
|
3252
3018
|
'XcmPallet',
|
|
3253
3019
|
'InvalidQuerierVersion',
|
|
3254
3020
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -3260,7 +3026,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3260
3026
|
* be received and acted upon.
|
|
3261
3027
|
**/
|
|
3262
3028
|
InvalidQuerier: GenericPalletEvent<
|
|
3263
|
-
Rv,
|
|
3264
3029
|
'XcmPallet',
|
|
3265
3030
|
'InvalidQuerier',
|
|
3266
3031
|
{
|
|
@@ -3276,7 +3041,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3276
3041
|
* A version information message is sent to them and its cost is included.
|
|
3277
3042
|
**/
|
|
3278
3043
|
VersionNotifyStarted: GenericPalletEvent<
|
|
3279
|
-
Rv,
|
|
3280
3044
|
'XcmPallet',
|
|
3281
3045
|
'VersionNotifyStarted',
|
|
3282
3046
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -3286,7 +3050,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3286
3050
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
3287
3051
|
**/
|
|
3288
3052
|
VersionNotifyRequested: GenericPalletEvent<
|
|
3289
|
-
Rv,
|
|
3290
3053
|
'XcmPallet',
|
|
3291
3054
|
'VersionNotifyRequested',
|
|
3292
3055
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -3297,7 +3060,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3297
3060
|
* notifications.
|
|
3298
3061
|
**/
|
|
3299
3062
|
VersionNotifyUnrequested: GenericPalletEvent<
|
|
3300
|
-
Rv,
|
|
3301
3063
|
'XcmPallet',
|
|
3302
3064
|
'VersionNotifyUnrequested',
|
|
3303
3065
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -3307,7 +3069,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3307
3069
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
3308
3070
|
**/
|
|
3309
3071
|
FeesPaid: GenericPalletEvent<
|
|
3310
|
-
Rv,
|
|
3311
3072
|
'XcmPallet',
|
|
3312
3073
|
'FeesPaid',
|
|
3313
3074
|
{ paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
|
|
@@ -3317,7 +3078,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3317
3078
|
* Some assets have been claimed from an asset trap
|
|
3318
3079
|
**/
|
|
3319
3080
|
AssetsClaimed: GenericPalletEvent<
|
|
3320
|
-
Rv,
|
|
3321
3081
|
'XcmPallet',
|
|
3322
3082
|
'AssetsClaimed',
|
|
3323
3083
|
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
@@ -3326,14 +3086,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3326
3086
|
/**
|
|
3327
3087
|
* A XCM version migration finished.
|
|
3328
3088
|
**/
|
|
3329
|
-
VersionMigrationFinished: GenericPalletEvent<
|
|
3089
|
+
VersionMigrationFinished: GenericPalletEvent<'XcmPallet', 'VersionMigrationFinished', { version: number }>;
|
|
3330
3090
|
|
|
3331
3091
|
/**
|
|
3332
3092
|
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
3333
3093
|
* `expiry` block number.
|
|
3334
3094
|
**/
|
|
3335
3095
|
AliasAuthorized: GenericPalletEvent<
|
|
3336
|
-
Rv,
|
|
3337
3096
|
'XcmPallet',
|
|
3338
3097
|
'AliasAuthorized',
|
|
3339
3098
|
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
|
|
@@ -3343,7 +3102,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3343
3102
|
* `target` removed alias authorization for `aliaser`.
|
|
3344
3103
|
**/
|
|
3345
3104
|
AliasAuthorizationRemoved: GenericPalletEvent<
|
|
3346
|
-
Rv,
|
|
3347
3105
|
'XcmPallet',
|
|
3348
3106
|
'AliasAuthorizationRemoved',
|
|
3349
3107
|
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
|
|
@@ -3353,7 +3111,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3353
3111
|
* `target` removed all alias authorizations.
|
|
3354
3112
|
**/
|
|
3355
3113
|
AliasesAuthorizationsRemoved: GenericPalletEvent<
|
|
3356
|
-
Rv,
|
|
3357
3114
|
'XcmPallet',
|
|
3358
3115
|
'AliasesAuthorizationsRemoved',
|
|
3359
3116
|
{ target: StagingXcmV5Location }
|
|
@@ -3362,7 +3119,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3362
3119
|
/**
|
|
3363
3120
|
* Generic pallet event
|
|
3364
3121
|
**/
|
|
3365
|
-
[prop: string]: GenericPalletEvent
|
|
3122
|
+
[prop: string]: GenericPalletEvent;
|
|
3366
3123
|
};
|
|
3367
3124
|
/**
|
|
3368
3125
|
* Pallet `MessageQueue`'s events
|
|
@@ -3372,7 +3129,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3372
3129
|
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
3373
3130
|
**/
|
|
3374
3131
|
ProcessingFailed: GenericPalletEvent<
|
|
3375
|
-
Rv,
|
|
3376
3132
|
'MessageQueue',
|
|
3377
3133
|
'ProcessingFailed',
|
|
3378
3134
|
{
|
|
@@ -3400,7 +3156,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3400
3156
|
* Message is processed.
|
|
3401
3157
|
**/
|
|
3402
3158
|
Processed: GenericPalletEvent<
|
|
3403
|
-
Rv,
|
|
3404
3159
|
'MessageQueue',
|
|
3405
3160
|
'Processed',
|
|
3406
3161
|
{
|
|
@@ -3435,7 +3190,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3435
3190
|
* Message placed in overweight queue.
|
|
3436
3191
|
**/
|
|
3437
3192
|
OverweightEnqueued: GenericPalletEvent<
|
|
3438
|
-
Rv,
|
|
3439
3193
|
'MessageQueue',
|
|
3440
3194
|
'OverweightEnqueued',
|
|
3441
3195
|
{
|
|
@@ -3465,7 +3219,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3465
3219
|
* This page was reaped.
|
|
3466
3220
|
**/
|
|
3467
3221
|
PageReaped: GenericPalletEvent<
|
|
3468
|
-
Rv,
|
|
3469
3222
|
'MessageQueue',
|
|
3470
3223
|
'PageReaped',
|
|
3471
3224
|
{
|
|
@@ -3484,26 +3237,23 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3484
3237
|
/**
|
|
3485
3238
|
* Generic pallet event
|
|
3486
3239
|
**/
|
|
3487
|
-
[prop: string]: GenericPalletEvent
|
|
3240
|
+
[prop: string]: GenericPalletEvent;
|
|
3488
3241
|
};
|
|
3489
3242
|
/**
|
|
3490
3243
|
* Pallet `AssetRate`'s events
|
|
3491
3244
|
**/
|
|
3492
3245
|
assetRate: {
|
|
3493
3246
|
AssetRateCreated: GenericPalletEvent<
|
|
3494
|
-
Rv,
|
|
3495
3247
|
'AssetRate',
|
|
3496
3248
|
'AssetRateCreated',
|
|
3497
3249
|
{ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; rate: FixedU128 }
|
|
3498
3250
|
>;
|
|
3499
3251
|
AssetRateRemoved: GenericPalletEvent<
|
|
3500
|
-
Rv,
|
|
3501
3252
|
'AssetRate',
|
|
3502
3253
|
'AssetRateRemoved',
|
|
3503
3254
|
{ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset }
|
|
3504
3255
|
>;
|
|
3505
3256
|
AssetRateUpdated: GenericPalletEvent<
|
|
3506
|
-
Rv,
|
|
3507
3257
|
'AssetRate',
|
|
3508
3258
|
'AssetRateUpdated',
|
|
3509
3259
|
{ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 }
|
|
@@ -3512,7 +3262,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3512
3262
|
/**
|
|
3513
3263
|
* Generic pallet event
|
|
3514
3264
|
**/
|
|
3515
|
-
[prop: string]: GenericPalletEvent
|
|
3265
|
+
[prop: string]: GenericPalletEvent;
|
|
3516
3266
|
};
|
|
3517
3267
|
/**
|
|
3518
3268
|
* Pallet `RootTesting`'s events
|
|
@@ -3521,12 +3271,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3521
3271
|
/**
|
|
3522
3272
|
* Event dispatched when the trigger_defensive extrinsic is called.
|
|
3523
3273
|
**/
|
|
3524
|
-
DefensiveTestCall: GenericPalletEvent<
|
|
3274
|
+
DefensiveTestCall: GenericPalletEvent<'RootTesting', 'DefensiveTestCall', undefined>;
|
|
3525
3275
|
|
|
3526
3276
|
/**
|
|
3527
3277
|
* Generic pallet event
|
|
3528
3278
|
**/
|
|
3529
|
-
[prop: string]: GenericPalletEvent
|
|
3279
|
+
[prop: string]: GenericPalletEvent;
|
|
3530
3280
|
};
|
|
3531
3281
|
/**
|
|
3532
3282
|
* Pallet `MetaTx`'s events
|
|
@@ -3539,7 +3289,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3539
3289
|
* information.
|
|
3540
3290
|
**/
|
|
3541
3291
|
Dispatched: GenericPalletEvent<
|
|
3542
|
-
Rv,
|
|
3543
3292
|
'MetaTx',
|
|
3544
3293
|
'Dispatched',
|
|
3545
3294
|
{ result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
|
|
@@ -3548,7 +3297,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3548
3297
|
/**
|
|
3549
3298
|
* Generic pallet event
|
|
3550
3299
|
**/
|
|
3551
|
-
[prop: string]: GenericPalletEvent
|
|
3300
|
+
[prop: string]: GenericPalletEvent;
|
|
3552
3301
|
};
|
|
3553
3302
|
/**
|
|
3554
3303
|
* Pallet `RootOffences`'s events
|
|
@@ -3557,17 +3306,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3557
3306
|
/**
|
|
3558
3307
|
* An offence was created by root.
|
|
3559
3308
|
**/
|
|
3560
|
-
OffenceCreated: GenericPalletEvent<
|
|
3561
|
-
Rv,
|
|
3562
|
-
'RootOffences',
|
|
3563
|
-
'OffenceCreated',
|
|
3564
|
-
{ offenders: Array<[AccountId32, Perbill]> }
|
|
3565
|
-
>;
|
|
3309
|
+
OffenceCreated: GenericPalletEvent<'RootOffences', 'OffenceCreated', { offenders: Array<[AccountId32, Perbill]> }>;
|
|
3566
3310
|
|
|
3567
3311
|
/**
|
|
3568
3312
|
* Generic pallet event
|
|
3569
3313
|
**/
|
|
3570
|
-
[prop: string]: GenericPalletEvent
|
|
3314
|
+
[prop: string]: GenericPalletEvent;
|
|
3571
3315
|
};
|
|
3572
3316
|
/**
|
|
3573
3317
|
* Pallet `IdentityMigrator`'s events
|
|
@@ -3576,14 +3320,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3576
3320
|
/**
|
|
3577
3321
|
* The identity and all sub accounts were reaped for `who`.
|
|
3578
3322
|
**/
|
|
3579
|
-
IdentityReaped: GenericPalletEvent<
|
|
3323
|
+
IdentityReaped: GenericPalletEvent<'IdentityMigrator', 'IdentityReaped', { who: AccountId32 }>;
|
|
3580
3324
|
|
|
3581
3325
|
/**
|
|
3582
3326
|
* The deposits held for `who` were updated. `identity` is the new deposit held for
|
|
3583
3327
|
* identity info, and `subs` is the new deposit held for the sub-accounts.
|
|
3584
3328
|
**/
|
|
3585
3329
|
DepositUpdated: GenericPalletEvent<
|
|
3586
|
-
Rv,
|
|
3587
3330
|
'IdentityMigrator',
|
|
3588
3331
|
'DepositUpdated',
|
|
3589
3332
|
{ who: AccountId32; identity: bigint; subs: bigint }
|
|
@@ -3592,6 +3335,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3592
3335
|
/**
|
|
3593
3336
|
* Generic pallet event
|
|
3594
3337
|
**/
|
|
3595
|
-
[prop: string]: GenericPalletEvent
|
|
3338
|
+
[prop: string]: GenericPalletEvent;
|
|
3596
3339
|
};
|
|
3597
3340
|
}
|