Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca692cc7c0 | ||
|
|
f5f5b540af | ||
|
|
8b3b1b4611 | ||
|
|
21cb76e517 | ||
|
|
d774a3c2ab | ||
|
|
0c08e8ba9e | ||
|
|
c2549ec166 | ||
|
|
d27fce3b29 | ||
|
|
849588e305 | ||
|
|
4f3fedc27e | ||
|
|
57a5892f99 | ||
|
|
f5499ca4ed | ||
|
|
37ae595f03 | ||
|
|
868a4a2964 | ||
|
|
3656480cff | ||
|
|
37cf4b5e88 | ||
|
|
75a4e7b5d7 | ||
|
|
12d6cf8a5b | ||
|
|
aa7e5ea601 | ||
|
|
9f5232019e | ||
|
|
3063763a18 | ||
|
|
b76f9e7e21 |
@@ -1,5 +1,22 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 7.7.1 Feb 6, 2022
|
||||
|
||||
Upgrade priority: Low. Recommended for users with long-running scripts.
|
||||
|
||||
Contributed:
|
||||
|
||||
- Fix rpc-provider LRU memory leak (Thanks to https://github.com/gdethier)
|
||||
|
||||
Changes:
|
||||
|
||||
- Don't warn on `Lookup*` types missing (these are resolvable)
|
||||
- Don't clear injected `PortableRegistry` types on runtime upgrade
|
||||
- Clear warning for `Call`/`Event` on non-meta v14 runtimes
|
||||
- Add `beefy_getFinalizedHead` RPC support
|
||||
- Update to latest Substrate, Kusama & Polkadot static metadata
|
||||
|
||||
|
||||
## 7.6.1 Jan 30, 2022
|
||||
|
||||
Upgdare priority: Low. Recommended for users with long-running scripts and those chains based around the latest Substrate master versions.
|
||||
|
||||
+2
-1
@@ -1,4 +1,4 @@
|
||||
2795 Jaco 7.6.1 (#4515)
|
||||
2805 Jaco 7.7.1 (#4535)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
36 Keith Ingram Storage deposit limit changes (#4370)
|
||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||
@@ -52,6 +52,7 @@
|
||||
1 Dylan Galea Updated users of the polkadot-js/api (#2027)
|
||||
1 flex Change BeefySignedCommitment signatures type to EcdsaSignature (#4204)
|
||||
1 Furqan A fix: fixed 404 to the docs from the api readme (#3985)
|
||||
1 Gérard Dethier Fix LRUCache memory leak. (#4520)
|
||||
1 Gerben van de Wiel Adding some extra notes on changes in the specname (#2329)
|
||||
1 HackFisher fix OutboundLaneData types (#3992)
|
||||
1 Hoani Bryson Multiple Endpoint support for WsProvider (#2234)
|
||||
|
||||
+5
-5
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "commonjs",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
@@ -31,10 +31,10 @@
|
||||
"test:watch": "polkadot-dev-run-test --watch"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.16.12",
|
||||
"@babel/register": "^7.16.9",
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/dev": "^0.65.46",
|
||||
"@babel/core": "^7.17.0",
|
||||
"@babel/register": "^7.17.0",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/dev": "^0.65.50",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/jest": "^27.4.0",
|
||||
"copyfiles": "^2.4.1"
|
||||
|
||||
@@ -20,15 +20,15 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/api-base": "7.6.1",
|
||||
"@polkadot/rpc-augment": "7.6.1",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@polkadot/types-augment": "7.6.1",
|
||||
"@polkadot/types-codec": "7.6.1",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/api-base": "7.7.1",
|
||||
"@polkadot/rpc-augment": "7.7.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/types-augment": "7.7.1",
|
||||
"@polkadot/types-codec": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -703,7 +703,6 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* Number of eras that staked funds must remain bonded for.
|
||||
**/
|
||||
bondingDuration: u32 & AugmentedConst<ApiType>;
|
||||
maxNominations: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of nominators rewarded for each validator.
|
||||
*
|
||||
|
||||
@@ -503,6 +503,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The call is not allowed at this point.
|
||||
**/
|
||||
CallNotAllowed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The fallback failed
|
||||
**/
|
||||
FallbackFailed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* `Self::insert_submission` returned an invalid index.
|
||||
**/
|
||||
|
||||
@@ -7,7 +7,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerReleases, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1DisputeState, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotPrimitivesV2SessionInfo, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1DisputeState, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotPrimitivesV2SessionInfo, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { Observable } from '@polkadot/types/types';
|
||||
|
||||
declare module '@polkadot/api-base/types/storage' {
|
||||
@@ -185,8 +185,29 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
};
|
||||
balances: {
|
||||
/**
|
||||
* The balance of an account.
|
||||
* The Balances pallet example of storing the balance of an account.
|
||||
*
|
||||
* # Example
|
||||
*
|
||||
* ```nocompile
|
||||
* impl pallet_balances::Config for Runtime {
|
||||
* type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* You can also store the balance of an account in the `System` pallet.
|
||||
*
|
||||
* # Example
|
||||
*
|
||||
* ```nocompile
|
||||
* impl pallet_balances::Config for Runtime {
|
||||
* type AccountStore = System
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* But this comes with tradeoffs, storing account balances in the system pallet stores
|
||||
* `frame_system` data alongside the account data contrary to storing account balances in the
|
||||
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
||||
* NOTE: This is only used in the case that this pallet is used to store balances.
|
||||
**/
|
||||
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
@@ -1222,12 +1243,6 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Lookup from identity to the block number and index of the task.
|
||||
**/
|
||||
lookup: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
|
||||
/**
|
||||
* Storage version of the pallet.
|
||||
*
|
||||
* New networks start with last version.
|
||||
**/
|
||||
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletSchedulerReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -1533,7 +1548,22 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
**/
|
||||
minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The map from nominator stash key to the set of stash keys of all validators to nominate.
|
||||
* The map from nominator stash key to their nomination preferences, namely the validators that
|
||||
* they wish to support.
|
||||
*
|
||||
* Note that the keys of this storage map might become non-decodable in case the
|
||||
* [`Config::MaxNominations`] configuration is decreased. In this rare case, these nominators
|
||||
* are still existent in storage, their key is correct and retrievable (i.e. `contains_key`
|
||||
* indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable
|
||||
* nominators will effectively not-exist, until they re-submit their preferences such that it
|
||||
* is within the bounds of the newly set `Config::MaxNominations`.
|
||||
*
|
||||
* This implies that `::iter_keys().count()` and `::iter().count()` might return different
|
||||
* values for this map. Moreover, the main `::count()` is aligned with the former, namely the
|
||||
* number of keys that exist.
|
||||
*
|
||||
* Lastly, if any of the nominators become non-decodable, they can be chilled immediately via
|
||||
* [`Call::chill_other`] dispatchable by anyone.
|
||||
**/
|
||||
nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
|
||||
@@ -1198,6 +1198,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
electionProviderMultiPhase: {
|
||||
/**
|
||||
* Trigger the governance fallback.
|
||||
*
|
||||
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
||||
* calling [`Call::set_emergency_election_result`].
|
||||
**/
|
||||
governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | object | string | Uint8Array, maybeMaxTargets: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>]>;
|
||||
/**
|
||||
* Set a solution in the queue, to be handed out to the client of this pallet in the next
|
||||
* call to `ElectionProvider::elect`.
|
||||
@@ -3149,14 +3156,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Can be called by the `T::SlashCancelOrigin`.
|
||||
*
|
||||
* Parameters: era and indices of the slashes for that era to kill.
|
||||
*
|
||||
* # <weight>
|
||||
* Complexity: O(U + S)
|
||||
* with U unapplied slashes weighted with U=1000
|
||||
* and S is the number of slash indices to be canceled.
|
||||
* - Read: Unapplied Slashes
|
||||
* - Write: Unapplied Slashes
|
||||
* # </weight>
|
||||
**/
|
||||
cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
|
||||
/**
|
||||
@@ -3185,6 +3184,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
*
|
||||
* If the caller is different than the controller being targeted, the following conditions
|
||||
* must be met:
|
||||
*
|
||||
* * `controller` must belong to a nominator who has become non-decodable,
|
||||
*
|
||||
* Or:
|
||||
*
|
||||
* * A `ChillThreshold` must be set and checked which defines how close to the max
|
||||
* nominators or validators we must reach before users can start chilling one-another.
|
||||
* * A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine
|
||||
@@ -3226,11 +3230,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The election process starts multiple blocks before the end of the era.
|
||||
* If this is called just before a new era is triggered, the election process may not
|
||||
* have enough blocks to get a result.
|
||||
*
|
||||
* # <weight>
|
||||
* - Weight: O(1)
|
||||
* - Write: ForceEra
|
||||
* # </weight>
|
||||
**/
|
||||
forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
@@ -3255,13 +3254,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Force a current staker to become completely unstaked, immediately.
|
||||
*
|
||||
* The dispatch origin must be Root.
|
||||
*
|
||||
* # <weight>
|
||||
* O(S) where S is the number of slashing spans to be removed
|
||||
* Reads: Bonded, Slashing Spans, Account, Locks
|
||||
* Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,
|
||||
* Account, Locks Writes Each: SpanSlash * S
|
||||
* # </weight>
|
||||
**/
|
||||
forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
||||
/**
|
||||
@@ -3297,7 +3289,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
*
|
||||
* # <weight>
|
||||
* - The transaction's complexity is proportional to the size of `targets` (N)
|
||||
* which is capped at CompactAssignments::LIMIT (MAX_NOMINATIONS).
|
||||
* which is capped at CompactAssignments::LIMIT (T::MaxNominations).
|
||||
* - Both the reads and writes follow a similar pattern.
|
||||
* # </weight>
|
||||
**/
|
||||
@@ -3411,11 +3403,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Set the validators who cannot be slashed (if any).
|
||||
*
|
||||
* The dispatch origin must be Root.
|
||||
*
|
||||
* # <weight>
|
||||
* - O(V)
|
||||
* - Write: Invulnerables
|
||||
* # </weight>
|
||||
**/
|
||||
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
||||
/**
|
||||
@@ -3547,11 +3534,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Make some on-chain remark and emit event.
|
||||
*
|
||||
* # <weight>
|
||||
* - `O(b)` where b is the length of the remark.
|
||||
* - 1 event.
|
||||
* # </weight>
|
||||
**/
|
||||
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -575,7 +575,6 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* Number of eras that staked funds must remain bonded for.
|
||||
**/
|
||||
bondingDuration: u32 & AugmentedConst<ApiType>;
|
||||
maxNominations: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of nominators rewarded for each validator.
|
||||
*
|
||||
|
||||
@@ -503,6 +503,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The call is not allowed at this point.
|
||||
**/
|
||||
CallNotAllowed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The fallback failed
|
||||
**/
|
||||
FallbackFailed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* `Self::insert_submission` returned an invalid index.
|
||||
**/
|
||||
|
||||
@@ -7,7 +7,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerReleases, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotPrimitivesV2SessionInfo, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotPrimitivesV2SessionInfo, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { Observable } from '@polkadot/types/types';
|
||||
|
||||
declare module '@polkadot/api-base/types/storage' {
|
||||
@@ -185,8 +185,29 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
};
|
||||
balances: {
|
||||
/**
|
||||
* The balance of an account.
|
||||
* The Balances pallet example of storing the balance of an account.
|
||||
*
|
||||
* # Example
|
||||
*
|
||||
* ```nocompile
|
||||
* impl pallet_balances::Config for Runtime {
|
||||
* type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* You can also store the balance of an account in the `System` pallet.
|
||||
*
|
||||
* # Example
|
||||
*
|
||||
* ```nocompile
|
||||
* impl pallet_balances::Config for Runtime {
|
||||
* type AccountStore = System
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* But this comes with tradeoffs, storing account balances in the system pallet stores
|
||||
* `frame_system` data alongside the account data contrary to storing account balances in the
|
||||
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
||||
* NOTE: This is only used in the case that this pallet is used to store balances.
|
||||
**/
|
||||
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
@@ -1138,12 +1159,6 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Lookup from identity to the block number and index of the task.
|
||||
**/
|
||||
lookup: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
|
||||
/**
|
||||
* Storage version of the pallet.
|
||||
*
|
||||
* New networks start with last version.
|
||||
**/
|
||||
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletSchedulerReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -1378,7 +1393,22 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
**/
|
||||
minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The map from nominator stash key to the set of stash keys of all validators to nominate.
|
||||
* The map from nominator stash key to their nomination preferences, namely the validators that
|
||||
* they wish to support.
|
||||
*
|
||||
* Note that the keys of this storage map might become non-decodable in case the
|
||||
* [`Config::MaxNominations`] configuration is decreased. In this rare case, these nominators
|
||||
* are still existent in storage, their key is correct and retrievable (i.e. `contains_key`
|
||||
* indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable
|
||||
* nominators will effectively not-exist, until they re-submit their preferences such that it
|
||||
* is within the bounds of the newly set `Config::MaxNominations`.
|
||||
*
|
||||
* This implies that `::iter_keys().count()` and `::iter().count()` might return different
|
||||
* values for this map. Moreover, the main `::count()` is aligned with the former, namely the
|
||||
* number of keys that exist.
|
||||
*
|
||||
* Lastly, if any of the nominators become non-decodable, they can be chilled immediately via
|
||||
* [`Call::chill_other`] dispatchable by anyone.
|
||||
**/
|
||||
nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
|
||||
@@ -1198,6 +1198,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
electionProviderMultiPhase: {
|
||||
/**
|
||||
* Trigger the governance fallback.
|
||||
*
|
||||
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
||||
* calling [`Call::set_emergency_election_result`].
|
||||
**/
|
||||
governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | object | string | Uint8Array, maybeMaxTargets: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>]>;
|
||||
/**
|
||||
* Set a solution in the queue, to be handed out to the client of this pallet in the next
|
||||
* call to `ElectionProvider::elect`.
|
||||
@@ -2560,14 +2567,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Can be called by the `T::SlashCancelOrigin`.
|
||||
*
|
||||
* Parameters: era and indices of the slashes for that era to kill.
|
||||
*
|
||||
* # <weight>
|
||||
* Complexity: O(U + S)
|
||||
* with U unapplied slashes weighted with U=1000
|
||||
* and S is the number of slash indices to be canceled.
|
||||
* - Read: Unapplied Slashes
|
||||
* - Write: Unapplied Slashes
|
||||
* # </weight>
|
||||
**/
|
||||
cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
|
||||
/**
|
||||
@@ -2596,6 +2595,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
*
|
||||
* If the caller is different than the controller being targeted, the following conditions
|
||||
* must be met:
|
||||
*
|
||||
* * `controller` must belong to a nominator who has become non-decodable,
|
||||
*
|
||||
* Or:
|
||||
*
|
||||
* * A `ChillThreshold` must be set and checked which defines how close to the max
|
||||
* nominators or validators we must reach before users can start chilling one-another.
|
||||
* * A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine
|
||||
@@ -2637,11 +2641,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The election process starts multiple blocks before the end of the era.
|
||||
* If this is called just before a new era is triggered, the election process may not
|
||||
* have enough blocks to get a result.
|
||||
*
|
||||
* # <weight>
|
||||
* - Weight: O(1)
|
||||
* - Write: ForceEra
|
||||
* # </weight>
|
||||
**/
|
||||
forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
@@ -2666,13 +2665,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Force a current staker to become completely unstaked, immediately.
|
||||
*
|
||||
* The dispatch origin must be Root.
|
||||
*
|
||||
* # <weight>
|
||||
* O(S) where S is the number of slashing spans to be removed
|
||||
* Reads: Bonded, Slashing Spans, Account, Locks
|
||||
* Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,
|
||||
* Account, Locks Writes Each: SpanSlash * S
|
||||
* # </weight>
|
||||
**/
|
||||
forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
||||
/**
|
||||
@@ -2708,7 +2700,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
*
|
||||
* # <weight>
|
||||
* - The transaction's complexity is proportional to the size of `targets` (N)
|
||||
* which is capped at CompactAssignments::LIMIT (MAX_NOMINATIONS).
|
||||
* which is capped at CompactAssignments::LIMIT (T::MaxNominations).
|
||||
* - Both the reads and writes follow a similar pattern.
|
||||
* # </weight>
|
||||
**/
|
||||
@@ -2822,11 +2814,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Set the validators who cannot be slashed (if any).
|
||||
*
|
||||
* The dispatch origin must be Root.
|
||||
*
|
||||
* # <weight>
|
||||
* - O(V)
|
||||
* - Write: Invulnerables
|
||||
* # </weight>
|
||||
**/
|
||||
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
||||
/**
|
||||
@@ -2958,11 +2945,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Make some on-chain remark and emit event.
|
||||
*
|
||||
* # <weight>
|
||||
* - `O(b)` where b is the length of the remark.
|
||||
* - 1 event.
|
||||
* # </weight>
|
||||
**/
|
||||
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
|
||||
@@ -747,7 +747,6 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* Number of eras that staked funds must remain bonded for.
|
||||
**/
|
||||
bondingDuration: u32 & AugmentedConst<ApiType>;
|
||||
maxNominations: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of nominators rewarded for each validator.
|
||||
*
|
||||
|
||||
@@ -551,6 +551,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The call is not allowed at this point.
|
||||
**/
|
||||
CallNotAllowed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The fallback failed
|
||||
**/
|
||||
FallbackFailed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* `Self::insert_submission` returned an invalid index.
|
||||
**/
|
||||
|
||||
@@ -6,7 +6,7 @@ import type { Data } from '@polkadot/types';
|
||||
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerReleases, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesClassDetails, PalletUniquesClassMetadata, PalletUniquesInstanceDetails, PalletUniquesInstanceMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesClassDetails, PalletUniquesClassMetadata, PalletUniquesInstanceDetails, PalletUniquesInstanceMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
|
||||
import type { Observable } from '@polkadot/types/types';
|
||||
|
||||
declare module '@polkadot/api-base/types/storage' {
|
||||
@@ -850,12 +850,6 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Lookup from identity to the block number and index of the task.
|
||||
**/
|
||||
lookup: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
|
||||
/**
|
||||
* Storage version of the pallet.
|
||||
*
|
||||
* New networks start with last version.
|
||||
**/
|
||||
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletSchedulerReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -1136,7 +1130,22 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
**/
|
||||
minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The map from nominator stash key to the set of stash keys of all validators to nominate.
|
||||
* The map from nominator stash key to their nomination preferences, namely the validators that
|
||||
* they wish to support.
|
||||
*
|
||||
* Note that the keys of this storage map might become non-decodable in case the
|
||||
* [`Config::MaxNominations`] configuration is decreased. In this rare case, these nominators
|
||||
* are still existent in storage, their key is correct and retrievable (i.e. `contains_key`
|
||||
* indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable
|
||||
* nominators will effectively not-exist, until they re-submit their preferences such that it
|
||||
* is within the bounds of the newly set `Config::MaxNominations`.
|
||||
*
|
||||
* This implies that `::iter_keys().count()` and `::iter().count()` might return different
|
||||
* values for this map. Moreover, the main `::count()` is aligned with the former, namely the
|
||||
* number of keys that exist.
|
||||
*
|
||||
* Lastly, if any of the nominators become non-decodable, they can be chilled immediately via
|
||||
* [`Call::chill_other`] dispatchable by anyone.
|
||||
**/
|
||||
nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
|
||||
@@ -1477,6 +1477,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
electionProviderMultiPhase: {
|
||||
/**
|
||||
* Trigger the governance fallback.
|
||||
*
|
||||
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
||||
* calling [`Call::set_emergency_election_result`].
|
||||
**/
|
||||
governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | object | string | Uint8Array, maybeMaxTargets: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>]>;
|
||||
/**
|
||||
* Set a solution in the queue, to be handed out to the client of this pallet in the next
|
||||
* call to `ElectionProvider::elect`.
|
||||
@@ -3203,14 +3210,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Can be called by the `T::SlashCancelOrigin`.
|
||||
*
|
||||
* Parameters: era and indices of the slashes for that era to kill.
|
||||
*
|
||||
* # <weight>
|
||||
* Complexity: O(U + S)
|
||||
* with U unapplied slashes weighted with U=1000
|
||||
* and S is the number of slash indices to be canceled.
|
||||
* - Read: Unapplied Slashes
|
||||
* - Write: Unapplied Slashes
|
||||
* # </weight>
|
||||
**/
|
||||
cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
|
||||
/**
|
||||
@@ -3239,6 +3238,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
*
|
||||
* If the caller is different than the controller being targeted, the following conditions
|
||||
* must be met:
|
||||
*
|
||||
* * `controller` must belong to a nominator who has become non-decodable,
|
||||
*
|
||||
* Or:
|
||||
*
|
||||
* * A `ChillThreshold` must be set and checked which defines how close to the max
|
||||
* nominators or validators we must reach before users can start chilling one-another.
|
||||
* * A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine
|
||||
@@ -3280,11 +3284,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The election process starts multiple blocks before the end of the era.
|
||||
* If this is called just before a new era is triggered, the election process may not
|
||||
* have enough blocks to get a result.
|
||||
*
|
||||
* # <weight>
|
||||
* - Weight: O(1)
|
||||
* - Write: ForceEra
|
||||
* # </weight>
|
||||
**/
|
||||
forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
@@ -3309,13 +3308,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Force a current staker to become completely unstaked, immediately.
|
||||
*
|
||||
* The dispatch origin must be Root.
|
||||
*
|
||||
* # <weight>
|
||||
* O(S) where S is the number of slashing spans to be removed
|
||||
* Reads: Bonded, Slashing Spans, Account, Locks
|
||||
* Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,
|
||||
* Account, Locks Writes Each: SpanSlash * S
|
||||
* # </weight>
|
||||
**/
|
||||
forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
||||
/**
|
||||
@@ -3351,7 +3343,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
*
|
||||
* # <weight>
|
||||
* - The transaction's complexity is proportional to the size of `targets` (N)
|
||||
* which is capped at CompactAssignments::LIMIT (MAX_NOMINATIONS).
|
||||
* which is capped at CompactAssignments::LIMIT (T::MaxNominations).
|
||||
* - Both the reads and writes follow a similar pattern.
|
||||
* # </weight>
|
||||
**/
|
||||
@@ -3465,11 +3457,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Set the validators who cannot be slashed (if any).
|
||||
*
|
||||
* The dispatch origin must be Root.
|
||||
*
|
||||
* # <weight>
|
||||
* - O(V)
|
||||
* - Write: Invulnerables
|
||||
* # </weight>
|
||||
**/
|
||||
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
||||
/**
|
||||
@@ -3660,11 +3647,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Make some on-chain remark and emit event.
|
||||
*
|
||||
* # <weight>
|
||||
* - `O(b)` where b is the length of the remark.
|
||||
* - 1 event.
|
||||
* # </weight>
|
||||
**/
|
||||
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/rpc-core": "7.6.1",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/rpc-core": "7.7.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"rxjs": "^7.5.2"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/api": "7.6.1",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@polkadot/types-codec": "7.6.1",
|
||||
"@polkadot/types-create": "7.6.1",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/api": "7.7.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/types-codec": "7.7.1",
|
||||
"@polkadot/types-create": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/util-crypto": "^8.3.3",
|
||||
"rxjs": "^7.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "7.6.1",
|
||||
"@polkadot/api-augment": "7.7.1",
|
||||
"@polkadot/keyring": "^8.3.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,25 +20,25 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/api": "7.6.1",
|
||||
"@polkadot/api-augment": "7.6.1",
|
||||
"@polkadot/api-base": "7.6.1",
|
||||
"@polkadot/rpc-core": "7.6.1",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@polkadot/types-codec": "7.6.1",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/api": "7.7.1",
|
||||
"@polkadot/api-augment": "7.7.1",
|
||||
"@polkadot/api-base": "7.7.1",
|
||||
"@polkadot/rpc-core": "7.7.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/types-codec": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/util-crypto": "^8.3.3",
|
||||
"rxjs": "^7.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "7.6.1",
|
||||
"@polkadot/api-augment": "7.6.1",
|
||||
"@polkadot/rpc-augment": "7.6.1",
|
||||
"@polkadot/rpc-provider": "7.6.1",
|
||||
"@polkadot/types-support": "7.6.1"
|
||||
"@polkadot/api": "7.7.1",
|
||||
"@polkadot/api-augment": "7.7.1",
|
||||
"@polkadot/rpc-augment": "7.7.1",
|
||||
"@polkadot/rpc-provider": "7.7.1",
|
||||
"@polkadot/types-support": "7.7.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
+15
-15
@@ -20,29 +20,29 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/api-augment": "7.6.1",
|
||||
"@polkadot/api-base": "7.6.1",
|
||||
"@polkadot/api-derive": "7.6.1",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/api-augment": "7.7.1",
|
||||
"@polkadot/api-base": "7.7.1",
|
||||
"@polkadot/api-derive": "7.7.1",
|
||||
"@polkadot/keyring": "^8.3.3",
|
||||
"@polkadot/rpc-augment": "7.6.1",
|
||||
"@polkadot/rpc-core": "7.6.1",
|
||||
"@polkadot/rpc-provider": "7.6.1",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@polkadot/types-augment": "7.6.1",
|
||||
"@polkadot/types-codec": "7.6.1",
|
||||
"@polkadot/types-create": "7.6.1",
|
||||
"@polkadot/types-known": "7.6.1",
|
||||
"@polkadot/rpc-augment": "7.7.1",
|
||||
"@polkadot/rpc-core": "7.7.1",
|
||||
"@polkadot/rpc-provider": "7.7.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/types-augment": "7.7.1",
|
||||
"@polkadot/types-codec": "7.7.1",
|
||||
"@polkadot/types-create": "7.7.1",
|
||||
"@polkadot/types-known": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/util-crypto": "^8.3.3",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"rxjs": "^7.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "7.6.1",
|
||||
"@polkadot/types-support": "7.6.1"
|
||||
"@polkadot/api-augment": "7.7.1",
|
||||
"@polkadot/types-support": "7.7.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -213,7 +213,7 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
||||
} as ApiDecoration<ApiType>;
|
||||
}
|
||||
|
||||
if (!registry.decoratedMeta) {
|
||||
if (fromEmpty || !registry.decoratedMeta) {
|
||||
registry.decoratedMeta = expandMetadata(registry.registry, registry.metadata);
|
||||
}
|
||||
|
||||
|
||||
@@ -85,6 +85,7 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
|
||||
* @description Decorates a registry based on the runtime version
|
||||
*/
|
||||
private _initRegistry (registry: Registry, chain: Text, version: { specName: Text, specVersion: BN }, metadata: Metadata, chainProps?: ChainProperties): void {
|
||||
registry.clearCache();
|
||||
registry.setChainProperties(chainProps || this.registry.getChainProperties());
|
||||
registry.setKnownTypes(this._options);
|
||||
registry.register(getSpecTypes(registry, chain, version.specName, version.specVersion));
|
||||
@@ -284,9 +285,8 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
|
||||
thisRegistry.metadata = metadata;
|
||||
thisRegistry.specVersion = version.specVersion;
|
||||
|
||||
// clear the registry types to ensure that we override correctly
|
||||
this._initRegistry(thisRegistry.registry.init(), this._runtimeChain as Text, version, metadata);
|
||||
this._injectMetadata(thisRegistry, false);
|
||||
this._initRegistry(this.registry, this._runtimeChain as Text, version, metadata);
|
||||
this._injectMetadata(thisRegistry, true);
|
||||
|
||||
return true;
|
||||
})
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/rpc-core": "7.6.1",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@polkadot/types-codec": "7.6.1",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/rpc-core": "7.7.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/types-codec": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,6 +68,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
|
||||
epochAuthorship: AugmentedRpc<() => Observable<HashMap<AuthorityId, EpochAuthorship>>>;
|
||||
};
|
||||
beefy: {
|
||||
/**
|
||||
* Returns hash of the latest BEEFY finalized block as seen by this client.
|
||||
**/
|
||||
getFinalizedHead: AugmentedRpc<() => Observable<H256>>;
|
||||
/**
|
||||
* Returns the block most recently finalized by BEEFY, alongside side its justification.
|
||||
**/
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/rpc-augment": "7.6.1",
|
||||
"@polkadot/rpc-provider": "7.6.1",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/rpc-augment": "7.7.1",
|
||||
"@polkadot/rpc-provider": "7.7.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"rxjs": "^7.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^8.3.3",
|
||||
"@polkadot/rpc-augment": "7.6.1"
|
||||
"@polkadot/rpc-augment": "7.7.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/keyring": "^8.3.3",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@polkadot/types-support": "7.6.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/types-support": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/util-crypto": "^8.3.3",
|
||||
"@polkadot/x-fetch": "^8.3.3",
|
||||
@@ -34,6 +34,6 @@
|
||||
"@polkadot/x-ws": "^8.3.3",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"mock-socket": "^9.1.2",
|
||||
"nock": "^13.2.2"
|
||||
"nock": "^13.2.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,6 +108,7 @@ export class LRUCache {
|
||||
this.#refs.delete(this.#tail.key);
|
||||
|
||||
this.#tail = this.#tail.prev;
|
||||
this.#tail.next = this.#head;
|
||||
} else {
|
||||
this.#length += 1;
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
||||
@@ -30,18 +30,18 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.16.12",
|
||||
"@babel/register": "^7.16.9",
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/api": "7.6.1",
|
||||
"@polkadot/api-augment": "7.6.1",
|
||||
"@polkadot/rpc-augment": "7.6.1",
|
||||
"@polkadot/rpc-provider": "7.6.1",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@polkadot/types-augment": "7.6.1",
|
||||
"@polkadot/types-codec": "7.6.1",
|
||||
"@polkadot/types-create": "7.6.1",
|
||||
"@polkadot/types-support": "7.6.1",
|
||||
"@babel/core": "^7.17.0",
|
||||
"@babel/register": "^7.17.0",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/api": "7.7.1",
|
||||
"@polkadot/api-augment": "7.7.1",
|
||||
"@polkadot/rpc-augment": "7.7.1",
|
||||
"@polkadot/rpc-provider": "7.7.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/types-augment": "7.7.1",
|
||||
"@polkadot/types-codec": "7.7.1",
|
||||
"@polkadot/types-create": "7.7.1",
|
||||
"@polkadot/types-support": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/x-ws": "^8.3.3",
|
||||
"handlebars": "^4.7.7",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@polkadot/types-codec": "7.6.1",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/types-codec": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ export default {
|
||||
_enum: ['Valid', 'Invalid']
|
||||
},
|
||||
/**
|
||||
* Lookup246: kusama_runtime::SessionKeys
|
||||
* Lookup247: kusama_runtime::SessionKeys
|
||||
**/
|
||||
KusamaRuntimeSessionKeys: {
|
||||
grandpa: 'SpFinalityGrandpaAppPublic',
|
||||
@@ -45,7 +45,7 @@ export default {
|
||||
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
|
||||
},
|
||||
/**
|
||||
* Lookup319: kusama_runtime::OriginCaller
|
||||
* Lookup320: kusama_runtime::OriginCaller
|
||||
**/
|
||||
KusamaRuntimeOriginCaller: {
|
||||
_enum: {
|
||||
@@ -152,7 +152,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup384: kusama_runtime::NposCompactSolution24
|
||||
* Lookup385: kusama_runtime::NposCompactSolution24
|
||||
**/
|
||||
KusamaRuntimeNposCompactSolution24: {
|
||||
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
|
||||
@@ -181,7 +181,7 @@ export default {
|
||||
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
||||
},
|
||||
/**
|
||||
* Lookup504: polkadot_runtime_parachains::disputes::pallet::Call<T>
|
||||
* Lookup505: polkadot_runtime_parachains::disputes::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsDisputesPalletCall: {
|
||||
_enum: ['force_unfreeze']
|
||||
|
||||
@@ -1556,7 +1556,11 @@ export default {
|
||||
},
|
||||
submit: {
|
||||
rawSolution: 'PalletElectionProviderMultiPhaseRawSolution',
|
||||
numSignedSubmissions: 'u32'
|
||||
numSignedSubmissions: 'u32',
|
||||
},
|
||||
governance_fallback: {
|
||||
maybeMaxVoters: 'Option<u32>',
|
||||
maybeMaxTargets: 'Option<u32>'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3120,14 +3124,14 @@ export default {
|
||||
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
|
||||
},
|
||||
/**
|
||||
* Lookup346: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32>
|
||||
* Lookup346: pallet_election_provider_multi_phase::RoundSnapshot<T>
|
||||
**/
|
||||
PalletElectionProviderMultiPhaseRoundSnapshot: {
|
||||
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
|
||||
targets: 'Vec<AccountId32>'
|
||||
},
|
||||
/**
|
||||
* Lookup353: pallet_election_provider_multi_phase::signed::SignedSubmission<sp_core::crypto::AccountId32, Balance, node_runtime::NposSolution16>
|
||||
* Lookup354: pallet_election_provider_multi_phase::signed::SignedSubmission<sp_core::crypto::AccountId32, Balance, node_runtime::NposSolution16>
|
||||
**/
|
||||
PalletElectionProviderMultiPhaseSignedSignedSubmission: {
|
||||
who: 'AccountId32',
|
||||
@@ -3136,13 +3140,13 @@ export default {
|
||||
reward: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup354: pallet_election_provider_multi_phase::pallet::Error<T>
|
||||
* Lookup355: pallet_election_provider_multi_phase::pallet::Error<T>
|
||||
**/
|
||||
PalletElectionProviderMultiPhaseError: {
|
||||
_enum: ['PreDispatchEarlySubmission', 'PreDispatchWrongWinnerCount', 'PreDispatchWeakSubmission', 'SignedQueueFull', 'SignedCannotPayDeposit', 'SignedInvalidWitness', 'SignedTooMuchWeight', 'OcwCallWrongEra', 'MissingSnapshotMetadata', 'InvalidSubmissionIndex', 'CallNotAllowed']
|
||||
_enum: ['PreDispatchEarlySubmission', 'PreDispatchWrongWinnerCount', 'PreDispatchWeakSubmission', 'SignedQueueFull', 'SignedCannotPayDeposit', 'SignedInvalidWitness', 'SignedTooMuchWeight', 'OcwCallWrongEra', 'MissingSnapshotMetadata', 'InvalidSubmissionIndex', 'CallNotAllowed', 'FallbackFailed']
|
||||
},
|
||||
/**
|
||||
* Lookup355: pallet_staking::StakingLedger<sp_core::crypto::AccountId32, Balance>
|
||||
* Lookup356: pallet_staking::StakingLedger<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
PalletStakingStakingLedger: {
|
||||
stash: 'AccountId32',
|
||||
@@ -3152,14 +3156,14 @@ export default {
|
||||
claimedRewards: 'Vec<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup357: pallet_staking::UnlockChunk<Balance>
|
||||
* Lookup358: pallet_staking::UnlockChunk<Balance>
|
||||
**/
|
||||
PalletStakingUnlockChunk: {
|
||||
value: 'Compact<u128>',
|
||||
era: 'Compact<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup358: pallet_staking::Nominations<sp_core::crypto::AccountId32>
|
||||
* Lookup359: pallet_staking::Nominations<T>
|
||||
**/
|
||||
PalletStakingNominations: {
|
||||
targets: 'Vec<AccountId32>',
|
||||
@@ -3167,27 +3171,27 @@ export default {
|
||||
suppressed: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup359: pallet_staking::ActiveEraInfo
|
||||
* Lookup360: pallet_staking::ActiveEraInfo
|
||||
**/
|
||||
PalletStakingActiveEraInfo: {
|
||||
index: 'u32',
|
||||
start: 'Option<u64>'
|
||||
},
|
||||
/**
|
||||
* Lookup361: pallet_staking::EraRewardPoints<sp_core::crypto::AccountId32>
|
||||
* Lookup362: pallet_staking::EraRewardPoints<sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletStakingEraRewardPoints: {
|
||||
total: 'u32',
|
||||
individual: 'BTreeMap<AccountId32, u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup365: pallet_staking::Forcing
|
||||
* Lookup366: pallet_staking::Forcing
|
||||
**/
|
||||
PalletStakingForcing: {
|
||||
_enum: ['NotForcing', 'ForceNew', 'ForceNone', 'ForceAlways']
|
||||
},
|
||||
/**
|
||||
* Lookup367: pallet_staking::UnappliedSlash<sp_core::crypto::AccountId32, Balance>
|
||||
* Lookup368: pallet_staking::UnappliedSlash<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
PalletStakingUnappliedSlash: {
|
||||
validator: 'AccountId32',
|
||||
@@ -3197,7 +3201,7 @@ export default {
|
||||
payout: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup369: pallet_staking::slashing::SlashingSpans
|
||||
* Lookup370: pallet_staking::slashing::SlashingSpans
|
||||
**/
|
||||
PalletStakingSlashingSlashingSpans: {
|
||||
spanIndex: 'u32',
|
||||
@@ -3206,36 +3210,36 @@ export default {
|
||||
prior: 'Vec<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup370: pallet_staking::slashing::SpanRecord<Balance>
|
||||
* Lookup371: pallet_staking::slashing::SpanRecord<Balance>
|
||||
**/
|
||||
PalletStakingSlashingSpanRecord: {
|
||||
slashed: 'u128',
|
||||
paidOut: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup373: pallet_staking::Releases
|
||||
* Lookup374: pallet_staking::Releases
|
||||
**/
|
||||
PalletStakingReleases: {
|
||||
_enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V7_0_0', 'V8_0_0']
|
||||
},
|
||||
/**
|
||||
* Lookup374: pallet_staking::pallet::pallet::Error<T>
|
||||
* Lookup375: pallet_staking::pallet::pallet::Error<T>
|
||||
**/
|
||||
PalletStakingPalletError: {
|
||||
_enum: ['NotController', 'NotStash', 'AlreadyBonded', 'AlreadyPaired', 'EmptyTargets', 'DuplicateIndex', 'InvalidSlashIndex', 'InsufficientBond', 'NoMoreChunks', 'NoUnlockChunk', 'FundedTarget', 'InvalidEraToReward', 'InvalidNumberOfNominations', 'NotSortedAndUnique', 'AlreadyClaimed', 'IncorrectHistoryDepth', 'IncorrectSlashingSpans', 'BadState', 'TooManyTargets', 'BadTarget', 'CannotChillOther', 'TooManyNominators', 'TooManyValidators', 'CommissionTooLow']
|
||||
},
|
||||
/**
|
||||
* Lookup378: sp_core::crypto::KeyTypeId
|
||||
* Lookup379: sp_core::crypto::KeyTypeId
|
||||
**/
|
||||
SpCoreCryptoKeyTypeId: '[u8;4]',
|
||||
/**
|
||||
* Lookup379: pallet_session::pallet::Error<T>
|
||||
* Lookup380: pallet_session::pallet::Error<T>
|
||||
**/
|
||||
PalletSessionError: {
|
||||
_enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']
|
||||
},
|
||||
/**
|
||||
* Lookup383: pallet_democracy::PreimageStatus<sp_core::crypto::AccountId32, Balance, BlockNumber>
|
||||
* Lookup384: pallet_democracy::PreimageStatus<sp_core::crypto::AccountId32, Balance, BlockNumber>
|
||||
**/
|
||||
PalletDemocracyPreimageStatus: {
|
||||
_enum: {
|
||||
@@ -3250,7 +3254,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup384: pallet_democracy::types::ReferendumInfo<BlockNumber, primitive_types::H256, Balance>
|
||||
* Lookup385: pallet_democracy::types::ReferendumInfo<BlockNumber, primitive_types::H256, Balance>
|
||||
**/
|
||||
PalletDemocracyReferendumInfo: {
|
||||
_enum: {
|
||||
@@ -3262,7 +3266,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup385: pallet_democracy::types::ReferendumStatus<BlockNumber, primitive_types::H256, Balance>
|
||||
* Lookup386: pallet_democracy::types::ReferendumStatus<BlockNumber, primitive_types::H256, Balance>
|
||||
**/
|
||||
PalletDemocracyReferendumStatus: {
|
||||
end: 'u32',
|
||||
@@ -3272,7 +3276,7 @@ export default {
|
||||
tally: 'PalletDemocracyTally'
|
||||
},
|
||||
/**
|
||||
* Lookup386: pallet_democracy::types::Tally<Balance>
|
||||
* Lookup387: pallet_democracy::types::Tally<Balance>
|
||||
**/
|
||||
PalletDemocracyTally: {
|
||||
ayes: 'u128',
|
||||
@@ -3280,7 +3284,7 @@ export default {
|
||||
turnout: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup387: pallet_democracy::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber>
|
||||
* Lookup388: pallet_democracy::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber>
|
||||
**/
|
||||
PalletDemocracyVoteVoting: {
|
||||
_enum: {
|
||||
@@ -3299,30 +3303,30 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup390: pallet_democracy::types::Delegations<Balance>
|
||||
* Lookup391: pallet_democracy::types::Delegations<Balance>
|
||||
**/
|
||||
PalletDemocracyDelegations: {
|
||||
votes: 'u128',
|
||||
capital: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup391: pallet_democracy::vote::PriorLock<BlockNumber, Balance>
|
||||
* Lookup392: pallet_democracy::vote::PriorLock<BlockNumber, Balance>
|
||||
**/
|
||||
PalletDemocracyVotePriorLock: '(u32,u128)',
|
||||
/**
|
||||
* Lookup394: pallet_democracy::Releases
|
||||
* Lookup395: pallet_democracy::Releases
|
||||
**/
|
||||
PalletDemocracyReleases: {
|
||||
_enum: ['V1']
|
||||
},
|
||||
/**
|
||||
* Lookup395: pallet_democracy::pallet::Error<T>
|
||||
* Lookup396: pallet_democracy::pallet::Error<T>
|
||||
**/
|
||||
PalletDemocracyError: {
|
||||
_enum: ['ValueLow', 'ProposalMissing', 'AlreadyCanceled', 'DuplicateProposal', 'ProposalBlacklisted', 'NotSimpleMajority', 'InvalidHash', 'NoProposal', 'AlreadyVetoed', 'DuplicatePreimage', 'NotImminent', 'TooEarly', 'Imminent', 'PreimageMissing', 'ReferendumInvalid', 'PreimageInvalid', 'NoneWaiting', 'NotVoter', 'NoPermission', 'AlreadyDelegating', 'InsufficientFunds', 'NotDelegating', 'VotesExist', 'InstantNotAllowed', 'Nonsense', 'WrongUpperBound', 'MaxVotesReached', 'TooManyProposals']
|
||||
},
|
||||
/**
|
||||
* Lookup397: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber>
|
||||
* Lookup398: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber>
|
||||
**/
|
||||
PalletCollectiveVotes: {
|
||||
index: 'u32',
|
||||
@@ -3332,13 +3336,13 @@ export default {
|
||||
end: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup398: pallet_collective::pallet::Error<T, I>
|
||||
* Lookup399: pallet_collective::pallet::Error<T, I>
|
||||
**/
|
||||
PalletCollectiveError: {
|
||||
_enum: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength']
|
||||
},
|
||||
/**
|
||||
* Lookup402: pallet_elections_phragmen::SeatHolder<sp_core::crypto::AccountId32, Balance>
|
||||
* Lookup403: pallet_elections_phragmen::SeatHolder<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
PalletElectionsPhragmenSeatHolder: {
|
||||
who: 'AccountId32',
|
||||
@@ -3346,7 +3350,7 @@ export default {
|
||||
deposit: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup403: pallet_elections_phragmen::Voter<sp_core::crypto::AccountId32, Balance>
|
||||
* Lookup404: pallet_elections_phragmen::Voter<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
PalletElectionsPhragmenVoter: {
|
||||
votes: 'Vec<AccountId32>',
|
||||
@@ -3354,19 +3358,19 @@ export default {
|
||||
deposit: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup404: pallet_elections_phragmen::pallet::Error<T>
|
||||
* Lookup405: pallet_elections_phragmen::pallet::Error<T>
|
||||
**/
|
||||
PalletElectionsPhragmenError: {
|
||||
_enum: ['UnableToVote', 'NoVotes', 'TooManyVotes', 'MaximumVotesExceeded', 'LowBalance', 'UnableToPayBond', 'MustBeVoter', 'ReportSelf', 'DuplicatedCandidate', 'MemberSubmit', 'RunnerUpSubmit', 'InsufficientCandidateFunds', 'NotMember', 'InvalidWitnessData', 'InvalidVoteCount', 'InvalidRenouncing', 'InvalidReplacement']
|
||||
},
|
||||
/**
|
||||
* Lookup405: pallet_membership::pallet::Error<T, I>
|
||||
* Lookup406: pallet_membership::pallet::Error<T, I>
|
||||
**/
|
||||
PalletMembershipError: {
|
||||
_enum: ['AlreadyMember', 'NotMember']
|
||||
},
|
||||
/**
|
||||
* Lookup406: pallet_grandpa::StoredState<N>
|
||||
* Lookup407: pallet_grandpa::StoredState<N>
|
||||
**/
|
||||
PalletGrandpaStoredState: {
|
||||
_enum: {
|
||||
@@ -3383,7 +3387,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup407: pallet_grandpa::StoredPendingChange<N, Limit>
|
||||
* Lookup408: pallet_grandpa::StoredPendingChange<N, Limit>
|
||||
**/
|
||||
PalletGrandpaStoredPendingChange: {
|
||||
scheduledAt: 'u32',
|
||||
@@ -3392,13 +3396,13 @@ export default {
|
||||
forced: 'Option<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup409: pallet_grandpa::pallet::Error<T>
|
||||
* Lookup410: pallet_grandpa::pallet::Error<T>
|
||||
**/
|
||||
PalletGrandpaError: {
|
||||
_enum: ['PauseFailed', 'ResumeFailed', 'ChangePending', 'TooSoon', 'InvalidKeyOwnershipProof', 'InvalidEquivocationProof', 'DuplicateOffenceReport']
|
||||
},
|
||||
/**
|
||||
* Lookup410: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
|
||||
* Lookup411: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
PalletTreasuryProposal: {
|
||||
proposer: 'AccountId32',
|
||||
@@ -3407,17 +3411,17 @@ export default {
|
||||
bond: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup414: frame_support::PalletId
|
||||
* Lookup415: frame_support::PalletId
|
||||
**/
|
||||
FrameSupportPalletId: '[u8;8]',
|
||||
/**
|
||||
* Lookup415: pallet_treasury::pallet::Error<T, I>
|
||||
* Lookup416: pallet_treasury::pallet::Error<T, I>
|
||||
**/
|
||||
PalletTreasuryError: {
|
||||
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']
|
||||
},
|
||||
/**
|
||||
* Lookup416: pallet_contracts::wasm::PrefabWasmModule<T>
|
||||
* Lookup417: pallet_contracts::wasm::PrefabWasmModule<T>
|
||||
**/
|
||||
PalletContractsWasmPrefabWasmModule: {
|
||||
instructionWeightsVersion: 'Compact<u32>',
|
||||
@@ -3426,7 +3430,7 @@ export default {
|
||||
code: 'Bytes'
|
||||
},
|
||||
/**
|
||||
* Lookup417: pallet_contracts::wasm::OwnerInfo<T>
|
||||
* Lookup418: pallet_contracts::wasm::OwnerInfo<T>
|
||||
**/
|
||||
PalletContractsWasmOwnerInfo: {
|
||||
owner: 'AccountId32',
|
||||
@@ -3434,7 +3438,7 @@ export default {
|
||||
refcount: 'Compact<u64>'
|
||||
},
|
||||
/**
|
||||
* Lookup418: pallet_contracts::storage::RawContractInfo<primitive_types::H256, Balance>
|
||||
* Lookup419: pallet_contracts::storage::RawContractInfo<primitive_types::H256, Balance>
|
||||
**/
|
||||
PalletContractsStorageRawContractInfo: {
|
||||
trieId: 'Bytes',
|
||||
@@ -3442,13 +3446,13 @@ export default {
|
||||
storageDeposit: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup420: pallet_contracts::storage::DeletedContract
|
||||
* Lookup421: pallet_contracts::storage::DeletedContract
|
||||
**/
|
||||
PalletContractsStorageDeletedContract: {
|
||||
trieId: 'Bytes'
|
||||
},
|
||||
/**
|
||||
* Lookup421: pallet_contracts::schedule::Schedule<T>
|
||||
* Lookup422: pallet_contracts::schedule::Schedule<T>
|
||||
**/
|
||||
PalletContractsSchedule: {
|
||||
limits: 'PalletContractsScheduleLimits',
|
||||
@@ -3456,7 +3460,7 @@ export default {
|
||||
hostFnWeights: 'PalletContractsScheduleHostFnWeights'
|
||||
},
|
||||
/**
|
||||
* Lookup422: pallet_contracts::schedule::Limits
|
||||
* Lookup423: pallet_contracts::schedule::Limits
|
||||
**/
|
||||
PalletContractsScheduleLimits: {
|
||||
eventTopics: 'u32',
|
||||
@@ -3472,7 +3476,7 @@ export default {
|
||||
codeLen: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup423: pallet_contracts::schedule::InstructionWeights<T>
|
||||
* Lookup424: pallet_contracts::schedule::InstructionWeights<T>
|
||||
**/
|
||||
PalletContractsScheduleInstructionWeights: {
|
||||
_alias: {
|
||||
@@ -3532,7 +3536,7 @@ export default {
|
||||
i64rotr: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup424: pallet_contracts::schedule::HostFnWeights<T>
|
||||
* Lookup425: pallet_contracts::schedule::HostFnWeights<T>
|
||||
**/
|
||||
PalletContractsScheduleHostFnWeights: {
|
||||
_alias: {
|
||||
@@ -3589,39 +3593,39 @@ export default {
|
||||
ecdsaRecover: 'u64'
|
||||
},
|
||||
/**
|
||||
* Lookup425: pallet_contracts::pallet::Error<T>
|
||||
* Lookup426: pallet_contracts::pallet::Error<T>
|
||||
**/
|
||||
PalletContractsError: {
|
||||
_enum: ['InvalidScheduleVersion', 'OutOfGas', 'OutputBufferTooSmall', 'TransferFailed', 'MaxCallDepthReached', 'ContractNotFound', 'CodeTooLarge', 'CodeNotFound', 'OutOfBounds', 'DecodingFailed', 'ContractTrapped', 'ValueTooLarge', 'TerminatedWhileReentrant', 'InputForwarded', 'RandomSubjectTooLong', 'TooManyTopics', 'DuplicateTopics', 'NoChainExtension', 'DeletionQueueFull', 'DuplicateContract', 'TerminatedInConstructor', 'DebugMessageInvalidUTF8', 'ReentranceDenied', 'StorageDepositNotEnoughFunds', 'StorageDepositLimitExhausted', 'CodeInUse', 'ContractReverted', 'CodeRejected']
|
||||
},
|
||||
/**
|
||||
* Lookup426: pallet_sudo::pallet::Error<T>
|
||||
* Lookup427: pallet_sudo::pallet::Error<T>
|
||||
**/
|
||||
PalletSudoError: {
|
||||
_enum: ['RequireSudo']
|
||||
},
|
||||
/**
|
||||
* Lookup430: pallet_im_online::BoundedOpaqueNetworkState<PeerIdEncodingLimit, MultiAddrEncodingLimit, AddressesLimit>
|
||||
* Lookup431: pallet_im_online::BoundedOpaqueNetworkState<PeerIdEncodingLimit, MultiAddrEncodingLimit, AddressesLimit>
|
||||
**/
|
||||
PalletImOnlineBoundedOpaqueNetworkState: {
|
||||
peerId: 'Bytes',
|
||||
externalAddresses: 'Vec<Bytes>'
|
||||
},
|
||||
/**
|
||||
* Lookup434: pallet_im_online::pallet::Error<T>
|
||||
* Lookup435: pallet_im_online::pallet::Error<T>
|
||||
**/
|
||||
PalletImOnlineError: {
|
||||
_enum: ['InvalidKey', 'DuplicatedHeartbeat']
|
||||
},
|
||||
/**
|
||||
* Lookup437: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender>
|
||||
* Lookup438: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender>
|
||||
**/
|
||||
SpStakingOffenceOffenceDetails: {
|
||||
offender: '(AccountId32,PalletStakingExposure)',
|
||||
reporters: 'Vec<AccountId32>'
|
||||
},
|
||||
/**
|
||||
* Lookup439: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
|
||||
* Lookup440: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
|
||||
**/
|
||||
PalletIdentityRegistration: {
|
||||
judgements: 'Vec<(u32,PalletIdentityJudgement)>',
|
||||
@@ -3629,7 +3633,7 @@ export default {
|
||||
info: 'PalletIdentityIdentityInfo'
|
||||
},
|
||||
/**
|
||||
* Lookup447: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
|
||||
* Lookup448: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletIdentityRegistrarInfo: {
|
||||
account: 'AccountId32',
|
||||
@@ -3637,13 +3641,13 @@ export default {
|
||||
fields: 'PalletIdentityBitFlags'
|
||||
},
|
||||
/**
|
||||
* Lookup449: pallet_identity::pallet::Error<T>
|
||||
* Lookup450: pallet_identity::pallet::Error<T>
|
||||
**/
|
||||
PalletIdentityError: {
|
||||
_enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned']
|
||||
},
|
||||
/**
|
||||
* Lookup451: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
|
||||
* Lookup452: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
PalletSocietyBid: {
|
||||
who: 'AccountId32',
|
||||
@@ -3651,7 +3655,7 @@ export default {
|
||||
value: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup452: pallet_society::BidKind<sp_core::crypto::AccountId32, Balance>
|
||||
* Lookup453: pallet_society::BidKind<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
PalletSocietyBidKind: {
|
||||
_enum: {
|
||||
@@ -3660,25 +3664,25 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup454: pallet_society::VouchingStatus
|
||||
* Lookup455: pallet_society::VouchingStatus
|
||||
**/
|
||||
PalletSocietyVouchingStatus: {
|
||||
_enum: ['Vouching', 'Banned']
|
||||
},
|
||||
/**
|
||||
* Lookup458: pallet_society::Vote
|
||||
* Lookup459: pallet_society::Vote
|
||||
**/
|
||||
PalletSocietyVote: {
|
||||
_enum: ['Skeptic', 'Reject', 'Approve']
|
||||
},
|
||||
/**
|
||||
* Lookup459: pallet_society::pallet::Error<T, I>
|
||||
* Lookup460: pallet_society::pallet::Error<T, I>
|
||||
**/
|
||||
PalletSocietyError: {
|
||||
_enum: ['BadPosition', 'NotMember', 'AlreadyMember', 'Suspended', 'NotSuspended', 'NoPayout', 'AlreadyFounded', 'InsufficientPot', 'AlreadyVouching', 'NotVouching', 'Head', 'Founder', 'AlreadyBid', 'AlreadyCandidate', 'NotCandidate', 'MaxMembers', 'NotFounder', 'NotHead']
|
||||
},
|
||||
/**
|
||||
* Lookup460: pallet_recovery::RecoveryConfig<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
||||
* Lookup461: pallet_recovery::RecoveryConfig<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletRecoveryRecoveryConfig: {
|
||||
delayPeriod: 'u32',
|
||||
@@ -3687,7 +3691,7 @@ export default {
|
||||
threshold: 'u16'
|
||||
},
|
||||
/**
|
||||
* Lookup461: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
||||
* Lookup462: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletRecoveryActiveRecovery: {
|
||||
created: 'u32',
|
||||
@@ -3695,25 +3699,25 @@ export default {
|
||||
friends: 'Vec<AccountId32>'
|
||||
},
|
||||
/**
|
||||
* Lookup462: pallet_recovery::pallet::Error<T>
|
||||
* Lookup463: pallet_recovery::pallet::Error<T>
|
||||
**/
|
||||
PalletRecoveryError: {
|
||||
_enum: ['NotAllowed', 'ZeroThreshold', 'NotEnoughFriends', 'MaxFriends', 'NotSorted', 'NotRecoverable', 'AlreadyRecoverable', 'AlreadyStarted', 'NotStarted', 'NotFriend', 'DelayPeriod', 'AlreadyVouched', 'Threshold', 'StillActive', 'AlreadyProxy', 'BadState']
|
||||
},
|
||||
/**
|
||||
* Lookup465: pallet_vesting::Releases
|
||||
* Lookup466: pallet_vesting::Releases
|
||||
**/
|
||||
PalletVestingReleases: {
|
||||
_enum: ['V0', 'V1']
|
||||
},
|
||||
/**
|
||||
* Lookup466: pallet_vesting::pallet::Error<T>
|
||||
* Lookup467: pallet_vesting::pallet::Error<T>
|
||||
**/
|
||||
PalletVestingError: {
|
||||
_enum: ['NotVesting', 'AtMaxVestingSchedules', 'AmountLow', 'ScheduleIndexOutOfBounds', 'InvalidScheduleParams']
|
||||
},
|
||||
/**
|
||||
* Lookup469: pallet_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<node_runtime::Call, primitive_types::H256>, BlockNumber, node_runtime::OriginCaller, sp_core::crypto::AccountId32>
|
||||
* Lookup470: pallet_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<node_runtime::Call, primitive_types::H256>, BlockNumber, node_runtime::OriginCaller, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletSchedulerScheduledV3: {
|
||||
maybeId: 'Option<Bytes>',
|
||||
@@ -3722,12 +3726,6 @@ export default {
|
||||
maybePeriodic: 'Option<(u32,u32)>',
|
||||
origin: 'NodeRuntimeOriginCaller'
|
||||
},
|
||||
/**
|
||||
* Lookup470: pallet_scheduler::Releases
|
||||
**/
|
||||
PalletSchedulerReleases: {
|
||||
_enum: ['V1', 'V2', 'V3']
|
||||
},
|
||||
/**
|
||||
* Lookup471: pallet_scheduler::pallet::Error<T>
|
||||
**/
|
||||
|
||||
@@ -45,7 +45,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Valid' | 'Invalid';
|
||||
}
|
||||
|
||||
/** @name KusamaRuntimeSessionKeys (246) */
|
||||
/** @name KusamaRuntimeSessionKeys (247) */
|
||||
export interface KusamaRuntimeSessionKeys extends Struct {
|
||||
readonly grandpa: SpFinalityGrandpaAppPublic;
|
||||
readonly babe: SpConsensusBabeAppPublic;
|
||||
@@ -55,7 +55,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
|
||||
}
|
||||
|
||||
/** @name KusamaRuntimeOriginCaller (319) */
|
||||
/** @name KusamaRuntimeOriginCaller (320) */
|
||||
export interface KusamaRuntimeOriginCaller extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSystemRawOrigin;
|
||||
@@ -71,7 +71,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'System' | 'Void' | 'Council' | 'TechnicalCommittee' | 'ParachainsOrigin' | 'XcmPallet';
|
||||
}
|
||||
|
||||
/** @name KusamaRuntimeNposCompactSolution24 (384) */
|
||||
/** @name KusamaRuntimeNposCompactSolution24 (385) */
|
||||
export interface KusamaRuntimeNposCompactSolution24 extends Struct {
|
||||
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
|
||||
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
|
||||
@@ -99,7 +99,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDisputesPalletCall (504) */
|
||||
/** @name PolkadotRuntimeParachainsDisputesPalletCall (505) */
|
||||
export interface PolkadotRuntimeParachainsDisputesPalletCall extends Enum {
|
||||
readonly isForceUnfreeze: boolean;
|
||||
readonly type: 'ForceUnfreeze';
|
||||
|
||||
@@ -1696,7 +1696,12 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly rawSolution: PalletElectionProviderMultiPhaseRawSolution;
|
||||
readonly numSignedSubmissions: u32;
|
||||
} & Struct;
|
||||
readonly type: 'SubmitUnsigned' | 'SetMinimumUntrustedScore' | 'SetEmergencyElectionResult' | 'Submit';
|
||||
readonly isGovernanceFallback: boolean;
|
||||
readonly asGovernanceFallback: {
|
||||
readonly maybeMaxVoters: Option<u32>;
|
||||
readonly maybeMaxTargets: Option<u32>;
|
||||
} & Struct;
|
||||
readonly type: 'SubmitUnsigned' | 'SetMinimumUntrustedScore' | 'SetEmergencyElectionResult' | 'Submit' | 'GovernanceFallback';
|
||||
}
|
||||
|
||||
/** @name PalletElectionProviderMultiPhaseRawSolution (143) */
|
||||
@@ -3381,7 +3386,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly targets: Vec<AccountId32>;
|
||||
}
|
||||
|
||||
/** @name PalletElectionProviderMultiPhaseSignedSignedSubmission (353) */
|
||||
/** @name PalletElectionProviderMultiPhaseSignedSignedSubmission (354) */
|
||||
export interface PalletElectionProviderMultiPhaseSignedSignedSubmission extends Struct {
|
||||
readonly who: AccountId32;
|
||||
readonly deposit: u128;
|
||||
@@ -3389,7 +3394,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly reward: u128;
|
||||
}
|
||||
|
||||
/** @name PalletElectionProviderMultiPhaseError (354) */
|
||||
/** @name PalletElectionProviderMultiPhaseError (355) */
|
||||
export interface PalletElectionProviderMultiPhaseError extends Enum {
|
||||
readonly isPreDispatchEarlySubmission: boolean;
|
||||
readonly isPreDispatchWrongWinnerCount: boolean;
|
||||
@@ -3402,10 +3407,11 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isMissingSnapshotMetadata: boolean;
|
||||
readonly isInvalidSubmissionIndex: boolean;
|
||||
readonly isCallNotAllowed: boolean;
|
||||
readonly type: 'PreDispatchEarlySubmission' | 'PreDispatchWrongWinnerCount' | 'PreDispatchWeakSubmission' | 'SignedQueueFull' | 'SignedCannotPayDeposit' | 'SignedInvalidWitness' | 'SignedTooMuchWeight' | 'OcwCallWrongEra' | 'MissingSnapshotMetadata' | 'InvalidSubmissionIndex' | 'CallNotAllowed';
|
||||
readonly isFallbackFailed: boolean;
|
||||
readonly type: 'PreDispatchEarlySubmission' | 'PreDispatchWrongWinnerCount' | 'PreDispatchWeakSubmission' | 'SignedQueueFull' | 'SignedCannotPayDeposit' | 'SignedInvalidWitness' | 'SignedTooMuchWeight' | 'OcwCallWrongEra' | 'MissingSnapshotMetadata' | 'InvalidSubmissionIndex' | 'CallNotAllowed' | 'FallbackFailed';
|
||||
}
|
||||
|
||||
/** @name PalletStakingStakingLedger (355) */
|
||||
/** @name PalletStakingStakingLedger (356) */
|
||||
export interface PalletStakingStakingLedger extends Struct {
|
||||
readonly stash: AccountId32;
|
||||
readonly total: Compact<u128>;
|
||||
@@ -3414,32 +3420,32 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly claimedRewards: Vec<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletStakingUnlockChunk (357) */
|
||||
/** @name PalletStakingUnlockChunk (358) */
|
||||
export interface PalletStakingUnlockChunk extends Struct {
|
||||
readonly value: Compact<u128>;
|
||||
readonly era: Compact<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletStakingNominations (358) */
|
||||
/** @name PalletStakingNominations (359) */
|
||||
export interface PalletStakingNominations extends Struct {
|
||||
readonly targets: Vec<AccountId32>;
|
||||
readonly submittedIn: u32;
|
||||
readonly suppressed: bool;
|
||||
}
|
||||
|
||||
/** @name PalletStakingActiveEraInfo (359) */
|
||||
/** @name PalletStakingActiveEraInfo (360) */
|
||||
export interface PalletStakingActiveEraInfo extends Struct {
|
||||
readonly index: u32;
|
||||
readonly start: Option<u64>;
|
||||
}
|
||||
|
||||
/** @name PalletStakingEraRewardPoints (361) */
|
||||
/** @name PalletStakingEraRewardPoints (362) */
|
||||
export interface PalletStakingEraRewardPoints extends Struct {
|
||||
readonly total: u32;
|
||||
readonly individual: BTreeMap<AccountId32, u32>;
|
||||
}
|
||||
|
||||
/** @name PalletStakingForcing (365) */
|
||||
/** @name PalletStakingForcing (366) */
|
||||
export interface PalletStakingForcing extends Enum {
|
||||
readonly isNotForcing: boolean;
|
||||
readonly isForceNew: boolean;
|
||||
@@ -3448,7 +3454,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotForcing' | 'ForceNew' | 'ForceNone' | 'ForceAlways';
|
||||
}
|
||||
|
||||
/** @name PalletStakingUnappliedSlash (367) */
|
||||
/** @name PalletStakingUnappliedSlash (368) */
|
||||
export interface PalletStakingUnappliedSlash extends Struct {
|
||||
readonly validator: AccountId32;
|
||||
readonly own: u128;
|
||||
@@ -3457,7 +3463,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly payout: u128;
|
||||
}
|
||||
|
||||
/** @name PalletStakingSlashingSlashingSpans (369) */
|
||||
/** @name PalletStakingSlashingSlashingSpans (370) */
|
||||
export interface PalletStakingSlashingSlashingSpans extends Struct {
|
||||
readonly spanIndex: u32;
|
||||
readonly lastStart: u32;
|
||||
@@ -3465,13 +3471,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly prior: Vec<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletStakingSlashingSpanRecord (370) */
|
||||
/** @name PalletStakingSlashingSpanRecord (371) */
|
||||
export interface PalletStakingSlashingSpanRecord extends Struct {
|
||||
readonly slashed: u128;
|
||||
readonly paidOut: u128;
|
||||
}
|
||||
|
||||
/** @name PalletStakingReleases (373) */
|
||||
/** @name PalletStakingReleases (374) */
|
||||
export interface PalletStakingReleases extends Enum {
|
||||
readonly isV100Ancient: boolean;
|
||||
readonly isV200: boolean;
|
||||
@@ -3484,7 +3490,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'V100Ancient' | 'V200' | 'V300' | 'V400' | 'V500' | 'V600' | 'V700' | 'V800';
|
||||
}
|
||||
|
||||
/** @name PalletStakingPalletError (374) */
|
||||
/** @name PalletStakingPalletError (375) */
|
||||
export interface PalletStakingPalletError extends Enum {
|
||||
readonly isNotController: boolean;
|
||||
readonly isNotStash: boolean;
|
||||
@@ -3513,10 +3519,10 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotController' | 'NotStash' | 'AlreadyBonded' | 'AlreadyPaired' | 'EmptyTargets' | 'DuplicateIndex' | 'InvalidSlashIndex' | 'InsufficientBond' | 'NoMoreChunks' | 'NoUnlockChunk' | 'FundedTarget' | 'InvalidEraToReward' | 'InvalidNumberOfNominations' | 'NotSortedAndUnique' | 'AlreadyClaimed' | 'IncorrectHistoryDepth' | 'IncorrectSlashingSpans' | 'BadState' | 'TooManyTargets' | 'BadTarget' | 'CannotChillOther' | 'TooManyNominators' | 'TooManyValidators' | 'CommissionTooLow';
|
||||
}
|
||||
|
||||
/** @name SpCoreCryptoKeyTypeId (378) */
|
||||
/** @name SpCoreCryptoKeyTypeId (379) */
|
||||
export interface SpCoreCryptoKeyTypeId extends U8aFixed {}
|
||||
|
||||
/** @name PalletSessionError (379) */
|
||||
/** @name PalletSessionError (380) */
|
||||
export interface PalletSessionError extends Enum {
|
||||
readonly isInvalidProof: boolean;
|
||||
readonly isNoAssociatedValidatorId: boolean;
|
||||
@@ -3526,7 +3532,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
|
||||
}
|
||||
|
||||
/** @name PalletDemocracyPreimageStatus (383) */
|
||||
/** @name PalletDemocracyPreimageStatus (384) */
|
||||
export interface PalletDemocracyPreimageStatus extends Enum {
|
||||
readonly isMissing: boolean;
|
||||
readonly asMissing: u32;
|
||||
@@ -3541,7 +3547,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Missing' | 'Available';
|
||||
}
|
||||
|
||||
/** @name PalletDemocracyReferendumInfo (384) */
|
||||
/** @name PalletDemocracyReferendumInfo (385) */
|
||||
export interface PalletDemocracyReferendumInfo extends Enum {
|
||||
readonly isOngoing: boolean;
|
||||
readonly asOngoing: PalletDemocracyReferendumStatus;
|
||||
@@ -3553,7 +3559,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Ongoing' | 'Finished';
|
||||
}
|
||||
|
||||
/** @name PalletDemocracyReferendumStatus (385) */
|
||||
/** @name PalletDemocracyReferendumStatus (386) */
|
||||
export interface PalletDemocracyReferendumStatus extends Struct {
|
||||
readonly end: u32;
|
||||
readonly proposalHash: H256;
|
||||
@@ -3562,14 +3568,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly tally: PalletDemocracyTally;
|
||||
}
|
||||
|
||||
/** @name PalletDemocracyTally (386) */
|
||||
/** @name PalletDemocracyTally (387) */
|
||||
export interface PalletDemocracyTally extends Struct {
|
||||
readonly ayes: u128;
|
||||
readonly nays: u128;
|
||||
readonly turnout: u128;
|
||||
}
|
||||
|
||||
/** @name PalletDemocracyVoteVoting (387) */
|
||||
/** @name PalletDemocracyVoteVoting (388) */
|
||||
export interface PalletDemocracyVoteVoting extends Enum {
|
||||
readonly isDirect: boolean;
|
||||
readonly asDirect: {
|
||||
@@ -3588,22 +3594,22 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Direct' | 'Delegating';
|
||||
}
|
||||
|
||||
/** @name PalletDemocracyDelegations (390) */
|
||||
/** @name PalletDemocracyDelegations (391) */
|
||||
export interface PalletDemocracyDelegations extends Struct {
|
||||
readonly votes: u128;
|
||||
readonly capital: u128;
|
||||
}
|
||||
|
||||
/** @name PalletDemocracyVotePriorLock (391) */
|
||||
/** @name PalletDemocracyVotePriorLock (392) */
|
||||
export interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {}
|
||||
|
||||
/** @name PalletDemocracyReleases (394) */
|
||||
/** @name PalletDemocracyReleases (395) */
|
||||
export interface PalletDemocracyReleases extends Enum {
|
||||
readonly isV1: boolean;
|
||||
readonly type: 'V1';
|
||||
}
|
||||
|
||||
/** @name PalletDemocracyError (395) */
|
||||
/** @name PalletDemocracyError (396) */
|
||||
export interface PalletDemocracyError extends Enum {
|
||||
readonly isValueLow: boolean;
|
||||
readonly isProposalMissing: boolean;
|
||||
@@ -3636,7 +3642,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'ValueLow' | 'ProposalMissing' | 'AlreadyCanceled' | 'DuplicateProposal' | 'ProposalBlacklisted' | 'NotSimpleMajority' | 'InvalidHash' | 'NoProposal' | 'AlreadyVetoed' | 'DuplicatePreimage' | 'NotImminent' | 'TooEarly' | 'Imminent' | 'PreimageMissing' | 'ReferendumInvalid' | 'PreimageInvalid' | 'NoneWaiting' | 'NotVoter' | 'NoPermission' | 'AlreadyDelegating' | 'InsufficientFunds' | 'NotDelegating' | 'VotesExist' | 'InstantNotAllowed' | 'Nonsense' | 'WrongUpperBound' | 'MaxVotesReached' | 'TooManyProposals';
|
||||
}
|
||||
|
||||
/** @name PalletCollectiveVotes (397) */
|
||||
/** @name PalletCollectiveVotes (398) */
|
||||
export interface PalletCollectiveVotes extends Struct {
|
||||
readonly index: u32;
|
||||
readonly threshold: u32;
|
||||
@@ -3645,7 +3651,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly end: u32;
|
||||
}
|
||||
|
||||
/** @name PalletCollectiveError (398) */
|
||||
/** @name PalletCollectiveError (399) */
|
||||
export interface PalletCollectiveError extends Enum {
|
||||
readonly isNotMember: boolean;
|
||||
readonly isDuplicateProposal: boolean;
|
||||
@@ -3660,21 +3666,21 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength';
|
||||
}
|
||||
|
||||
/** @name PalletElectionsPhragmenSeatHolder (402) */
|
||||
/** @name PalletElectionsPhragmenSeatHolder (403) */
|
||||
export interface PalletElectionsPhragmenSeatHolder extends Struct {
|
||||
readonly who: AccountId32;
|
||||
readonly stake: u128;
|
||||
readonly deposit: u128;
|
||||
}
|
||||
|
||||
/** @name PalletElectionsPhragmenVoter (403) */
|
||||
/** @name PalletElectionsPhragmenVoter (404) */
|
||||
export interface PalletElectionsPhragmenVoter extends Struct {
|
||||
readonly votes: Vec<AccountId32>;
|
||||
readonly stake: u128;
|
||||
readonly deposit: u128;
|
||||
}
|
||||
|
||||
/** @name PalletElectionsPhragmenError (404) */
|
||||
/** @name PalletElectionsPhragmenError (405) */
|
||||
export interface PalletElectionsPhragmenError extends Enum {
|
||||
readonly isUnableToVote: boolean;
|
||||
readonly isNoVotes: boolean;
|
||||
@@ -3696,14 +3702,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'UnableToVote' | 'NoVotes' | 'TooManyVotes' | 'MaximumVotesExceeded' | 'LowBalance' | 'UnableToPayBond' | 'MustBeVoter' | 'ReportSelf' | 'DuplicatedCandidate' | 'MemberSubmit' | 'RunnerUpSubmit' | 'InsufficientCandidateFunds' | 'NotMember' | 'InvalidWitnessData' | 'InvalidVoteCount' | 'InvalidRenouncing' | 'InvalidReplacement';
|
||||
}
|
||||
|
||||
/** @name PalletMembershipError (405) */
|
||||
/** @name PalletMembershipError (406) */
|
||||
export interface PalletMembershipError extends Enum {
|
||||
readonly isAlreadyMember: boolean;
|
||||
readonly isNotMember: boolean;
|
||||
readonly type: 'AlreadyMember' | 'NotMember';
|
||||
}
|
||||
|
||||
/** @name PalletGrandpaStoredState (406) */
|
||||
/** @name PalletGrandpaStoredState (407) */
|
||||
export interface PalletGrandpaStoredState extends Enum {
|
||||
readonly isLive: boolean;
|
||||
readonly isPendingPause: boolean;
|
||||
@@ -3720,7 +3726,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
||||
}
|
||||
|
||||
/** @name PalletGrandpaStoredPendingChange (407) */
|
||||
/** @name PalletGrandpaStoredPendingChange (408) */
|
||||
export interface PalletGrandpaStoredPendingChange extends Struct {
|
||||
readonly scheduledAt: u32;
|
||||
readonly delay: u32;
|
||||
@@ -3728,7 +3734,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly forced: Option<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletGrandpaError (409) */
|
||||
/** @name PalletGrandpaError (410) */
|
||||
export interface PalletGrandpaError extends Enum {
|
||||
readonly isPauseFailed: boolean;
|
||||
readonly isResumeFailed: boolean;
|
||||
@@ -3740,7 +3746,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
||||
}
|
||||
|
||||
/** @name PalletTreasuryProposal (410) */
|
||||
/** @name PalletTreasuryProposal (411) */
|
||||
export interface PalletTreasuryProposal extends Struct {
|
||||
readonly proposer: AccountId32;
|
||||
readonly value: u128;
|
||||
@@ -3748,10 +3754,10 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly bond: u128;
|
||||
}
|
||||
|
||||
/** @name FrameSupportPalletId (414) */
|
||||
/** @name FrameSupportPalletId (415) */
|
||||
export interface FrameSupportPalletId extends U8aFixed {}
|
||||
|
||||
/** @name PalletTreasuryError (415) */
|
||||
/** @name PalletTreasuryError (416) */
|
||||
export interface PalletTreasuryError extends Enum {
|
||||
readonly isInsufficientProposersBalance: boolean;
|
||||
readonly isInvalidIndex: boolean;
|
||||
@@ -3759,7 +3765,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';
|
||||
}
|
||||
|
||||
/** @name PalletContractsWasmPrefabWasmModule (416) */
|
||||
/** @name PalletContractsWasmPrefabWasmModule (417) */
|
||||
export interface PalletContractsWasmPrefabWasmModule extends Struct {
|
||||
readonly instructionWeightsVersion: Compact<u32>;
|
||||
readonly initial: Compact<u32>;
|
||||
@@ -3767,33 +3773,33 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly code: Bytes;
|
||||
}
|
||||
|
||||
/** @name PalletContractsWasmOwnerInfo (417) */
|
||||
/** @name PalletContractsWasmOwnerInfo (418) */
|
||||
export interface PalletContractsWasmOwnerInfo extends Struct {
|
||||
readonly owner: AccountId32;
|
||||
readonly deposit: Compact<u128>;
|
||||
readonly refcount: Compact<u64>;
|
||||
}
|
||||
|
||||
/** @name PalletContractsStorageRawContractInfo (418) */
|
||||
/** @name PalletContractsStorageRawContractInfo (419) */
|
||||
export interface PalletContractsStorageRawContractInfo extends Struct {
|
||||
readonly trieId: Bytes;
|
||||
readonly codeHash: H256;
|
||||
readonly storageDeposit: u128;
|
||||
}
|
||||
|
||||
/** @name PalletContractsStorageDeletedContract (420) */
|
||||
/** @name PalletContractsStorageDeletedContract (421) */
|
||||
export interface PalletContractsStorageDeletedContract extends Struct {
|
||||
readonly trieId: Bytes;
|
||||
}
|
||||
|
||||
/** @name PalletContractsSchedule (421) */
|
||||
/** @name PalletContractsSchedule (422) */
|
||||
export interface PalletContractsSchedule extends Struct {
|
||||
readonly limits: PalletContractsScheduleLimits;
|
||||
readonly instructionWeights: PalletContractsScheduleInstructionWeights;
|
||||
readonly hostFnWeights: PalletContractsScheduleHostFnWeights;
|
||||
}
|
||||
|
||||
/** @name PalletContractsScheduleLimits (422) */
|
||||
/** @name PalletContractsScheduleLimits (423) */
|
||||
export interface PalletContractsScheduleLimits extends Struct {
|
||||
readonly eventTopics: u32;
|
||||
readonly stackHeight: u32;
|
||||
@@ -3808,7 +3814,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly codeLen: u32;
|
||||
}
|
||||
|
||||
/** @name PalletContractsScheduleInstructionWeights (423) */
|
||||
/** @name PalletContractsScheduleInstructionWeights (424) */
|
||||
export interface PalletContractsScheduleInstructionWeights extends Struct {
|
||||
readonly version: u32;
|
||||
readonly i64const: u32;
|
||||
@@ -3864,7 +3870,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly i64rotr: u32;
|
||||
}
|
||||
|
||||
/** @name PalletContractsScheduleHostFnWeights (424) */
|
||||
/** @name PalletContractsScheduleHostFnWeights (425) */
|
||||
export interface PalletContractsScheduleHostFnWeights extends Struct {
|
||||
readonly caller: u64;
|
||||
readonly address: u64;
|
||||
@@ -3917,7 +3923,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly ecdsaRecover: u64;
|
||||
}
|
||||
|
||||
/** @name PalletContractsError (425) */
|
||||
/** @name PalletContractsError (426) */
|
||||
export interface PalletContractsError extends Enum {
|
||||
readonly isInvalidScheduleVersion: boolean;
|
||||
readonly isOutOfGas: boolean;
|
||||
@@ -3950,46 +3956,46 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'InvalidScheduleVersion' | 'OutOfGas' | 'OutputBufferTooSmall' | 'TransferFailed' | 'MaxCallDepthReached' | 'ContractNotFound' | 'CodeTooLarge' | 'CodeNotFound' | 'OutOfBounds' | 'DecodingFailed' | 'ContractTrapped' | 'ValueTooLarge' | 'TerminatedWhileReentrant' | 'InputForwarded' | 'RandomSubjectTooLong' | 'TooManyTopics' | 'DuplicateTopics' | 'NoChainExtension' | 'DeletionQueueFull' | 'DuplicateContract' | 'TerminatedInConstructor' | 'DebugMessageInvalidUTF8' | 'ReentranceDenied' | 'StorageDepositNotEnoughFunds' | 'StorageDepositLimitExhausted' | 'CodeInUse' | 'ContractReverted' | 'CodeRejected';
|
||||
}
|
||||
|
||||
/** @name PalletSudoError (426) */
|
||||
/** @name PalletSudoError (427) */
|
||||
export interface PalletSudoError extends Enum {
|
||||
readonly isRequireSudo: boolean;
|
||||
readonly type: 'RequireSudo';
|
||||
}
|
||||
|
||||
/** @name PalletImOnlineBoundedOpaqueNetworkState (430) */
|
||||
/** @name PalletImOnlineBoundedOpaqueNetworkState (431) */
|
||||
export interface PalletImOnlineBoundedOpaqueNetworkState extends Struct {
|
||||
readonly peerId: Bytes;
|
||||
readonly externalAddresses: Vec<Bytes>;
|
||||
}
|
||||
|
||||
/** @name PalletImOnlineError (434) */
|
||||
/** @name PalletImOnlineError (435) */
|
||||
export interface PalletImOnlineError extends Enum {
|
||||
readonly isInvalidKey: boolean;
|
||||
readonly isDuplicatedHeartbeat: boolean;
|
||||
readonly type: 'InvalidKey' | 'DuplicatedHeartbeat';
|
||||
}
|
||||
|
||||
/** @name SpStakingOffenceOffenceDetails (437) */
|
||||
/** @name SpStakingOffenceOffenceDetails (438) */
|
||||
export interface SpStakingOffenceOffenceDetails extends Struct {
|
||||
readonly offender: ITuple<[AccountId32, PalletStakingExposure]>;
|
||||
readonly reporters: Vec<AccountId32>;
|
||||
}
|
||||
|
||||
/** @name PalletIdentityRegistration (439) */
|
||||
/** @name PalletIdentityRegistration (440) */
|
||||
export interface PalletIdentityRegistration extends Struct {
|
||||
readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
|
||||
readonly deposit: u128;
|
||||
readonly info: PalletIdentityIdentityInfo;
|
||||
}
|
||||
|
||||
/** @name PalletIdentityRegistrarInfo (447) */
|
||||
/** @name PalletIdentityRegistrarInfo (448) */
|
||||
export interface PalletIdentityRegistrarInfo extends Struct {
|
||||
readonly account: AccountId32;
|
||||
readonly fee: u128;
|
||||
readonly fields: PalletIdentityBitFlags;
|
||||
}
|
||||
|
||||
/** @name PalletIdentityError (449) */
|
||||
/** @name PalletIdentityError (450) */
|
||||
export interface PalletIdentityError extends Enum {
|
||||
readonly isTooManySubAccounts: boolean;
|
||||
readonly isNotFound: boolean;
|
||||
@@ -4010,14 +4016,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned';
|
||||
}
|
||||
|
||||
/** @name PalletSocietyBid (451) */
|
||||
/** @name PalletSocietyBid (452) */
|
||||
export interface PalletSocietyBid extends Struct {
|
||||
readonly who: AccountId32;
|
||||
readonly kind: PalletSocietyBidKind;
|
||||
readonly value: u128;
|
||||
}
|
||||
|
||||
/** @name PalletSocietyBidKind (452) */
|
||||
/** @name PalletSocietyBidKind (453) */
|
||||
export interface PalletSocietyBidKind extends Enum {
|
||||
readonly isDeposit: boolean;
|
||||
readonly asDeposit: u128;
|
||||
@@ -4026,14 +4032,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Deposit' | 'Vouch';
|
||||
}
|
||||
|
||||
/** @name PalletSocietyVouchingStatus (454) */
|
||||
/** @name PalletSocietyVouchingStatus (455) */
|
||||
export interface PalletSocietyVouchingStatus extends Enum {
|
||||
readonly isVouching: boolean;
|
||||
readonly isBanned: boolean;
|
||||
readonly type: 'Vouching' | 'Banned';
|
||||
}
|
||||
|
||||
/** @name PalletSocietyVote (458) */
|
||||
/** @name PalletSocietyVote (459) */
|
||||
export interface PalletSocietyVote extends Enum {
|
||||
readonly isSkeptic: boolean;
|
||||
readonly isReject: boolean;
|
||||
@@ -4041,7 +4047,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Skeptic' | 'Reject' | 'Approve';
|
||||
}
|
||||
|
||||
/** @name PalletSocietyError (459) */
|
||||
/** @name PalletSocietyError (460) */
|
||||
export interface PalletSocietyError extends Enum {
|
||||
readonly isBadPosition: boolean;
|
||||
readonly isNotMember: boolean;
|
||||
@@ -4064,7 +4070,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'BadPosition' | 'NotMember' | 'AlreadyMember' | 'Suspended' | 'NotSuspended' | 'NoPayout' | 'AlreadyFounded' | 'InsufficientPot' | 'AlreadyVouching' | 'NotVouching' | 'Head' | 'Founder' | 'AlreadyBid' | 'AlreadyCandidate' | 'NotCandidate' | 'MaxMembers' | 'NotFounder' | 'NotHead';
|
||||
}
|
||||
|
||||
/** @name PalletRecoveryRecoveryConfig (460) */
|
||||
/** @name PalletRecoveryRecoveryConfig (461) */
|
||||
export interface PalletRecoveryRecoveryConfig extends Struct {
|
||||
readonly delayPeriod: u32;
|
||||
readonly deposit: u128;
|
||||
@@ -4072,14 +4078,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly threshold: u16;
|
||||
}
|
||||
|
||||
/** @name PalletRecoveryActiveRecovery (461) */
|
||||
/** @name PalletRecoveryActiveRecovery (462) */
|
||||
export interface PalletRecoveryActiveRecovery extends Struct {
|
||||
readonly created: u32;
|
||||
readonly deposit: u128;
|
||||
readonly friends: Vec<AccountId32>;
|
||||
}
|
||||
|
||||
/** @name PalletRecoveryError (462) */
|
||||
/** @name PalletRecoveryError (463) */
|
||||
export interface PalletRecoveryError extends Enum {
|
||||
readonly isNotAllowed: boolean;
|
||||
readonly isZeroThreshold: boolean;
|
||||
@@ -4100,14 +4106,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotAllowed' | 'ZeroThreshold' | 'NotEnoughFriends' | 'MaxFriends' | 'NotSorted' | 'NotRecoverable' | 'AlreadyRecoverable' | 'AlreadyStarted' | 'NotStarted' | 'NotFriend' | 'DelayPeriod' | 'AlreadyVouched' | 'Threshold' | 'StillActive' | 'AlreadyProxy' | 'BadState';
|
||||
}
|
||||
|
||||
/** @name PalletVestingReleases (465) */
|
||||
/** @name PalletVestingReleases (466) */
|
||||
export interface PalletVestingReleases extends Enum {
|
||||
readonly isV0: boolean;
|
||||
readonly isV1: boolean;
|
||||
readonly type: 'V0' | 'V1';
|
||||
}
|
||||
|
||||
/** @name PalletVestingError (466) */
|
||||
/** @name PalletVestingError (467) */
|
||||
export interface PalletVestingError extends Enum {
|
||||
readonly isNotVesting: boolean;
|
||||
readonly isAtMaxVestingSchedules: boolean;
|
||||
@@ -4117,7 +4123,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotVesting' | 'AtMaxVestingSchedules' | 'AmountLow' | 'ScheduleIndexOutOfBounds' | 'InvalidScheduleParams';
|
||||
}
|
||||
|
||||
/** @name PalletSchedulerScheduledV3 (469) */
|
||||
/** @name PalletSchedulerScheduledV3 (470) */
|
||||
export interface PalletSchedulerScheduledV3 extends Struct {
|
||||
readonly maybeId: Option<Bytes>;
|
||||
readonly priority: u8;
|
||||
@@ -4126,14 +4132,6 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly origin: NodeRuntimeOriginCaller;
|
||||
}
|
||||
|
||||
/** @name PalletSchedulerReleases (470) */
|
||||
export interface PalletSchedulerReleases extends Enum {
|
||||
readonly isV1: boolean;
|
||||
readonly isV2: boolean;
|
||||
readonly isV3: boolean;
|
||||
readonly type: 'V1' | 'V2' | 'V3';
|
||||
}
|
||||
|
||||
/** @name PalletSchedulerError (471) */
|
||||
export interface PalletSchedulerError extends Enum {
|
||||
readonly isFailedToSchedule: boolean;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,16 +20,16 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/util": "^8.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@polkadot/types-augment": "7.6.1",
|
||||
"@polkadot/types-support": "7.6.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/types-augment": "7.7.1",
|
||||
"@polkadot/types-support": "7.7.1",
|
||||
"@polkadot/util-crypto": "^8.3.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@polkadot/types-codec": "7.6.1",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/types-codec": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "7.6.1"
|
||||
"@polkadot/types": "7.7.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/networks": "^8.3.3",
|
||||
"@polkadot/types": "7.6.1",
|
||||
"@polkadot/types-codec": "7.6.1",
|
||||
"@polkadot/types-create": "7.6.1",
|
||||
"@polkadot/types": "7.7.1",
|
||||
"@polkadot/types-codec": "7.7.1",
|
||||
"@polkadot/types-create": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/util": "^8.3.3"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -265,7 +265,7 @@
|
||||
{
|
||||
"name": "Version",
|
||||
"type": 157,
|
||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000b42300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000900000000",
|
||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000c82300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000a00000000",
|
||||
"docs": [
|
||||
" Get the chain's current version."
|
||||
]
|
||||
@@ -326,19 +326,6 @@
|
||||
"docs": [
|
||||
" Lookup from identity to the block number and index of the task."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 426
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" Storage version of the pallet.",
|
||||
"",
|
||||
" New networks start with last version."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -369,7 +356,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 427
|
||||
"type": 426
|
||||
},
|
||||
"index": 1
|
||||
},
|
||||
@@ -387,7 +374,7 @@
|
||||
"Identity"
|
||||
],
|
||||
"key": 9,
|
||||
"value": 428
|
||||
"value": 427
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -404,7 +391,7 @@
|
||||
"Identity"
|
||||
],
|
||||
"key": 9,
|
||||
"value": 430
|
||||
"value": 429
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -422,7 +409,7 @@
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 431
|
||||
"type": 430
|
||||
},
|
||||
"index": 10
|
||||
},
|
||||
@@ -446,7 +433,7 @@
|
||||
"name": "Authorities",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 432
|
||||
"plain": 431
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -522,7 +509,7 @@
|
||||
"name": "NextAuthorities",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 432
|
||||
"plain": 431
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -557,7 +544,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 435
|
||||
"value": 434
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -569,7 +556,7 @@
|
||||
"name": "Initialized",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 437
|
||||
"plain": 436
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -581,7 +568,7 @@
|
||||
"name": "AuthorVrfRandomness",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 437
|
||||
"plain": 436
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -625,7 +612,7 @@
|
||||
"name": "EpochConfig",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 438
|
||||
"plain": 437
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -637,7 +624,7 @@
|
||||
"name": "NextEpochConfig",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 438
|
||||
"plain": 437
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -684,7 +671,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 439
|
||||
"type": 438
|
||||
},
|
||||
"index": 2
|
||||
},
|
||||
@@ -751,7 +738,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 440
|
||||
"value": 439
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -778,7 +765,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 441
|
||||
"type": 440
|
||||
},
|
||||
"index": 4
|
||||
},
|
||||
@@ -812,8 +799,29 @@
|
||||
},
|
||||
"fallback": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
"docs": [
|
||||
" The balance of an account.",
|
||||
" The Balances pallet example of storing the balance of an account.",
|
||||
"",
|
||||
" # Example",
|
||||
"",
|
||||
" ```nocompile",
|
||||
" impl pallet_balances::Config for Runtime {",
|
||||
" type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>",
|
||||
" }",
|
||||
" ```",
|
||||
"",
|
||||
" You can also store the balance of an account in the `System` pallet.",
|
||||
"",
|
||||
" # Example",
|
||||
"",
|
||||
" ```nocompile",
|
||||
" impl pallet_balances::Config for Runtime {",
|
||||
" type AccountStore = System",
|
||||
" }",
|
||||
" ```",
|
||||
"",
|
||||
" But this comes with tradeoffs, storing account balances in the system pallet stores",
|
||||
" `frame_system` data alongside the account data contrary to storing account balances in the",
|
||||
" `Balances` pallet, which uses a `StorageMap` to store balances data only.",
|
||||
" NOTE: This is only used in the case that this pallet is used to store balances."
|
||||
]
|
||||
},
|
||||
@@ -826,7 +834,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 442
|
||||
"value": 441
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -844,7 +852,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 446
|
||||
"value": 445
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -856,7 +864,7 @@
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 449
|
||||
"plain": 448
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -901,7 +909,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 450
|
||||
"type": 449
|
||||
},
|
||||
"index": 5
|
||||
},
|
||||
@@ -914,7 +922,7 @@
|
||||
"name": "NextFeeMultiplier",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 451
|
||||
"plain": 450
|
||||
},
|
||||
"fallback": "0x000064a7b3b6e00d0000000000000000",
|
||||
"docs": []
|
||||
@@ -923,7 +931,7 @@
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 452
|
||||
"plain": 451
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": []
|
||||
@@ -971,7 +979,7 @@
|
||||
},
|
||||
{
|
||||
"name": "WeightToFee",
|
||||
"type": 453,
|
||||
"type": 452,
|
||||
"value": "0x040000000000000000000000000000000000b4c4040001",
|
||||
"docs": [
|
||||
" The polynomial that is applied in order to derive fee from weight."
|
||||
@@ -990,7 +998,7 @@
|
||||
"name": "Uncles",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 455
|
||||
"plain": 454
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1038,7 +1046,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 457
|
||||
"type": 456
|
||||
},
|
||||
"index": 6
|
||||
},
|
||||
@@ -1160,7 +1168,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 458
|
||||
"value": 457
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1235,12 +1243,27 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 461
|
||||
"value": 460
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" The map from nominator stash key to the set of stash keys of all validators to nominate."
|
||||
" The map from nominator stash key to their nomination preferences, namely the validators that",
|
||||
" they wish to support.",
|
||||
"",
|
||||
" Note that the keys of this storage map might become non-decodable in case the",
|
||||
" [`Config::MaxNominations`] configuration is decreased. In this rare case, these nominators",
|
||||
" are still existent in storage, their key is correct and retrievable (i.e. `contains_key`",
|
||||
" indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable",
|
||||
" nominators will effectively not-exist, until they re-submit their preferences such that it",
|
||||
" is within the bounds of the newly set `Config::MaxNominations`.",
|
||||
"",
|
||||
" This implies that `::iter_keys().count()` and `::iter().count()` might return different",
|
||||
" values for this map. Moreover, the main `::count()` is aligned with the former, namely the",
|
||||
" number of keys that exist.",
|
||||
"",
|
||||
" Lastly, if any of the nominators become non-decodable, they can be chilled immediately via",
|
||||
" [`Call::chill_other`] dispatchable by anyone."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1698,12 +1721,6 @@
|
||||
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can",
|
||||
" claim their reward. This used to limit the i/o cost for the nominator payout."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MaxNominations",
|
||||
"type": 4,
|
||||
"value": "0x10000000",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
|
||||
@@ -10813,12 +10813,7 @@
|
||||
],
|
||||
"index": 8,
|
||||
"docs": [
|
||||
"Make some on-chain remark and emit event.",
|
||||
"",
|
||||
"# <weight>",
|
||||
"- `O(b)` where b is the length of the remark.",
|
||||
"- 1 event.",
|
||||
"# </weight>"
|
||||
"Make some on-chain remark and emit event."
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -13649,7 +13644,7 @@
|
||||
"",
|
||||
"# <weight>",
|
||||
"- The transaction's complexity is proportional to the size of `targets` (N)",
|
||||
"which is capped at CompactAssignments::LIMIT (MAX_NOMINATIONS).",
|
||||
"which is capped at CompactAssignments::LIMIT (T::MaxNominations).",
|
||||
"- Both the reads and writes follow a similar pattern.",
|
||||
"# </weight>"
|
||||
]
|
||||
@@ -13855,12 +13850,7 @@
|
||||
"docs": [
|
||||
"Set the validators who cannot be slashed (if any).",
|
||||
"",
|
||||
"The dispatch origin must be Root.",
|
||||
"",
|
||||
"# <weight>",
|
||||
"- O(V)",
|
||||
"- Write: Invulnerables",
|
||||
"# </weight>"
|
||||
"The dispatch origin must be Root."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -13883,14 +13873,7 @@
|
||||
"docs": [
|
||||
"Force a current staker to become completely unstaked, immediately.",
|
||||
"",
|
||||
"The dispatch origin must be Root.",
|
||||
"",
|
||||
"# <weight>",
|
||||
"O(S) where S is the number of slashing spans to be removed",
|
||||
"Reads: Bonded, Slashing Spans, Account, Locks",
|
||||
"Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,",
|
||||
"Account, Locks Writes Each: SpanSlash * S",
|
||||
"# </weight>"
|
||||
"The dispatch origin must be Root."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -13906,12 +13889,7 @@
|
||||
"",
|
||||
"The election process starts multiple blocks before the end of the era.",
|
||||
"If this is called just before a new era is triggered, the election process may not",
|
||||
"have enough blocks to get a result.",
|
||||
"",
|
||||
"# <weight>",
|
||||
"- Weight: O(1)",
|
||||
"- Write: ForceEra",
|
||||
"# </weight>"
|
||||
"have enough blocks to get a result."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -13936,15 +13914,7 @@
|
||||
"",
|
||||
"Can be called by the `T::SlashCancelOrigin`.",
|
||||
"",
|
||||
"Parameters: era and indices of the slashes for that era to kill.",
|
||||
"",
|
||||
"# <weight>",
|
||||
"Complexity: O(U + S)",
|
||||
"with U unapplied slashes weighted with U=1000",
|
||||
"and S is the number of slash indices to be canceled.",
|
||||
"- Read: Unapplied Slashes",
|
||||
"- Write: Unapplied Slashes",
|
||||
"# </weight>"
|
||||
"Parameters: era and indices of the slashes for that era to kill."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -14194,6 +14164,11 @@
|
||||
"",
|
||||
"If the caller is different than the controller being targeted, the following conditions",
|
||||
"must be met:",
|
||||
"",
|
||||
"* `controller` must belong to a nominator who has become non-decodable,",
|
||||
"",
|
||||
"Or:",
|
||||
"",
|
||||
"* A `ChillThreshold` must be set and checked which defines how close to the max",
|
||||
" nominators or validators we must reach before users can start chilling one-another.",
|
||||
"* A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine",
|
||||
@@ -21599,6 +21574,30 @@
|
||||
"Queue size must be provided as witness data.",
|
||||
"# </weight>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "governance_fallback",
|
||||
"fields": [
|
||||
{
|
||||
"name": "maybe_max_voters",
|
||||
"type": 194,
|
||||
"typeName": "Option<u32>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "maybe_max_targets",
|
||||
"type": 194,
|
||||
"typeName": "Option<u32>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 4,
|
||||
"docs": [
|
||||
"Trigger the governance fallback.",
|
||||
"",
|
||||
"This can only be called when [`Phase::Emergency`] is enabled, as an alternative to",
|
||||
"calling [`Call::set_emergency_election_result`]."
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -28922,41 +28921,6 @@
|
||||
},
|
||||
{
|
||||
"id": 426,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_scheduler",
|
||||
"Releases"
|
||||
],
|
||||
"params": [],
|
||||
"def": {
|
||||
"variant": {
|
||||
"variants": [
|
||||
{
|
||||
"name": "V1",
|
||||
"fields": [],
|
||||
"index": 0,
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "V2",
|
||||
"fields": [],
|
||||
"index": 1,
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "V3",
|
||||
"fields": [],
|
||||
"index": 2,
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"docs": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 427,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_scheduler",
|
||||
@@ -29013,7 +28977,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 428,
|
||||
"id": 427,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_preimage",
|
||||
@@ -29037,7 +29001,7 @@
|
||||
"fields": [
|
||||
{
|
||||
"name": null,
|
||||
"type": 429,
|
||||
"type": 428,
|
||||
"typeName": "Option<(AccountId, Balance)>",
|
||||
"docs": []
|
||||
}
|
||||
@@ -29065,7 +29029,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 429,
|
||||
"id": 428,
|
||||
"type": {
|
||||
"path": [
|
||||
"Option"
|
||||
@@ -29105,7 +29069,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 430,
|
||||
"id": 429,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
@@ -29139,7 +29103,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 431,
|
||||
"id": 430,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_preimage",
|
||||
@@ -29212,7 +29176,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 432,
|
||||
"id": 431,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
@@ -29223,7 +29187,7 @@
|
||||
"params": [
|
||||
{
|
||||
"name": "T",
|
||||
"type": 433
|
||||
"type": 432
|
||||
},
|
||||
{
|
||||
"name": "S",
|
||||
@@ -29235,7 +29199,7 @@
|
||||
"fields": [
|
||||
{
|
||||
"name": null,
|
||||
"type": 434,
|
||||
"type": 433,
|
||||
"typeName": "Vec<T>",
|
||||
"docs": []
|
||||
}
|
||||
@@ -29246,7 +29210,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 433,
|
||||
"id": 432,
|
||||
"type": {
|
||||
"path": [],
|
||||
"params": [],
|
||||
@@ -29260,20 +29224,20 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 434,
|
||||
"id": 433,
|
||||
"type": {
|
||||
"path": [],
|
||||
"params": [],
|
||||
"def": {
|
||||
"sequence": {
|
||||
"type": 433
|
||||
"type": 432
|
||||
}
|
||||
},
|
||||
"docs": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 435,
|
||||
"id": 434,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
@@ -29296,7 +29260,7 @@
|
||||
"fields": [
|
||||
{
|
||||
"name": null,
|
||||
"type": 436,
|
||||
"type": 435,
|
||||
"typeName": "Vec<T>",
|
||||
"docs": []
|
||||
}
|
||||
@@ -29307,7 +29271,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 436,
|
||||
"id": 435,
|
||||
"type": {
|
||||
"path": [],
|
||||
"params": [],
|
||||
@@ -29320,7 +29284,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 437,
|
||||
"id": 436,
|
||||
"type": {
|
||||
"path": [
|
||||
"Option"
|
||||
@@ -29360,7 +29324,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 438,
|
||||
"id": 437,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_consensus_babe",
|
||||
@@ -29389,7 +29353,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 439,
|
||||
"id": 438,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_babe",
|
||||
@@ -29438,7 +29402,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 440,
|
||||
"id": 439,
|
||||
"type": {
|
||||
"path": [],
|
||||
"params": [],
|
||||
@@ -29453,7 +29417,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 441,
|
||||
"id": 440,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_indices",
|
||||
@@ -29518,7 +29482,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 442,
|
||||
"id": 441,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
@@ -29529,7 +29493,7 @@
|
||||
"params": [
|
||||
{
|
||||
"name": "T",
|
||||
"type": 443
|
||||
"type": 442
|
||||
},
|
||||
{
|
||||
"name": "S",
|
||||
@@ -29541,7 +29505,7 @@
|
||||
"fields": [
|
||||
{
|
||||
"name": null,
|
||||
"type": 445,
|
||||
"type": 444,
|
||||
"typeName": "Vec<T>",
|
||||
"docs": []
|
||||
}
|
||||
@@ -29552,7 +29516,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 443,
|
||||
"id": 442,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_balances",
|
||||
@@ -29581,7 +29545,7 @@
|
||||
},
|
||||
{
|
||||
"name": "reasons",
|
||||
"type": 444,
|
||||
"type": 443,
|
||||
"typeName": "Reasons",
|
||||
"docs": []
|
||||
}
|
||||
@@ -29592,7 +29556,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 444,
|
||||
"id": 443,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_balances",
|
||||
@@ -29627,20 +29591,20 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 445,
|
||||
"id": 444,
|
||||
"type": {
|
||||
"path": [],
|
||||
"params": [],
|
||||
"def": {
|
||||
"sequence": {
|
||||
"type": 443
|
||||
"type": 442
|
||||
}
|
||||
},
|
||||
"docs": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 446,
|
||||
"id": 445,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
@@ -29651,7 +29615,7 @@
|
||||
"params": [
|
||||
{
|
||||
"name": "T",
|
||||
"type": 447
|
||||
"type": 446
|
||||
},
|
||||
{
|
||||
"name": "S",
|
||||
@@ -29663,7 +29627,7 @@
|
||||
"fields": [
|
||||
{
|
||||
"name": null,
|
||||
"type": 448,
|
||||
"type": 447,
|
||||
"typeName": "Vec<T>",
|
||||
"docs": []
|
||||
}
|
||||
@@ -29674,7 +29638,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 447,
|
||||
"id": 446,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_balances",
|
||||
@@ -29712,20 +29676,20 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 448,
|
||||
"id": 447,
|
||||
"type": {
|
||||
"path": [],
|
||||
"params": [],
|
||||
"def": {
|
||||
"sequence": {
|
||||
"type": 447
|
||||
"type": 446
|
||||
}
|
||||
},
|
||||
"docs": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 449,
|
||||
"id": 448,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_balances",
|
||||
@@ -29754,7 +29718,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 450,
|
||||
"id": 449,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_balances",
|
||||
@@ -29847,7 +29811,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 451,
|
||||
"id": 450,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_arithmetic",
|
||||
@@ -29871,7 +29835,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 452,
|
||||
"id": 451,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_transaction_payment",
|
||||
@@ -29900,20 +29864,20 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 453,
|
||||
"id": 452,
|
||||
"type": {
|
||||
"path": [],
|
||||
"params": [],
|
||||
"def": {
|
||||
"sequence": {
|
||||
"type": 454
|
||||
"type": 453
|
||||
}
|
||||
},
|
||||
"docs": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 454,
|
||||
"id": 453,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
@@ -29960,20 +29924,20 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 455,
|
||||
"id": 454,
|
||||
"type": {
|
||||
"path": [],
|
||||
"params": [],
|
||||
"def": {
|
||||
"sequence": {
|
||||
"type": 456
|
||||
"type": 455
|
||||
}
|
||||
},
|
||||
"docs": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 456,
|
||||
"id": 455,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_authorship",
|
||||
@@ -30035,7 +29999,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 457,
|
||||
"id": 456,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_authorship",
|
||||
@@ -30116,7 +30080,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 458,
|
||||
"id": 457,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_staking",
|
||||
@@ -30155,7 +30119,7 @@
|
||||
},
|
||||
{
|
||||
"name": "unlocking",
|
||||
"type": 459,
|
||||
"type": 458,
|
||||
"typeName": "Vec<UnlockChunk<Balance>>",
|
||||
"docs": []
|
||||
},
|
||||
@@ -30172,20 +30136,20 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 459,
|
||||
"id": 458,
|
||||
"type": {
|
||||
"path": [],
|
||||
"params": [],
|
||||
"def": {
|
||||
"sequence": {
|
||||
"type": 460
|
||||
"type": 459
|
||||
}
|
||||
},
|
||||
"docs": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 460,
|
||||
"id": 459,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_staking",
|
||||
@@ -30219,7 +30183,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 461,
|
||||
"id": 460,
|
||||
"type": {
|
||||
"path": [
|
||||
"pallet_staking",
|
||||
@@ -30227,8 +30191,8 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "AccountId",
|
||||
"type": 0
|
||||
"name": "T",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
"def": {
|
||||
@@ -30236,8 +30200,8 @@
|
||||
"fields": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": 54,
|
||||
"typeName": "Vec<AccountId>",
|
||||
"type": 461,
|
||||
"typeName": "BoundedVec<T::AccountId, T::MaxNominations>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -30258,6 +30222,40 @@
|
||||
"docs": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 461,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"storage",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "T",
|
||||
"type": 0
|
||||
},
|
||||
{
|
||||
"name": "S",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
"def": {
|
||||
"composite": {
|
||||
"fields": [
|
||||
{
|
||||
"name": null,
|
||||
"type": 54,
|
||||
"typeName": "Vec<T>",
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"docs": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 462,
|
||||
"type": {
|
||||
@@ -34990,8 +34988,8 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "A",
|
||||
"type": 0
|
||||
"name": "T",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
"def": {
|
||||
@@ -35000,13 +34998,13 @@
|
||||
{
|
||||
"name": "voters",
|
||||
"type": 568,
|
||||
"typeName": "Vec<(A, VoteWeight, Vec<A>)>",
|
||||
"typeName": "Vec<VoterOf<T>>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "targets",
|
||||
"type": 54,
|
||||
"typeName": "Vec<A>",
|
||||
"typeName": "Vec<T::AccountId>",
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
@@ -35037,7 +35035,7 @@
|
||||
"tuple": [
|
||||
0,
|
||||
8,
|
||||
54
|
||||
461
|
||||
]
|
||||
},
|
||||
"docs": []
|
||||
@@ -35298,6 +35296,14 @@
|
||||
"docs": [
|
||||
"The call is not allowed at this point."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "FallbackFailed",
|
||||
"fields": [],
|
||||
"index": 11,
|
||||
"docs": [
|
||||
"The fallback failed"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -38370,7 +38376,7 @@
|
||||
"params": [],
|
||||
"def": {
|
||||
"sequence": {
|
||||
"type": 429
|
||||
"type": 428
|
||||
}
|
||||
},
|
||||
"docs": []
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1063,7 +1063,7 @@
|
||||
"name": "SignedSubmissionIndices",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 349
|
||||
"plain": 350
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1084,7 +1084,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 353
|
||||
"value": 354
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1258,7 +1258,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 354
|
||||
"type": 355
|
||||
},
|
||||
"index": 9
|
||||
},
|
||||
@@ -1380,7 +1380,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 355
|
||||
"value": 356
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1455,12 +1455,27 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 358
|
||||
"value": 359
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" The map from nominator stash key to the set of stash keys of all validators to nominate."
|
||||
" The map from nominator stash key to their nomination preferences, namely the validators that",
|
||||
" they wish to support.",
|
||||
"",
|
||||
" Note that the keys of this storage map might become non-decodable in case the",
|
||||
" [`Config::MaxNominations`] configuration is decreased. In this rare case, these nominators",
|
||||
" are still existent in storage, their key is correct and retrievable (i.e. `contains_key`",
|
||||
" indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable",
|
||||
" nominators will effectively not-exist, until they re-submit their preferences such that it",
|
||||
" is within the bounds of the newly set `Config::MaxNominations`.",
|
||||
"",
|
||||
" This implies that `::iter_keys().count()` and `::iter().count()` might return different",
|
||||
" values for this map. Moreover, the main `::count()` is aligned with the former, namely the",
|
||||
" number of keys that exist.",
|
||||
"",
|
||||
" Lastly, if any of the nominators become non-decodable, they can be chilled immediately via",
|
||||
" [`Call::chill_other`] dispatchable by anyone."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1505,7 +1520,7 @@
|
||||
"name": "ActiveEra",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 359
|
||||
"plain": 360
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1544,7 +1559,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 360,
|
||||
"key": 361,
|
||||
"value": 62
|
||||
}
|
||||
},
|
||||
@@ -1567,7 +1582,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 360,
|
||||
"key": 361,
|
||||
"value": 62
|
||||
}
|
||||
},
|
||||
@@ -1595,7 +1610,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 360,
|
||||
"key": 361,
|
||||
"value": 203
|
||||
}
|
||||
},
|
||||
@@ -1636,7 +1651,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 361
|
||||
"value": 362
|
||||
}
|
||||
},
|
||||
"fallback": "0x0000000000",
|
||||
@@ -1667,7 +1682,7 @@
|
||||
"name": "ForceEra",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 365
|
||||
"plain": 366
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1708,7 +1723,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 366
|
||||
"value": 367
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1739,8 +1754,8 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 360,
|
||||
"value": 368
|
||||
"key": 361,
|
||||
"value": 369
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1758,7 +1773,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 360,
|
||||
"key": 361,
|
||||
"value": 6
|
||||
}
|
||||
},
|
||||
@@ -1776,7 +1791,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 369
|
||||
"value": 370
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1792,8 +1807,8 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 364,
|
||||
"value": 370
|
||||
"key": 365,
|
||||
"value": 371
|
||||
}
|
||||
},
|
||||
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
@@ -1830,7 +1845,7 @@
|
||||
"name": "OffendingValidators",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 371
|
||||
"plain": 372
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1849,7 +1864,7 @@
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 373
|
||||
"plain": 374
|
||||
},
|
||||
"fallback": "0x07",
|
||||
"docs": [
|
||||
@@ -1918,16 +1933,10 @@
|
||||
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can",
|
||||
" claim their reward. This used to limit the i/o cost for the nominator payout."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MaxNominations",
|
||||
"type": 4,
|
||||
"value": "0x10000000",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 374
|
||||
"type": 375
|
||||
},
|
||||
"index": 10
|
||||
},
|
||||
@@ -1974,7 +1983,7 @@
|
||||
"name": "QueuedKeys",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 375
|
||||
"plain": 376
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2022,7 +2031,7 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 377,
|
||||
"key": 378,
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
@@ -2041,7 +2050,7 @@
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 379
|
||||
"type": 380
|
||||
},
|
||||
"index": 11
|
||||
},
|
||||
@@ -2065,7 +2074,7 @@
|
||||
"name": "PublicProps",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 380
|
||||
"plain": 381
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2081,7 +2090,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 382
|
||||
"value": 383
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2100,7 +2109,7 @@
|
||||
"Identity"
|
||||
],
|
||||
"key": 9,
|
||||
"value": 383
|
||||
"value": 384
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2141,7 +2150,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 384
|
||||
"value": 385
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2160,7 +2169,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 387
|
||||
"value": 388
|
||||
}
|
||||
},
|
||||
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
@@ -2207,7 +2216,7 @@
|
||||
"name": "NextExternal",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 392
|
||||
"plain": 393
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2226,7 +2235,7 @@
|
||||
"Identity"
|
||||
],
|
||||
"key": 9,
|
||||
"value": 393
|
||||
"value": 394
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2256,7 +2265,7 @@
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 394
|
||||
"plain": 395
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2376,7 +2385,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 395
|
||||
"type": 396
|
||||
},
|
||||
"index": 12
|
||||
},
|
||||
@@ -2389,7 +2398,7 @@
|
||||
"name": "Proposals",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 396
|
||||
"plain": 397
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2422,7 +2431,7 @@
|
||||
"Identity"
|
||||
],
|
||||
"key": 9,
|
||||
"value": 397
|
||||
"value": 398
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2473,7 +2482,7 @@
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 398
|
||||
"type": 399
|
||||
},
|
||||
"index": 13
|
||||
},
|
||||
@@ -2486,7 +2495,7 @@
|
||||
"name": "Proposals",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 399
|
||||
"plain": 400
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2519,7 +2528,7 @@
|
||||
"Identity"
|
||||
],
|
||||
"key": 9,
|
||||
"value": 397
|
||||
"value": 398
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2570,7 +2579,7 @@
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 400
|
||||
"type": 401
|
||||
},
|
||||
"index": 14
|
||||
},
|
||||
@@ -2583,7 +2592,7 @@
|
||||
"name": "Members",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 401
|
||||
"plain": 402
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2596,7 +2605,7 @@
|
||||
"name": "RunnersUp",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 401
|
||||
"plain": 402
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2642,7 +2651,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 403
|
||||
"value": 404
|
||||
}
|
||||
},
|
||||
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000",
|
||||
@@ -2724,7 +2733,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 404
|
||||
"type": 405
|
||||
},
|
||||
"index": 15
|
||||
},
|
||||
@@ -2765,7 +2774,7 @@
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 405
|
||||
"type": 406
|
||||
},
|
||||
"index": 16
|
||||
},
|
||||
@@ -2778,7 +2787,7 @@
|
||||
"name": "State",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 406
|
||||
"plain": 407
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2789,7 +2798,7 @@
|
||||
"name": "PendingChange",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 407
|
||||
"plain": 408
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2869,7 +2878,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 409
|
||||
"type": 410
|
||||
},
|
||||
"index": 17
|
||||
},
|
||||
@@ -2898,7 +2907,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 410
|
||||
"value": 411
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2910,7 +2919,7 @@
|
||||
"name": "Approvals",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 411
|
||||
"plain": 412
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -2928,7 +2937,7 @@
|
||||
"constants": [
|
||||
{
|
||||
"name": "ProposalBond",
|
||||
"type": 412,
|
||||
"type": 413,
|
||||
"value": "0x50c30000",
|
||||
"docs": [
|
||||
" Fraction of a proposal's value that should be bonded in order to place the proposal.",
|
||||
@@ -2945,7 +2954,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ProposalBondMaximum",
|
||||
"type": 413,
|
||||
"type": 414,
|
||||
"value": "0x00",
|
||||
"docs": [
|
||||
" Maximum amount of funds that should be placed in a deposit for making a proposal."
|
||||
@@ -2961,7 +2970,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Burn",
|
||||
"type": 412,
|
||||
"type": 413,
|
||||
"value": "0x20a10700",
|
||||
"docs": [
|
||||
" Percentage of spare funds (if any) that are burnt per spend period."
|
||||
@@ -2969,7 +2978,7 @@
|
||||
},
|
||||
{
|
||||
"name": "PalletId",
|
||||
"type": 414,
|
||||
"type": 415,
|
||||
"value": "0x70792f7472737279",
|
||||
"docs": [
|
||||
" The treasury's pallet id, used for deriving its sovereign account ID."
|
||||
@@ -2985,7 +2994,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 415
|
||||
"type": 416
|
||||
},
|
||||
"index": 18
|
||||
},
|
||||
@@ -3020,7 +3029,7 @@
|
||||
"Identity"
|
||||
],
|
||||
"key": 9,
|
||||
"value": 416
|
||||
"value": 417
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3037,7 +3046,7 @@
|
||||
"Identity"
|
||||
],
|
||||
"key": 9,
|
||||
"value": 417
|
||||
"value": 418
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3065,7 +3074,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 418
|
||||
"value": 419
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3079,7 +3088,7 @@
|
||||
"name": "DeletionQueue",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 419
|
||||
"plain": 420
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -3100,8 +3109,8 @@
|
||||
"constants": [
|
||||
{
|
||||
"name": "Schedule",
|
||||
"type": 421,
|
||||
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000820f0000b44100007a440000a6360000e4480000ba2c0000f0320000262f000022010000e2ed0200726b0400661c00004e25000002260000582a0000ec3b0000a8340000a00f000099bdd800081b0000f41a0000621b00004e1b0000ac2b0000a22b0000121b0000d8310000a0320000e6320000f032000018330000223300000e3300002c33000082320000ec310000ce310000ec310000a0320000464b00003a3e0000804800007a3f000028320000ec310000f6310000f631000000320000d23200003c3200003c320000769a0800000000000ebc080000000000d4a5080000000000da7d1600000000007c71080000000000b8580800000000004c510800000000007e60080000000000e2451400000000008c420400000000004c4c0800000000007400000000000000d82d310000000000e70000000000000088bf9a27000000007279190000000000860c2c00000000002ced9d07000000003c03000000000000ded9060000000000c6a2b207000000002e010000000000006f00000000000000b86eae07000000006d00000000000000b468aa01000000006500000000000000b615b001000000009c020000000000001ef8b40700000000b0020000000000000cd381080000000084491a13000000002c68a40800000000e200000000000000540100000000000058aa142f00000000e7000000000000005e0100000000000025060000000000005ed60c0000000000e411000000000000547e0f0000000000de0b000000000000da7f0a0000000000c0040000000000003a6b0a0000000000bf040000000000002e8c2d0900000000",
|
||||
"type": 422,
|
||||
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000810b0000c01c000094200000b617000051270000fe0b00005d160000c11b0000320000008e7e02004d27040033180000a30c0000d30e0000120c000043210000bd290000f70d0000ec4bb200080c0000120c0000d60b0000da0c0000860b0000400b0000860b00007f1200007f120000b1120000b1120000c1110000e3120000891200000113000075120000b1120000a3110000cb1100007b1100007f2b0000ab2c0000b72a0000192d0000cb110000df110000431200006b1200004d120000931200007f1200007f1200005c9c0700000000002c4f070000000000865407000000000066e9140000000000fe63070000000000bc5a070000000000ee4b070000000000205b070000000000406c12000000000014c0030000000000f03f0700000000007300000000000000d8341b0000000000c00000000000000068fec72600000000443a18000000000010c52a0000000000f0599f07000000002803000000000000f824060000000000ce9bb1070000000013010000000000006c000000000000008213ae07000000006f00000000000000487aaa01000000006800000000000000a6c2ae0100000000720200000000000066c1b207000000007b0200000000000060797808000000006cd71c13000000008246c50800000000c4000000000000003501000000000000442e142e00000000c4000000000000003401000000000000020600000000000020420c0000000000c011000000000000ae070e0000000000b30b00000000000092af090000000000900400000000000030990900000000009504000000000000b23f320900000000",
|
||||
"docs": [
|
||||
" Cost schedule and limits."
|
||||
]
|
||||
@@ -3109,7 +3118,7 @@
|
||||
{
|
||||
"name": "DeletionQueueDepth",
|
||||
"type": 4,
|
||||
"value": "0x633a0600",
|
||||
"value": "0x82460000",
|
||||
"docs": [
|
||||
" The maximum number of contracts that can be pending for deletion.",
|
||||
"",
|
||||
@@ -3167,7 +3176,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 425
|
||||
"type": 426
|
||||
},
|
||||
"index": 19
|
||||
},
|
||||
@@ -3197,7 +3206,7 @@
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 426
|
||||
"type": 427
|
||||
},
|
||||
"index": 20
|
||||
},
|
||||
@@ -3231,7 +3240,7 @@
|
||||
"name": "Keys",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 427
|
||||
"plain": 428
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -3248,7 +3257,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 73,
|
||||
"value": 429
|
||||
"value": 430
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3266,7 +3275,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 360,
|
||||
"key": 361,
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
@@ -3298,7 +3307,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 434
|
||||
"type": 435
|
||||
},
|
||||
"index": 21
|
||||
},
|
||||
@@ -3311,7 +3320,7 @@
|
||||
"name": "Keys",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 435
|
||||
"plain": 436
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -3322,7 +3331,7 @@
|
||||
"name": "NextKeys",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 435
|
||||
"plain": 436
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -3351,7 +3360,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 9,
|
||||
"value": 437
|
||||
"value": 438
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3368,7 +3377,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 438,
|
||||
"key": 439,
|
||||
"value": 98
|
||||
}
|
||||
},
|
||||
@@ -3458,7 +3467,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 439
|
||||
"value": 440
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3495,7 +3504,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 443
|
||||
"value": 444
|
||||
}
|
||||
},
|
||||
"fallback": "0x0000000000000000000000000000000000",
|
||||
@@ -3511,7 +3520,7 @@
|
||||
"name": "Registrars",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 445
|
||||
"plain": 446
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -3584,7 +3593,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 449
|
||||
"type": 450
|
||||
},
|
||||
"index": 26
|
||||
},
|
||||
@@ -3620,7 +3629,7 @@
|
||||
"name": "Candidates",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 450
|
||||
"plain": 451
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -3636,7 +3645,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 453
|
||||
"value": 454
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3698,7 +3707,7 @@
|
||||
"name": "Bids",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 450
|
||||
"plain": 451
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -3714,7 +3723,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 454
|
||||
"value": 455
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3731,7 +3740,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 455
|
||||
"value": 456
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3765,8 +3774,8 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 457,
|
||||
"value": 458
|
||||
"key": 458,
|
||||
"value": 459
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3794,7 +3803,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 458
|
||||
"value": 459
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3824,7 +3833,7 @@
|
||||
"constants": [
|
||||
{
|
||||
"name": "PalletId",
|
||||
"type": 414,
|
||||
"type": 415,
|
||||
"value": "0x70792f736f636965",
|
||||
"docs": [
|
||||
" The societies's pallet id"
|
||||
@@ -3898,7 +3907,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 459
|
||||
"type": 460
|
||||
},
|
||||
"index": 27
|
||||
},
|
||||
@@ -3916,7 +3925,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 460
|
||||
"value": 461
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -3933,8 +3942,8 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 457,
|
||||
"value": 461
|
||||
"key": 458,
|
||||
"value": 462
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -4020,7 +4029,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 462
|
||||
"type": 463
|
||||
},
|
||||
"index": 28
|
||||
},
|
||||
@@ -4038,7 +4047,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 463
|
||||
"value": 464
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -4050,7 +4059,7 @@
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 465
|
||||
"plain": 466
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -4084,7 +4093,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 466
|
||||
"type": 467
|
||||
},
|
||||
"index": 29
|
||||
},
|
||||
@@ -4102,7 +4111,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 467
|
||||
"value": 468
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -4126,19 +4135,6 @@
|
||||
"docs": [
|
||||
" Lookup from identity to the block number and index of the task."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 470
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" Storage version of the pallet.",
|
||||
"",
|
||||
" New networks start with last version."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -4522,7 +4518,7 @@
|
||||
},
|
||||
{
|
||||
"name": "BountyCuratorDeposit",
|
||||
"type": 412,
|
||||
"type": 413,
|
||||
"value": "0x20a10700",
|
||||
"docs": [
|
||||
" Percentage of the curator fee that will be reserved upfront as deposit for bounty",
|
||||
@@ -4691,7 +4687,7 @@
|
||||
"Blake2_128Concat",
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 360,
|
||||
"key": 361,
|
||||
"value": 495
|
||||
}
|
||||
},
|
||||
@@ -4954,7 +4950,7 @@
|
||||
"constants": [
|
||||
{
|
||||
"name": "PalletId",
|
||||
"type": 414,
|
||||
"type": 415,
|
||||
"value": "0x70792f6c6f74746f",
|
||||
"docs": [
|
||||
" The Lottery's pallet id"
|
||||
@@ -4993,7 +4989,7 @@
|
||||
"name": "QueueTotals",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 455
|
||||
"plain": 456
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -5186,7 +5182,7 @@
|
||||
"Blake2_128Concat",
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 364,
|
||||
"key": 365,
|
||||
"value": 27
|
||||
}
|
||||
},
|
||||
@@ -5709,7 +5705,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ChildBountyCuratorDepositBase",
|
||||
"type": 412,
|
||||
"type": 413,
|
||||
"value": "0xa0860100",
|
||||
"docs": [
|
||||
" Percentage of child-bounty value to be reserved as curator deposit",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "7.6.1",
|
||||
"version": "7.7.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/keyring": "^8.3.3",
|
||||
"@polkadot/types-augment": "7.6.1",
|
||||
"@polkadot/types-codec": "7.6.1",
|
||||
"@polkadot/types-create": "7.6.1",
|
||||
"@polkadot/types-augment": "7.7.1",
|
||||
"@polkadot/types-codec": "7.7.1",
|
||||
"@polkadot/types-create": "7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/util-crypto": "^8.3.3",
|
||||
"rxjs": "^7.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^8.3.3",
|
||||
"@polkadot/types-support": "7.6.1"
|
||||
"@polkadot/types-support": "7.7.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ function injectEvents (registry: TypeRegistry, { lookup, pallets }: MetadataLate
|
||||
|
||||
lazyMethod(result, version >= 12 ? index.toNumber() : i, () =>
|
||||
lazyVariants(lookup, events.unwrap(), getVariantStringIdx, (variant: SiVariant): CodecClass<GenericEventData> => {
|
||||
const meta = (registry as Registry).createType<EventMetadataLatest>('EventMetadataLatest', objectSpread({}, variant, { args: getFieldArgs(lookup, variant.fields) }));
|
||||
const meta = registry.createType<EventMetadataLatest>('EventMetadataLatest', objectSpread({}, variant, { args: getFieldArgs(lookup, variant.fields) }));
|
||||
|
||||
return class extends GenericEventData {
|
||||
constructor (registry: Registry, value: Uint8Array) {
|
||||
@@ -118,7 +118,7 @@ function injectExtrinsics (registry: TypeRegistry, { lookup, pallets }: Metadata
|
||||
|
||||
// extract additional properties from the metadata
|
||||
function extractProperties (registry: TypeRegistry, metadata: Metadata): ChainProperties | undefined {
|
||||
const original = (registry as Registry).getChainProperties();
|
||||
const original = registry.getChainProperties();
|
||||
const constants = decorateConstants(registry, metadata.asLatest, metadata.version);
|
||||
const ss58Format = constants.system && (constants.system.sS58Prefix || constants.system.ss58Prefix);
|
||||
|
||||
@@ -154,7 +154,7 @@ export class TypeRegistry implements Registry {
|
||||
|
||||
#hasher: (data: Uint8Array) => Uint8Array = blake2AsU8a;
|
||||
|
||||
readonly #knownDefaults: RegistryTypes;
|
||||
readonly #knownDefaults: Record<string, CodecClass>;
|
||||
|
||||
readonly #knownDefinitions: Record<string, Definitions>;
|
||||
|
||||
@@ -170,30 +170,15 @@ export class TypeRegistry implements Registry {
|
||||
this.#knownDefaults = objectSpread({ Json, Metadata, PortableRegistry, Raw }, baseTypes);
|
||||
this.#knownDefinitions = definitions;
|
||||
|
||||
this.init();
|
||||
|
||||
if (createdAtHash) {
|
||||
this.createdAtHash = this.createType('Hash', createdAtHash);
|
||||
}
|
||||
}
|
||||
|
||||
public init (): this {
|
||||
// start clean
|
||||
this.#classes = new Map<string, CodecClass>();
|
||||
this.#definitions = new Map<string, string>();
|
||||
this.#unknownTypes = new Map<string, boolean>();
|
||||
this.#knownTypes = {};
|
||||
|
||||
// register know, first classes then on-demand-created definitions
|
||||
this.register(this.#knownDefaults);
|
||||
|
||||
const allKnown = Object.values(this.#knownDefinitions);
|
||||
|
||||
for (let i = 0; i < allKnown.length; i++) {
|
||||
this.register(allKnown[i].types as unknown as RegistryTypes);
|
||||
}
|
||||
|
||||
return this;
|
||||
if (createdAtHash) {
|
||||
this.createdAtHash = this.createType('Hash', createdAtHash);
|
||||
}
|
||||
}
|
||||
|
||||
public get chainDecimals (): number[] {
|
||||
@@ -262,6 +247,10 @@ export class TypeRegistry implements Registry {
|
||||
return this.#signedExtensions;
|
||||
}
|
||||
|
||||
public clearCache (): void {
|
||||
this.#classes = new Map();
|
||||
}
|
||||
|
||||
/**
|
||||
* @describe Creates an instance of the class
|
||||
*/
|
||||
@@ -326,7 +315,7 @@ export class TypeRegistry implements Registry {
|
||||
}
|
||||
|
||||
public getUnsafe <T extends Codec = Codec, K extends string = string> (name: K, withUnknown?: boolean, knownTypeDef?: TypeDef): CodecClass<T> | undefined {
|
||||
let Type = this.#classes.get(name);
|
||||
let Type = this.#classes.get(name) || this.#knownDefaults[name];
|
||||
|
||||
// we have not already created the type, attempt it
|
||||
if (!Type) {
|
||||
@@ -369,6 +358,12 @@ export class TypeRegistry implements Registry {
|
||||
// (previously this used to be a simple find & return)
|
||||
const names: string[] = [];
|
||||
|
||||
for (const [name, Clazz] of Object.entries(this.#knownDefaults)) {
|
||||
if (Type === Clazz) {
|
||||
names.push(name);
|
||||
}
|
||||
}
|
||||
|
||||
for (const [name, Clazz] of this.#classes.entries()) {
|
||||
if (Type === Clazz) {
|
||||
names.push(name);
|
||||
@@ -412,7 +407,7 @@ export class TypeRegistry implements Registry {
|
||||
}
|
||||
|
||||
public hasClass (name: string): boolean {
|
||||
return this.#classes.has(name);
|
||||
return this.#classes.has(name) || !!this.#knownDefaults[name];
|
||||
}
|
||||
|
||||
public hasDef (name: string): boolean {
|
||||
|
||||
@@ -17,6 +17,11 @@ export default {
|
||||
'unsubscribeJustifications'
|
||||
],
|
||||
type: 'BeefySignedCommitment'
|
||||
},
|
||||
getFinalizedHead: {
|
||||
description: 'Returns hash of the latest BEEFY finalized block as seen by this client.',
|
||||
params: [],
|
||||
type: 'H256'
|
||||
}
|
||||
},
|
||||
types: {
|
||||
|
||||
@@ -288,7 +288,7 @@ function registerTypes (lookup: PortableRegistry, lookups: Record<string, string
|
||||
// this extracts aliases based on what we know the runtime config looks like in a
|
||||
// Substrate chain. Specifically we want to have access to the Call and Event params
|
||||
function extractAliases (params: Record<string, SiTypeParameter[]>, isContract?: boolean): Record<number, string> {
|
||||
const hasParams = Object.keys(params).length !== 0;
|
||||
const hasParams = Object.keys(params).some((k) => !k.startsWith('Pallet'));
|
||||
const alias: Record<number, string> = {};
|
||||
|
||||
if (params.SpRuntimeUncheckedExtrinsic) {
|
||||
|
||||
@@ -13,7 +13,10 @@ const l = logger('metadata');
|
||||
/** @internal */
|
||||
export function validateTypes (registry: Registry, throwError: boolean, types: string[]): string[] {
|
||||
const missing = flattenUniq(extractTypes(types))
|
||||
.filter((type) => !registry.hasType(type))
|
||||
.filter((type) =>
|
||||
!registry.hasType(type) &&
|
||||
!registry.isLookupType(type)
|
||||
)
|
||||
.sort();
|
||||
|
||||
if (missing.length !== 0) {
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '7.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '7.7.1' };
|
||||
|
||||
@@ -21,24 +21,16 @@ declare module '@polkadot/types-codec/types/registry' {
|
||||
}
|
||||
|
||||
export interface Registry {
|
||||
// readonly chainDecimals: number[];
|
||||
// readonly chainSS58: number | undefined;
|
||||
// readonly chainTokens: string[];
|
||||
readonly knownTypes: RegisteredTypes;
|
||||
// readonly lookup: PortableRegistry;
|
||||
readonly metadata: MetadataLatest;
|
||||
readonly unknownTypes: string[];
|
||||
readonly signedExtensions: string[];
|
||||
|
||||
// createdAtHash?: Hash;
|
||||
|
||||
findMetaCall (callIndex: Uint8Array): CallFunctionExt;
|
||||
findMetaError (errorIndex: Uint8Array | { error: BN, index: BN }): RegistryError;
|
||||
// due to same circular imports where types don't really want to import from EventData,
|
||||
// keep this as a generic Codec, however the actual impl. returns the correct
|
||||
// findMetaEvent (eventIndex: Uint8Array): CodecClass<any>;
|
||||
|
||||
// isLookupType (value: string): boolean;
|
||||
clearCache (): void
|
||||
|
||||
createLookupType (lookupId: SiLookupTypeId | number): string;
|
||||
|
||||
createClass <T extends Codec = Codec, K extends string = string> (type: K): CodecClass<DetectCodec<T, K>>;
|
||||
@@ -46,25 +38,10 @@ declare module '@polkadot/types-codec/types/registry' {
|
||||
|
||||
get <T extends Codec = Codec, K extends string = string> (name: K, withUnknown?: boolean, knownTypeDef?: TypeDef): CodecClass<DetectCodec<T, K>> | undefined;
|
||||
getChainProperties (): ChainProperties | undefined;
|
||||
// getClassName (clazz: Constructor): string | undefined;
|
||||
getDefinition (typeName: string): string | undefined;
|
||||
getModuleInstances (specName: string, moduleName: string): string[] | undefined;
|
||||
|
||||
// getOrThrow <T extends Codec = Codec, K extends string = string> (name: K, msg?: string): CodecClass<DetectCodec<T, K>>;
|
||||
// getOrUnknown <T extends Codec = Codec, K extends string = string> (name: K): CodecClass<DetectCodec<T, K>>;
|
||||
|
||||
setKnownTypes (types: RegisteredTypes): void;
|
||||
// getSignedExtensionExtra (): Record<string, string>;
|
||||
// getSignedExtensionTypes (): Record<string, string>;
|
||||
|
||||
// hasClass (name: string): boolean;
|
||||
// hasDef (name: string): boolean;
|
||||
// hasType (name: string): boolean;
|
||||
// hash (data: Uint8Array): IU8a;
|
||||
init (): Registry;
|
||||
// register (type: CodecClass | RegistryTypes): void;
|
||||
// register (name: string, type: CodecClass): void;
|
||||
// register (arg1: string | CodecClass | RegistryTypes, arg2?: CodecClass): void;
|
||||
setChainProperties (properties?: ChainProperties): void;
|
||||
setHasher (hasher?: CodecHasher | null): void;
|
||||
setLookup (lookup: PortableRegistry): void;
|
||||
|
||||
Reference in New Issue
Block a user