@dedot/chaintypes 0.246.0 → 0.247.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.
@@ -1189,7 +1189,7 @@ export type PalletStakingPalletCall =
1189
1189
  *
1190
1190
  * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
1191
1191
  * them, then the list of nominators is paged, with each page being capped at
1192
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
1192
+ * [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
1193
1193
  * the call needs to be made for each page separately in order for all the nominators
1194
1194
  * backing a validator to receive the reward. The nominators are not sorted across pages
1195
1195
  * and so it should not be assumed the highest staker would be on the topmost page and vice
@@ -1672,7 +1672,7 @@ export type PalletStakingPalletCallLike =
1672
1672
  *
1673
1673
  * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
1674
1674
  * them, then the list of nominators is paged, with each page being capped at
1675
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
1675
+ * [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
1676
1676
  * the call needs to be made for each page separately in order for all the nominators
1677
1677
  * backing a validator to receive the reward. The nominators are not sorted across pages
1678
1678
  * and so it should not be assumed the highest staker would be on the topmost page and vice
@@ -6733,7 +6733,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
6733
6733
  /**
6734
6734
  * Set scheduler-params.
6735
6735
  **/
6736
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV9SchedulerParams } };
6736
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } }
6737
+ /**
6738
+ * Set the maximum relay parent session age.
6739
+ **/
6740
+ | { name: 'SetMaxRelayParentSessionAge'; params: { new: number } };
6737
6741
 
6738
6742
  export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
6739
6743
  /**
@@ -6929,7 +6933,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
6929
6933
  /**
6930
6934
  * Set scheduler-params.
6931
6935
  **/
6932
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV9SchedulerParams } };
6936
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } }
6937
+ /**
6938
+ * Set the maximum relay parent session age.
6939
+ **/
6940
+ | { name: 'SetMaxRelayParentSessionAge'; params: { new: number } };
6933
6941
 
6934
6942
  export type PolkadotPrimitivesV9AsyncBackingAsyncBackingParams = {
6935
6943
  maxCandidateDepth: number;
@@ -6953,18 +6961,16 @@ export type PolkadotPrimitivesV9PvfExecKind = 'Backing' | 'Approval';
6953
6961
 
6954
6962
  export type PolkadotPrimitivesV9ApprovalVotingParams = { maxApprovalCoalesceCount: number };
6955
6963
 
6956
- export type PolkadotPrimitivesV9SchedulerParams = {
6964
+ export type PolkadotPrimitivesVstagingSchedulerParams = {
6957
6965
  groupRotationFrequency: number;
6958
6966
  parasAvailabilityPeriod: number;
6959
6967
  maxValidatorsPerCore?: number | undefined;
6960
6968
  lookahead: number;
6961
6969
  numCores: number;
6962
- maxAvailabilityTimeouts: number;
6963
6970
  onDemandQueueMaxSize: number;
6964
6971
  onDemandTargetQueueUtilization: Perbill;
6965
6972
  onDemandFeeVariability: Perbill;
6966
6973
  onDemandBaseFee: bigint;
6967
- ttl: number;
6968
6974
  };
6969
6975
 
6970
6976
  /**
@@ -7031,20 +7037,20 @@ export type PolkadotPrimitivesV9CommittedCandidateReceiptV2 = {
7031
7037
  export type PolkadotPrimitivesV9CandidateDescriptorV2 = {
7032
7038
  paraId: PolkadotParachainPrimitivesPrimitivesId;
7033
7039
  relayParent: H256;
7034
- version: PolkadotPrimitivesV9InternalVersion;
7040
+ version: number;
7035
7041
  coreIndex: number;
7036
7042
  sessionIndex: number;
7037
- reserved1: FixedBytes<25>;
7043
+ schedulingSessionOffset: number;
7044
+ reserved1: FixedBytes<24>;
7038
7045
  persistedValidationDataHash: H256;
7039
7046
  povHash: H256;
7040
7047
  erasureRoot: H256;
7041
- reserved2: FixedBytes<64>;
7048
+ schedulingParent: H256;
7049
+ reserved2: FixedBytes<32>;
7042
7050
  paraHead: H256;
7043
7051
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
7044
7052
  };
7045
7053
 
7046
- export type PolkadotPrimitivesV9InternalVersion = number;
7047
-
7048
7054
  export type PolkadotParachainPrimitivesPrimitivesValidationCodeHash = H256;
7049
7055
 
7050
7056
  export type PolkadotPrimitivesV9CandidateCommitments = {
@@ -9220,7 +9226,7 @@ export type PolkadotRuntimeCommonAssignedSlotsPalletCallLike =
9220
9226
  export type PolkadotRuntimeCommonAssignedSlotsSlotLeasePeriodStart = 'Current' | 'Next';
9221
9227
 
9222
9228
  /**
9223
- * Contains a variant per dispatchable extrinsic that this pallet has.
9229
+ * Extrinsics to be called by the Coretime chain.
9224
9230
  **/
9225
9231
  export type PolkadotRuntimeParachainsCoretimePalletCall =
9226
9232
  /**
@@ -9257,7 +9263,7 @@ export type PolkadotRuntimeParachainsCoretimePalletCall =
9257
9263
  core: number;
9258
9264
  begin: number;
9259
9265
  assignment: Array<
9260
- [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimePartsOf57600]
9266
+ [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600]
9261
9267
  >;
9262
9268
  endHint?: number | undefined;
9263
9269
  };
@@ -9298,7 +9304,7 @@ export type PolkadotRuntimeParachainsCoretimePalletCallLike =
9298
9304
  core: number;
9299
9305
  begin: number;
9300
9306
  assignment: Array<
9301
- [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimePartsOf57600]
9307
+ [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600]
9302
9308
  >;
9303
9309
  endHint?: number | undefined;
9304
9310
  };
@@ -9309,7 +9315,7 @@ export type PalletBrokerCoretimeInterfaceCoreAssignment =
9309
9315
  | { type: 'Pool' }
9310
9316
  | { type: 'Task'; value: number };
9311
9317
 
9312
- export type PolkadotRuntimeParachainsAssignerCoretimePartsOf57600 = number;
9318
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600 = number;
9313
9319
 
9314
9320
  /**
9315
9321
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -10309,8 +10315,9 @@ export type PalletMetaTxCall =
10309
10315
  *
10310
10316
  * - `_origin`: Can be any kind of origin.
10311
10317
  * - `meta_tx`: Meta Transaction with a target call to be dispatched.
10318
+ * - `meta_tx_encoded_len`: The size of the encoded meta transaction in bytes.
10312
10319
  **/
10313
- { name: 'Dispatch'; params: { metaTx: PalletMetaTxMetaTx } };
10320
+ { name: 'Dispatch'; params: { metaTx: PalletMetaTxMetaTx; metaTxEncodedLen: number } };
10314
10321
 
10315
10322
  export type PalletMetaTxCallLike =
10316
10323
  /**
@@ -10318,8 +10325,9 @@ export type PalletMetaTxCallLike =
10318
10325
  *
10319
10326
  * - `_origin`: Can be any kind of origin.
10320
10327
  * - `meta_tx`: Meta Transaction with a target call to be dispatched.
10328
+ * - `meta_tx_encoded_len`: The size of the encoded meta transaction in bytes.
10321
10329
  **/
10322
- { name: 'Dispatch'; params: { metaTx: PalletMetaTxMetaTx } };
10330
+ { name: 'Dispatch'; params: { metaTx: PalletMetaTxMetaTx; metaTxEncodedLen: number } };
10323
10331
 
10324
10332
  export type PalletMetaTxMetaTx = {
10325
10333
  call: WestendRuntimeRuntimeCall;
@@ -13518,6 +13526,8 @@ export type FrameSupportStorageNoDrop = FrameSupportTokensFungibleImbalance;
13518
13526
 
13519
13527
  export type FrameSupportTokensFungibleImbalance = { amount: bigint };
13520
13528
 
13529
+ export type FrameSupportPalletId = FixedBytes<8>;
13530
+
13521
13531
  export type PalletStakingStakingLedger = {
13522
13532
  stash: AccountId32;
13523
13533
  total: bigint;
@@ -14409,8 +14419,6 @@ export type PalletNominationPoolsSubPools = {
14409
14419
 
14410
14420
  export type PalletNominationPoolsUnbondPool = { points: bigint; balance: bigint };
14411
14421
 
14412
- export type FrameSupportPalletId = FixedBytes<8>;
14413
-
14414
14422
  /**
14415
14423
  * The `Error` enum of this pallet.
14416
14424
  **/
@@ -14991,7 +14999,8 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
14991
14999
  minimumBackingVotes: number;
14992
15000
  nodeFeatures: BitSequence;
14993
15001
  approvalVotingParams: PolkadotPrimitivesV9ApprovalVotingParams;
14994
- schedulerParams: PolkadotPrimitivesV9SchedulerParams;
15002
+ schedulerParams: PolkadotPrimitivesVstagingSchedulerParams;
15003
+ maxRelayParentSessionAge: number;
14995
15004
  };
14996
15005
 
14997
15006
  /**
@@ -15003,17 +15012,18 @@ export type PolkadotRuntimeParachainsConfigurationPalletError =
15003
15012
  **/
15004
15013
  'InvalidNewValue';
15005
15014
 
15006
- export type PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker = {
15007
- buffer: Array<PolkadotRuntimeParachainsSharedRelayParentInfo>;
15015
+ export type PolkadotRuntimeParachainsSharedAllowedSchedulingParentsTracker = {
15016
+ buffer: Array<PolkadotRuntimeParachainsSharedSchedulingParentInfo>;
15008
15017
  latestNumber: number;
15009
15018
  };
15010
15019
 
15011
- export type PolkadotRuntimeParachainsSharedRelayParentInfo = {
15012
- relayParent: H256;
15013
- stateRoot: H256;
15020
+ export type PolkadotRuntimeParachainsSharedSchedulingParentInfo = {
15021
+ schedulingParent: H256;
15014
15022
  claimQueue: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<[number, Array<PolkadotPrimitivesV9CoreIndex>]>]>;
15015
15023
  };
15016
15024
 
15025
+ export type PolkadotPrimitivesVstagingRelayParentInfo = { number: number; stateRoot: H256 };
15026
+
15017
15027
  export type PolkadotRuntimeParachainsInclusionCandidatePendingAvailability = {
15018
15028
  core: PolkadotPrimitivesV9CoreIndex;
15019
15029
  hash: PolkadotCorePrimitivesCandidateHash;
@@ -15055,9 +15065,13 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
15055
15065
  * not recent enough or it didn't advance based on the last parachain block.
15056
15066
  **/
15057
15067
  | 'DisallowedRelayParent'
15068
+ /**
15069
+ * The candidate's scheduling-parent was not allowed.
15070
+ **/
15071
+ | 'DisallowedSchedulingParent'
15058
15072
  /**
15059
15073
  * Failed to compute group index for the core: either it's out of bounds
15060
- * or the relay parent doesn't belong to the current session.
15074
+ * or the scheduling parent doesn't belong to the current session.
15061
15075
  **/
15062
15076
  | 'InvalidAssignment'
15063
15077
  /**
@@ -15136,12 +15150,47 @@ export type PolkadotRuntimeParachainsParasInherentPalletError =
15136
15150
  **/
15137
15151
  | 'UnscheduledCandidate';
15138
15152
 
15139
- export type PolkadotRuntimeParachainsSchedulerCommonAssignment =
15140
- | {
15141
- type: 'Pool';
15142
- value: { paraId: PolkadotParachainPrimitivesPrimitivesId; coreIndex: PolkadotPrimitivesV9CoreIndex };
15143
- }
15144
- | { type: 'Bulk'; value: PolkadotParachainPrimitivesPrimitivesId };
15153
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimeSchedule = {
15154
+ assignments: Array<
15155
+ [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600]
15156
+ >;
15157
+ endHint?: number | undefined;
15158
+ nextSchedule?: number | undefined;
15159
+ };
15160
+
15161
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimeCoreDescriptor = {
15162
+ queue?: PolkadotRuntimeParachainsSchedulerAssignerCoretimeQueueDescriptor | undefined;
15163
+ currentWork?: PolkadotRuntimeParachainsSchedulerAssignerCoretimeWorkState | undefined;
15164
+ };
15165
+
15166
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimeQueueDescriptor = { first: number; last: number };
15167
+
15168
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimeWorkState = {
15169
+ assignments: Array<
15170
+ [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsSchedulerAssignerCoretimeAssignmentState]
15171
+ >;
15172
+ endHint?: number | undefined;
15173
+ pos: number;
15174
+ step: PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600;
15175
+ };
15176
+
15177
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimeAssignmentState = {
15178
+ ratio: PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600;
15179
+ remaining: PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600;
15180
+ };
15181
+
15182
+ /**
15183
+ * The `Error` enum of this pallet.
15184
+ **/
15185
+ export type PolkadotRuntimeParachainsSchedulerPalletError =
15186
+ /**
15187
+ * assign_core was called with no assignments.
15188
+ **/
15189
+ | 'AssignmentsEmpty'
15190
+ /**
15191
+ * assign_core with non allowed insertion.
15192
+ **/
15193
+ | 'DisallowedInsert';
15145
15194
 
15146
15195
  export type PolkadotRuntimeParachainsParasPvfCheckActiveVoteState = {
15147
15196
  votesAccept: BitSequence;
@@ -15476,29 +15525,18 @@ export type PolkadotRuntimeParachainsDisputesSlashingPalletError =
15476
15525
  **/
15477
15526
  | 'DuplicateSlashingReport';
15478
15527
 
15479
- export type PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount = {
15480
- coreIndex: PolkadotPrimitivesV9CoreIndex;
15481
- count: number;
15482
- };
15483
-
15484
- export type PolkadotRuntimeParachainsOnDemandTypesQueueStatusType = {
15528
+ export type PolkadotRuntimeParachainsOnDemandOrderStatus = {
15485
15529
  traffic: FixedU128;
15486
- nextIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
15487
- smallestIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
15488
- freedIndices: BinaryHeap;
15530
+ queue: PolkadotRuntimeParachainsOnDemandOrderQueue;
15489
15531
  };
15490
15532
 
15491
- export type PolkadotRuntimeParachainsOnDemandTypesQueueIndex = number;
15492
-
15493
- export type BinaryHeap = Array<PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex>;
15494
-
15495
- export type PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex = number;
15496
-
15497
- export type BinaryHeapEnqueuedOrder = Array<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>;
15533
+ export type PolkadotRuntimeParachainsOnDemandOrderQueue = {
15534
+ queue: Array<PolkadotRuntimeParachainsOnDemandEnqueuedOrder>;
15535
+ };
15498
15536
 
15499
- export type PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder = {
15537
+ export type PolkadotRuntimeParachainsOnDemandEnqueuedOrder = {
15500
15538
  paraId: PolkadotParachainPrimitivesPrimitivesId;
15501
- idx: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
15539
+ orderedAt: number;
15502
15540
  };
15503
15541
 
15504
15542
  /**
@@ -15519,46 +15557,6 @@ export type PolkadotRuntimeParachainsOnDemandPalletError =
15519
15557
  **/
15520
15558
  | 'InsufficientCredits';
15521
15559
 
15522
- export type PolkadotRuntimeParachainsAssignerCoretimeSchedule = {
15523
- assignments: Array<
15524
- [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimePartsOf57600]
15525
- >;
15526
- endHint?: number | undefined;
15527
- nextSchedule?: number | undefined;
15528
- };
15529
-
15530
- export type PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor = {
15531
- queue?: PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor | undefined;
15532
- currentWork?: PolkadotRuntimeParachainsAssignerCoretimeWorkState | undefined;
15533
- };
15534
-
15535
- export type PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor = { first: number; last: number };
15536
-
15537
- export type PolkadotRuntimeParachainsAssignerCoretimeWorkState = {
15538
- assignments: Array<
15539
- [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState]
15540
- >;
15541
- endHint?: number | undefined;
15542
- pos: number;
15543
- step: PolkadotRuntimeParachainsAssignerCoretimePartsOf57600;
15544
- };
15545
-
15546
- export type PolkadotRuntimeParachainsAssignerCoretimeAssignmentState = {
15547
- ratio: PolkadotRuntimeParachainsAssignerCoretimePartsOf57600;
15548
- remaining: PolkadotRuntimeParachainsAssignerCoretimePartsOf57600;
15549
- };
15550
-
15551
- /**
15552
- * The `Error` enum of this pallet.
15553
- **/
15554
- export type PolkadotRuntimeParachainsAssignerCoretimePalletError =
15555
- | 'AssignmentsEmpty'
15556
- /**
15557
- * assign_core is only allowed to append new assignments at the end of already existing
15558
- * ones or update the last entry.
15559
- **/
15560
- | 'DisallowedInsert';
15561
-
15562
15560
  export type PolkadotRuntimeCommonParasRegistrarParaInfo = {
15563
15561
  manager: AccountId32;
15564
15562
  deposit: bigint;
@@ -16268,7 +16266,11 @@ export type PalletMetaTxError =
16268
16266
  /**
16269
16267
  * The meta transaction is invalid.
16270
16268
  **/
16271
- | 'Invalid';
16269
+ | 'Invalid'
16270
+ /**
16271
+ * The meta transaction length is invalid.
16272
+ **/
16273
+ | 'InvalidLength';
16272
16274
 
16273
16275
  /**
16274
16276
  * The `Error` enum of this pallet.
@@ -16608,12 +16610,12 @@ export type WestendRuntimeRuntimeError =
16608
16610
  | { pallet: 'Configuration'; palletError: PolkadotRuntimeParachainsConfigurationPalletError }
16609
16611
  | { pallet: 'ParaInclusion'; palletError: PolkadotRuntimeParachainsInclusionPalletError }
16610
16612
  | { pallet: 'ParaInherent'; palletError: PolkadotRuntimeParachainsParasInherentPalletError }
16613
+ | { pallet: 'ParaScheduler'; palletError: PolkadotRuntimeParachainsSchedulerPalletError }
16611
16614
  | { pallet: 'Paras'; palletError: PolkadotRuntimeParachainsParasPalletError }
16612
16615
  | { pallet: 'Hrmp'; palletError: PolkadotRuntimeParachainsHrmpPalletError }
16613
16616
  | { pallet: 'ParasDisputes'; palletError: PolkadotRuntimeParachainsDisputesPalletError }
16614
16617
  | { pallet: 'ParasSlashing'; palletError: PolkadotRuntimeParachainsDisputesSlashingPalletError }
16615
16618
  | { pallet: 'OnDemandAssignmentProvider'; palletError: PolkadotRuntimeParachainsOnDemandPalletError }
16616
- | { pallet: 'CoretimeAssignmentProvider'; palletError: PolkadotRuntimeParachainsAssignerCoretimePalletError }
16617
16619
  | { pallet: 'Registrar'; palletError: PolkadotRuntimeCommonParasRegistrarPalletError }
16618
16620
  | { pallet: 'Slots'; palletError: PolkadotRuntimeCommonSlotsPalletError }
16619
16621
  | { pallet: 'ParasSudoWrapper'; palletError: PolkadotRuntimeCommonParasSudoWrapperPalletError }
@@ -343,7 +343,8 @@ export interface ChainConsts extends GenericChainConsts {
343
343
  aura: {
344
344
  /**
345
345
  * The slot duration Aura should run with, expressed in milliseconds.
346
- * The effective value of this type should not change while the chain is running.
346
+ *
347
+ * The effective value of this type can be changed with a runtime upgrade.
347
348
  *
348
349
  * For backwards compatibility either use [`MinimumPeriodTimesTwo`] or a const.
349
350
  **/
@@ -1117,6 +1118,29 @@ export interface ChainConsts extends GenericChainConsts {
1117
1118
  **/
1118
1119
  [name: string]: any;
1119
1120
  };
1121
+ /**
1122
+ * Pallet `AssetsPrecompiles`'s constants
1123
+ **/
1124
+ assetsPrecompiles: {
1125
+ /**
1126
+ * Generic pallet constant
1127
+ **/
1128
+ [name: string]: any;
1129
+ };
1130
+ /**
1131
+ * Pallet `AssetsPrecompilesPermit`'s constants
1132
+ **/
1133
+ assetsPrecompilesPermit: {
1134
+ /**
1135
+ * The chain ID used in EIP-712 domain separator.
1136
+ **/
1137
+ chainId: bigint;
1138
+
1139
+ /**
1140
+ * Generic pallet constant
1141
+ **/
1142
+ [name: string]: any;
1143
+ };
1120
1144
  /**
1121
1145
  * Pallet `StateTrieMigration`'s constants
1122
1146
  **/
@@ -1409,6 +1433,11 @@ export interface ChainConsts extends GenericChainConsts {
1409
1433
  * Pallet `StakingRcClient`'s constants
1410
1434
  **/
1411
1435
  stakingRcClient: {
1436
+ /**
1437
+ * Deposit held when a validator sets session keys. Released on `purge_keys`.
1438
+ **/
1439
+ keyDeposit: bigint;
1440
+
1412
1441
  /**
1413
1442
  * Generic pallet constant
1414
1443
  **/
@@ -2269,6 +2269,55 @@ export interface ChainErrors extends GenericChainErrors {
2269
2269
  **/
2270
2270
  [error: string]: GenericPalletError;
2271
2271
  };
2272
+ /**
2273
+ * Pallet `AssetsPrecompilesPermit`'s errors
2274
+ **/
2275
+ assetsPrecompilesPermit: {
2276
+ /**
2277
+ * The permit signature is invalid.
2278
+ **/
2279
+ InvalidSignature: GenericPalletError;
2280
+
2281
+ /**
2282
+ * The signer does not match the owner.
2283
+ **/
2284
+ SignerMismatch: GenericPalletError;
2285
+
2286
+ /**
2287
+ * The permit has expired (deadline passed).
2288
+ **/
2289
+ PermitExpired: GenericPalletError;
2290
+
2291
+ /**
2292
+ * The signature's `s` value is too high (malleability protection).
2293
+ **/
2294
+ SignatureSValueTooHigh: GenericPalletError;
2295
+
2296
+ /**
2297
+ * The signature's `v` value is invalid.
2298
+ **/
2299
+ InvalidVValue: GenericPalletError;
2300
+
2301
+ /**
2302
+ * Nonce overflow - account has used too many permits.
2303
+ **/
2304
+ NonceOverflow: GenericPalletError;
2305
+
2306
+ /**
2307
+ * The owner address is invalid (e.g., zero address).
2308
+ **/
2309
+ InvalidOwner: GenericPalletError;
2310
+
2311
+ /**
2312
+ * The spender address is invalid (e.g., zero address).
2313
+ **/
2314
+ InvalidSpender: GenericPalletError;
2315
+
2316
+ /**
2317
+ * Generic pallet error
2318
+ **/
2319
+ [error: string]: GenericPalletError;
2320
+ };
2272
2321
  /**
2273
2322
  * Pallet `StateTrieMigration`'s errors
2274
2323
  **/
@@ -1781,6 +1781,26 @@ export interface ChainEvents extends GenericChainEvents {
1781
1781
  **/
1782
1782
  ReservesRemoved: GenericPalletEvent<'Assets', 'ReservesRemoved', { assetId: number }>;
1783
1783
 
1784
+ /**
1785
+ * Some assets were issued as Credit (no owner yet).
1786
+ **/
1787
+ IssuedCredit: GenericPalletEvent<'Assets', 'IssuedCredit', { assetId: number; amount: bigint }>;
1788
+
1789
+ /**
1790
+ * Some assets Credit was destroyed.
1791
+ **/
1792
+ BurnedCredit: GenericPalletEvent<'Assets', 'BurnedCredit', { assetId: number; amount: bigint }>;
1793
+
1794
+ /**
1795
+ * Some assets were burned and a Debt was created.
1796
+ **/
1797
+ IssuedDebt: GenericPalletEvent<'Assets', 'IssuedDebt', { assetId: number; amount: bigint }>;
1798
+
1799
+ /**
1800
+ * Some assets Debt was destroyed (and assets issued).
1801
+ **/
1802
+ BurnedDebt: GenericPalletEvent<'Assets', 'BurnedDebt', { assetId: number; amount: bigint }>;
1803
+
1784
1804
  /**
1785
1805
  * Generic pallet event
1786
1806
  **/
@@ -2523,6 +2543,34 @@ export interface ChainEvents extends GenericChainEvents {
2523
2543
  **/
2524
2544
  ReservesRemoved: GenericPalletEvent<'ForeignAssets', 'ReservesRemoved', { assetId: StagingXcmV5Location }>;
2525
2545
 
2546
+ /**
2547
+ * Some assets were issued as Credit (no owner yet).
2548
+ **/
2549
+ IssuedCredit: GenericPalletEvent<
2550
+ 'ForeignAssets',
2551
+ 'IssuedCredit',
2552
+ { assetId: StagingXcmV5Location; amount: bigint }
2553
+ >;
2554
+
2555
+ /**
2556
+ * Some assets Credit was destroyed.
2557
+ **/
2558
+ BurnedCredit: GenericPalletEvent<
2559
+ 'ForeignAssets',
2560
+ 'BurnedCredit',
2561
+ { assetId: StagingXcmV5Location; amount: bigint }
2562
+ >;
2563
+
2564
+ /**
2565
+ * Some assets were burned and a Debt was created.
2566
+ **/
2567
+ IssuedDebt: GenericPalletEvent<'ForeignAssets', 'IssuedDebt', { assetId: StagingXcmV5Location; amount: bigint }>;
2568
+
2569
+ /**
2570
+ * Some assets Debt was destroyed (and assets issued).
2571
+ **/
2572
+ BurnedDebt: GenericPalletEvent<'ForeignAssets', 'BurnedDebt', { assetId: StagingXcmV5Location; amount: bigint }>;
2573
+
2526
2574
  /**
2527
2575
  * Generic pallet event
2528
2576
  **/
@@ -2736,6 +2784,26 @@ export interface ChainEvents extends GenericChainEvents {
2736
2784
  **/
2737
2785
  ReservesRemoved: GenericPalletEvent<'PoolAssets', 'ReservesRemoved', { assetId: number }>;
2738
2786
 
2787
+ /**
2788
+ * Some assets were issued as Credit (no owner yet).
2789
+ **/
2790
+ IssuedCredit: GenericPalletEvent<'PoolAssets', 'IssuedCredit', { assetId: number; amount: bigint }>;
2791
+
2792
+ /**
2793
+ * Some assets Credit was destroyed.
2794
+ **/
2795
+ BurnedCredit: GenericPalletEvent<'PoolAssets', 'BurnedCredit', { assetId: number; amount: bigint }>;
2796
+
2797
+ /**
2798
+ * Some assets were burned and a Debt was created.
2799
+ **/
2800
+ IssuedDebt: GenericPalletEvent<'PoolAssets', 'IssuedDebt', { assetId: number; amount: bigint }>;
2801
+
2802
+ /**
2803
+ * Some assets Debt was destroyed (and assets issued).
2804
+ **/
2805
+ BurnedDebt: GenericPalletEvent<'PoolAssets', 'BurnedDebt', { assetId: number; amount: bigint }>;
2806
+
2739
2807
  /**
2740
2808
  * Generic pallet event
2741
2809
  **/
@@ -54,7 +54,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
54
54
 
55
55
  /**
56
56
  * @name: WestendAssetHubApi
57
- * @specVersion: 1022000
57
+ * @specVersion: 1022001
58
58
  **/
59
59
  export interface WestendAssetHubApi extends GenericSubstrateApi {
60
60
  rpc: ChainJsonRpcApis;