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