Upgrade Polkadot and Polkadot Asset Hub types for 2000000 (#6219)

* feat: upgrade polkadot types

* feat: upgrade polkadot asset hub types
This commit is contained in:
Arjun Porwal
2025-11-05 18:34:39 +05:30
committed by GitHub
parent d55b2bfaf2
commit dea3391fb0
34 changed files with 79303 additions and 31797 deletions
@@ -6,10 +6,10 @@
import '@polkadot/api-base/types/consts'; import '@polkadot/api-base/types/consts';
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types'; import type { Codec, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Permill } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup'; import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions, StagingXcmV5Location } from '@polkadot/types/lookup';
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>; export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -43,7 +43,7 @@ declare module '@polkadot/api-base/types/consts' {
/** /**
* Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`]. * Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
**/ **/
poolSetupFeeAsset: StagingXcmV4Location & AugmentedConst<ApiType>; poolSetupFeeAsset: StagingXcmV5Location & AugmentedConst<ApiType>;
/** /**
* Generic const * Generic const
**/ **/
@@ -134,6 +134,79 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
bounties: {
/**
* The amount held on deposit for placing a bounty proposal.
**/
bountyDepositBase: u128 & AugmentedConst<ApiType>;
/**
* The delay period for which a bounty beneficiary need to wait before claim the payout.
**/
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
/**
* The time limit for a curator to act before a bounty expires.
*
* The period that starts when a curator is approved, during which they must execute or
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
* removing the need for `extend_bounty_expiry`.
**/
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
/**
* Minimum value for a bounty.
**/
bountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Maximum amount of funds that should be placed in a deposit for making a proposal.
**/
curatorDepositMax: Option<u128> & AugmentedConst<ApiType>;
/**
* Minimum amount of funds that should be placed in a deposit for making a proposal.
**/
curatorDepositMin: Option<u128> & AugmentedConst<ApiType>;
/**
* The curator deposit is calculated as a percentage of the curator fee.
*
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
* `CuratorDepositMin`.
**/
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
/**
* The amount held on deposit per byte within the tip report reason or bounty description.
**/
dataDepositPerByte: u128 & AugmentedConst<ApiType>;
/**
* Maximum acceptable reason length.
*
* Benchmarks depend on this value, be sure to update weights file when changing this value
**/
maximumReasonLength: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
childBounties: {
/**
* Minimum value for a child-bounty.
**/
childBountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Maximum number of child bounties that can be added to a parent bounty.
**/
maxActiveChildBountyCount: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
claims: {
prefix: Bytes & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
collatorSelection: { collatorSelection: {
kickThreshold: u32 & AugmentedConst<ApiType>; kickThreshold: u32 & AugmentedConst<ApiType>;
/** /**
@@ -165,6 +238,40 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
convictionVoting: {
/**
* The maximum number of concurrent votes an account may have.
*
* Also used to compute weight, an overly large value can lead to extrinsics with large
* weight estimation: see `delegate` for instance.
**/
maxVotes: u32 & AugmentedConst<ApiType>;
/**
* The minimum period of vote locking.
*
* It should be no shorter than enactment period to ensure that in the case of an approval,
* those successful voters are locked into the consequences that their votes entail.
**/
voteLockingPeriod: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
delegatedStaking: {
/**
* Injected identifier for the pallet.
**/
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
/**
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
**/
slashRewardFraction: Perbill & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
foreignAssets: { foreignAssets: {
/** /**
* The amount of funds that must be reserved when creating a new approval. * The amount of funds that must be reserved when creating a new approval.
@@ -203,6 +310,16 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
indices: {
/**
* The deposit needed for reserving an index.
**/
deposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
messageQueue: { messageQueue: {
/** /**
* The size of the page; this implies the maximum message size which can be sent. * The size of the page; this implies the maximum message size which can be sent.
@@ -240,6 +357,73 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
multiBlockElection: {
/**
* The number of pages.
*
* The snapshot is created with this many keys in the storage map.
*
* The solutions may contain at MOST this many pages, but less pages are acceptable as
* well.
**/
pages: u32 & AugmentedConst<ApiType>;
/**
* Duration of the signed phase.
**/
signedPhase: u32 & AugmentedConst<ApiType>;
/**
* Duration of the singed validation phase.
*
* The duration of this should not be less than `T::Pages`, and there is no point in it
* being more than `SignedPhase::MaxSubmission::get() * T::Pages`. TODO: integrity test for
* it.
**/
signedValidationPhase: u32 & AugmentedConst<ApiType>;
/**
* The number of snapshot targets to fetch per block.
**/
targetSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
/**
* Duration of the unsigned phase.
**/
unsignedPhase: u32 & AugmentedConst<ApiType>;
/**
* The number of snapshot voters to fetch per block.
**/
voterSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
multiBlockElectionVerifier: {
/**
* Maximum number of backers, per winner, per page.
**/
maxBackersPerWinner: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of backers, per winner, among all pages of an election.
*
* This can only be checked at the very final step of verification.
*
* NOTE: at the moment, we don't check this, and it is in place for future compatibility.
**/
maxBackersPerWinnerFinal: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of supports (aka. winners/validators/targets) that can be represented in
* a page of results.
**/
maxWinnersPerPage: u32 & AugmentedConst<ApiType>;
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better".
**/
solutionImprovementThreshold: Perbill & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
multisig: { multisig: {
/** /**
* The base amount of currency needed to reserve for creating a multisig execution or to * The base amount of currency needed to reserve for creating a multisig execution or to
@@ -328,6 +512,35 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
nominationPools: {
/**
* The maximum pool points-to-balance ratio that an `open` pool can have.
*
* This is important in the event slashing takes place and the pool's points-to-balance
* ratio becomes disproportional.
*
* Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
* are a function of number of points, and by setting this value to e.g. 10, you ensure
* that the total number of points in the system are at most 10 times the total_issuance of
* the chain, in the absolute worse case.
*
* For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
* Such a scenario would also be the equivalent of the pool being 90% slashed.
**/
maxPointsToBalance: u8 & AugmentedConst<ApiType>;
/**
* The maximum number of simultaneous unbonding chunks that can exist per member.
**/
maxUnbonding: u32 & AugmentedConst<ApiType>;
/**
* The nomination pool's pallet id.
**/
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
parachainSystem: { parachainSystem: {
/** /**
* Returns the parachain ID we are running with. * Returns the parachain ID we are running with.
@@ -344,6 +557,18 @@ declare module '@polkadot/api-base/types/consts' {
* `pallet_xcm::CurrentXcmVersion`. * `pallet_xcm::CurrentXcmVersion`.
**/ **/
advertisedXcmVersion: u32 & AugmentedConst<ApiType>; advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of local XCM locks that a single account may have.
**/
maxLockers: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of consumers a single remote lock may have.
**/
maxRemoteLockConsumers: u32 & AugmentedConst<ApiType>;
/**
* This chain's Universal Location.
**/
universalLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
/** /**
* Generic const * Generic const
**/ **/
@@ -430,6 +655,176 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
referenda: {
/**
* Quantization level for the referendum wakeup scheduler. A higher number will result in
* fewer storage reads/writes needed for smaller voters, but also result in delays to the
* automatic referendum status changes. Explicit servicing instructions are unaffected.
**/
alarmInterval: u32 & AugmentedConst<ApiType>;
/**
* Maximum size of the referendum queue for a single track.
**/
maxQueued: u32 & AugmentedConst<ApiType>;
/**
* The minimum amount to be used as a deposit for a public referendum proposal.
**/
submissionDeposit: u128 & AugmentedConst<ApiType>;
/**
* A list of tracks.
*
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
**/
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
/**
* The number of blocks after submission that a referendum must begin being decided by.
* Once this passes, then anyone may cancel the referendum.
**/
undecidingTimeout: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
scheduler: {
/**
* The maximum weight that may be scheduled per block for any dispatchables.
**/
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
/**
* The maximum number of scheduled calls in the queue for a single block.
*
* NOTE:
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
* higher limit under `runtime-benchmarks` feature.
**/
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
session: {
/**
* The amount to be held when setting keys.
**/
keyDeposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
staking: {
/**
* Number of eras that staked funds must remain bonded for.
**/
bondingDuration: u32 & AugmentedConst<ApiType>;
/**
* Number of eras to keep in history.
*
* Following information is kept for eras in `[current_era -
* HistoryDepth, current_era]`: `ErasValidatorPrefs`, `ErasValidatorReward`,
* `ErasRewardPoints`, `ErasTotalStake`, `ClaimedRewards`,
* `ErasStakersPaged`, `ErasStakersOverview`.
*
* Must be more than the number of eras delayed by session.
* I.e. active era must always be in history. I.e. `active_era >
* current_era - history_depth` must be guaranteed.
*
* If migrating an existing pallet from storage value to config value,
* this should be set to same value or greater as in storage.
**/
historyDepth: u32 & AugmentedConst<ApiType>;
/**
* Maximum allowed era duration in milliseconds.
*
* This provides a defensive upper bound to cap the effective era duration, preventing
* excessively long eras from causing runaway inflation (e.g., due to bugs). If the actual
* era duration exceeds this value, it will be clamped to this maximum.
*
* Example: For an ideal era duration of 24 hours (86,400,000 ms),
* this can be set to 604,800,000 ms (7 days).
**/
maxEraDuration: u64 & AugmentedConst<ApiType>;
/**
* The maximum size of each `T::ExposurePage`.
*
* An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
* nominators.
*
* For older non-paged exposure, a reward payout was restricted to the top
* `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
* nominator payout.
*
* Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to
* reduce without handling it in a migration.
**/
maxExposurePageSize: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of invulnerable validators.
**/
maxInvulnerables: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of storage items that can be pruned in a single call.
*
* This controls how many storage items can be deleted in each call to `prune_era_step`.
* This should be set to a conservative value (e.g., 100-500 items) to ensure pruning
* doesn't consume too much block space. The actual weight is determined by benchmarks.
**/
maxPruningItems: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
* have. Effectively determines how many unique eras a staker may be
* unbonding in.
*
* Note: `MaxUnlockingChunks` is used as the upper bound for the
* `BoundedVec` item `StakingLedger.unlocking`. Setting this value
* lower than the existing value can lead to inconsistencies in the
* `StakingLedger` and will need to be handled properly in a runtime
* migration. The test `reducing_max_unlocking_chunks_abrupt` shows
* this effect.
**/
maxUnlockingChunks: u32 & AugmentedConst<ApiType>;
/**
* The absolute maximum of winner validators this pallet should return.
*
* As this pallet supports multi-block election, the set of winner validators *per
* election* is bounded by this type.
**/
maxValidatorSet: u32 & AugmentedConst<ApiType>;
/**
* Number of sessions before the end of an era when the election for the next era will
* start.
*
* - This determines how many sessions **before** the last session of the era the staking
* election process should begin.
* - The value is bounded between **1** (election starts at the beginning of the last
* session) and `SessionsPerEra` (election starts at the beginning of the first session
* of the era).
*
* ### Example:
* - If `SessionsPerEra = 6` and `PlanningEraOffset = 1`, the election starts at the
* beginning of session `6 - 1 = 5`.
* - If `PlanningEraOffset = 6`, the election starts at the beginning of session `6 - 6 =
* 0`, meaning it starts at the very beginning of the era.
**/
planningEraOffset: u32 & AugmentedConst<ApiType>;
/**
* Number of sessions per era, as per the preferences of the **relay chain**.
**/
sessionsPerEra: u32 & AugmentedConst<ApiType>;
/**
* Number of eras that slashes are deferred by, after computation.
*
* This should be less than the bonding duration. Set to 0 if slashes
* should be applied immediately, without opportunity for intervention.
**/
slashDeferDuration: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
stateTrieMigration: { stateTrieMigration: {
/** /**
* Maximal number of bytes that a key can have. * Maximal number of bytes that a key can have.
@@ -539,6 +934,41 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
treasury: {
/**
* Percentage of spare funds (if any) that are burnt per spend period.
**/
burn: Permill & AugmentedConst<ApiType>;
/**
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
*
* The maximum number of approvals that can wait in the spending queue.
*
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
**/
maxApprovals: u32 & AugmentedConst<ApiType>;
/**
* The treasury's pallet id, used for deriving its sovereign account ID.
**/
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
/**
* The period during which an approved treasury spend has to be claimed.
**/
payoutPeriod: u32 & AugmentedConst<ApiType>;
/**
* Gets this pallet's derived pot account.
**/
potAccount: AccountId32 & AugmentedConst<ApiType>;
/**
* Period between successive spends.
**/
spendPeriod: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
uniques: { uniques: {
/** /**
* The basic amount of funds that must be reserved when adding an attribute to an item. * The basic amount of funds that must be reserved when adding an attribute to an item.
@@ -599,6 +1029,65 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
voterList: {
/**
* The list of thresholds separating the various bags.
*
* Ids are separated into unsorted bags according to their score. This specifies the
* thresholds separating the bags. An id's bag is the largest bag for which the id's score
* is less than or equal to its upper threshold.
*
* When ids are iterated, higher bags are iterated completely before lower bags. This means
* that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
* score, but peer ids within a particular bag are sorted in insertion order.
*
* # Expressing the constant
*
* This constant must be sorted in strictly increasing order. Duplicate items are not
* permitted.
*
* There is an implied upper limit of `Score::MAX`; that value does not need to be
* specified within the bag. For any two threshold lists, if one ends with
* `Score::MAX`, the other one does not, and they are otherwise equal, the two
* lists will behave identically.
*
* # Calculation
*
* It is recommended to generate the set of thresholds in a geometric series, such that
* there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
* constant_ratio).max(threshold[k] + 1)` for all `k`.
*
* The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
*
* # Examples
*
* - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
* iteration is strictly in insertion order.
* - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
* the procedure given above, then the constant ratio is equal to 2.
* - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
* the procedure given above, then the constant ratio is approximately equal to 1.248.
* - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
* into bag 0, an id with score 2 will fall into bag 1, etc.
*
* # Migration
*
* In the event that this list ever changes, a copy of the old bags list must be retained.
* With that `List::migrate` can be called, which will perform the appropriate migration.
**/
bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
/**
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
*
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
* the feature.
**/
maxAutoRebagPerBlock: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
xcmpQueue: { xcmpQueue: {
/** /**
* Maximal number of outbound XCMP channels that can have messages queued at the same time. * Maximal number of outbound XCMP channels that can have messages queued at the same time.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -10,8 +10,9 @@ import type { Bytes, Null, Option, Result, Text, Vec, bool, u128, u32 } from '@p
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { ParaId } from '@polkadot/types/interfaces/parachains';
import type { AccountId32, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
import type { AssetHubPolkadotRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV4Location, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; import type { AssetHubPolkadotRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV5Location, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { IExtrinsic, Observable } from '@polkadot/types/types'; import type { IExtrinsic, Observable } from '@polkadot/types/types';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>; export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -35,15 +36,15 @@ declare module '@polkadot/api-base/types/calls' {
/** /**
* Returns the size of the liquidity pool for the given asset pair. * Returns the size of the liquidity pool for the given asset pair.
**/ **/
getReserves: AugmentedCall<ApiType, (asset1: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<ITuple<[u128, u128]>>>>; getReserves: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<ITuple<[u128, u128]>>>>;
/** /**
* Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_out_min` to control slippage.) * Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_out_min` to control slippage.)
**/ **/
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>; quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
/** /**
* Provides a quote for [`Pallet::swap_tokens_for_exact_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_in_max` to control slippage.) * Provides a quote for [`Pallet::swap_tokens_for_exact_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_in_max` to control slippage.)
**/ **/
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>; quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
/** /**
* Generic call * Generic call
**/ **/
@@ -75,6 +76,21 @@ declare module '@polkadot/api-base/types/calls' {
**/ **/
[key: string]: DecoratedCallBase<ApiType>; [key: string]: DecoratedCallBase<ApiType>;
}; };
/** 0x12c8e3d4d7e06de0/ */
authorizedAliasersApi: {
/**
* Returns locations allowed to alias into and act as `target`.
**/
authorizedAliasers: AugmentedCall<ApiType, (target: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>>;
/**
* Returns whether `origin` is allowed to alias into and act as `target`.
**/
isAuthorizedAlias: AugmentedCall<ApiType, (origin: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, target: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisAuthorizedAliasesError>>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x40fe3ad401f8959a/ */ /** 0x40fe3ad401f8959a/ */
blockBuilder: { blockBuilder: {
/** /**
@@ -133,7 +149,7 @@ declare module '@polkadot/api-base/types/calls' {
/** /**
* Dry run call V2. * Dry run call V2.
**/ **/
dryRunCall: AugmentedCall<ApiType, (origin: AssetHubPolkadotRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>; dryRunCall: AugmentedCall<ApiType, (origin: AssetHubPolkadotRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Origins: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
/** /**
* Dry run XCM program * Dry run XCM program
**/ **/
@@ -173,6 +189,17 @@ declare module '@polkadot/api-base/types/calls' {
**/ **/
[key: string]: DecoratedCallBase<ApiType>; [key: string]: DecoratedCallBase<ApiType>;
}; };
/** 0xa2ddb6a58477bf63/ */
getParachainInfo: {
/**
* Retrieve the parachain id used for runtime.
**/
parachainId: AugmentedCall<ApiType, () => Observable<ParaId>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x9ffb505aa738d69c/ */ /** 0x9ffb505aa738d69c/ */
locationToAccountApi: { locationToAccountApi: {
/** /**
@@ -203,6 +230,53 @@ declare module '@polkadot/api-base/types/calls' {
**/ **/
[key: string]: DecoratedCallBase<ApiType>; [key: string]: DecoratedCallBase<ApiType>;
}; };
/** 0x17a6bc0d0062aeb3/ */
nominationPoolsApi: {
/**
* Returns the equivalent points of `new_funds` for a given pool.
**/
balanceToPoints: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, new_funds: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
/**
* Returns true if the delegated funds of the pool `member` needs migration.,, Once a pool has successfully migrated to the strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake), the funds of the, member can be migrated from pool account to the member's account. Use, [`migrate_delegation`](pallet_nomination_pools::Call::migrate_delegation), to migrate the funds of the pool member.
**/
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
/**
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
**/
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
/**
* Returns the total contribution of a pool member including any balance that is unbonding.
**/
memberTotalBalance: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
/**
* Returns the pending rewards for the member that the AccountId was given for.
**/
pendingRewards: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
/**
* Returns the equivalent balance of `points` for a given pool.
**/
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
/**
* Returns the bonded account and reward account associated with the pool_id.
**/
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
/**
* Total balance contributed to the pool.
**/
poolBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
/**
* Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool.
**/
poolNeedsDelegateMigration: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<bool>>;
/**
* Returns the pending slash for a given pool.
**/
poolPendingSlash: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xf78b278be53f454c/ */ /** 0xf78b278be53f454c/ */
offchainWorkerApi: { offchainWorkerApi: {
/** /**
@@ -214,6 +288,28 @@ declare module '@polkadot/api-base/types/calls' {
**/ **/
[key: string]: DecoratedCallBase<ApiType>; [key: string]: DecoratedCallBase<ApiType>;
}; };
/** 0x04e70521a0d3d2f8/ */
relayParentOffsetApi: {
/**
* Fetch the slot offset that is expected from the relay chain.
**/
relayParentOffset: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xccd9de6396c899ca/ */
runtimeViewFunction: {
/**
* Execute a view function query.
**/
executeViewFunction: AugmentedCall<ApiType, (query_id: FrameSupportViewFunctionsViewFunctionId | { prefix?: any; suffix?: any } | string | Uint8Array, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, FrameSupportViewFunctionsViewFunctionDispatchError>>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xab3c0572291feb8b/ */ /** 0xab3c0572291feb8b/ */
sessionKeys: { sessionKeys: {
/** /**
@@ -229,6 +325,25 @@ declare module '@polkadot/api-base/types/calls' {
**/ **/
[key: string]: DecoratedCallBase<ApiType>; [key: string]: DecoratedCallBase<ApiType>;
}; };
/** 0x18ef58a3b67ba770/ */
stakingApi: {
/**
* Returns the page count of exposures for a validator `account` in a given era.
**/
erasStakersPageCount: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<u32>>;
/**
* Returns the nominations quota for a nominator with a given balance.
**/
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
/**
* Returns true if validator `account` has pages to be claimed for the given era.
**/
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xd2bc9897eed08f15/ */ /** 0xd2bc9897eed08f15/ */
taggedTransactionQueue: { taggedTransactionQueue: {
/** /**
@@ -286,6 +401,21 @@ declare module '@polkadot/api-base/types/calls' {
**/ **/
[key: string]: DecoratedCallBase<ApiType>; [key: string]: DecoratedCallBase<ApiType>;
}; };
/** 0x2609be83ac4468dc/ */
trustedQueryApi: {
/**
* Returns if the location is a trusted reserve for the asset.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
**/
isTrustedReserve: AugmentedCall<ApiType, (asset: XcmVersionedAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
/**
* Returns if the asset can be teleported to the location.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
**/
isTrustedTeleporter: AugmentedCall<ApiType, (asset: XcmVersionedAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x6ff52ee858e6c5bd/ */ /** 0x6ff52ee858e6c5bd/ */
xcmPaymentApi: { xcmPaymentApi: {
/** /**
File diff suppressed because it is too large Load Diff
+40 -2
View File
@@ -266,8 +266,13 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
betterSignedThreshold: Perbill & AugmentedConst<ApiType>; betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
/** /**
* The maximum number of winners that can be elected by this `ElectionProvider` * Maximum number of voters that can support a winner in an election solution.
* implementation. *
* This is needed to ensure election computation is bounded.
**/
maxBackersPerWinner: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of winners that an election supports.
* *
* Note: This must always be greater or equal to `T::DataProvider::desired_targets()`. * Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
**/ **/
@@ -594,6 +599,16 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
session: {
/**
* The amount to be held when setting keys.
**/
keyDeposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
slots: { slots: {
/** /**
* The number of blocks to offset each lease period by. * The number of blocks to offset each lease period by.
@@ -663,6 +678,10 @@ declare module '@polkadot/api-base/types/consts' {
* this effect. * this effect.
**/ **/
maxUnlockingChunks: u32 & AugmentedConst<ApiType>; maxUnlockingChunks: u32 & AugmentedConst<ApiType>;
/**
* The absolute maximum of winner validators this pallet should return.
**/
maxValidatorSet: u32 & AugmentedConst<ApiType>;
/** /**
* Number of sessions per era. * Number of sessions per era.
**/ **/
@@ -891,6 +910,13 @@ declare module '@polkadot/api-base/types/consts' {
* With that `List::migrate` can be called, which will perform the appropriate migration. * With that `List::migrate` can be called, which will perform the appropriate migration.
**/ **/
bagThresholds: Vec<u64> & AugmentedConst<ApiType>; bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
/**
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
*
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
* the feature.
**/
maxAutoRebagPerBlock: u32 & AugmentedConst<ApiType>;
/** /**
* Generic const * Generic const
**/ **/
@@ -902,6 +928,18 @@ declare module '@polkadot/api-base/types/consts' {
* `pallet_xcm::CurrentXcmVersion`. * `pallet_xcm::CurrentXcmVersion`.
**/ **/
advertisedXcmVersion: u32 & AugmentedConst<ApiType>; advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of local XCM locks that a single account may have.
**/
maxLockers: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of consumers a single remote lock may have.
**/
maxRemoteLockConsumers: u32 & AugmentedConst<ApiType>;
/**
* This chain's Universal Location.
**/
universalLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
/** /**
* Generic const * Generic const
**/ **/
+113
View File
@@ -194,6 +194,10 @@ declare module '@polkadot/api-base/types/errors' {
* Invalid bounty value. * Invalid bounty value.
**/ **/
InvalidValue: AugmentedError<ApiType>; InvalidValue: AugmentedError<ApiType>;
/**
* User is not the proposer of the bounty.
**/
NotProposer: AugmentedError<ApiType>;
/** /**
* A bounty payout is pending. * A bounty payout is pending.
* To cancel the bounty, you must unassign and slash the curator. * To cancel the bounty, you must unassign and slash the curator.
@@ -1191,10 +1195,18 @@ declare module '@polkadot/api-base/types/errors' {
* Parachain cannot currently schedule a code upgrade. * Parachain cannot currently schedule a code upgrade.
**/ **/
CannotUpgradeCode: AugmentedError<ApiType>; CannotUpgradeCode: AugmentedError<ApiType>;
/**
* Invalid block number.
**/
InvalidBlockNumber: AugmentedError<ApiType>;
/** /**
* Invalid validation code size. * Invalid validation code size.
**/ **/
InvalidCode: AugmentedError<ApiType>; InvalidCode: AugmentedError<ApiType>;
/**
* No upgrade authorized.
**/
NothingAuthorized: AugmentedError<ApiType>;
/** /**
* Para is not registered in our system. * Para is not registered in our system.
**/ **/
@@ -1223,6 +1235,10 @@ declare module '@polkadot/api-base/types/errors' {
* Claimed validator index is out of bounds. * Claimed validator index is out of bounds.
**/ **/
PvfCheckValidatorIndexOutOfBounds: AugmentedError<ApiType>; PvfCheckValidatorIndexOutOfBounds: AugmentedError<ApiType>;
/**
* The submitted code is not authorized.
**/
Unauthorized: AugmentedError<ApiType>;
/** /**
* Generic error * Generic error
**/ **/
@@ -1377,6 +1393,84 @@ declare module '@polkadot/api-base/types/errors' {
**/ **/
[key: string]: AugmentedError<ApiType>; [key: string]: AugmentedError<ApiType>;
}; };
rcMigrator: {
/**
* The account is referenced by some other pallet. It might have freezes or holds.
**/
AccountReferenced: AugmentedError<ApiType>;
/**
* The AH UMP queue priority configuration is already set.
**/
AhUmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
/**
* The XCM version is invalid.
**/
BadXcmVersion: AugmentedError<ApiType>;
/**
* Balance accounting overflow.
**/
BalanceOverflow: AugmentedError<ApiType>;
/**
* Balance accounting underflow.
**/
BalanceUnderflow: AugmentedError<ApiType>;
/**
* Indicates that there is not enough time for staking to lock.
*
* Schedule the migration at least two sessions before the current era ends.
**/
EraEndsTooSoon: AugmentedError<ApiType>;
/**
* Failed to withdraw account from RC for migration to AH.
**/
FailedToWithdrawAccount: AugmentedError<ApiType>;
/**
* The origin is invalid.
**/
InvalidOrigin: AugmentedError<ApiType>;
/**
* Invalid parameter.
**/
InvalidParameter: AugmentedError<ApiType>;
/**
* The query response is invalid.
**/
InvalidQueryResponse: AugmentedError<ApiType>;
/**
* The stage transition is invalid.
**/
InvalidStageTransition: AugmentedError<ApiType>;
OutOfWeight: AugmentedError<ApiType>;
/**
* Indicates that the specified block number is in the past.
**/
PastBlockNumber: AugmentedError<ApiType>;
/**
* The xcm query was not found.
**/
QueryNotFound: AugmentedError<ApiType>;
Unreachable: AugmentedError<ApiType>;
/**
* The migration stage is not reachable from the current stage.
**/
UnreachableStage: AugmentedError<ApiType>;
/**
* Unsigned validation failed.
**/
UnsignedValidationFailed: AugmentedError<ApiType>;
/**
* Failed to send XCM message to AH.
**/
XcmError: AugmentedError<ApiType>;
/**
* Failed to send XCM message.
**/
XcmSendError: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
referenda: { referenda: {
/** /**
* The referendum index provided is invalid in this context. * The referendum index provided is invalid in this context.
@@ -1716,6 +1810,16 @@ declare module '@polkadot/api-base/types/errors' {
**/ **/
[key: string]: AugmentedError<ApiType>; [key: string]: AugmentedError<ApiType>;
}; };
stakingAhClient: {
/**
* Could not process incoming message because incoming messages are blocked.
**/
Blocked: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
stateTrieMigration: { stateTrieMigration: {
/** /**
* Bad child root provided. * Bad child root provided.
@@ -1891,6 +1995,10 @@ declare module '@polkadot/api-base/types/errors' {
* A error in the list interface implementation. * A error in the list interface implementation.
**/ **/
List: AugmentedError<ApiType>; List: AugmentedError<ApiType>;
/**
* Could not update a node, because the pallet is locked.
**/
Locked: AugmentedError<ApiType>;
/** /**
* Generic error * Generic error
**/ **/
@@ -1992,6 +2100,11 @@ declare module '@polkadot/api-base/types/errors' {
* Local XCM execution incomplete. * Local XCM execution incomplete.
**/ **/
LocalExecutionIncomplete: AugmentedError<ApiType>; LocalExecutionIncomplete: AugmentedError<ApiType>;
/**
* Local XCM execution incomplete with the actual XCM error and the index of the
* instruction that caused the error.
**/
LocalExecutionIncompleteWithError: AugmentedError<ApiType>;
/** /**
* A remote lock with the corresponding data could not be found. * A remote lock with the corresponding data could not be found.
**/ **/
+170 -1
View File
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
import type { ITuple } from '@polkadot/types-codec/types'; import type { ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup'; import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientUnexpectedKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3MaybeErrorCode, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>; export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -138,6 +138,10 @@ declare module '@polkadot/api-base/types/events' {
* Transfer succeeded. * Transfer succeeded.
**/ **/
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>; Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
/**
* An unexpected/defensive event was triggered.
**/
Unexpected: AugmentedEvent<ApiType, [PalletBalancesUnexpectedKind]>;
/** /**
* Some balance was unlocked. * Some balance was unlocked.
**/ **/
@@ -204,6 +208,10 @@ declare module '@polkadot/api-base/types/events' {
* A bounty curator is unassigned. * A bounty curator is unassigned.
**/ **/
CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], { bountyId: u32 }>; CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], { bountyId: u32 }>;
/**
* A bounty deposit has been poked.
**/
DepositPoked: AugmentedEvent<ApiType, [bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128], { bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128 }>;
/** /**
* Generic event * Generic event
**/ **/
@@ -435,6 +443,20 @@ declare module '@polkadot/api-base/types/events' {
**/ **/
[key: string]: AugmentedEvent<ApiType>; [key: string]: AugmentedEvent<ApiType>;
}; };
historical: {
/**
* The merkle roots of up to this session index were pruned
**/
RootsPruned: AugmentedEvent<ApiType, [upTo: u32], { upTo: u32 }>;
/**
* The merkle root of the validators of the said session were stored
**/
RootStored: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
hrmp: { hrmp: {
/** /**
* HRMP channel closed. * HRMP channel closed.
@@ -715,6 +737,10 @@ declare module '@polkadot/api-base/types/events' {
* A para has been queued to execute pending actions. `para_id` * A para has been queued to execute pending actions. `para_id`
**/ **/
ActionQueued: AugmentedEvent<ApiType, [u32, u32]>; ActionQueued: AugmentedEvent<ApiType, [u32, u32]>;
/**
* A new code hash has been authorized for a Para.
**/
CodeAuthorized: AugmentedEvent<ApiType, [paraId: u32, codeHash: H256, expireAt: u32], { paraId: u32, codeHash: H256, expireAt: u32 }>;
/** /**
* A code upgrade has been scheduled for a Para. `para_id` * A code upgrade has been scheduled for a Para. `para_id`
**/ **/
@@ -746,6 +772,10 @@ declare module '@polkadot/api-base/types/events' {
* code. `code_hash` `para_id` * code. `code_hash` `para_id`
**/ **/
PvfCheckStarted: AugmentedEvent<ApiType, [H256, u32]>; PvfCheckStarted: AugmentedEvent<ApiType, [H256, u32]>;
/**
* The upgrade cooldown was removed.
**/
UpgradeCooldownRemoved: AugmentedEvent<ApiType, [paraId: u32], { paraId: u32 }>;
/** /**
* Generic event * Generic event
**/ **/
@@ -817,6 +847,109 @@ declare module '@polkadot/api-base/types/events' {
* disambiguation index and proxy type. * disambiguation index and proxy type.
**/ **/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>; PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
/**
* A pure proxy was killed by its spawner.
**/
PureKilled: AugmentedEvent<ApiType, [pure: AccountId32, spawner: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, spawner: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
rcMigrator: {
/**
* The accounts to be preserved on Relay Chain were set.
**/
AccountsPreserved: AugmentedEvent<ApiType, [accounts: Vec<AccountId32>], { accounts: Vec<AccountId32> }>;
/**
* The AH UMP queue priority config was set.
**/
AhUmpQueuePriorityConfigSet: AugmentedEvent<ApiType, [old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority], { old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority }>;
/**
* Whether the AH UMP queue was prioritized for the next block.
**/
AhUmpQueuePrioritySet: AugmentedEvent<ApiType, [prioritized: bool, cycleBlock: u32, cyclePeriod: u32], { prioritized: bool, cycleBlock: u32, cyclePeriod: u32 }>;
/**
* The Asset Hub Migration finished.
*
* This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
* to understand. The finishing is immediate and affects all events happening
* afterwards.
**/
AssetHubMigrationFinished: AugmentedEvent<ApiType, []>;
/**
* The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
* emitted.
*
* This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
* to understand. The activation is immediate and affects all events happening
* afterwards.
**/
AssetHubMigrationStarted: AugmentedEvent<ApiType, []>;
/**
* The canceller account id was set.
**/
CancellerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
/**
* The manager multisig dispatched something.
**/
ManagerMultisigDispatched: AugmentedEvent<ApiType, [res: Result<Null, SpRuntimeDispatchError>], { res: Result<Null, SpRuntimeDispatchError> }>;
/**
* The manager multisig received a vote.
**/
ManagerMultisigVoted: AugmentedEvent<ApiType, [votes: u32], { votes: u32 }>;
/**
* The manager account id was set.
**/
ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
/**
* The RC kept balance was consumed.
**/
MigratedBalanceConsumed: AugmentedEvent<ApiType, [kept: u128, migrated: u128], { kept: u128, migrated: u128 }>;
/**
* The total issuance was recorded.
**/
MigratedBalanceRecordSet: AugmentedEvent<ApiType, [kept: u128, migrated: u128], { kept: u128, migrated: u128 }>;
/**
* The migration was cancelled.
**/
MigrationCancelled: AugmentedEvent<ApiType, []>;
/**
* The migration was paused.
**/
MigrationPaused: AugmentedEvent<ApiType, [pauseStage: PalletRcMigratorMigrationStage], { pauseStage: PalletRcMigratorMigrationStage }>;
/**
* The migration settings were set.
**/
MigrationSettingsSet: AugmentedEvent<ApiType, [old: Option<PalletRcMigratorMigrationSettings>, new_: Option<PalletRcMigratorMigrationSettings>], { old: Option<PalletRcMigratorMigrationSettings>, new_: Option<PalletRcMigratorMigrationSettings> }>;
/**
* Some pure accounts were indexed for possibly receiving free `Any` proxies.
**/
PureAccountsIndexed: AugmentedEvent<ApiType, [numPureAccounts: u32], { numPureAccounts: u32 }>;
/**
* A query response has been received.
**/
QueryResponseReceived: AugmentedEvent<ApiType, [queryId: u64, response: XcmV3MaybeErrorCode], { queryId: u64, response: XcmV3MaybeErrorCode }>;
/**
* A stage transition has occurred.
**/
StageTransition: AugmentedEvent<ApiType, [old: PalletRcMigratorMigrationStage, new_: PalletRcMigratorMigrationStage], { old: PalletRcMigratorMigrationStage, new_: PalletRcMigratorMigrationStage }>;
/**
* The staking elections were paused.
**/
StakingElectionsPaused: AugmentedEvent<ApiType, []>;
/**
* The unprocessed message buffer size has been set.
**/
UnprocessedMsgBufferSet: AugmentedEvent<ApiType, [new_: u32, old: u32], { new_: u32, old: u32 }>;
/**
* A XCM message has been resent.
**/
XcmResendAttempt: AugmentedEvent<ApiType, [queryId: u64, sendError: Option<XcmV3TraitsSendError>], { queryId: u64, sendError: Option<XcmV3TraitsSendError> }>;
/**
* An XCM message was sent.
**/
XcmSent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/** /**
* Generic event * Generic event
**/ **/
@@ -944,6 +1077,11 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>; [key: string]: AugmentedEvent<ApiType>;
}; };
session: { session: {
/**
* The `NewSession` event in the current block also implies a new validator set to be
* queued.
**/
NewQueued: AugmentedEvent<ApiType, []>;
/** /**
* New session has happened. Note that the argument is the session index, not the * New session has happened. Note that the argument is the session index, not the
* block number as the type might suggest. * block number as the type might suggest.
@@ -1068,6 +1206,33 @@ declare module '@polkadot/api-base/types/events' {
**/ **/
[key: string]: AugmentedEvent<ApiType>; [key: string]: AugmentedEvent<ApiType>;
}; };
stakingAhClient: {
/**
* We could not merge, and therefore dropped a buffered message.
*
* Note that this event is more resembling an error, but we use an event because in this
* pallet we need to mutate storage upon some failures.
**/
CouldNotMergeAndDropped: AugmentedEvent<ApiType, []>;
/**
* The validator set received is way too small, as per
* [`Config::MinimumValidatorSetSize`].
**/
SetTooSmallAndDropped: AugmentedEvent<ApiType, []>;
/**
* Something occurred that should never happen under normal operation. Logged as an event
* for fail-safe observability.
**/
Unexpected: AugmentedEvent<ApiType, [PalletStakingAsyncAhClientUnexpectedKind]>;
/**
* A new validator set has been received.
**/
ValidatorSetReceived: AugmentedEvent<ApiType, [id: u32, newValidatorSetCount: u32, pruneUpTo: Option<u32>, leftover: bool], { id: u32, newValidatorSetCount: u32, pruneUpTo: Option<u32>, leftover: bool }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
stateTrieMigration: { stateTrieMigration: {
/** /**
* The auto migration task finished. * The auto migration task finished.
@@ -1239,6 +1404,10 @@ declare module '@polkadot/api-base/types/events' {
* An \[account\] has become fully vested. * An \[account\] has become fully vested.
**/ **/
VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>; VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* A vesting schedule has been created.
**/
VestingCreated: AugmentedEvent<ApiType, [account: AccountId32, scheduleIndex: u32], { account: AccountId32, scheduleIndex: u32 }>;
/** /**
* The amount vested has been updated. This could indicate a change in funds available. * The amount vested has been updated. This could indicate a change in funds available.
* The balance given is the amount which is left unvested (and thus locked). * The balance given is the amount which is left unvested (and thus locked).
+218 -4
View File
@@ -7,10 +7,10 @@ import '@polkadot/api-base/types/storage';
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec'; import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, 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, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, 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, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup'; import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, 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, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRcMigratorAccountsAccountState, PalletRcMigratorAccountsMigratedBalances, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientOffence, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingPendingSlashes, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Xcm, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types'; import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>; export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -1072,6 +1072,10 @@ declare module '@polkadot/api-base/types/storage' {
* The actions to perform during the start of a specific session index. * The actions to perform during the start of a specific session index.
**/ **/
actionsQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; actionsQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The code hash authorizations for a para which will expire `expire_at` `BlockNumberFor<T>`.
**/
authorizedCodeHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/** /**
* Validation code stored by its hash. * Validation code stored by its hash.
* *
@@ -1338,7 +1342,7 @@ declare module '@polkadot/api-base/types/storage' {
/** /**
* Validators pending dispute slashes. * Validators pending dispute slashes.
**/ **/
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV8SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>; unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
/** /**
* `ValidatorSetCount` per session. * `ValidatorSetCount` per session.
**/ **/
@@ -1378,6 +1382,141 @@ declare module '@polkadot/api-base/types/storage' {
**/ **/
[key: string]: QueryableStorageEntry<ApiType>; [key: string]: QueryableStorageEntry<ApiType>;
}; };
rcMigrator: {
/**
* The priority of the Asset Hub UMP queue during migration.
*
* Controls how the Asset Hub UMP (Upward Message Passing) queue is processed relative to other
* queues during the migration process. This helps ensure timely processing of migration
* messages. The default priority pattern is defined in the pallet configuration, but can be
* overridden by a storage value of this type.
**/
ahUmpQueuePriorityConfig: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorQueuePriority>, []> & QueryableStorageEntry<ApiType, []>;
/**
* An optional account id of a canceller.
*
* This account id can only stop scheduled migration.
**/
canceller: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The duration of the post migration cool-off period.
*
* This is the duration of the cool-off period after the data migration is finished. During
* this period, the migration will be still in ongoing state and the concerned extrinsics will
* be locked.
**/
coolOffPeriod: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportScheduleDispatchTime>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Counter for the related counted storage map
**/
counterForPendingXcmMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Counter for the related counted storage map
**/
counterForRcAccounts: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* An optional account id of a manager.
*
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
* can not set the manager account id via `set_manager` call.
**/
manager: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current round of the multisig voting.
*
* Votes are only valid for the current round.
**/
managerMultisigRound: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The multisig AccountIDs that votes to execute a specific call.
**/
managerMultisigs: AugmentedQuery<ApiType, (arg: Call | IMethod | string | Uint8Array) => Observable<Vec<AccountId32>>, [Call]> & QueryableStorageEntry<ApiType, [Call]>;
/**
* How often each participant voted in the current round.
*
* Will be cleared at the end of each round.
**/
managerVotesInCurrentRound: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Block number when migration finished and extrinsics were unlocked.
*
* This is set when entering the `MigrationDone` stage hence when
* `RcMigrationStage::is_finished()` becomes `true`.
**/
migrationEndBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The block number at which the migration began and the pallet's extrinsics were locked.
*
* This value is set when entering the `WaitingForAh` stage, i.e., when
* `RcMigrationStage::is_ongoing()` becomes `true`.
**/
migrationStartBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The pending XCM messages.
*
* Contains data messages that have been sent to the Asset Hub but not yet confirmed.
*
* Unconfirmed messages can be resent by calling the [`Pallet::resend_xcm`] function.
**/
pendingXcmMessages: AugmentedQuery<ApiType, (arg: ITuple<[u64, H256]> | [u64 | AnyNumber | Uint8Array, H256 | string | Uint8Array]) => Observable<Option<StagingXcmV5Xcm>>, [ITuple<[u64, H256]>]> & QueryableStorageEntry<ApiType, [ITuple<[u64, H256]>]>;
/**
* The pending XCM response queries and their XCM hash referencing the message in the
* [`PendingXcmMessages`] storage.
*
* The `QueryId` is the identifier from the [`pallet_xcm`] query handler registry. The XCM
* pallet will notify about the status of the message by calling the
* [`Pallet::receive_query_response`] function with the `QueryId` and the
* response.
**/
pendingXcmQueries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
/**
* Accounts that use the proxy pallet to delegate permissions and have no nonce.
*
* Boolean value is whether they have been migrated to the Asset Hub. Needed for idempotency.
**/
pureProxyCandidatesMigrated: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<bool>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Helper storage item to obtain and store the known accounts that should be kept partially or
* fully on Relay Chain.
**/
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRcMigratorAccountsAccountState>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Helper storage item to store the total balance that should be kept on Relay Chain.
**/
rcMigratedBalance: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorAccountsMigratedBalances>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Helper storage item to store the total balance that should be kept on Relay Chain after
* it is consumed from the `RcMigratedBalance` storage item and sent to the Asset Hub.
*
* This let us to take the value from the `RcMigratedBalance` storage item and keep the
* `SignalMigrationFinish` stage to be idempotent while preserving these values for tests and
* later discoveries.
**/
rcMigratedBalanceArchive: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorAccountsMigratedBalances>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The Relay Chain migration state.
**/
rcMigrationStage: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorMigrationStage>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The migration settings.
**/
settings: AugmentedQuery<ApiType, () => Observable<Option<PalletRcMigratorMigrationSettings>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Manual override for `type UnprocessedMsgBuffer: Get<u32>`. Look there for docs.
**/
unprocessedMsgBuffer: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The duration of the pre migration warm-up period.
*
* This is the duration of the warm-up period before the data migration starts. During this
* period, the migration will be in ongoing state and the concerned extrinsics will be locked.
**/
warmUpPeriod: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportScheduleDispatchTime>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
referenda: { referenda: {
/** /**
* The number of referenda being decided currently. * The number of referenda being decided currently.
@@ -1811,6 +1950,69 @@ declare module '@polkadot/api-base/types/storage' {
**/ **/
[key: string]: QueryableStorageEntry<ApiType>; [key: string]: QueryableStorageEntry<ApiType>;
}; };
stakingAhClient: {
/**
* An incomplete validator set report.
**/
incompleteValidatorSetReport: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingAsyncRcClientValidatorSetReport>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Indicates the current operating mode of the pallet.
*
* This value determines how the pallet behaves in response to incoming and outgoing messages,
* particularly whether it should execute logic directly, defer it, or delegate it entirely.
**/
mode: AugmentedQuery<ApiType, () => Observable<PalletStakingAsyncAhClientOperatingMode>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A storage value that is set when a `new_session` gives a new validator set to the session
* pallet, and is cleared on the next call.
*
* The inner u32 is the id of the said activated validator set. While not relevant here, good
* to know this is the planning era index of staking-async on AH.
*
* Once cleared, we know a validator set has been activated, and therefore we can send a
* timestamp to AH.
**/
nextSessionChangesValidators: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
**/
offenceSendQueueCursor: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
**/
offenceSendQueueOffences: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, PalletStakingAsyncRcClientOffence]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* A session report that is outgoing, and should be sent.
*
* This will be attempted to be sent, possibly on every `on_initialize` call, until it is sent,
* or the second value reaches zero, at which point we drop it.
**/
outgoingSessionReport: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[PalletStakingAsyncRcClientSessionReport, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* All of the points of the validators.
*
* This is populated during a session, and is flushed and sent over via [`SendToAssetHub`]
* at each session end.
**/
validatorPoints: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* The queued validator sets for a given planning session index.
*
* This is received via a call from AssetHub.
**/
validatorSet: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, Vec<AccountId32>]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The session index at which the latest elected validator set was applied.
*
* This is used to determine if an offence, given a session index, is in the current active era
* or not.
**/
validatorSetAppliedAt: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
stateTrieMigration: { stateTrieMigration: {
/** /**
* The limits that are imposed on automatic migrations. * The limits that are imposed on automatic migrations.
@@ -2041,6 +2243,18 @@ declare module '@polkadot/api-base/types/storage' {
* Nodes store links forward and back within their respective bags. * Nodes store links forward and back within their respective bags.
**/ **/
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Lock all updates to this pallet.
*
* If any nodes needs updating, removal or addition due to a temporary lock, the
* [`Call::rebag`] can be used.
**/
lock: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Pointer that remembers the next node that will be auto-rebagged.
* When `None`, the next scan will start from the list head again.
**/
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/** /**
* Generic query * Generic query
**/ **/
+12 -1
View File
@@ -13,7 +13,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains'; import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
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, PolkadotRuntimeOriginCaller, 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, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; import type { FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeOriginCaller, 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, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { IExtrinsic, Observable } from '@polkadot/types/types'; import type { IExtrinsic, Observable } from '@polkadot/types/types';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>; export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -492,6 +492,17 @@ declare module '@polkadot/api-base/types/calls' {
**/ **/
[key: string]: DecoratedCallBase<ApiType>; [key: string]: DecoratedCallBase<ApiType>;
}; };
/** 0xccd9de6396c899ca/ */
runtimeViewFunction: {
/**
* Execute a view function query.
**/
executeViewFunction: AugmentedCall<ApiType, (query_id: FrameSupportViewFunctionsViewFunctionId | { prefix?: any; suffix?: any } | string | Uint8Array, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, FrameSupportViewFunctionsViewFunctionDispatchError>>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xab3c0572291feb8b/ */ /** 0xab3c0572291feb8b/ */
sessionKeys: { sessionKeys: {
/** /**
+188 -11
View File
@@ -10,7 +10,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletRcMigratorManagerMultisigVote, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingDisputeProof, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>; export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -353,6 +353,24 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(1). * - O(1).
**/ **/
extendBountyExpiry: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Bytes]>; extendBountyExpiry: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Bytes]>;
/**
* Poke the deposit reserved for creating a bounty proposal.
*
* This can be used by accounts to update their reserved amount.
*
* The dispatch origin for this call must be _Signed_.
*
* Parameters:
* - `bounty_id`: The bounty id for which to adjust the deposit.
*
* If the deposit is updated, the difference will be reserved/unreserved from the
* proposer's account.
*
* The transaction is made free if the deposit is updated and paid otherwise.
*
* Emits `DepositPoked` if the deposit is updated.
**/
pokeDeposit: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/** /**
* Propose a new bounty. * Propose a new bounty.
* *
@@ -1116,7 +1134,7 @@ declare module '@polkadot/api-base/types/submittable' {
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to * This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
* calling [`Call::set_emergency_election_result`]. * calling [`Call::set_emergency_election_result`].
**/ **/
governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | Uint8Array | u32 | AnyNumber, maybeMaxTargets: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>]>; governanceFallback: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/** /**
* Set a solution in the queue, to be handed out to the client of this pallet in the next * Set a solution in the queue, to be handed out to the client of this pallet in the next
* call to `ElectionProvider::elect`. * call to `ElectionProvider::elect`.
@@ -2116,6 +2134,25 @@ declare module '@polkadot/api-base/types/submittable' {
* the go-ahead signal while the PVF pre-checking feature is enabled. * the go-ahead signal while the PVF pre-checking feature is enabled.
**/ **/
addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>; addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* Applies the already authorized current code for the parachain,
* triggering the same functionality as `force_set_current_code`.
**/
applyAuthorizedForceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
/**
* Sets the storage for the authorized current code hash of the parachain.
* If not applied, it will be removed at the `System::block_number() + valid_period` block.
*
* This can be useful, when triggering `Paras::force_set_current_code(para, code)`
* from a different chain than the one where the `Paras` pallet is deployed.
*
* The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
* Instead, we authorize `code_hash` with `root`, which can later be applied by
* `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
*
* Authorizations are stored in an **overwriting manner**.
**/
authorizeForceSetCurrentCodeHash: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCodeHash: H256 | string | Uint8Array, validPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, H256, u32]>;
/** /**
* Note a new block head for para within the context of the current block. * Note a new block head for para within the context of the current block.
**/ **/
@@ -2155,6 +2192,13 @@ declare module '@polkadot/api-base/types/submittable' {
* dispatching. * dispatching.
**/ **/
pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>; pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
/**
* Remove an upgrade cooldown for a parachain.
*
* The cost for removing the cooldown earlier depends on the time left for the cooldown
* multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
**/
removeUpgradeCooldown: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/** /**
* Generic tx * Generic tx
**/ **/
@@ -2174,7 +2218,7 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
parasSlashing: { parasSlashing: {
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesV8SlashingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8SlashingDisputeProof, SpSessionMembershipProof]>; reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesVstagingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingDisputeProof, SpSessionMembershipProof]>;
/** /**
* Generic tx * Generic tx
**/ **/
@@ -2280,16 +2324,16 @@ declare module '@polkadot/api-base/types/submittable' {
* inaccessible. * inaccessible.
* *
* Requires a `Signed` origin, and the sender account must have been created by a call to * Requires a `Signed` origin, and the sender account must have been created by a call to
* `pure` with corresponding parameters. * `create_pure` with corresponding parameters.
* *
* - `spawner`: The account that originally called `pure` to create this account. * - `spawner`: The account that originally called `create_pure` to create this account.
* - `index`: The disambiguation index originally passed to `pure`. Probably `0`. * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
* - `proxy_type`: The proxy type originally passed to `pure`. * - `proxy_type`: The proxy type originally passed to `create_pure`.
* - `height`: The height of the chain when the call to `pure` was processed. * - `height`: The height of the chain when the call to `create_pure` was processed.
* - `ext_index`: The extrinsic index in which the call to `pure` was processed. * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
* *
* Fails with `NoPermission` in case the caller is not a previously created pure * Fails with `NoPermission` in case the caller is not a previously created pure
* account whose `pure` call has corresponding parameters. * account whose `create_pure` call has corresponding parameters.
**/ **/
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>; killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
/** /**
@@ -2360,7 +2404,7 @@ declare module '@polkadot/api-base/types/submittable' {
* *
* The dispatch origin for this call must be _Signed_. * The dispatch origin for this call must be _Signed_.
* *
* WARNING: This may be called on accounts created by `pure`, however if done, then * WARNING: This may be called on accounts created by `create_pure`, however if done, then
* the unreserved fees will be inaccessible. **All access to this account will be lost.** * the unreserved fees will be inaccessible. **All access to this account will be lost.**
**/ **/
removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
@@ -2379,6 +2423,121 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
rcMigrator: {
/**
* Cancel the migration.
*
* Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
**/
cancelMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Set the migration stage.
*
* This call is intended for emergency use only and is guarded by the
* [`Config::AdminOrigin`].
**/
forceSetStage: AugmentedSubmittable<(stage: PalletRcMigratorMigrationStage | { Pending: any } | { MigrationPaused: any } | { Scheduled: any } | { WaitingForAh: any } | { WarmUp: any } | { Starting: any } | { PureProxyCandidatesMigrationInit: any } | { AccountsMigrationInit: any } | { AccountsMigrationOngoing: any } | { AccountsMigrationDone: any } | { MultisigMigrationInit: any } | { MultisigMigrationOngoing: any } | { MultisigMigrationDone: any } | { ClaimsMigrationInit: any } | { ClaimsMigrationOngoing: any } | { ClaimsMigrationDone: any } | { ProxyMigrationInit: any } | { ProxyMigrationProxies: any } | { ProxyMigrationAnnouncements: any } | { ProxyMigrationDone: any } | { PreimageMigrationInit: any } | { PreimageMigrationChunksOngoing: any } | { PreimageMigrationChunksDone: any } | { PreimageMigrationRequestStatusOngoing: any } | { PreimageMigrationRequestStatusDone: any } | { PreimageMigrationLegacyRequestStatusInit: any } | { PreimageMigrationLegacyRequestStatusOngoing: any } | { PreimageMigrationLegacyRequestStatusDone: any } | { PreimageMigrationDone: any } | { NomPoolsMigrationInit: any } | { NomPoolsMigrationOngoing: any } | { NomPoolsMigrationDone: any } | { VestingMigrationInit: any } | { VestingMigrationOngoing: any } | { VestingMigrationDone: any } | { DelegatedStakingMigrationInit: any } | { DelegatedStakingMigrationOngoing: any } | { DelegatedStakingMigrationDone: any } | { IndicesMigrationInit: any } | { IndicesMigrationOngoing: any } | { IndicesMigrationDone: any } | { ReferendaMigrationInit: any } | { ReferendaMigrationOngoing: any } | { ReferendaMigrationDone: any } | { BagsListMigrationInit: any } | { BagsListMigrationOngoing: any } | { BagsListMigrationDone: any } | { SchedulerMigrationInit: any } | { SchedulerMigrationOngoing: any } | { SchedulerAgendaMigrationOngoing: any } | { SchedulerMigrationDone: any } | { ConvictionVotingMigrationInit: any } | { ConvictionVotingMigrationOngoing: any } | { ConvictionVotingMigrationDone: any } | { BountiesMigrationInit: any } | { BountiesMigrationOngoing: any } | { BountiesMigrationDone: any } | { ChildBountiesMigrationInit: any } | { ChildBountiesMigrationOngoing: any } | { ChildBountiesMigrationDone: any } | { AssetRateMigrationInit: any } | { AssetRateMigrationOngoing: any } | { AssetRateMigrationDone: any } | { CrowdloanMigrationInit: any } | { CrowdloanMigrationOngoing: any } | { CrowdloanMigrationDone: any } | { TreasuryMigrationInit: any } | { TreasuryMigrationOngoing: any } | { TreasuryMigrationDone: any } | { StakingMigrationInit: any } | { StakingMigrationOngoing: any } | { StakingMigrationDone: any } | { CoolOff: any } | { SignalMigrationFinish: any } | { MigrationDone: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorMigrationStage]>;
/**
* Pause the migration.
**/
pauseMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Set the accounts to be preserved on Relay Chain during the migration.
*
* The accounts must have no consumers references.
**/
preserveAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
/**
* Receive a query response from the Asset Hub for a previously sent xcm message.
**/
receiveQueryResponse: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array, response: StagingXcmV5Response | { Null: any } | { Assets: any } | { ExecutionResult: any } | { Version: any } | { PalletsInfo: any } | { DispatchResult: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, StagingXcmV5Response]>;
/**
* Resend a previously sent and unconfirmed XCM message.
**/
resendXcm: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
/**
* Schedule the migration to start at a given moment.
*
* ### Parameters:
* - `start`: The block number at which the migration will start. `DispatchTime` calculated
* at the moment of the extrinsic execution.
* - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
* are filtered during this period. It is intended to give enough time for UMP and DMP
* queues to empty. `DispatchTime` calculated at the moment of the transition to the
* warm-up stage.
* - `cool_off`: The block number at which the post migration cool-off period will end. The
* `DispatchTime` calculated at the moment of the transition to the cool-off stage.
* - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
* scheduled time point is far enough in the future.
*
* Note: If the staking election for next era is already complete, and the next
* validator set is queued in `pallet-session`, we want to avoid starting the data
* migration at this point as it can lead to some missed validator rewards. To address
* this, we stop staking election at the start of migration and must wait atleast 1
* session (set via warm_up) before starting the data migration.
*
* Read [`MigrationStage::Scheduled`] documentation for more details.
**/
scheduleMigration: AugmentedSubmittable<(start: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, warmUp: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, coolOff: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, unsafeIgnoreStakingLockCheck: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, bool]>;
/**
* XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
* [Config::SendXcm] router which will be able to send messages to the Asset Hub during
* the migration.
**/
sendXcmMessage: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
/**
* Set the AH UMP queue priority configuration.
*
* Can only be called by the `AdminOrigin`.
**/
setAhUmpQueuePriority: AugmentedSubmittable<(updated: PalletRcMigratorQueuePriority | { Config: any } | { OverrideConfig: any } | { Disabled: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorQueuePriority]>;
/**
* Set the canceller account id.
*
* The canceller can only stop scheduled migration.
**/
setCanceller: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
/**
* Set the manager account id.
*
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
* can not set the manager account id via `set_manager` call.
**/
setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
/**
* Set the migration settings. Can only be done by admin or manager.
**/
setSettings: AugmentedSubmittable<(settings: Option<PalletRcMigratorMigrationSettings> | null | Uint8Array | PalletRcMigratorMigrationSettings | { maxAccountsPerBlock?: any; maxItemsPerBlock?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletRcMigratorMigrationSettings>]>;
/**
* Set the unprocessed message buffer size.
*
* `None` means to use the configuration value.
**/
setUnprocessedMsgBuffer: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
/**
* Start the data migration.
*
* This is typically called by the Asset Hub to indicate it's readiness to receive the
* migration data.
**/
startDataMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Vote on behalf of any of the members in `MultisigMembers`.
*
* Unsigned extrinsic, requiring the `payload` to be signed.
*
* Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
* be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
* move on to the next round.
*
* The round system ensures that signatures from older round cannot be reused.
**/
voteManagerMultisig: AugmentedSubmittable<(payload: PalletRcMigratorManagerMultisigVote | { who?: any; call?: any; round?: any } | string | Uint8Array, sig: SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorManagerMultisigVote, SpRuntimeMultiSignature]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
referenda: { referenda: {
/** /**
* Cancel an ongoing referendum. * Cancel an ongoing referendum.
@@ -2764,6 +2923,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Can be called by the `T::AdminOrigin`. * Can be called by the `T::AdminOrigin`.
* *
* Parameters: era and indices of the slashes for that era to kill. * Parameters: era and indices of the slashes for that era to kill.
* They **must** be sorted in ascending order, *and* unique.
**/ **/
cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>; cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
/** /**
@@ -3121,6 +3281,8 @@ declare module '@polkadot/api-base/types/submittable' {
* period ends. If this leaves an amount actively bonded less than * period ends. If this leaves an amount actively bonded less than
* [`asset::existential_deposit`], then it is increased to the full amount. * [`asset::existential_deposit`], then it is increased to the full amount.
* *
* The stash may be chilled if the ledger total amount falls to 0 after unbonding.
*
* The dispatch origin for this call must be _Signed_ by the controller, not the stash. * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
* *
* Once the unlock period is done, you can call `withdraw_unbonded` to actually move * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
@@ -3186,6 +3348,21 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
stakingAhClient: {
/**
* manually do what this pallet was meant to do at the end of the migration.
**/
forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Allows governance to force set the operating mode of the pallet.
**/
setMode: AugmentedSubmittable<(mode: PalletStakingAsyncAhClientOperatingMode | 'Passive' | 'Buffered' | 'Active' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncAhClientOperatingMode]>;
validatorSet: AugmentedSubmittable<(report: PalletStakingAsyncRcClientValidatorSetReport | { newValidatorSet?: any; id?: any; pruneUpTo?: any; leftover?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncRcClientValidatorSetReport]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
stateTrieMigration: { stateTrieMigration: {
/** /**
* Continue the migration for the given `limits`. * Continue the migration for the given `limits`.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
-676
View File
@@ -4,25 +4,6 @@
/* eslint-disable sort-keys */ /* eslint-disable sort-keys */
export default { export default {
/**
* Lookup35: pallet_balances::pallet::UnexpectedKind
**/
PalletBalancesUnexpectedKind: {
_enum: ['BalanceUpdated', 'FailedToMutateAccount']
},
/**
* Lookup46: pallet_session::historical::pallet::Event<T>
**/
PalletSessionHistoricalPalletEvent: {
_enum: {
RootStored: {
index: 'u32',
},
RootsPruned: {
upTo: 'u32'
}
}
},
/** /**
* Lookup138: staging_kusama_runtime::SessionKeys * Lookup138: staging_kusama_runtime::SessionKeys
**/ **/
@@ -244,409 +225,6 @@ export default {
votes23: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);22],Compact<u16>)>', votes23: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);22],Compact<u16>)>',
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>' votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
}, },
/**
* Lookup317: pallet_staking_async_ah_client::pallet::Call<T>
**/
PalletStakingAsyncAhClientCall: {
_enum: {
validator_set: {
report: 'PalletStakingAsyncRcClientValidatorSetReport',
},
set_mode: {
mode: 'PalletStakingAsyncAhClientOperatingMode',
},
force_on_migration_end: 'Null'
}
},
/**
* Lookup318: pallet_staking_async_rc_client::ValidatorSetReport<sp_core::crypto::AccountId32>
**/
PalletStakingAsyncRcClientValidatorSetReport: {
newValidatorSet: 'Vec<AccountId32>',
id: 'u32',
pruneUpTo: 'Option<u32>',
leftover: 'bool'
},
/**
* Lookup319: pallet_staking_async_ah_client::OperatingMode
**/
PalletStakingAsyncAhClientOperatingMode: {
_enum: ['Passive', 'Buffered', 'Active']
},
/**
* Lookup373: polkadot_primitives::vstaging::DisputeProof
**/
PolkadotPrimitivesVstagingDisputeProof: {
timeSlot: 'PolkadotPrimitivesV8SlashingDisputesTimeSlot',
kind: 'PolkadotPrimitivesVstagingDisputeOffenceKind',
validatorIndex: 'u32',
validatorId: 'PolkadotPrimitivesV8ValidatorAppPublic'
},
/**
* Lookup375: polkadot_primitives::vstaging::DisputeOffenceKind
**/
PolkadotPrimitivesVstagingDisputeOffenceKind: {
_enum: ['ForInvalidBacked', 'AgainstValid', 'ForInvalidApproved']
},
/**
* Lookup502: pallet_rc_migrator::pallet::Call<T>
**/
PalletRcMigratorCall: {
_enum: {
force_set_stage: {
stage: 'PalletRcMigratorMigrationStage',
},
schedule_migration: {
start: 'FrameSupportScheduleDispatchTime',
warmUp: 'FrameSupportScheduleDispatchTime',
coolOff: 'FrameSupportScheduleDispatchTime',
unsafeIgnoreStakingLockCheck: 'bool',
},
start_data_migration: 'Null',
receive_query_response: {
queryId: 'u64',
response: 'StagingXcmV5Response',
},
resend_xcm: {
queryId: 'u64',
},
set_unprocessed_msg_buffer: {
_alias: {
new_: 'new',
},
new_: 'Option<u32>',
},
set_ah_ump_queue_priority: {
_alias: {
new_: 'new',
},
new_: 'PalletRcMigratorQueuePriority',
},
set_manager: {
_alias: {
new_: 'new',
},
new_: 'Option<AccountId32>',
},
send_xcm_message: {
dest: 'XcmVersionedLocation',
message: 'XcmVersionedXcm',
},
preserve_accounts: {
accounts: 'Vec<AccountId32>',
},
set_canceller: {
_alias: {
new_: 'new',
},
new_: 'Option<AccountId32>',
},
pause_migration: 'Null',
cancel_migration: 'Null',
vote_manager_multisig: {
payload: 'PalletRcMigratorManagerMultisigVote',
sig: 'SpRuntimeMultiSignature'
}
}
},
/**
* Lookup503: pallet_rc_migrator::MigrationStage<sp_core::crypto::AccountId32, BlockNumber, BagsListScore, VotingClass, polkadot_runtime_common::impls::VersionedLocatableAsset, SchedulerBlockNumber>
**/
PalletRcMigratorMigrationStage: {
_enum: {
Pending: 'Null',
MigrationPaused: 'Null',
Scheduled: {
start: 'u32',
},
WaitingForAh: 'Null',
WarmUp: {
endAt: 'u32',
},
Starting: 'Null',
PureProxyCandidatesMigrationInit: 'Null',
AccountsMigrationInit: 'Null',
AccountsMigrationOngoing: {
lastKey: 'Option<AccountId32>',
},
AccountsMigrationDone: 'Null',
MultisigMigrationInit: 'Null',
MultisigMigrationOngoing: {
lastKey: 'Option<(AccountId32,[u8;32])>',
},
MultisigMigrationDone: 'Null',
ClaimsMigrationInit: 'Null',
ClaimsMigrationOngoing: {
currentKey: 'Option<PalletRcMigratorClaimsClaimsStage>',
},
ClaimsMigrationDone: 'Null',
ProxyMigrationInit: 'Null',
ProxyMigrationProxies: {
lastKey: 'Option<AccountId32>',
},
ProxyMigrationAnnouncements: {
lastKey: 'Option<AccountId32>',
},
ProxyMigrationDone: 'Null',
PreimageMigrationInit: 'Null',
PreimageMigrationChunksOngoing: {
lastKey: 'Option<((H256,u32),u32)>',
},
PreimageMigrationChunksDone: 'Null',
PreimageMigrationRequestStatusOngoing: {
nextKey: 'Option<H256>',
},
PreimageMigrationRequestStatusDone: 'Null',
PreimageMigrationLegacyRequestStatusInit: 'Null',
PreimageMigrationLegacyRequestStatusOngoing: {
nextKey: 'Option<H256>',
},
PreimageMigrationLegacyRequestStatusDone: 'Null',
PreimageMigrationDone: 'Null',
NomPoolsMigrationInit: 'Null',
NomPoolsMigrationOngoing: {
nextKey: 'Option<PalletRcMigratorStakingNomPoolsNomPoolsStage>',
},
NomPoolsMigrationDone: 'Null',
VestingMigrationInit: 'Null',
VestingMigrationOngoing: {
nextKey: 'Option<AccountId32>',
},
VestingMigrationDone: 'Null',
DelegatedStakingMigrationInit: 'Null',
DelegatedStakingMigrationOngoing: {
nextKey: 'Option<PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage>',
},
DelegatedStakingMigrationDone: 'Null',
IndicesMigrationInit: 'Null',
IndicesMigrationOngoing: {
nextKey: 'Option<Null>',
},
IndicesMigrationDone: 'Null',
ReferendaMigrationInit: 'Null',
ReferendaMigrationOngoing: {
lastKey: 'Option<PalletRcMigratorReferendaReferendaStage>',
},
ReferendaMigrationDone: 'Null',
BagsListMigrationInit: 'Null',
BagsListMigrationOngoing: {
nextKey: 'Option<PalletRcMigratorStakingBagsListBagsListStage>',
},
BagsListMigrationDone: 'Null',
SchedulerMigrationInit: 'Null',
SchedulerMigrationOngoing: {
lastKey: 'Option<PalletRcMigratorSchedulerSchedulerStage>',
},
SchedulerAgendaMigrationOngoing: {
lastKey: 'Option<u32>',
},
SchedulerMigrationDone: 'Null',
ConvictionVotingMigrationInit: 'Null',
ConvictionVotingMigrationOngoing: {
lastKey: 'Option<PalletRcMigratorConvictionVotingConvictionVotingStage>',
},
ConvictionVotingMigrationDone: 'Null',
BountiesMigrationInit: 'Null',
BountiesMigrationOngoing: {
lastKey: 'Option<PalletRcMigratorBountiesBountiesStage>',
},
BountiesMigrationDone: 'Null',
ChildBountiesMigrationInit: 'Null',
ChildBountiesMigrationOngoing: {
lastKey: 'Option<PalletRcMigratorChildBountiesChildBountiesStage>',
},
ChildBountiesMigrationDone: 'Null',
AssetRateMigrationInit: 'Null',
AssetRateMigrationOngoing: {
lastKey: 'Option<PolkadotRuntimeCommonImplsVersionedLocatableAsset>',
},
AssetRateMigrationDone: 'Null',
CrowdloanMigrationInit: 'Null',
CrowdloanMigrationOngoing: {
lastKey: 'Option<PalletRcMigratorCrowdloanCrowdloanStage>',
},
CrowdloanMigrationDone: 'Null',
TreasuryMigrationInit: 'Null',
TreasuryMigrationOngoing: {
lastKey: 'Option<PalletRcMigratorTreasuryTreasuryStage>',
},
TreasuryMigrationDone: 'Null',
RecoveryMigrationInit: 'Null',
RecoveryMigrationOngoing: {
lastKey: 'Option<PalletRcMigratorRecoveryRecoveryStage>',
},
RecoveryMigrationDone: 'Null',
SocietyMigrationInit: 'Null',
SocietyMigrationOngoing: {
lastKey: 'Option<PalletRcMigratorSocietySocietyStage>',
},
SocietyMigrationDone: 'Null',
StakingMigrationInit: 'Null',
StakingMigrationOngoing: {
nextKey: 'Option<PalletRcMigratorStakingStakingImplStakingStage>',
},
StakingMigrationDone: 'Null',
CoolOff: {
endAt: 'u32',
},
SignalMigrationFinish: 'Null',
MigrationDone: 'Null'
}
},
/**
* Lookup507: pallet_rc_migrator::claims::ClaimsStage<sp_core::crypto::AccountId32>
**/
PalletRcMigratorClaimsClaimsStage: {
_enum: {
StorageValues: 'Null',
Claims: 'Option<EthereumAddress>',
Vesting: 'Option<EthereumAddress>',
Signing: 'Option<EthereumAddress>',
Preclaims: 'Option<AccountId32>',
Finished: 'Null'
}
},
/**
* Lookup513: pallet_rc_migrator::staking::nom_pools::NomPoolsStage<sp_core::crypto::AccountId32>
**/
PalletRcMigratorStakingNomPoolsNomPoolsStage: {
_enum: {
StorageValues: 'Null',
PoolMembers: 'Option<AccountId32>',
BondedPools: 'Option<u32>',
RewardPools: 'Option<u32>',
SubPoolsStorage: 'Option<u32>',
Metadata: 'Option<u32>',
ReversePoolIdLookup: 'Option<AccountId32>',
ClaimPermissions: 'Option<AccountId32>',
Finished: 'Null'
}
},
/**
* Lookup515: pallet_rc_migrator::staking::delegated_staking::DelegatedStakingStage<sp_core::crypto::AccountId32>
**/
PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage: {
_enum: {
Delegators: 'Option<AccountId32>',
Agents: 'Option<AccountId32>',
Finished: 'Null'
}
},
/**
* Lookup518: pallet_rc_migrator::referenda::ReferendaStage
**/
PalletRcMigratorReferendaReferendaStage: {
_enum: {
StorageValues: 'Null',
Metadata: 'Option<u32>',
ReferendumInfo: 'Option<u32>'
}
},
/**
* Lookup520: pallet_rc_migrator::staking::bags_list::BagsListStage<sp_core::crypto::AccountId32, Score>
**/
PalletRcMigratorStakingBagsListBagsListStage: {
_enum: {
ListNodes: 'Option<AccountId32>',
ListBags: 'Option<u64>',
Finished: 'Null'
}
},
/**
* Lookup522: pallet_rc_migrator::scheduler::SchedulerStage<BlockNumber>
**/
PalletRcMigratorSchedulerSchedulerStage: {
_enum: {
IncompleteSince: 'Null',
Retries: 'Option<(u32,u32)>',
Lookup: 'Option<[u8;32]>',
Finished: 'Null'
}
},
/**
* Lookup525: pallet_rc_migrator::conviction_voting::ConvictionVotingStage<sp_core::crypto::AccountId32, Class>
**/
PalletRcMigratorConvictionVotingConvictionVotingStage: {
_enum: {
VotingFor: 'Option<(AccountId32,u16)>',
ClassLocksFor: 'Option<AccountId32>',
Finished: 'Null'
}
},
/**
* Lookup529: pallet_rc_migrator::bounties::BountiesStage
**/
PalletRcMigratorBountiesBountiesStage: {
_enum: {
BountyCount: 'Null',
BountyApprovals: 'Null',
BountyDescriptions: {
lastKey: 'Option<u32>',
},
Bounties: {
lastKey: 'Option<u32>',
},
Finished: 'Null'
}
},
/**
* Lookup531: pallet_rc_migrator::child_bounties::ChildBountiesStage
**/
PalletRcMigratorChildBountiesChildBountiesStage: {
_enum: {
ChildBountyCount: 'Null',
ParentChildBounties: {
parentId: 'Option<u32>',
},
ParentTotalChildBounties: {
parentId: 'Option<u32>',
},
ChildBounties: {
ids: 'Option<(u32,u32)>',
},
ChildBountyDescriptionsV1: {
ids: 'Option<(u32,u32)>',
},
V0ToV1ChildBountyIds: {
childId: 'Option<u32>',
},
ChildrenCuratorFees: {
childId: 'Option<u32>',
},
Finished: 'Null'
}
},
/**
* Lookup534: pallet_rc_migrator::crowdloan::CrowdloanStage
**/
PalletRcMigratorCrowdloanCrowdloanStage: {
_enum: {
Setup: 'Null',
LeaseReserve: {
lastKey: 'Option<u32>',
},
CrowdloanContribution: {
lastKey: 'Option<u32>',
},
CrowdloanReserve: 'Null',
Finished: 'Null'
}
},
/**
* Lookup537: pallet_rc_migrator::treasury::TreasuryStage
**/
PalletRcMigratorTreasuryTreasuryStage: {
_enum: {
ProposalCount: 'Null',
Proposals: 'Option<u32>',
Approvals: 'Null',
SpendCount: 'Null',
Spends: 'Option<u32>',
LastSpendPeriod: 'Null',
Funds: 'Null',
Finished: 'Null'
}
},
/** /**
* Lookup539: pallet_rc_migrator::recovery::RecoveryStage * Lookup539: pallet_rc_migrator::recovery::RecoveryStage
**/ **/
@@ -675,53 +253,6 @@ export default {
Finished: 'Null' Finished: 'Null'
} }
}, },
/**
* Lookup547: pallet_rc_migrator::staking::staking_impl::StakingStage<sp_core::crypto::AccountId32>
**/
PalletRcMigratorStakingStakingImplStakingStage: {
_enum: {
Values: 'Null',
Invulnerables: 'Null',
Bonded: 'Option<AccountId32>',
Ledger: 'Option<AccountId32>',
Payee: 'Option<AccountId32>',
Validators: 'Option<AccountId32>',
Nominators: 'Option<AccountId32>',
VirtualStakers: 'Option<AccountId32>',
ErasStakersOverview: 'Option<(u32,AccountId32)>',
ErasStakersPaged: 'Option<(u32,AccountId32,u32)>',
ClaimedRewards: 'Option<(u32,AccountId32)>',
ErasValidatorPrefs: 'Option<(u32,AccountId32)>',
ErasValidatorReward: 'Option<u32>',
ErasRewardPoints: 'Option<u32>',
ErasTotalStake: 'Option<u32>',
UnappliedSlashes: 'Option<u32>',
BondedEras: 'Null',
ValidatorSlashInEra: 'Option<(u32,AccountId32)>',
NominatorSlashInEra: 'Option<(u32,AccountId32)>',
SlashingSpans: 'Option<AccountId32>',
SpanSlash: 'Option<(AccountId32,u32)>',
Finished: 'Null'
}
},
/**
* Lookup552: pallet_rc_migrator::types::QueuePriority<BlockNumber>
**/
PalletRcMigratorQueuePriority: {
_enum: {
Config: 'Null',
OverrideConfig: '(u32,u32)',
Disabled: 'Null'
}
},
/**
* Lookup553: pallet_rc_migrator::pallet::ManagerMultisigVote<T>
**/
PalletRcMigratorManagerMultisigVote: {
who: 'SpRuntimeMultiSigner',
call: 'Call',
round: 'u32'
},
/** /**
* Lookup566: staging_kusama_runtime::RuntimeParametersKey * Lookup566: staging_kusama_runtime::RuntimeParametersKey
**/ **/
@@ -786,123 +317,6 @@ export default {
* Lookup580: staging_kusama_runtime::Runtime * Lookup580: staging_kusama_runtime::Runtime
**/ **/
StagingKusamaRuntimeRuntime: 'Null', StagingKusamaRuntimeRuntime: 'Null',
/**
* Lookup598: pallet_staking_async_ah_client::pallet::Event<T>
**/
PalletStakingAsyncAhClientEvent: {
_enum: {
ValidatorSetReceived: {
id: 'u32',
newValidatorSetCount: 'u32',
pruneUpTo: 'Option<u32>',
leftover: 'bool',
},
CouldNotMergeAndDropped: 'Null',
SetTooSmallAndDropped: 'Null',
Unexpected: 'PalletStakingAsyncAhClientUnexpectedKind'
}
},
/**
* Lookup599: pallet_staking_async_ah_client::pallet::UnexpectedKind
**/
PalletStakingAsyncAhClientUnexpectedKind: {
_enum: ['ReceivedValidatorSetWhilePassive', 'UnexpectedModeTransition', 'SessionReportSendFailed', 'SessionReportDropped', 'OffenceSendFailed', 'ValidatorPointDropped']
},
/**
* Lookup617: staging_xcm::v5::traits::InstructionError
**/
StagingXcmV5TraitsInstructionError: {
index: 'u8',
error: 'XcmV5TraitsError'
},
/**
* Lookup622: pallet_rc_migrator::pallet::Event<T>
**/
PalletRcMigratorEvent: {
_enum: {
StageTransition: {
_alias: {
new_: 'new',
},
old: 'PalletRcMigratorMigrationStage',
new_: 'PalletRcMigratorMigrationStage',
},
AssetHubMigrationStarted: 'Null',
AssetHubMigrationFinished: 'Null',
QueryResponseReceived: {
queryId: 'u64',
response: 'XcmV3MaybeErrorCode',
},
XcmResendAttempt: {
queryId: 'u64',
sendError: 'Option<XcmV3TraitsSendError>',
},
UnprocessedMsgBufferSet: {
_alias: {
new_: 'new',
},
new_: 'u32',
old: 'u32',
},
AhUmpQueuePrioritySet: {
prioritized: 'bool',
cycleBlock: 'u32',
cyclePeriod: 'u32',
},
AhUmpQueuePriorityConfigSet: {
_alias: {
new_: 'new',
},
old: 'PalletRcMigratorQueuePriority',
new_: 'PalletRcMigratorQueuePriority',
},
MigratedBalanceRecordSet: {
kept: 'u128',
migrated: 'u128',
},
MigratedBalanceConsumed: {
kept: 'u128',
migrated: 'u128',
},
ManagerSet: {
_alias: {
new_: 'new',
},
old: 'Option<AccountId32>',
new_: 'Option<AccountId32>',
},
XcmSent: {
origin: 'StagingXcmV5Location',
destination: 'StagingXcmV5Location',
message: 'StagingXcmV5Xcm',
messageId: '[u8;32]',
},
StakingElectionsPaused: 'Null',
AccountsPreserved: {
accounts: 'Vec<AccountId32>',
},
CancellerSet: {
_alias: {
new_: 'new',
},
old: 'Option<AccountId32>',
new_: 'Option<AccountId32>',
},
MigrationPaused: {
pauseStage: 'PalletRcMigratorMigrationStage',
},
MigrationCancelled: 'Null',
PureAccountsIndexed: {
numPureAccounts: 'u32',
},
ManagerMultisigDispatched: {
res: 'Result<Null, SpRuntimeDispatchError>',
},
ManagerMultisigVoted: {
votes: 'u32'
}
}
},
/** /**
* Lookup668: staging_kusama_runtime::RuntimeHoldReason * Lookup668: staging_kusama_runtime::RuntimeHoldReason
**/ **/
@@ -1010,12 +424,6 @@ export default {
XcmPallet: 'PalletXcmHoldReason' XcmPallet: 'PalletXcmHoldReason'
} }
}, },
/**
* Lookup670: pallet_session::pallet::HoldReason
**/
PalletSessionHoldReason: {
_enum: ['Keys']
},
/** /**
* Lookup677: staging_kusama_runtime::RuntimeFreezeReason * Lookup677: staging_kusama_runtime::RuntimeFreezeReason
**/ **/
@@ -1065,90 +473,6 @@ export default {
NominationPools: 'PalletNominationPoolsFreezeReason' NominationPools: 'PalletNominationPoolsFreezeReason'
} }
}, },
/**
* Lookup824: frame_election_provider_support::BoundedSupports<sp_core::crypto::AccountId32, BOuter, BInner>
**/
FrameElectionProviderSupportBoundedSupports: 'Vec<(AccountId32,FrameElectionProviderSupportBoundedSupport)>',
/**
* Lookup827: frame_election_provider_support::BoundedSupport<sp_core::crypto::AccountId32, Bound>
**/
FrameElectionProviderSupportBoundedSupport: {
total: 'u128',
voters: 'Vec<(AccountId32,u128)>'
},
/**
* Lookup869: pallet_staking_async_rc_client::SessionReport<sp_core::crypto::AccountId32>
**/
PalletStakingAsyncRcClientSessionReport: {
endIndex: 'u32',
validatorPoints: 'Vec<(AccountId32,u32)>',
activationTimestamp: 'Option<(u64,u32)>',
leftover: 'bool'
},
/**
* Lookup873: pallet_staking_async_rc_client::Offence<sp_core::crypto::AccountId32>
**/
PalletStakingAsyncRcClientOffence: {
offender: 'AccountId32',
reporters: 'Vec<AccountId32>',
slashFraction: 'Perbill'
},
/**
* Lookup875: pallet_staking_async_ah_client::pallet::Error<T>
**/
PalletStakingAsyncAhClientError: {
_enum: ['Blocked']
},
/**
* Lookup920: polkadot_runtime_parachains::paras::AuthorizedCodeHashAndExpiry<T>
**/
PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry: {
codeHash: 'H256',
expireAt: 'u32'
},
/**
* Lookup945: polkadot_primitives::vstaging::PendingSlashes
**/
PolkadotPrimitivesVstagingPendingSlashes: {
_alias: {
keys_: 'keys'
},
keys_: 'BTreeMap<u32, PolkadotPrimitivesV8ValidatorAppPublic>',
kind: 'PolkadotPrimitivesVstagingDisputeOffenceKind'
},
/**
* Lookup1013: pallet_xcm::errors::ExecutionError
**/
PalletXcmErrorsExecutionError: {
_enum: ['Overflow', 'Unimplemented', 'UntrustedReserveLocation', 'UntrustedTeleportLocation', 'LocationFull', 'LocationNotInvertible', 'BadOrigin', 'InvalidLocation', 'AssetNotFound', 'FailedToTransactAsset', 'NotWithdrawable', 'LocationCannotHold', 'ExceedsMaxMessageSize', 'DestinationUnsupported', 'Transport', 'Unroutable', 'UnknownClaim', 'FailedToDecode', 'MaxWeightInvalid', 'NotHoldingFees', 'TooExpensive', 'Trap', 'ExpectationFalse', 'PalletNotFound', 'NameMismatch', 'VersionIncompatible', 'HoldingWouldOverflow', 'ExportError', 'ReanchorFailed', 'NoDeal', 'FeesNotMet', 'LockError', 'NoPermission', 'Unanchored', 'NotDepositable', 'TooManyAssets', 'UnhandledXcmVersion', 'WeightLimitReached', 'Barrier', 'WeightNotComputable', 'ExceedsStackLimit']
},
/**
* Lookup1026: pallet_rc_migrator::accounts::AccountState<Balance>
**/
PalletRcMigratorAccountsAccountState: {
_enum: {
Migrate: 'Null',
Preserve: 'Null',
Part: {
free: 'u128',
reserved: 'u128',
consumers: 'u32'
}
}
},
/**
* Lookup1027: pallet_rc_migrator::accounts::MigratedBalances<Balance>
**/
PalletRcMigratorAccountsMigratedBalances: {
kept: 'u128',
migrated: 'u128'
},
/**
* Lookup1029: pallet_rc_migrator::pallet::Error<T>
**/
PalletRcMigratorError: {
_enum: ['Unreachable', 'OutOfWeight', 'XcmError', 'FailedToWithdrawAccount', 'PastBlockNumber', 'EraEndsTooSoon', 'BalanceOverflow', 'BalanceUnderflow', 'InvalidQueryResponse', 'QueryNotFound', 'XcmSendError', 'UnreachableStage', 'InvalidParameter', 'AhUmpQueuePriorityAlreadySet', 'AccountReferenced', 'BadXcmVersion', 'InvalidOrigin', 'InvalidStageTransition']
},
/** /**
* Lookup1159: staging_kusama_runtime::RuntimeError * Lookup1159: staging_kusama_runtime::RuntimeError
**/ **/
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -5,32 +5,11 @@
// this is required to allow for ambient/previous definitions // this is required to allow for ambient/previous definitions
import '@polkadot/types/lookup'; import '@polkadot/types/lookup';
import type { BTreeMap, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Compact, Enum, Null, Option, Struct, Vec, bool, u16, u32 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types'; import type { ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { AccountId32, PerU16, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { AccountId32, Call, H256, PerU16, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
declare module '@polkadot/types/lookup' { declare module '@polkadot/types/lookup' {
/** @name PalletBalancesUnexpectedKind (35) */
interface PalletBalancesUnexpectedKind extends Enum {
readonly isBalanceUpdated: boolean;
readonly isFailedToMutateAccount: boolean;
readonly type: 'BalanceUpdated' | 'FailedToMutateAccount';
}
/** @name PalletSessionHistoricalPalletEvent (46) */
interface PalletSessionHistoricalPalletEvent extends Enum {
readonly isRootStored: boolean;
readonly asRootStored: {
readonly index: u32;
} & Struct;
readonly isRootsPruned: boolean;
readonly asRootsPruned: {
readonly upTo: u32;
} & Struct;
readonly type: 'RootStored' | 'RootsPruned';
}
/** @name StagingKusamaRuntimeSessionKeys (138) */ /** @name StagingKusamaRuntimeSessionKeys (138) */
interface StagingKusamaRuntimeSessionKeys extends Struct { interface StagingKusamaRuntimeSessionKeys extends Struct {
readonly grandpa: SpConsensusGrandpaAppPublic; readonly grandpa: SpConsensusGrandpaAppPublic;
@@ -187,445 +166,6 @@ declare module '@polkadot/types/lookup' {
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>; readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
} }
/** @name PalletStakingAsyncAhClientCall (317) */
interface PalletStakingAsyncAhClientCall extends Enum {
readonly isValidatorSet: boolean;
readonly asValidatorSet: {
readonly report: PalletStakingAsyncRcClientValidatorSetReport;
} & Struct;
readonly isSetMode: boolean;
readonly asSetMode: {
readonly mode: PalletStakingAsyncAhClientOperatingMode;
} & Struct;
readonly isForceOnMigrationEnd: boolean;
readonly type: 'ValidatorSet' | 'SetMode' | 'ForceOnMigrationEnd';
}
/** @name PalletStakingAsyncRcClientValidatorSetReport (318) */
interface PalletStakingAsyncRcClientValidatorSetReport extends Struct {
readonly newValidatorSet: Vec<AccountId32>;
readonly id: u32;
readonly pruneUpTo: Option<u32>;
readonly leftover: bool;
}
/** @name PalletStakingAsyncAhClientOperatingMode (319) */
interface PalletStakingAsyncAhClientOperatingMode extends Enum {
readonly isPassive: boolean;
readonly isBuffered: boolean;
readonly isActive: boolean;
readonly type: 'Passive' | 'Buffered' | 'Active';
}
/** @name PolkadotPrimitivesVstagingDisputeProof (373) */
interface PolkadotPrimitivesVstagingDisputeProof extends Struct {
readonly timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
readonly kind: PolkadotPrimitivesVstagingDisputeOffenceKind;
readonly validatorIndex: u32;
readonly validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
}
/** @name PolkadotPrimitivesVstagingDisputeOffenceKind (375) */
interface PolkadotPrimitivesVstagingDisputeOffenceKind extends Enum {
readonly isForInvalidBacked: boolean;
readonly isAgainstValid: boolean;
readonly isForInvalidApproved: boolean;
readonly type: 'ForInvalidBacked' | 'AgainstValid' | 'ForInvalidApproved';
}
/** @name PalletRcMigratorCall (502) */
interface PalletRcMigratorCall extends Enum {
readonly isForceSetStage: boolean;
readonly asForceSetStage: {
readonly stage: PalletRcMigratorMigrationStage;
} & Struct;
readonly isScheduleMigration: boolean;
readonly asScheduleMigration: {
readonly start: FrameSupportScheduleDispatchTime;
readonly warmUp: FrameSupportScheduleDispatchTime;
readonly coolOff: FrameSupportScheduleDispatchTime;
readonly unsafeIgnoreStakingLockCheck: bool;
} & Struct;
readonly isStartDataMigration: boolean;
readonly isReceiveQueryResponse: boolean;
readonly asReceiveQueryResponse: {
readonly queryId: u64;
readonly response: StagingXcmV5Response;
} & Struct;
readonly isResendXcm: boolean;
readonly asResendXcm: {
readonly queryId: u64;
} & Struct;
readonly isSetUnprocessedMsgBuffer: boolean;
readonly asSetUnprocessedMsgBuffer: {
readonly new_: Option<u32>;
} & Struct;
readonly isSetAhUmpQueuePriority: boolean;
readonly asSetAhUmpQueuePriority: {
readonly new_: PalletRcMigratorQueuePriority;
} & Struct;
readonly isSetManager: boolean;
readonly asSetManager: {
readonly new_: Option<AccountId32>;
} & Struct;
readonly isSendXcmMessage: boolean;
readonly asSendXcmMessage: {
readonly dest: XcmVersionedLocation;
readonly message: XcmVersionedXcm;
} & Struct;
readonly isPreserveAccounts: boolean;
readonly asPreserveAccounts: {
readonly accounts: Vec<AccountId32>;
} & Struct;
readonly isSetCanceller: boolean;
readonly asSetCanceller: {
readonly new_: Option<AccountId32>;
} & Struct;
readonly isPauseMigration: boolean;
readonly isCancelMigration: boolean;
readonly isVoteManagerMultisig: boolean;
readonly asVoteManagerMultisig: {
readonly payload: PalletRcMigratorManagerMultisigVote;
readonly sig: SpRuntimeMultiSignature;
} & Struct;
readonly type: 'ForceSetStage' | 'ScheduleMigration' | 'StartDataMigration' | 'ReceiveQueryResponse' | 'ResendXcm' | 'SetUnprocessedMsgBuffer' | 'SetAhUmpQueuePriority' | 'SetManager' | 'SendXcmMessage' | 'PreserveAccounts' | 'SetCanceller' | 'PauseMigration' | 'CancelMigration' | 'VoteManagerMultisig';
}
/** @name PalletRcMigratorMigrationStage (503) */
interface PalletRcMigratorMigrationStage extends Enum {
readonly isPending: boolean;
readonly isMigrationPaused: boolean;
readonly isScheduled: boolean;
readonly asScheduled: {
readonly start: u32;
} & Struct;
readonly isWaitingForAh: boolean;
readonly isWarmUp: boolean;
readonly asWarmUp: {
readonly endAt: u32;
} & Struct;
readonly isStarting: boolean;
readonly isPureProxyCandidatesMigrationInit: boolean;
readonly isAccountsMigrationInit: boolean;
readonly isAccountsMigrationOngoing: boolean;
readonly asAccountsMigrationOngoing: {
readonly lastKey: Option<AccountId32>;
} & Struct;
readonly isAccountsMigrationDone: boolean;
readonly isMultisigMigrationInit: boolean;
readonly isMultisigMigrationOngoing: boolean;
readonly asMultisigMigrationOngoing: {
readonly lastKey: Option<ITuple<[AccountId32, U8aFixed]>>;
} & Struct;
readonly isMultisigMigrationDone: boolean;
readonly isClaimsMigrationInit: boolean;
readonly isClaimsMigrationOngoing: boolean;
readonly asClaimsMigrationOngoing: {
readonly currentKey: Option<PalletRcMigratorClaimsClaimsStage>;
} & Struct;
readonly isClaimsMigrationDone: boolean;
readonly isProxyMigrationInit: boolean;
readonly isProxyMigrationProxies: boolean;
readonly asProxyMigrationProxies: {
readonly lastKey: Option<AccountId32>;
} & Struct;
readonly isProxyMigrationAnnouncements: boolean;
readonly asProxyMigrationAnnouncements: {
readonly lastKey: Option<AccountId32>;
} & Struct;
readonly isProxyMigrationDone: boolean;
readonly isPreimageMigrationInit: boolean;
readonly isPreimageMigrationChunksOngoing: boolean;
readonly asPreimageMigrationChunksOngoing: {
readonly lastKey: Option<ITuple<[ITuple<[H256, u32]>, u32]>>;
} & Struct;
readonly isPreimageMigrationChunksDone: boolean;
readonly isPreimageMigrationRequestStatusOngoing: boolean;
readonly asPreimageMigrationRequestStatusOngoing: {
readonly nextKey: Option<H256>;
} & Struct;
readonly isPreimageMigrationRequestStatusDone: boolean;
readonly isPreimageMigrationLegacyRequestStatusInit: boolean;
readonly isPreimageMigrationLegacyRequestStatusOngoing: boolean;
readonly asPreimageMigrationLegacyRequestStatusOngoing: {
readonly nextKey: Option<H256>;
} & Struct;
readonly isPreimageMigrationLegacyRequestStatusDone: boolean;
readonly isPreimageMigrationDone: boolean;
readonly isNomPoolsMigrationInit: boolean;
readonly isNomPoolsMigrationOngoing: boolean;
readonly asNomPoolsMigrationOngoing: {
readonly nextKey: Option<PalletRcMigratorStakingNomPoolsNomPoolsStage>;
} & Struct;
readonly isNomPoolsMigrationDone: boolean;
readonly isVestingMigrationInit: boolean;
readonly isVestingMigrationOngoing: boolean;
readonly asVestingMigrationOngoing: {
readonly nextKey: Option<AccountId32>;
} & Struct;
readonly isVestingMigrationDone: boolean;
readonly isDelegatedStakingMigrationInit: boolean;
readonly isDelegatedStakingMigrationOngoing: boolean;
readonly asDelegatedStakingMigrationOngoing: {
readonly nextKey: Option<PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage>;
} & Struct;
readonly isDelegatedStakingMigrationDone: boolean;
readonly isIndicesMigrationInit: boolean;
readonly isIndicesMigrationOngoing: boolean;
readonly asIndicesMigrationOngoing: {
readonly nextKey: Option<Null>;
} & Struct;
readonly isIndicesMigrationDone: boolean;
readonly isReferendaMigrationInit: boolean;
readonly isReferendaMigrationOngoing: boolean;
readonly asReferendaMigrationOngoing: {
readonly lastKey: Option<PalletRcMigratorReferendaReferendaStage>;
} & Struct;
readonly isReferendaMigrationDone: boolean;
readonly isBagsListMigrationInit: boolean;
readonly isBagsListMigrationOngoing: boolean;
readonly asBagsListMigrationOngoing: {
readonly nextKey: Option<PalletRcMigratorStakingBagsListBagsListStage>;
} & Struct;
readonly isBagsListMigrationDone: boolean;
readonly isSchedulerMigrationInit: boolean;
readonly isSchedulerMigrationOngoing: boolean;
readonly asSchedulerMigrationOngoing: {
readonly lastKey: Option<PalletRcMigratorSchedulerSchedulerStage>;
} & Struct;
readonly isSchedulerAgendaMigrationOngoing: boolean;
readonly asSchedulerAgendaMigrationOngoing: {
readonly lastKey: Option<u32>;
} & Struct;
readonly isSchedulerMigrationDone: boolean;
readonly isConvictionVotingMigrationInit: boolean;
readonly isConvictionVotingMigrationOngoing: boolean;
readonly asConvictionVotingMigrationOngoing: {
readonly lastKey: Option<PalletRcMigratorConvictionVotingConvictionVotingStage>;
} & Struct;
readonly isConvictionVotingMigrationDone: boolean;
readonly isBountiesMigrationInit: boolean;
readonly isBountiesMigrationOngoing: boolean;
readonly asBountiesMigrationOngoing: {
readonly lastKey: Option<PalletRcMigratorBountiesBountiesStage>;
} & Struct;
readonly isBountiesMigrationDone: boolean;
readonly isChildBountiesMigrationInit: boolean;
readonly isChildBountiesMigrationOngoing: boolean;
readonly asChildBountiesMigrationOngoing: {
readonly lastKey: Option<PalletRcMigratorChildBountiesChildBountiesStage>;
} & Struct;
readonly isChildBountiesMigrationDone: boolean;
readonly isAssetRateMigrationInit: boolean;
readonly isAssetRateMigrationOngoing: boolean;
readonly asAssetRateMigrationOngoing: {
readonly lastKey: Option<PolkadotRuntimeCommonImplsVersionedLocatableAsset>;
} & Struct;
readonly isAssetRateMigrationDone: boolean;
readonly isCrowdloanMigrationInit: boolean;
readonly isCrowdloanMigrationOngoing: boolean;
readonly asCrowdloanMigrationOngoing: {
readonly lastKey: Option<PalletRcMigratorCrowdloanCrowdloanStage>;
} & Struct;
readonly isCrowdloanMigrationDone: boolean;
readonly isTreasuryMigrationInit: boolean;
readonly isTreasuryMigrationOngoing: boolean;
readonly asTreasuryMigrationOngoing: {
readonly lastKey: Option<PalletRcMigratorTreasuryTreasuryStage>;
} & Struct;
readonly isTreasuryMigrationDone: boolean;
readonly isRecoveryMigrationInit: boolean;
readonly isRecoveryMigrationOngoing: boolean;
readonly asRecoveryMigrationOngoing: {
readonly lastKey: Option<PalletRcMigratorRecoveryRecoveryStage>;
} & Struct;
readonly isRecoveryMigrationDone: boolean;
readonly isSocietyMigrationInit: boolean;
readonly isSocietyMigrationOngoing: boolean;
readonly asSocietyMigrationOngoing: {
readonly lastKey: Option<PalletRcMigratorSocietySocietyStage>;
} & Struct;
readonly isSocietyMigrationDone: boolean;
readonly isStakingMigrationInit: boolean;
readonly isStakingMigrationOngoing: boolean;
readonly asStakingMigrationOngoing: {
readonly nextKey: Option<PalletRcMigratorStakingStakingImplStakingStage>;
} & Struct;
readonly isStakingMigrationDone: boolean;
readonly isCoolOff: boolean;
readonly asCoolOff: {
readonly endAt: u32;
} & Struct;
readonly isSignalMigrationFinish: boolean;
readonly isMigrationDone: boolean;
readonly type: 'Pending' | 'MigrationPaused' | 'Scheduled' | 'WaitingForAh' | 'WarmUp' | 'Starting' | 'PureProxyCandidatesMigrationInit' | 'AccountsMigrationInit' | 'AccountsMigrationOngoing' | 'AccountsMigrationDone' | 'MultisigMigrationInit' | 'MultisigMigrationOngoing' | 'MultisigMigrationDone' | 'ClaimsMigrationInit' | 'ClaimsMigrationOngoing' | 'ClaimsMigrationDone' | 'ProxyMigrationInit' | 'ProxyMigrationProxies' | 'ProxyMigrationAnnouncements' | 'ProxyMigrationDone' | 'PreimageMigrationInit' | 'PreimageMigrationChunksOngoing' | 'PreimageMigrationChunksDone' | 'PreimageMigrationRequestStatusOngoing' | 'PreimageMigrationRequestStatusDone' | 'PreimageMigrationLegacyRequestStatusInit' | 'PreimageMigrationLegacyRequestStatusOngoing' | 'PreimageMigrationLegacyRequestStatusDone' | 'PreimageMigrationDone' | 'NomPoolsMigrationInit' | 'NomPoolsMigrationOngoing' | 'NomPoolsMigrationDone' | 'VestingMigrationInit' | 'VestingMigrationOngoing' | 'VestingMigrationDone' | 'DelegatedStakingMigrationInit' | 'DelegatedStakingMigrationOngoing' | 'DelegatedStakingMigrationDone' | 'IndicesMigrationInit' | 'IndicesMigrationOngoing' | 'IndicesMigrationDone' | 'ReferendaMigrationInit' | 'ReferendaMigrationOngoing' | 'ReferendaMigrationDone' | 'BagsListMigrationInit' | 'BagsListMigrationOngoing' | 'BagsListMigrationDone' | 'SchedulerMigrationInit' | 'SchedulerMigrationOngoing' | 'SchedulerAgendaMigrationOngoing' | 'SchedulerMigrationDone' | 'ConvictionVotingMigrationInit' | 'ConvictionVotingMigrationOngoing' | 'ConvictionVotingMigrationDone' | 'BountiesMigrationInit' | 'BountiesMigrationOngoing' | 'BountiesMigrationDone' | 'ChildBountiesMigrationInit' | 'ChildBountiesMigrationOngoing' | 'ChildBountiesMigrationDone' | 'AssetRateMigrationInit' | 'AssetRateMigrationOngoing' | 'AssetRateMigrationDone' | 'CrowdloanMigrationInit' | 'CrowdloanMigrationOngoing' | 'CrowdloanMigrationDone' | 'TreasuryMigrationInit' | 'TreasuryMigrationOngoing' | 'TreasuryMigrationDone' | 'RecoveryMigrationInit' | 'RecoveryMigrationOngoing' | 'RecoveryMigrationDone' | 'SocietyMigrationInit' | 'SocietyMigrationOngoing' | 'SocietyMigrationDone' | 'StakingMigrationInit' | 'StakingMigrationOngoing' | 'StakingMigrationDone' | 'CoolOff' | 'SignalMigrationFinish' | 'MigrationDone';
}
/** @name PalletRcMigratorClaimsClaimsStage (507) */
interface PalletRcMigratorClaimsClaimsStage extends Enum {
readonly isStorageValues: boolean;
readonly isClaims: boolean;
readonly asClaims: Option<EthereumAddress>;
readonly isVesting: boolean;
readonly asVesting: Option<EthereumAddress>;
readonly isSigning: boolean;
readonly asSigning: Option<EthereumAddress>;
readonly isPreclaims: boolean;
readonly asPreclaims: Option<AccountId32>;
readonly isFinished: boolean;
readonly type: 'StorageValues' | 'Claims' | 'Vesting' | 'Signing' | 'Preclaims' | 'Finished';
}
/** @name PalletRcMigratorStakingNomPoolsNomPoolsStage (513) */
interface PalletRcMigratorStakingNomPoolsNomPoolsStage extends Enum {
readonly isStorageValues: boolean;
readonly isPoolMembers: boolean;
readonly asPoolMembers: Option<AccountId32>;
readonly isBondedPools: boolean;
readonly asBondedPools: Option<u32>;
readonly isRewardPools: boolean;
readonly asRewardPools: Option<u32>;
readonly isSubPoolsStorage: boolean;
readonly asSubPoolsStorage: Option<u32>;
readonly isMetadata: boolean;
readonly asMetadata: Option<u32>;
readonly isReversePoolIdLookup: boolean;
readonly asReversePoolIdLookup: Option<AccountId32>;
readonly isClaimPermissions: boolean;
readonly asClaimPermissions: Option<AccountId32>;
readonly isFinished: boolean;
readonly type: 'StorageValues' | 'PoolMembers' | 'BondedPools' | 'RewardPools' | 'SubPoolsStorage' | 'Metadata' | 'ReversePoolIdLookup' | 'ClaimPermissions' | 'Finished';
}
/** @name PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage (515) */
interface PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage extends Enum {
readonly isDelegators: boolean;
readonly asDelegators: Option<AccountId32>;
readonly isAgents: boolean;
readonly asAgents: Option<AccountId32>;
readonly isFinished: boolean;
readonly type: 'Delegators' | 'Agents' | 'Finished';
}
/** @name PalletRcMigratorReferendaReferendaStage (518) */
interface PalletRcMigratorReferendaReferendaStage extends Enum {
readonly isStorageValues: boolean;
readonly isMetadata: boolean;
readonly asMetadata: Option<u32>;
readonly isReferendumInfo: boolean;
readonly asReferendumInfo: Option<u32>;
readonly type: 'StorageValues' | 'Metadata' | 'ReferendumInfo';
}
/** @name PalletRcMigratorStakingBagsListBagsListStage (520) */
interface PalletRcMigratorStakingBagsListBagsListStage extends Enum {
readonly isListNodes: boolean;
readonly asListNodes: Option<AccountId32>;
readonly isListBags: boolean;
readonly asListBags: Option<u64>;
readonly isFinished: boolean;
readonly type: 'ListNodes' | 'ListBags' | 'Finished';
}
/** @name PalletRcMigratorSchedulerSchedulerStage (522) */
interface PalletRcMigratorSchedulerSchedulerStage extends Enum {
readonly isIncompleteSince: boolean;
readonly isRetries: boolean;
readonly asRetries: Option<ITuple<[u32, u32]>>;
readonly isLookup: boolean;
readonly asLookup: Option<U8aFixed>;
readonly isFinished: boolean;
readonly type: 'IncompleteSince' | 'Retries' | 'Lookup' | 'Finished';
}
/** @name PalletRcMigratorConvictionVotingConvictionVotingStage (525) */
interface PalletRcMigratorConvictionVotingConvictionVotingStage extends Enum {
readonly isVotingFor: boolean;
readonly asVotingFor: Option<ITuple<[AccountId32, u16]>>;
readonly isClassLocksFor: boolean;
readonly asClassLocksFor: Option<AccountId32>;
readonly isFinished: boolean;
readonly type: 'VotingFor' | 'ClassLocksFor' | 'Finished';
}
/** @name PalletRcMigratorBountiesBountiesStage (529) */
interface PalletRcMigratorBountiesBountiesStage extends Enum {
readonly isBountyCount: boolean;
readonly isBountyApprovals: boolean;
readonly isBountyDescriptions: boolean;
readonly asBountyDescriptions: {
readonly lastKey: Option<u32>;
} & Struct;
readonly isBounties: boolean;
readonly asBounties: {
readonly lastKey: Option<u32>;
} & Struct;
readonly isFinished: boolean;
readonly type: 'BountyCount' | 'BountyApprovals' | 'BountyDescriptions' | 'Bounties' | 'Finished';
}
/** @name PalletRcMigratorChildBountiesChildBountiesStage (531) */
interface PalletRcMigratorChildBountiesChildBountiesStage extends Enum {
readonly isChildBountyCount: boolean;
readonly isParentChildBounties: boolean;
readonly asParentChildBounties: {
readonly parentId: Option<u32>;
} & Struct;
readonly isParentTotalChildBounties: boolean;
readonly asParentTotalChildBounties: {
readonly parentId: Option<u32>;
} & Struct;
readonly isChildBounties: boolean;
readonly asChildBounties: {
readonly ids: Option<ITuple<[u32, u32]>>;
} & Struct;
readonly isChildBountyDescriptionsV1: boolean;
readonly asChildBountyDescriptionsV1: {
readonly ids: Option<ITuple<[u32, u32]>>;
} & Struct;
readonly isV0ToV1ChildBountyIds: boolean;
readonly asV0ToV1ChildBountyIds: {
readonly childId: Option<u32>;
} & Struct;
readonly isChildrenCuratorFees: boolean;
readonly asChildrenCuratorFees: {
readonly childId: Option<u32>;
} & Struct;
readonly isFinished: boolean;
readonly type: 'ChildBountyCount' | 'ParentChildBounties' | 'ParentTotalChildBounties' | 'ChildBounties' | 'ChildBountyDescriptionsV1' | 'V0ToV1ChildBountyIds' | 'ChildrenCuratorFees' | 'Finished';
}
/** @name PalletRcMigratorCrowdloanCrowdloanStage (534) */
interface PalletRcMigratorCrowdloanCrowdloanStage extends Enum {
readonly isSetup: boolean;
readonly isLeaseReserve: boolean;
readonly asLeaseReserve: {
readonly lastKey: Option<u32>;
} & Struct;
readonly isCrowdloanContribution: boolean;
readonly asCrowdloanContribution: {
readonly lastKey: Option<u32>;
} & Struct;
readonly isCrowdloanReserve: boolean;
readonly isFinished: boolean;
readonly type: 'Setup' | 'LeaseReserve' | 'CrowdloanContribution' | 'CrowdloanReserve' | 'Finished';
}
/** @name PalletRcMigratorTreasuryTreasuryStage (537) */
interface PalletRcMigratorTreasuryTreasuryStage extends Enum {
readonly isProposalCount: boolean;
readonly isProposals: boolean;
readonly asProposals: Option<u32>;
readonly isApprovals: boolean;
readonly isSpendCount: boolean;
readonly isSpends: boolean;
readonly asSpends: Option<u32>;
readonly isLastSpendPeriod: boolean;
readonly isFunds: boolean;
readonly isFinished: boolean;
readonly type: 'ProposalCount' | 'Proposals' | 'Approvals' | 'SpendCount' | 'Spends' | 'LastSpendPeriod' | 'Funds' | 'Finished';
}
/** @name PalletRcMigratorRecoveryRecoveryStage (539) */ /** @name PalletRcMigratorRecoveryRecoveryStage (539) */
interface PalletRcMigratorRecoveryRecoveryStage extends Enum { interface PalletRcMigratorRecoveryRecoveryStage extends Enum {
readonly isRecoverable: boolean; readonly isRecoverable: boolean;
@@ -661,67 +201,6 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Values' | 'Members' | 'Payouts' | 'MemberByIndex' | 'SuspendedMembers' | 'Candidates' | 'Votes' | 'VoteClearCursor' | 'DefenderVotes' | 'Finished'; readonly type: 'Values' | 'Members' | 'Payouts' | 'MemberByIndex' | 'SuspendedMembers' | 'Candidates' | 'Votes' | 'VoteClearCursor' | 'DefenderVotes' | 'Finished';
} }
/** @name PalletRcMigratorStakingStakingImplStakingStage (547) */
interface PalletRcMigratorStakingStakingImplStakingStage extends Enum {
readonly isValues: boolean;
readonly isInvulnerables: boolean;
readonly isBonded: boolean;
readonly asBonded: Option<AccountId32>;
readonly isLedger: boolean;
readonly asLedger: Option<AccountId32>;
readonly isPayee: boolean;
readonly asPayee: Option<AccountId32>;
readonly isValidators: boolean;
readonly asValidators: Option<AccountId32>;
readonly isNominators: boolean;
readonly asNominators: Option<AccountId32>;
readonly isVirtualStakers: boolean;
readonly asVirtualStakers: Option<AccountId32>;
readonly isErasStakersOverview: boolean;
readonly asErasStakersOverview: Option<ITuple<[u32, AccountId32]>>;
readonly isErasStakersPaged: boolean;
readonly asErasStakersPaged: Option<ITuple<[u32, AccountId32, u32]>>;
readonly isClaimedRewards: boolean;
readonly asClaimedRewards: Option<ITuple<[u32, AccountId32]>>;
readonly isErasValidatorPrefs: boolean;
readonly asErasValidatorPrefs: Option<ITuple<[u32, AccountId32]>>;
readonly isErasValidatorReward: boolean;
readonly asErasValidatorReward: Option<u32>;
readonly isErasRewardPoints: boolean;
readonly asErasRewardPoints: Option<u32>;
readonly isErasTotalStake: boolean;
readonly asErasTotalStake: Option<u32>;
readonly isUnappliedSlashes: boolean;
readonly asUnappliedSlashes: Option<u32>;
readonly isBondedEras: boolean;
readonly isValidatorSlashInEra: boolean;
readonly asValidatorSlashInEra: Option<ITuple<[u32, AccountId32]>>;
readonly isNominatorSlashInEra: boolean;
readonly asNominatorSlashInEra: Option<ITuple<[u32, AccountId32]>>;
readonly isSlashingSpans: boolean;
readonly asSlashingSpans: Option<AccountId32>;
readonly isSpanSlash: boolean;
readonly asSpanSlash: Option<ITuple<[AccountId32, u32]>>;
readonly isFinished: boolean;
readonly type: 'Values' | 'Invulnerables' | 'Bonded' | 'Ledger' | 'Payee' | 'Validators' | 'Nominators' | 'VirtualStakers' | 'ErasStakersOverview' | 'ErasStakersPaged' | 'ClaimedRewards' | 'ErasValidatorPrefs' | 'ErasValidatorReward' | 'ErasRewardPoints' | 'ErasTotalStake' | 'UnappliedSlashes' | 'BondedEras' | 'ValidatorSlashInEra' | 'NominatorSlashInEra' | 'SlashingSpans' | 'SpanSlash' | 'Finished';
}
/** @name PalletRcMigratorQueuePriority (552) */
interface PalletRcMigratorQueuePriority extends Enum {
readonly isConfig: boolean;
readonly isOverrideConfig: boolean;
readonly asOverrideConfig: ITuple<[u32, u32]>;
readonly isDisabled: boolean;
readonly type: 'Config' | 'OverrideConfig' | 'Disabled';
}
/** @name PalletRcMigratorManagerMultisigVote (553) */
interface PalletRcMigratorManagerMultisigVote extends Struct {
readonly who: SpRuntimeMultiSigner;
readonly call: Call;
readonly round: u32;
}
/** @name StagingKusamaRuntimeRuntimeParametersKey (566) */ /** @name StagingKusamaRuntimeRuntimeParametersKey (566) */
interface StagingKusamaRuntimeRuntimeParametersKey extends Enum { interface StagingKusamaRuntimeRuntimeParametersKey extends Enum {
readonly isInflation: boolean; readonly isInflation: boolean;
@@ -792,126 +271,6 @@ declare module '@polkadot/types/lookup' {
/** @name StagingKusamaRuntimeRuntime (580) */ /** @name StagingKusamaRuntimeRuntime (580) */
type StagingKusamaRuntimeRuntime = Null; type StagingKusamaRuntimeRuntime = Null;
/** @name PalletStakingAsyncAhClientEvent (598) */
interface PalletStakingAsyncAhClientEvent extends Enum {
readonly isValidatorSetReceived: boolean;
readonly asValidatorSetReceived: {
readonly id: u32;
readonly newValidatorSetCount: u32;
readonly pruneUpTo: Option<u32>;
readonly leftover: bool;
} & Struct;
readonly isCouldNotMergeAndDropped: boolean;
readonly isSetTooSmallAndDropped: boolean;
readonly isUnexpected: boolean;
readonly asUnexpected: PalletStakingAsyncAhClientUnexpectedKind;
readonly type: 'ValidatorSetReceived' | 'CouldNotMergeAndDropped' | 'SetTooSmallAndDropped' | 'Unexpected';
}
/** @name PalletStakingAsyncAhClientUnexpectedKind (599) */
interface PalletStakingAsyncAhClientUnexpectedKind extends Enum {
readonly isReceivedValidatorSetWhilePassive: boolean;
readonly isUnexpectedModeTransition: boolean;
readonly isSessionReportSendFailed: boolean;
readonly isSessionReportDropped: boolean;
readonly isOffenceSendFailed: boolean;
readonly isValidatorPointDropped: boolean;
readonly type: 'ReceivedValidatorSetWhilePassive' | 'UnexpectedModeTransition' | 'SessionReportSendFailed' | 'SessionReportDropped' | 'OffenceSendFailed' | 'ValidatorPointDropped';
}
/** @name StagingXcmV5TraitsInstructionError (617) */
interface StagingXcmV5TraitsInstructionError extends Struct {
readonly index: u8;
readonly error: XcmV5TraitsError;
}
/** @name PalletRcMigratorEvent (622) */
interface PalletRcMigratorEvent extends Enum {
readonly isStageTransition: boolean;
readonly asStageTransition: {
readonly old: PalletRcMigratorMigrationStage;
readonly new_: PalletRcMigratorMigrationStage;
} & Struct;
readonly isAssetHubMigrationStarted: boolean;
readonly isAssetHubMigrationFinished: boolean;
readonly isQueryResponseReceived: boolean;
readonly asQueryResponseReceived: {
readonly queryId: u64;
readonly response: XcmV3MaybeErrorCode;
} & Struct;
readonly isXcmResendAttempt: boolean;
readonly asXcmResendAttempt: {
readonly queryId: u64;
readonly sendError: Option<XcmV3TraitsSendError>;
} & Struct;
readonly isUnprocessedMsgBufferSet: boolean;
readonly asUnprocessedMsgBufferSet: {
readonly new_: u32;
readonly old: u32;
} & Struct;
readonly isAhUmpQueuePrioritySet: boolean;
readonly asAhUmpQueuePrioritySet: {
readonly prioritized: bool;
readonly cycleBlock: u32;
readonly cyclePeriod: u32;
} & Struct;
readonly isAhUmpQueuePriorityConfigSet: boolean;
readonly asAhUmpQueuePriorityConfigSet: {
readonly old: PalletRcMigratorQueuePriority;
readonly new_: PalletRcMigratorQueuePriority;
} & Struct;
readonly isMigratedBalanceRecordSet: boolean;
readonly asMigratedBalanceRecordSet: {
readonly kept: u128;
readonly migrated: u128;
} & Struct;
readonly isMigratedBalanceConsumed: boolean;
readonly asMigratedBalanceConsumed: {
readonly kept: u128;
readonly migrated: u128;
} & Struct;
readonly isManagerSet: boolean;
readonly asManagerSet: {
readonly old: Option<AccountId32>;
readonly new_: Option<AccountId32>;
} & Struct;
readonly isXcmSent: boolean;
readonly asXcmSent: {
readonly origin: StagingXcmV5Location;
readonly destination: StagingXcmV5Location;
readonly message: StagingXcmV5Xcm;
readonly messageId: U8aFixed;
} & Struct;
readonly isStakingElectionsPaused: boolean;
readonly isAccountsPreserved: boolean;
readonly asAccountsPreserved: {
readonly accounts: Vec<AccountId32>;
} & Struct;
readonly isCancellerSet: boolean;
readonly asCancellerSet: {
readonly old: Option<AccountId32>;
readonly new_: Option<AccountId32>;
} & Struct;
readonly isMigrationPaused: boolean;
readonly asMigrationPaused: {
readonly pauseStage: PalletRcMigratorMigrationStage;
} & Struct;
readonly isMigrationCancelled: boolean;
readonly isPureAccountsIndexed: boolean;
readonly asPureAccountsIndexed: {
readonly numPureAccounts: u32;
} & Struct;
readonly isManagerMultisigDispatched: boolean;
readonly asManagerMultisigDispatched: {
readonly res: Result<Null, SpRuntimeDispatchError>;
} & Struct;
readonly isManagerMultisigVoted: boolean;
readonly asManagerMultisigVoted: {
readonly votes: u32;
} & Struct;
readonly type: 'StageTransition' | 'AssetHubMigrationStarted' | 'AssetHubMigrationFinished' | 'QueryResponseReceived' | 'XcmResendAttempt' | 'UnprocessedMsgBufferSet' | 'AhUmpQueuePrioritySet' | 'AhUmpQueuePriorityConfigSet' | 'MigratedBalanceRecordSet' | 'MigratedBalanceConsumed' | 'ManagerSet' | 'XcmSent' | 'StakingElectionsPaused' | 'AccountsPreserved' | 'CancellerSet' | 'MigrationPaused' | 'MigrationCancelled' | 'PureAccountsIndexed' | 'ManagerMultisigDispatched' | 'ManagerMultisigVoted';
}
/** @name StagingKusamaRuntimeRuntimeHoldReason (668) */ /** @name StagingKusamaRuntimeRuntimeHoldReason (668) */
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum { interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
readonly isStaking: boolean; readonly isStaking: boolean;
@@ -927,12 +286,6 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Staking' | 'Session' | 'Preimage' | 'DelegatedStaking' | 'XcmPallet'; readonly type: 'Staking' | 'Session' | 'Preimage' | 'DelegatedStaking' | 'XcmPallet';
} }
/** @name PalletSessionHoldReason (670) */
interface PalletSessionHoldReason extends Enum {
readonly isKeys: boolean;
readonly type: 'Keys';
}
/** @name StagingKusamaRuntimeRuntimeFreezeReason (677) */ /** @name StagingKusamaRuntimeRuntimeFreezeReason (677) */
interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum { interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum {
readonly isNominationPools: boolean; readonly isNominationPools: boolean;
@@ -940,136 +293,6 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NominationPools'; readonly type: 'NominationPools';
} }
/** @name FrameElectionProviderSupportBoundedSupports (824) */
interface FrameElectionProviderSupportBoundedSupports extends Vec<ITuple<[AccountId32, FrameElectionProviderSupportBoundedSupport]>> {}
/** @name FrameElectionProviderSupportBoundedSupport (827) */
interface FrameElectionProviderSupportBoundedSupport extends Struct {
readonly total: u128;
readonly voters: Vec<ITuple<[AccountId32, u128]>>;
}
/** @name PalletStakingAsyncRcClientSessionReport (869) */
interface PalletStakingAsyncRcClientSessionReport extends Struct {
readonly endIndex: u32;
readonly validatorPoints: Vec<ITuple<[AccountId32, u32]>>;
readonly activationTimestamp: Option<ITuple<[u64, u32]>>;
readonly leftover: bool;
}
/** @name PalletStakingAsyncRcClientOffence (873) */
interface PalletStakingAsyncRcClientOffence extends Struct {
readonly offender: AccountId32;
readonly reporters: Vec<AccountId32>;
readonly slashFraction: Perbill;
}
/** @name PalletStakingAsyncAhClientError (875) */
interface PalletStakingAsyncAhClientError extends Enum {
readonly isBlocked: boolean;
readonly type: 'Blocked';
}
/** @name PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry (920) */
interface PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry extends Struct {
readonly codeHash: H256;
readonly expireAt: u32;
}
/** @name PolkadotPrimitivesVstagingPendingSlashes (945) */
interface PolkadotPrimitivesVstagingPendingSlashes extends Struct {
readonly keys_: BTreeMap<u32, PolkadotPrimitivesV8ValidatorAppPublic>;
readonly kind: PolkadotPrimitivesVstagingDisputeOffenceKind;
}
/** @name PalletXcmErrorsExecutionError (1013) */
interface PalletXcmErrorsExecutionError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
readonly isUntrustedReserveLocation: boolean;
readonly isUntrustedTeleportLocation: boolean;
readonly isLocationFull: boolean;
readonly isLocationNotInvertible: boolean;
readonly isBadOrigin: boolean;
readonly isInvalidLocation: boolean;
readonly isAssetNotFound: boolean;
readonly isFailedToTransactAsset: boolean;
readonly isNotWithdrawable: boolean;
readonly isLocationCannotHold: boolean;
readonly isExceedsMaxMessageSize: boolean;
readonly isDestinationUnsupported: boolean;
readonly isTransport: boolean;
readonly isUnroutable: boolean;
readonly isUnknownClaim: boolean;
readonly isFailedToDecode: boolean;
readonly isMaxWeightInvalid: boolean;
readonly isNotHoldingFees: boolean;
readonly isTooExpensive: boolean;
readonly isTrap: boolean;
readonly isExpectationFalse: boolean;
readonly isPalletNotFound: boolean;
readonly isNameMismatch: boolean;
readonly isVersionIncompatible: boolean;
readonly isHoldingWouldOverflow: boolean;
readonly isExportError: boolean;
readonly isReanchorFailed: boolean;
readonly isNoDeal: boolean;
readonly isFeesNotMet: boolean;
readonly isLockError: boolean;
readonly isNoPermission: boolean;
readonly isUnanchored: boolean;
readonly isNotDepositable: boolean;
readonly isTooManyAssets: boolean;
readonly isUnhandledXcmVersion: boolean;
readonly isWeightLimitReached: boolean;
readonly isBarrier: boolean;
readonly isWeightNotComputable: boolean;
readonly isExceedsStackLimit: boolean;
readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'TooManyAssets' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit';
}
/** @name PalletRcMigratorAccountsAccountState (1026) */
interface PalletRcMigratorAccountsAccountState extends Enum {
readonly isMigrate: boolean;
readonly isPreserve: boolean;
readonly isPart: boolean;
readonly asPart: {
readonly free: u128;
readonly reserved: u128;
readonly consumers: u32;
} & Struct;
readonly type: 'Migrate' | 'Preserve' | 'Part';
}
/** @name PalletRcMigratorAccountsMigratedBalances (1027) */
interface PalletRcMigratorAccountsMigratedBalances extends Struct {
readonly kept: u128;
readonly migrated: u128;
}
/** @name PalletRcMigratorError (1029) */
interface PalletRcMigratorError extends Enum {
readonly isUnreachable: boolean;
readonly isOutOfWeight: boolean;
readonly isXcmError: boolean;
readonly isFailedToWithdrawAccount: boolean;
readonly isPastBlockNumber: boolean;
readonly isEraEndsTooSoon: boolean;
readonly isBalanceOverflow: boolean;
readonly isBalanceUnderflow: boolean;
readonly isInvalidQueryResponse: boolean;
readonly isQueryNotFound: boolean;
readonly isXcmSendError: boolean;
readonly isUnreachableStage: boolean;
readonly isInvalidParameter: boolean;
readonly isAhUmpQueuePriorityAlreadySet: boolean;
readonly isAccountReferenced: boolean;
readonly isBadXcmVersion: boolean;
readonly isInvalidOrigin: boolean;
readonly isInvalidStageTransition: boolean;
readonly type: 'Unreachable' | 'OutOfWeight' | 'XcmError' | 'FailedToWithdrawAccount' | 'PastBlockNumber' | 'EraEndsTooSoon' | 'BalanceOverflow' | 'BalanceUnderflow' | 'InvalidQueryResponse' | 'QueryNotFound' | 'XcmSendError' | 'UnreachableStage' | 'InvalidParameter' | 'AhUmpQueuePriorityAlreadySet' | 'AccountReferenced' | 'BadXcmVersion' | 'InvalidOrigin' | 'InvalidStageTransition';
}
/** @name StagingKusamaRuntimeRuntimeError (1159) */ /** @name StagingKusamaRuntimeRuntimeError (1159) */
interface StagingKusamaRuntimeRuntimeError extends Enum { interface StagingKusamaRuntimeRuntimeError extends Enum {
readonly isSystem: boolean; readonly isSystem: boolean;
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -40
View File
@@ -5,52 +5,14 @@
// this is required to allow for ambient/previous definitions // this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry'; import '@polkadot/types/types/registry';
import type { FrameElectionProviderSupportBoundedSupport, FrameElectionProviderSupportBoundedSupports, KusamaRuntimeConstantsProxyProxyType, PalletBalancesUnexpectedKind, PalletRcMigratorAccountsAccountState, PalletRcMigratorAccountsMigratedBalances, PalletRcMigratorBountiesBountiesStage, PalletRcMigratorCall, PalletRcMigratorChildBountiesChildBountiesStage, PalletRcMigratorClaimsClaimsStage, PalletRcMigratorConvictionVotingConvictionVotingStage, PalletRcMigratorCrowdloanCrowdloanStage, PalletRcMigratorError, PalletRcMigratorEvent, PalletRcMigratorManagerMultisigVote, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletRcMigratorRecoveryRecoveryStage, PalletRcMigratorReferendaReferendaStage, PalletRcMigratorSchedulerSchedulerStage, PalletRcMigratorSocietySocietyStage, PalletRcMigratorStakingBagsListBagsListStage, PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage, PalletRcMigratorStakingNomPoolsNomPoolsStage, PalletRcMigratorStakingStakingImplStakingStage, PalletRcMigratorTreasuryTreasuryStage, PalletRecoveryDepositKind, PalletSessionHistoricalPalletEvent, PalletSessionHoldReason, PalletStakingAsyncAhClientCall, PalletStakingAsyncAhClientError, PalletStakingAsyncAhClientEvent, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncAhClientUnexpectedKind, PalletStakingAsyncRcClientOffence, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletXcmErrorsExecutionError, PolkadotPrimitivesVstagingDisputeOffenceKind, PolkadotPrimitivesVstagingDisputeProof, PolkadotPrimitivesVstagingPendingSlashes, PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry, StagingKusamaRuntimeBurnDestinationAccount, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination, StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, StagingKusamaRuntimeDynamicParamsTreasuryParameters, StagingKusamaRuntimeDynamicParamsTreasuryParametersKey, StagingKusamaRuntimeDynamicParamsTreasuryParametersValue, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeError, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5TraitsInstructionError } from '@polkadot/types/lookup'; import type { KusamaRuntimeConstantsProxyProxyType, PalletRcMigratorRecoveryRecoveryStage, PalletRcMigratorSocietySocietyStage, PalletRecoveryDepositKind, StagingKusamaRuntimeBurnDestinationAccount, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination, StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, StagingKusamaRuntimeDynamicParamsTreasuryParameters, StagingKusamaRuntimeDynamicParamsTreasuryParametersKey, StagingKusamaRuntimeDynamicParamsTreasuryParametersValue, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeError, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' { declare module '@polkadot/types/types/registry' {
interface InterfaceTypes { interface InterfaceTypes {
FrameElectionProviderSupportBoundedSupport: FrameElectionProviderSupportBoundedSupport;
FrameElectionProviderSupportBoundedSupports: FrameElectionProviderSupportBoundedSupports;
KusamaRuntimeConstantsProxyProxyType: KusamaRuntimeConstantsProxyProxyType; KusamaRuntimeConstantsProxyProxyType: KusamaRuntimeConstantsProxyProxyType;
PalletBalancesUnexpectedKind: PalletBalancesUnexpectedKind;
PalletRcMigratorAccountsAccountState: PalletRcMigratorAccountsAccountState;
PalletRcMigratorAccountsMigratedBalances: PalletRcMigratorAccountsMigratedBalances;
PalletRcMigratorBountiesBountiesStage: PalletRcMigratorBountiesBountiesStage;
PalletRcMigratorCall: PalletRcMigratorCall;
PalletRcMigratorChildBountiesChildBountiesStage: PalletRcMigratorChildBountiesChildBountiesStage;
PalletRcMigratorClaimsClaimsStage: PalletRcMigratorClaimsClaimsStage;
PalletRcMigratorConvictionVotingConvictionVotingStage: PalletRcMigratorConvictionVotingConvictionVotingStage;
PalletRcMigratorCrowdloanCrowdloanStage: PalletRcMigratorCrowdloanCrowdloanStage;
PalletRcMigratorError: PalletRcMigratorError;
PalletRcMigratorEvent: PalletRcMigratorEvent;
PalletRcMigratorManagerMultisigVote: PalletRcMigratorManagerMultisigVote;
PalletRcMigratorMigrationStage: PalletRcMigratorMigrationStage;
PalletRcMigratorQueuePriority: PalletRcMigratorQueuePriority;
PalletRcMigratorRecoveryRecoveryStage: PalletRcMigratorRecoveryRecoveryStage; PalletRcMigratorRecoveryRecoveryStage: PalletRcMigratorRecoveryRecoveryStage;
PalletRcMigratorReferendaReferendaStage: PalletRcMigratorReferendaReferendaStage;
PalletRcMigratorSchedulerSchedulerStage: PalletRcMigratorSchedulerSchedulerStage;
PalletRcMigratorSocietySocietyStage: PalletRcMigratorSocietySocietyStage; PalletRcMigratorSocietySocietyStage: PalletRcMigratorSocietySocietyStage;
PalletRcMigratorStakingBagsListBagsListStage: PalletRcMigratorStakingBagsListBagsListStage;
PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage: PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage;
PalletRcMigratorStakingNomPoolsNomPoolsStage: PalletRcMigratorStakingNomPoolsNomPoolsStage;
PalletRcMigratorStakingStakingImplStakingStage: PalletRcMigratorStakingStakingImplStakingStage;
PalletRcMigratorTreasuryTreasuryStage: PalletRcMigratorTreasuryTreasuryStage;
PalletRecoveryDepositKind: PalletRecoveryDepositKind; PalletRecoveryDepositKind: PalletRecoveryDepositKind;
PalletSessionHistoricalPalletEvent: PalletSessionHistoricalPalletEvent;
PalletSessionHoldReason: PalletSessionHoldReason;
PalletStakingAsyncAhClientCall: PalletStakingAsyncAhClientCall;
PalletStakingAsyncAhClientError: PalletStakingAsyncAhClientError;
PalletStakingAsyncAhClientEvent: PalletStakingAsyncAhClientEvent;
PalletStakingAsyncAhClientOperatingMode: PalletStakingAsyncAhClientOperatingMode;
PalletStakingAsyncAhClientUnexpectedKind: PalletStakingAsyncAhClientUnexpectedKind;
PalletStakingAsyncRcClientOffence: PalletStakingAsyncRcClientOffence;
PalletStakingAsyncRcClientSessionReport: PalletStakingAsyncRcClientSessionReport;
PalletStakingAsyncRcClientValidatorSetReport: PalletStakingAsyncRcClientValidatorSetReport;
PalletXcmErrorsExecutionError: PalletXcmErrorsExecutionError;
PolkadotPrimitivesVstagingDisputeOffenceKind: PolkadotPrimitivesVstagingDisputeOffenceKind;
PolkadotPrimitivesVstagingDisputeProof: PolkadotPrimitivesVstagingDisputeProof;
PolkadotPrimitivesVstagingPendingSlashes: PolkadotPrimitivesVstagingPendingSlashes;
PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry: PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry;
StagingKusamaRuntimeBurnDestinationAccount: StagingKusamaRuntimeBurnDestinationAccount; StagingKusamaRuntimeBurnDestinationAccount: StagingKusamaRuntimeBurnDestinationAccount;
StagingKusamaRuntimeDynamicParamsInflationFalloff: StagingKusamaRuntimeDynamicParamsInflationFalloff; StagingKusamaRuntimeDynamicParamsInflationFalloff: StagingKusamaRuntimeDynamicParamsInflationFalloff;
StagingKusamaRuntimeDynamicParamsInflationIdealStake: StagingKusamaRuntimeDynamicParamsInflationIdealStake; StagingKusamaRuntimeDynamicParamsInflationIdealStake: StagingKusamaRuntimeDynamicParamsInflationIdealStake;
@@ -76,6 +38,5 @@ declare module '@polkadot/types/types/registry' {
StagingKusamaRuntimeRuntimeParametersKey: StagingKusamaRuntimeRuntimeParametersKey; StagingKusamaRuntimeRuntimeParametersKey: StagingKusamaRuntimeRuntimeParametersKey;
StagingKusamaRuntimeRuntimeParametersValue: StagingKusamaRuntimeRuntimeParametersValue; StagingKusamaRuntimeRuntimeParametersValue: StagingKusamaRuntimeRuntimeParametersValue;
StagingKusamaRuntimeSessionKeys: StagingKusamaRuntimeSessionKeys; StagingKusamaRuntimeSessionKeys: StagingKusamaRuntimeSessionKeys;
StagingXcmV5TraitsInstructionError: StagingXcmV5TraitsInstructionError;
} // InterfaceTypes } // InterfaceTypes
} // declare module } // declare module
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -8,6 +8,16 @@
export default { export default {
"methods": [ "methods": [
"account_nextIndex", "account_nextIndex",
"archive_v1_body",
"archive_v1_call",
"archive_v1_finalizedHeight",
"archive_v1_genesisHash",
"archive_v1_hashByHeight",
"archive_v1_header",
"archive_v1_stopStorage",
"archive_v1_storage",
"archive_v1_storageDiff",
"archive_v1_storageDiff_stopStorageDiff",
"author_hasKey", "author_hasKey",
"author_hasSessionKeys", "author_hasSessionKeys",
"author_insertKey", "author_insertKey",
@@ -56,8 +66,6 @@ export default {
"childstate_getStorageHash", "childstate_getStorageHash",
"childstate_getStorageSize", "childstate_getStorageSize",
"dev_getBlockStats", "dev_getBlockStats",
"engine_createBlock",
"engine_finalizeBlock",
"offchain_localStorageClear", "offchain_localStorageClear",
"offchain_localStorageGet", "offchain_localStorageGet",
"offchain_localStorageSet", "offchain_localStorageSet",
File diff suppressed because it is too large Load Diff
@@ -9,13 +9,17 @@ export default {
"specName": "statemint", "specName": "statemint",
"implName": "statemint", "implName": "statemint",
"authoringVersion": 1, "authoringVersion": 1,
"specVersion": 1006000, "specVersion": 2000000,
"implVersion": 0, "implVersion": 0,
"apis": [ "apis": [
[ [
"0xdd718d5cc53262d4", "0xdd718d5cc53262d4",
1 1
], ],
[
"0x04e70521a0d3d2f8",
1
],
[ [
"0xd7bdd8a272ca0d65", "0xd7bdd8a272ca0d65",
2 2
@@ -44,6 +48,10 @@ export default {
"0xab3c0572291feb8b", "0xab3c0572291feb8b",
1 1
], ],
[
"0xccd9de6396c899ca",
1
],
[ [
"0xbc9d89904f5b923f", "0xbc9d89904f5b923f",
1 1
@@ -68,13 +76,21 @@ export default {
"0x9ffb505aa738d69c", "0x9ffb505aa738d69c",
1 1
], ],
[
"0x2609be83ac4468dc",
1
],
[
"0x12c8e3d4d7e06de0",
1
],
[ [
"0xde92b8a0426b9bf6", "0xde92b8a0426b9bf6",
2 2
], ],
[ [
"0xea93e3f16f3d6962", "0xea93e3f16f3d6962",
2 3
], ],
[ [
"0xfbc577b9d747efd6", "0xfbc577b9d747efd6",
@@ -83,6 +99,18 @@ export default {
[ [
"0x8a8047a53a8277ec", "0x8a8047a53a8277ec",
1 1
],
[
"0xa2ddb6a58477bf63",
1
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
] ]
], ],
"transactionVersion": 15, "transactionVersion": 15,
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -8,6 +8,16 @@
export default { export default {
"methods": [ "methods": [
"account_nextIndex", "account_nextIndex",
"archive_v1_body",
"archive_v1_call",
"archive_v1_finalizedHeight",
"archive_v1_genesisHash",
"archive_v1_hashByHeight",
"archive_v1_header",
"archive_v1_stopStorage",
"archive_v1_storage",
"archive_v1_storageDiff",
"archive_v1_storageDiff_stopStorageDiff",
"author_hasKey", "author_hasKey",
"author_hasSessionKeys", "author_hasSessionKeys",
"author_insertKey", "author_insertKey",
File diff suppressed because it is too large Load Diff
@@ -9,7 +9,7 @@ export default {
"specName": "polkadot", "specName": "polkadot",
"implName": "parity-polkadot", "implName": "parity-polkadot",
"authoringVersion": 0, "authoringVersion": 0,
"specVersion": 1006000, "specVersion": 2000000,
"implVersion": 0, "implVersion": 0,
"apis": [ "apis": [
[ [
@@ -76,6 +76,10 @@ export default {
"0xab3c0572291feb8b", "0xab3c0572291feb8b",
1 1
], ],
[
"0xccd9de6396c899ca",
1
],
[ [
"0xbc9d89904f5b923f", "0xbc9d89904f5b923f",
1 1