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
|
# 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
|
## 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.
|
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)
|
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||||
36 Keith Ingram Storage deposit limit changes (#4370)
|
36 Keith Ingram Storage deposit limit changes (#4370)
|
||||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||||
@@ -52,6 +52,7 @@
|
|||||||
1 Dylan Galea Updated users of the polkadot-js/api (#2027)
|
1 Dylan Galea Updated users of the polkadot-js/api (#2027)
|
||||||
1 flex Change BeefySignedCommitment signatures type to EcdsaSignature (#4204)
|
1 flex Change BeefySignedCommitment signatures type to EcdsaSignature (#4204)
|
||||||
1 Furqan A fix: fixed 404 to the docs from the api readme (#3985)
|
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 Gerben van de Wiel Adding some extra notes on changes in the specname (#2329)
|
||||||
1 HackFisher fix OutboundLaneData types (#3992)
|
1 HackFisher fix OutboundLaneData types (#3992)
|
||||||
1 Hoani Bryson Multiple Endpoint support for WsProvider (#2234)
|
1 Hoani Bryson Multiple Endpoint support for WsProvider (#2234)
|
||||||
|
|||||||
+5
-5
@@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
@@ -31,10 +31,10 @@
|
|||||||
"test:watch": "polkadot-dev-run-test --watch"
|
"test:watch": "polkadot-dev-run-test --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.16.12",
|
"@babel/core": "^7.17.0",
|
||||||
"@babel/register": "^7.16.9",
|
"@babel/register": "^7.17.0",
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/dev": "^0.65.46",
|
"@polkadot/dev": "^0.65.50",
|
||||||
"@polkadot/typegen": "workspace:packages/typegen",
|
"@polkadot/typegen": "workspace:packages/typegen",
|
||||||
"@types/jest": "^27.4.0",
|
"@types/jest": "^27.4.0",
|
||||||
"copyfiles": "^2.4.1"
|
"copyfiles": "^2.4.1"
|
||||||
|
|||||||
@@ -20,15 +20,15 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/api-base": "7.6.1",
|
"@polkadot/api-base": "7.7.1",
|
||||||
"@polkadot/rpc-augment": "7.6.1",
|
"@polkadot/rpc-augment": "7.7.1",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/types-augment": "7.6.1",
|
"@polkadot/types-augment": "7.7.1",
|
||||||
"@polkadot/types-codec": "7.6.1",
|
"@polkadot/types-codec": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3"
|
"@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.
|
* Number of eras that staked funds must remain bonded for.
|
||||||
**/
|
**/
|
||||||
bondingDuration: u32 & AugmentedConst<ApiType>;
|
bondingDuration: u32 & AugmentedConst<ApiType>;
|
||||||
maxNominations: u32 & AugmentedConst<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* The maximum number of nominators rewarded for each validator.
|
* 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.
|
* The call is not allowed at this point.
|
||||||
**/
|
**/
|
||||||
CallNotAllowed: AugmentedError<ApiType>;
|
CallNotAllowed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The fallback failed
|
||||||
|
**/
|
||||||
|
FallbackFailed: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* `Self::insert_submission` returned an invalid index.
|
* `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 { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
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';
|
import type { Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
declare module '@polkadot/api-base/types/storage' {
|
declare module '@polkadot/api-base/types/storage' {
|
||||||
@@ -185,8 +185,29 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
};
|
};
|
||||||
balances: {
|
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.
|
* 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]>;
|
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 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]>;
|
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
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1533,7 +1548,22 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
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]>;
|
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>;
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
};
|
};
|
||||||
electionProviderMultiPhase: {
|
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
|
* Set a solution in the queue, to be handed out to the client of this pallet in the next
|
||||||
* call to `ElectionProvider::elect`.
|
* call to `ElectionProvider::elect`.
|
||||||
@@ -3149,14 +3156,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Can be called by the `T::SlashCancelOrigin`.
|
* Can be called by the `T::SlashCancelOrigin`.
|
||||||
*
|
*
|
||||||
* Parameters: era and indices of the slashes for that era to kill.
|
* 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>]>;
|
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
|
* If the caller is different than the controller being targeted, the following conditions
|
||||||
* must be met:
|
* 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
|
* * 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.
|
* 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
|
* * 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.
|
* 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
|
* If this is called just before a new era is triggered, the election process may not
|
||||||
* have enough blocks to get a result.
|
* have enough blocks to get a result.
|
||||||
*
|
|
||||||
* # <weight>
|
|
||||||
* - Weight: O(1)
|
|
||||||
* - Write: ForceEra
|
|
||||||
* # </weight>
|
|
||||||
**/
|
**/
|
||||||
forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||||
/**
|
/**
|
||||||
@@ -3255,13 +3254,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Force a current staker to become completely unstaked, immediately.
|
* Force a current staker to become completely unstaked, immediately.
|
||||||
*
|
*
|
||||||
* The dispatch origin must be Root.
|
* 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]>;
|
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>
|
* # <weight>
|
||||||
* - The transaction's complexity is proportional to the size of `targets` (N)
|
* - 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.
|
* - Both the reads and writes follow a similar pattern.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
@@ -3411,11 +3403,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Set the validators who cannot be slashed (if any).
|
* Set the validators who cannot be slashed (if any).
|
||||||
*
|
*
|
||||||
* The dispatch origin must be Root.
|
* The dispatch origin must be Root.
|
||||||
*
|
|
||||||
* # <weight>
|
|
||||||
* - O(V)
|
|
||||||
* - Write: Invulnerables
|
|
||||||
* # </weight>
|
|
||||||
**/
|
**/
|
||||||
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
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]>;
|
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||||
/**
|
/**
|
||||||
* Make some on-chain remark and emit event.
|
* 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]>;
|
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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.
|
* Number of eras that staked funds must remain bonded for.
|
||||||
**/
|
**/
|
||||||
bondingDuration: u32 & AugmentedConst<ApiType>;
|
bondingDuration: u32 & AugmentedConst<ApiType>;
|
||||||
maxNominations: u32 & AugmentedConst<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* The maximum number of nominators rewarded for each validator.
|
* 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.
|
* The call is not allowed at this point.
|
||||||
**/
|
**/
|
||||||
CallNotAllowed: AugmentedError<ApiType>;
|
CallNotAllowed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The fallback failed
|
||||||
|
**/
|
||||||
|
FallbackFailed: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* `Self::insert_submission` returned an invalid index.
|
* `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 { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
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';
|
import type { Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
declare module '@polkadot/api-base/types/storage' {
|
declare module '@polkadot/api-base/types/storage' {
|
||||||
@@ -185,8 +185,29 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
};
|
};
|
||||||
balances: {
|
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.
|
* 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]>;
|
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 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]>;
|
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
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1378,7 +1393,22 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
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]>;
|
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>;
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
};
|
};
|
||||||
electionProviderMultiPhase: {
|
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
|
* Set a solution in the queue, to be handed out to the client of this pallet in the next
|
||||||
* call to `ElectionProvider::elect`.
|
* call to `ElectionProvider::elect`.
|
||||||
@@ -2560,14 +2567,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Can be called by the `T::SlashCancelOrigin`.
|
* Can be called by the `T::SlashCancelOrigin`.
|
||||||
*
|
*
|
||||||
* Parameters: era and indices of the slashes for that era to kill.
|
* 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>]>;
|
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
|
* If the caller is different than the controller being targeted, the following conditions
|
||||||
* must be met:
|
* 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
|
* * 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.
|
* 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
|
* * 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.
|
* 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
|
* If this is called just before a new era is triggered, the election process may not
|
||||||
* have enough blocks to get a result.
|
* have enough blocks to get a result.
|
||||||
*
|
|
||||||
* # <weight>
|
|
||||||
* - Weight: O(1)
|
|
||||||
* - Write: ForceEra
|
|
||||||
* # </weight>
|
|
||||||
**/
|
**/
|
||||||
forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||||
/**
|
/**
|
||||||
@@ -2666,13 +2665,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Force a current staker to become completely unstaked, immediately.
|
* Force a current staker to become completely unstaked, immediately.
|
||||||
*
|
*
|
||||||
* The dispatch origin must be Root.
|
* 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]>;
|
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>
|
* # <weight>
|
||||||
* - The transaction's complexity is proportional to the size of `targets` (N)
|
* - 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.
|
* - Both the reads and writes follow a similar pattern.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
@@ -2822,11 +2814,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Set the validators who cannot be slashed (if any).
|
* Set the validators who cannot be slashed (if any).
|
||||||
*
|
*
|
||||||
* The dispatch origin must be Root.
|
* The dispatch origin must be Root.
|
||||||
*
|
|
||||||
* # <weight>
|
|
||||||
* - O(V)
|
|
||||||
* - Write: Invulnerables
|
|
||||||
* # </weight>
|
|
||||||
**/
|
**/
|
||||||
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
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]>;
|
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||||
/**
|
/**
|
||||||
* Make some on-chain remark and emit event.
|
* 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]>;
|
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.
|
* Number of eras that staked funds must remain bonded for.
|
||||||
**/
|
**/
|
||||||
bondingDuration: u32 & AugmentedConst<ApiType>;
|
bondingDuration: u32 & AugmentedConst<ApiType>;
|
||||||
maxNominations: u32 & AugmentedConst<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* The maximum number of nominators rewarded for each validator.
|
* 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.
|
* The call is not allowed at this point.
|
||||||
**/
|
**/
|
||||||
CallNotAllowed: AugmentedError<ApiType>;
|
CallNotAllowed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The fallback failed
|
||||||
|
**/
|
||||||
|
FallbackFailed: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* `Self::insert_submission` returned an invalid index.
|
* `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 { 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 { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
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';
|
import type { Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
declare module '@polkadot/api-base/types/storage' {
|
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 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]>;
|
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
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1136,7 +1130,22 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
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]>;
|
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>;
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
};
|
};
|
||||||
electionProviderMultiPhase: {
|
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
|
* Set a solution in the queue, to be handed out to the client of this pallet in the next
|
||||||
* call to `ElectionProvider::elect`.
|
* call to `ElectionProvider::elect`.
|
||||||
@@ -3203,14 +3210,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Can be called by the `T::SlashCancelOrigin`.
|
* Can be called by the `T::SlashCancelOrigin`.
|
||||||
*
|
*
|
||||||
* Parameters: era and indices of the slashes for that era to kill.
|
* 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>]>;
|
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
|
* If the caller is different than the controller being targeted, the following conditions
|
||||||
* must be met:
|
* 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
|
* * 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.
|
* 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
|
* * 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.
|
* 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
|
* If this is called just before a new era is triggered, the election process may not
|
||||||
* have enough blocks to get a result.
|
* have enough blocks to get a result.
|
||||||
*
|
|
||||||
* # <weight>
|
|
||||||
* - Weight: O(1)
|
|
||||||
* - Write: ForceEra
|
|
||||||
* # </weight>
|
|
||||||
**/
|
**/
|
||||||
forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||||
/**
|
/**
|
||||||
@@ -3309,13 +3308,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Force a current staker to become completely unstaked, immediately.
|
* Force a current staker to become completely unstaked, immediately.
|
||||||
*
|
*
|
||||||
* The dispatch origin must be Root.
|
* 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]>;
|
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>
|
* # <weight>
|
||||||
* - The transaction's complexity is proportional to the size of `targets` (N)
|
* - 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.
|
* - Both the reads and writes follow a similar pattern.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
@@ -3465,11 +3457,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Set the validators who cannot be slashed (if any).
|
* Set the validators who cannot be slashed (if any).
|
||||||
*
|
*
|
||||||
* The dispatch origin must be Root.
|
* The dispatch origin must be Root.
|
||||||
*
|
|
||||||
* # <weight>
|
|
||||||
* - O(V)
|
|
||||||
* - Write: Invulnerables
|
|
||||||
* # </weight>
|
|
||||||
**/
|
**/
|
||||||
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
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]>;
|
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||||
/**
|
/**
|
||||||
* Make some on-chain remark and emit event.
|
* 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]>;
|
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -20,12 +20,12 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/rpc-core": "7.6.1",
|
"@polkadot/rpc-core": "7.7.1",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3",
|
"@polkadot/util": "^8.3.3",
|
||||||
"rxjs": "^7.5.2"
|
"rxjs": "^7.5.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/api": "7.6.1",
|
"@polkadot/api": "7.7.1",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/types-codec": "7.6.1",
|
"@polkadot/types-codec": "7.7.1",
|
||||||
"@polkadot/types-create": "7.6.1",
|
"@polkadot/types-create": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3",
|
"@polkadot/util": "^8.3.3",
|
||||||
"@polkadot/util-crypto": "^8.3.3",
|
"@polkadot/util-crypto": "^8.3.3",
|
||||||
"rxjs": "^7.5.2"
|
"rxjs": "^7.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "7.6.1",
|
"@polkadot/api-augment": "7.7.1",
|
||||||
"@polkadot/keyring": "^8.3.3"
|
"@polkadot/keyring": "^8.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/api": "7.6.1",
|
"@polkadot/api": "7.7.1",
|
||||||
"@polkadot/api-augment": "7.6.1",
|
"@polkadot/api-augment": "7.7.1",
|
||||||
"@polkadot/api-base": "7.6.1",
|
"@polkadot/api-base": "7.7.1",
|
||||||
"@polkadot/rpc-core": "7.6.1",
|
"@polkadot/rpc-core": "7.7.1",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/types-codec": "7.6.1",
|
"@polkadot/types-codec": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3",
|
"@polkadot/util": "^8.3.3",
|
||||||
"@polkadot/util-crypto": "^8.3.3",
|
"@polkadot/util-crypto": "^8.3.3",
|
||||||
"rxjs": "^7.5.2"
|
"rxjs": "^7.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "7.6.1",
|
"@polkadot/api": "7.7.1",
|
||||||
"@polkadot/api-augment": "7.6.1",
|
"@polkadot/api-augment": "7.7.1",
|
||||||
"@polkadot/rpc-augment": "7.6.1",
|
"@polkadot/rpc-augment": "7.7.1",
|
||||||
"@polkadot/rpc-provider": "7.6.1",
|
"@polkadot/rpc-provider": "7.7.1",
|
||||||
"@polkadot/types-support": "7.6.1"
|
"@polkadot/types-support": "7.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/api-augment": "7.6.1",
|
"@polkadot/api-augment": "7.7.1",
|
||||||
"@polkadot/api-base": "7.6.1",
|
"@polkadot/api-base": "7.7.1",
|
||||||
"@polkadot/api-derive": "7.6.1",
|
"@polkadot/api-derive": "7.7.1",
|
||||||
"@polkadot/keyring": "^8.3.3",
|
"@polkadot/keyring": "^8.3.3",
|
||||||
"@polkadot/rpc-augment": "7.6.1",
|
"@polkadot/rpc-augment": "7.7.1",
|
||||||
"@polkadot/rpc-core": "7.6.1",
|
"@polkadot/rpc-core": "7.7.1",
|
||||||
"@polkadot/rpc-provider": "7.6.1",
|
"@polkadot/rpc-provider": "7.7.1",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/types-augment": "7.6.1",
|
"@polkadot/types-augment": "7.7.1",
|
||||||
"@polkadot/types-codec": "7.6.1",
|
"@polkadot/types-codec": "7.7.1",
|
||||||
"@polkadot/types-create": "7.6.1",
|
"@polkadot/types-create": "7.7.1",
|
||||||
"@polkadot/types-known": "7.6.1",
|
"@polkadot/types-known": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3",
|
"@polkadot/util": "^8.3.3",
|
||||||
"@polkadot/util-crypto": "^8.3.3",
|
"@polkadot/util-crypto": "^8.3.3",
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
"rxjs": "^7.5.2"
|
"rxjs": "^7.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "7.6.1",
|
"@polkadot/api-augment": "7.7.1",
|
||||||
"@polkadot/types-support": "7.6.1"
|
"@polkadot/types-support": "7.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -213,7 +213,7 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
} as ApiDecoration<ApiType>;
|
} as ApiDecoration<ApiType>;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!registry.decoratedMeta) {
|
if (fromEmpty || !registry.decoratedMeta) {
|
||||||
registry.decoratedMeta = expandMetadata(registry.registry, registry.metadata);
|
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
|
* @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 {
|
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.setChainProperties(chainProps || this.registry.getChainProperties());
|
||||||
registry.setKnownTypes(this._options);
|
registry.setKnownTypes(this._options);
|
||||||
registry.register(getSpecTypes(registry, chain, version.specName, version.specVersion));
|
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.metadata = metadata;
|
||||||
thisRegistry.specVersion = version.specVersion;
|
thisRegistry.specVersion = version.specVersion;
|
||||||
|
|
||||||
// clear the registry types to ensure that we override correctly
|
this._initRegistry(this.registry, this._runtimeChain as Text, version, metadata);
|
||||||
this._initRegistry(thisRegistry.registry.init(), this._runtimeChain as Text, version, metadata);
|
this._injectMetadata(thisRegistry, true);
|
||||||
this._injectMetadata(thisRegistry, false);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/rpc-core": "7.6.1",
|
"@polkadot/rpc-core": "7.7.1",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/types-codec": "7.6.1",
|
"@polkadot/types-codec": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3"
|
"@polkadot/util": "^8.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,6 +68,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
|
|||||||
epochAuthorship: AugmentedRpc<() => Observable<HashMap<AuthorityId, EpochAuthorship>>>;
|
epochAuthorship: AugmentedRpc<() => Observable<HashMap<AuthorityId, EpochAuthorship>>>;
|
||||||
};
|
};
|
||||||
beefy: {
|
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.
|
* Returns the block most recently finalized by BEEFY, alongside side its justification.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/rpc-augment": "7.6.1",
|
"@polkadot/rpc-augment": "7.7.1",
|
||||||
"@polkadot/rpc-provider": "7.6.1",
|
"@polkadot/rpc-provider": "7.7.1",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3",
|
"@polkadot/util": "^8.3.3",
|
||||||
"rxjs": "^7.5.2"
|
"rxjs": "^7.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^8.3.3",
|
"@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
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/keyring": "^8.3.3",
|
"@polkadot/keyring": "^8.3.3",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/types-support": "7.6.1",
|
"@polkadot/types-support": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3",
|
"@polkadot/util": "^8.3.3",
|
||||||
"@polkadot/util-crypto": "^8.3.3",
|
"@polkadot/util-crypto": "^8.3.3",
|
||||||
"@polkadot/x-fetch": "^8.3.3",
|
"@polkadot/x-fetch": "^8.3.3",
|
||||||
@@ -34,6 +34,6 @@
|
|||||||
"@polkadot/x-ws": "^8.3.3",
|
"@polkadot/x-ws": "^8.3.3",
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
"mock-socket": "^9.1.2",
|
"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.#refs.delete(this.#tail.key);
|
||||||
|
|
||||||
this.#tail = this.#tail.prev;
|
this.#tail = this.#tail.prev;
|
||||||
|
this.#tail.next = this.#head;
|
||||||
} else {
|
} else {
|
||||||
this.#length += 1;
|
this.#length += 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
||||||
@@ -30,18 +30,18 @@
|
|||||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.cjs"
|
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.cjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.16.12",
|
"@babel/core": "^7.17.0",
|
||||||
"@babel/register": "^7.16.9",
|
"@babel/register": "^7.17.0",
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/api": "7.6.1",
|
"@polkadot/api": "7.7.1",
|
||||||
"@polkadot/api-augment": "7.6.1",
|
"@polkadot/api-augment": "7.7.1",
|
||||||
"@polkadot/rpc-augment": "7.6.1",
|
"@polkadot/rpc-augment": "7.7.1",
|
||||||
"@polkadot/rpc-provider": "7.6.1",
|
"@polkadot/rpc-provider": "7.7.1",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/types-augment": "7.6.1",
|
"@polkadot/types-augment": "7.7.1",
|
||||||
"@polkadot/types-codec": "7.6.1",
|
"@polkadot/types-codec": "7.7.1",
|
||||||
"@polkadot/types-create": "7.6.1",
|
"@polkadot/types-create": "7.7.1",
|
||||||
"@polkadot/types-support": "7.6.1",
|
"@polkadot/types-support": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3",
|
"@polkadot/util": "^8.3.3",
|
||||||
"@polkadot/x-ws": "^8.3.3",
|
"@polkadot/x-ws": "^8.3.3",
|
||||||
"handlebars": "^4.7.7",
|
"handlebars": "^4.7.7",
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/types-codec": "7.6.1",
|
"@polkadot/types-codec": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3"
|
"@polkadot/util": "^8.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export default {
|
|||||||
_enum: ['Valid', 'Invalid']
|
_enum: ['Valid', 'Invalid']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup246: kusama_runtime::SessionKeys
|
* Lookup247: kusama_runtime::SessionKeys
|
||||||
**/
|
**/
|
||||||
KusamaRuntimeSessionKeys: {
|
KusamaRuntimeSessionKeys: {
|
||||||
grandpa: 'SpFinalityGrandpaAppPublic',
|
grandpa: 'SpFinalityGrandpaAppPublic',
|
||||||
@@ -45,7 +45,7 @@ export default {
|
|||||||
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
|
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup319: kusama_runtime::OriginCaller
|
* Lookup320: kusama_runtime::OriginCaller
|
||||||
**/
|
**/
|
||||||
KusamaRuntimeOriginCaller: {
|
KusamaRuntimeOriginCaller: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -152,7 +152,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup384: kusama_runtime::NposCompactSolution24
|
* Lookup385: kusama_runtime::NposCompactSolution24
|
||||||
**/
|
**/
|
||||||
KusamaRuntimeNposCompactSolution24: {
|
KusamaRuntimeNposCompactSolution24: {
|
||||||
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
|
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
|
||||||
@@ -181,7 +181,7 @@ export default {
|
|||||||
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
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: {
|
PolkadotRuntimeParachainsDisputesPalletCall: {
|
||||||
_enum: ['force_unfreeze']
|
_enum: ['force_unfreeze']
|
||||||
|
|||||||
@@ -1556,7 +1556,11 @@ export default {
|
|||||||
},
|
},
|
||||||
submit: {
|
submit: {
|
||||||
rawSolution: 'PalletElectionProviderMultiPhaseRawSolution',
|
rawSolution: 'PalletElectionProviderMultiPhaseRawSolution',
|
||||||
numSignedSubmissions: 'u32'
|
numSignedSubmissions: 'u32',
|
||||||
|
},
|
||||||
|
governance_fallback: {
|
||||||
|
maybeMaxVoters: 'Option<u32>',
|
||||||
|
maybeMaxTargets: 'Option<u32>'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3120,14 +3124,14 @@ export default {
|
|||||||
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
|
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup346: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32>
|
* Lookup346: pallet_election_provider_multi_phase::RoundSnapshot<T>
|
||||||
**/
|
**/
|
||||||
PalletElectionProviderMultiPhaseRoundSnapshot: {
|
PalletElectionProviderMultiPhaseRoundSnapshot: {
|
||||||
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
|
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
|
||||||
targets: '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: {
|
PalletElectionProviderMultiPhaseSignedSignedSubmission: {
|
||||||
who: 'AccountId32',
|
who: 'AccountId32',
|
||||||
@@ -3136,13 +3140,13 @@ export default {
|
|||||||
reward: 'u128'
|
reward: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup354: pallet_election_provider_multi_phase::pallet::Error<T>
|
* Lookup355: pallet_election_provider_multi_phase::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletElectionProviderMultiPhaseError: {
|
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: {
|
PalletStakingStakingLedger: {
|
||||||
stash: 'AccountId32',
|
stash: 'AccountId32',
|
||||||
@@ -3152,14 +3156,14 @@ export default {
|
|||||||
claimedRewards: 'Vec<u32>'
|
claimedRewards: 'Vec<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup357: pallet_staking::UnlockChunk<Balance>
|
* Lookup358: pallet_staking::UnlockChunk<Balance>
|
||||||
**/
|
**/
|
||||||
PalletStakingUnlockChunk: {
|
PalletStakingUnlockChunk: {
|
||||||
value: 'Compact<u128>',
|
value: 'Compact<u128>',
|
||||||
era: 'Compact<u32>'
|
era: 'Compact<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup358: pallet_staking::Nominations<sp_core::crypto::AccountId32>
|
* Lookup359: pallet_staking::Nominations<T>
|
||||||
**/
|
**/
|
||||||
PalletStakingNominations: {
|
PalletStakingNominations: {
|
||||||
targets: 'Vec<AccountId32>',
|
targets: 'Vec<AccountId32>',
|
||||||
@@ -3167,27 +3171,27 @@ export default {
|
|||||||
suppressed: 'bool'
|
suppressed: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup359: pallet_staking::ActiveEraInfo
|
* Lookup360: pallet_staking::ActiveEraInfo
|
||||||
**/
|
**/
|
||||||
PalletStakingActiveEraInfo: {
|
PalletStakingActiveEraInfo: {
|
||||||
index: 'u32',
|
index: 'u32',
|
||||||
start: 'Option<u64>'
|
start: 'Option<u64>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup361: pallet_staking::EraRewardPoints<sp_core::crypto::AccountId32>
|
* Lookup362: pallet_staking::EraRewardPoints<sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletStakingEraRewardPoints: {
|
PalletStakingEraRewardPoints: {
|
||||||
total: 'u32',
|
total: 'u32',
|
||||||
individual: 'BTreeMap<AccountId32, u32>'
|
individual: 'BTreeMap<AccountId32, u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup365: pallet_staking::Forcing
|
* Lookup366: pallet_staking::Forcing
|
||||||
**/
|
**/
|
||||||
PalletStakingForcing: {
|
PalletStakingForcing: {
|
||||||
_enum: ['NotForcing', 'ForceNew', 'ForceNone', 'ForceAlways']
|
_enum: ['NotForcing', 'ForceNew', 'ForceNone', 'ForceAlways']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup367: pallet_staking::UnappliedSlash<sp_core::crypto::AccountId32, Balance>
|
* Lookup368: pallet_staking::UnappliedSlash<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PalletStakingUnappliedSlash: {
|
PalletStakingUnappliedSlash: {
|
||||||
validator: 'AccountId32',
|
validator: 'AccountId32',
|
||||||
@@ -3197,7 +3201,7 @@ export default {
|
|||||||
payout: 'u128'
|
payout: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup369: pallet_staking::slashing::SlashingSpans
|
* Lookup370: pallet_staking::slashing::SlashingSpans
|
||||||
**/
|
**/
|
||||||
PalletStakingSlashingSlashingSpans: {
|
PalletStakingSlashingSlashingSpans: {
|
||||||
spanIndex: 'u32',
|
spanIndex: 'u32',
|
||||||
@@ -3206,36 +3210,36 @@ export default {
|
|||||||
prior: 'Vec<u32>'
|
prior: 'Vec<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup370: pallet_staking::slashing::SpanRecord<Balance>
|
* Lookup371: pallet_staking::slashing::SpanRecord<Balance>
|
||||||
**/
|
**/
|
||||||
PalletStakingSlashingSpanRecord: {
|
PalletStakingSlashingSpanRecord: {
|
||||||
slashed: 'u128',
|
slashed: 'u128',
|
||||||
paidOut: 'u128'
|
paidOut: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup373: pallet_staking::Releases
|
* Lookup374: pallet_staking::Releases
|
||||||
**/
|
**/
|
||||||
PalletStakingReleases: {
|
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']
|
_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: {
|
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']
|
_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]',
|
SpCoreCryptoKeyTypeId: '[u8;4]',
|
||||||
/**
|
/**
|
||||||
* Lookup379: pallet_session::pallet::Error<T>
|
* Lookup380: pallet_session::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletSessionError: {
|
PalletSessionError: {
|
||||||
_enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']
|
_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: {
|
PalletDemocracyPreimageStatus: {
|
||||||
_enum: {
|
_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: {
|
PalletDemocracyReferendumInfo: {
|
||||||
_enum: {
|
_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: {
|
PalletDemocracyReferendumStatus: {
|
||||||
end: 'u32',
|
end: 'u32',
|
||||||
@@ -3272,7 +3276,7 @@ export default {
|
|||||||
tally: 'PalletDemocracyTally'
|
tally: 'PalletDemocracyTally'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup386: pallet_democracy::types::Tally<Balance>
|
* Lookup387: pallet_democracy::types::Tally<Balance>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyTally: {
|
PalletDemocracyTally: {
|
||||||
ayes: 'u128',
|
ayes: 'u128',
|
||||||
@@ -3280,7 +3284,7 @@ export default {
|
|||||||
turnout: 'u128'
|
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: {
|
PalletDemocracyVoteVoting: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3299,30 +3303,30 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup390: pallet_democracy::types::Delegations<Balance>
|
* Lookup391: pallet_democracy::types::Delegations<Balance>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyDelegations: {
|
PalletDemocracyDelegations: {
|
||||||
votes: 'u128',
|
votes: 'u128',
|
||||||
capital: 'u128'
|
capital: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup391: pallet_democracy::vote::PriorLock<BlockNumber, Balance>
|
* Lookup392: pallet_democracy::vote::PriorLock<BlockNumber, Balance>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyVotePriorLock: '(u32,u128)',
|
PalletDemocracyVotePriorLock: '(u32,u128)',
|
||||||
/**
|
/**
|
||||||
* Lookup394: pallet_democracy::Releases
|
* Lookup395: pallet_democracy::Releases
|
||||||
**/
|
**/
|
||||||
PalletDemocracyReleases: {
|
PalletDemocracyReleases: {
|
||||||
_enum: ['V1']
|
_enum: ['V1']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup395: pallet_democracy::pallet::Error<T>
|
* Lookup396: pallet_democracy::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyError: {
|
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']
|
_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: {
|
PalletCollectiveVotes: {
|
||||||
index: 'u32',
|
index: 'u32',
|
||||||
@@ -3332,13 +3336,13 @@ export default {
|
|||||||
end: 'u32'
|
end: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup398: pallet_collective::pallet::Error<T, I>
|
* Lookup399: pallet_collective::pallet::Error<T, I>
|
||||||
**/
|
**/
|
||||||
PalletCollectiveError: {
|
PalletCollectiveError: {
|
||||||
_enum: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength']
|
_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: {
|
PalletElectionsPhragmenSeatHolder: {
|
||||||
who: 'AccountId32',
|
who: 'AccountId32',
|
||||||
@@ -3346,7 +3350,7 @@ export default {
|
|||||||
deposit: 'u128'
|
deposit: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup403: pallet_elections_phragmen::Voter<sp_core::crypto::AccountId32, Balance>
|
* Lookup404: pallet_elections_phragmen::Voter<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PalletElectionsPhragmenVoter: {
|
PalletElectionsPhragmenVoter: {
|
||||||
votes: 'Vec<AccountId32>',
|
votes: 'Vec<AccountId32>',
|
||||||
@@ -3354,19 +3358,19 @@ export default {
|
|||||||
deposit: 'u128'
|
deposit: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup404: pallet_elections_phragmen::pallet::Error<T>
|
* Lookup405: pallet_elections_phragmen::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletElectionsPhragmenError: {
|
PalletElectionsPhragmenError: {
|
||||||
_enum: ['UnableToVote', 'NoVotes', 'TooManyVotes', 'MaximumVotesExceeded', 'LowBalance', 'UnableToPayBond', 'MustBeVoter', 'ReportSelf', 'DuplicatedCandidate', 'MemberSubmit', 'RunnerUpSubmit', 'InsufficientCandidateFunds', 'NotMember', 'InvalidWitnessData', 'InvalidVoteCount', 'InvalidRenouncing', 'InvalidReplacement']
|
_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: {
|
PalletMembershipError: {
|
||||||
_enum: ['AlreadyMember', 'NotMember']
|
_enum: ['AlreadyMember', 'NotMember']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup406: pallet_grandpa::StoredState<N>
|
* Lookup407: pallet_grandpa::StoredState<N>
|
||||||
**/
|
**/
|
||||||
PalletGrandpaStoredState: {
|
PalletGrandpaStoredState: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3383,7 +3387,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup407: pallet_grandpa::StoredPendingChange<N, Limit>
|
* Lookup408: pallet_grandpa::StoredPendingChange<N, Limit>
|
||||||
**/
|
**/
|
||||||
PalletGrandpaStoredPendingChange: {
|
PalletGrandpaStoredPendingChange: {
|
||||||
scheduledAt: 'u32',
|
scheduledAt: 'u32',
|
||||||
@@ -3392,13 +3396,13 @@ export default {
|
|||||||
forced: 'Option<u32>'
|
forced: 'Option<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup409: pallet_grandpa::pallet::Error<T>
|
* Lookup410: pallet_grandpa::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletGrandpaError: {
|
PalletGrandpaError: {
|
||||||
_enum: ['PauseFailed', 'ResumeFailed', 'ChangePending', 'TooSoon', 'InvalidKeyOwnershipProof', 'InvalidEquivocationProof', 'DuplicateOffenceReport']
|
_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: {
|
PalletTreasuryProposal: {
|
||||||
proposer: 'AccountId32',
|
proposer: 'AccountId32',
|
||||||
@@ -3407,17 +3411,17 @@ export default {
|
|||||||
bond: 'u128'
|
bond: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup414: frame_support::PalletId
|
* Lookup415: frame_support::PalletId
|
||||||
**/
|
**/
|
||||||
FrameSupportPalletId: '[u8;8]',
|
FrameSupportPalletId: '[u8;8]',
|
||||||
/**
|
/**
|
||||||
* Lookup415: pallet_treasury::pallet::Error<T, I>
|
* Lookup416: pallet_treasury::pallet::Error<T, I>
|
||||||
**/
|
**/
|
||||||
PalletTreasuryError: {
|
PalletTreasuryError: {
|
||||||
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']
|
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup416: pallet_contracts::wasm::PrefabWasmModule<T>
|
* Lookup417: pallet_contracts::wasm::PrefabWasmModule<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsWasmPrefabWasmModule: {
|
PalletContractsWasmPrefabWasmModule: {
|
||||||
instructionWeightsVersion: 'Compact<u32>',
|
instructionWeightsVersion: 'Compact<u32>',
|
||||||
@@ -3426,7 +3430,7 @@ export default {
|
|||||||
code: 'Bytes'
|
code: 'Bytes'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup417: pallet_contracts::wasm::OwnerInfo<T>
|
* Lookup418: pallet_contracts::wasm::OwnerInfo<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsWasmOwnerInfo: {
|
PalletContractsWasmOwnerInfo: {
|
||||||
owner: 'AccountId32',
|
owner: 'AccountId32',
|
||||||
@@ -3434,7 +3438,7 @@ export default {
|
|||||||
refcount: 'Compact<u64>'
|
refcount: 'Compact<u64>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup418: pallet_contracts::storage::RawContractInfo<primitive_types::H256, Balance>
|
* Lookup419: pallet_contracts::storage::RawContractInfo<primitive_types::H256, Balance>
|
||||||
**/
|
**/
|
||||||
PalletContractsStorageRawContractInfo: {
|
PalletContractsStorageRawContractInfo: {
|
||||||
trieId: 'Bytes',
|
trieId: 'Bytes',
|
||||||
@@ -3442,13 +3446,13 @@ export default {
|
|||||||
storageDeposit: 'u128'
|
storageDeposit: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup420: pallet_contracts::storage::DeletedContract
|
* Lookup421: pallet_contracts::storage::DeletedContract
|
||||||
**/
|
**/
|
||||||
PalletContractsStorageDeletedContract: {
|
PalletContractsStorageDeletedContract: {
|
||||||
trieId: 'Bytes'
|
trieId: 'Bytes'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup421: pallet_contracts::schedule::Schedule<T>
|
* Lookup422: pallet_contracts::schedule::Schedule<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsSchedule: {
|
PalletContractsSchedule: {
|
||||||
limits: 'PalletContractsScheduleLimits',
|
limits: 'PalletContractsScheduleLimits',
|
||||||
@@ -3456,7 +3460,7 @@ export default {
|
|||||||
hostFnWeights: 'PalletContractsScheduleHostFnWeights'
|
hostFnWeights: 'PalletContractsScheduleHostFnWeights'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup422: pallet_contracts::schedule::Limits
|
* Lookup423: pallet_contracts::schedule::Limits
|
||||||
**/
|
**/
|
||||||
PalletContractsScheduleLimits: {
|
PalletContractsScheduleLimits: {
|
||||||
eventTopics: 'u32',
|
eventTopics: 'u32',
|
||||||
@@ -3472,7 +3476,7 @@ export default {
|
|||||||
codeLen: 'u32'
|
codeLen: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup423: pallet_contracts::schedule::InstructionWeights<T>
|
* Lookup424: pallet_contracts::schedule::InstructionWeights<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsScheduleInstructionWeights: {
|
PalletContractsScheduleInstructionWeights: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -3532,7 +3536,7 @@ export default {
|
|||||||
i64rotr: 'u32'
|
i64rotr: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup424: pallet_contracts::schedule::HostFnWeights<T>
|
* Lookup425: pallet_contracts::schedule::HostFnWeights<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsScheduleHostFnWeights: {
|
PalletContractsScheduleHostFnWeights: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -3589,39 +3593,39 @@ export default {
|
|||||||
ecdsaRecover: 'u64'
|
ecdsaRecover: 'u64'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup425: pallet_contracts::pallet::Error<T>
|
* Lookup426: pallet_contracts::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsError: {
|
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']
|
_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: {
|
PalletSudoError: {
|
||||||
_enum: ['RequireSudo']
|
_enum: ['RequireSudo']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup430: pallet_im_online::BoundedOpaqueNetworkState<PeerIdEncodingLimit, MultiAddrEncodingLimit, AddressesLimit>
|
* Lookup431: pallet_im_online::BoundedOpaqueNetworkState<PeerIdEncodingLimit, MultiAddrEncodingLimit, AddressesLimit>
|
||||||
**/
|
**/
|
||||||
PalletImOnlineBoundedOpaqueNetworkState: {
|
PalletImOnlineBoundedOpaqueNetworkState: {
|
||||||
peerId: 'Bytes',
|
peerId: 'Bytes',
|
||||||
externalAddresses: 'Vec<Bytes>'
|
externalAddresses: 'Vec<Bytes>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup434: pallet_im_online::pallet::Error<T>
|
* Lookup435: pallet_im_online::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletImOnlineError: {
|
PalletImOnlineError: {
|
||||||
_enum: ['InvalidKey', 'DuplicatedHeartbeat']
|
_enum: ['InvalidKey', 'DuplicatedHeartbeat']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup437: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender>
|
* Lookup438: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender>
|
||||||
**/
|
**/
|
||||||
SpStakingOffenceOffenceDetails: {
|
SpStakingOffenceOffenceDetails: {
|
||||||
offender: '(AccountId32,PalletStakingExposure)',
|
offender: '(AccountId32,PalletStakingExposure)',
|
||||||
reporters: 'Vec<AccountId32>'
|
reporters: 'Vec<AccountId32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup439: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
|
* Lookup440: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
|
||||||
**/
|
**/
|
||||||
PalletIdentityRegistration: {
|
PalletIdentityRegistration: {
|
||||||
judgements: 'Vec<(u32,PalletIdentityJudgement)>',
|
judgements: 'Vec<(u32,PalletIdentityJudgement)>',
|
||||||
@@ -3629,7 +3633,7 @@ export default {
|
|||||||
info: 'PalletIdentityIdentityInfo'
|
info: 'PalletIdentityIdentityInfo'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup447: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
|
* Lookup448: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletIdentityRegistrarInfo: {
|
PalletIdentityRegistrarInfo: {
|
||||||
account: 'AccountId32',
|
account: 'AccountId32',
|
||||||
@@ -3637,13 +3641,13 @@ export default {
|
|||||||
fields: 'PalletIdentityBitFlags'
|
fields: 'PalletIdentityBitFlags'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup449: pallet_identity::pallet::Error<T>
|
* Lookup450: pallet_identity::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletIdentityError: {
|
PalletIdentityError: {
|
||||||
_enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned']
|
_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: {
|
PalletSocietyBid: {
|
||||||
who: 'AccountId32',
|
who: 'AccountId32',
|
||||||
@@ -3651,7 +3655,7 @@ export default {
|
|||||||
value: 'u128'
|
value: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup452: pallet_society::BidKind<sp_core::crypto::AccountId32, Balance>
|
* Lookup453: pallet_society::BidKind<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PalletSocietyBidKind: {
|
PalletSocietyBidKind: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3660,25 +3664,25 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup454: pallet_society::VouchingStatus
|
* Lookup455: pallet_society::VouchingStatus
|
||||||
**/
|
**/
|
||||||
PalletSocietyVouchingStatus: {
|
PalletSocietyVouchingStatus: {
|
||||||
_enum: ['Vouching', 'Banned']
|
_enum: ['Vouching', 'Banned']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup458: pallet_society::Vote
|
* Lookup459: pallet_society::Vote
|
||||||
**/
|
**/
|
||||||
PalletSocietyVote: {
|
PalletSocietyVote: {
|
||||||
_enum: ['Skeptic', 'Reject', 'Approve']
|
_enum: ['Skeptic', 'Reject', 'Approve']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup459: pallet_society::pallet::Error<T, I>
|
* Lookup460: pallet_society::pallet::Error<T, I>
|
||||||
**/
|
**/
|
||||||
PalletSocietyError: {
|
PalletSocietyError: {
|
||||||
_enum: ['BadPosition', 'NotMember', 'AlreadyMember', 'Suspended', 'NotSuspended', 'NoPayout', 'AlreadyFounded', 'InsufficientPot', 'AlreadyVouching', 'NotVouching', 'Head', 'Founder', 'AlreadyBid', 'AlreadyCandidate', 'NotCandidate', 'MaxMembers', 'NotFounder', 'NotHead']
|
_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: {
|
PalletRecoveryRecoveryConfig: {
|
||||||
delayPeriod: 'u32',
|
delayPeriod: 'u32',
|
||||||
@@ -3687,7 +3691,7 @@ export default {
|
|||||||
threshold: 'u16'
|
threshold: 'u16'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup461: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
* Lookup462: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletRecoveryActiveRecovery: {
|
PalletRecoveryActiveRecovery: {
|
||||||
created: 'u32',
|
created: 'u32',
|
||||||
@@ -3695,25 +3699,25 @@ export default {
|
|||||||
friends: 'Vec<AccountId32>'
|
friends: 'Vec<AccountId32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup462: pallet_recovery::pallet::Error<T>
|
* Lookup463: pallet_recovery::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletRecoveryError: {
|
PalletRecoveryError: {
|
||||||
_enum: ['NotAllowed', 'ZeroThreshold', 'NotEnoughFriends', 'MaxFriends', 'NotSorted', 'NotRecoverable', 'AlreadyRecoverable', 'AlreadyStarted', 'NotStarted', 'NotFriend', 'DelayPeriod', 'AlreadyVouched', 'Threshold', 'StillActive', 'AlreadyProxy', 'BadState']
|
_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: {
|
PalletVestingReleases: {
|
||||||
_enum: ['V0', 'V1']
|
_enum: ['V0', 'V1']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup466: pallet_vesting::pallet::Error<T>
|
* Lookup467: pallet_vesting::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletVestingError: {
|
PalletVestingError: {
|
||||||
_enum: ['NotVesting', 'AtMaxVestingSchedules', 'AmountLow', 'ScheduleIndexOutOfBounds', 'InvalidScheduleParams']
|
_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: {
|
PalletSchedulerScheduledV3: {
|
||||||
maybeId: 'Option<Bytes>',
|
maybeId: 'Option<Bytes>',
|
||||||
@@ -3722,12 +3726,6 @@ export default {
|
|||||||
maybePeriodic: 'Option<(u32,u32)>',
|
maybePeriodic: 'Option<(u32,u32)>',
|
||||||
origin: 'NodeRuntimeOriginCaller'
|
origin: 'NodeRuntimeOriginCaller'
|
||||||
},
|
},
|
||||||
/**
|
|
||||||
* Lookup470: pallet_scheduler::Releases
|
|
||||||
**/
|
|
||||||
PalletSchedulerReleases: {
|
|
||||||
_enum: ['V1', 'V2', 'V3']
|
|
||||||
},
|
|
||||||
/**
|
/**
|
||||||
* Lookup471: pallet_scheduler::pallet::Error<T>
|
* Lookup471: pallet_scheduler::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Valid' | 'Invalid';
|
readonly type: 'Valid' | 'Invalid';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name KusamaRuntimeSessionKeys (246) */
|
/** @name KusamaRuntimeSessionKeys (247) */
|
||||||
export interface KusamaRuntimeSessionKeys extends Struct {
|
export interface KusamaRuntimeSessionKeys extends Struct {
|
||||||
readonly grandpa: SpFinalityGrandpaAppPublic;
|
readonly grandpa: SpFinalityGrandpaAppPublic;
|
||||||
readonly babe: SpConsensusBabeAppPublic;
|
readonly babe: SpConsensusBabeAppPublic;
|
||||||
@@ -55,7 +55,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
|
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name KusamaRuntimeOriginCaller (319) */
|
/** @name KusamaRuntimeOriginCaller (320) */
|
||||||
export interface KusamaRuntimeOriginCaller extends Enum {
|
export interface KusamaRuntimeOriginCaller extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
readonly asSystem: FrameSystemRawOrigin;
|
readonly asSystem: FrameSystemRawOrigin;
|
||||||
@@ -71,7 +71,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'System' | 'Void' | 'Council' | 'TechnicalCommittee' | 'ParachainsOrigin' | 'XcmPallet';
|
readonly type: 'System' | 'Void' | 'Council' | 'TechnicalCommittee' | 'ParachainsOrigin' | 'XcmPallet';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name KusamaRuntimeNposCompactSolution24 (384) */
|
/** @name KusamaRuntimeNposCompactSolution24 (385) */
|
||||||
export interface KusamaRuntimeNposCompactSolution24 extends Struct {
|
export interface KusamaRuntimeNposCompactSolution24 extends Struct {
|
||||||
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
|
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
|
||||||
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, 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>]>>;
|
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 {
|
export interface PolkadotRuntimeParachainsDisputesPalletCall extends Enum {
|
||||||
readonly isForceUnfreeze: boolean;
|
readonly isForceUnfreeze: boolean;
|
||||||
readonly type: 'ForceUnfreeze';
|
readonly type: 'ForceUnfreeze';
|
||||||
|
|||||||
@@ -1696,7 +1696,12 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly rawSolution: PalletElectionProviderMultiPhaseRawSolution;
|
readonly rawSolution: PalletElectionProviderMultiPhaseRawSolution;
|
||||||
readonly numSignedSubmissions: u32;
|
readonly numSignedSubmissions: u32;
|
||||||
} & Struct;
|
} & 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) */
|
/** @name PalletElectionProviderMultiPhaseRawSolution (143) */
|
||||||
@@ -3381,7 +3386,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly targets: Vec<AccountId32>;
|
readonly targets: Vec<AccountId32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletElectionProviderMultiPhaseSignedSignedSubmission (353) */
|
/** @name PalletElectionProviderMultiPhaseSignedSignedSubmission (354) */
|
||||||
export interface PalletElectionProviderMultiPhaseSignedSignedSubmission extends Struct {
|
export interface PalletElectionProviderMultiPhaseSignedSignedSubmission extends Struct {
|
||||||
readonly who: AccountId32;
|
readonly who: AccountId32;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
@@ -3389,7 +3394,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly reward: u128;
|
readonly reward: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletElectionProviderMultiPhaseError (354) */
|
/** @name PalletElectionProviderMultiPhaseError (355) */
|
||||||
export interface PalletElectionProviderMultiPhaseError extends Enum {
|
export interface PalletElectionProviderMultiPhaseError extends Enum {
|
||||||
readonly isPreDispatchEarlySubmission: boolean;
|
readonly isPreDispatchEarlySubmission: boolean;
|
||||||
readonly isPreDispatchWrongWinnerCount: boolean;
|
readonly isPreDispatchWrongWinnerCount: boolean;
|
||||||
@@ -3402,10 +3407,11 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isMissingSnapshotMetadata: boolean;
|
readonly isMissingSnapshotMetadata: boolean;
|
||||||
readonly isInvalidSubmissionIndex: boolean;
|
readonly isInvalidSubmissionIndex: boolean;
|
||||||
readonly isCallNotAllowed: 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 {
|
export interface PalletStakingStakingLedger extends Struct {
|
||||||
readonly stash: AccountId32;
|
readonly stash: AccountId32;
|
||||||
readonly total: Compact<u128>;
|
readonly total: Compact<u128>;
|
||||||
@@ -3414,32 +3420,32 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly claimedRewards: Vec<u32>;
|
readonly claimedRewards: Vec<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingUnlockChunk (357) */
|
/** @name PalletStakingUnlockChunk (358) */
|
||||||
export interface PalletStakingUnlockChunk extends Struct {
|
export interface PalletStakingUnlockChunk extends Struct {
|
||||||
readonly value: Compact<u128>;
|
readonly value: Compact<u128>;
|
||||||
readonly era: Compact<u32>;
|
readonly era: Compact<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingNominations (358) */
|
/** @name PalletStakingNominations (359) */
|
||||||
export interface PalletStakingNominations extends Struct {
|
export interface PalletStakingNominations extends Struct {
|
||||||
readonly targets: Vec<AccountId32>;
|
readonly targets: Vec<AccountId32>;
|
||||||
readonly submittedIn: u32;
|
readonly submittedIn: u32;
|
||||||
readonly suppressed: bool;
|
readonly suppressed: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingActiveEraInfo (359) */
|
/** @name PalletStakingActiveEraInfo (360) */
|
||||||
export interface PalletStakingActiveEraInfo extends Struct {
|
export interface PalletStakingActiveEraInfo extends Struct {
|
||||||
readonly index: u32;
|
readonly index: u32;
|
||||||
readonly start: Option<u64>;
|
readonly start: Option<u64>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingEraRewardPoints (361) */
|
/** @name PalletStakingEraRewardPoints (362) */
|
||||||
export interface PalletStakingEraRewardPoints extends Struct {
|
export interface PalletStakingEraRewardPoints extends Struct {
|
||||||
readonly total: u32;
|
readonly total: u32;
|
||||||
readonly individual: BTreeMap<AccountId32, u32>;
|
readonly individual: BTreeMap<AccountId32, u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingForcing (365) */
|
/** @name PalletStakingForcing (366) */
|
||||||
export interface PalletStakingForcing extends Enum {
|
export interface PalletStakingForcing extends Enum {
|
||||||
readonly isNotForcing: boolean;
|
readonly isNotForcing: boolean;
|
||||||
readonly isForceNew: boolean;
|
readonly isForceNew: boolean;
|
||||||
@@ -3448,7 +3454,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'NotForcing' | 'ForceNew' | 'ForceNone' | 'ForceAlways';
|
readonly type: 'NotForcing' | 'ForceNew' | 'ForceNone' | 'ForceAlways';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingUnappliedSlash (367) */
|
/** @name PalletStakingUnappliedSlash (368) */
|
||||||
export interface PalletStakingUnappliedSlash extends Struct {
|
export interface PalletStakingUnappliedSlash extends Struct {
|
||||||
readonly validator: AccountId32;
|
readonly validator: AccountId32;
|
||||||
readonly own: u128;
|
readonly own: u128;
|
||||||
@@ -3457,7 +3463,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly payout: u128;
|
readonly payout: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingSlashingSlashingSpans (369) */
|
/** @name PalletStakingSlashingSlashingSpans (370) */
|
||||||
export interface PalletStakingSlashingSlashingSpans extends Struct {
|
export interface PalletStakingSlashingSlashingSpans extends Struct {
|
||||||
readonly spanIndex: u32;
|
readonly spanIndex: u32;
|
||||||
readonly lastStart: u32;
|
readonly lastStart: u32;
|
||||||
@@ -3465,13 +3471,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly prior: Vec<u32>;
|
readonly prior: Vec<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingSlashingSpanRecord (370) */
|
/** @name PalletStakingSlashingSpanRecord (371) */
|
||||||
export interface PalletStakingSlashingSpanRecord extends Struct {
|
export interface PalletStakingSlashingSpanRecord extends Struct {
|
||||||
readonly slashed: u128;
|
readonly slashed: u128;
|
||||||
readonly paidOut: u128;
|
readonly paidOut: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingReleases (373) */
|
/** @name PalletStakingReleases (374) */
|
||||||
export interface PalletStakingReleases extends Enum {
|
export interface PalletStakingReleases extends Enum {
|
||||||
readonly isV100Ancient: boolean;
|
readonly isV100Ancient: boolean;
|
||||||
readonly isV200: boolean;
|
readonly isV200: boolean;
|
||||||
@@ -3484,7 +3490,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'V100Ancient' | 'V200' | 'V300' | 'V400' | 'V500' | 'V600' | 'V700' | 'V800';
|
readonly type: 'V100Ancient' | 'V200' | 'V300' | 'V400' | 'V500' | 'V600' | 'V700' | 'V800';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingPalletError (374) */
|
/** @name PalletStakingPalletError (375) */
|
||||||
export interface PalletStakingPalletError extends Enum {
|
export interface PalletStakingPalletError extends Enum {
|
||||||
readonly isNotController: boolean;
|
readonly isNotController: boolean;
|
||||||
readonly isNotStash: 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';
|
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 {}
|
export interface SpCoreCryptoKeyTypeId extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PalletSessionError (379) */
|
/** @name PalletSessionError (380) */
|
||||||
export interface PalletSessionError extends Enum {
|
export interface PalletSessionError extends Enum {
|
||||||
readonly isInvalidProof: boolean;
|
readonly isInvalidProof: boolean;
|
||||||
readonly isNoAssociatedValidatorId: boolean;
|
readonly isNoAssociatedValidatorId: boolean;
|
||||||
@@ -3526,7 +3532,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
|
readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyPreimageStatus (383) */
|
/** @name PalletDemocracyPreimageStatus (384) */
|
||||||
export interface PalletDemocracyPreimageStatus extends Enum {
|
export interface PalletDemocracyPreimageStatus extends Enum {
|
||||||
readonly isMissing: boolean;
|
readonly isMissing: boolean;
|
||||||
readonly asMissing: u32;
|
readonly asMissing: u32;
|
||||||
@@ -3541,7 +3547,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Missing' | 'Available';
|
readonly type: 'Missing' | 'Available';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyReferendumInfo (384) */
|
/** @name PalletDemocracyReferendumInfo (385) */
|
||||||
export interface PalletDemocracyReferendumInfo extends Enum {
|
export interface PalletDemocracyReferendumInfo extends Enum {
|
||||||
readonly isOngoing: boolean;
|
readonly isOngoing: boolean;
|
||||||
readonly asOngoing: PalletDemocracyReferendumStatus;
|
readonly asOngoing: PalletDemocracyReferendumStatus;
|
||||||
@@ -3553,7 +3559,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Ongoing' | 'Finished';
|
readonly type: 'Ongoing' | 'Finished';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyReferendumStatus (385) */
|
/** @name PalletDemocracyReferendumStatus (386) */
|
||||||
export interface PalletDemocracyReferendumStatus extends Struct {
|
export interface PalletDemocracyReferendumStatus extends Struct {
|
||||||
readonly end: u32;
|
readonly end: u32;
|
||||||
readonly proposalHash: H256;
|
readonly proposalHash: H256;
|
||||||
@@ -3562,14 +3568,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly tally: PalletDemocracyTally;
|
readonly tally: PalletDemocracyTally;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyTally (386) */
|
/** @name PalletDemocracyTally (387) */
|
||||||
export interface PalletDemocracyTally extends Struct {
|
export interface PalletDemocracyTally extends Struct {
|
||||||
readonly ayes: u128;
|
readonly ayes: u128;
|
||||||
readonly nays: u128;
|
readonly nays: u128;
|
||||||
readonly turnout: u128;
|
readonly turnout: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyVoteVoting (387) */
|
/** @name PalletDemocracyVoteVoting (388) */
|
||||||
export interface PalletDemocracyVoteVoting extends Enum {
|
export interface PalletDemocracyVoteVoting extends Enum {
|
||||||
readonly isDirect: boolean;
|
readonly isDirect: boolean;
|
||||||
readonly asDirect: {
|
readonly asDirect: {
|
||||||
@@ -3588,22 +3594,22 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Direct' | 'Delegating';
|
readonly type: 'Direct' | 'Delegating';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyDelegations (390) */
|
/** @name PalletDemocracyDelegations (391) */
|
||||||
export interface PalletDemocracyDelegations extends Struct {
|
export interface PalletDemocracyDelegations extends Struct {
|
||||||
readonly votes: u128;
|
readonly votes: u128;
|
||||||
readonly capital: u128;
|
readonly capital: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyVotePriorLock (391) */
|
/** @name PalletDemocracyVotePriorLock (392) */
|
||||||
export interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {}
|
export interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {}
|
||||||
|
|
||||||
/** @name PalletDemocracyReleases (394) */
|
/** @name PalletDemocracyReleases (395) */
|
||||||
export interface PalletDemocracyReleases extends Enum {
|
export interface PalletDemocracyReleases extends Enum {
|
||||||
readonly isV1: boolean;
|
readonly isV1: boolean;
|
||||||
readonly type: 'V1';
|
readonly type: 'V1';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyError (395) */
|
/** @name PalletDemocracyError (396) */
|
||||||
export interface PalletDemocracyError extends Enum {
|
export interface PalletDemocracyError extends Enum {
|
||||||
readonly isValueLow: boolean;
|
readonly isValueLow: boolean;
|
||||||
readonly isProposalMissing: 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';
|
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 {
|
export interface PalletCollectiveVotes extends Struct {
|
||||||
readonly index: u32;
|
readonly index: u32;
|
||||||
readonly threshold: u32;
|
readonly threshold: u32;
|
||||||
@@ -3645,7 +3651,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly end: u32;
|
readonly end: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletCollectiveError (398) */
|
/** @name PalletCollectiveError (399) */
|
||||||
export interface PalletCollectiveError extends Enum {
|
export interface PalletCollectiveError extends Enum {
|
||||||
readonly isNotMember: boolean;
|
readonly isNotMember: boolean;
|
||||||
readonly isDuplicateProposal: 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';
|
readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletElectionsPhragmenSeatHolder (402) */
|
/** @name PalletElectionsPhragmenSeatHolder (403) */
|
||||||
export interface PalletElectionsPhragmenSeatHolder extends Struct {
|
export interface PalletElectionsPhragmenSeatHolder extends Struct {
|
||||||
readonly who: AccountId32;
|
readonly who: AccountId32;
|
||||||
readonly stake: u128;
|
readonly stake: u128;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletElectionsPhragmenVoter (403) */
|
/** @name PalletElectionsPhragmenVoter (404) */
|
||||||
export interface PalletElectionsPhragmenVoter extends Struct {
|
export interface PalletElectionsPhragmenVoter extends Struct {
|
||||||
readonly votes: Vec<AccountId32>;
|
readonly votes: Vec<AccountId32>;
|
||||||
readonly stake: u128;
|
readonly stake: u128;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletElectionsPhragmenError (404) */
|
/** @name PalletElectionsPhragmenError (405) */
|
||||||
export interface PalletElectionsPhragmenError extends Enum {
|
export interface PalletElectionsPhragmenError extends Enum {
|
||||||
readonly isUnableToVote: boolean;
|
readonly isUnableToVote: boolean;
|
||||||
readonly isNoVotes: 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';
|
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 {
|
export interface PalletMembershipError extends Enum {
|
||||||
readonly isAlreadyMember: boolean;
|
readonly isAlreadyMember: boolean;
|
||||||
readonly isNotMember: boolean;
|
readonly isNotMember: boolean;
|
||||||
readonly type: 'AlreadyMember' | 'NotMember';
|
readonly type: 'AlreadyMember' | 'NotMember';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletGrandpaStoredState (406) */
|
/** @name PalletGrandpaStoredState (407) */
|
||||||
export interface PalletGrandpaStoredState extends Enum {
|
export interface PalletGrandpaStoredState extends Enum {
|
||||||
readonly isLive: boolean;
|
readonly isLive: boolean;
|
||||||
readonly isPendingPause: boolean;
|
readonly isPendingPause: boolean;
|
||||||
@@ -3720,7 +3726,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletGrandpaStoredPendingChange (407) */
|
/** @name PalletGrandpaStoredPendingChange (408) */
|
||||||
export interface PalletGrandpaStoredPendingChange extends Struct {
|
export interface PalletGrandpaStoredPendingChange extends Struct {
|
||||||
readonly scheduledAt: u32;
|
readonly scheduledAt: u32;
|
||||||
readonly delay: u32;
|
readonly delay: u32;
|
||||||
@@ -3728,7 +3734,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly forced: Option<u32>;
|
readonly forced: Option<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletGrandpaError (409) */
|
/** @name PalletGrandpaError (410) */
|
||||||
export interface PalletGrandpaError extends Enum {
|
export interface PalletGrandpaError extends Enum {
|
||||||
readonly isPauseFailed: boolean;
|
readonly isPauseFailed: boolean;
|
||||||
readonly isResumeFailed: boolean;
|
readonly isResumeFailed: boolean;
|
||||||
@@ -3740,7 +3746,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTreasuryProposal (410) */
|
/** @name PalletTreasuryProposal (411) */
|
||||||
export interface PalletTreasuryProposal extends Struct {
|
export interface PalletTreasuryProposal extends Struct {
|
||||||
readonly proposer: AccountId32;
|
readonly proposer: AccountId32;
|
||||||
readonly value: u128;
|
readonly value: u128;
|
||||||
@@ -3748,10 +3754,10 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly bond: u128;
|
readonly bond: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSupportPalletId (414) */
|
/** @name FrameSupportPalletId (415) */
|
||||||
export interface FrameSupportPalletId extends U8aFixed {}
|
export interface FrameSupportPalletId extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PalletTreasuryError (415) */
|
/** @name PalletTreasuryError (416) */
|
||||||
export interface PalletTreasuryError extends Enum {
|
export interface PalletTreasuryError extends Enum {
|
||||||
readonly isInsufficientProposersBalance: boolean;
|
readonly isInsufficientProposersBalance: boolean;
|
||||||
readonly isInvalidIndex: boolean;
|
readonly isInvalidIndex: boolean;
|
||||||
@@ -3759,7 +3765,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';
|
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsWasmPrefabWasmModule (416) */
|
/** @name PalletContractsWasmPrefabWasmModule (417) */
|
||||||
export interface PalletContractsWasmPrefabWasmModule extends Struct {
|
export interface PalletContractsWasmPrefabWasmModule extends Struct {
|
||||||
readonly instructionWeightsVersion: Compact<u32>;
|
readonly instructionWeightsVersion: Compact<u32>;
|
||||||
readonly initial: Compact<u32>;
|
readonly initial: Compact<u32>;
|
||||||
@@ -3767,33 +3773,33 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly code: Bytes;
|
readonly code: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsWasmOwnerInfo (417) */
|
/** @name PalletContractsWasmOwnerInfo (418) */
|
||||||
export interface PalletContractsWasmOwnerInfo extends Struct {
|
export interface PalletContractsWasmOwnerInfo extends Struct {
|
||||||
readonly owner: AccountId32;
|
readonly owner: AccountId32;
|
||||||
readonly deposit: Compact<u128>;
|
readonly deposit: Compact<u128>;
|
||||||
readonly refcount: Compact<u64>;
|
readonly refcount: Compact<u64>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsStorageRawContractInfo (418) */
|
/** @name PalletContractsStorageRawContractInfo (419) */
|
||||||
export interface PalletContractsStorageRawContractInfo extends Struct {
|
export interface PalletContractsStorageRawContractInfo extends Struct {
|
||||||
readonly trieId: Bytes;
|
readonly trieId: Bytes;
|
||||||
readonly codeHash: H256;
|
readonly codeHash: H256;
|
||||||
readonly storageDeposit: u128;
|
readonly storageDeposit: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsStorageDeletedContract (420) */
|
/** @name PalletContractsStorageDeletedContract (421) */
|
||||||
export interface PalletContractsStorageDeletedContract extends Struct {
|
export interface PalletContractsStorageDeletedContract extends Struct {
|
||||||
readonly trieId: Bytes;
|
readonly trieId: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsSchedule (421) */
|
/** @name PalletContractsSchedule (422) */
|
||||||
export interface PalletContractsSchedule extends Struct {
|
export interface PalletContractsSchedule extends Struct {
|
||||||
readonly limits: PalletContractsScheduleLimits;
|
readonly limits: PalletContractsScheduleLimits;
|
||||||
readonly instructionWeights: PalletContractsScheduleInstructionWeights;
|
readonly instructionWeights: PalletContractsScheduleInstructionWeights;
|
||||||
readonly hostFnWeights: PalletContractsScheduleHostFnWeights;
|
readonly hostFnWeights: PalletContractsScheduleHostFnWeights;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsScheduleLimits (422) */
|
/** @name PalletContractsScheduleLimits (423) */
|
||||||
export interface PalletContractsScheduleLimits extends Struct {
|
export interface PalletContractsScheduleLimits extends Struct {
|
||||||
readonly eventTopics: u32;
|
readonly eventTopics: u32;
|
||||||
readonly stackHeight: u32;
|
readonly stackHeight: u32;
|
||||||
@@ -3808,7 +3814,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly codeLen: u32;
|
readonly codeLen: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsScheduleInstructionWeights (423) */
|
/** @name PalletContractsScheduleInstructionWeights (424) */
|
||||||
export interface PalletContractsScheduleInstructionWeights extends Struct {
|
export interface PalletContractsScheduleInstructionWeights extends Struct {
|
||||||
readonly version: u32;
|
readonly version: u32;
|
||||||
readonly i64const: u32;
|
readonly i64const: u32;
|
||||||
@@ -3864,7 +3870,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly i64rotr: u32;
|
readonly i64rotr: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsScheduleHostFnWeights (424) */
|
/** @name PalletContractsScheduleHostFnWeights (425) */
|
||||||
export interface PalletContractsScheduleHostFnWeights extends Struct {
|
export interface PalletContractsScheduleHostFnWeights extends Struct {
|
||||||
readonly caller: u64;
|
readonly caller: u64;
|
||||||
readonly address: u64;
|
readonly address: u64;
|
||||||
@@ -3917,7 +3923,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly ecdsaRecover: u64;
|
readonly ecdsaRecover: u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsError (425) */
|
/** @name PalletContractsError (426) */
|
||||||
export interface PalletContractsError extends Enum {
|
export interface PalletContractsError extends Enum {
|
||||||
readonly isInvalidScheduleVersion: boolean;
|
readonly isInvalidScheduleVersion: boolean;
|
||||||
readonly isOutOfGas: 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';
|
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 {
|
export interface PalletSudoError extends Enum {
|
||||||
readonly isRequireSudo: boolean;
|
readonly isRequireSudo: boolean;
|
||||||
readonly type: 'RequireSudo';
|
readonly type: 'RequireSudo';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletImOnlineBoundedOpaqueNetworkState (430) */
|
/** @name PalletImOnlineBoundedOpaqueNetworkState (431) */
|
||||||
export interface PalletImOnlineBoundedOpaqueNetworkState extends Struct {
|
export interface PalletImOnlineBoundedOpaqueNetworkState extends Struct {
|
||||||
readonly peerId: Bytes;
|
readonly peerId: Bytes;
|
||||||
readonly externalAddresses: Vec<Bytes>;
|
readonly externalAddresses: Vec<Bytes>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletImOnlineError (434) */
|
/** @name PalletImOnlineError (435) */
|
||||||
export interface PalletImOnlineError extends Enum {
|
export interface PalletImOnlineError extends Enum {
|
||||||
readonly isInvalidKey: boolean;
|
readonly isInvalidKey: boolean;
|
||||||
readonly isDuplicatedHeartbeat: boolean;
|
readonly isDuplicatedHeartbeat: boolean;
|
||||||
readonly type: 'InvalidKey' | 'DuplicatedHeartbeat';
|
readonly type: 'InvalidKey' | 'DuplicatedHeartbeat';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpStakingOffenceOffenceDetails (437) */
|
/** @name SpStakingOffenceOffenceDetails (438) */
|
||||||
export interface SpStakingOffenceOffenceDetails extends Struct {
|
export interface SpStakingOffenceOffenceDetails extends Struct {
|
||||||
readonly offender: ITuple<[AccountId32, PalletStakingExposure]>;
|
readonly offender: ITuple<[AccountId32, PalletStakingExposure]>;
|
||||||
readonly reporters: Vec<AccountId32>;
|
readonly reporters: Vec<AccountId32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletIdentityRegistration (439) */
|
/** @name PalletIdentityRegistration (440) */
|
||||||
export interface PalletIdentityRegistration extends Struct {
|
export interface PalletIdentityRegistration extends Struct {
|
||||||
readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
|
readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
readonly info: PalletIdentityIdentityInfo;
|
readonly info: PalletIdentityIdentityInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletIdentityRegistrarInfo (447) */
|
/** @name PalletIdentityRegistrarInfo (448) */
|
||||||
export interface PalletIdentityRegistrarInfo extends Struct {
|
export interface PalletIdentityRegistrarInfo extends Struct {
|
||||||
readonly account: AccountId32;
|
readonly account: AccountId32;
|
||||||
readonly fee: u128;
|
readonly fee: u128;
|
||||||
readonly fields: PalletIdentityBitFlags;
|
readonly fields: PalletIdentityBitFlags;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletIdentityError (449) */
|
/** @name PalletIdentityError (450) */
|
||||||
export interface PalletIdentityError extends Enum {
|
export interface PalletIdentityError extends Enum {
|
||||||
readonly isTooManySubAccounts: boolean;
|
readonly isTooManySubAccounts: boolean;
|
||||||
readonly isNotFound: 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';
|
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 {
|
export interface PalletSocietyBid extends Struct {
|
||||||
readonly who: AccountId32;
|
readonly who: AccountId32;
|
||||||
readonly kind: PalletSocietyBidKind;
|
readonly kind: PalletSocietyBidKind;
|
||||||
readonly value: u128;
|
readonly value: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyBidKind (452) */
|
/** @name PalletSocietyBidKind (453) */
|
||||||
export interface PalletSocietyBidKind extends Enum {
|
export interface PalletSocietyBidKind extends Enum {
|
||||||
readonly isDeposit: boolean;
|
readonly isDeposit: boolean;
|
||||||
readonly asDeposit: u128;
|
readonly asDeposit: u128;
|
||||||
@@ -4026,14 +4032,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Deposit' | 'Vouch';
|
readonly type: 'Deposit' | 'Vouch';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyVouchingStatus (454) */
|
/** @name PalletSocietyVouchingStatus (455) */
|
||||||
export interface PalletSocietyVouchingStatus extends Enum {
|
export interface PalletSocietyVouchingStatus extends Enum {
|
||||||
readonly isVouching: boolean;
|
readonly isVouching: boolean;
|
||||||
readonly isBanned: boolean;
|
readonly isBanned: boolean;
|
||||||
readonly type: 'Vouching' | 'Banned';
|
readonly type: 'Vouching' | 'Banned';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyVote (458) */
|
/** @name PalletSocietyVote (459) */
|
||||||
export interface PalletSocietyVote extends Enum {
|
export interface PalletSocietyVote extends Enum {
|
||||||
readonly isSkeptic: boolean;
|
readonly isSkeptic: boolean;
|
||||||
readonly isReject: boolean;
|
readonly isReject: boolean;
|
||||||
@@ -4041,7 +4047,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Skeptic' | 'Reject' | 'Approve';
|
readonly type: 'Skeptic' | 'Reject' | 'Approve';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyError (459) */
|
/** @name PalletSocietyError (460) */
|
||||||
export interface PalletSocietyError extends Enum {
|
export interface PalletSocietyError extends Enum {
|
||||||
readonly isBadPosition: boolean;
|
readonly isBadPosition: boolean;
|
||||||
readonly isNotMember: 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';
|
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 {
|
export interface PalletRecoveryRecoveryConfig extends Struct {
|
||||||
readonly delayPeriod: u32;
|
readonly delayPeriod: u32;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
@@ -4072,14 +4078,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly threshold: u16;
|
readonly threshold: u16;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRecoveryActiveRecovery (461) */
|
/** @name PalletRecoveryActiveRecovery (462) */
|
||||||
export interface PalletRecoveryActiveRecovery extends Struct {
|
export interface PalletRecoveryActiveRecovery extends Struct {
|
||||||
readonly created: u32;
|
readonly created: u32;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
readonly friends: Vec<AccountId32>;
|
readonly friends: Vec<AccountId32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRecoveryError (462) */
|
/** @name PalletRecoveryError (463) */
|
||||||
export interface PalletRecoveryError extends Enum {
|
export interface PalletRecoveryError extends Enum {
|
||||||
readonly isNotAllowed: boolean;
|
readonly isNotAllowed: boolean;
|
||||||
readonly isZeroThreshold: 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';
|
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 {
|
export interface PalletVestingReleases extends Enum {
|
||||||
readonly isV0: boolean;
|
readonly isV0: boolean;
|
||||||
readonly isV1: boolean;
|
readonly isV1: boolean;
|
||||||
readonly type: 'V0' | 'V1';
|
readonly type: 'V0' | 'V1';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletVestingError (466) */
|
/** @name PalletVestingError (467) */
|
||||||
export interface PalletVestingError extends Enum {
|
export interface PalletVestingError extends Enum {
|
||||||
readonly isNotVesting: boolean;
|
readonly isNotVesting: boolean;
|
||||||
readonly isAtMaxVestingSchedules: boolean;
|
readonly isAtMaxVestingSchedules: boolean;
|
||||||
@@ -4117,7 +4123,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'NotVesting' | 'AtMaxVestingSchedules' | 'AmountLow' | 'ScheduleIndexOutOfBounds' | 'InvalidScheduleParams';
|
readonly type: 'NotVesting' | 'AtMaxVestingSchedules' | 'AmountLow' | 'ScheduleIndexOutOfBounds' | 'InvalidScheduleParams';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSchedulerScheduledV3 (469) */
|
/** @name PalletSchedulerScheduledV3 (470) */
|
||||||
export interface PalletSchedulerScheduledV3 extends Struct {
|
export interface PalletSchedulerScheduledV3 extends Struct {
|
||||||
readonly maybeId: Option<Bytes>;
|
readonly maybeId: Option<Bytes>;
|
||||||
readonly priority: u8;
|
readonly priority: u8;
|
||||||
@@ -4126,14 +4132,6 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly origin: NodeRuntimeOriginCaller;
|
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) */
|
/** @name PalletSchedulerError (471) */
|
||||||
export interface PalletSchedulerError extends Enum {
|
export interface PalletSchedulerError extends Enum {
|
||||||
readonly isFailedToSchedule: boolean;
|
readonly isFailedToSchedule: boolean;
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/util": "^8.3.3"
|
"@polkadot/util": "^8.3.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/types-augment": "7.6.1",
|
"@polkadot/types-augment": "7.7.1",
|
||||||
"@polkadot/types-support": "7.6.1",
|
"@polkadot/types-support": "7.7.1",
|
||||||
"@polkadot/util-crypto": "^8.3.3"
|
"@polkadot/util-crypto": "^8.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/types-codec": "7.6.1",
|
"@polkadot/types-codec": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3"
|
"@polkadot/util": "^8.3.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "7.6.1"
|
"@polkadot/types": "7.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/networks": "^8.3.3",
|
"@polkadot/networks": "^8.3.3",
|
||||||
"@polkadot/types": "7.6.1",
|
"@polkadot/types": "7.7.1",
|
||||||
"@polkadot/types-codec": "7.6.1",
|
"@polkadot/types-codec": "7.7.1",
|
||||||
"@polkadot/types-create": "7.6.1",
|
"@polkadot/types-create": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3"
|
"@polkadot/util": "^8.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/util": "^8.3.3"
|
"@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",
|
"name": "Version",
|
||||||
"type": 157,
|
"type": 157,
|
||||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000b42300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000900000000",
|
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000c82300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000a00000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Get the chain's current version."
|
" Get the chain's current version."
|
||||||
]
|
]
|
||||||
@@ -326,19 +326,6 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" Lookup from identity to the block number and index of the task."
|
" 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": {
|
"errors": {
|
||||||
"type": 427
|
"type": 426
|
||||||
},
|
},
|
||||||
"index": 1
|
"index": 1
|
||||||
},
|
},
|
||||||
@@ -387,7 +374,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 428
|
"value": 427
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -404,7 +391,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 430
|
"value": 429
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -422,7 +409,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 431
|
"type": 430
|
||||||
},
|
},
|
||||||
"index": 10
|
"index": 10
|
||||||
},
|
},
|
||||||
@@ -446,7 +433,7 @@
|
|||||||
"name": "Authorities",
|
"name": "Authorities",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 432
|
"plain": 431
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -522,7 +509,7 @@
|
|||||||
"name": "NextAuthorities",
|
"name": "NextAuthorities",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 432
|
"plain": 431
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -557,7 +544,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 435
|
"value": 434
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -569,7 +556,7 @@
|
|||||||
"name": "Initialized",
|
"name": "Initialized",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 437
|
"plain": 436
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -581,7 +568,7 @@
|
|||||||
"name": "AuthorVrfRandomness",
|
"name": "AuthorVrfRandomness",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 437
|
"plain": 436
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -625,7 +612,7 @@
|
|||||||
"name": "EpochConfig",
|
"name": "EpochConfig",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 438
|
"plain": 437
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -637,7 +624,7 @@
|
|||||||
"name": "NextEpochConfig",
|
"name": "NextEpochConfig",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 438
|
"plain": 437
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -684,7 +671,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 439
|
"type": 438
|
||||||
},
|
},
|
||||||
"index": 2
|
"index": 2
|
||||||
},
|
},
|
||||||
@@ -751,7 +738,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 440
|
"value": 439
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -778,7 +765,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 441
|
"type": 440
|
||||||
},
|
},
|
||||||
"index": 4
|
"index": 4
|
||||||
},
|
},
|
||||||
@@ -812,8 +799,29 @@
|
|||||||
},
|
},
|
||||||
"fallback": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
"fallback": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"docs": [
|
"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."
|
" NOTE: This is only used in the case that this pallet is used to store balances."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -826,7 +834,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 442
|
"value": 441
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -844,7 +852,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 446
|
"value": 445
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -856,7 +864,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 449
|
"plain": 448
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -901,7 +909,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 450
|
"type": 449
|
||||||
},
|
},
|
||||||
"index": 5
|
"index": 5
|
||||||
},
|
},
|
||||||
@@ -914,7 +922,7 @@
|
|||||||
"name": "NextFeeMultiplier",
|
"name": "NextFeeMultiplier",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 451
|
"plain": 450
|
||||||
},
|
},
|
||||||
"fallback": "0x000064a7b3b6e00d0000000000000000",
|
"fallback": "0x000064a7b3b6e00d0000000000000000",
|
||||||
"docs": []
|
"docs": []
|
||||||
@@ -923,7 +931,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 452
|
"plain": 451
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": []
|
"docs": []
|
||||||
@@ -971,7 +979,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "WeightToFee",
|
"name": "WeightToFee",
|
||||||
"type": 453,
|
"type": 452,
|
||||||
"value": "0x040000000000000000000000000000000000b4c4040001",
|
"value": "0x040000000000000000000000000000000000b4c4040001",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The polynomial that is applied in order to derive fee from weight."
|
" The polynomial that is applied in order to derive fee from weight."
|
||||||
@@ -990,7 +998,7 @@
|
|||||||
"name": "Uncles",
|
"name": "Uncles",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 455
|
"plain": 454
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -1038,7 +1046,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 457
|
"type": 456
|
||||||
},
|
},
|
||||||
"index": 6
|
"index": 6
|
||||||
},
|
},
|
||||||
@@ -1160,7 +1168,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 458
|
"value": 457
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -1235,12 +1243,27 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 461
|
"value": 460
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"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",
|
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can",
|
||||||
" claim their reward. This used to limit the i/o cost for the nominator payout."
|
" claim their reward. This used to limit the i/o cost for the nominator payout."
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "MaxNominations",
|
|
||||||
"type": 4,
|
|
||||||
"value": "0x10000000",
|
|
||||||
"docs": []
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
|
|||||||
@@ -10813,12 +10813,7 @@
|
|||||||
],
|
],
|
||||||
"index": 8,
|
"index": 8,
|
||||||
"docs": [
|
"docs": [
|
||||||
"Make some on-chain remark and emit event.",
|
"Make some on-chain remark and emit event."
|
||||||
"",
|
|
||||||
"# <weight>",
|
|
||||||
"- `O(b)` where b is the length of the remark.",
|
|
||||||
"- 1 event.",
|
|
||||||
"# </weight>"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -13649,7 +13644,7 @@
|
|||||||
"",
|
"",
|
||||||
"# <weight>",
|
"# <weight>",
|
||||||
"- The transaction's complexity is proportional to the size of `targets` (N)",
|
"- 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.",
|
"- Both the reads and writes follow a similar pattern.",
|
||||||
"# </weight>"
|
"# </weight>"
|
||||||
]
|
]
|
||||||
@@ -13855,12 +13850,7 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
"Set the validators who cannot be slashed (if any).",
|
"Set the validators who cannot be slashed (if any).",
|
||||||
"",
|
"",
|
||||||
"The dispatch origin must be Root.",
|
"The dispatch origin must be Root."
|
||||||
"",
|
|
||||||
"# <weight>",
|
|
||||||
"- O(V)",
|
|
||||||
"- Write: Invulnerables",
|
|
||||||
"# </weight>"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -13883,14 +13873,7 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
"Force a current staker to become completely unstaked, immediately.",
|
"Force a current staker to become completely unstaked, immediately.",
|
||||||
"",
|
"",
|
||||||
"The dispatch origin must be Root.",
|
"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>"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -13906,12 +13889,7 @@
|
|||||||
"",
|
"",
|
||||||
"The election process starts multiple blocks before the end of the era.",
|
"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",
|
"If this is called just before a new era is triggered, the election process may not",
|
||||||
"have enough blocks to get a result.",
|
"have enough blocks to get a result."
|
||||||
"",
|
|
||||||
"# <weight>",
|
|
||||||
"- Weight: O(1)",
|
|
||||||
"- Write: ForceEra",
|
|
||||||
"# </weight>"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -13936,15 +13914,7 @@
|
|||||||
"",
|
"",
|
||||||
"Can be called by the `T::SlashCancelOrigin`.",
|
"Can be called by the `T::SlashCancelOrigin`.",
|
||||||
"",
|
"",
|
||||||
"Parameters: era and indices of the slashes for that era to kill.",
|
"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>"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -14194,6 +14164,11 @@
|
|||||||
"",
|
"",
|
||||||
"If the caller is different than the controller being targeted, the following conditions",
|
"If the caller is different than the controller being targeted, the following conditions",
|
||||||
"must be met:",
|
"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",
|
"* 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.",
|
" 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",
|
"* A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine",
|
||||||
@@ -21599,6 +21574,30 @@
|
|||||||
"Queue size must be provided as witness data.",
|
"Queue size must be provided as witness data.",
|
||||||
"# </weight>"
|
"# </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,
|
"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": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_scheduler",
|
"pallet_scheduler",
|
||||||
@@ -29013,7 +28977,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 428,
|
"id": 427,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_preimage",
|
"pallet_preimage",
|
||||||
@@ -29037,7 +29001,7 @@
|
|||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": null,
|
"name": null,
|
||||||
"type": 429,
|
"type": 428,
|
||||||
"typeName": "Option<(AccountId, Balance)>",
|
"typeName": "Option<(AccountId, Balance)>",
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
@@ -29065,7 +29029,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 429,
|
"id": 428,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"Option"
|
"Option"
|
||||||
@@ -29105,7 +29069,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 430,
|
"id": 429,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"frame_support",
|
"frame_support",
|
||||||
@@ -29139,7 +29103,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 431,
|
"id": 430,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_preimage",
|
"pallet_preimage",
|
||||||
@@ -29212,7 +29176,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 432,
|
"id": 431,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"frame_support",
|
"frame_support",
|
||||||
@@ -29223,7 +29187,7 @@
|
|||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "T",
|
"name": "T",
|
||||||
"type": 433
|
"type": 432
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "S",
|
"name": "S",
|
||||||
@@ -29235,7 +29199,7 @@
|
|||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": null,
|
"name": null,
|
||||||
"type": 434,
|
"type": 433,
|
||||||
"typeName": "Vec<T>",
|
"typeName": "Vec<T>",
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
@@ -29246,7 +29210,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 433,
|
"id": 432,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [],
|
"path": [],
|
||||||
"params": [],
|
"params": [],
|
||||||
@@ -29260,20 +29224,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 434,
|
"id": 433,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [],
|
"path": [],
|
||||||
"params": [],
|
"params": [],
|
||||||
"def": {
|
"def": {
|
||||||
"sequence": {
|
"sequence": {
|
||||||
"type": 433
|
"type": 432
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 435,
|
"id": 434,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"frame_support",
|
"frame_support",
|
||||||
@@ -29296,7 +29260,7 @@
|
|||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": null,
|
"name": null,
|
||||||
"type": 436,
|
"type": 435,
|
||||||
"typeName": "Vec<T>",
|
"typeName": "Vec<T>",
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
@@ -29307,7 +29271,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 436,
|
"id": 435,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [],
|
"path": [],
|
||||||
"params": [],
|
"params": [],
|
||||||
@@ -29320,7 +29284,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 437,
|
"id": 436,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"Option"
|
"Option"
|
||||||
@@ -29360,7 +29324,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 438,
|
"id": 437,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"sp_consensus_babe",
|
"sp_consensus_babe",
|
||||||
@@ -29389,7 +29353,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 439,
|
"id": 438,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_babe",
|
"pallet_babe",
|
||||||
@@ -29438,7 +29402,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 440,
|
"id": 439,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [],
|
"path": [],
|
||||||
"params": [],
|
"params": [],
|
||||||
@@ -29453,7 +29417,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 441,
|
"id": 440,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_indices",
|
"pallet_indices",
|
||||||
@@ -29518,7 +29482,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 442,
|
"id": 441,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"frame_support",
|
"frame_support",
|
||||||
@@ -29529,7 +29493,7 @@
|
|||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "T",
|
"name": "T",
|
||||||
"type": 443
|
"type": 442
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "S",
|
"name": "S",
|
||||||
@@ -29541,7 +29505,7 @@
|
|||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": null,
|
"name": null,
|
||||||
"type": 445,
|
"type": 444,
|
||||||
"typeName": "Vec<T>",
|
"typeName": "Vec<T>",
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
@@ -29552,7 +29516,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 443,
|
"id": 442,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_balances",
|
"pallet_balances",
|
||||||
@@ -29581,7 +29545,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "reasons",
|
"name": "reasons",
|
||||||
"type": 444,
|
"type": 443,
|
||||||
"typeName": "Reasons",
|
"typeName": "Reasons",
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
@@ -29592,7 +29556,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 444,
|
"id": 443,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_balances",
|
"pallet_balances",
|
||||||
@@ -29627,20 +29591,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 445,
|
"id": 444,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [],
|
"path": [],
|
||||||
"params": [],
|
"params": [],
|
||||||
"def": {
|
"def": {
|
||||||
"sequence": {
|
"sequence": {
|
||||||
"type": 443
|
"type": 442
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 446,
|
"id": 445,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"frame_support",
|
"frame_support",
|
||||||
@@ -29651,7 +29615,7 @@
|
|||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "T",
|
"name": "T",
|
||||||
"type": 447
|
"type": 446
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "S",
|
"name": "S",
|
||||||
@@ -29663,7 +29627,7 @@
|
|||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": null,
|
"name": null,
|
||||||
"type": 448,
|
"type": 447,
|
||||||
"typeName": "Vec<T>",
|
"typeName": "Vec<T>",
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
@@ -29674,7 +29638,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 447,
|
"id": 446,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_balances",
|
"pallet_balances",
|
||||||
@@ -29712,20 +29676,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 448,
|
"id": 447,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [],
|
"path": [],
|
||||||
"params": [],
|
"params": [],
|
||||||
"def": {
|
"def": {
|
||||||
"sequence": {
|
"sequence": {
|
||||||
"type": 447
|
"type": 446
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 449,
|
"id": 448,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_balances",
|
"pallet_balances",
|
||||||
@@ -29754,7 +29718,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 450,
|
"id": 449,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_balances",
|
"pallet_balances",
|
||||||
@@ -29847,7 +29811,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 451,
|
"id": 450,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"sp_arithmetic",
|
"sp_arithmetic",
|
||||||
@@ -29871,7 +29835,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 452,
|
"id": 451,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_transaction_payment",
|
"pallet_transaction_payment",
|
||||||
@@ -29900,20 +29864,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 453,
|
"id": 452,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [],
|
"path": [],
|
||||||
"params": [],
|
"params": [],
|
||||||
"def": {
|
"def": {
|
||||||
"sequence": {
|
"sequence": {
|
||||||
"type": 454
|
"type": 453
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 454,
|
"id": 453,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"frame_support",
|
"frame_support",
|
||||||
@@ -29960,20 +29924,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 455,
|
"id": 454,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [],
|
"path": [],
|
||||||
"params": [],
|
"params": [],
|
||||||
"def": {
|
"def": {
|
||||||
"sequence": {
|
"sequence": {
|
||||||
"type": 456
|
"type": 455
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 456,
|
"id": 455,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_authorship",
|
"pallet_authorship",
|
||||||
@@ -30035,7 +29999,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 457,
|
"id": 456,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_authorship",
|
"pallet_authorship",
|
||||||
@@ -30116,7 +30080,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 458,
|
"id": 457,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_staking",
|
"pallet_staking",
|
||||||
@@ -30155,7 +30119,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "unlocking",
|
"name": "unlocking",
|
||||||
"type": 459,
|
"type": 458,
|
||||||
"typeName": "Vec<UnlockChunk<Balance>>",
|
"typeName": "Vec<UnlockChunk<Balance>>",
|
||||||
"docs": []
|
"docs": []
|
||||||
},
|
},
|
||||||
@@ -30172,20 +30136,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 459,
|
"id": 458,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [],
|
"path": [],
|
||||||
"params": [],
|
"params": [],
|
||||||
"def": {
|
"def": {
|
||||||
"sequence": {
|
"sequence": {
|
||||||
"type": 460
|
"type": 459
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 460,
|
"id": 459,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_staking",
|
"pallet_staking",
|
||||||
@@ -30219,7 +30183,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 461,
|
"id": 460,
|
||||||
"type": {
|
"type": {
|
||||||
"path": [
|
"path": [
|
||||||
"pallet_staking",
|
"pallet_staking",
|
||||||
@@ -30227,8 +30191,8 @@
|
|||||||
],
|
],
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "AccountId",
|
"name": "T",
|
||||||
"type": 0
|
"type": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"def": {
|
"def": {
|
||||||
@@ -30236,8 +30200,8 @@
|
|||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": "targets",
|
"name": "targets",
|
||||||
"type": 54,
|
"type": 461,
|
||||||
"typeName": "Vec<AccountId>",
|
"typeName": "BoundedVec<T::AccountId, T::MaxNominations>",
|
||||||
"docs": []
|
"docs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -30258,6 +30222,40 @@
|
|||||||
"docs": []
|
"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,
|
"id": 462,
|
||||||
"type": {
|
"type": {
|
||||||
@@ -34990,8 +34988,8 @@
|
|||||||
],
|
],
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "A",
|
"name": "T",
|
||||||
"type": 0
|
"type": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"def": {
|
"def": {
|
||||||
@@ -35000,13 +34998,13 @@
|
|||||||
{
|
{
|
||||||
"name": "voters",
|
"name": "voters",
|
||||||
"type": 568,
|
"type": 568,
|
||||||
"typeName": "Vec<(A, VoteWeight, Vec<A>)>",
|
"typeName": "Vec<VoterOf<T>>",
|
||||||
"docs": []
|
"docs": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "targets",
|
"name": "targets",
|
||||||
"type": 54,
|
"type": 54,
|
||||||
"typeName": "Vec<A>",
|
"typeName": "Vec<T::AccountId>",
|
||||||
"docs": []
|
"docs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -35037,7 +35035,7 @@
|
|||||||
"tuple": [
|
"tuple": [
|
||||||
0,
|
0,
|
||||||
8,
|
8,
|
||||||
54
|
461
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"docs": []
|
"docs": []
|
||||||
@@ -35298,6 +35296,14 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
"The call is not allowed at this point."
|
"The call is not allowed at this point."
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FallbackFailed",
|
||||||
|
"fields": [],
|
||||||
|
"index": 11,
|
||||||
|
"docs": [
|
||||||
|
"The fallback failed"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -38370,7 +38376,7 @@
|
|||||||
"params": [],
|
"params": [],
|
||||||
"def": {
|
"def": {
|
||||||
"sequence": {
|
"sequence": {
|
||||||
"type": 429
|
"type": 428
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"docs": []
|
"docs": []
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1063,7 +1063,7 @@
|
|||||||
"name": "SignedSubmissionIndices",
|
"name": "SignedSubmissionIndices",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 349
|
"plain": 350
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -1084,7 +1084,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 353
|
"value": 354
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -1258,7 +1258,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 354
|
"type": 355
|
||||||
},
|
},
|
||||||
"index": 9
|
"index": 9
|
||||||
},
|
},
|
||||||
@@ -1380,7 +1380,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 355
|
"value": 356
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -1455,12 +1455,27 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 358
|
"value": 359
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"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",
|
"name": "ActiveEra",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 359
|
"plain": 360
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -1544,7 +1559,7 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 360,
|
"key": 361,
|
||||||
"value": 62
|
"value": 62
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1567,7 +1582,7 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 360,
|
"key": 361,
|
||||||
"value": 62
|
"value": 62
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1595,7 +1610,7 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 360,
|
"key": 361,
|
||||||
"value": 203
|
"value": 203
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1636,7 +1651,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 361
|
"value": 362
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x0000000000",
|
"fallback": "0x0000000000",
|
||||||
@@ -1667,7 +1682,7 @@
|
|||||||
"name": "ForceEra",
|
"name": "ForceEra",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 365
|
"plain": 366
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -1708,7 +1723,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 366
|
"value": 367
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -1739,8 +1754,8 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 360,
|
"key": 361,
|
||||||
"value": 368
|
"value": 369
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -1758,7 +1773,7 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 360,
|
"key": 361,
|
||||||
"value": 6
|
"value": 6
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1776,7 +1791,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 369
|
"value": 370
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -1792,8 +1807,8 @@
|
|||||||
"hashers": [
|
"hashers": [
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 364,
|
"key": 365,
|
||||||
"value": 370
|
"value": 371
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
@@ -1830,7 +1845,7 @@
|
|||||||
"name": "OffendingValidators",
|
"name": "OffendingValidators",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 371
|
"plain": 372
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -1849,7 +1864,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 373
|
"plain": 374
|
||||||
},
|
},
|
||||||
"fallback": "0x07",
|
"fallback": "0x07",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -1918,16 +1933,10 @@
|
|||||||
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can",
|
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can",
|
||||||
" claim their reward. This used to limit the i/o cost for the nominator payout."
|
" claim their reward. This used to limit the i/o cost for the nominator payout."
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "MaxNominations",
|
|
||||||
"type": 4,
|
|
||||||
"value": "0x10000000",
|
|
||||||
"docs": []
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 374
|
"type": 375
|
||||||
},
|
},
|
||||||
"index": 10
|
"index": 10
|
||||||
},
|
},
|
||||||
@@ -1974,7 +1983,7 @@
|
|||||||
"name": "QueuedKeys",
|
"name": "QueuedKeys",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 375
|
"plain": 376
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2022,7 +2031,7 @@
|
|||||||
"hashers": [
|
"hashers": [
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 377,
|
"key": 378,
|
||||||
"value": 0
|
"value": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2041,7 +2050,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 379
|
"type": 380
|
||||||
},
|
},
|
||||||
"index": 11
|
"index": 11
|
||||||
},
|
},
|
||||||
@@ -2065,7 +2074,7 @@
|
|||||||
"name": "PublicProps",
|
"name": "PublicProps",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 380
|
"plain": 381
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2081,7 +2090,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 382
|
"value": 383
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2100,7 +2109,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 383
|
"value": 384
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2141,7 +2150,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 384
|
"value": 385
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2160,7 +2169,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 387
|
"value": 388
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
@@ -2207,7 +2216,7 @@
|
|||||||
"name": "NextExternal",
|
"name": "NextExternal",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 392
|
"plain": 393
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2226,7 +2235,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 393
|
"value": 394
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2256,7 +2265,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 394
|
"plain": 395
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2376,7 +2385,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 395
|
"type": 396
|
||||||
},
|
},
|
||||||
"index": 12
|
"index": 12
|
||||||
},
|
},
|
||||||
@@ -2389,7 +2398,7 @@
|
|||||||
"name": "Proposals",
|
"name": "Proposals",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 396
|
"plain": 397
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2422,7 +2431,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 397
|
"value": 398
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2473,7 +2482,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 398
|
"type": 399
|
||||||
},
|
},
|
||||||
"index": 13
|
"index": 13
|
||||||
},
|
},
|
||||||
@@ -2486,7 +2495,7 @@
|
|||||||
"name": "Proposals",
|
"name": "Proposals",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 399
|
"plain": 400
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2519,7 +2528,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 397
|
"value": 398
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2570,7 +2579,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 400
|
"type": 401
|
||||||
},
|
},
|
||||||
"index": 14
|
"index": 14
|
||||||
},
|
},
|
||||||
@@ -2583,7 +2592,7 @@
|
|||||||
"name": "Members",
|
"name": "Members",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 401
|
"plain": 402
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2596,7 +2605,7 @@
|
|||||||
"name": "RunnersUp",
|
"name": "RunnersUp",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 401
|
"plain": 402
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2642,7 +2651,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 403
|
"value": 404
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000",
|
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
@@ -2724,7 +2733,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 404
|
"type": 405
|
||||||
},
|
},
|
||||||
"index": 15
|
"index": 15
|
||||||
},
|
},
|
||||||
@@ -2765,7 +2774,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 405
|
"type": 406
|
||||||
},
|
},
|
||||||
"index": 16
|
"index": 16
|
||||||
},
|
},
|
||||||
@@ -2778,7 +2787,7 @@
|
|||||||
"name": "State",
|
"name": "State",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 406
|
"plain": 407
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2789,7 +2798,7 @@
|
|||||||
"name": "PendingChange",
|
"name": "PendingChange",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 407
|
"plain": 408
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2869,7 +2878,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 409
|
"type": 410
|
||||||
},
|
},
|
||||||
"index": 17
|
"index": 17
|
||||||
},
|
},
|
||||||
@@ -2898,7 +2907,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 410
|
"value": 411
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2910,7 +2919,7 @@
|
|||||||
"name": "Approvals",
|
"name": "Approvals",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 411
|
"plain": 412
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2928,7 +2937,7 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "ProposalBond",
|
"name": "ProposalBond",
|
||||||
"type": 412,
|
"type": 413,
|
||||||
"value": "0x50c30000",
|
"value": "0x50c30000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Fraction of a proposal's value that should be bonded in order to place the proposal.",
|
" Fraction of a proposal's value that should be bonded in order to place the proposal.",
|
||||||
@@ -2945,7 +2954,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ProposalBondMaximum",
|
"name": "ProposalBondMaximum",
|
||||||
"type": 413,
|
"type": 414,
|
||||||
"value": "0x00",
|
"value": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Maximum amount of funds that should be placed in a deposit for making a proposal."
|
" Maximum amount of funds that should be placed in a deposit for making a proposal."
|
||||||
@@ -2961,7 +2970,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Burn",
|
"name": "Burn",
|
||||||
"type": 412,
|
"type": 413,
|
||||||
"value": "0x20a10700",
|
"value": "0x20a10700",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Percentage of spare funds (if any) that are burnt per spend period."
|
" Percentage of spare funds (if any) that are burnt per spend period."
|
||||||
@@ -2969,7 +2978,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "PalletId",
|
"name": "PalletId",
|
||||||
"type": 414,
|
"type": 415,
|
||||||
"value": "0x70792f7472737279",
|
"value": "0x70792f7472737279",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The treasury's pallet id, used for deriving its sovereign account ID."
|
" The treasury's pallet id, used for deriving its sovereign account ID."
|
||||||
@@ -2985,7 +2994,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 415
|
"type": 416
|
||||||
},
|
},
|
||||||
"index": 18
|
"index": 18
|
||||||
},
|
},
|
||||||
@@ -3020,7 +3029,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 416
|
"value": 417
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3037,7 +3046,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 417
|
"value": 418
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3065,7 +3074,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 418
|
"value": 419
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3079,7 +3088,7 @@
|
|||||||
"name": "DeletionQueue",
|
"name": "DeletionQueue",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 419
|
"plain": 420
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3100,8 +3109,8 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "Schedule",
|
"name": "Schedule",
|
||||||
"type": 421,
|
"type": 422,
|
||||||
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000820f0000b44100007a440000a6360000e4480000ba2c0000f0320000262f000022010000e2ed0200726b0400661c00004e25000002260000582a0000ec3b0000a8340000a00f000099bdd800081b0000f41a0000621b00004e1b0000ac2b0000a22b0000121b0000d8310000a0320000e6320000f032000018330000223300000e3300002c33000082320000ec310000ce310000ec310000a0320000464b00003a3e0000804800007a3f000028320000ec310000f6310000f631000000320000d23200003c3200003c320000769a0800000000000ebc080000000000d4a5080000000000da7d1600000000007c71080000000000b8580800000000004c510800000000007e60080000000000e2451400000000008c420400000000004c4c0800000000007400000000000000d82d310000000000e70000000000000088bf9a27000000007279190000000000860c2c00000000002ced9d07000000003c03000000000000ded9060000000000c6a2b207000000002e010000000000006f00000000000000b86eae07000000006d00000000000000b468aa01000000006500000000000000b615b001000000009c020000000000001ef8b40700000000b0020000000000000cd381080000000084491a13000000002c68a40800000000e200000000000000540100000000000058aa142f00000000e7000000000000005e0100000000000025060000000000005ed60c0000000000e411000000000000547e0f0000000000de0b000000000000da7f0a0000000000c0040000000000003a6b0a0000000000bf040000000000002e8c2d0900000000",
|
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000810b0000c01c000094200000b617000051270000fe0b00005d160000c11b0000320000008e7e02004d27040033180000a30c0000d30e0000120c000043210000bd290000f70d0000ec4bb200080c0000120c0000d60b0000da0c0000860b0000400b0000860b00007f1200007f120000b1120000b1120000c1110000e3120000891200000113000075120000b1120000a3110000cb1100007b1100007f2b0000ab2c0000b72a0000192d0000cb110000df110000431200006b1200004d120000931200007f1200007f1200005c9c0700000000002c4f070000000000865407000000000066e9140000000000fe63070000000000bc5a070000000000ee4b070000000000205b070000000000406c12000000000014c0030000000000f03f0700000000007300000000000000d8341b0000000000c00000000000000068fec72600000000443a18000000000010c52a0000000000f0599f07000000002803000000000000f824060000000000ce9bb1070000000013010000000000006c000000000000008213ae07000000006f00000000000000487aaa01000000006800000000000000a6c2ae0100000000720200000000000066c1b207000000007b0200000000000060797808000000006cd71c13000000008246c50800000000c4000000000000003501000000000000442e142e00000000c4000000000000003401000000000000020600000000000020420c0000000000c011000000000000ae070e0000000000b30b00000000000092af090000000000900400000000000030990900000000009504000000000000b23f320900000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Cost schedule and limits."
|
" Cost schedule and limits."
|
||||||
]
|
]
|
||||||
@@ -3109,7 +3118,7 @@
|
|||||||
{
|
{
|
||||||
"name": "DeletionQueueDepth",
|
"name": "DeletionQueueDepth",
|
||||||
"type": 4,
|
"type": 4,
|
||||||
"value": "0x633a0600",
|
"value": "0x82460000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The maximum number of contracts that can be pending for deletion.",
|
" The maximum number of contracts that can be pending for deletion.",
|
||||||
"",
|
"",
|
||||||
@@ -3167,7 +3176,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 425
|
"type": 426
|
||||||
},
|
},
|
||||||
"index": 19
|
"index": 19
|
||||||
},
|
},
|
||||||
@@ -3197,7 +3206,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 426
|
"type": 427
|
||||||
},
|
},
|
||||||
"index": 20
|
"index": 20
|
||||||
},
|
},
|
||||||
@@ -3231,7 +3240,7 @@
|
|||||||
"name": "Keys",
|
"name": "Keys",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 427
|
"plain": 428
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3248,7 +3257,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 73,
|
"key": 73,
|
||||||
"value": 429
|
"value": 430
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3266,7 +3275,7 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 360,
|
"key": 361,
|
||||||
"value": 4
|
"value": 4
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3298,7 +3307,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 434
|
"type": 435
|
||||||
},
|
},
|
||||||
"index": 21
|
"index": 21
|
||||||
},
|
},
|
||||||
@@ -3311,7 +3320,7 @@
|
|||||||
"name": "Keys",
|
"name": "Keys",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 435
|
"plain": 436
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3322,7 +3331,7 @@
|
|||||||
"name": "NextKeys",
|
"name": "NextKeys",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 435
|
"plain": 436
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3351,7 +3360,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 437
|
"value": 438
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3368,7 +3377,7 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 438,
|
"key": 439,
|
||||||
"value": 98
|
"value": 98
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3458,7 +3467,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 439
|
"value": 440
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3495,7 +3504,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 443
|
"value": 444
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x0000000000000000000000000000000000",
|
"fallback": "0x0000000000000000000000000000000000",
|
||||||
@@ -3511,7 +3520,7 @@
|
|||||||
"name": "Registrars",
|
"name": "Registrars",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 445
|
"plain": 446
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3584,7 +3593,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 449
|
"type": 450
|
||||||
},
|
},
|
||||||
"index": 26
|
"index": 26
|
||||||
},
|
},
|
||||||
@@ -3620,7 +3629,7 @@
|
|||||||
"name": "Candidates",
|
"name": "Candidates",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 450
|
"plain": 451
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3636,7 +3645,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 453
|
"value": 454
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3698,7 +3707,7 @@
|
|||||||
"name": "Bids",
|
"name": "Bids",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 450
|
"plain": 451
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3714,7 +3723,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 454
|
"value": 455
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3731,7 +3740,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 455
|
"value": 456
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3765,8 +3774,8 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 457,
|
"key": 458,
|
||||||
"value": 458
|
"value": 459
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3794,7 +3803,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 458
|
"value": 459
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3824,7 +3833,7 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "PalletId",
|
"name": "PalletId",
|
||||||
"type": 414,
|
"type": 415,
|
||||||
"value": "0x70792f736f636965",
|
"value": "0x70792f736f636965",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The societies's pallet id"
|
" The societies's pallet id"
|
||||||
@@ -3898,7 +3907,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 459
|
"type": 460
|
||||||
},
|
},
|
||||||
"index": 27
|
"index": 27
|
||||||
},
|
},
|
||||||
@@ -3916,7 +3925,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 460
|
"value": 461
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3933,8 +3942,8 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 457,
|
"key": 458,
|
||||||
"value": 461
|
"value": 462
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4020,7 +4029,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 462
|
"type": 463
|
||||||
},
|
},
|
||||||
"index": 28
|
"index": 28
|
||||||
},
|
},
|
||||||
@@ -4038,7 +4047,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 463
|
"value": 464
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4050,7 +4059,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 465
|
"plain": 466
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -4084,7 +4093,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 466
|
"type": 467
|
||||||
},
|
},
|
||||||
"index": 29
|
"index": 29
|
||||||
},
|
},
|
||||||
@@ -4102,7 +4111,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 467
|
"value": 468
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4126,19 +4135,6 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" Lookup from identity to the block number and index of the task."
|
" 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",
|
"name": "BountyCuratorDeposit",
|
||||||
"type": 412,
|
"type": 413,
|
||||||
"value": "0x20a10700",
|
"value": "0x20a10700",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Percentage of the curator fee that will be reserved upfront as deposit for bounty",
|
" Percentage of the curator fee that will be reserved upfront as deposit for bounty",
|
||||||
@@ -4691,7 +4687,7 @@
|
|||||||
"Blake2_128Concat",
|
"Blake2_128Concat",
|
||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 360,
|
"key": 361,
|
||||||
"value": 495
|
"value": 495
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -4954,7 +4950,7 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "PalletId",
|
"name": "PalletId",
|
||||||
"type": 414,
|
"type": 415,
|
||||||
"value": "0x70792f6c6f74746f",
|
"value": "0x70792f6c6f74746f",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The Lottery's pallet id"
|
" The Lottery's pallet id"
|
||||||
@@ -4993,7 +4989,7 @@
|
|||||||
"name": "QueueTotals",
|
"name": "QueueTotals",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 455
|
"plain": 456
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5186,7 +5182,7 @@
|
|||||||
"Blake2_128Concat",
|
"Blake2_128Concat",
|
||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 364,
|
"key": 365,
|
||||||
"value": 27
|
"value": 27
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -5709,7 +5705,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ChildBountyCuratorDepositBase",
|
"name": "ChildBountyCuratorDepositBase",
|
||||||
"type": 412,
|
"type": 413,
|
||||||
"value": "0xa0860100",
|
"value": "0xa0860100",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Percentage of child-bounty value to be reserved as curator deposit",
|
" 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
|
// 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"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "7.6.1",
|
"version": "7.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.7",
|
"@babel/runtime": "^7.17.0",
|
||||||
"@polkadot/keyring": "^8.3.3",
|
"@polkadot/keyring": "^8.3.3",
|
||||||
"@polkadot/types-augment": "7.6.1",
|
"@polkadot/types-augment": "7.7.1",
|
||||||
"@polkadot/types-codec": "7.6.1",
|
"@polkadot/types-codec": "7.7.1",
|
||||||
"@polkadot/types-create": "7.6.1",
|
"@polkadot/types-create": "7.7.1",
|
||||||
"@polkadot/util": "^8.3.3",
|
"@polkadot/util": "^8.3.3",
|
||||||
"@polkadot/util-crypto": "^8.3.3",
|
"@polkadot/util-crypto": "^8.3.3",
|
||||||
"rxjs": "^7.5.2"
|
"rxjs": "^7.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^8.3.3",
|
"@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, () =>
|
lazyMethod(result, version >= 12 ? index.toNumber() : i, () =>
|
||||||
lazyVariants(lookup, events.unwrap(), getVariantStringIdx, (variant: SiVariant): CodecClass<GenericEventData> => {
|
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 {
|
return class extends GenericEventData {
|
||||||
constructor (registry: Registry, value: Uint8Array) {
|
constructor (registry: Registry, value: Uint8Array) {
|
||||||
@@ -118,7 +118,7 @@ function injectExtrinsics (registry: TypeRegistry, { lookup, pallets }: Metadata
|
|||||||
|
|
||||||
// extract additional properties from the metadata
|
// extract additional properties from the metadata
|
||||||
function extractProperties (registry: TypeRegistry, metadata: Metadata): ChainProperties | undefined {
|
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 constants = decorateConstants(registry, metadata.asLatest, metadata.version);
|
||||||
const ss58Format = constants.system && (constants.system.sS58Prefix || constants.system.ss58Prefix);
|
const ss58Format = constants.system && (constants.system.sS58Prefix || constants.system.ss58Prefix);
|
||||||
|
|
||||||
@@ -154,7 +154,7 @@ export class TypeRegistry implements Registry {
|
|||||||
|
|
||||||
#hasher: (data: Uint8Array) => Uint8Array = blake2AsU8a;
|
#hasher: (data: Uint8Array) => Uint8Array = blake2AsU8a;
|
||||||
|
|
||||||
readonly #knownDefaults: RegistryTypes;
|
readonly #knownDefaults: Record<string, CodecClass>;
|
||||||
|
|
||||||
readonly #knownDefinitions: Record<string, Definitions>;
|
readonly #knownDefinitions: Record<string, Definitions>;
|
||||||
|
|
||||||
@@ -170,30 +170,15 @@ export class TypeRegistry implements Registry {
|
|||||||
this.#knownDefaults = objectSpread({ Json, Metadata, PortableRegistry, Raw }, baseTypes);
|
this.#knownDefaults = objectSpread({ Json, Metadata, PortableRegistry, Raw }, baseTypes);
|
||||||
this.#knownDefinitions = definitions;
|
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);
|
const allKnown = Object.values(this.#knownDefinitions);
|
||||||
|
|
||||||
for (let i = 0; i < allKnown.length; i++) {
|
for (let i = 0; i < allKnown.length; i++) {
|
||||||
this.register(allKnown[i].types as unknown as RegistryTypes);
|
this.register(allKnown[i].types as unknown as RegistryTypes);
|
||||||
}
|
}
|
||||||
|
|
||||||
return this;
|
if (createdAtHash) {
|
||||||
|
this.createdAtHash = this.createType('Hash', createdAtHash);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public get chainDecimals (): number[] {
|
public get chainDecimals (): number[] {
|
||||||
@@ -262,6 +247,10 @@ export class TypeRegistry implements Registry {
|
|||||||
return this.#signedExtensions;
|
return this.#signedExtensions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public clearCache (): void {
|
||||||
|
this.#classes = new Map();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @describe Creates an instance of the class
|
* @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 {
|
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
|
// we have not already created the type, attempt it
|
||||||
if (!Type) {
|
if (!Type) {
|
||||||
@@ -369,6 +358,12 @@ export class TypeRegistry implements Registry {
|
|||||||
// (previously this used to be a simple find & return)
|
// (previously this used to be a simple find & return)
|
||||||
const names: string[] = [];
|
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()) {
|
for (const [name, Clazz] of this.#classes.entries()) {
|
||||||
if (Type === Clazz) {
|
if (Type === Clazz) {
|
||||||
names.push(name);
|
names.push(name);
|
||||||
@@ -412,7 +407,7 @@ export class TypeRegistry implements Registry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public hasClass (name: string): boolean {
|
public hasClass (name: string): boolean {
|
||||||
return this.#classes.has(name);
|
return this.#classes.has(name) || !!this.#knownDefaults[name];
|
||||||
}
|
}
|
||||||
|
|
||||||
public hasDef (name: string): boolean {
|
public hasDef (name: string): boolean {
|
||||||
|
|||||||
@@ -17,6 +17,11 @@ export default {
|
|||||||
'unsubscribeJustifications'
|
'unsubscribeJustifications'
|
||||||
],
|
],
|
||||||
type: 'BeefySignedCommitment'
|
type: 'BeefySignedCommitment'
|
||||||
|
},
|
||||||
|
getFinalizedHead: {
|
||||||
|
description: 'Returns hash of the latest BEEFY finalized block as seen by this client.',
|
||||||
|
params: [],
|
||||||
|
type: 'H256'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
types: {
|
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
|
// 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
|
// 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> {
|
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> = {};
|
const alias: Record<number, string> = {};
|
||||||
|
|
||||||
if (params.SpRuntimeUncheckedExtrinsic) {
|
if (params.SpRuntimeUncheckedExtrinsic) {
|
||||||
|
|||||||
@@ -13,7 +13,10 @@ const l = logger('metadata');
|
|||||||
/** @internal */
|
/** @internal */
|
||||||
export function validateTypes (registry: Registry, throwError: boolean, types: string[]): string[] {
|
export function validateTypes (registry: Registry, throwError: boolean, types: string[]): string[] {
|
||||||
const missing = flattenUniq(extractTypes(types))
|
const missing = flattenUniq(extractTypes(types))
|
||||||
.filter((type) => !registry.hasType(type))
|
.filter((type) =>
|
||||||
|
!registry.hasType(type) &&
|
||||||
|
!registry.isLookupType(type)
|
||||||
|
)
|
||||||
.sort();
|
.sort();
|
||||||
|
|
||||||
if (missing.length !== 0) {
|
if (missing.length !== 0) {
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// 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 {
|
export interface Registry {
|
||||||
// readonly chainDecimals: number[];
|
|
||||||
// readonly chainSS58: number | undefined;
|
|
||||||
// readonly chainTokens: string[];
|
|
||||||
readonly knownTypes: RegisteredTypes;
|
readonly knownTypes: RegisteredTypes;
|
||||||
// readonly lookup: PortableRegistry;
|
|
||||||
readonly metadata: MetadataLatest;
|
readonly metadata: MetadataLatest;
|
||||||
readonly unknownTypes: string[];
|
readonly unknownTypes: string[];
|
||||||
readonly signedExtensions: string[];
|
readonly signedExtensions: string[];
|
||||||
|
|
||||||
// createdAtHash?: Hash;
|
|
||||||
|
|
||||||
findMetaCall (callIndex: Uint8Array): CallFunctionExt;
|
findMetaCall (callIndex: Uint8Array): CallFunctionExt;
|
||||||
findMetaError (errorIndex: Uint8Array | { error: BN, index: BN }): RegistryError;
|
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;
|
createLookupType (lookupId: SiLookupTypeId | number): string;
|
||||||
|
|
||||||
createClass <T extends Codec = Codec, K extends string = string> (type: K): CodecClass<DetectCodec<T, K>>;
|
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;
|
get <T extends Codec = Codec, K extends string = string> (name: K, withUnknown?: boolean, knownTypeDef?: TypeDef): CodecClass<DetectCodec<T, K>> | undefined;
|
||||||
getChainProperties (): ChainProperties | undefined;
|
getChainProperties (): ChainProperties | undefined;
|
||||||
// getClassName (clazz: Constructor): string | undefined;
|
|
||||||
getDefinition (typeName: string): string | undefined;
|
getDefinition (typeName: string): string | undefined;
|
||||||
getModuleInstances (specName: string, moduleName: 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;
|
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;
|
setChainProperties (properties?: ChainProperties): void;
|
||||||
setHasher (hasher?: CodecHasher | null): void;
|
setHasher (hasher?: CodecHasher | null): void;
|
||||||
setLookup (lookup: PortableRegistry): void;
|
setLookup (lookup: PortableRegistry): void;
|
||||||
|
|||||||
Reference in New Issue
Block a user