@polkadot/api-augment 12.4.2 → 13.0.1

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.
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.4.2' };
4
+ exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '13.0.1' };
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { Codec, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Junctions } from '@polkadot/types/lookup';
7
7
  export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
8
8
  declare module '@polkadot/api-base/types/consts' {
9
9
  interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -72,10 +72,14 @@ declare module '@polkadot/api-base/types/consts' {
72
72
  /**
73
73
  * The maximum number of locks that should exist on an account.
74
74
  * Not strictly enforced, but used for weight estimation.
75
+ *
76
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
75
77
  **/
76
78
  maxLocks: u32 & AugmentedConst<ApiType>;
77
79
  /**
78
80
  * The maximum number of named reserves that can exist on an account.
81
+ *
82
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
79
83
  **/
80
84
  maxReserves: u32 & AugmentedConst<ApiType>;
81
85
  /**
@@ -196,9 +200,13 @@ declare module '@polkadot/api-base/types/consts' {
196
200
  };
197
201
  coretime: {
198
202
  /**
199
- * The ParaId of the broker system parachain.
203
+ * The ParaId of the coretime chain.
200
204
  **/
201
205
  brokerId: u32 & AugmentedConst<ApiType>;
206
+ /**
207
+ * The coretime chain pot location.
208
+ **/
209
+ brokerPotLocation: StagingXcmV4Junctions & AugmentedConst<ApiType>;
202
210
  /**
203
211
  * Generic const
204
212
  **/
@@ -282,18 +290,10 @@ declare module '@polkadot/api-base/types/consts' {
282
290
  * this value.
283
291
  **/
284
292
  signedMaxWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
285
- /**
286
- * Duration of the signed phase.
287
- **/
288
- signedPhase: u32 & AugmentedConst<ApiType>;
289
293
  /**
290
294
  * Base reward for a signed solution
291
295
  **/
292
296
  signedRewardBase: u128 & AugmentedConst<ApiType>;
293
- /**
294
- * Duration of the unsigned phase.
295
- **/
296
- unsignedPhase: u32 & AugmentedConst<ApiType>;
297
297
  /**
298
298
  * Generic const
299
299
  **/
@@ -381,6 +381,14 @@ declare module '@polkadot/api-base/types/consts' {
381
381
  * size is slightly lower than this as defined by [`MaxMessageLenOf`].
382
382
  **/
383
383
  heapSize: u32 & AugmentedConst<ApiType>;
384
+ /**
385
+ * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
386
+ * should be provided to the message queue for servicing enqueued items `on_idle`.
387
+ * Useful for parachains to process messages at the same block they are received.
388
+ *
389
+ * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
390
+ **/
391
+ idleMaxServiceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
384
392
  /**
385
393
  * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
386
394
  * can happen. Once there are more stale pages than this, then historical pages may be
@@ -389,10 +397,11 @@ declare module '@polkadot/api-base/types/consts' {
389
397
  maxStale: u32 & AugmentedConst<ApiType>;
390
398
  /**
391
399
  * The amount of weight (if any) which should be provided to the message queue for
392
- * servicing enqueued items.
400
+ * servicing enqueued items `on_initialize`.
393
401
  *
394
402
  * This may be legitimately `None` in the case that you will call
395
- * `ServiceQueues::service_queues` manually.
403
+ * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
404
+ * it run in `on_idle`.
396
405
  **/
397
406
  serviceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
398
407
  /**
@@ -507,10 +516,14 @@ declare module '@polkadot/api-base/types/consts' {
507
516
  /**
508
517
  * The maximum number of locks that should exist on an account.
509
518
  * Not strictly enforced, but used for weight estimation.
519
+ *
520
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
510
521
  **/
511
522
  maxLocks: u32 & AugmentedConst<ApiType>;
512
523
  /**
513
524
  * The maximum number of named reserves that can exist on an account.
525
+ *
526
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
514
527
  **/
515
528
  maxReserves: u32 & AugmentedConst<ApiType>;
516
529
  /**
@@ -548,6 +561,15 @@ declare module '@polkadot/api-base/types/consts' {
548
561
  [key: string]: Codec;
549
562
  };
550
563
  onDemandAssignmentProvider: {
564
+ /**
565
+ * The maximum number of blocks some historical revenue
566
+ * information stored for.
567
+ **/
568
+ maxHistoricalRevenue: u32 & AugmentedConst<ApiType>;
569
+ /**
570
+ * Identifier for the internal revenue balance.
571
+ **/
572
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
551
573
  /**
552
574
  * The default value for the spot traffic multiplier.
553
575
  **/
@@ -864,7 +886,7 @@ declare module '@polkadot/api-base/types/consts' {
864
886
  **/
865
887
  ss58Prefix: u16 & AugmentedConst<ApiType>;
866
888
  /**
867
- * Get the chain's current version.
889
+ * Get the chain's in-code version.
868
890
  **/
869
891
  version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
870
892
  /**
@@ -936,19 +958,6 @@ declare module '@polkadot/api-base/types/consts' {
936
958
  * The period during which an approved treasury spend has to be claimed.
937
959
  **/
938
960
  payoutPeriod: u32 & AugmentedConst<ApiType>;
939
- /**
940
- * Fraction of a proposal's value that should be bonded in order to place the proposal.
941
- * An accepted proposal gets these back. A rejected proposal does not.
942
- **/
943
- proposalBond: Permill & AugmentedConst<ApiType>;
944
- /**
945
- * Maximum amount of funds that should be placed in a deposit for making a proposal.
946
- **/
947
- proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
948
- /**
949
- * Minimum amount of funds that should be placed in a deposit for making a proposal.
950
- **/
951
- proposalBondMinimum: u128 & AugmentedConst<ApiType>;
952
961
  /**
953
962
  * Period between successive spends.
954
963
  **/
@@ -8,6 +8,10 @@ declare module '@polkadot/api-base/types/errors' {
8
8
  * The given asset ID already has an assigned conversion rate and cannot be re-created.
9
9
  **/
10
10
  AlreadyExists: AugmentedError<ApiType>;
11
+ /**
12
+ * Overflow ocurred when calculating the inverse rate.
13
+ **/
14
+ Overflow: AugmentedError<ApiType>;
11
15
  /**
12
16
  * The given asset ID is unknown.
13
17
  **/
@@ -266,7 +270,7 @@ declare module '@polkadot/api-base/types/errors' {
266
270
  AlreadyDelegating: AugmentedError<ApiType>;
267
271
  /**
268
272
  * The account currently has votes attached to it and the operation cannot succeed until
269
- * these are removed, either through `unvote` or `reap_vote`.
273
+ * these are removed through `remove_vote`.
270
274
  **/
271
275
  AlreadyVoting: AugmentedError<ApiType>;
272
276
  /**
@@ -315,10 +319,19 @@ declare module '@polkadot/api-base/types/errors' {
315
319
  [key: string]: AugmentedError<ApiType>;
316
320
  };
317
321
  coretime: {
322
+ /**
323
+ * Failed to transfer assets to the coretime chain
324
+ **/
325
+ AssetTransferFailed: AugmentedError<ApiType>;
318
326
  /**
319
327
  * The paraid making the call is not the coretime brokerage system parachain.
320
328
  **/
321
329
  NotBroker: AugmentedError<ApiType>;
330
+ /**
331
+ * Requested revenue information `when` parameter was in the future from the current
332
+ * block height.
333
+ **/
334
+ RequestedFutureRevenue: AugmentedError<ApiType>;
322
335
  /**
323
336
  * Generic error
324
337
  **/
@@ -477,7 +490,7 @@ declare module '@polkadot/api-base/types/errors' {
477
490
  **/
478
491
  OcwCallWrongEra: AugmentedError<ApiType>;
479
492
  /**
480
- * Sumission was prepared for a different round.
493
+ * Submission was prepared for a different round.
481
494
  **/
482
495
  PreDispatchDifferentRound: AugmentedError<ApiType>;
483
496
  /**
@@ -590,6 +603,10 @@ declare module '@polkadot/api-base/types/errors' {
590
603
  * The new member to exchange is the same as the old member
591
604
  **/
592
605
  SameMember: AugmentedError<ApiType>;
606
+ /**
607
+ * The max member count for the rank has been reached.
608
+ **/
609
+ TooManyMembers: AugmentedError<ApiType>;
593
610
  /**
594
611
  * Generic error
595
612
  **/
@@ -640,6 +657,10 @@ declare module '@polkadot/api-base/types/errors' {
640
657
  * The preimage does not exist.
641
658
  **/
642
659
  PreimageNotExist: AugmentedError<ApiType>;
660
+ /**
661
+ * The preimage is stored with a different length than the one provided.
662
+ **/
663
+ PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
643
664
  /**
644
665
  * The queue of the track is empty.
645
666
  **/
@@ -942,7 +963,7 @@ declare module '@polkadot/api-base/types/errors' {
942
963
  **/
943
964
  DurationTooSmall: AugmentedError<ApiType>;
944
965
  /**
945
- * The operation would result in a receipt worth an insignficant value.
966
+ * The operation would result in a receipt worth an insignificant value.
946
967
  **/
947
968
  MakesDust: AugmentedError<ApiType>;
948
969
  /**
@@ -1038,6 +1059,10 @@ declare module '@polkadot/api-base/types/errors' {
1038
1059
  * pool at a time.
1039
1060
  **/
1040
1061
  AccountBelongsToOtherPool: AugmentedError<ApiType>;
1062
+ /**
1063
+ * The pool or member delegation has already migrated to delegate stake.
1064
+ **/
1065
+ AlreadyMigrated: AugmentedError<ApiType>;
1041
1066
  /**
1042
1067
  * Bonding extra is restricted to the exact pending reward amount.
1043
1068
  **/
@@ -1129,10 +1154,18 @@ declare module '@polkadot/api-base/types/errors' {
1129
1154
  * No imbalance in the ED deposit for the pool.
1130
1155
  **/
1131
1156
  NothingToAdjust: AugmentedError<ApiType>;
1157
+ /**
1158
+ * No slash pending that can be applied to the member.
1159
+ **/
1160
+ NothingToSlash: AugmentedError<ApiType>;
1132
1161
  /**
1133
1162
  * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
1134
1163
  **/
1135
1164
  NotKickerOrDestroying: AugmentedError<ApiType>;
1165
+ /**
1166
+ * The pool or member delegation has not migrated yet to delegate stake.
1167
+ **/
1168
+ NotMigrated: AugmentedError<ApiType>;
1136
1169
  /**
1137
1170
  * The caller does not have nominating permissions for the pool.
1138
1171
  **/
@@ -1141,6 +1174,10 @@ declare module '@polkadot/api-base/types/errors' {
1141
1174
  * The pool is not open to join
1142
1175
  **/
1143
1176
  NotOpen: AugmentedError<ApiType>;
1177
+ /**
1178
+ * This call is not allowed in the current state of the pallet.
1179
+ **/
1180
+ NotSupported: AugmentedError<ApiType>;
1144
1181
  /**
1145
1182
  * The transaction could not be executed due to overflow risk for the pool.
1146
1183
  **/
@@ -1175,11 +1212,6 @@ declare module '@polkadot/api-base/types/errors' {
1175
1212
  [key: string]: AugmentedError<ApiType>;
1176
1213
  };
1177
1214
  onDemandAssignmentProvider: {
1178
- /**
1179
- * The `ParaId` supplied to the `place_order` call is not a valid `ParaThread`, making the
1180
- * call is invalid.
1181
- **/
1182
- InvalidParaId: AugmentedError<ApiType>;
1183
1215
  /**
1184
1216
  * The order queue is full, `place_order` will not continue.
1185
1217
  **/
@@ -1195,24 +1227,6 @@ declare module '@polkadot/api-base/types/errors' {
1195
1227
  [key: string]: AugmentedError<ApiType>;
1196
1228
  };
1197
1229
  paraInclusion: {
1198
- /**
1199
- * Bitfield consists of zeros only.
1200
- **/
1201
- BitfieldAllZeros: AugmentedError<ApiType>;
1202
- /**
1203
- * Multiple bitfields submitted by same validator or validators out of order by index.
1204
- **/
1205
- BitfieldDuplicateOrUnordered: AugmentedError<ApiType>;
1206
- /**
1207
- * A bitfield that references a freed core,
1208
- * either intentionally or as part of a concluded
1209
- * invalid dispute.
1210
- **/
1211
- BitfieldReferencesFreedCore: AugmentedError<ApiType>;
1212
- /**
1213
- * Candidate scheduled despite pending candidate already existing for the para.
1214
- **/
1215
- CandidateScheduledBeforeParaFree: AugmentedError<ApiType>;
1216
1230
  /**
1217
1231
  * The candidate's relay-parent was not allowed. Either it was
1218
1232
  * not recent enough or it didn't advance based on the last parachain block.
@@ -1243,10 +1257,6 @@ declare module '@polkadot/api-base/types/errors' {
1243
1257
  * Invalid (bad signature, unknown validator, etc.) backing.
1244
1258
  **/
1245
1259
  InvalidBacking: AugmentedError<ApiType>;
1246
- /**
1247
- * Invalid signature
1248
- **/
1249
- InvalidBitfieldSignature: AugmentedError<ApiType>;
1250
1260
  /**
1251
1261
  * Invalid group index in core assignment.
1252
1262
  **/
@@ -1280,30 +1290,10 @@ declare module '@polkadot/api-base/types/errors' {
1280
1290
  * Code upgrade prematurely.
1281
1291
  **/
1282
1292
  PrematureCodeUpgrade: AugmentedError<ApiType>;
1283
- /**
1284
- * Scheduled cores out of order.
1285
- **/
1286
- ScheduledOutOfOrder: AugmentedError<ApiType>;
1287
- /**
1288
- * A different relay parent was provided compared to the on-chain stored one.
1289
- **/
1290
- UnexpectedRelayParent: AugmentedError<ApiType>;
1291
1293
  /**
1292
1294
  * Candidate submitted but para not scheduled.
1293
1295
  **/
1294
1296
  UnscheduledCandidate: AugmentedError<ApiType>;
1295
- /**
1296
- * Backed candidates are out of order (core index) or contain duplicates.
1297
- **/
1298
- UnsortedOrDuplicateBackedCandidates: AugmentedError<ApiType>;
1299
- /**
1300
- * Dispute statement sets are out of order or contain duplicates.
1301
- **/
1302
- UnsortedOrDuplicateDisputeStatementSet: AugmentedError<ApiType>;
1303
- /**
1304
- * Validator indices are out of order or contains duplicates.
1305
- **/
1306
- UnsortedOrDuplicateValidatorIndices: AugmentedError<ApiType>;
1307
1297
  /**
1308
1298
  * The validation data hash does not match expected.
1309
1299
  **/
@@ -1312,10 +1302,6 @@ declare module '@polkadot/api-base/types/errors' {
1312
1302
  * Validator index out of bounds.
1313
1303
  **/
1314
1304
  ValidatorIndexOutOfBounds: AugmentedError<ApiType>;
1315
- /**
1316
- * Availability bitfield has unexpected size.
1317
- **/
1318
- WrongBitfieldSize: AugmentedError<ApiType>;
1319
1305
  /**
1320
1306
  * Generic error
1321
1307
  **/
@@ -1323,25 +1309,10 @@ declare module '@polkadot/api-base/types/errors' {
1323
1309
  };
1324
1310
  paraInherent: {
1325
1311
  /**
1326
- * A candidate was backed by a disabled validator
1327
- **/
1328
- BackedByDisabled: AugmentedError<ApiType>;
1329
- /**
1330
- * A candidate was backed even though the paraid was not scheduled.
1331
- **/
1332
- BackedOnUnscheduledCore: AugmentedError<ApiType>;
1333
- /**
1334
- * Disputed candidate that was concluded invalid.
1312
+ * A candidate was filtered during inherent execution. This should have only been done
1313
+ * during creation.
1335
1314
  **/
1336
- CandidateConcludedInvalid: AugmentedError<ApiType>;
1337
- /**
1338
- * A dispute statement was invalid.
1339
- **/
1340
- DisputeInvalid: AugmentedError<ApiType>;
1341
- /**
1342
- * The ordering of dispute statements was invalid.
1343
- **/
1344
- DisputeStatementsUnsortedOrDuplicates: AugmentedError<ApiType>;
1315
+ CandidatesFilteredDuringExecution: AugmentedError<ApiType>;
1345
1316
  /**
1346
1317
  * The data given to the inherent will result in an overweight block.
1347
1318
  **/
@@ -1385,6 +1356,10 @@ declare module '@polkadot/api-base/types/errors' {
1385
1356
  * Parachain cannot currently schedule a code upgrade.
1386
1357
  **/
1387
1358
  CannotUpgradeCode: AugmentedError<ApiType>;
1359
+ /**
1360
+ * Invalid validation code size.
1361
+ **/
1362
+ InvalidCode: AugmentedError<ApiType>;
1388
1363
  /**
1389
1364
  * Para is not registered in our system.
1390
1365
  **/
@@ -1496,6 +1471,10 @@ declare module '@polkadot/api-base/types/errors' {
1496
1471
  * Preimage has already been noted on-chain.
1497
1472
  **/
1498
1473
  AlreadyNoted: AugmentedError<ApiType>;
1474
+ /**
1475
+ * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
1476
+ **/
1477
+ NoCost: AugmentedError<ApiType>;
1499
1478
  /**
1500
1479
  * The user is not authorized to perform this action.
1501
1480
  **/
@@ -1682,6 +1661,10 @@ declare module '@polkadot/api-base/types/errors' {
1682
1661
  * The preimage does not exist.
1683
1662
  **/
1684
1663
  PreimageNotExist: AugmentedError<ApiType>;
1664
+ /**
1665
+ * The preimage is stored with a different length than the one provided.
1666
+ **/
1667
+ PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
1685
1668
  /**
1686
1669
  * The queue of the track is empty.
1687
1670
  **/
@@ -1721,14 +1704,14 @@ declare module '@polkadot/api-base/types/errors' {
1721
1704
  * Invalid para code size.
1722
1705
  **/
1723
1706
  CodeTooLarge: AugmentedError<ApiType>;
1724
- /**
1725
- * Registering parachain with empty code is not allowed.
1726
- **/
1727
- EmptyCode: AugmentedError<ApiType>;
1728
1707
  /**
1729
1708
  * Invalid para head data size.
1730
1709
  **/
1731
1710
  HeadDataTooLarge: AugmentedError<ApiType>;
1711
+ /**
1712
+ * The validation code is invalid.
1713
+ **/
1714
+ InvalidCode: AugmentedError<ApiType>;
1732
1715
  /**
1733
1716
  * The caller is not the owner of this Id.
1734
1717
  **/
@@ -2050,6 +2033,10 @@ declare module '@polkadot/api-base/types/errors' {
2050
2033
  * Not a controller account.
2051
2034
  **/
2052
2035
  NotController: AugmentedError<ApiType>;
2036
+ /**
2037
+ * Not enough funds available to withdraw.
2038
+ **/
2039
+ NotEnoughFunds: AugmentedError<ApiType>;
2053
2040
  /**
2054
2041
  * Items are not sorted and unique.
2055
2042
  **/
@@ -2062,6 +2049,10 @@ declare module '@polkadot/api-base/types/errors' {
2062
2049
  * Can not rebond without unlocking chunks.
2063
2050
  **/
2064
2051
  NoUnlockChunk: AugmentedError<ApiType>;
2052
+ /**
2053
+ * Provided reward destination is not allowed.
2054
+ **/
2055
+ RewardDestinationRestricted: AugmentedError<ApiType>;
2065
2056
  /**
2066
2057
  * There are too many nominators in the system. Governance needs to adjust the staking
2067
2058
  * settings to keep things safe for the runtime.
@@ -2076,6 +2067,10 @@ declare module '@polkadot/api-base/types/errors' {
2076
2067
  * staking settings to keep things safe for the runtime.
2077
2068
  **/
2078
2069
  TooManyValidators: AugmentedError<ApiType>;
2070
+ /**
2071
+ * Operation not allowed for virtual stakers.
2072
+ **/
2073
+ VirtualStakerNotAllowed: AugmentedError<ApiType>;
2079
2074
  /**
2080
2075
  * Generic error
2081
2076
  **/
@@ -2097,6 +2092,10 @@ declare module '@polkadot/api-base/types/errors' {
2097
2092
  * and the new runtime.
2098
2093
  **/
2099
2094
  InvalidSpecName: AugmentedError<ApiType>;
2095
+ /**
2096
+ * A multi-block migration is ongoing and prevents the current code from being replaced.
2097
+ **/
2098
+ MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
2100
2099
  /**
2101
2100
  * Suicide called when the account has non-default composite data.
2102
2101
  **/
@@ -2145,10 +2144,6 @@ declare module '@polkadot/api-base/types/errors' {
2145
2144
  * amount to be spent.
2146
2145
  **/
2147
2146
  InsufficientPermission: AugmentedError<ApiType>;
2148
- /**
2149
- * Proposer's balance is too low.
2150
- **/
2151
- InsufficientProposersBalance: AugmentedError<ApiType>;
2152
2147
  /**
2153
2148
  * No proposal, bounty or spend at that index.
2154
2149
  **/
@@ -2297,10 +2292,6 @@ declare module '@polkadot/api-base/types/errors' {
2297
2292
  * The unlock operation cannot succeed because there are still consumers of the lock.
2298
2293
  **/
2299
2294
  InUse: AugmentedError<ApiType>;
2300
- /**
2301
- * Invalid non-concrete asset.
2302
- **/
2303
- InvalidAssetNotConcrete: AugmentedError<ApiType>;
2304
2295
  /**
2305
2296
  * Invalid asset, reserve chain could not be determined for it.
2306
2297
  **/
@@ -4,7 +4,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
9
9
  declare module '@polkadot/api-base/types/events' {
10
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -527,7 +527,7 @@ declare module '@polkadot/api-base/types/events' {
527
527
  * A solution was stored with the given compute.
528
528
  *
529
529
  * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
530
- * the stored solution was submited in the signed phase by a miner with the `AccountId`.
530
+ * the stored solution was submitted in the signed phase by a miner with the `AccountId`.
531
531
  * Otherwise, the solution was stored either during the unsigned phase or by
532
532
  * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
533
533
  * room for this one.
@@ -979,7 +979,7 @@ declare module '@polkadot/api-base/types/events' {
979
979
  dropped: bool;
980
980
  }>;
981
981
  /**
982
- * A receipt was transfered.
982
+ * A receipt was transferred.
983
983
  **/
984
984
  Transferred: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, index: u32], {
985
985
  from: AccountId32;
@@ -1329,17 +1329,18 @@ declare module '@polkadot/api-base/types/events' {
1329
1329
  };
1330
1330
  onDemandAssignmentProvider: {
1331
1331
  /**
1332
- * An order was placed at some spot price amount.
1332
+ * An order was placed at some spot price amount by orderer ordered_by
1333
1333
  **/
1334
- OnDemandOrderPlaced: AugmentedEvent<ApiType, [paraId: u32, spotPrice: u128], {
1334
+ OnDemandOrderPlaced: AugmentedEvent<ApiType, [paraId: u32, spotPrice: u128, orderedBy: AccountId32], {
1335
1335
  paraId: u32;
1336
1336
  spotPrice: u128;
1337
+ orderedBy: AccountId32;
1337
1338
  }>;
1338
1339
  /**
1339
- * The value of the spot traffic multiplier changed.
1340
+ * The value of the spot price has likely changed
1340
1341
  **/
1341
- SpotTrafficSet: AugmentedEvent<ApiType, [traffic: u128], {
1342
- traffic: u128;
1342
+ SpotPriceSet: AugmentedEvent<ApiType, [spotPrice: u128], {
1343
+ spotPrice: u128;
1343
1344
  }>;
1344
1345
  /**
1345
1346
  * Generic event
@@ -1350,15 +1351,15 @@ declare module '@polkadot/api-base/types/events' {
1350
1351
  /**
1351
1352
  * A candidate was backed. `[candidate, head_data]`
1352
1353
  **/
1353
- CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32, u32]>;
1354
+ CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32, u32]>;
1354
1355
  /**
1355
1356
  * A candidate was included. `[candidate, head_data]`
1356
1357
  **/
1357
- CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32, u32]>;
1358
+ CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32, u32]>;
1358
1359
  /**
1359
1360
  * A candidate timed out. `[candidate, head_data]`
1360
1361
  **/
1361
- CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32]>;
1362
+ CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32]>;
1362
1363
  /**
1363
1364
  * Some upward messages have been received and will be processed.
1364
1365
  **/
@@ -1371,6 +1372,22 @@ declare module '@polkadot/api-base/types/events' {
1371
1372
  **/
1372
1373
  [key: string]: AugmentedEvent<ApiType>;
1373
1374
  };
1375
+ parameters: {
1376
+ /**
1377
+ * A Parameter was set.
1378
+ *
1379
+ * Is also emitted when the value was not changed.
1380
+ **/
1381
+ Updated: AugmentedEvent<ApiType, [key: StagingKusamaRuntimeRuntimeParametersKey, oldValue: Option<StagingKusamaRuntimeRuntimeParametersValue>, newValue: Option<StagingKusamaRuntimeRuntimeParametersValue>], {
1382
+ key: StagingKusamaRuntimeRuntimeParametersKey;
1383
+ oldValue: Option<StagingKusamaRuntimeRuntimeParametersValue>;
1384
+ newValue: Option<StagingKusamaRuntimeRuntimeParametersValue>;
1385
+ }>;
1386
+ /**
1387
+ * Generic event
1388
+ **/
1389
+ [key: string]: AugmentedEvent<ApiType>;
1390
+ };
1374
1391
  paras: {
1375
1392
  /**
1376
1393
  * A para has been queued to execute pending actions. `para_id`
@@ -1726,6 +1743,30 @@ declare module '@polkadot/api-base/types/events' {
1726
1743
  task: ITuple<[u32, u32]>;
1727
1744
  id: Option<U8aFixed>;
1728
1745
  }>;
1746
+ /**
1747
+ * Cancel a retry configuration for some task.
1748
+ **/
1749
+ RetryCancelled: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
1750
+ task: ITuple<[u32, u32]>;
1751
+ id: Option<U8aFixed>;
1752
+ }>;
1753
+ /**
1754
+ * The given task was unable to be retried since the agenda is full at that block or there
1755
+ * was not enough weight to reschedule it.
1756
+ **/
1757
+ RetryFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
1758
+ task: ITuple<[u32, u32]>;
1759
+ id: Option<U8aFixed>;
1760
+ }>;
1761
+ /**
1762
+ * Set a retry configuration for some task.
1763
+ **/
1764
+ RetrySet: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, period: u32, retries: u8], {
1765
+ task: ITuple<[u32, u32]>;
1766
+ id: Option<U8aFixed>;
1767
+ period: u32;
1768
+ retries: u8;
1769
+ }>;
1729
1770
  /**
1730
1771
  * Scheduled some task.
1731
1772
  **/
@@ -2142,19 +2183,6 @@ declare module '@polkadot/api-base/types/events' {
2142
2183
  index: u32;
2143
2184
  paymentId: u64;
2144
2185
  }>;
2145
- /**
2146
- * New proposal.
2147
- **/
2148
- Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], {
2149
- proposalIndex: u32;
2150
- }>;
2151
- /**
2152
- * A proposal was rejected; funds were slashed.
2153
- **/
2154
- Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], {
2155
- proposalIndex: u32;
2156
- slashed: u128;
2157
- }>;
2158
2186
  /**
2159
2187
  * Spending has finished; this is the amount that rolls over until next spend.
2160
2188
  **/