@polkadot/api-augment 9.11.3 → 9.13.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.
@@ -13,6 +13,6 @@ const packageInfo = {
13
13
  name: '@polkadot/api-augment',
14
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
15
15
  type: 'cjs',
16
- version: '9.11.3'
16
+ version: '9.13.1'
17
17
  };
18
18
  exports.packageInfo = packageInfo;
@@ -532,6 +532,10 @@ declare module '@polkadot/api-base/types/consts' {
532
532
  * this value multiplied by `Period`.
533
533
  **/
534
534
  queueCount: u32 & AugmentedConst<ApiType>;
535
+ /**
536
+ * The name for the reserve ID.
537
+ **/
538
+ reserveId: U8aFixed & AugmentedConst<ApiType>;
535
539
  /**
536
540
  * The maximum proportion which may be thawed and the period over which it is reset.
537
541
  **/
@@ -1028,6 +1028,18 @@ declare module '@polkadot/api-base/types/errors' {
1028
1028
  [key: string]: AugmentedError<ApiType>;
1029
1029
  };
1030
1030
  nis: {
1031
+ /**
1032
+ * The receipt is already communal.
1033
+ **/
1034
+ AlreadyCommunal: AugmentedError<ApiType>;
1035
+ /**
1036
+ * There are enough funds for what is required.
1037
+ **/
1038
+ AlreadyFunded: AugmentedError<ApiType>;
1039
+ /**
1040
+ * The receipt is already private.
1041
+ **/
1042
+ AlreadyPrivate: AugmentedError<ApiType>;
1031
1043
  /**
1032
1044
  * The amount of the bid is less than the minimum allowed.
1033
1045
  **/
@@ -1045,10 +1057,6 @@ declare module '@polkadot/api-base/types/errors' {
1045
1057
  * The duration of the bid is less than one.
1046
1058
  **/
1047
1059
  DurationTooSmall: AugmentedError<ApiType>;
1048
- /**
1049
- * There are enough funds for what is required.
1050
- **/
1051
- Funded: AugmentedError<ApiType>;
1052
1060
  /**
1053
1061
  * The operation would result in a receipt worth an insignficant value.
1054
1062
  **/
@@ -1057,30 +1065,30 @@ declare module '@polkadot/api-base/types/errors' {
1057
1065
  * Bond not yet at expiry date.
1058
1066
  **/
1059
1067
  NotExpired: AugmentedError<ApiType>;
1060
- /**
1061
- * The given bid for retraction is not found.
1062
- **/
1063
- NotFound: AugmentedError<ApiType>;
1064
1068
  /**
1065
1069
  * Not the owner of the receipt.
1066
1070
  **/
1067
1071
  NotOwner: AugmentedError<ApiType>;
1068
1072
  /**
1069
- * The thaw throttle has been reached for this period.
1073
+ * The portion supplied is beyond the value of the receipt.
1070
1074
  **/
1071
- Throttled: AugmentedError<ApiType>;
1075
+ PortionTooBig: AugmentedError<ApiType>;
1072
1076
  /**
1073
- * The portion supplied is beyond the value of the receipt.
1077
+ * The thaw throttle has been reached for this period.
1074
1078
  **/
1075
- TooMuch: AugmentedError<ApiType>;
1079
+ Throttled: AugmentedError<ApiType>;
1076
1080
  /**
1077
1081
  * Not enough funds are held to pay out.
1078
1082
  **/
1079
1083
  Unfunded: AugmentedError<ApiType>;
1080
1084
  /**
1081
- * Bond index is unknown.
1085
+ * The given bid for retraction is not found.
1086
+ **/
1087
+ UnknownBid: AugmentedError<ApiType>;
1088
+ /**
1089
+ * Receipt index is unknown.
1082
1090
  **/
1083
- Unknown: AugmentedError<ApiType>;
1091
+ UnknownReceipt: AugmentedError<ApiType>;
1084
1092
  /**
1085
1093
  * Generic error
1086
1094
  **/
@@ -2305,6 +2313,10 @@ declare module '@polkadot/api-base/types/errors' {
2305
2313
  [key: string]: AugmentedError<ApiType>;
2306
2314
  };
2307
2315
  xcmPallet: {
2316
+ /**
2317
+ * The given account is not an identifiable sovereign account for any location.
2318
+ **/
2319
+ AccountNotSovereign: AugmentedError<ApiType>;
2308
2320
  /**
2309
2321
  * The location is invalid since it already has a subscription from us.
2310
2322
  **/
@@ -2330,14 +2342,34 @@ declare module '@polkadot/api-base/types/errors' {
2330
2342
  * The assets to be sent are empty.
2331
2343
  **/
2332
2344
  Empty: AugmentedError<ApiType>;
2345
+ /**
2346
+ * The operation required fees to be paid which the initiator could not meet.
2347
+ **/
2348
+ FeesNotMet: AugmentedError<ApiType>;
2333
2349
  /**
2334
2350
  * The message execution fails the filter.
2335
2351
  **/
2336
2352
  Filtered: AugmentedError<ApiType>;
2353
+ /**
2354
+ * The unlock operation cannot succeed because there are still users of the lock.
2355
+ **/
2356
+ InUse: AugmentedError<ApiType>;
2357
+ /**
2358
+ * Invalid asset for the operation.
2359
+ **/
2360
+ InvalidAsset: AugmentedError<ApiType>;
2337
2361
  /**
2338
2362
  * Origin is invalid for sending.
2339
2363
  **/
2340
2364
  InvalidOrigin: AugmentedError<ApiType>;
2365
+ /**
2366
+ * A remote lock with the corresponding data could not be found.
2367
+ **/
2368
+ LockNotFound: AugmentedError<ApiType>;
2369
+ /**
2370
+ * The owner does not own (all) of the asset that they wish to do the operation on.
2371
+ **/
2372
+ LowBalance: AugmentedError<ApiType>;
2341
2373
  /**
2342
2374
  * The referenced subscription could not be found.
2343
2375
  **/
@@ -2351,6 +2383,10 @@ declare module '@polkadot/api-base/types/errors' {
2351
2383
  * Too many assets have been attempted for transfer.
2352
2384
  **/
2353
2385
  TooManyAssets: AugmentedError<ApiType>;
2386
+ /**
2387
+ * The asset owner has too many locks on the asset.
2388
+ **/
2389
+ TooManyLocks: AugmentedError<ApiType>;
2354
2390
  /**
2355
2391
  * The desired destination was unreachable, generally because there is a no way of routing
2356
2392
  * to it.
@@ -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, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } 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> {
@@ -516,6 +516,14 @@ declare module '@polkadot/api-base/types/events' {
516
516
  compute: PalletElectionProviderMultiPhaseElectionCompute;
517
517
  score: SpNposElectionsElectionScore;
518
518
  }>;
519
+ /**
520
+ * There was a phase transition in a given round.
521
+ **/
522
+ PhaseTransitioned: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiPhasePhase, to: PalletElectionProviderMultiPhasePhase, round: u32], {
523
+ from: PalletElectionProviderMultiPhasePhase;
524
+ to: PalletElectionProviderMultiPhasePhase;
525
+ round: u32;
526
+ }>;
519
527
  /**
520
528
  * An account has been rewarded for their signed submission being finalized.
521
529
  **/
@@ -523,12 +531,6 @@ declare module '@polkadot/api-base/types/events' {
523
531
  account: AccountId32;
524
532
  value: u128;
525
533
  }>;
526
- /**
527
- * The signed phase of the given round has started.
528
- **/
529
- SignedPhaseStarted: AugmentedEvent<ApiType, [round: u32], {
530
- round: u32;
531
- }>;
532
534
  /**
533
535
  * An account has been slashed for submitting an invalid signed submission.
534
536
  **/
@@ -539,21 +541,17 @@ declare module '@polkadot/api-base/types/events' {
539
541
  /**
540
542
  * A solution was stored with the given compute.
541
543
  *
542
- * If the solution is signed, this means that it hasn't yet been processed. If the
543
- * solution is unsigned, this means that it has also been processed.
544
- *
545
- * The `bool` is `true` when a previous solution was ejected to make room for this one.
544
+ * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
545
+ * the stored solution was submited in the signed phase by a miner with the `AccountId`.
546
+ * Otherwise, the solution was stored either during the unsigned phase or by
547
+ * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
548
+ * room for this one.
546
549
  **/
547
- SolutionStored: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, prevEjected: bool], {
550
+ SolutionStored: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool], {
548
551
  compute: PalletElectionProviderMultiPhaseElectionCompute;
552
+ origin: Option<AccountId32>;
549
553
  prevEjected: bool;
550
554
  }>;
551
- /**
552
- * The unsigned phase of the given round has started.
553
- **/
554
- UnsignedPhaseStarted: AugmentedEvent<ApiType, [round: u32], {
555
- round: u32;
556
- }>;
557
555
  /**
558
556
  * Generic event
559
557
  **/
@@ -567,12 +565,14 @@ declare module '@polkadot/api-base/types/events' {
567
565
  eras: Vec<u32>;
568
566
  }>;
569
567
  /**
570
- * A batch was terminated.
568
+ * A batch of a given size was terminated.
571
569
  *
572
570
  * This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
573
571
  * of the batch. A new batch will be created upon next block.
574
572
  **/
575
- BatchFinished: AugmentedEvent<ApiType, []>;
573
+ BatchFinished: AugmentedEvent<ApiType, [size_: u32], {
574
+ size_: u32;
575
+ }>;
576
576
  /**
577
577
  * An internal error happened. Operations will be paused now.
578
578
  **/
@@ -1825,6 +1825,12 @@ declare module '@polkadot/api-base/types/events' {
1825
1825
  validatorPayout: u128;
1826
1826
  remainder: u128;
1827
1827
  }>;
1828
+ /**
1829
+ * A new force era mode was set.
1830
+ **/
1831
+ ForceEra: AugmentedEvent<ApiType, [mode: PalletStakingForcing], {
1832
+ mode: PalletStakingForcing;
1833
+ }>;
1828
1834
  /**
1829
1835
  * A nominator has been kicked from a validator.
1830
1836
  **/
@@ -2163,7 +2169,7 @@ declare module '@polkadot/api-base/types/events' {
2163
2169
  * Upward message executed with the given outcome.
2164
2170
  * \[ id, outcome \]
2165
2171
  **/
2166
- ExecutedUpward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;
2172
+ ExecutedUpward: AugmentedEvent<ApiType, [U8aFixed, XcmV3TraitsOutcome]>;
2167
2173
  /**
2168
2174
  * Upward message is invalid XCM.
2169
2175
  * \[ id \]
@@ -2306,19 +2312,45 @@ declare module '@polkadot/api-base/types/events' {
2306
2312
  *
2307
2313
  * \[ hash, origin, assets \]
2308
2314
  **/
2309
- AssetsClaimed: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
2315
+ AssetsClaimed: AugmentedEvent<ApiType, [H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>;
2310
2316
  /**
2311
2317
  * Some assets have been placed in an asset trap.
2312
2318
  *
2313
2319
  * \[ hash, origin, assets \]
2314
2320
  **/
2315
- AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
2321
+ AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>;
2316
2322
  /**
2317
2323
  * Execution of an XCM message was attempted.
2318
2324
  *
2319
2325
  * \[ outcome \]
2320
2326
  **/
2321
- Attempted: AugmentedEvent<ApiType, [XcmV2TraitsOutcome]>;
2327
+ Attempted: AugmentedEvent<ApiType, [XcmV3TraitsOutcome]>;
2328
+ /**
2329
+ * Fees were paid from a location for an operation (often for using `SendXcm`).
2330
+ *
2331
+ * \[ paying location, fees \]
2332
+ **/
2333
+ FeesPaid: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
2334
+ /**
2335
+ * Expected query response has been received but the querier location of the response does
2336
+ * not match the expected. The query remains registered for a later, valid, response to
2337
+ * be received and acted upon.
2338
+ *
2339
+ * \[ origin location, id, expected querier, maybe actual querier \]
2340
+ **/
2341
+ InvalidQuerier: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, XcmV3MultiLocation, Option<XcmV3MultiLocation>]>;
2342
+ /**
2343
+ * Expected query response has been received but the expected querier location placed in
2344
+ * storage by this runtime previously cannot be decoded. The query remains registered.
2345
+ *
2346
+ * This is unexpected (since a location placed in storage in a previously executing
2347
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
2348
+ * valid response will be dropped. Manual governance intervention is probably going to be
2349
+ * needed.
2350
+ *
2351
+ * \[ origin location, id \]
2352
+ **/
2353
+ InvalidQuerierVersion: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]>;
2322
2354
  /**
2323
2355
  * Expected query response has been received but the origin location of the response does
2324
2356
  * not match that expected. The query remains registered for a later, valid, response to
@@ -2326,7 +2358,7 @@ declare module '@polkadot/api-base/types/events' {
2326
2358
  *
2327
2359
  * \[ origin location, id, expected location \]
2328
2360
  **/
2329
- InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
2361
+ InvalidResponder: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, Option<XcmV3MultiLocation>]>;
2330
2362
  /**
2331
2363
  * Expected query response has been received but the expected origin location placed in
2332
2364
  * storage by this runtime previously cannot be decoded. The query remains registered.
@@ -2338,7 +2370,7 @@ declare module '@polkadot/api-base/types/events' {
2338
2370
  *
2339
2371
  * \[ origin location, id \]
2340
2372
  **/
2341
- InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;
2373
+ InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]>;
2342
2374
  /**
2343
2375
  * Query response has been received and query is removed. The registered notification has
2344
2376
  * been dispatched and executed successfully.
@@ -2382,14 +2414,14 @@ declare module '@polkadot/api-base/types/events' {
2382
2414
  *
2383
2415
  * \[ location, query ID, error \]
2384
2416
  **/
2385
- NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, XcmV2TraitsError]>;
2417
+ NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, XcmV3TraitsError]>;
2386
2418
  /**
2387
2419
  * Query response has been received and is ready for taking with `take_response`. There is
2388
2420
  * no registered notification call.
2389
2421
  *
2390
2422
  * \[ id, response \]
2391
2423
  **/
2392
- ResponseReady: AugmentedEvent<ApiType, [u64, XcmV2Response]>;
2424
+ ResponseReady: AugmentedEvent<ApiType, [u64, XcmV3Response]>;
2393
2425
  /**
2394
2426
  * Received query response has been read and removed.
2395
2427
  *
@@ -2401,14 +2433,14 @@ declare module '@polkadot/api-base/types/events' {
2401
2433
  *
2402
2434
  * \[ origin, destination, message \]
2403
2435
  **/
2404
- Sent: AugmentedEvent<ApiType, [XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
2436
+ Sent: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiLocation, XcmV3Xcm]>;
2405
2437
  /**
2406
2438
  * The supported version of a location has been changed. This might be through an
2407
2439
  * automatic notification or a manual intervention.
2408
2440
  *
2409
2441
  * \[ location, XCM version \]
2410
2442
  **/
2411
- SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;
2443
+ SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV3MultiLocation, u32]>;
2412
2444
  /**
2413
2445
  * Query response received which does not match a registered query. This may be because a
2414
2446
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -2416,13 +2448,34 @@ declare module '@polkadot/api-base/types/events' {
2416
2448
  *
2417
2449
  * \[ origin location, id \]
2418
2450
  **/
2419
- UnexpectedResponse: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;
2451
+ UnexpectedResponse: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]>;
2420
2452
  /**
2421
2453
  * An XCM version change notification message has been attempted to be sent.
2422
2454
  *
2423
- * \[ destination, result \]
2455
+ * The cost of sending it (borne by the chain) is included.
2456
+ *
2457
+ * \[ destination, result, cost \]
2458
+ **/
2459
+ VersionChangeNotified: AugmentedEvent<ApiType, [XcmV3MultiLocation, u32, XcmV3MultiassetMultiAssets]>;
2460
+ /**
2461
+ * We have requested that a remote chain sends us XCM version change notifications.
2462
+ *
2463
+ * \[ destination location, cost \]
2464
+ **/
2465
+ VersionNotifyRequested: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
2466
+ /**
2467
+ * A remote has requested XCM version change notification from us and we have honored it.
2468
+ * A version information message is sent to them and its cost is included.
2469
+ *
2470
+ * \[ destination location, cost \]
2471
+ **/
2472
+ VersionNotifyStarted: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
2473
+ /**
2474
+ * We have requested that a remote chain stops sending us XCM version change notifications.
2475
+ *
2476
+ * \[ destination location, cost \]
2424
2477
  **/
2425
- VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;
2478
+ VersionNotifyUnrequested: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
2426
2479
  /**
2427
2480
  * Generic event
2428
2481
  **/
package/kusama/query.d.ts CHANGED
@@ -5,7 +5,7 @@ import type { Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
7
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
9
9
  import type { Observable } from '@polkadot/types/types';
10
10
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
11
11
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -561,6 +561,8 @@ declare module '@polkadot/api-base/types/storage' {
561
561
  * The map of all accounts wishing to be unstaked.
562
562
  *
563
563
  * Keeps track of `AccountId` wishing to unstake and it's corresponding deposit.
564
+ *
565
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
564
566
  **/
565
567
  queue: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
566
568
  /**
@@ -1007,6 +1009,8 @@ declare module '@polkadot/api-base/types/storage' {
1007
1009
  minJoinBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1008
1010
  /**
1009
1011
  * Active members.
1012
+ *
1013
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1010
1014
  **/
1011
1015
  poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1012
1016
  /**
@@ -1649,6 +1653,8 @@ declare module '@polkadot/api-base/types/storage' {
1649
1653
  activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
1650
1654
  /**
1651
1655
  * Map from all locked "stash" accounts to the controller account.
1656
+ *
1657
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1652
1658
  **/
1653
1659
  bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1654
1660
  /**
@@ -1809,6 +1815,8 @@ declare module '@polkadot/api-base/types/storage' {
1809
1815
  *
1810
1816
  * Lastly, if any of the nominators become non-decodable, they can be chilled immediately via
1811
1817
  * [`Call::chill_other`] dispatchable by anyone.
1818
+ *
1819
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1812
1820
  **/
1813
1821
  nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1814
1822
  /**
@@ -1829,6 +1837,8 @@ declare module '@polkadot/api-base/types/storage' {
1829
1837
  offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, []> & QueryableStorageEntry<ApiType, []>;
1830
1838
  /**
1831
1839
  * Where the reward payment should be made. Keyed by stash.
1840
+ *
1841
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1832
1842
  **/
1833
1843
  payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingRewardDestination>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1834
1844
  /**
@@ -1856,6 +1866,8 @@ declare module '@polkadot/api-base/types/storage' {
1856
1866
  validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1857
1867
  /**
1858
1868
  * The map from (wannabe) validator stash key to the preferences of that validator.
1869
+ *
1870
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1859
1871
  **/
1860
1872
  validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1861
1873
  /**
@@ -2060,6 +2072,10 @@ declare module '@polkadot/api-base/types/storage' {
2060
2072
  [key: string]: QueryableStorageEntry<ApiType>;
2061
2073
  };
2062
2074
  ump: {
2075
+ /**
2076
+ * Counter for the related counted storage map
2077
+ **/
2078
+ counterForOverweight: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2063
2079
  /**
2064
2080
  * The ordered list of `ParaId`s that have a `RelayDispatchQueue` entry.
2065
2081
  *
@@ -2172,6 +2188,10 @@ declare module '@polkadot/api-base/types/storage' {
2172
2188
  * The current migration's stage, if any.
2173
2189
  **/
2174
2190
  currentMigration: AugmentedQuery<ApiType, () => Observable<Option<PalletXcmVersionMigrationStage>>, []> & QueryableStorageEntry<ApiType, []>;
2191
+ /**
2192
+ * Fungible assets which we know are locked on this chain.
2193
+ **/
2194
+ lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedMultiLocation]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2175
2195
  /**
2176
2196
  * The ongoing queries.
2177
2197
  **/
@@ -2180,6 +2200,12 @@ declare module '@polkadot/api-base/types/storage' {
2180
2200
  * The latest available query index.
2181
2201
  **/
2182
2202
  queryCounter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
2203
+ /**
2204
+ * Fungible assets which we know are locked on a remote chain.
2205
+ **/
2206
+ remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | {
2207
+ V3: any;
2208
+ } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
2183
2209
  /**
2184
2210
  * Default version to encode XCM when latest version of destination is unknown. If `None`,
2185
2211
  * then the destinations whose XCM version is unknown are considered unreachable.
@@ -2189,9 +2215,9 @@ declare module '@polkadot/api-base/types/storage' {
2189
2215
  * The Latest versions that we know various locations support.
2190
2216
  **/
2191
2217
  supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | {
2192
- V0: any;
2218
+ V2: any;
2193
2219
  } | {
2194
- V1: any;
2220
+ V3: any;
2195
2221
  } | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
2196
2222
  /**
2197
2223
  * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
@@ -2203,19 +2229,19 @@ declare module '@polkadot/api-base/types/storage' {
2203
2229
  * All locations that we have requested version notifications from.
2204
2230
  **/
2205
2231
  versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | {
2206
- V0: any;
2232
+ V2: any;
2207
2233
  } | {
2208
- V1: any;
2234
+ V3: any;
2209
2235
  } | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
2210
2236
  /**
2211
2237
  * The target locations that are subscribed to our version changes, as well as the most recent
2212
2238
  * of our versions we informed them of.
2213
2239
  **/
2214
2240
  versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | {
2215
- V0: any;
2241
+ V2: any;
2216
2242
  } | {
2217
- V1: any;
2218
- } | string | Uint8Array) => Observable<Option<ITuple<[u64, u64, u32]>>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
2243
+ V3: any;
2244
+ } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
2219
2245
  /**
2220
2246
  * Generic query
2221
2247
  **/
@@ -13,7 +13,7 @@ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
13
13
  import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
14
14
  import type { CandidateCommitments, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
15
15
  import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
16
- import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
16
+ import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
17
17
  import type { SessionIndex } from '@polkadot/types/interfaces/session';
18
18
  import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
19
19
  import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
@@ -383,7 +383,7 @@ declare module '@polkadot/api-base/types/calls' {
383
383
  **/
384
384
  [key: string]: DecoratedCallBase<ApiType>;
385
385
  };
386
- /** 0x37c8bb1350a9a2a8/2 */
386
+ /** 0x37c8bb1350a9a2a8/3 */
387
387
  transactionPaymentApi: {
388
388
  /**
389
389
  * The transaction fee details
@@ -393,12 +393,23 @@ declare module '@polkadot/api-base/types/calls' {
393
393
  * The transaction info
394
394
  **/
395
395
  queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
396
+ /**
397
+ * Query the output of the current LengthToFee given some input
398
+ **/
399
+ queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
400
+ /**
401
+ * Query the output of the current WeightToFee given some input
402
+ **/
403
+ queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | {
404
+ refTime?: any;
405
+ proofSize?: any;
406
+ } | string | Uint8Array) => Observable<Balance>>;
396
407
  /**
397
408
  * Generic call
398
409
  **/
399
410
  [key: string]: DecoratedCallBase<ApiType>;
400
411
  };
401
- /** 0xf3ff14d5ab527059/2 */
412
+ /** 0xf3ff14d5ab527059/3 */
402
413
  transactionPaymentCallApi: {
403
414
  /**
404
415
  * The call fee details
@@ -408,6 +419,17 @@ declare module '@polkadot/api-base/types/calls' {
408
419
  * The call info
409
420
  **/
410
421
  queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
422
+ /**
423
+ * Query the output of the current LengthToFee given some input
424
+ **/
425
+ queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
426
+ /**
427
+ * Query the output of the current WeightToFee given some input
428
+ **/
429
+ queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | {
430
+ refTime?: any;
431
+ proofSize?: any;
432
+ } | string | Uint8Array) => Observable<Balance>>;
411
433
  /**
412
434
  * Generic call
413
435
  **/