@dedot/chaintypes 0.102.0 → 0.103.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/types.d.ts CHANGED
@@ -3,7 +3,6 @@
3
3
  import type {
4
4
  Phase,
5
5
  H256,
6
- DispatchInfo,
7
6
  DispatchError,
8
7
  AccountId32,
9
8
  Result,
@@ -103,11 +102,11 @@ export type FrameSystemEvent =
103
102
  /**
104
103
  * An extrinsic completed successfully.
105
104
  **/
106
- | { name: 'ExtrinsicSuccess'; data: { dispatchInfo: DispatchInfo } }
105
+ | { name: 'ExtrinsicSuccess'; data: { dispatchInfo: FrameSystemDispatchEventInfo } }
107
106
  /**
108
107
  * An extrinsic failed.
109
108
  **/
110
- | { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: DispatchInfo } }
109
+ | { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo } }
111
110
  /**
112
111
  * `:code` was updated.
113
112
  **/
@@ -129,10 +128,32 @@ export type FrameSystemEvent =
129
128
  **/
130
129
  | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
131
130
 
131
+ export type FrameSystemDispatchEventInfo = {
132
+ weight: SpWeightsWeightV2Weight;
133
+ class: FrameSupportDispatchDispatchClass;
134
+ paysFee: FrameSupportDispatchPays;
135
+ };
136
+
132
137
  export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
133
138
 
134
139
  export type FrameSupportDispatchPays = 'Yes' | 'No';
135
140
 
141
+ export type SpRuntimeProvingTrieTrieError =
142
+ | 'InvalidStateRoot'
143
+ | 'IncompleteDatabase'
144
+ | 'ValueAtIncompleteKey'
145
+ | 'DecoderError'
146
+ | 'InvalidHash'
147
+ | 'DuplicateKey'
148
+ | 'ExtraneousNode'
149
+ | 'ExtraneousValue'
150
+ | 'ExtraneousHashReference'
151
+ | 'InvalidChildReference'
152
+ | 'ValueMismatch'
153
+ | 'IncompleteProof'
154
+ | 'RootMismatch'
155
+ | 'DecodeError';
156
+
136
157
  /**
137
158
  * The `Event` enum of this pallet
138
159
  **/
@@ -199,6 +220,14 @@ export type PalletIdentityEvent =
199
220
  * A sub-identity was added to an identity and the deposit paid.
200
221
  **/
201
222
  | { name: 'SubIdentityAdded'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
223
+ /**
224
+ * An account's sub-identities were set (in bulk).
225
+ **/
226
+ | { name: 'SubIdentitiesSet'; data: { main: AccountId32; numberOfSubs: number; newDeposit: bigint } }
227
+ /**
228
+ * A given sub-account's associated name was changed by its super-identity.
229
+ **/
230
+ | { name: 'SubIdentityRenamed'; data: { sub: AccountId32; main: AccountId32 } }
202
231
  /**
203
232
  * A sub-identity was removed from an identity and the deposit freed.
204
233
  **/
@@ -236,7 +265,19 @@ export type PalletIdentityEvent =
236
265
  * A dangling username (as in, a username corresponding to an account that has removed its
237
266
  * identity) has been removed.
238
267
  **/
239
- | { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } };
268
+ | { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
269
+ /**
270
+ * A username has been unbound.
271
+ **/
272
+ | { name: 'UsernameUnbound'; data: { username: Bytes } }
273
+ /**
274
+ * A username has been removed.
275
+ **/
276
+ | { name: 'UsernameRemoved'; data: { username: Bytes } }
277
+ /**
278
+ * A username has been killed.
279
+ **/
280
+ | { name: 'UsernameKilled'; data: { username: Bytes } };
240
281
 
241
282
  /**
242
283
  * The `Event` enum of this pallet
@@ -717,7 +758,10 @@ export type PalletDappStakingTierParameters = {
717
758
 
718
759
  export type PalletDappStakingTierThreshold =
719
760
  | { type: 'FixedPercentage'; value: { requiredPercentage: Perbill } }
720
- | { type: 'DynamicPercentage'; value: { percentage: Perbill; minimumRequiredPercentage: Perbill } };
761
+ | {
762
+ type: 'DynamicPercentage';
763
+ value: { percentage: Perbill; minimumRequiredPercentage: Perbill; maximumPossiblePercentage: Perbill };
764
+ };
721
765
 
722
766
  /**
723
767
  * The `Event` enum of this pallet
@@ -936,16 +980,16 @@ export type PalletXcmEvent =
936
980
  /**
937
981
  * Execution of an XCM message was attempted.
938
982
  **/
939
- | { name: 'Attempted'; data: { outcome: StagingXcmV4TraitsOutcome } }
983
+ | { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
940
984
  /**
941
985
  * A XCM message was sent.
942
986
  **/
943
987
  | {
944
988
  name: 'Sent';
945
989
  data: {
946
- origin: StagingXcmV4Location;
947
- destination: StagingXcmV4Location;
948
- message: StagingXcmV4Xcm;
990
+ origin: StagingXcmV5Location;
991
+ destination: StagingXcmV5Location;
992
+ message: StagingXcmV5Xcm;
949
993
  messageId: FixedBytes<32>;
950
994
  };
951
995
  }
@@ -954,12 +998,12 @@ export type PalletXcmEvent =
954
998
  * matching query was never registered, it may be because it is a duplicate response, or
955
999
  * because the query timed out.
956
1000
  **/
957
- | { name: 'UnexpectedResponse'; data: { origin: StagingXcmV4Location; queryId: bigint } }
1001
+ | { name: 'UnexpectedResponse'; data: { origin: StagingXcmV5Location; queryId: bigint } }
958
1002
  /**
959
1003
  * Query response has been received and is ready for taking with `take_response`. There is
960
1004
  * no registered notification call.
961
1005
  **/
962
- | { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV4Response } }
1006
+ | { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV5Response } }
963
1007
  /**
964
1008
  * Query response has been received and query is removed. The registered notification has
965
1009
  * been dispatched and executed successfully.
@@ -998,7 +1042,7 @@ export type PalletXcmEvent =
998
1042
  **/
999
1043
  | {
1000
1044
  name: 'InvalidResponder';
1001
- data: { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined };
1045
+ data: { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined };
1002
1046
  }
1003
1047
  /**
1004
1048
  * Expected query response has been received but the expected origin location placed in
@@ -1009,7 +1053,7 @@ export type PalletXcmEvent =
1009
1053
  * valid response will be dropped. Manual governance intervention is probably going to be
1010
1054
  * needed.
1011
1055
  **/
1012
- | { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
1056
+ | { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
1013
1057
  /**
1014
1058
  * Received query response has been read and removed.
1015
1059
  **/
@@ -1017,7 +1061,7 @@ export type PalletXcmEvent =
1017
1061
  /**
1018
1062
  * Some assets have been placed in an asset trap.
1019
1063
  **/
1020
- | { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
1064
+ | { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
1021
1065
  /**
1022
1066
  * An XCM version change notification message has been attempted to be sent.
1023
1067
  *
@@ -1026,9 +1070,9 @@ export type PalletXcmEvent =
1026
1070
  | {
1027
1071
  name: 'VersionChangeNotified';
1028
1072
  data: {
1029
- destination: StagingXcmV4Location;
1073
+ destination: StagingXcmV5Location;
1030
1074
  result: number;
1031
- cost: StagingXcmV4AssetAssets;
1075
+ cost: StagingXcmV5AssetAssets;
1032
1076
  messageId: FixedBytes<32>;
1033
1077
  };
1034
1078
  }
@@ -1036,12 +1080,12 @@ export type PalletXcmEvent =
1036
1080
  * The supported version of a location has been changed. This might be through an
1037
1081
  * automatic notification or a manual intervention.
1038
1082
  **/
1039
- | { name: 'SupportedVersionChanged'; data: { location: StagingXcmV4Location; version: number } }
1083
+ | { name: 'SupportedVersionChanged'; data: { location: StagingXcmV5Location; version: number } }
1040
1084
  /**
1041
1085
  * A given location which had a version change subscription was dropped owing to an error
1042
1086
  * sending the notification to it.
1043
1087
  **/
1044
- | { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError } }
1088
+ | { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError } }
1045
1089
  /**
1046
1090
  * A given location which had a version change subscription was dropped owing to an error
1047
1091
  * migrating the location to our new XCM format.
@@ -1056,7 +1100,7 @@ export type PalletXcmEvent =
1056
1100
  * valid response will be dropped. Manual governance intervention is probably going to be
1057
1101
  * needed.
1058
1102
  **/
1059
- | { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
1103
+ | { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
1060
1104
  /**
1061
1105
  * Expected query response has been received but the querier location of the response does
1062
1106
  * not match the expected. The query remains registered for a later, valid, response to
@@ -1065,10 +1109,10 @@ export type PalletXcmEvent =
1065
1109
  | {
1066
1110
  name: 'InvalidQuerier';
1067
1111
  data: {
1068
- origin: StagingXcmV4Location;
1112
+ origin: StagingXcmV5Location;
1069
1113
  queryId: bigint;
1070
- expectedQuerier: StagingXcmV4Location;
1071
- maybeActualQuerier?: StagingXcmV4Location | undefined;
1114
+ expectedQuerier: StagingXcmV5Location;
1115
+ maybeActualQuerier?: StagingXcmV5Location | undefined;
1072
1116
  };
1073
1117
  }
1074
1118
  /**
@@ -1077,14 +1121,14 @@ export type PalletXcmEvent =
1077
1121
  **/
1078
1122
  | {
1079
1123
  name: 'VersionNotifyStarted';
1080
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
1124
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
1081
1125
  }
1082
1126
  /**
1083
1127
  * We have requested that a remote chain send us XCM version change notifications.
1084
1128
  **/
1085
1129
  | {
1086
1130
  name: 'VersionNotifyRequested';
1087
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
1131
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
1088
1132
  }
1089
1133
  /**
1090
1134
  * We have requested that a remote chain stops sending us XCM version change
@@ -1092,27 +1136,27 @@ export type PalletXcmEvent =
1092
1136
  **/
1093
1137
  | {
1094
1138
  name: 'VersionNotifyUnrequested';
1095
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
1139
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
1096
1140
  }
1097
1141
  /**
1098
1142
  * Fees were paid from a location for an operation (often for using `SendXcm`).
1099
1143
  **/
1100
- | { name: 'FeesPaid'; data: { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } }
1144
+ | { name: 'FeesPaid'; data: { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets } }
1101
1145
  /**
1102
1146
  * Some assets have been claimed from an asset trap
1103
1147
  **/
1104
- | { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
1148
+ | { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
1105
1149
  /**
1106
1150
  * A XCM version migration finished.
1107
1151
  **/
1108
1152
  | { name: 'VersionMigrationFinished'; data: { version: number } };
1109
1153
 
1110
- export type StagingXcmV4TraitsOutcome =
1154
+ export type StagingXcmV5TraitsOutcome =
1111
1155
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
1112
- | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV3TraitsError } }
1113
- | { type: 'Error'; value: { error: XcmV3TraitsError } };
1156
+ | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
1157
+ | { type: 'Error'; value: { error: XcmV5TraitsError } };
1114
1158
 
1115
- export type XcmV3TraitsError =
1159
+ export type XcmV5TraitsError =
1116
1160
  | { type: 'Overflow' }
1117
1161
  | { type: 'Unimplemented' }
1118
1162
  | { type: 'UntrustedReserveLocation' }
@@ -1148,45 +1192,43 @@ export type XcmV3TraitsError =
1148
1192
  | { type: 'NoPermission' }
1149
1193
  | { type: 'Unanchored' }
1150
1194
  | { type: 'NotDepositable' }
1195
+ | { type: 'TooManyAssets' }
1151
1196
  | { type: 'UnhandledXcmVersion' }
1152
1197
  | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
1153
1198
  | { type: 'Barrier' }
1154
1199
  | { type: 'WeightNotComputable' }
1155
1200
  | { type: 'ExceedsStackLimit' };
1156
1201
 
1157
- export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
1202
+ export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
1158
1203
 
1159
- export type StagingXcmV4Junctions =
1204
+ export type StagingXcmV5Junctions =
1160
1205
  | { type: 'Here' }
1161
- | { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
1162
- | { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
1163
- | { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
1164
- | { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
1165
- | { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
1166
- | { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
1167
- | { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
1168
- | { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
1169
-
1170
- export type StagingXcmV4Junction =
1206
+ | { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
1207
+ | { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
1208
+ | { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
1209
+ | { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
1210
+ | { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
1211
+ | { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
1212
+ | { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
1213
+ | { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
1214
+
1215
+ export type StagingXcmV5Junction =
1171
1216
  | { type: 'Parachain'; value: number }
1172
- | { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
1173
- | { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
1174
- | { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
1217
+ | { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
1218
+ | { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
1219
+ | { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
1175
1220
  | { type: 'PalletInstance'; value: number }
1176
1221
  | { type: 'GeneralIndex'; value: bigint }
1177
1222
  | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
1178
1223
  | { type: 'OnlyChild' }
1179
1224
  | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
1180
- | { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
1225
+ | { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
1181
1226
 
1182
- export type StagingXcmV4JunctionNetworkId =
1227
+ export type StagingXcmV5JunctionNetworkId =
1183
1228
  | { type: 'ByGenesis'; value: FixedBytes<32> }
1184
1229
  | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
1185
1230
  | { type: 'Polkadot' }
1186
1231
  | { type: 'Kusama' }
1187
- | { type: 'Westend' }
1188
- | { type: 'Rococo' }
1189
- | { type: 'Wococo' }
1190
1232
  | { type: 'Ethereum'; value: { chainId: bigint } }
1191
1233
  | { type: 'BitcoinCore' }
1192
1234
  | { type: 'BitcoinCash' }
@@ -1211,107 +1253,124 @@ export type XcmV3JunctionBodyPart =
1211
1253
  | { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
1212
1254
  | { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
1213
1255
 
1214
- export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
1256
+ export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
1215
1257
 
1216
- export type StagingXcmV4Instruction =
1217
- | { type: 'WithdrawAsset'; value: StagingXcmV4AssetAssets }
1218
- | { type: 'ReserveAssetDeposited'; value: StagingXcmV4AssetAssets }
1219
- | { type: 'ReceiveTeleportedAsset'; value: StagingXcmV4AssetAssets }
1258
+ export type StagingXcmV5Instruction =
1259
+ | { type: 'WithdrawAsset'; value: StagingXcmV5AssetAssets }
1260
+ | { type: 'ReserveAssetDeposited'; value: StagingXcmV5AssetAssets }
1261
+ | { type: 'ReceiveTeleportedAsset'; value: StagingXcmV5AssetAssets }
1220
1262
  | {
1221
1263
  type: 'QueryResponse';
1222
1264
  value: {
1223
1265
  queryId: bigint;
1224
- response: StagingXcmV4Response;
1266
+ response: StagingXcmV5Response;
1225
1267
  maxWeight: SpWeightsWeightV2Weight;
1226
- querier?: StagingXcmV4Location | undefined;
1268
+ querier?: StagingXcmV5Location | undefined;
1227
1269
  };
1228
1270
  }
1229
- | { type: 'TransferAsset'; value: { assets: StagingXcmV4AssetAssets; beneficiary: StagingXcmV4Location } }
1271
+ | { type: 'TransferAsset'; value: { assets: StagingXcmV5AssetAssets; beneficiary: StagingXcmV5Location } }
1230
1272
  | {
1231
1273
  type: 'TransferReserveAsset';
1232
- value: { assets: StagingXcmV4AssetAssets; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
1274
+ value: { assets: StagingXcmV5AssetAssets; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
1233
1275
  }
1234
1276
  | {
1235
1277
  type: 'Transact';
1236
- value: { originKind: XcmV3OriginKind; requireWeightAtMost: SpWeightsWeightV2Weight; call: XcmDoubleEncoded };
1278
+ value: {
1279
+ originKind: XcmV3OriginKind;
1280
+ fallbackMaxWeight?: SpWeightsWeightV2Weight | undefined;
1281
+ call: XcmDoubleEncoded;
1282
+ };
1237
1283
  }
1238
1284
  | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
1239
1285
  | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
1240
1286
  | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
1241
1287
  | { type: 'ClearOrigin' }
1242
- | { type: 'DescendOrigin'; value: StagingXcmV4Junctions }
1243
- | { type: 'ReportError'; value: StagingXcmV4QueryResponseInfo }
1244
- | { type: 'DepositAsset'; value: { assets: StagingXcmV4AssetAssetFilter; beneficiary: StagingXcmV4Location } }
1288
+ | { type: 'DescendOrigin'; value: StagingXcmV5Junctions }
1289
+ | { type: 'ReportError'; value: StagingXcmV5QueryResponseInfo }
1290
+ | { type: 'DepositAsset'; value: { assets: StagingXcmV5AssetAssetFilter; beneficiary: StagingXcmV5Location } }
1245
1291
  | {
1246
1292
  type: 'DepositReserveAsset';
1247
- value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
1293
+ value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
1248
1294
  }
1249
1295
  | {
1250
1296
  type: 'ExchangeAsset';
1251
- value: { give: StagingXcmV4AssetAssetFilter; want: StagingXcmV4AssetAssets; maximal: boolean };
1297
+ value: { give: StagingXcmV5AssetAssetFilter; want: StagingXcmV5AssetAssets; maximal: boolean };
1252
1298
  }
1253
1299
  | {
1254
1300
  type: 'InitiateReserveWithdraw';
1255
- value: { assets: StagingXcmV4AssetAssetFilter; reserve: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
1301
+ value: { assets: StagingXcmV5AssetAssetFilter; reserve: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
1256
1302
  }
1257
1303
  | {
1258
1304
  type: 'InitiateTeleport';
1259
- value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
1305
+ value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
1260
1306
  }
1261
1307
  | {
1262
1308
  type: 'ReportHolding';
1263
- value: { responseInfo: StagingXcmV4QueryResponseInfo; assets: StagingXcmV4AssetAssetFilter };
1309
+ value: { responseInfo: StagingXcmV5QueryResponseInfo; assets: StagingXcmV5AssetAssetFilter };
1264
1310
  }
1265
- | { type: 'BuyExecution'; value: { fees: StagingXcmV4Asset; weightLimit: XcmV3WeightLimit } }
1311
+ | { type: 'BuyExecution'; value: { fees: StagingXcmV5Asset; weightLimit: XcmV3WeightLimit } }
1266
1312
  | { type: 'RefundSurplus' }
1267
- | { type: 'SetErrorHandler'; value: StagingXcmV4Xcm }
1268
- | { type: 'SetAppendix'; value: StagingXcmV4Xcm }
1313
+ | { type: 'SetErrorHandler'; value: StagingXcmV5Xcm }
1314
+ | { type: 'SetAppendix'; value: StagingXcmV5Xcm }
1269
1315
  | { type: 'ClearError' }
1270
- | { type: 'ClaimAsset'; value: { assets: StagingXcmV4AssetAssets; ticket: StagingXcmV4Location } }
1316
+ | { type: 'ClaimAsset'; value: { assets: StagingXcmV5AssetAssets; ticket: StagingXcmV5Location } }
1271
1317
  | { type: 'Trap'; value: bigint }
1272
1318
  | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
1273
1319
  | { type: 'UnsubscribeVersion' }
1274
- | { type: 'BurnAsset'; value: StagingXcmV4AssetAssets }
1275
- | { type: 'ExpectAsset'; value: StagingXcmV4AssetAssets }
1276
- | { type: 'ExpectOrigin'; value?: StagingXcmV4Location | undefined }
1277
- | { type: 'ExpectError'; value?: [number, XcmV3TraitsError] | undefined }
1320
+ | { type: 'BurnAsset'; value: StagingXcmV5AssetAssets }
1321
+ | { type: 'ExpectAsset'; value: StagingXcmV5AssetAssets }
1322
+ | { type: 'ExpectOrigin'; value?: StagingXcmV5Location | undefined }
1323
+ | { type: 'ExpectError'; value?: [number, XcmV5TraitsError] | undefined }
1278
1324
  | { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
1279
- | { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV4QueryResponseInfo } }
1325
+ | { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV5QueryResponseInfo } }
1280
1326
  | {
1281
1327
  type: 'ExpectPallet';
1282
1328
  value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
1283
1329
  }
1284
- | { type: 'ReportTransactStatus'; value: StagingXcmV4QueryResponseInfo }
1330
+ | { type: 'ReportTransactStatus'; value: StagingXcmV5QueryResponseInfo }
1285
1331
  | { type: 'ClearTransactStatus' }
1286
- | { type: 'UniversalOrigin'; value: StagingXcmV4Junction }
1332
+ | { type: 'UniversalOrigin'; value: StagingXcmV5Junction }
1287
1333
  | {
1288
1334
  type: 'ExportMessage';
1289
- value: { network: StagingXcmV4JunctionNetworkId; destination: StagingXcmV4Junctions; xcm: StagingXcmV4Xcm };
1335
+ value: { network: StagingXcmV5JunctionNetworkId; destination: StagingXcmV5Junctions; xcm: StagingXcmV5Xcm };
1290
1336
  }
1291
- | { type: 'LockAsset'; value: { asset: StagingXcmV4Asset; unlocker: StagingXcmV4Location } }
1292
- | { type: 'UnlockAsset'; value: { asset: StagingXcmV4Asset; target: StagingXcmV4Location } }
1293
- | { type: 'NoteUnlockable'; value: { asset: StagingXcmV4Asset; owner: StagingXcmV4Location } }
1294
- | { type: 'RequestUnlock'; value: { asset: StagingXcmV4Asset; locker: StagingXcmV4Location } }
1337
+ | { type: 'LockAsset'; value: { asset: StagingXcmV5Asset; unlocker: StagingXcmV5Location } }
1338
+ | { type: 'UnlockAsset'; value: { asset: StagingXcmV5Asset; target: StagingXcmV5Location } }
1339
+ | { type: 'NoteUnlockable'; value: { asset: StagingXcmV5Asset; owner: StagingXcmV5Location } }
1340
+ | { type: 'RequestUnlock'; value: { asset: StagingXcmV5Asset; locker: StagingXcmV5Location } }
1295
1341
  | { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
1296
1342
  | { type: 'SetTopic'; value: FixedBytes<32> }
1297
1343
  | { type: 'ClearTopic' }
1298
- | { type: 'AliasOrigin'; value: StagingXcmV4Location }
1344
+ | { type: 'AliasOrigin'; value: StagingXcmV5Location }
1299
1345
  | {
1300
1346
  type: 'UnpaidExecution';
1301
- value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
1302
- };
1347
+ value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV5Location | undefined };
1348
+ }
1349
+ | { type: 'PayFees'; value: { asset: StagingXcmV5Asset } }
1350
+ | {
1351
+ type: 'InitiateTransfer';
1352
+ value: {
1353
+ destination: StagingXcmV5Location;
1354
+ remoteFees?: StagingXcmV5AssetAssetTransferFilter | undefined;
1355
+ preserveOrigin: boolean;
1356
+ assets: Array<StagingXcmV5AssetAssetTransferFilter>;
1357
+ remoteXcm: StagingXcmV5Xcm;
1358
+ };
1359
+ }
1360
+ | { type: 'ExecuteWithOrigin'; value: { descendantOrigin?: StagingXcmV5Junctions | undefined; xcm: StagingXcmV5Xcm } }
1361
+ | { type: 'SetHints'; value: { hints: Array<StagingXcmV5Hint> } };
1303
1362
 
1304
- export type StagingXcmV4AssetAssets = Array<StagingXcmV4Asset>;
1363
+ export type StagingXcmV5AssetAssets = Array<StagingXcmV5Asset>;
1305
1364
 
1306
- export type StagingXcmV4Asset = { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetFungibility };
1365
+ export type StagingXcmV5Asset = { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetFungibility };
1307
1366
 
1308
- export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
1367
+ export type StagingXcmV5AssetAssetId = StagingXcmV5Location;
1309
1368
 
1310
- export type StagingXcmV4AssetFungibility =
1369
+ export type StagingXcmV5AssetFungibility =
1311
1370
  | { type: 'Fungible'; value: bigint }
1312
- | { type: 'NonFungible'; value: StagingXcmV4AssetAssetInstance };
1371
+ | { type: 'NonFungible'; value: StagingXcmV5AssetAssetInstance };
1313
1372
 
1314
- export type StagingXcmV4AssetAssetInstance =
1373
+ export type StagingXcmV5AssetAssetInstance =
1315
1374
  | { type: 'Undefined' }
1316
1375
  | { type: 'Index'; value: bigint }
1317
1376
  | { type: 'Array4'; value: FixedBytes<4> }
@@ -1319,15 +1378,15 @@ export type StagingXcmV4AssetAssetInstance =
1319
1378
  | { type: 'Array16'; value: FixedBytes<16> }
1320
1379
  | { type: 'Array32'; value: FixedBytes<32> };
1321
1380
 
1322
- export type StagingXcmV4Response =
1381
+ export type StagingXcmV5Response =
1323
1382
  | { type: 'Null' }
1324
- | { type: 'Assets'; value: StagingXcmV4AssetAssets }
1325
- | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
1383
+ | { type: 'Assets'; value: StagingXcmV5AssetAssets }
1384
+ | { type: 'ExecutionResult'; value?: [number, XcmV5TraitsError] | undefined }
1326
1385
  | { type: 'Version'; value: number }
1327
- | { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
1386
+ | { type: 'PalletsInfo'; value: Array<StagingXcmV5PalletInfo> }
1328
1387
  | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
1329
1388
 
1330
- export type StagingXcmV4PalletInfo = {
1389
+ export type StagingXcmV5PalletInfo = {
1331
1390
  index: number;
1332
1391
  name: Bytes;
1333
1392
  moduleName: Bytes;
@@ -1345,118 +1404,40 @@ export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm
1345
1404
 
1346
1405
  export type XcmDoubleEncoded = { encoded: Bytes };
1347
1406
 
1348
- export type StagingXcmV4QueryResponseInfo = {
1349
- destination: StagingXcmV4Location;
1407
+ export type StagingXcmV5QueryResponseInfo = {
1408
+ destination: StagingXcmV5Location;
1350
1409
  queryId: bigint;
1351
1410
  maxWeight: SpWeightsWeightV2Weight;
1352
1411
  };
1353
1412
 
1354
- export type StagingXcmV4AssetAssetFilter =
1355
- | { type: 'Definite'; value: StagingXcmV4AssetAssets }
1356
- | { type: 'Wild'; value: StagingXcmV4AssetWildAsset };
1413
+ export type StagingXcmV5AssetAssetFilter =
1414
+ | { type: 'Definite'; value: StagingXcmV5AssetAssets }
1415
+ | { type: 'Wild'; value: StagingXcmV5AssetWildAsset };
1357
1416
 
1358
- export type StagingXcmV4AssetWildAsset =
1417
+ export type StagingXcmV5AssetWildAsset =
1359
1418
  | { type: 'All' }
1360
- | { type: 'AllOf'; value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility } }
1419
+ | { type: 'AllOf'; value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility } }
1361
1420
  | { type: 'AllCounted'; value: number }
1362
1421
  | {
1363
1422
  type: 'AllOfCounted';
1364
- value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility; count: number };
1423
+ value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility; count: number };
1365
1424
  };
1366
1425
 
1367
- export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
1426
+ export type StagingXcmV5AssetWildFungibility = 'Fungible' | 'NonFungible';
1368
1427
 
1369
1428
  export type XcmV3WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: SpWeightsWeightV2Weight };
1370
1429
 
1371
- export type XcmVersionedAssets =
1372
- | { type: 'V2'; value: XcmV2MultiassetMultiAssets }
1373
- | { type: 'V3'; value: XcmV3MultiassetMultiAssets }
1374
- | { type: 'V4'; value: StagingXcmV4AssetAssets };
1375
-
1376
- export type XcmV2MultiassetMultiAssets = Array<XcmV2MultiassetMultiAsset>;
1377
-
1378
- export type XcmV2MultiassetMultiAsset = { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetFungibility };
1379
-
1380
- export type XcmV2MultiassetAssetId =
1381
- | { type: 'Concrete'; value: XcmV2MultilocationMultiLocation }
1382
- | { type: 'Abstract'; value: Bytes };
1383
-
1384
- export type XcmV2MultilocationMultiLocation = { parents: number; interior: XcmV2MultilocationJunctions };
1385
-
1386
- export type XcmV2MultilocationJunctions =
1387
- | { type: 'Here' }
1388
- | { type: 'X1'; value: XcmV2Junction }
1389
- | { type: 'X2'; value: [XcmV2Junction, XcmV2Junction] }
1390
- | { type: 'X3'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction] }
1391
- | { type: 'X4'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
1392
- | { type: 'X5'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
1393
- | { type: 'X6'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
1394
- | {
1395
- type: 'X7';
1396
- value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction];
1397
- }
1398
- | {
1399
- type: 'X8';
1400
- value: [
1401
- XcmV2Junction,
1402
- XcmV2Junction,
1403
- XcmV2Junction,
1404
- XcmV2Junction,
1405
- XcmV2Junction,
1406
- XcmV2Junction,
1407
- XcmV2Junction,
1408
- XcmV2Junction,
1409
- ];
1410
- };
1411
-
1412
- export type XcmV2Junction =
1413
- | { type: 'Parachain'; value: number }
1414
- | { type: 'AccountId32'; value: { network: XcmV2NetworkId; id: FixedBytes<32> } }
1415
- | { type: 'AccountIndex64'; value: { network: XcmV2NetworkId; index: bigint } }
1416
- | { type: 'AccountKey20'; value: { network: XcmV2NetworkId; key: FixedBytes<20> } }
1417
- | { type: 'PalletInstance'; value: number }
1418
- | { type: 'GeneralIndex'; value: bigint }
1419
- | { type: 'GeneralKey'; value: Bytes }
1420
- | { type: 'OnlyChild' }
1421
- | { type: 'Plurality'; value: { id: XcmV2BodyId; part: XcmV2BodyPart } };
1422
-
1423
- export type XcmV2NetworkId =
1424
- | { type: 'Any' }
1425
- | { type: 'Named'; value: Bytes }
1426
- | { type: 'Polkadot' }
1427
- | { type: 'Kusama' };
1430
+ export type StagingXcmV5AssetAssetTransferFilter =
1431
+ | { type: 'Teleport'; value: StagingXcmV5AssetAssetFilter }
1432
+ | { type: 'ReserveDeposit'; value: StagingXcmV5AssetAssetFilter }
1433
+ | { type: 'ReserveWithdraw'; value: StagingXcmV5AssetAssetFilter };
1428
1434
 
1429
- export type XcmV2BodyId =
1430
- | { type: 'Unit' }
1431
- | { type: 'Named'; value: Bytes }
1432
- | { type: 'Index'; value: number }
1433
- | { type: 'Executive' }
1434
- | { type: 'Technical' }
1435
- | { type: 'Legislative' }
1436
- | { type: 'Judicial' }
1437
- | { type: 'Defense' }
1438
- | { type: 'Administration' }
1439
- | { type: 'Treasury' };
1440
-
1441
- export type XcmV2BodyPart =
1442
- | { type: 'Voice' }
1443
- | { type: 'Members'; value: { count: number } }
1444
- | { type: 'Fraction'; value: { nom: number; denom: number } }
1445
- | { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
1446
- | { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
1447
-
1448
- export type XcmV2MultiassetFungibility =
1449
- | { type: 'Fungible'; value: bigint }
1450
- | { type: 'NonFungible'; value: XcmV2MultiassetAssetInstance };
1435
+ export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
1451
1436
 
1452
- export type XcmV2MultiassetAssetInstance =
1453
- | { type: 'Undefined' }
1454
- | { type: 'Index'; value: bigint }
1455
- | { type: 'Array4'; value: FixedBytes<4> }
1456
- | { type: 'Array8'; value: FixedBytes<8> }
1457
- | { type: 'Array16'; value: FixedBytes<16> }
1458
- | { type: 'Array32'; value: FixedBytes<32> }
1459
- | { type: 'Blob'; value: Bytes };
1437
+ export type XcmVersionedAssets =
1438
+ | { type: 'V3'; value: XcmV3MultiassetMultiAssets }
1439
+ | { type: 'V4'; value: StagingXcmV4AssetAssets }
1440
+ | { type: 'V5'; value: StagingXcmV5AssetAssets };
1460
1441
 
1461
1442
  export type XcmV3MultiassetMultiAssets = Array<XcmV3MultiassetMultiAsset>;
1462
1443
 
@@ -1531,10 +1512,66 @@ export type XcmV3MultiassetAssetInstance =
1531
1512
  | { type: 'Array16'; value: FixedBytes<16> }
1532
1513
  | { type: 'Array32'; value: FixedBytes<32> };
1533
1514
 
1515
+ export type StagingXcmV4AssetAssets = Array<StagingXcmV4Asset>;
1516
+
1517
+ export type StagingXcmV4Asset = { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetFungibility };
1518
+
1519
+ export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
1520
+
1521
+ export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
1522
+
1523
+ export type StagingXcmV4Junctions =
1524
+ | { type: 'Here' }
1525
+ | { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
1526
+ | { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
1527
+ | { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
1528
+ | { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
1529
+ | { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
1530
+ | { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
1531
+ | { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
1532
+ | { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
1533
+
1534
+ export type StagingXcmV4Junction =
1535
+ | { type: 'Parachain'; value: number }
1536
+ | { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
1537
+ | { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
1538
+ | { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
1539
+ | { type: 'PalletInstance'; value: number }
1540
+ | { type: 'GeneralIndex'; value: bigint }
1541
+ | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
1542
+ | { type: 'OnlyChild' }
1543
+ | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
1544
+ | { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
1545
+
1546
+ export type StagingXcmV4JunctionNetworkId =
1547
+ | { type: 'ByGenesis'; value: FixedBytes<32> }
1548
+ | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
1549
+ | { type: 'Polkadot' }
1550
+ | { type: 'Kusama' }
1551
+ | { type: 'Westend' }
1552
+ | { type: 'Rococo' }
1553
+ | { type: 'Wococo' }
1554
+ | { type: 'Ethereum'; value: { chainId: bigint } }
1555
+ | { type: 'BitcoinCore' }
1556
+ | { type: 'BitcoinCash' }
1557
+ | { type: 'PolkadotBulletin' };
1558
+
1559
+ export type StagingXcmV4AssetFungibility =
1560
+ | { type: 'Fungible'; value: bigint }
1561
+ | { type: 'NonFungible'; value: StagingXcmV4AssetAssetInstance };
1562
+
1563
+ export type StagingXcmV4AssetAssetInstance =
1564
+ | { type: 'Undefined' }
1565
+ | { type: 'Index'; value: bigint }
1566
+ | { type: 'Array4'; value: FixedBytes<4> }
1567
+ | { type: 'Array8'; value: FixedBytes<8> }
1568
+ | { type: 'Array16'; value: FixedBytes<16> }
1569
+ | { type: 'Array32'; value: FixedBytes<32> };
1570
+
1534
1571
  export type XcmVersionedLocation =
1535
- | { type: 'V2'; value: XcmV2MultilocationMultiLocation }
1536
1572
  | { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
1537
- | { type: 'V4'; value: StagingXcmV4Location };
1573
+ | { type: 'V4'; value: StagingXcmV4Location }
1574
+ | { type: 'V5'; value: StagingXcmV5Location };
1538
1575
 
1539
1576
  /**
1540
1577
  * The `Event` enum of this pallet
@@ -1554,7 +1591,7 @@ export type CumulusPalletXcmEvent =
1554
1591
  * Downward message executed with the given outcome.
1555
1592
  * \[ id, outcome \]
1556
1593
  **/
1557
- | { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV4TraitsOutcome] };
1594
+ | { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV5TraitsOutcome] };
1558
1595
 
1559
1596
  /**
1560
1597
  * The `Event` enum of this pallet
@@ -1593,7 +1630,7 @@ export type OrmlXtokensModuleEvent =
1593
1630
  **/
1594
1631
  {
1595
1632
  name: 'TransferredAssets';
1596
- data: { sender: AccountId32; assets: StagingXcmV4AssetAssets; fee: StagingXcmV4Asset; dest: StagingXcmV4Location };
1633
+ data: { sender: AccountId32; assets: StagingXcmV5AssetAssets; fee: StagingXcmV5Asset; dest: StagingXcmV5Location };
1597
1634
  };
1598
1635
 
1599
1636
  /**
@@ -2039,7 +2076,19 @@ export type PalletCollectiveEvent =
2039
2076
  /**
2040
2077
  * A proposal was closed because its threshold was reached or after its duration was up.
2041
2078
  **/
2042
- | { name: 'Closed'; data: { proposalHash: H256; yes: number; no: number } };
2079
+ | { name: 'Closed'; data: { proposalHash: H256; yes: number; no: number } }
2080
+ /**
2081
+ * A proposal was killed.
2082
+ **/
2083
+ | { name: 'Killed'; data: { proposalHash: H256 } }
2084
+ /**
2085
+ * Some cost for storing a proposal was burned.
2086
+ **/
2087
+ | { name: 'ProposalCostBurned'; data: { proposalHash: H256; who: AccountId32 } }
2088
+ /**
2089
+ * Some cost for storing a proposal was released.
2090
+ **/
2091
+ | { name: 'ProposalCostReleased'; data: { proposalHash: H256; who: AccountId32 } };
2043
2092
 
2044
2093
  /**
2045
2094
  * The `Event` enum of this pallet
@@ -2880,7 +2929,7 @@ export type PalletIdentityCall =
2880
2929
  * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
2881
2930
  *
2882
2931
  * ```nocompile
2883
- * Self::registrars().get(reg_index).unwrap().fee
2932
+ * Registrars::<T>::get().get(reg_index).unwrap().fee
2884
2933
  * ```
2885
2934
  *
2886
2935
  * Emits `JudgementRequested` if successful.
@@ -3008,18 +3057,23 @@ export type PalletIdentityCall =
3008
3057
  /**
3009
3058
  * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
3010
3059
  *
3011
- * The authority can grant up to `allocation` usernames. To top up their allocation, they
3012
- * should just issue (or request via governance) a new `add_username_authority` call.
3060
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
3061
+ * change the account used to grant usernames, this call can be used with the updated
3062
+ * parameters to overwrite the existing configuration.
3013
3063
  **/
3014
3064
  | { name: 'AddUsernameAuthority'; params: { authority: MultiAddress; suffix: Bytes; allocation: number } }
3015
3065
  /**
3016
3066
  * Remove `authority` from the username authorities.
3017
3067
  **/
3018
- | { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddress } }
3068
+ | { name: 'RemoveUsernameAuthority'; params: { suffix: Bytes; authority: MultiAddress } }
3019
3069
  /**
3020
3070
  * Set the username for `who`. Must be called by a username authority.
3021
3071
  *
3022
- * The authority must have an `allocation`. Users can either pre-sign their usernames or
3072
+ * If `use_allocation` is set, the authority must have a username allocation available to
3073
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
3074
+ * username.
3075
+ *
3076
+ * Users can either pre-sign their usernames or
3023
3077
  * accept them later.
3024
3078
  *
3025
3079
  * Usernames must:
@@ -3029,7 +3083,12 @@ export type PalletIdentityCall =
3029
3083
  **/
3030
3084
  | {
3031
3085
  name: 'SetUsernameFor';
3032
- params: { who: MultiAddress; username: Bytes; signature?: SpRuntimeMultiSignature | undefined };
3086
+ params: {
3087
+ who: MultiAddress;
3088
+ username: Bytes;
3089
+ signature?: SpRuntimeMultiSignature | undefined;
3090
+ useAllocation: boolean;
3091
+ };
3033
3092
  }
3034
3093
  /**
3035
3094
  * Accept a given username that an `authority` granted. The call must include the full
@@ -3047,10 +3106,21 @@ export type PalletIdentityCall =
3047
3106
  **/
3048
3107
  | { name: 'SetPrimaryUsername'; params: { username: Bytes } }
3049
3108
  /**
3050
- * Remove a username that corresponds to an account with no identity. Exists when a user
3051
- * gets a username but then calls `clear_identity`.
3109
+ * Start the process of removing a username by placing it in the unbinding usernames map.
3110
+ * Once the grace period has passed, the username can be deleted by calling
3111
+ * [remove_username](crate::Call::remove_username).
3052
3112
  **/
3053
- | { name: 'RemoveDanglingUsername'; params: { username: Bytes } };
3113
+ | { name: 'UnbindUsername'; params: { username: Bytes } }
3114
+ /**
3115
+ * Permanently delete a username which has been unbinding for longer than the grace period.
3116
+ * Caller is refunded the fee if the username expired and the removal was successful.
3117
+ **/
3118
+ | { name: 'RemoveUsername'; params: { username: Bytes } }
3119
+ /**
3120
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
3121
+ * and slashes any deposit associated with it.
3122
+ **/
3123
+ | { name: 'KillUsername'; params: { username: Bytes } };
3054
3124
 
3055
3125
  export type PalletIdentityCallLike =
3056
3126
  /**
@@ -3112,7 +3182,7 @@ export type PalletIdentityCallLike =
3112
3182
  * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
3113
3183
  *
3114
3184
  * ```nocompile
3115
- * Self::registrars().get(reg_index).unwrap().fee
3185
+ * Registrars::<T>::get().get(reg_index).unwrap().fee
3116
3186
  * ```
3117
3187
  *
3118
3188
  * Emits `JudgementRequested` if successful.
@@ -3240,18 +3310,23 @@ export type PalletIdentityCallLike =
3240
3310
  /**
3241
3311
  * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
3242
3312
  *
3243
- * The authority can grant up to `allocation` usernames. To top up their allocation, they
3244
- * should just issue (or request via governance) a new `add_username_authority` call.
3313
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
3314
+ * change the account used to grant usernames, this call can be used with the updated
3315
+ * parameters to overwrite the existing configuration.
3245
3316
  **/
3246
3317
  | { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
3247
3318
  /**
3248
3319
  * Remove `authority` from the username authorities.
3249
3320
  **/
3250
- | { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddressLike } }
3321
+ | { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
3251
3322
  /**
3252
3323
  * Set the username for `who`. Must be called by a username authority.
3253
3324
  *
3254
- * The authority must have an `allocation`. Users can either pre-sign their usernames or
3325
+ * If `use_allocation` is set, the authority must have a username allocation available to
3326
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
3327
+ * username.
3328
+ *
3329
+ * Users can either pre-sign their usernames or
3255
3330
  * accept them later.
3256
3331
  *
3257
3332
  * Usernames must:
@@ -3261,7 +3336,12 @@ export type PalletIdentityCallLike =
3261
3336
  **/
3262
3337
  | {
3263
3338
  name: 'SetUsernameFor';
3264
- params: { who: MultiAddressLike; username: BytesLike; signature?: SpRuntimeMultiSignature | undefined };
3339
+ params: {
3340
+ who: MultiAddressLike;
3341
+ username: BytesLike;
3342
+ signature?: SpRuntimeMultiSignature | undefined;
3343
+ useAllocation: boolean;
3344
+ };
3265
3345
  }
3266
3346
  /**
3267
3347
  * Accept a given username that an `authority` granted. The call must include the full
@@ -3279,10 +3359,21 @@ export type PalletIdentityCallLike =
3279
3359
  **/
3280
3360
  | { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
3281
3361
  /**
3282
- * Remove a username that corresponds to an account with no identity. Exists when a user
3283
- * gets a username but then calls `clear_identity`.
3362
+ * Start the process of removing a username by placing it in the unbinding usernames map.
3363
+ * Once the grace period has passed, the username can be deleted by calling
3364
+ * [remove_username](crate::Call::remove_username).
3284
3365
  **/
3285
- | { name: 'RemoveDanglingUsername'; params: { username: BytesLike } };
3366
+ | { name: 'UnbindUsername'; params: { username: BytesLike } }
3367
+ /**
3368
+ * Permanently delete a username which has been unbinding for longer than the grace period.
3369
+ * Caller is refunded the fee if the username expired and the removal was successful.
3370
+ **/
3371
+ | { name: 'RemoveUsername'; params: { username: BytesLike } }
3372
+ /**
3373
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
3374
+ * and slashes any deposit associated with it.
3375
+ **/
3376
+ | { name: 'KillUsername'; params: { username: BytesLike } };
3286
3377
 
3287
3378
  export type PalletIdentityLegacyIdentityInfo = {
3288
3379
  additional: Array<[Data, Data]>;
@@ -4199,30 +4290,7 @@ export type CumulusPalletParachainSystemCall =
4199
4290
  * if the appropriate time has come.
4200
4291
  **/
4201
4292
  | { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
4202
- | { name: 'SudoSendUpwardMessage'; params: { message: Bytes } }
4203
- /**
4204
- * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
4205
- * later.
4206
- *
4207
- * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec
4208
- * version and name should be verified on upgrade. Since the authorization only has a hash,
4209
- * it cannot actually perform the verification.
4210
- *
4211
- * This call requires Root origin.
4212
- **/
4213
- | { name: 'AuthorizeUpgrade'; params: { codeHash: H256; checkVersion: boolean } }
4214
- /**
4215
- * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
4216
- *
4217
- * If the authorization required a version check, this call will ensure the spec name
4218
- * remains unchanged and that the spec version has increased.
4219
- *
4220
- * Note that this function will not apply the new `code`, but only attempt to schedule the
4221
- * upgrade with the Relay Chain.
4222
- *
4223
- * All origins are allowed.
4224
- **/
4225
- | { name: 'EnactAuthorizedUpgrade'; params: { code: Bytes } };
4293
+ | { name: 'SudoSendUpwardMessage'; params: { message: Bytes } };
4226
4294
 
4227
4295
  export type CumulusPalletParachainSystemCallLike =
4228
4296
  /**
@@ -4237,39 +4305,16 @@ export type CumulusPalletParachainSystemCallLike =
4237
4305
  * if the appropriate time has come.
4238
4306
  **/
4239
4307
  | { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
4240
- | { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } }
4241
- /**
4242
- * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
4243
- * later.
4244
- *
4245
- * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec
4246
- * version and name should be verified on upgrade. Since the authorization only has a hash,
4247
- * it cannot actually perform the verification.
4248
- *
4249
- * This call requires Root origin.
4250
- **/
4251
- | { name: 'AuthorizeUpgrade'; params: { codeHash: H256; checkVersion: boolean } }
4252
- /**
4253
- * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
4254
- *
4255
- * If the authorization required a version check, this call will ensure the spec name
4256
- * remains unchanged and that the spec version has increased.
4257
- *
4258
- * Note that this function will not apply the new `code`, but only attempt to schedule the
4259
- * upgrade with the Relay Chain.
4260
- *
4261
- * All origins are allowed.
4262
- **/
4263
- | { name: 'EnactAuthorizedUpgrade'; params: { code: BytesLike } };
4308
+ | { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
4264
4309
 
4265
4310
  export type CumulusPrimitivesParachainInherentParachainInherentData = {
4266
- validationData: PolkadotPrimitivesV7PersistedValidationData;
4311
+ validationData: PolkadotPrimitivesV8PersistedValidationData;
4267
4312
  relayChainState: SpTrieStorageProof;
4268
4313
  downwardMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
4269
4314
  horizontalMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<PolkadotCorePrimitivesInboundHrmpMessage>]>;
4270
4315
  };
4271
4316
 
4272
- export type PolkadotPrimitivesV7PersistedValidationData = {
4317
+ export type PolkadotPrimitivesV8PersistedValidationData = {
4273
4318
  parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
4274
4319
  relayParentNumber: number;
4275
4320
  relayParentStorageRoot: H256;
@@ -5149,8 +5194,6 @@ export type PalletAssetsCall =
5149
5194
  *
5150
5195
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
5151
5196
  * asset.
5152
- *
5153
- * The asset class must be frozen before calling `start_destroy`.
5154
5197
  **/
5155
5198
  | { name: 'StartDestroy'; params: { id: bigint } }
5156
5199
  /**
@@ -5631,7 +5674,26 @@ export type PalletAssetsCall =
5631
5674
  *
5632
5675
  * Weight: `O(1)`
5633
5676
  **/
5634
- | { name: 'Block'; params: { id: bigint; who: MultiAddress } };
5677
+ | { name: 'Block'; params: { id: bigint; who: MultiAddress } }
5678
+ /**
5679
+ * Transfer the entire transferable balance from the caller asset account.
5680
+ *
5681
+ * NOTE: This function only attempts to transfer _transferable_ balances. This means that
5682
+ * any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
5683
+ * transferred by this function. To ensure that this function results in a killed account,
5684
+ * you might need to prepare the account by removing any reference counters, storage
5685
+ * deposits, etc...
5686
+ *
5687
+ * The dispatch origin of this call must be Signed.
5688
+ *
5689
+ * - `id`: The identifier of the asset for the account holding a deposit.
5690
+ * - `dest`: The recipient of the transfer.
5691
+ * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
5692
+ * of the funds the asset account has, causing the sender asset account to be killed
5693
+ * (false), or transfer everything except at least the minimum balance, which will
5694
+ * guarantee to keep the sender asset account alive (true).
5695
+ **/
5696
+ | { name: 'TransferAll'; params: { id: bigint; dest: MultiAddress; keepAlive: boolean } };
5635
5697
 
5636
5698
  export type PalletAssetsCallLike =
5637
5699
  /**
@@ -5688,8 +5750,6 @@ export type PalletAssetsCallLike =
5688
5750
  *
5689
5751
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
5690
5752
  * asset.
5691
- *
5692
- * The asset class must be frozen before calling `start_destroy`.
5693
5753
  **/
5694
5754
  | { name: 'StartDestroy'; params: { id: bigint } }
5695
5755
  /**
@@ -6176,7 +6236,26 @@ export type PalletAssetsCallLike =
6176
6236
  *
6177
6237
  * Weight: `O(1)`
6178
6238
  **/
6179
- | { name: 'Block'; params: { id: bigint; who: MultiAddressLike } };
6239
+ | { name: 'Block'; params: { id: bigint; who: MultiAddressLike } }
6240
+ /**
6241
+ * Transfer the entire transferable balance from the caller asset account.
6242
+ *
6243
+ * NOTE: This function only attempts to transfer _transferable_ balances. This means that
6244
+ * any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
6245
+ * transferred by this function. To ensure that this function results in a killed account,
6246
+ * you might need to prepare the account by removing any reference counters, storage
6247
+ * deposits, etc...
6248
+ *
6249
+ * The dispatch origin of this call must be Signed.
6250
+ *
6251
+ * - `id`: The identifier of the asset for the account holding a deposit.
6252
+ * - `dest`: The recipient of the transfer.
6253
+ * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
6254
+ * of the funds the asset account has, causing the sender asset account to be killed
6255
+ * (false), or transfer everything except at least the minimum balance, which will
6256
+ * guarantee to keep the sender asset account alive (true).
6257
+ **/
6258
+ | { name: 'TransferAll'; params: { id: bigint; dest: MultiAddressLike; keepAlive: boolean } };
6180
6259
 
6181
6260
  /**
6182
6261
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -6627,7 +6706,7 @@ export type PalletXcmCall =
6627
6706
  * - `location`: The destination that is being described.
6628
6707
  * - `xcm_version`: The latest version of XCM that `location` supports.
6629
6708
  **/
6630
- | { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
6709
+ | { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
6631
6710
  /**
6632
6711
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
6633
6712
  * version a destination can accept is unknown).
@@ -6939,7 +7018,7 @@ export type PalletXcmCallLike =
6939
7018
  * - `location`: The destination that is being described.
6940
7019
  * - `xcm_version`: The latest version of XCM that `location` supports.
6941
7020
  **/
6942
- | { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
7021
+ | { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
6943
7022
  /**
6944
7023
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
6945
7024
  * version a destination can accept is unknown).
@@ -7155,133 +7234,15 @@ export type PalletXcmCallLike =
7155
7234
  assetsTransferType: StagingXcmExecutorAssetTransferTransferType;
7156
7235
  remoteFeesId: XcmVersionedAssetId;
7157
7236
  feesTransferType: StagingXcmExecutorAssetTransferTransferType;
7158
- customXcmOnDest: XcmVersionedXcm;
7159
- weightLimit: XcmV3WeightLimit;
7160
- };
7161
- };
7162
-
7163
- export type XcmVersionedXcm =
7164
- | { type: 'V2'; value: XcmV2Xcm }
7165
- | { type: 'V3'; value: XcmV3Xcm }
7166
- | { type: 'V4'; value: StagingXcmV4Xcm };
7167
-
7168
- export type XcmV2Xcm = Array<XcmV2Instruction>;
7169
-
7170
- export type XcmV2Instruction =
7171
- | { type: 'WithdrawAsset'; value: XcmV2MultiassetMultiAssets }
7172
- | { type: 'ReserveAssetDeposited'; value: XcmV2MultiassetMultiAssets }
7173
- | { type: 'ReceiveTeleportedAsset'; value: XcmV2MultiassetMultiAssets }
7174
- | { type: 'QueryResponse'; value: { queryId: bigint; response: XcmV2Response; maxWeight: bigint } }
7175
- | {
7176
- type: 'TransferAsset';
7177
- value: { assets: XcmV2MultiassetMultiAssets; beneficiary: XcmV2MultilocationMultiLocation };
7178
- }
7179
- | {
7180
- type: 'TransferReserveAsset';
7181
- value: { assets: XcmV2MultiassetMultiAssets; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
7182
- }
7183
- | { type: 'Transact'; value: { originType: XcmV2OriginKind; requireWeightAtMost: bigint; call: XcmDoubleEncoded } }
7184
- | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
7185
- | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
7186
- | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
7187
- | { type: 'ClearOrigin' }
7188
- | { type: 'DescendOrigin'; value: XcmV2MultilocationJunctions }
7189
- | {
7190
- type: 'ReportError';
7191
- value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint };
7192
- }
7193
- | {
7194
- type: 'DepositAsset';
7195
- value: {
7196
- assets: XcmV2MultiassetMultiAssetFilter;
7197
- maxAssets: number;
7198
- beneficiary: XcmV2MultilocationMultiLocation;
7199
- };
7200
- }
7201
- | {
7202
- type: 'DepositReserveAsset';
7203
- value: {
7204
- assets: XcmV2MultiassetMultiAssetFilter;
7205
- maxAssets: number;
7206
- dest: XcmV2MultilocationMultiLocation;
7207
- xcm: XcmV2Xcm;
7208
- };
7209
- }
7210
- | { type: 'ExchangeAsset'; value: { give: XcmV2MultiassetMultiAssetFilter; receive: XcmV2MultiassetMultiAssets } }
7211
- | {
7212
- type: 'InitiateReserveWithdraw';
7213
- value: { assets: XcmV2MultiassetMultiAssetFilter; reserve: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
7214
- }
7215
- | {
7216
- type: 'InitiateTeleport';
7217
- value: { assets: XcmV2MultiassetMultiAssetFilter; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
7218
- }
7219
- | {
7220
- type: 'QueryHolding';
7221
- value: {
7222
- queryId: bigint;
7223
- dest: XcmV2MultilocationMultiLocation;
7224
- assets: XcmV2MultiassetMultiAssetFilter;
7225
- maxResponseWeight: bigint;
7237
+ customXcmOnDest: XcmVersionedXcm;
7238
+ weightLimit: XcmV3WeightLimit;
7226
7239
  };
7227
- }
7228
- | { type: 'BuyExecution'; value: { fees: XcmV2MultiassetMultiAsset; weightLimit: XcmV2WeightLimit } }
7229
- | { type: 'RefundSurplus' }
7230
- | { type: 'SetErrorHandler'; value: XcmV2Xcm }
7231
- | { type: 'SetAppendix'; value: XcmV2Xcm }
7232
- | { type: 'ClearError' }
7233
- | { type: 'ClaimAsset'; value: { assets: XcmV2MultiassetMultiAssets; ticket: XcmV2MultilocationMultiLocation } }
7234
- | { type: 'Trap'; value: bigint }
7235
- | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: bigint } }
7236
- | { type: 'UnsubscribeVersion' };
7237
-
7238
- export type XcmV2Response =
7239
- | { type: 'Null' }
7240
- | { type: 'Assets'; value: XcmV2MultiassetMultiAssets }
7241
- | { type: 'ExecutionResult'; value?: [number, XcmV2TraitsError] | undefined }
7242
- | { type: 'Version'; value: number };
7243
-
7244
- export type XcmV2TraitsError =
7245
- | { type: 'Overflow' }
7246
- | { type: 'Unimplemented' }
7247
- | { type: 'UntrustedReserveLocation' }
7248
- | { type: 'UntrustedTeleportLocation' }
7249
- | { type: 'MultiLocationFull' }
7250
- | { type: 'MultiLocationNotInvertible' }
7251
- | { type: 'BadOrigin' }
7252
- | { type: 'InvalidLocation' }
7253
- | { type: 'AssetNotFound' }
7254
- | { type: 'FailedToTransactAsset' }
7255
- | { type: 'NotWithdrawable' }
7256
- | { type: 'LocationCannotHold' }
7257
- | { type: 'ExceedsMaxMessageSize' }
7258
- | { type: 'DestinationUnsupported' }
7259
- | { type: 'Transport' }
7260
- | { type: 'Unroutable' }
7261
- | { type: 'UnknownClaim' }
7262
- | { type: 'FailedToDecode' }
7263
- | { type: 'MaxWeightInvalid' }
7264
- | { type: 'NotHoldingFees' }
7265
- | { type: 'TooExpensive' }
7266
- | { type: 'Trap'; value: bigint }
7267
- | { type: 'UnhandledXcmVersion' }
7268
- | { type: 'WeightLimitReached'; value: bigint }
7269
- | { type: 'Barrier' }
7270
- | { type: 'WeightNotComputable' };
7271
-
7272
- export type XcmV2OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
7273
-
7274
- export type XcmV2MultiassetMultiAssetFilter =
7275
- | { type: 'Definite'; value: XcmV2MultiassetMultiAssets }
7276
- | { type: 'Wild'; value: XcmV2MultiassetWildMultiAsset };
7277
-
7278
- export type XcmV2MultiassetWildMultiAsset =
7279
- | { type: 'All' }
7280
- | { type: 'AllOf'; value: { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetWildFungibility } };
7281
-
7282
- export type XcmV2MultiassetWildFungibility = 'Fungible' | 'NonFungible';
7240
+ };
7283
7241
 
7284
- export type XcmV2WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: bigint };
7242
+ export type XcmVersionedXcm =
7243
+ | { type: 'V3'; value: XcmV3Xcm }
7244
+ | { type: 'V4'; value: StagingXcmV4Xcm }
7245
+ | { type: 'V5'; value: StagingXcmV5Xcm };
7285
7246
 
7286
7247
  export type XcmV3Xcm = Array<XcmV3Instruction>;
7287
7248
 
@@ -7394,6 +7355,48 @@ export type XcmV3Response =
7394
7355
  | { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
7395
7356
  | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
7396
7357
 
7358
+ export type XcmV3TraitsError =
7359
+ | { type: 'Overflow' }
7360
+ | { type: 'Unimplemented' }
7361
+ | { type: 'UntrustedReserveLocation' }
7362
+ | { type: 'UntrustedTeleportLocation' }
7363
+ | { type: 'LocationFull' }
7364
+ | { type: 'LocationNotInvertible' }
7365
+ | { type: 'BadOrigin' }
7366
+ | { type: 'InvalidLocation' }
7367
+ | { type: 'AssetNotFound' }
7368
+ | { type: 'FailedToTransactAsset' }
7369
+ | { type: 'NotWithdrawable' }
7370
+ | { type: 'LocationCannotHold' }
7371
+ | { type: 'ExceedsMaxMessageSize' }
7372
+ | { type: 'DestinationUnsupported' }
7373
+ | { type: 'Transport' }
7374
+ | { type: 'Unroutable' }
7375
+ | { type: 'UnknownClaim' }
7376
+ | { type: 'FailedToDecode' }
7377
+ | { type: 'MaxWeightInvalid' }
7378
+ | { type: 'NotHoldingFees' }
7379
+ | { type: 'TooExpensive' }
7380
+ | { type: 'Trap'; value: bigint }
7381
+ | { type: 'ExpectationFalse' }
7382
+ | { type: 'PalletNotFound' }
7383
+ | { type: 'NameMismatch' }
7384
+ | { type: 'VersionIncompatible' }
7385
+ | { type: 'HoldingWouldOverflow' }
7386
+ | { type: 'ExportError' }
7387
+ | { type: 'ReanchorFailed' }
7388
+ | { type: 'NoDeal' }
7389
+ | { type: 'FeesNotMet' }
7390
+ | { type: 'LockError' }
7391
+ | { type: 'NoPermission' }
7392
+ | { type: 'Unanchored' }
7393
+ | { type: 'NotDepositable' }
7394
+ | { type: 'UnhandledXcmVersion' }
7395
+ | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
7396
+ | { type: 'Barrier' }
7397
+ | { type: 'WeightNotComputable' }
7398
+ | { type: 'ExceedsStackLimit' };
7399
+
7397
7400
  export type XcmV3PalletInfo = {
7398
7401
  index: number;
7399
7402
  name: Bytes;
@@ -7421,6 +7424,134 @@ export type XcmV3MultiassetWildMultiAsset =
7421
7424
 
7422
7425
  export type XcmV3MultiassetWildFungibility = 'Fungible' | 'NonFungible';
7423
7426
 
7427
+ export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
7428
+
7429
+ export type StagingXcmV4Instruction =
7430
+ | { type: 'WithdrawAsset'; value: StagingXcmV4AssetAssets }
7431
+ | { type: 'ReserveAssetDeposited'; value: StagingXcmV4AssetAssets }
7432
+ | { type: 'ReceiveTeleportedAsset'; value: StagingXcmV4AssetAssets }
7433
+ | {
7434
+ type: 'QueryResponse';
7435
+ value: {
7436
+ queryId: bigint;
7437
+ response: StagingXcmV4Response;
7438
+ maxWeight: SpWeightsWeightV2Weight;
7439
+ querier?: StagingXcmV4Location | undefined;
7440
+ };
7441
+ }
7442
+ | { type: 'TransferAsset'; value: { assets: StagingXcmV4AssetAssets; beneficiary: StagingXcmV4Location } }
7443
+ | {
7444
+ type: 'TransferReserveAsset';
7445
+ value: { assets: StagingXcmV4AssetAssets; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
7446
+ }
7447
+ | {
7448
+ type: 'Transact';
7449
+ value: { originKind: XcmV3OriginKind; requireWeightAtMost: SpWeightsWeightV2Weight; call: XcmDoubleEncoded };
7450
+ }
7451
+ | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
7452
+ | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
7453
+ | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
7454
+ | { type: 'ClearOrigin' }
7455
+ | { type: 'DescendOrigin'; value: StagingXcmV4Junctions }
7456
+ | { type: 'ReportError'; value: StagingXcmV4QueryResponseInfo }
7457
+ | { type: 'DepositAsset'; value: { assets: StagingXcmV4AssetAssetFilter; beneficiary: StagingXcmV4Location } }
7458
+ | {
7459
+ type: 'DepositReserveAsset';
7460
+ value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
7461
+ }
7462
+ | {
7463
+ type: 'ExchangeAsset';
7464
+ value: { give: StagingXcmV4AssetAssetFilter; want: StagingXcmV4AssetAssets; maximal: boolean };
7465
+ }
7466
+ | {
7467
+ type: 'InitiateReserveWithdraw';
7468
+ value: { assets: StagingXcmV4AssetAssetFilter; reserve: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
7469
+ }
7470
+ | {
7471
+ type: 'InitiateTeleport';
7472
+ value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
7473
+ }
7474
+ | {
7475
+ type: 'ReportHolding';
7476
+ value: { responseInfo: StagingXcmV4QueryResponseInfo; assets: StagingXcmV4AssetAssetFilter };
7477
+ }
7478
+ | { type: 'BuyExecution'; value: { fees: StagingXcmV4Asset; weightLimit: XcmV3WeightLimit } }
7479
+ | { type: 'RefundSurplus' }
7480
+ | { type: 'SetErrorHandler'; value: StagingXcmV4Xcm }
7481
+ | { type: 'SetAppendix'; value: StagingXcmV4Xcm }
7482
+ | { type: 'ClearError' }
7483
+ | { type: 'ClaimAsset'; value: { assets: StagingXcmV4AssetAssets; ticket: StagingXcmV4Location } }
7484
+ | { type: 'Trap'; value: bigint }
7485
+ | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
7486
+ | { type: 'UnsubscribeVersion' }
7487
+ | { type: 'BurnAsset'; value: StagingXcmV4AssetAssets }
7488
+ | { type: 'ExpectAsset'; value: StagingXcmV4AssetAssets }
7489
+ | { type: 'ExpectOrigin'; value?: StagingXcmV4Location | undefined }
7490
+ | { type: 'ExpectError'; value?: [number, XcmV3TraitsError] | undefined }
7491
+ | { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
7492
+ | { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV4QueryResponseInfo } }
7493
+ | {
7494
+ type: 'ExpectPallet';
7495
+ value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
7496
+ }
7497
+ | { type: 'ReportTransactStatus'; value: StagingXcmV4QueryResponseInfo }
7498
+ | { type: 'ClearTransactStatus' }
7499
+ | { type: 'UniversalOrigin'; value: StagingXcmV4Junction }
7500
+ | {
7501
+ type: 'ExportMessage';
7502
+ value: { network: StagingXcmV4JunctionNetworkId; destination: StagingXcmV4Junctions; xcm: StagingXcmV4Xcm };
7503
+ }
7504
+ | { type: 'LockAsset'; value: { asset: StagingXcmV4Asset; unlocker: StagingXcmV4Location } }
7505
+ | { type: 'UnlockAsset'; value: { asset: StagingXcmV4Asset; target: StagingXcmV4Location } }
7506
+ | { type: 'NoteUnlockable'; value: { asset: StagingXcmV4Asset; owner: StagingXcmV4Location } }
7507
+ | { type: 'RequestUnlock'; value: { asset: StagingXcmV4Asset; locker: StagingXcmV4Location } }
7508
+ | { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
7509
+ | { type: 'SetTopic'; value: FixedBytes<32> }
7510
+ | { type: 'ClearTopic' }
7511
+ | { type: 'AliasOrigin'; value: StagingXcmV4Location }
7512
+ | {
7513
+ type: 'UnpaidExecution';
7514
+ value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
7515
+ };
7516
+
7517
+ export type StagingXcmV4Response =
7518
+ | { type: 'Null' }
7519
+ | { type: 'Assets'; value: StagingXcmV4AssetAssets }
7520
+ | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
7521
+ | { type: 'Version'; value: number }
7522
+ | { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
7523
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
7524
+
7525
+ export type StagingXcmV4PalletInfo = {
7526
+ index: number;
7527
+ name: Bytes;
7528
+ moduleName: Bytes;
7529
+ major: number;
7530
+ minor: number;
7531
+ patch: number;
7532
+ };
7533
+
7534
+ export type StagingXcmV4QueryResponseInfo = {
7535
+ destination: StagingXcmV4Location;
7536
+ queryId: bigint;
7537
+ maxWeight: SpWeightsWeightV2Weight;
7538
+ };
7539
+
7540
+ export type StagingXcmV4AssetAssetFilter =
7541
+ | { type: 'Definite'; value: StagingXcmV4AssetAssets }
7542
+ | { type: 'Wild'; value: StagingXcmV4AssetWildAsset };
7543
+
7544
+ export type StagingXcmV4AssetWildAsset =
7545
+ | { type: 'All' }
7546
+ | { type: 'AllOf'; value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility } }
7547
+ | { type: 'AllCounted'; value: number }
7548
+ | {
7549
+ type: 'AllOfCounted';
7550
+ value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility; count: number };
7551
+ };
7552
+
7553
+ export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
7554
+
7424
7555
  export type StagingXcmExecutorAssetTransferTransferType =
7425
7556
  | { type: 'Teleport' }
7426
7557
  | { type: 'LocalReserve' }
@@ -7429,7 +7560,8 @@ export type StagingXcmExecutorAssetTransferTransferType =
7429
7560
 
7430
7561
  export type XcmVersionedAssetId =
7431
7562
  | { type: 'V3'; value: XcmV3MultiassetAssetId }
7432
- | { type: 'V4'; value: StagingXcmV4AssetAssetId };
7563
+ | { type: 'V4'; value: StagingXcmV4AssetAssetId }
7564
+ | { type: 'V5'; value: StagingXcmV5AssetAssetId };
7433
7565
 
7434
7566
  /**
7435
7567
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -7811,9 +7943,9 @@ export type OrmlXtokensModuleCallLike =
7811
7943
  };
7812
7944
 
7813
7945
  export type XcmVersionedAsset =
7814
- | { type: 'V2'; value: XcmV2MultiassetMultiAsset }
7815
7946
  | { type: 'V3'; value: XcmV3MultiassetMultiAsset }
7816
- | { type: 'V4'; value: StagingXcmV4Asset };
7947
+ | { type: 'V4'; value: StagingXcmV4Asset }
7948
+ | { type: 'V5'; value: StagingXcmV5Asset };
7817
7949
 
7818
7950
  /**
7819
7951
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -8011,52 +8143,56 @@ export type PalletEthereumCallLike =
8011
8143
  { name: 'Transact'; params: { transaction: EthereumTransactionTransactionV2 } };
8012
8144
 
8013
8145
  export type EthereumTransactionTransactionV2 =
8014
- | { type: 'Legacy'; value: EthereumTransactionLegacyTransaction }
8015
- | { type: 'Eip2930'; value: EthereumTransactionEip2930Transaction }
8016
- | { type: 'Eip1559'; value: EthereumTransactionEip1559Transaction };
8146
+ | { type: 'Legacy'; value: EthereumTransactionLegacyLegacyTransaction }
8147
+ | { type: 'Eip2930'; value: EthereumTransactionEip2930Eip2930Transaction }
8148
+ | { type: 'Eip1559'; value: EthereumTransactionEip1559Eip1559Transaction };
8017
8149
 
8018
- export type EthereumTransactionLegacyTransaction = {
8150
+ export type EthereumTransactionLegacyLegacyTransaction = {
8019
8151
  nonce: U256;
8020
8152
  gasPrice: U256;
8021
8153
  gasLimit: U256;
8022
- action: EthereumTransactionTransactionAction;
8154
+ action: EthereumTransactionLegacyTransactionAction;
8023
8155
  value: U256;
8024
8156
  input: Bytes;
8025
- signature: EthereumTransactionTransactionSignature;
8157
+ signature: EthereumTransactionLegacyTransactionSignature;
8026
8158
  };
8027
8159
 
8028
- export type EthereumTransactionTransactionAction = { type: 'Call'; value: H160 } | { type: 'Create' };
8160
+ export type EthereumTransactionLegacyTransactionAction = { type: 'Call'; value: H160 } | { type: 'Create' };
8029
8161
 
8030
- export type EthereumTransactionTransactionSignature = { v: EthereumTransactionTransactionRecoveryId; r: H256; s: H256 };
8162
+ export type EthereumTransactionLegacyTransactionSignature = {
8163
+ v: EthereumTransactionLegacyTransactionRecoveryId;
8164
+ r: H256;
8165
+ s: H256;
8166
+ };
8031
8167
 
8032
- export type EthereumTransactionTransactionRecoveryId = bigint;
8168
+ export type EthereumTransactionLegacyTransactionRecoveryId = bigint;
8033
8169
 
8034
- export type EthereumTransactionEip2930Transaction = {
8170
+ export type EthereumTransactionEip2930Eip2930Transaction = {
8035
8171
  chainId: bigint;
8036
8172
  nonce: U256;
8037
8173
  gasPrice: U256;
8038
8174
  gasLimit: U256;
8039
- action: EthereumTransactionTransactionAction;
8175
+ action: EthereumTransactionLegacyTransactionAction;
8040
8176
  value: U256;
8041
8177
  input: Bytes;
8042
- accessList: Array<EthereumTransactionAccessListItem>;
8178
+ accessList: Array<EthereumTransactionEip2930AccessListItem>;
8043
8179
  oddYParity: boolean;
8044
8180
  r: H256;
8045
8181
  s: H256;
8046
8182
  };
8047
8183
 
8048
- export type EthereumTransactionAccessListItem = { address: H160; storageKeys: Array<H256> };
8184
+ export type EthereumTransactionEip2930AccessListItem = { address: H160; storageKeys: Array<H256> };
8049
8185
 
8050
- export type EthereumTransactionEip1559Transaction = {
8186
+ export type EthereumTransactionEip1559Eip1559Transaction = {
8051
8187
  chainId: bigint;
8052
8188
  nonce: U256;
8053
8189
  maxPriorityFeePerGas: U256;
8054
8190
  maxFeePerGas: U256;
8055
8191
  gasLimit: U256;
8056
- action: EthereumTransactionTransactionAction;
8192
+ action: EthereumTransactionLegacyTransactionAction;
8057
8193
  value: U256;
8058
8194
  input: Bytes;
8059
- accessList: Array<EthereumTransactionAccessListItem>;
8195
+ accessList: Array<EthereumTransactionEip2930AccessListItem>;
8060
8196
  oddYParity: boolean;
8061
8197
  r: H256;
8062
8198
  s: H256;
@@ -8717,7 +8853,29 @@ export type PalletCollectiveCall =
8717
8853
  | {
8718
8854
  name: 'Close';
8719
8855
  params: { proposalHash: H256; index: number; proposalWeightBound: SpWeightsWeightV2Weight; lengthBound: number };
8720
- };
8856
+ }
8857
+ /**
8858
+ * Disapprove the proposal and burn the cost held for storing this proposal.
8859
+ *
8860
+ * Parameters:
8861
+ * - `origin`: must be the `KillOrigin`.
8862
+ * - `proposal_hash`: The hash of the proposal that should be killed.
8863
+ *
8864
+ * Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
8865
+ **/
8866
+ | { name: 'Kill'; params: { proposalHash: H256 } }
8867
+ /**
8868
+ * Release the cost held for storing a proposal once the given proposal is completed.
8869
+ *
8870
+ * If there is no associated cost for the given proposal, this call will have no effect.
8871
+ *
8872
+ * Parameters:
8873
+ * - `origin`: must be `Signed` or `Root`.
8874
+ * - `proposal_hash`: The hash of the proposal.
8875
+ *
8876
+ * Emits `ProposalCostReleased` if any cost held for a given proposal.
8877
+ **/
8878
+ | { name: 'ReleaseProposalCost'; params: { proposalHash: H256 } };
8721
8879
 
8722
8880
  export type PalletCollectiveCallLike =
8723
8881
  /**
@@ -8833,7 +8991,29 @@ export type PalletCollectiveCallLike =
8833
8991
  | {
8834
8992
  name: 'Close';
8835
8993
  params: { proposalHash: H256; index: number; proposalWeightBound: SpWeightsWeightV2Weight; lengthBound: number };
8836
- };
8994
+ }
8995
+ /**
8996
+ * Disapprove the proposal and burn the cost held for storing this proposal.
8997
+ *
8998
+ * Parameters:
8999
+ * - `origin`: must be the `KillOrigin`.
9000
+ * - `proposal_hash`: The hash of the proposal that should be killed.
9001
+ *
9002
+ * Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
9003
+ **/
9004
+ | { name: 'Kill'; params: { proposalHash: H256 } }
9005
+ /**
9006
+ * Release the cost held for storing a proposal once the given proposal is completed.
9007
+ *
9008
+ * If there is no associated cost for the given proposal, this call will have no effect.
9009
+ *
9010
+ * Parameters:
9011
+ * - `origin`: must be `Signed` or `Root`.
9012
+ * - `proposal_hash`: The hash of the proposal.
9013
+ *
9014
+ * Emits `ProposalCostReleased` if any cost held for a given proposal.
9015
+ **/
9016
+ | { name: 'ReleaseProposalCost'; params: { proposalHash: H256 } };
8837
9017
 
8838
9018
  /**
8839
9019
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -9634,8 +9814,7 @@ export type AstarRuntimeOriginCaller =
9634
9814
  | { type: 'Ethereum'; value: PalletEthereumRawOrigin }
9635
9815
  | { type: 'Council'; value: PalletCollectiveRawOrigin }
9636
9816
  | { type: 'TechnicalCommittee'; value: PalletCollectiveRawOrigin }
9637
- | { type: 'CommunityCouncil'; value: PalletCollectiveRawOrigin }
9638
- | { type: 'Void'; value: SpCoreVoid };
9817
+ | { type: 'CommunityCouncil'; value: PalletCollectiveRawOrigin };
9639
9818
 
9640
9819
  export type FrameSupportDispatchRawOrigin =
9641
9820
  | { type: 'Root' }
@@ -9643,8 +9822,8 @@ export type FrameSupportDispatchRawOrigin =
9643
9822
  | { type: 'None' };
9644
9823
 
9645
9824
  export type PalletXcmOrigin =
9646
- | { type: 'Xcm'; value: StagingXcmV4Location }
9647
- | { type: 'Response'; value: StagingXcmV4Location };
9825
+ | { type: 'Xcm'; value: StagingXcmV5Location }
9826
+ | { type: 'Response'; value: StagingXcmV5Location };
9648
9827
 
9649
9828
  export type CumulusPalletXcmOrigin =
9650
9829
  | { type: 'Relay' }
@@ -9657,8 +9836,6 @@ export type PalletCollectiveRawOrigin =
9657
9836
  | { type: 'Member'; value: AccountId32 }
9658
9837
  | { type: 'Phantom' };
9659
9838
 
9660
- export type SpCoreVoid = null;
9661
-
9662
9839
  /**
9663
9840
  * The `Error` enum of this pallet.
9664
9841
  **/
@@ -9676,7 +9853,14 @@ export type PalletIdentityRegistration = {
9676
9853
 
9677
9854
  export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields: bigint };
9678
9855
 
9679
- export type PalletIdentityAuthorityProperties = { suffix: Bytes; allocation: number };
9856
+ export type PalletIdentityAuthorityProperties = { accountId: AccountId32; allocation: number };
9857
+
9858
+ export type PalletIdentityUsernameInformation = { owner: AccountId32; provider: PalletIdentityProvider };
9859
+
9860
+ export type PalletIdentityProvider =
9861
+ | { type: 'Allocation' }
9862
+ | { type: 'AuthorityDeposit'; value: bigint }
9863
+ | { type: 'System' };
9680
9864
 
9681
9865
  /**
9682
9866
  * The `Error` enum of this pallet.
@@ -9785,7 +9969,24 @@ export type PalletIdentityError =
9785
9969
  /**
9786
9970
  * The username cannot be forcefully removed because it can still be accepted.
9787
9971
  **/
9788
- | 'NotExpired';
9972
+ | 'NotExpired'
9973
+ /**
9974
+ * The username cannot be removed because it's still in the grace period.
9975
+ **/
9976
+ | 'TooEarly'
9977
+ /**
9978
+ * The username cannot be removed because it is not unbinding.
9979
+ **/
9980
+ | 'NotUnbinding'
9981
+ /**
9982
+ * The username cannot be unbound because it is already unbinding.
9983
+ **/
9984
+ | 'AlreadyUnbinding'
9985
+ /**
9986
+ * The action cannot be performed because of insufficient privileges (e.g. authority
9987
+ * trying to unbind a username provided by the system).
9988
+ **/
9989
+ | 'InsufficientPrivileges';
9789
9990
 
9790
9991
  export type PalletMultisigMultisig = {
9791
9992
  when: PalletMultisigTimepoint;
@@ -9934,7 +10135,7 @@ export type PalletSchedulerError =
9934
10135
  export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
9935
10136
  usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
9936
10137
  paraHeadHash?: H256 | undefined;
9937
- consumedGoAheadSignal?: PolkadotPrimitivesV7UpgradeGoAhead | undefined;
10138
+ consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
9938
10139
  };
9939
10140
 
9940
10141
  export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
@@ -9947,21 +10148,21 @@ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
9947
10148
 
9948
10149
  export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
9949
10150
 
9950
- export type PolkadotPrimitivesV7UpgradeGoAhead = 'Abort' | 'GoAhead';
10151
+ export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
9951
10152
 
9952
10153
  export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
9953
10154
  usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
9954
10155
  hrmpWatermark?: number | undefined;
9955
- consumedGoAheadSignal?: PolkadotPrimitivesV7UpgradeGoAhead | undefined;
10156
+ consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
9956
10157
  };
9957
10158
 
9958
- export type PolkadotPrimitivesV7UpgradeRestriction = 'Present';
10159
+ export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
9959
10160
 
9960
10161
  export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
9961
10162
  dmqMqcHead: H256;
9962
10163
  relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
9963
- ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV7AbridgedHrmpChannel]>;
9964
- egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV7AbridgedHrmpChannel]>;
10164
+ ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
10165
+ egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
9965
10166
  };
9966
10167
 
9967
10168
  export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
@@ -9969,7 +10170,7 @@ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRema
9969
10170
  remainingSize: number;
9970
10171
  };
9971
10172
 
9972
- export type PolkadotPrimitivesV7AbridgedHrmpChannel = {
10173
+ export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
9973
10174
  maxCapacity: number;
9974
10175
  maxTotalSize: number;
9975
10176
  maxMessageSize: number;
@@ -9978,7 +10179,7 @@ export type PolkadotPrimitivesV7AbridgedHrmpChannel = {
9978
10179
  mqcHead?: H256 | undefined;
9979
10180
  };
9980
10181
 
9981
- export type PolkadotPrimitivesV7AbridgedHostConfiguration = {
10182
+ export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
9982
10183
  maxCodeSize: number;
9983
10184
  maxHeadDataSize: number;
9984
10185
  maxUpwardQueueCount: number;
@@ -9988,10 +10189,10 @@ export type PolkadotPrimitivesV7AbridgedHostConfiguration = {
9988
10189
  hrmpMaxMessageNumPerCandidate: number;
9989
10190
  validationUpgradeCooldown: number;
9990
10191
  validationUpgradeDelay: number;
9991
- asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams;
10192
+ asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
9992
10193
  };
9993
10194
 
9994
- export type PolkadotPrimitivesV7AsyncBackingAsyncBackingParams = {
10195
+ export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
9995
10196
  maxCandidateDepth: number;
9996
10197
  allowedAncestryLen: number;
9997
10198
  };
@@ -10053,12 +10254,17 @@ export type FrameSupportTokensMiscIdAmount = { id: AstarRuntimeRuntimeHoldReason
10053
10254
 
10054
10255
  export type AstarRuntimeRuntimeHoldReason =
10055
10256
  | { type: 'Contracts'; value: PalletContractsHoldReason }
10056
- | { type: 'Preimage'; value: PalletPreimageHoldReason };
10257
+ | { type: 'Preimage'; value: PalletPreimageHoldReason }
10258
+ | { type: 'Council'; value: PalletCollectiveHoldReason }
10259
+ | { type: 'TechnicalCommittee'; value: PalletCollectiveHoldReason }
10260
+ | { type: 'CommunityCouncil'; value: PalletCollectiveHoldReason };
10057
10261
 
10058
10262
  export type PalletContractsHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve';
10059
10263
 
10060
10264
  export type PalletPreimageHoldReason = 'Preimage';
10061
10265
 
10266
+ export type PalletCollectiveHoldReason = 'ProposalSubmission';
10267
+
10062
10268
  export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = { id: AstarRuntimeRuntimeFreezeReason; amount: bigint };
10063
10269
 
10064
10270
  export type AstarRuntimeRuntimeFreezeReason = { type: 'DappStaking'; value: PalletDappStakingFreezeReason };
@@ -10694,9 +10900,9 @@ export type PalletXcmQueryStatus =
10694
10900
  | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
10695
10901
 
10696
10902
  export type XcmVersionedResponse =
10697
- | { type: 'V2'; value: XcmV2Response }
10698
10903
  | { type: 'V3'; value: XcmV3Response }
10699
- | { type: 'V4'; value: StagingXcmV4Response };
10904
+ | { type: 'V4'; value: StagingXcmV4Response }
10905
+ | { type: 'V5'; value: StagingXcmV5Response };
10700
10906
 
10701
10907
  export type PalletXcmVersionMigrationStage =
10702
10908
  | { type: 'MigrateSupportedVersion' }
@@ -11153,6 +11359,8 @@ export type PalletContractsScheduleLimits = {
11153
11359
  subjectLen: number;
11154
11360
  payloadLen: number;
11155
11361
  runtimeMemory: number;
11362
+ validatorRuntimeMemory: number;
11363
+ eventRefTime: bigint;
11156
11364
  };
11157
11365
 
11158
11366
  export type PalletContractsScheduleInstructionWeights = { base: number };
@@ -11409,11 +11617,7 @@ export type PalletPreimageError =
11409
11617
  /**
11410
11618
  * Too few hashes were requested to be upgraded (i.e. zero).
11411
11619
  **/
11412
- | 'TooFew'
11413
- /**
11414
- * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
11415
- **/
11416
- | 'NoCost';
11620
+ | 'TooFew';
11417
11621
 
11418
11622
  /**
11419
11623
  * Error for the Sudo pallet.
@@ -11479,7 +11683,11 @@ export type PalletCollectiveError =
11479
11683
  /**
11480
11684
  * Prime account is not a member
11481
11685
  **/
11482
- | 'PrimeAccountNotMember';
11686
+ | 'PrimeAccountNotMember'
11687
+ /**
11688
+ * Proposal is still active.
11689
+ **/
11690
+ | 'ProposalActive';
11483
11691
 
11484
11692
  export type PalletDemocracyReferendumInfo =
11485
11693
  | { type: 'Ongoing'; value: PalletDemocracyReferendumStatus }
@@ -11703,7 +11911,9 @@ export type SpRuntimeTransactionValidityInvalidTransaction =
11703
11911
  | { type: 'Custom'; value: number }
11704
11912
  | { type: 'BadMandatory' }
11705
11913
  | { type: 'MandatoryValidation' }
11706
- | { type: 'BadSigner' };
11914
+ | { type: 'BadSigner' }
11915
+ | { type: 'IndeterminateImplicit' }
11916
+ | { type: 'UnknownOrigin' };
11707
11917
 
11708
11918
  export type SpRuntimeTransactionValidityUnknownTransaction =
11709
11919
  | { type: 'CannotLookup' }
@@ -11840,11 +12050,13 @@ export type SpRuntimeDispatchErrorWithPostInfo = {
11840
12050
  export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
11841
12051
 
11842
12052
  export type XcmRuntimeApisDryRunXcmDryRunEffects = {
11843
- executionResult: StagingXcmV4TraitsOutcome;
12053
+ executionResult: StagingXcmV5TraitsOutcome;
11844
12054
  emittedEvents: Array<AstarRuntimeRuntimeEvent>;
11845
12055
  forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
11846
12056
  };
11847
12057
 
12058
+ export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
12059
+
11848
12060
  export type AstarRuntimeRuntimeError =
11849
12061
  | { pallet: 'System'; palletError: FrameSystemError }
11850
12062
  | { pallet: 'Utility'; palletError: PalletUtilityError }