@polkadot/api-augment 12.0.2 → 12.2.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.
@@ -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 } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, 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, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, 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> {
@@ -601,7 +601,7 @@ declare module '@polkadot/api-base/types/events' {
601
601
  proposedMaxMessageSize: u32;
602
602
  }>;
603
603
  /**
604
- * An HRMP channel was opened between two system chains.
604
+ * An HRMP channel was opened with a system chain.
605
605
  **/
606
606
  HrmpSystemChannelOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], {
607
607
  sender: u32;
@@ -1451,6 +1451,12 @@ declare module '@polkadot/api-base/types/events' {
1451
1451
  Chilled: AugmentedEvent<ApiType, [stash: AccountId32], {
1452
1452
  stash: AccountId32;
1453
1453
  }>;
1454
+ /**
1455
+ * Report of a controller batch deprecation.
1456
+ **/
1457
+ ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], {
1458
+ failures: u32;
1459
+ }>;
1454
1460
  /**
1455
1461
  * The era payout has been set; the first balance is the validator-payout; the second is
1456
1462
  * the remainder from the maximum amount of reward.
@@ -1558,6 +1564,38 @@ declare module '@polkadot/api-base/types/events' {
1558
1564
  **/
1559
1565
  [key: string]: AugmentedEvent<ApiType>;
1560
1566
  };
1567
+ stateTrieMigration: {
1568
+ /**
1569
+ * The auto migration task finished.
1570
+ **/
1571
+ AutoMigrationFinished: AugmentedEvent<ApiType, []>;
1572
+ /**
1573
+ * Migration got halted due to an error or miss-configuration.
1574
+ **/
1575
+ Halted: AugmentedEvent<ApiType, [error: PalletStateTrieMigrationError], {
1576
+ error: PalletStateTrieMigrationError;
1577
+ }>;
1578
+ /**
1579
+ * Given number of `(top, child)` keys were migrated respectively, with the given
1580
+ * `compute`.
1581
+ **/
1582
+ Migrated: AugmentedEvent<ApiType, [top: u32, child: u32, compute: PalletStateTrieMigrationMigrationCompute], {
1583
+ top: u32;
1584
+ child: u32;
1585
+ compute: PalletStateTrieMigrationMigrationCompute;
1586
+ }>;
1587
+ /**
1588
+ * Some account got slashed by the given amount.
1589
+ **/
1590
+ Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
1591
+ who: AccountId32;
1592
+ amount: u128;
1593
+ }>;
1594
+ /**
1595
+ * Generic event
1596
+ **/
1597
+ [key: string]: AugmentedEvent<ApiType>;
1598
+ };
1561
1599
  system: {
1562
1600
  /**
1563
1601
  * `:code` was updated.
@@ -5,7 +5,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128
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, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AssignmentAppPublic, PolkadotPrimitivesV6CandidateCommitments, PolkadotPrimitivesV6DisputeState, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6ScrapedOnChainVotes, PolkadotPrimitivesV6SessionInfo, PolkadotPrimitivesV6SlashingPendingSlashes, PolkadotPrimitivesV6UpgradeGoAhead, PolkadotPrimitivesV6UpgradeRestriction, PolkadotPrimitivesV6ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
8
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AssignmentAppPublic, PolkadotPrimitivesV6CandidateCommitments, PolkadotPrimitivesV6DisputeState, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6ScrapedOnChainVotes, PolkadotPrimitivesV6SessionInfo, PolkadotPrimitivesV6SlashingPendingSlashes, PolkadotPrimitivesV6UpgradeGoAhead, PolkadotPrimitivesV6UpgradeRestriction, PolkadotPrimitivesV6ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedLocation } 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>;
@@ -1772,6 +1772,31 @@ declare module '@polkadot/api-base/types/storage' {
1772
1772
  **/
1773
1773
  [key: string]: QueryableStorageEntry<ApiType>;
1774
1774
  };
1775
+ stateTrieMigration: {
1776
+ /**
1777
+ * The limits that are imposed on automatic migrations.
1778
+ *
1779
+ * If set to None, then no automatic migration happens.
1780
+ **/
1781
+ autoLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
1782
+ /**
1783
+ * Migration progress.
1784
+ *
1785
+ * This stores the snapshot of the last migrated keys. It can be set into motion and move
1786
+ * forward by any of the means provided by this pallet.
1787
+ **/
1788
+ migrationProcess: AugmentedQuery<ApiType, () => Observable<PalletStateTrieMigrationMigrationTask>, []> & QueryableStorageEntry<ApiType, []>;
1789
+ /**
1790
+ * The maximum limits that the signed migration could use.
1791
+ *
1792
+ * If not set, no signed submission is allowed.
1793
+ **/
1794
+ signedMigrationMaxLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
1795
+ /**
1796
+ * Generic query
1797
+ **/
1798
+ [key: string]: QueryableStorageEntry<ApiType>;
1799
+ };
1775
1800
  system: {
1776
1801
  /**
1777
1802
  * The full account information for a particular account ID.
@@ -13,10 +13,11 @@ import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/t
13
13
  import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
14
14
  import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr';
15
15
  import type { NpPoolId } from '@polkadot/types/interfaces/nompools';
16
- import type { CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
16
+ import type { ApprovalVotingParams, AsyncBackingParams, BackingState, CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, NodeFeatures, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
17
17
  import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
18
18
  import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
19
19
  import type { SessionIndex } from '@polkadot/types/interfaces/session';
20
+ import type { ValidatorIndex } from '@polkadot/types/interfaces/staking';
20
21
  import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
21
22
  import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
22
23
  import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
@@ -313,12 +314,20 @@ declare module '@polkadot/api-base/types/calls' {
313
314
  **/
314
315
  [key: string]: DecoratedCallBase<ApiType>;
315
316
  };
316
- /** 0xaf2c0297a23e6d3d/5 */
317
+ /** 0xaf2c0297a23e6d3d/10 */
317
318
  parachainHost: {
319
+ /**
320
+ * Approval voting configuration parameters
321
+ **/
322
+ approvalVotingParams: AugmentedCall<ApiType, () => Observable<ApprovalVotingParams>>;
318
323
  /**
319
324
  * Returns the persisted validation data for the given `ParaId` along with the corresponding validation code hash.
320
325
  **/
321
326
  assumedValidationData: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, hash: Hash | string | Uint8Array) => Observable<Option<ITuple<[PersistedValidationData, ValidationCodeHash]>>>>;
327
+ /**
328
+ * Returns candidate's acceptance limitations for asynchronous backing for a relay parent
329
+ **/
330
+ asyncBackingParams: AugmentedCall<ApiType, () => Observable<AsyncBackingParams>>;
322
331
  /**
323
332
  * Yields information on all availability cores as relevant to the child block.
324
333
  **/
@@ -342,6 +351,10 @@ declare module '@polkadot/api-base/types/calls' {
342
351
  processedDownwardMessages?: any;
343
352
  hrmpWatermark?: any;
344
353
  } | string | Uint8Array) => Observable<bool>>;
354
+ /**
355
+ * Returns a list of all disabled validators at the given block
356
+ **/
357
+ disabledValidators: AugmentedCall<ApiType, () => Observable<ValidatorIndex>>;
345
358
  /**
346
359
  * Returns all onchain disputes.
347
360
  **/
@@ -358,10 +371,22 @@ declare module '@polkadot/api-base/types/calls' {
358
371
  * Returns a merkle proof of a validator session key
359
372
  **/
360
373
  keyOwnershipProof: AugmentedCall<ApiType, (validatorId: ValidatorId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
374
+ /**
375
+ * Get the minimum number of backing votes for a parachain candidate. This is a staging method! Do not use on production runtimes!
376
+ **/
377
+ minimumBackingVotes: AugmentedCall<ApiType, () => Observable<u32>>;
378
+ /**
379
+ * Get node features. This is a staging method! Do not use on production runtimes!
380
+ **/
381
+ nodeFeatures: AugmentedCall<ApiType, () => Observable<NodeFeatures>>;
361
382
  /**
362
383
  * Scrape dispute relevant from on-chain, backing votes and resolved disputes.
363
384
  **/
364
385
  onChainVotes: AugmentedCall<ApiType, () => Observable<Option<ScrapedOnChainVotes>>>;
386
+ /**
387
+ * Returns the state of parachain backing for a given para
388
+ **/
389
+ paraBackingState: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Option<BackingState>>>;
365
390
  /**
366
391
  * Yields the persisted validation data for the given `ParaId` along with an assumption that should be used if the para currently occupies a core.
367
392
  **/
package/polkadot/tx.d.ts CHANGED
@@ -5,7 +5,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
5
5
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
7
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6InherentData, PolkadotPrimitivesV6PvfCheckStatement, PolkadotPrimitivesV6SlashingDisputeProof, PolkadotPrimitivesV6ValidatorAppSignature, PolkadotPrimitivesVstagingApprovalVotingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
8
+ import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6InherentData, PolkadotPrimitivesV6PvfCheckStatement, PolkadotPrimitivesV6SlashingDisputeProof, PolkadotPrimitivesV6ValidatorAppSignature, PolkadotPrimitivesVstagingApprovalVotingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
9
9
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
10
10
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
11
11
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -805,6 +805,10 @@ declare module '@polkadot/api-base/types/submittable' {
805
805
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
806
806
  };
807
807
  hrmp: {
808
+ /**
809
+ * See [`Pallet::establish_channel_with_system`].
810
+ **/
811
+ establishChannelWithSystem: AugmentedSubmittable<(targetSystemChain: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
808
812
  /**
809
813
  * See [`Pallet::establish_system_channel`].
810
814
  **/
@@ -2028,6 +2032,13 @@ declare module '@polkadot/api-base/types/submittable' {
2028
2032
  * See [`Pallet::rebond`].
2029
2033
  **/
2030
2034
  rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
2035
+ /**
2036
+ * See [`Pallet::restore_ledger`].
2037
+ **/
2038
+ restoreLedger: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, maybeController: Option<AccountId32> | null | Uint8Array | AccountId32 | string, maybeTotal: Option<u128> | null | Uint8Array | u128 | AnyNumber, maybeUnlocking: Option<Vec<PalletStakingUnlockChunk>> | null | Uint8Array | Vec<PalletStakingUnlockChunk> | (PalletStakingUnlockChunk | {
2039
+ value?: any;
2040
+ era?: any;
2041
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<AccountId32>, Option<u128>, Option<Vec<PalletStakingUnlockChunk>>]>;
2031
2042
  /**
2032
2043
  * See [`Pallet::scale_validator_count`].
2033
2044
  **/
@@ -2126,6 +2137,63 @@ declare module '@polkadot/api-base/types/submittable' {
2126
2137
  **/
2127
2138
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
2128
2139
  };
2140
+ stateTrieMigration: {
2141
+ /**
2142
+ * See [`Pallet::continue_migrate`].
2143
+ **/
2144
+ continueMigrate: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | {
2145
+ size_?: any;
2146
+ item?: any;
2147
+ } | string | Uint8Array, realSizeUpper: u32 | AnyNumber | Uint8Array, witnessTask: PalletStateTrieMigrationMigrationTask | {
2148
+ progressTop?: any;
2149
+ progressChild?: any;
2150
+ size_?: any;
2151
+ topItems?: any;
2152
+ childItems?: any;
2153
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits, u32, PalletStateTrieMigrationMigrationTask]>;
2154
+ /**
2155
+ * See [`Pallet::control_auto_migration`].
2156
+ **/
2157
+ controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null | Uint8Array | PalletStateTrieMigrationMigrationLimits | {
2158
+ size_?: any;
2159
+ item?: any;
2160
+ } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletStateTrieMigrationMigrationLimits>]>;
2161
+ /**
2162
+ * See [`Pallet::force_set_progress`].
2163
+ **/
2164
+ forceSetProgress: AugmentedSubmittable<(progressTop: PalletStateTrieMigrationProgress | {
2165
+ ToStart: any;
2166
+ } | {
2167
+ LastKey: any;
2168
+ } | {
2169
+ Complete: any;
2170
+ } | string | Uint8Array, progressChild: PalletStateTrieMigrationProgress | {
2171
+ ToStart: any;
2172
+ } | {
2173
+ LastKey: any;
2174
+ } | {
2175
+ Complete: any;
2176
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationProgress, PalletStateTrieMigrationProgress]>;
2177
+ /**
2178
+ * See [`Pallet::migrate_custom_child`].
2179
+ **/
2180
+ migrateCustomChild: AugmentedSubmittable<(root: Bytes | string | Uint8Array, childKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[], totalSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Vec<Bytes>, u32]>;
2181
+ /**
2182
+ * See [`Pallet::migrate_custom_top`].
2183
+ **/
2184
+ migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>, u32]>;
2185
+ /**
2186
+ * See [`Pallet::set_signed_max_limits`].
2187
+ **/
2188
+ setSignedMaxLimits: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | {
2189
+ size_?: any;
2190
+ item?: any;
2191
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits]>;
2192
+ /**
2193
+ * Generic tx
2194
+ **/
2195
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2196
+ };
2129
2197
  system: {
2130
2198
  /**
2131
2199
  * See [`Pallet::apply_authorized_upgrade`].
@@ -2675,6 +2743,52 @@ declare module '@polkadot/api-base/types/submittable' {
2675
2743
  } | {
2676
2744
  Limited: any;
2677
2745
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
2746
+ /**
2747
+ * See [`Pallet::transfer_assets_using_type_and_then`].
2748
+ **/
2749
+ transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | {
2750
+ V2: any;
2751
+ } | {
2752
+ V3: any;
2753
+ } | {
2754
+ V4: any;
2755
+ } | string | Uint8Array, assets: XcmVersionedAssets | {
2756
+ V2: any;
2757
+ } | {
2758
+ V3: any;
2759
+ } | {
2760
+ V4: any;
2761
+ } | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | {
2762
+ Teleport: any;
2763
+ } | {
2764
+ LocalReserve: any;
2765
+ } | {
2766
+ DestinationReserve: any;
2767
+ } | {
2768
+ RemoteReserve: any;
2769
+ } | string | Uint8Array, remoteFeesId: XcmVersionedAssetId | {
2770
+ V3: any;
2771
+ } | {
2772
+ V4: any;
2773
+ } | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | {
2774
+ Teleport: any;
2775
+ } | {
2776
+ LocalReserve: any;
2777
+ } | {
2778
+ DestinationReserve: any;
2779
+ } | {
2780
+ RemoteReserve: any;
2781
+ } | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | {
2782
+ V2: any;
2783
+ } | {
2784
+ V3: any;
2785
+ } | {
2786
+ V4: any;
2787
+ } | string | Uint8Array, weightLimit: XcmV3WeightLimit | {
2788
+ Unlimited: any;
2789
+ } | {
2790
+ Limited: any;
2791
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedAssets, StagingXcmExecutorAssetTransferTransferType, XcmVersionedAssetId, StagingXcmExecutorAssetTransferTransferType, XcmVersionedXcm, XcmV3WeightLimit]>;
2678
2792
  /**
2679
2793
  * Generic tx
2680
2794
  **/
@@ -1621,19 +1621,6 @@ declare module '@polkadot/api-base/types/consts' {
1621
1621
  * The period during which an approved treasury spend has to be claimed.
1622
1622
  **/
1623
1623
  payoutPeriod: u32 & AugmentedConst<ApiType>;
1624
- /**
1625
- * Fraction of a proposal's value that should be bonded in order to place the proposal.
1626
- * An accepted proposal gets these back. A rejected proposal does not.
1627
- **/
1628
- proposalBond: Permill & AugmentedConst<ApiType>;
1629
- /**
1630
- * Maximum amount of funds that should be placed in a deposit for making a proposal.
1631
- **/
1632
- proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
1633
- /**
1634
- * Minimum amount of funds that should be placed in a deposit for making a proposal.
1635
- **/
1636
- proposalBondMinimum: u128 & AugmentedConst<ApiType>;
1637
1624
  /**
1638
1625
  * Period between successive spends.
1639
1626
  **/
@@ -306,6 +306,10 @@ declare module '@polkadot/api-base/types/errors' {
306
306
  * The asset is not live, and likely being destroyed.
307
307
  **/
308
308
  AssetNotLive: AugmentedError<ApiType>;
309
+ /**
310
+ * The asset ID must be equal to the [`NextAssetId`].
311
+ **/
312
+ BadAssetId: AugmentedError<ApiType>;
309
313
  /**
310
314
  * Invalid metadata given.
311
315
  **/
@@ -2071,6 +2075,10 @@ declare module '@polkadot/api-base/types/errors' {
2071
2075
  * The asset is not live, and likely being destroyed.
2072
2076
  **/
2073
2077
  AssetNotLive: AugmentedError<ApiType>;
2078
+ /**
2079
+ * The asset ID must be equal to the [`NextAssetId`].
2080
+ **/
2081
+ BadAssetId: AugmentedError<ApiType>;
2074
2082
  /**
2075
2083
  * Invalid metadata given.
2076
2084
  **/
@@ -2156,6 +2164,10 @@ declare module '@polkadot/api-base/types/errors' {
2156
2164
  * Preimage has already been noted on-chain.
2157
2165
  **/
2158
2166
  AlreadyNoted: AugmentedError<ApiType>;
2167
+ /**
2168
+ * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
2169
+ **/
2170
+ NoCost: AugmentedError<ApiType>;
2159
2171
  /**
2160
2172
  * The user is not authorized to perform this action.
2161
2173
  **/
@@ -2268,6 +2280,10 @@ declare module '@polkadot/api-base/types/errors' {
2268
2280
  * The new member to exchange is the same as the old member
2269
2281
  **/
2270
2282
  SameMember: AugmentedError<ApiType>;
2283
+ /**
2284
+ * The max member count for the rank has been reached.
2285
+ **/
2286
+ TooManyMembers: AugmentedError<ApiType>;
2271
2287
  /**
2272
2288
  * Generic error
2273
2289
  **/
@@ -3174,10 +3190,6 @@ declare module '@polkadot/api-base/types/errors' {
3174
3190
  * amount to be spent.
3175
3191
  **/
3176
3192
  InsufficientPermission: AugmentedError<ApiType>;
3177
- /**
3178
- * Proposer's balance is too low.
3179
- **/
3180
- InsufficientProposersBalance: AugmentedError<ApiType>;
3181
3193
  /**
3182
3194
  * No proposal, bounty or spend at that index.
3183
3195
  **/
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -1160,8 +1160,8 @@ declare module '@polkadot/api-base/types/events' {
1160
1160
  /**
1161
1161
  * Parameters for the pallet have changed.
1162
1162
  **/
1163
- ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsType], {
1164
- params: PalletCoreFellowshipParamsType;
1163
+ ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsTypeU128], {
1164
+ params: PalletCoreFellowshipParamsTypeU128;
1165
1165
  }>;
1166
1166
  /**
1167
1167
  * Member has been promoted to the given rank.
@@ -1526,6 +1526,12 @@ declare module '@polkadot/api-base/types/events' {
1526
1526
  [key: string]: AugmentedEvent<ApiType>;
1527
1527
  };
1528
1528
  glutton: {
1529
+ /**
1530
+ * The block length limit has been updated.
1531
+ **/
1532
+ BlockLengthLimitSet: AugmentedEvent<ApiType, [blockLength: u64], {
1533
+ blockLength: u64;
1534
+ }>;
1529
1535
  /**
1530
1536
  * The computation limit has been updated.
1531
1537
  **/
@@ -3924,19 +3930,6 @@ declare module '@polkadot/api-base/types/events' {
3924
3930
  index: u32;
3925
3931
  paymentId: Null;
3926
3932
  }>;
3927
- /**
3928
- * New proposal.
3929
- **/
3930
- Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], {
3931
- proposalIndex: u32;
3932
- }>;
3933
- /**
3934
- * A proposal was rejected; funds were slashed.
3935
- **/
3936
- Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], {
3937
- proposalIndex: u32;
3938
- slashed: u128;
3939
- }>;
3940
3933
  /**
3941
3934
  * Spending has finished; this is the amount that rolls over until next spend.
3942
3935
  **/
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
4
4
  import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerPoolIoRecord, PalletBrokerPotentialRenewalId, PalletBrokerPotentialRenewalRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerOnDemandRevenueRecord, PalletBrokerPoolIoRecord, PalletBrokerPotentialRenewalId, PalletBrokerPotentialRenewalRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } 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>;
@@ -132,6 +132,18 @@ declare module '@polkadot/api-base/types/storage' {
132
132
  * Metadata of an asset.
133
133
  **/
134
134
  metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
135
+ /**
136
+ * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
137
+ * item has no effect.
138
+ *
139
+ * This can be useful for setting up constraints for IDs of the new assets. For example, by
140
+ * providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
141
+ * auto-increment model can be applied to all new asset IDs.
142
+ *
143
+ * The initial next asset ID can be set using the [`GenesisConfig`] or the
144
+ * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
145
+ **/
146
+ nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
135
147
  /**
136
148
  * Generic query
137
149
  **/
@@ -305,11 +317,11 @@ declare module '@polkadot/api-base/types/storage' {
305
317
  /**
306
318
  * Freeze locks on account balances.
307
319
  **/
308
- freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
320
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
309
321
  /**
310
322
  * Holds on account balances.
311
323
  **/
312
- holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
324
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
313
325
  /**
314
326
  * The total units of outstanding deactivated balance in the system.
315
327
  **/
@@ -445,6 +457,10 @@ declare module '@polkadot/api-base/types/storage' {
445
457
  * The Polkadot Core reservations (generally tasked with the maintenance of System Chains).
446
458
  **/
447
459
  reservations: AugmentedQuery<ApiType, () => Observable<Vec<Vec<PalletBrokerScheduleItem>>>, []> & QueryableStorageEntry<ApiType, []>;
460
+ /**
461
+ * Received revenue info from the relay chain.
462
+ **/
463
+ revenueInbox: AugmentedQuery<ApiType, () => Observable<Option<PalletBrokerOnDemandRevenueRecord>>, []> & QueryableStorageEntry<ApiType, []>;
448
464
  /**
449
465
  * The details of the current sale, including its properties and status.
450
466
  **/
@@ -584,7 +600,7 @@ declare module '@polkadot/api-base/types/storage' {
584
600
  /**
585
601
  * The overall status of the system.
586
602
  **/
587
- params: AugmentedQuery<ApiType, () => Observable<PalletCoreFellowshipParamsType>, []> & QueryableStorageEntry<ApiType, []>;
603
+ params: AugmentedQuery<ApiType, () => Observable<PalletCoreFellowshipParamsTypeU128>, []> & QueryableStorageEntry<ApiType, []>;
588
604
  /**
589
605
  * Generic query
590
606
  **/
@@ -861,6 +877,13 @@ declare module '@polkadot/api-base/types/storage' {
861
877
  * over `1.0` could stall the chain.
862
878
  **/
863
879
  compute: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
880
+ /**
881
+ * The proportion of the `block length` to consume on each block.
882
+ *
883
+ * `1.0` is mapped to `100%`. Must be at most [`crate::RESOURCE_HARD_LIMIT`]. Setting this to
884
+ * over `1.0` could stall the chain.
885
+ **/
886
+ length: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
864
887
  /**
865
888
  * The proportion of the remaining `proof_size` to consume during `on_idle`.
866
889
  *
@@ -1467,6 +1490,18 @@ declare module '@polkadot/api-base/types/storage' {
1467
1490
  * Metadata of an asset.
1468
1491
  **/
1469
1492
  metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1493
+ /**
1494
+ * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
1495
+ * item has no effect.
1496
+ *
1497
+ * This can be useful for setting up constraints for IDs of the new assets. For example, by
1498
+ * providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
1499
+ * auto-increment model can be applied to all new asset IDs.
1500
+ *
1501
+ * The initial next asset ID can be set using the [`GenesisConfig`] or the
1502
+ * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
1503
+ **/
1504
+ nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1470
1505
  /**
1471
1506
  * Generic query
1472
1507
  **/