@dedot/chaintypes 0.7.0 → 0.9.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/astar/consts.d.ts +87 -21
- package/astar/errors.d.ts +182 -50
- package/astar/events.d.ts +307 -177
- package/astar/query.d.ts +148 -118
- package/astar/runtime.d.ts +9 -8
- package/astar/tx.d.ts +2196 -389
- package/astar/types.d.ts +4439 -937
- package/package.json +2 -2
- package/westend-people/json-rpc.d.ts +1 -0
package/astar/events.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ import type {
|
|
|
7
7
|
AccountId32,
|
|
8
8
|
H256,
|
|
9
9
|
Result,
|
|
10
|
-
FixedBytes,
|
|
11
10
|
Bytes,
|
|
11
|
+
FixedBytes,
|
|
12
12
|
FixedU128,
|
|
13
13
|
H160,
|
|
14
14
|
U256,
|
|
@@ -23,16 +23,17 @@ import type {
|
|
|
23
23
|
AstarPrimitivesDappStakingSmartContract,
|
|
24
24
|
PalletDappStakingV3ForcingType,
|
|
25
25
|
AstarPrimitivesOracleCurrencyId,
|
|
26
|
+
StagingXcmV4TraitsOutcome,
|
|
27
|
+
StagingXcmV4Location,
|
|
28
|
+
StagingXcmV4Xcm,
|
|
29
|
+
StagingXcmV4Response,
|
|
30
|
+
XcmVersionedAssets,
|
|
31
|
+
StagingXcmV4AssetAssets,
|
|
26
32
|
XcmV3TraitsError,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
XcmV3Response,
|
|
32
|
-
XcmVersionedMultiAssets,
|
|
33
|
-
XcmV3MultiassetMultiAssets,
|
|
34
|
-
XcmVersionedMultiLocation,
|
|
35
|
-
XcmV3MultiassetMultiAsset,
|
|
33
|
+
XcmVersionedLocation,
|
|
34
|
+
StagingXcmV4Asset,
|
|
35
|
+
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
36
|
+
FrameSupportMessagesProcessMessageError,
|
|
36
37
|
EthereumLog,
|
|
37
38
|
EvmCoreErrorExitReason,
|
|
38
39
|
PalletContractsOrigin,
|
|
@@ -78,6 +79,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
78
79
|
**/
|
|
79
80
|
Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
80
81
|
|
|
82
|
+
/**
|
|
83
|
+
* An upgrade was authorized.
|
|
84
|
+
**/
|
|
85
|
+
UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
86
|
+
|
|
81
87
|
/**
|
|
82
88
|
* Generic pallet event
|
|
83
89
|
**/
|
|
@@ -208,6 +214,52 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
208
214
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
209
215
|
>;
|
|
210
216
|
|
|
217
|
+
/**
|
|
218
|
+
* A username authority was added.
|
|
219
|
+
**/
|
|
220
|
+
AuthorityAdded: GenericPalletEvent<Rv, 'Identity', 'AuthorityAdded', { authority: AccountId32 }>;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* A username authority was removed.
|
|
224
|
+
**/
|
|
225
|
+
AuthorityRemoved: GenericPalletEvent<Rv, 'Identity', 'AuthorityRemoved', { authority: AccountId32 }>;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* A username was set for `who`.
|
|
229
|
+
**/
|
|
230
|
+
UsernameSet: GenericPalletEvent<Rv, 'Identity', 'UsernameSet', { who: AccountId32; username: Bytes }>;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* A username was queued, but `who` must accept it prior to `expiration`.
|
|
234
|
+
**/
|
|
235
|
+
UsernameQueued: GenericPalletEvent<
|
|
236
|
+
Rv,
|
|
237
|
+
'Identity',
|
|
238
|
+
'UsernameQueued',
|
|
239
|
+
{ who: AccountId32; username: Bytes; expiration: number }
|
|
240
|
+
>;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* A queued username passed its expiration without being claimed and was removed.
|
|
244
|
+
**/
|
|
245
|
+
PreapprovalExpired: GenericPalletEvent<Rv, 'Identity', 'PreapprovalExpired', { whose: AccountId32 }>;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* A username was set as a primary and can be looked up from `who`.
|
|
249
|
+
**/
|
|
250
|
+
PrimaryUsernameSet: GenericPalletEvent<Rv, 'Identity', 'PrimaryUsernameSet', { who: AccountId32; username: Bytes }>;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
254
|
+
* identity) has been removed.
|
|
255
|
+
**/
|
|
256
|
+
DanglingUsernameRemoved: GenericPalletEvent<
|
|
257
|
+
Rv,
|
|
258
|
+
'Identity',
|
|
259
|
+
'DanglingUsernameRemoved',
|
|
260
|
+
{ who: AccountId32; username: Bytes }
|
|
261
|
+
>;
|
|
262
|
+
|
|
211
263
|
/**
|
|
212
264
|
* Generic pallet event
|
|
213
265
|
**/
|
|
@@ -342,11 +394,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
342
394
|
**/
|
|
343
395
|
ValidationFunctionDiscarded: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
344
396
|
|
|
345
|
-
/**
|
|
346
|
-
* An upgrade has been authorized.
|
|
347
|
-
**/
|
|
348
|
-
UpgradeAuthorized: GenericPalletEvent<Rv, 'ParachainSystem', 'UpgradeAuthorized', { codeHash: H256 }>;
|
|
349
|
-
|
|
350
397
|
/**
|
|
351
398
|
* Some downward messages have been received and will be processed.
|
|
352
399
|
**/
|
|
@@ -513,6 +560,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
513
560
|
**/
|
|
514
561
|
Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
515
562
|
|
|
563
|
+
/**
|
|
564
|
+
* The `TotalIssuance` was forcefully changed.
|
|
565
|
+
**/
|
|
566
|
+
TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
567
|
+
|
|
516
568
|
/**
|
|
517
569
|
* Generic pallet event
|
|
518
570
|
**/
|
|
@@ -999,11 +1051,34 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
999
1051
|
* Pallet `CollatorSelection`'s events
|
|
1000
1052
|
**/
|
|
1001
1053
|
collatorSelection: {
|
|
1054
|
+
/**
|
|
1055
|
+
* New invulnerables candidates were set.
|
|
1056
|
+
**/
|
|
1002
1057
|
NewInvulnerables: GenericPalletEvent<Rv, 'CollatorSelection', 'NewInvulnerables', Array<AccountId32>>;
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* The number of desired candidates was set.
|
|
1061
|
+
**/
|
|
1003
1062
|
NewDesiredCandidates: GenericPalletEvent<Rv, 'CollatorSelection', 'NewDesiredCandidates', number>;
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* The candidacy bond was set.
|
|
1066
|
+
**/
|
|
1004
1067
|
NewCandidacyBond: GenericPalletEvent<Rv, 'CollatorSelection', 'NewCandidacyBond', bigint>;
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* A new candidate joined.
|
|
1071
|
+
**/
|
|
1005
1072
|
CandidateAdded: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateAdded', [AccountId32, bigint]>;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* A candidate was removed.
|
|
1076
|
+
**/
|
|
1006
1077
|
CandidateRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateRemoved', AccountId32>;
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* A candidate was slashed.
|
|
1081
|
+
**/
|
|
1007
1082
|
CandidateSlashed: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateSlashed', AccountId32>;
|
|
1008
1083
|
|
|
1009
1084
|
/**
|
|
@@ -1030,71 +1105,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1030
1105
|
* Pallet `XcmpQueue`'s events
|
|
1031
1106
|
**/
|
|
1032
1107
|
xcmpQueue: {
|
|
1033
|
-
/**
|
|
1034
|
-
* Some XCM was executed ok.
|
|
1035
|
-
**/
|
|
1036
|
-
Success: GenericPalletEvent<
|
|
1037
|
-
Rv,
|
|
1038
|
-
'XcmpQueue',
|
|
1039
|
-
'Success',
|
|
1040
|
-
{ messageHash: FixedBytes<32>; messageId: FixedBytes<32>; weight: SpWeightsWeightV2Weight }
|
|
1041
|
-
>;
|
|
1042
|
-
|
|
1043
|
-
/**
|
|
1044
|
-
* Some XCM failed.
|
|
1045
|
-
**/
|
|
1046
|
-
Fail: GenericPalletEvent<
|
|
1047
|
-
Rv,
|
|
1048
|
-
'XcmpQueue',
|
|
1049
|
-
'Fail',
|
|
1050
|
-
{
|
|
1051
|
-
messageHash: FixedBytes<32>;
|
|
1052
|
-
messageId: FixedBytes<32>;
|
|
1053
|
-
error: XcmV3TraitsError;
|
|
1054
|
-
weight: SpWeightsWeightV2Weight;
|
|
1055
|
-
}
|
|
1056
|
-
>;
|
|
1057
|
-
|
|
1058
|
-
/**
|
|
1059
|
-
* Bad XCM version used.
|
|
1060
|
-
**/
|
|
1061
|
-
BadVersion: GenericPalletEvent<Rv, 'XcmpQueue', 'BadVersion', { messageHash: FixedBytes<32> }>;
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* Bad XCM format used.
|
|
1065
|
-
**/
|
|
1066
|
-
BadFormat: GenericPalletEvent<Rv, 'XcmpQueue', 'BadFormat', { messageHash: FixedBytes<32> }>;
|
|
1067
|
-
|
|
1068
1108
|
/**
|
|
1069
1109
|
* An HRMP message was sent to a sibling parachain.
|
|
1070
1110
|
**/
|
|
1071
1111
|
XcmpMessageSent: GenericPalletEvent<Rv, 'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
|
|
1072
1112
|
|
|
1073
|
-
/**
|
|
1074
|
-
* An XCM exceeded the individual message weight budget.
|
|
1075
|
-
**/
|
|
1076
|
-
OverweightEnqueued: GenericPalletEvent<
|
|
1077
|
-
Rv,
|
|
1078
|
-
'XcmpQueue',
|
|
1079
|
-
'OverweightEnqueued',
|
|
1080
|
-
{
|
|
1081
|
-
sender: PolkadotParachainPrimitivesPrimitivesId;
|
|
1082
|
-
sentAt: number;
|
|
1083
|
-
index: bigint;
|
|
1084
|
-
required: SpWeightsWeightV2Weight;
|
|
1085
|
-
}
|
|
1086
|
-
>;
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* An XCM from the overweight queue was executed with the given actual weight used.
|
|
1090
|
-
**/
|
|
1091
|
-
OverweightServiced: GenericPalletEvent<
|
|
1092
|
-
Rv,
|
|
1093
|
-
'XcmpQueue',
|
|
1094
|
-
'OverweightServiced',
|
|
1095
|
-
{ index: bigint; used: SpWeightsWeightV2Weight }
|
|
1096
|
-
>;
|
|
1097
|
-
|
|
1098
1113
|
/**
|
|
1099
1114
|
* Generic pallet event
|
|
1100
1115
|
**/
|
|
@@ -1107,7 +1122,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1107
1122
|
/**
|
|
1108
1123
|
* Execution of an XCM message was attempted.
|
|
1109
1124
|
**/
|
|
1110
|
-
Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome:
|
|
1125
|
+
Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
|
|
1111
1126
|
|
|
1112
1127
|
/**
|
|
1113
1128
|
* A XCM message was sent.
|
|
@@ -1117,9 +1132,9 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1117
1132
|
'PolkadotXcm',
|
|
1118
1133
|
'Sent',
|
|
1119
1134
|
{
|
|
1120
|
-
origin:
|
|
1121
|
-
destination:
|
|
1122
|
-
message:
|
|
1135
|
+
origin: StagingXcmV4Location;
|
|
1136
|
+
destination: StagingXcmV4Location;
|
|
1137
|
+
message: StagingXcmV4Xcm;
|
|
1123
1138
|
messageId: FixedBytes<32>;
|
|
1124
1139
|
}
|
|
1125
1140
|
>;
|
|
@@ -1133,14 +1148,19 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1133
1148
|
Rv,
|
|
1134
1149
|
'PolkadotXcm',
|
|
1135
1150
|
'UnexpectedResponse',
|
|
1136
|
-
{ origin:
|
|
1151
|
+
{ origin: StagingXcmV4Location; queryId: bigint }
|
|
1137
1152
|
>;
|
|
1138
1153
|
|
|
1139
1154
|
/**
|
|
1140
1155
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
1141
1156
|
* no registered notification call.
|
|
1142
1157
|
**/
|
|
1143
|
-
ResponseReady: GenericPalletEvent<
|
|
1158
|
+
ResponseReady: GenericPalletEvent<
|
|
1159
|
+
Rv,
|
|
1160
|
+
'PolkadotXcm',
|
|
1161
|
+
'ResponseReady',
|
|
1162
|
+
{ queryId: bigint; response: StagingXcmV4Response }
|
|
1163
|
+
>;
|
|
1144
1164
|
|
|
1145
1165
|
/**
|
|
1146
1166
|
* Query response has been received and query is removed. The registered notification has
|
|
@@ -1203,11 +1223,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1203
1223
|
Rv,
|
|
1204
1224
|
'PolkadotXcm',
|
|
1205
1225
|
'InvalidResponder',
|
|
1206
|
-
{
|
|
1207
|
-
origin: StagingXcmV3MultilocationMultiLocation;
|
|
1208
|
-
queryId: bigint;
|
|
1209
|
-
expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
|
|
1210
|
-
}
|
|
1226
|
+
{ origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
|
|
1211
1227
|
>;
|
|
1212
1228
|
|
|
1213
1229
|
/**
|
|
@@ -1223,7 +1239,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1223
1239
|
Rv,
|
|
1224
1240
|
'PolkadotXcm',
|
|
1225
1241
|
'InvalidResponderVersion',
|
|
1226
|
-
{ origin:
|
|
1242
|
+
{ origin: StagingXcmV4Location; queryId: bigint }
|
|
1227
1243
|
>;
|
|
1228
1244
|
|
|
1229
1245
|
/**
|
|
@@ -1238,7 +1254,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1238
1254
|
Rv,
|
|
1239
1255
|
'PolkadotXcm',
|
|
1240
1256
|
'AssetsTrapped',
|
|
1241
|
-
{ hash: H256; origin:
|
|
1257
|
+
{ hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
|
|
1242
1258
|
>;
|
|
1243
1259
|
|
|
1244
1260
|
/**
|
|
@@ -1250,12 +1266,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1250
1266
|
Rv,
|
|
1251
1267
|
'PolkadotXcm',
|
|
1252
1268
|
'VersionChangeNotified',
|
|
1253
|
-
{
|
|
1254
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
1255
|
-
result: number;
|
|
1256
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
1257
|
-
messageId: FixedBytes<32>;
|
|
1258
|
-
}
|
|
1269
|
+
{ destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
1259
1270
|
>;
|
|
1260
1271
|
|
|
1261
1272
|
/**
|
|
@@ -1266,7 +1277,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1266
1277
|
Rv,
|
|
1267
1278
|
'PolkadotXcm',
|
|
1268
1279
|
'SupportedVersionChanged',
|
|
1269
|
-
{ location:
|
|
1280
|
+
{ location: StagingXcmV4Location; version: number }
|
|
1270
1281
|
>;
|
|
1271
1282
|
|
|
1272
1283
|
/**
|
|
@@ -1277,7 +1288,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1277
1288
|
Rv,
|
|
1278
1289
|
'PolkadotXcm',
|
|
1279
1290
|
'NotifyTargetSendFail',
|
|
1280
|
-
{ location:
|
|
1291
|
+
{ location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
|
|
1281
1292
|
>;
|
|
1282
1293
|
|
|
1283
1294
|
/**
|
|
@@ -1288,7 +1299,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1288
1299
|
Rv,
|
|
1289
1300
|
'PolkadotXcm',
|
|
1290
1301
|
'NotifyTargetMigrationFail',
|
|
1291
|
-
{ location:
|
|
1302
|
+
{ location: XcmVersionedLocation; queryId: bigint }
|
|
1292
1303
|
>;
|
|
1293
1304
|
|
|
1294
1305
|
/**
|
|
@@ -1304,7 +1315,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1304
1315
|
Rv,
|
|
1305
1316
|
'PolkadotXcm',
|
|
1306
1317
|
'InvalidQuerierVersion',
|
|
1307
|
-
{ origin:
|
|
1318
|
+
{ origin: StagingXcmV4Location; queryId: bigint }
|
|
1308
1319
|
>;
|
|
1309
1320
|
|
|
1310
1321
|
/**
|
|
@@ -1317,10 +1328,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1317
1328
|
'PolkadotXcm',
|
|
1318
1329
|
'InvalidQuerier',
|
|
1319
1330
|
{
|
|
1320
|
-
origin:
|
|
1331
|
+
origin: StagingXcmV4Location;
|
|
1321
1332
|
queryId: bigint;
|
|
1322
|
-
expectedQuerier:
|
|
1323
|
-
maybeActualQuerier?:
|
|
1333
|
+
expectedQuerier: StagingXcmV4Location;
|
|
1334
|
+
maybeActualQuerier?: StagingXcmV4Location | undefined;
|
|
1324
1335
|
}
|
|
1325
1336
|
>;
|
|
1326
1337
|
|
|
@@ -1332,11 +1343,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1332
1343
|
Rv,
|
|
1333
1344
|
'PolkadotXcm',
|
|
1334
1345
|
'VersionNotifyStarted',
|
|
1335
|
-
{
|
|
1336
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
1337
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
1338
|
-
messageId: FixedBytes<32>;
|
|
1339
|
-
}
|
|
1346
|
+
{ destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
1340
1347
|
>;
|
|
1341
1348
|
|
|
1342
1349
|
/**
|
|
@@ -1346,11 +1353,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1346
1353
|
Rv,
|
|
1347
1354
|
'PolkadotXcm',
|
|
1348
1355
|
'VersionNotifyRequested',
|
|
1349
|
-
{
|
|
1350
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
1351
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
1352
|
-
messageId: FixedBytes<32>;
|
|
1353
|
-
}
|
|
1356
|
+
{ destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
1354
1357
|
>;
|
|
1355
1358
|
|
|
1356
1359
|
/**
|
|
@@ -1361,11 +1364,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1361
1364
|
Rv,
|
|
1362
1365
|
'PolkadotXcm',
|
|
1363
1366
|
'VersionNotifyUnrequested',
|
|
1364
|
-
{
|
|
1365
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
1366
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
1367
|
-
messageId: FixedBytes<32>;
|
|
1368
|
-
}
|
|
1367
|
+
{ destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
1369
1368
|
>;
|
|
1370
1369
|
|
|
1371
1370
|
/**
|
|
@@ -1375,7 +1374,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1375
1374
|
Rv,
|
|
1376
1375
|
'PolkadotXcm',
|
|
1377
1376
|
'FeesPaid',
|
|
1378
|
-
{ paying:
|
|
1377
|
+
{ paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
|
|
1379
1378
|
>;
|
|
1380
1379
|
|
|
1381
1380
|
/**
|
|
@@ -1385,9 +1384,14 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1385
1384
|
Rv,
|
|
1386
1385
|
'PolkadotXcm',
|
|
1387
1386
|
'AssetsClaimed',
|
|
1388
|
-
{ hash: H256; origin:
|
|
1387
|
+
{ hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
|
|
1389
1388
|
>;
|
|
1390
1389
|
|
|
1390
|
+
/**
|
|
1391
|
+
* A XCM version migration finished.
|
|
1392
|
+
**/
|
|
1393
|
+
VersionMigrationFinished: GenericPalletEvent<Rv, 'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
|
|
1394
|
+
|
|
1391
1395
|
/**
|
|
1392
1396
|
* Generic pallet event
|
|
1393
1397
|
**/
|
|
@@ -1413,7 +1417,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1413
1417
|
* Downward message executed with the given outcome.
|
|
1414
1418
|
* \[ id, outcome \]
|
|
1415
1419
|
**/
|
|
1416
|
-
ExecutedDownward: GenericPalletEvent<
|
|
1420
|
+
ExecutedDownward: GenericPalletEvent<
|
|
1421
|
+
Rv,
|
|
1422
|
+
'CumulusXcm',
|
|
1423
|
+
'ExecutedDownward',
|
|
1424
|
+
[FixedBytes<32>, StagingXcmV4TraitsOutcome]
|
|
1425
|
+
>;
|
|
1417
1426
|
|
|
1418
1427
|
/**
|
|
1419
1428
|
* Generic pallet event
|
|
@@ -1425,69 +1434,63 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1425
1434
|
**/
|
|
1426
1435
|
dmpQueue: {
|
|
1427
1436
|
/**
|
|
1428
|
-
*
|
|
1437
|
+
* The export of pages started.
|
|
1429
1438
|
**/
|
|
1430
|
-
|
|
1439
|
+
StartedExport: GenericPalletEvent<Rv, 'DmpQueue', 'StartedExport', null>;
|
|
1431
1440
|
|
|
1432
1441
|
/**
|
|
1433
|
-
*
|
|
1442
|
+
* The export of a page completed.
|
|
1434
1443
|
**/
|
|
1435
|
-
|
|
1444
|
+
Exported: GenericPalletEvent<Rv, 'DmpQueue', 'Exported', { page: number }>;
|
|
1436
1445
|
|
|
1437
1446
|
/**
|
|
1438
|
-
*
|
|
1447
|
+
* The export of a page failed.
|
|
1448
|
+
*
|
|
1449
|
+
* This should never be emitted.
|
|
1439
1450
|
**/
|
|
1440
|
-
|
|
1441
|
-
Rv,
|
|
1442
|
-
'DmpQueue',
|
|
1443
|
-
'ExecutedDownward',
|
|
1444
|
-
{ messageHash: FixedBytes<32>; messageId: FixedBytes<32>; outcome: XcmV3TraitsOutcome }
|
|
1445
|
-
>;
|
|
1451
|
+
ExportFailed: GenericPalletEvent<Rv, 'DmpQueue', 'ExportFailed', { page: number }>;
|
|
1446
1452
|
|
|
1447
1453
|
/**
|
|
1448
|
-
* The
|
|
1454
|
+
* The export of pages completed.
|
|
1449
1455
|
**/
|
|
1450
|
-
|
|
1451
|
-
Rv,
|
|
1452
|
-
'DmpQueue',
|
|
1453
|
-
'WeightExhausted',
|
|
1454
|
-
{
|
|
1455
|
-
messageHash: FixedBytes<32>;
|
|
1456
|
-
messageId: FixedBytes<32>;
|
|
1457
|
-
remainingWeight: SpWeightsWeightV2Weight;
|
|
1458
|
-
requiredWeight: SpWeightsWeightV2Weight;
|
|
1459
|
-
}
|
|
1460
|
-
>;
|
|
1456
|
+
CompletedExport: GenericPalletEvent<Rv, 'DmpQueue', 'CompletedExport', null>;
|
|
1461
1457
|
|
|
1462
1458
|
/**
|
|
1463
|
-
*
|
|
1459
|
+
* The export of overweight messages started.
|
|
1464
1460
|
**/
|
|
1465
|
-
|
|
1466
|
-
Rv,
|
|
1467
|
-
'DmpQueue',
|
|
1468
|
-
'OverweightEnqueued',
|
|
1469
|
-
{
|
|
1470
|
-
messageHash: FixedBytes<32>;
|
|
1471
|
-
messageId: FixedBytes<32>;
|
|
1472
|
-
overweightIndex: bigint;
|
|
1473
|
-
requiredWeight: SpWeightsWeightV2Weight;
|
|
1474
|
-
}
|
|
1475
|
-
>;
|
|
1461
|
+
StartedOverweightExport: GenericPalletEvent<Rv, 'DmpQueue', 'StartedOverweightExport', null>;
|
|
1476
1462
|
|
|
1477
1463
|
/**
|
|
1478
|
-
*
|
|
1464
|
+
* The export of an overweight message completed.
|
|
1479
1465
|
**/
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1466
|
+
ExportedOverweight: GenericPalletEvent<Rv, 'DmpQueue', 'ExportedOverweight', { index: bigint }>;
|
|
1467
|
+
|
|
1468
|
+
/**
|
|
1469
|
+
* The export of an overweight message failed.
|
|
1470
|
+
*
|
|
1471
|
+
* This should never be emitted.
|
|
1472
|
+
**/
|
|
1473
|
+
ExportOverweightFailed: GenericPalletEvent<Rv, 'DmpQueue', 'ExportOverweightFailed', { index: bigint }>;
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* The export of overweight messages completed.
|
|
1477
|
+
**/
|
|
1478
|
+
CompletedOverweightExport: GenericPalletEvent<Rv, 'DmpQueue', 'CompletedOverweightExport', null>;
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* The cleanup of remaining pallet storage started.
|
|
1482
|
+
**/
|
|
1483
|
+
StartedCleanup: GenericPalletEvent<Rv, 'DmpQueue', 'StartedCleanup', null>;
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* Some debris was cleaned up.
|
|
1487
|
+
**/
|
|
1488
|
+
CleanedSome: GenericPalletEvent<Rv, 'DmpQueue', 'CleanedSome', { keysRemoved: number }>;
|
|
1486
1489
|
|
|
1487
1490
|
/**
|
|
1488
|
-
* The
|
|
1491
|
+
* The cleanup of remaining pallet storage completed.
|
|
1489
1492
|
**/
|
|
1490
|
-
|
|
1493
|
+
Completed: GenericPalletEvent<Rv, 'DmpQueue', 'Completed', { error: boolean }>;
|
|
1491
1494
|
|
|
1492
1495
|
/**
|
|
1493
1496
|
* Generic pallet event
|
|
@@ -1505,7 +1508,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1505
1508
|
Rv,
|
|
1506
1509
|
'XcAssetConfig',
|
|
1507
1510
|
'AssetRegistered',
|
|
1508
|
-
{ assetLocation:
|
|
1511
|
+
{ assetLocation: XcmVersionedLocation; assetId: bigint }
|
|
1509
1512
|
>;
|
|
1510
1513
|
|
|
1511
1514
|
/**
|
|
@@ -1515,7 +1518,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1515
1518
|
Rv,
|
|
1516
1519
|
'XcAssetConfig',
|
|
1517
1520
|
'UnitsPerSecondChanged',
|
|
1518
|
-
{ assetLocation:
|
|
1521
|
+
{ assetLocation: XcmVersionedLocation; unitsPerSecond: bigint }
|
|
1519
1522
|
>;
|
|
1520
1523
|
|
|
1521
1524
|
/**
|
|
@@ -1525,7 +1528,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1525
1528
|
Rv,
|
|
1526
1529
|
'XcAssetConfig',
|
|
1527
1530
|
'AssetLocationChanged',
|
|
1528
|
-
{ previousAssetLocation:
|
|
1531
|
+
{ previousAssetLocation: XcmVersionedLocation; assetId: bigint; newAssetLocation: XcmVersionedLocation }
|
|
1529
1532
|
>;
|
|
1530
1533
|
|
|
1531
1534
|
/**
|
|
@@ -1535,7 +1538,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1535
1538
|
Rv,
|
|
1536
1539
|
'XcAssetConfig',
|
|
1537
1540
|
'SupportedAssetRemoved',
|
|
1538
|
-
{ assetLocation:
|
|
1541
|
+
{ assetLocation: XcmVersionedLocation }
|
|
1539
1542
|
>;
|
|
1540
1543
|
|
|
1541
1544
|
/**
|
|
@@ -1545,7 +1548,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1545
1548
|
Rv,
|
|
1546
1549
|
'XcAssetConfig',
|
|
1547
1550
|
'AssetRemoved',
|
|
1548
|
-
{ assetLocation:
|
|
1551
|
+
{ assetLocation: XcmVersionedLocation; assetId: bigint }
|
|
1549
1552
|
>;
|
|
1550
1553
|
|
|
1551
1554
|
/**
|
|
@@ -1558,17 +1561,134 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1558
1561
|
**/
|
|
1559
1562
|
xTokens: {
|
|
1560
1563
|
/**
|
|
1561
|
-
* Transferred `
|
|
1564
|
+
* Transferred `Asset` with fee.
|
|
1562
1565
|
**/
|
|
1563
|
-
|
|
1566
|
+
TransferredAssets: GenericPalletEvent<
|
|
1564
1567
|
Rv,
|
|
1565
1568
|
'XTokens',
|
|
1566
|
-
'
|
|
1569
|
+
'TransferredAssets',
|
|
1570
|
+
{ sender: AccountId32; assets: StagingXcmV4AssetAssets; fee: StagingXcmV4Asset; dest: StagingXcmV4Location }
|
|
1571
|
+
>;
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* Generic pallet event
|
|
1575
|
+
**/
|
|
1576
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1577
|
+
};
|
|
1578
|
+
/**
|
|
1579
|
+
* Pallet `MessageQueue`'s events
|
|
1580
|
+
**/
|
|
1581
|
+
messageQueue: {
|
|
1582
|
+
/**
|
|
1583
|
+
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
1584
|
+
**/
|
|
1585
|
+
ProcessingFailed: GenericPalletEvent<
|
|
1586
|
+
Rv,
|
|
1587
|
+
'MessageQueue',
|
|
1588
|
+
'ProcessingFailed',
|
|
1589
|
+
{
|
|
1590
|
+
/**
|
|
1591
|
+
* The `blake2_256` hash of the message.
|
|
1592
|
+
**/
|
|
1593
|
+
id: H256;
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* The queue of the message.
|
|
1597
|
+
**/
|
|
1598
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* The error that occurred.
|
|
1602
|
+
*
|
|
1603
|
+
* This error is pretty opaque. More fine-grained errors need to be emitted as events
|
|
1604
|
+
* by the `MessageProcessor`.
|
|
1605
|
+
**/
|
|
1606
|
+
error: FrameSupportMessagesProcessMessageError;
|
|
1607
|
+
}
|
|
1608
|
+
>;
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* Message is processed.
|
|
1612
|
+
**/
|
|
1613
|
+
Processed: GenericPalletEvent<
|
|
1614
|
+
Rv,
|
|
1615
|
+
'MessageQueue',
|
|
1616
|
+
'Processed',
|
|
1617
|
+
{
|
|
1618
|
+
/**
|
|
1619
|
+
* The `blake2_256` hash of the message.
|
|
1620
|
+
**/
|
|
1621
|
+
id: H256;
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* The queue of the message.
|
|
1625
|
+
**/
|
|
1626
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* How much weight was used to process the message.
|
|
1630
|
+
**/
|
|
1631
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* Whether the message was processed.
|
|
1635
|
+
*
|
|
1636
|
+
* Note that this does not mean that the underlying `MessageProcessor` was internally
|
|
1637
|
+
* successful. It *solely* means that the MQ pallet will treat this as a success
|
|
1638
|
+
* condition and discard the message. Any internal error needs to be emitted as events
|
|
1639
|
+
* by the `MessageProcessor`.
|
|
1640
|
+
**/
|
|
1641
|
+
success: boolean;
|
|
1642
|
+
}
|
|
1643
|
+
>;
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* Message placed in overweight queue.
|
|
1647
|
+
**/
|
|
1648
|
+
OverweightEnqueued: GenericPalletEvent<
|
|
1649
|
+
Rv,
|
|
1650
|
+
'MessageQueue',
|
|
1651
|
+
'OverweightEnqueued',
|
|
1652
|
+
{
|
|
1653
|
+
/**
|
|
1654
|
+
* The `blake2_256` hash of the message.
|
|
1655
|
+
**/
|
|
1656
|
+
id: FixedBytes<32>;
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* The queue of the message.
|
|
1660
|
+
**/
|
|
1661
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* The page of the message.
|
|
1665
|
+
**/
|
|
1666
|
+
pageIndex: number;
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* The index of the message within the page.
|
|
1670
|
+
**/
|
|
1671
|
+
messageIndex: number;
|
|
1672
|
+
}
|
|
1673
|
+
>;
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* This page was reaped.
|
|
1677
|
+
**/
|
|
1678
|
+
PageReaped: GenericPalletEvent<
|
|
1679
|
+
Rv,
|
|
1680
|
+
'MessageQueue',
|
|
1681
|
+
'PageReaped',
|
|
1567
1682
|
{
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1683
|
+
/**
|
|
1684
|
+
* The queue of the page.
|
|
1685
|
+
**/
|
|
1686
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
1687
|
+
|
|
1688
|
+
/**
|
|
1689
|
+
* The index of the page.
|
|
1690
|
+
**/
|
|
1691
|
+
index: number;
|
|
1572
1692
|
}
|
|
1573
1693
|
>;
|
|
1574
1694
|
|
|
@@ -1850,12 +1970,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1850
1970
|
'KeyChanged',
|
|
1851
1971
|
{
|
|
1852
1972
|
/**
|
|
1853
|
-
* The old sudo key if one was previously set.
|
|
1973
|
+
* The old sudo key (if one was previously set).
|
|
1974
|
+
**/
|
|
1975
|
+
old?: AccountId32 | undefined;
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* The new sudo key (if one was set).
|
|
1854
1979
|
**/
|
|
1855
|
-
|
|
1980
|
+
new: AccountId32;
|
|
1856
1981
|
}
|
|
1857
1982
|
>;
|
|
1858
1983
|
|
|
1984
|
+
/**
|
|
1985
|
+
* The key was permanently removed.
|
|
1986
|
+
**/
|
|
1987
|
+
KeyRemoved: GenericPalletEvent<Rv, 'Sudo', 'KeyRemoved', null>;
|
|
1988
|
+
|
|
1859
1989
|
/**
|
|
1860
1990
|
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
1861
1991
|
**/
|