@polkadot/api-augment 16.3.1 → 16.4.2

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.
@@ -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 { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, 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> {
@@ -391,19 +391,26 @@ declare module '@polkadot/api-base/types/events' {
391
391
  **/
392
392
  Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
393
393
  /**
394
- * An account that has voted
394
+ * An account has voted
395
395
  **/
396
396
  Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
397
397
  who: AccountId32;
398
398
  vote: PalletConvictionVotingVoteAccountVote;
399
399
  }>;
400
400
  /**
401
- * A vote that been removed
401
+ * A vote has been removed
402
402
  **/
403
403
  VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
404
404
  who: AccountId32;
405
405
  vote: PalletConvictionVotingVoteAccountVote;
406
406
  }>;
407
+ /**
408
+ * The lockup period of a conviction vote expired, and the funds have been unlocked.
409
+ **/
410
+ VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], {
411
+ who: AccountId32;
412
+ class: u16;
413
+ }>;
407
414
  /**
408
415
  * Generic event
409
416
  **/
@@ -873,6 +880,15 @@ declare module '@polkadot/api-base/types/events' {
873
880
  [key: string]: AugmentedEvent<ApiType>;
874
881
  };
875
882
  indices: {
883
+ /**
884
+ * A deposit to reserve an index has been poked/reconsidered.
885
+ **/
886
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], {
887
+ who: AccountId32;
888
+ index: u32;
889
+ oldDeposit: u128;
890
+ newDeposit: u128;
891
+ }>;
876
892
  /**
877
893
  * A account index was assigned.
878
894
  **/
@@ -938,6 +954,15 @@ declare module '@polkadot/api-base/types/events' {
938
954
  [key: string]: AugmentedEvent<ApiType>;
939
955
  };
940
956
  multisig: {
957
+ /**
958
+ * The deposit for a multisig operation has been updated/poked.
959
+ **/
960
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], {
961
+ who: AccountId32;
962
+ callHash: U8aFixed;
963
+ oldDeposit: u128;
964
+ newDeposit: u128;
965
+ }>;
941
966
  /**
942
967
  * A multisig operation has been approved by someone.
943
968
  **/
@@ -1228,6 +1253,24 @@ declare module '@polkadot/api-base/types/events' {
1228
1253
  Destroyed: AugmentedEvent<ApiType, [poolId: u32], {
1229
1254
  poolId: u32;
1230
1255
  }>;
1256
+ /**
1257
+ * Global parameters regulating nomination pools have been updated.
1258
+ **/
1259
+ GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], {
1260
+ minJoinBond: u128;
1261
+ minCreateBond: u128;
1262
+ maxPools: Option<u32>;
1263
+ maxMembers: Option<u32>;
1264
+ maxMembersPerPool: Option<u32>;
1265
+ globalMaxCommission: Option<Perbill>;
1266
+ }>;
1267
+ /**
1268
+ * A pool member's claim permission has been updated.
1269
+ **/
1270
+ MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PalletNominationPoolsClaimPermission], {
1271
+ member: AccountId32;
1272
+ permission: PalletNominationPoolsClaimPermission;
1273
+ }>;
1231
1274
  /**
1232
1275
  * A member has been removed from a pool.
1233
1276
  *
@@ -1240,6 +1283,13 @@ declare module '@polkadot/api-base/types/events' {
1240
1283
  member: AccountId32;
1241
1284
  releasedBalance: u128;
1242
1285
  }>;
1286
+ /**
1287
+ * A pool's metadata was updated.
1288
+ **/
1289
+ MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
1290
+ poolId: u32;
1291
+ caller: AccountId32;
1292
+ }>;
1243
1293
  /**
1244
1294
  * Topped up deficit in frozen ED of the reward pool.
1245
1295
  **/
@@ -1297,6 +1347,21 @@ declare module '@polkadot/api-base/types/events' {
1297
1347
  poolId: u32;
1298
1348
  maxCommission: Perbill;
1299
1349
  }>;
1350
+ /**
1351
+ * A pool's nominating account (or the pool's root account) has nominated a validator set
1352
+ * on behalf of the pool.
1353
+ **/
1354
+ PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
1355
+ poolId: u32;
1356
+ caller: AccountId32;
1357
+ }>;
1358
+ /**
1359
+ * The pool is chilled i.e. no longer nominating.
1360
+ **/
1361
+ PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
1362
+ poolId: u32;
1363
+ caller: AccountId32;
1364
+ }>;
1300
1365
  /**
1301
1366
  * The active balance of pool `pool_id` has been slashed to `balance`.
1302
1367
  **/
@@ -1383,6 +1448,13 @@ declare module '@polkadot/api-base/types/events' {
1383
1448
  [key: string]: AugmentedEvent<ApiType>;
1384
1449
  };
1385
1450
  onDemandAssignmentProvider: {
1451
+ /**
1452
+ * An account was given credits.
1453
+ **/
1454
+ AccountCredited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
1455
+ who: AccountId32;
1456
+ amount: u128;
1457
+ }>;
1386
1458
  /**
1387
1459
  * An order was placed at some spot price amount by orderer ordered_by
1388
1460
  **/
@@ -1539,6 +1611,15 @@ declare module '@polkadot/api-base/types/events' {
1539
1611
  proxy: AccountId32;
1540
1612
  callHash: H256;
1541
1613
  }>;
1614
+ /**
1615
+ * A deposit stored for proxies or announcements was poked / updated.
1616
+ **/
1617
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], {
1618
+ who: AccountId32;
1619
+ kind: PalletProxyDepositKind;
1620
+ oldDeposit: u128;
1621
+ newDeposit: u128;
1622
+ }>;
1542
1623
  /**
1543
1624
  * A proxy was added.
1544
1625
  **/
@@ -1762,6 +1843,12 @@ declare module '@polkadot/api-base/types/events' {
1762
1843
  [key: string]: AugmentedEvent<ApiType>;
1763
1844
  };
1764
1845
  scheduler: {
1846
+ /**
1847
+ * Agenda is incomplete from `when`.
1848
+ **/
1849
+ AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], {
1850
+ when: u32;
1851
+ }>;
1765
1852
  /**
1766
1853
  * The call for the provided hash was not found so the task has been aborted.
1767
1854
  **/
@@ -1842,6 +1929,18 @@ declare module '@polkadot/api-base/types/events' {
1842
1929
  NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
1843
1930
  sessionIndex: u32;
1844
1931
  }>;
1932
+ /**
1933
+ * Validator has been disabled.
1934
+ **/
1935
+ ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], {
1936
+ validator: AccountId32;
1937
+ }>;
1938
+ /**
1939
+ * Validator has been re-enabled.
1940
+ **/
1941
+ ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], {
1942
+ validator: AccountId32;
1943
+ }>;
1845
1944
  /**
1846
1945
  * Generic event
1847
1946
  **/
@@ -2015,6 +2114,14 @@ declare module '@polkadot/api-base/types/events' {
2015
2114
  ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], {
2016
2115
  failures: u32;
2017
2116
  }>;
2117
+ /**
2118
+ * Staking balance migrated from locks to holds, with any balance that could not be held
2119
+ * is force withdrawn.
2120
+ **/
2121
+ CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], {
2122
+ stash: AccountId32;
2123
+ forceWithdraw: u128;
2124
+ }>;
2018
2125
  /**
2019
2126
  * The era payout has been set; the first balance is the validator-payout; the second is
2020
2127
  * the remainder from the maximum amount of reward.
@@ -2154,6 +2261,13 @@ declare module '@polkadot/api-base/types/events' {
2154
2261
  NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
2155
2262
  account: AccountId32;
2156
2263
  }>;
2264
+ /**
2265
+ * An invalid authorized upgrade was rejected while trying to apply it.
2266
+ **/
2267
+ RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], {
2268
+ codeHash: H256;
2269
+ error: SpRuntimeDispatchError;
2270
+ }>;
2157
2271
  /**
2158
2272
  * On on-chain remark happened.
2159
2273
  **/
@@ -2302,6 +2416,16 @@ declare module '@polkadot/api-base/types/events' {
2302
2416
  DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
2303
2417
  result: Result<Null, SpRuntimeDispatchError>;
2304
2418
  }>;
2419
+ /**
2420
+ * The fallback call was dispatched.
2421
+ **/
2422
+ IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], {
2423
+ mainError: SpRuntimeDispatchError;
2424
+ }>;
2425
+ /**
2426
+ * Main call was dispatched.
2427
+ **/
2428
+ IfElseMainSuccess: AugmentedEvent<ApiType, []>;
2305
2429
  /**
2306
2430
  * A single item within a Batch of dispatches has completed with no error.
2307
2431
  **/
@@ -2375,6 +2499,28 @@ declare module '@polkadot/api-base/types/events' {
2375
2499
  [key: string]: AugmentedEvent<ApiType>;
2376
2500
  };
2377
2501
  xcmPallet: {
2502
+ /**
2503
+ * `target` removed alias authorization for `aliaser`.
2504
+ **/
2505
+ AliasAuthorizationRemoved: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location], {
2506
+ aliaser: StagingXcmV5Location;
2507
+ target: StagingXcmV5Location;
2508
+ }>;
2509
+ /**
2510
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
2511
+ * `expiry` block number.
2512
+ **/
2513
+ AliasAuthorized: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64>], {
2514
+ aliaser: StagingXcmV5Location;
2515
+ target: StagingXcmV5Location;
2516
+ expiry: Option<u64>;
2517
+ }>;
2518
+ /**
2519
+ * `target` removed all alias authorizations.
2520
+ **/
2521
+ AliasesAuthorizationsRemoved: AugmentedEvent<ApiType, [target: StagingXcmV5Location], {
2522
+ target: StagingXcmV5Location;
2523
+ }>;
2378
2524
  /**
2379
2525
  * Some assets have been claimed from an asset trap
2380
2526
  **/
@@ -2508,6 +2654,14 @@ declare module '@polkadot/api-base/types/events' {
2508
2654
  queryId: u64;
2509
2655
  error: XcmV5TraitsError;
2510
2656
  }>;
2657
+ /**
2658
+ * An XCM message failed to process.
2659
+ **/
2660
+ ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], {
2661
+ origin: StagingXcmV5Location;
2662
+ error: XcmV5TraitsError;
2663
+ messageId: U8aFixed;
2664
+ }>;
2511
2665
  /**
2512
2666
  * Query response has been received and is ready for taking with `take_response`. There is
2513
2667
  * no registered notification call.
@@ -2523,7 +2677,16 @@ declare module '@polkadot/api-base/types/events' {
2523
2677
  queryId: u64;
2524
2678
  }>;
2525
2679
  /**
2526
- * A XCM message was sent.
2680
+ * An XCM message failed to send.
2681
+ **/
2682
+ SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], {
2683
+ origin: StagingXcmV5Location;
2684
+ destination: StagingXcmV5Location;
2685
+ error: XcmV3TraitsSendError;
2686
+ messageId: U8aFixed;
2687
+ }>;
2688
+ /**
2689
+ * An XCM message was sent.
2527
2690
  **/
2528
2691
  Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
2529
2692
  origin: StagingXcmV5Location;
package/kusama/query.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  import type { Observable } from '@polkadot/types/types';
9
9
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
10
10
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -1181,6 +1181,10 @@ declare module '@polkadot/api-base/types/storage' {
1181
1181
  * Queue entries that are currently bound to a particular core due to core affinity.
1182
1182
  **/
1183
1183
  affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1184
+ /**
1185
+ * Keeps track of credits owned by each account.
1186
+ **/
1187
+ credits: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1184
1188
  /**
1185
1189
  * Priority queue for all orders which don't yet (or not any more) have any core affinity.
1186
1190
  **/
@@ -1645,6 +1649,9 @@ declare module '@polkadot/api-base/types/storage' {
1645
1649
  * Items to be executed, indexed by the block number that they should be executed on.
1646
1650
  **/
1647
1651
  agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1652
+ /**
1653
+ * Block number at which the agenda began incomplete execution.
1654
+ **/
1648
1655
  incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1649
1656
  /**
1650
1657
  * Lookup from a name to the block number and index of the task.
@@ -1674,7 +1681,7 @@ declare module '@polkadot/api-base/types/storage' {
1674
1681
  * disabled using binary search. It gets cleared when `on_session_ending` returns
1675
1682
  * a new set of identities.
1676
1683
  **/
1677
- disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1684
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
1678
1685
  /**
1679
1686
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
1680
1687
  **/
@@ -1880,16 +1887,6 @@ declare module '@polkadot/api-base/types/storage' {
1880
1887
  * This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
1881
1888
  **/
1882
1889
  currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1883
- /**
1884
- * Indices of validators that have offended in the active era. The offenders are disabled for a
1885
- * whole era. For this reason they are kept here - only staking pallet knows about eras. The
1886
- * implementor of [`DisablingStrategy`] defines if a validator should be disabled which
1887
- * implicitly means that the implementor also controls the max number of disabled validators.
1888
- *
1889
- * The vec is always kept sorted so that we can find whether a given validator has previously
1890
- * offended using binary search.
1891
- **/
1892
- disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1893
1890
  /**
1894
1891
  * Rewards for the last [`Config::HistoryDepth`] eras.
1895
1892
  * If reward hasn't been set or has been removed then 0 reward is returned.
@@ -2176,6 +2173,16 @@ declare module '@polkadot/api-base/types/storage' {
2176
2173
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
2177
2174
  **/
2178
2175
  extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2176
+ /**
2177
+ * The weight reclaimed for the extrinsic.
2178
+ *
2179
+ * This information is available until the end of the extrinsic execution.
2180
+ * More precisely this information is removed in `note_applied_extrinsic`.
2181
+ *
2182
+ * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
2183
+ * reduction.
2184
+ **/
2185
+ extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []> & QueryableStorageEntry<ApiType, []>;
2179
2186
  /**
2180
2187
  * Whether all inherents have been applied.
2181
2188
  **/
@@ -2327,6 +2334,18 @@ declare module '@polkadot/api-base/types/storage' {
2327
2334
  * times this pair has been trapped (usually just 1 if it exists at all).
2328
2335
  **/
2329
2336
  assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
2337
+ /**
2338
+ * Map of authorized aliasers of local origins. Each local location can authorize a list of
2339
+ * other locations to alias into it. Each aliaser is only valid until its inner `expiry`
2340
+ * block number.
2341
+ **/
2342
+ authorizedAliases: AugmentedQuery<ApiType, (arg: XcmVersionedLocation | {
2343
+ V3: any;
2344
+ } | {
2345
+ V4: any;
2346
+ } | {
2347
+ V5: any;
2348
+ } | string | Uint8Array) => Observable<Option<PalletXcmAuthorizedAliasesEntry>>, [XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [XcmVersionedLocation]>;
2330
2349
  /**
2331
2350
  * The current migration's stage, if any.
2332
2351
  **/
@@ -7,7 +7,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
7
7
  import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
8
8
  import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
9
9
  import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
10
- import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
10
+ import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
11
11
  import type { IExtrinsic, Observable } from '@polkadot/types/types';
12
12
  export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
13
13
  export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
@@ -361,7 +361,7 @@ declare module '@polkadot/api-base/types/calls' {
361
361
  **/
362
362
  memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
363
363
  /**
364
- * Returns the pending slash for a given pool member.
364
+ * Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
365
365
  **/
366
366
  memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
367
367
  /**
@@ -432,6 +432,10 @@ declare module '@polkadot/api-base/types/calls' {
432
432
  * Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
433
433
  **/
434
434
  availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
435
+ /**
436
+ * Returns the constraints on the actions that can be taken by a new parachain, block.
437
+ **/
438
+ backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingConstraints>>>;
435
439
  /**
436
440
  * Get a vector of events concerning candidates that occurred within a block.
437
441
  **/
@@ -503,6 +507,10 @@ declare module '@polkadot/api-base/types/calls' {
503
507
  * Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
504
508
  **/
505
509
  pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
510
+ /**
511
+ * Retrieve the scheduling lookahead
512
+ **/
513
+ schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
506
514
  /**
507
515
  * Returns execution parameters for the session.
508
516
  **/