@pezkuwi/api-augment 16.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/build/base.d.ts +2 -0
- package/build/bundle.d.ts +2 -0
- package/build/index.d.ts +2 -0
- package/build/packageDetect.d.ts +1 -0
- package/build/packageInfo.d.ts +6 -0
- package/build/substrate/consts.d.ts +1876 -0
- package/build/substrate/errors.d.ts +3865 -0
- package/build/substrate/events.d.ts +4702 -0
- package/build/substrate/index.d.ts +8 -0
- package/build/substrate/query.d.ts +2767 -0
- package/build/substrate/registry.d.ts +1 -0
- package/build/substrate/runtime.d.ts +741 -0
- package/build/substrate/tx.d.ts +10869 -0
- package/package.json +32 -0
- package/src/assetHubKusama/consts.ts +1308 -0
- package/src/assetHubKusama/errors.ts +2779 -0
- package/src/assetHubKusama/events.ts +2296 -0
- package/src/assetHubKusama/index.ts +11 -0
- package/src/assetHubKusama/query.ts +2193 -0
- package/src/assetHubKusama/registry.ts +4 -0
- package/src/assetHubKusama/runtime.ts +518 -0
- package/src/assetHubKusama/tx.ts +6890 -0
- package/src/assetHubPolkadot/consts.ts +1125 -0
- package/src/assetHubPolkadot/errors.ts +2360 -0
- package/src/assetHubPolkadot/events.ts +2129 -0
- package/src/assetHubPolkadot/index.ts +11 -0
- package/src/assetHubPolkadot/query.ts +2002 -0
- package/src/assetHubPolkadot/registry.ts +4 -0
- package/src/assetHubPolkadot/runtime.ts +443 -0
- package/src/assetHubPolkadot/tx.ts +6242 -0
- package/src/base.ts +6 -0
- package/src/bundle.ts +6 -0
- package/src/index.ts +6 -0
- package/src/kusama/consts.ts +1035 -0
- package/src/kusama/errors.ts +2436 -0
- package/src/kusama/events.ts +1791 -0
- package/src/kusama/index.ts +11 -0
- package/src/kusama/query.ts +2505 -0
- package/src/kusama/registry.ts +6 -0
- package/src/kusama/runtime.ts +610 -0
- package/src/kusama/tx.ts +4725 -0
- package/src/mod.ts +4 -0
- package/src/packageDetect.ts +14 -0
- package/src/packageInfo.ts +6 -0
- package/src/polkadot/consts.ts +949 -0
- package/src/polkadot/errors.ts +2156 -0
- package/src/polkadot/events.ts +1600 -0
- package/src/polkadot/index.ts +11 -0
- package/src/polkadot/query.ts +2357 -0
- package/src/polkadot/registry.ts +5 -0
- package/src/polkadot/runtime.ts +621 -0
- package/src/polkadot/tx.ts +4240 -0
- package/src/substrate/consts.ts +1884 -0
- package/src/substrate/errors.ts +3873 -0
- package/src/substrate/events.ts +2889 -0
- package/src/substrate/index.ts +11 -0
- package/src/substrate/query.ts +2734 -0
- package/src/substrate/registry.ts +4 -0
- package/src/substrate/runtime.ts +593 -0
- package/src/substrate/tx.ts +8208 -0
- package/tsconfig.assetHubKusama.json +22 -0
- package/tsconfig.assetHubPolkadot.json +22 -0
- package/tsconfig.build.json +23 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.kusama.json +22 -0
- package/tsconfig.polkadot.json +22 -0
|
@@ -0,0 +1,2734 @@
|
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/storage';
|
|
7
|
+
|
|
8
|
+
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@pezkuwi/api-base/types';
|
|
9
|
+
import type { Data } from '@pezkuwi/types';
|
|
10
|
+
import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
|
11
|
+
import type { AnyNumber, ITuple } from '@pezkuwi/types-codec/types';
|
|
12
|
+
import type { AccountId32, Call, H160, H256, Perbill, Percent } from '@pezkuwi/types/interfaces/runtime';
|
|
13
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetRewardsPoolInfo, PalletAssetRewardsPoolStakerInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerAutoRenewalRecord, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerOnDemandRevenueRecord, PalletBrokerPoolIoRecord, PalletBrokerPotentialRenewalId, PalletBrokerPotentialRenewalRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityProvider, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletIdentityUsernameInformation, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletReviveStorageContractInfo, PalletReviveStorageDeletionQueueManager, PalletReviveWasmCodeInfo, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight } from '@pezkuwi/types/lookup';
|
|
14
|
+
import type { Observable } from '@pezkuwi/types/types';
|
|
15
|
+
|
|
16
|
+
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
17
|
+
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
18
|
+
|
|
19
|
+
declare module '@polkadot/api-base/types/storage' {
|
|
20
|
+
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
21
|
+
alliance: {
|
|
22
|
+
/**
|
|
23
|
+
* The current IPFS CIDs of any announcements.
|
|
24
|
+
**/
|
|
25
|
+
announcements: AugmentedQuery<ApiType, () => Observable<Vec<PalletAllianceCid>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
26
|
+
/**
|
|
27
|
+
* Maps members to their candidacy deposit.
|
|
28
|
+
**/
|
|
29
|
+
depositOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
30
|
+
/**
|
|
31
|
+
* Maps member type to members of each type.
|
|
32
|
+
**/
|
|
33
|
+
members: AugmentedQuery<ApiType, (arg: PalletAllianceMemberRole | 'Fellow' | 'Ally' | 'Retiring' | number | Uint8Array) => Observable<Vec<AccountId32>>, [PalletAllianceMemberRole]> & QueryableStorageEntry<ApiType, [PalletAllianceMemberRole]>;
|
|
34
|
+
/**
|
|
35
|
+
* A set of members who gave a retirement notice. They can retire after the end of retirement
|
|
36
|
+
* period stored as a future block number.
|
|
37
|
+
**/
|
|
38
|
+
retiringMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
39
|
+
/**
|
|
40
|
+
* The IPFS CID of the alliance rule.
|
|
41
|
+
* Fellows can propose a new rule with a super-majority.
|
|
42
|
+
**/
|
|
43
|
+
rule: AugmentedQuery<ApiType, () => Observable<Option<PalletAllianceCid>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
44
|
+
/**
|
|
45
|
+
* The current list of accounts deemed unscrupulous. These accounts non grata cannot submit
|
|
46
|
+
* candidacy.
|
|
47
|
+
**/
|
|
48
|
+
unscrupulousAccounts: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
49
|
+
/**
|
|
50
|
+
* The current list of websites deemed unscrupulous.
|
|
51
|
+
**/
|
|
52
|
+
unscrupulousWebsites: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
53
|
+
/**
|
|
54
|
+
* Generic query
|
|
55
|
+
**/
|
|
56
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
57
|
+
};
|
|
58
|
+
allianceMotion: {
|
|
59
|
+
/**
|
|
60
|
+
* Consideration cost created for publishing and storing a proposal.
|
|
61
|
+
*
|
|
62
|
+
* Determined by [Config::Consideration] and may be not present for certain proposals (e.g. if
|
|
63
|
+
* the proposal count at the time of creation was below threshold N).
|
|
64
|
+
**/
|
|
65
|
+
costOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Null]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
66
|
+
/**
|
|
67
|
+
* The current members of the collective. This is stored sorted (just by value).
|
|
68
|
+
**/
|
|
69
|
+
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
70
|
+
/**
|
|
71
|
+
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
72
|
+
**/
|
|
73
|
+
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
74
|
+
/**
|
|
75
|
+
* Proposals so far.
|
|
76
|
+
**/
|
|
77
|
+
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
78
|
+
/**
|
|
79
|
+
* Actual proposal for a given hash, if it's current.
|
|
80
|
+
**/
|
|
81
|
+
proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
82
|
+
/**
|
|
83
|
+
* The hashes of the active proposals.
|
|
84
|
+
**/
|
|
85
|
+
proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
86
|
+
/**
|
|
87
|
+
* Votes on a given proposal, if it is ongoing.
|
|
88
|
+
**/
|
|
89
|
+
voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
90
|
+
/**
|
|
91
|
+
* Generic query
|
|
92
|
+
**/
|
|
93
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
94
|
+
};
|
|
95
|
+
assetConversion: {
|
|
96
|
+
/**
|
|
97
|
+
* Stores the `PoolAssetId` that is going to be used for the next lp token.
|
|
98
|
+
* This gets incremented whenever a new lp pool is created.
|
|
99
|
+
**/
|
|
100
|
+
nextPoolAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
101
|
+
/**
|
|
102
|
+
* Map from `PoolAssetId` to `PoolInfo`. This establishes whether a pool has been officially
|
|
103
|
+
* created rather than people sending tokens directly to a pool's public account.
|
|
104
|
+
**/
|
|
105
|
+
pools: AugmentedQuery<ApiType, (arg: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]> | [FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array, FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array]) => Observable<Option<PalletAssetConversionPoolInfo>>, [ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>]> & QueryableStorageEntry<ApiType, [ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>]>;
|
|
106
|
+
/**
|
|
107
|
+
* Generic query
|
|
108
|
+
**/
|
|
109
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
110
|
+
};
|
|
111
|
+
assetRate: {
|
|
112
|
+
/**
|
|
113
|
+
* Maps an asset to its fixed point representation in the native balance.
|
|
114
|
+
*
|
|
115
|
+
* E.g. `native_amount = asset_amount * ConversionRateToNative::<T>::get(asset_kind)`
|
|
116
|
+
**/
|
|
117
|
+
conversionRateToNative: AugmentedQuery<ApiType, (arg: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array) => Observable<Option<u128>>, [FrameSupportTokensFungibleUnionOfNativeOrWithId]> & QueryableStorageEntry<ApiType, [FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
|
|
118
|
+
/**
|
|
119
|
+
* Generic query
|
|
120
|
+
**/
|
|
121
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
122
|
+
};
|
|
123
|
+
assetRewards: {
|
|
124
|
+
/**
|
|
125
|
+
* Stores the [`PoolId`] to use for the next pool.
|
|
126
|
+
*
|
|
127
|
+
* Incremented when a new pool is created.
|
|
128
|
+
**/
|
|
129
|
+
nextPoolId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
130
|
+
/**
|
|
131
|
+
* The cost associated with storing pool information on-chain which was incurred by the pool
|
|
132
|
+
* creator.
|
|
133
|
+
*
|
|
134
|
+
* This cost may be [`None`], as determined by [`Config::Consideration`].
|
|
135
|
+
**/
|
|
136
|
+
poolCost: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
137
|
+
/**
|
|
138
|
+
* State and configuration of each staking pool.
|
|
139
|
+
**/
|
|
140
|
+
pools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetRewardsPoolInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
141
|
+
/**
|
|
142
|
+
* State of pool stakers.
|
|
143
|
+
**/
|
|
144
|
+
poolStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetRewardsPoolStakerInfo>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
145
|
+
/**
|
|
146
|
+
* Generic query
|
|
147
|
+
**/
|
|
148
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
149
|
+
};
|
|
150
|
+
assets: {
|
|
151
|
+
/**
|
|
152
|
+
* The holdings of a specific account for a specific asset.
|
|
153
|
+
**/
|
|
154
|
+
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
155
|
+
/**
|
|
156
|
+
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
|
157
|
+
* is the amount of `T::Currency` reserved for storing this.
|
|
158
|
+
* First key is the asset ID, second key is the owner and third key is the delegate.
|
|
159
|
+
**/
|
|
160
|
+
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [u32, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, AccountId32]>;
|
|
161
|
+
/**
|
|
162
|
+
* Details of an asset.
|
|
163
|
+
**/
|
|
164
|
+
asset: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
165
|
+
/**
|
|
166
|
+
* Metadata of an asset.
|
|
167
|
+
**/
|
|
168
|
+
metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
169
|
+
/**
|
|
170
|
+
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
171
|
+
* item has no effect.
|
|
172
|
+
*
|
|
173
|
+
* This can be useful for setting up constraints for IDs of the new assets. For example, by
|
|
174
|
+
* providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
|
|
175
|
+
* auto-increment model can be applied to all new asset IDs.
|
|
176
|
+
*
|
|
177
|
+
* The initial next asset ID can be set using the [`GenesisConfig`] or the
|
|
178
|
+
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
|
|
179
|
+
**/
|
|
180
|
+
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
181
|
+
/**
|
|
182
|
+
* Generic query
|
|
183
|
+
**/
|
|
184
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
185
|
+
};
|
|
186
|
+
assetsFreezer: {
|
|
187
|
+
/**
|
|
188
|
+
* A map that stores freezes applied on an account for a given AssetId.
|
|
189
|
+
**/
|
|
190
|
+
freezes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
191
|
+
/**
|
|
192
|
+
* A map that stores the current total frozen balance for every account on a given AssetId.
|
|
193
|
+
**/
|
|
194
|
+
frozenBalances: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
195
|
+
/**
|
|
196
|
+
* Generic query
|
|
197
|
+
**/
|
|
198
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
199
|
+
};
|
|
200
|
+
authorityDiscovery: {
|
|
201
|
+
/**
|
|
202
|
+
* Keys of the current authority set.
|
|
203
|
+
**/
|
|
204
|
+
keys: AugmentedQuery<ApiType, () => Observable<Vec<SpAuthorityDiscoveryAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
205
|
+
/**
|
|
206
|
+
* Keys of the next authority set.
|
|
207
|
+
**/
|
|
208
|
+
nextKeys: AugmentedQuery<ApiType, () => Observable<Vec<SpAuthorityDiscoveryAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
209
|
+
/**
|
|
210
|
+
* Generic query
|
|
211
|
+
**/
|
|
212
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
213
|
+
};
|
|
214
|
+
authorship: {
|
|
215
|
+
/**
|
|
216
|
+
* Author of current block.
|
|
217
|
+
**/
|
|
218
|
+
author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
219
|
+
/**
|
|
220
|
+
* Generic query
|
|
221
|
+
**/
|
|
222
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
223
|
+
};
|
|
224
|
+
babe: {
|
|
225
|
+
/**
|
|
226
|
+
* Current epoch authorities.
|
|
227
|
+
**/
|
|
228
|
+
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
229
|
+
/**
|
|
230
|
+
* This field should always be populated during block processing unless
|
|
231
|
+
* secondary plain slots are enabled (which don't contain a VRF output).
|
|
232
|
+
*
|
|
233
|
+
* It is set in `on_finalize`, before it will contain the value from the last block.
|
|
234
|
+
**/
|
|
235
|
+
authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
236
|
+
/**
|
|
237
|
+
* Current slot number.
|
|
238
|
+
**/
|
|
239
|
+
currentSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
240
|
+
/**
|
|
241
|
+
* The configuration for the current epoch. Should never be `None` as it is initialized in
|
|
242
|
+
* genesis.
|
|
243
|
+
**/
|
|
244
|
+
epochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
245
|
+
/**
|
|
246
|
+
* Current epoch index.
|
|
247
|
+
**/
|
|
248
|
+
epochIndex: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
249
|
+
/**
|
|
250
|
+
* The block numbers when the last and current epoch have started, respectively `N-1` and
|
|
251
|
+
* `N`.
|
|
252
|
+
* NOTE: We track this is in order to annotate the block number when a given pool of
|
|
253
|
+
* entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in
|
|
254
|
+
* slots, which may be skipped, the block numbers may not line up with the slot numbers.
|
|
255
|
+
**/
|
|
256
|
+
epochStart: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
257
|
+
/**
|
|
258
|
+
* The slot at which the first epoch actually started. This is 0
|
|
259
|
+
* until the first block of the chain.
|
|
260
|
+
**/
|
|
261
|
+
genesisSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
262
|
+
/**
|
|
263
|
+
* Temporary value (cleared at block finalization) which is `Some`
|
|
264
|
+
* if per-block initialization has already been called for current block.
|
|
265
|
+
**/
|
|
266
|
+
initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
267
|
+
/**
|
|
268
|
+
* How late the current block is compared to its parent.
|
|
269
|
+
*
|
|
270
|
+
* This entry is populated as part of block execution and is cleaned up
|
|
271
|
+
* on block finalization. Querying this storage entry outside of block
|
|
272
|
+
* execution context should always yield zero.
|
|
273
|
+
**/
|
|
274
|
+
lateness: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
275
|
+
/**
|
|
276
|
+
* Next epoch authorities.
|
|
277
|
+
**/
|
|
278
|
+
nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
279
|
+
/**
|
|
280
|
+
* The configuration for the next epoch, `None` if the config will not change
|
|
281
|
+
* (you can fallback to `EpochConfig` instead in that case).
|
|
282
|
+
**/
|
|
283
|
+
nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
284
|
+
/**
|
|
285
|
+
* Next epoch randomness.
|
|
286
|
+
**/
|
|
287
|
+
nextRandomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
|
|
288
|
+
/**
|
|
289
|
+
* Pending epoch configuration change that will be applied when the next epoch is enacted.
|
|
290
|
+
**/
|
|
291
|
+
pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
292
|
+
/**
|
|
293
|
+
* The epoch randomness for the *current* epoch.
|
|
294
|
+
*
|
|
295
|
+
* # Security
|
|
296
|
+
*
|
|
297
|
+
* This MUST NOT be used for gambling, as it can be influenced by a
|
|
298
|
+
* malicious validator in the short term. It MAY be used in many
|
|
299
|
+
* cryptographic protocols, however, so long as one remembers that this
|
|
300
|
+
* (like everything else on-chain) it is public. For example, it can be
|
|
301
|
+
* used where a number is needed that cannot have been chosen by an
|
|
302
|
+
* adversary, for purposes such as public-coin zero-knowledge proofs.
|
|
303
|
+
**/
|
|
304
|
+
randomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
|
|
305
|
+
/**
|
|
306
|
+
* Randomness under construction.
|
|
307
|
+
*
|
|
308
|
+
* We make a trade-off between storage accesses and list length.
|
|
309
|
+
* We store the under-construction randomness in segments of up to
|
|
310
|
+
* `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.
|
|
311
|
+
*
|
|
312
|
+
* Once a segment reaches this length, we begin the next one.
|
|
313
|
+
* We reset all segments and return to `0` at the beginning of every
|
|
314
|
+
* epoch.
|
|
315
|
+
**/
|
|
316
|
+
segmentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
317
|
+
/**
|
|
318
|
+
* A list of the last 100 skipped epochs and the corresponding session index
|
|
319
|
+
* when the epoch was skipped.
|
|
320
|
+
*
|
|
321
|
+
* This is only used for validating equivocation proofs. An equivocation proof
|
|
322
|
+
* must contains a key-ownership proof for a given session, therefore we need a
|
|
323
|
+
* way to tie together sessions and epoch indices, i.e. we need to validate that
|
|
324
|
+
* a validator was the owner of a given key on a given session, and what the
|
|
325
|
+
* active epoch index was during that session.
|
|
326
|
+
**/
|
|
327
|
+
skippedEpochs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
328
|
+
/**
|
|
329
|
+
* TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
|
|
330
|
+
**/
|
|
331
|
+
underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
332
|
+
/**
|
|
333
|
+
* Generic query
|
|
334
|
+
**/
|
|
335
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
336
|
+
};
|
|
337
|
+
balances: {
|
|
338
|
+
/**
|
|
339
|
+
* The Balances pallet example of storing the balance of an account.
|
|
340
|
+
*
|
|
341
|
+
* # Example
|
|
342
|
+
*
|
|
343
|
+
* ```nocompile
|
|
344
|
+
* impl pallet_balances::Config for Runtime {
|
|
345
|
+
* type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
|
|
346
|
+
* }
|
|
347
|
+
* ```
|
|
348
|
+
*
|
|
349
|
+
* You can also store the balance of an account in the `System` pallet.
|
|
350
|
+
*
|
|
351
|
+
* # Example
|
|
352
|
+
*
|
|
353
|
+
* ```nocompile
|
|
354
|
+
* impl pallet_balances::Config for Runtime {
|
|
355
|
+
* type AccountStore = System
|
|
356
|
+
* }
|
|
357
|
+
* ```
|
|
358
|
+
*
|
|
359
|
+
* But this comes with tradeoffs, storing account balances in the system pallet stores
|
|
360
|
+
* `frame_system` data alongside the account data contrary to storing account balances in the
|
|
361
|
+
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
|
362
|
+
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
363
|
+
**/
|
|
364
|
+
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
365
|
+
/**
|
|
366
|
+
* Freeze locks on account balances.
|
|
367
|
+
**/
|
|
368
|
+
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
369
|
+
/**
|
|
370
|
+
* Holds on account balances.
|
|
371
|
+
**/
|
|
372
|
+
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
373
|
+
/**
|
|
374
|
+
* The total units of outstanding deactivated balance in the system.
|
|
375
|
+
**/
|
|
376
|
+
inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
377
|
+
/**
|
|
378
|
+
* Any liquidity locks on some account balances.
|
|
379
|
+
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
|
380
|
+
*
|
|
381
|
+
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
382
|
+
**/
|
|
383
|
+
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
384
|
+
/**
|
|
385
|
+
* Named reserves on some account balances.
|
|
386
|
+
*
|
|
387
|
+
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
388
|
+
**/
|
|
389
|
+
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
390
|
+
/**
|
|
391
|
+
* The total units issued in the system.
|
|
392
|
+
**/
|
|
393
|
+
totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
394
|
+
/**
|
|
395
|
+
* Generic query
|
|
396
|
+
**/
|
|
397
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
398
|
+
};
|
|
399
|
+
beefy: {
|
|
400
|
+
/**
|
|
401
|
+
* The current authorities set
|
|
402
|
+
**/
|
|
403
|
+
authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
404
|
+
/**
|
|
405
|
+
* Block number where BEEFY consensus is enabled/started.
|
|
406
|
+
* By changing this (through privileged `set_new_genesis()`), BEEFY consensus is effectively
|
|
407
|
+
* restarted from the newly set block number.
|
|
408
|
+
**/
|
|
409
|
+
genesisBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
410
|
+
/**
|
|
411
|
+
* Authorities set scheduled to be used with the next session
|
|
412
|
+
**/
|
|
413
|
+
nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
414
|
+
/**
|
|
415
|
+
* A mapping from BEEFY set ID to the index of the *most recent* session for which its
|
|
416
|
+
* members were responsible.
|
|
417
|
+
*
|
|
418
|
+
* This is only used for validating equivocation proofs. An equivocation proof must
|
|
419
|
+
* contains a key-ownership proof for a given session, therefore we need a way to tie
|
|
420
|
+
* together sessions and BEEFY set ids, i.e. we need to validate that a validator
|
|
421
|
+
* was the owner of a given key on a given session, and what the active set ID was
|
|
422
|
+
* during that session.
|
|
423
|
+
*
|
|
424
|
+
* TWOX-NOTE: `ValidatorSetId` is not under user control.
|
|
425
|
+
**/
|
|
426
|
+
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
427
|
+
/**
|
|
428
|
+
* The current validator set id
|
|
429
|
+
**/
|
|
430
|
+
validatorSetId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
431
|
+
/**
|
|
432
|
+
* Generic query
|
|
433
|
+
**/
|
|
434
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
435
|
+
};
|
|
436
|
+
bounties: {
|
|
437
|
+
/**
|
|
438
|
+
* Bounties that have been made.
|
|
439
|
+
**/
|
|
440
|
+
bounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletBountiesBounty>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
441
|
+
/**
|
|
442
|
+
* Bounty indices that have been approved but not yet funded.
|
|
443
|
+
**/
|
|
444
|
+
bountyApprovals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
445
|
+
/**
|
|
446
|
+
* Number of bounty proposals that have been made.
|
|
447
|
+
**/
|
|
448
|
+
bountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
449
|
+
/**
|
|
450
|
+
* The description of each bounty.
|
|
451
|
+
**/
|
|
452
|
+
bountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
453
|
+
/**
|
|
454
|
+
* Generic query
|
|
455
|
+
**/
|
|
456
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
457
|
+
};
|
|
458
|
+
broker: {
|
|
459
|
+
/**
|
|
460
|
+
* Keeping track of cores which have auto-renewal enabled.
|
|
461
|
+
*
|
|
462
|
+
* Sorted by `CoreIndex` to make the removal of cores from auto-renewal more efficient.
|
|
463
|
+
**/
|
|
464
|
+
autoRenewals: AugmentedQuery<ApiType, () => Observable<Vec<PalletBrokerAutoRenewalRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
465
|
+
/**
|
|
466
|
+
* The current configuration of this pallet.
|
|
467
|
+
**/
|
|
468
|
+
configuration: AugmentedQuery<ApiType, () => Observable<Option<PalletBrokerConfigRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
469
|
+
/**
|
|
470
|
+
* Received core count change from the relay chain.
|
|
471
|
+
**/
|
|
472
|
+
coreCountInbox: AugmentedQuery<ApiType, () => Observable<Option<u16>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
473
|
+
/**
|
|
474
|
+
* Record of a single contribution to the Instantaneous Coretime Pool.
|
|
475
|
+
**/
|
|
476
|
+
instaPoolContribution: AugmentedQuery<ApiType, (arg: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array) => Observable<Option<PalletBrokerContributionRecord>>, [PalletBrokerRegionId]> & QueryableStorageEntry<ApiType, [PalletBrokerRegionId]>;
|
|
477
|
+
/**
|
|
478
|
+
* Total InstaPool rewards for each Timeslice and the number of core parts which contributed.
|
|
479
|
+
**/
|
|
480
|
+
instaPoolHistory: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletBrokerInstaPoolHistoryRecord>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
481
|
+
/**
|
|
482
|
+
* Record of Coretime entering or leaving the Instantaneous Coretime Pool.
|
|
483
|
+
**/
|
|
484
|
+
instaPoolIo: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletBrokerPoolIoRecord>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
485
|
+
/**
|
|
486
|
+
* The Polkadot Core legacy leases.
|
|
487
|
+
**/
|
|
488
|
+
leases: AugmentedQuery<ApiType, () => Observable<Vec<PalletBrokerLeaseRecordItem>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
489
|
+
/**
|
|
490
|
+
* Records of potential renewals.
|
|
491
|
+
*
|
|
492
|
+
* Renewals will only actually be allowed if `CompletionStatus` is actually `Complete`.
|
|
493
|
+
**/
|
|
494
|
+
potentialRenewals: AugmentedQuery<ApiType, (arg: PalletBrokerPotentialRenewalId | { core?: any; when?: any } | string | Uint8Array) => Observable<Option<PalletBrokerPotentialRenewalRecord>>, [PalletBrokerPotentialRenewalId]> & QueryableStorageEntry<ApiType, [PalletBrokerPotentialRenewalId]>;
|
|
495
|
+
/**
|
|
496
|
+
* The current (unassigned or provisionally assigend) Regions.
|
|
497
|
+
**/
|
|
498
|
+
regions: AugmentedQuery<ApiType, (arg: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array) => Observable<Option<PalletBrokerRegionRecord>>, [PalletBrokerRegionId]> & QueryableStorageEntry<ApiType, [PalletBrokerRegionId]>;
|
|
499
|
+
/**
|
|
500
|
+
* The Polkadot Core reservations (generally tasked with the maintenance of System Chains).
|
|
501
|
+
**/
|
|
502
|
+
reservations: AugmentedQuery<ApiType, () => Observable<Vec<Vec<PalletBrokerScheduleItem>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
503
|
+
/**
|
|
504
|
+
* Received revenue info from the relay chain.
|
|
505
|
+
**/
|
|
506
|
+
revenueInbox: AugmentedQuery<ApiType, () => Observable<Option<PalletBrokerOnDemandRevenueRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
507
|
+
/**
|
|
508
|
+
* The details of the current sale, including its properties and status.
|
|
509
|
+
**/
|
|
510
|
+
saleInfo: AugmentedQuery<ApiType, () => Observable<Option<PalletBrokerSaleInfoRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
511
|
+
/**
|
|
512
|
+
* The current status of miscellaneous subsystems of this pallet.
|
|
513
|
+
**/
|
|
514
|
+
status: AugmentedQuery<ApiType, () => Observable<Option<PalletBrokerStatusRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
515
|
+
/**
|
|
516
|
+
* The current workload of each core. This gets updated with workplan as timeslices pass.
|
|
517
|
+
**/
|
|
518
|
+
workload: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Vec<PalletBrokerScheduleItem>>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
|
|
519
|
+
/**
|
|
520
|
+
* The work we plan on having each core do at a particular time in the future.
|
|
521
|
+
**/
|
|
522
|
+
workplan: AugmentedQuery<ApiType, (arg: ITuple<[u32, u16]> | [u32 | AnyNumber | Uint8Array, u16 | AnyNumber | Uint8Array]) => Observable<Option<Vec<PalletBrokerScheduleItem>>>, [ITuple<[u32, u16]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u16]>]>;
|
|
523
|
+
/**
|
|
524
|
+
* Generic query
|
|
525
|
+
**/
|
|
526
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
527
|
+
};
|
|
528
|
+
childBounties: {
|
|
529
|
+
/**
|
|
530
|
+
* Child bounties that have been added.
|
|
531
|
+
**/
|
|
532
|
+
childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
533
|
+
/**
|
|
534
|
+
* DEPRECATED: Replaced with `ParentTotalChildBounties` storage item keeping dedicated counts
|
|
535
|
+
* for each parent bounty. Number of total child bounties. Will be removed in May 2025.
|
|
536
|
+
**/
|
|
537
|
+
childBountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
538
|
+
/**
|
|
539
|
+
* The description of each child-bounty. Indexed by `(parent_id, child_id)`.
|
|
540
|
+
*
|
|
541
|
+
* This item replaces the `ChildBountyDescriptions` storage item from the V0 storage version.
|
|
542
|
+
**/
|
|
543
|
+
childBountyDescriptionsV1: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
544
|
+
/**
|
|
545
|
+
* The cumulative child-bounty curator fee for each parent bounty.
|
|
546
|
+
**/
|
|
547
|
+
childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
548
|
+
/**
|
|
549
|
+
* Number of active child bounties per parent bounty.
|
|
550
|
+
* Map of parent bounty index to number of child bounties.
|
|
551
|
+
**/
|
|
552
|
+
parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
553
|
+
/**
|
|
554
|
+
* Number of total child bounties per parent bounty, including completed bounties.
|
|
555
|
+
**/
|
|
556
|
+
parentTotalChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
557
|
+
/**
|
|
558
|
+
* The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
|
|
559
|
+
*
|
|
560
|
+
* The `V0` ids based on total child bounty count [`ChildBountyCount`]`. The `V1` version ids
|
|
561
|
+
* based on the child bounty count per parent bounty [`ParentTotalChildBounties`].
|
|
562
|
+
* The item intended solely for client convenience and not used in the pallet's core logic.
|
|
563
|
+
**/
|
|
564
|
+
v0ToV1ChildBountyIds: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
565
|
+
/**
|
|
566
|
+
* Generic query
|
|
567
|
+
**/
|
|
568
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
569
|
+
};
|
|
570
|
+
contracts: {
|
|
571
|
+
/**
|
|
572
|
+
* A mapping from a contract's code hash to its code info.
|
|
573
|
+
**/
|
|
574
|
+
codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletContractsWasmCodeInfo>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
575
|
+
/**
|
|
576
|
+
* The code associated with a given account.
|
|
577
|
+
*
|
|
578
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
579
|
+
**/
|
|
580
|
+
contractInfoOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletContractsStorageContractInfo>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
581
|
+
/**
|
|
582
|
+
* Evicted contracts that await child trie deletion.
|
|
583
|
+
*
|
|
584
|
+
* Child trie deletion is a heavy operation depending on the amount of storage items
|
|
585
|
+
* stored in said trie. Therefore this operation is performed lazily in `on_idle`.
|
|
586
|
+
**/
|
|
587
|
+
deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
588
|
+
/**
|
|
589
|
+
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
590
|
+
* and the latest deleted contract in queue.
|
|
591
|
+
**/
|
|
592
|
+
deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletContractsStorageDeletionQueueManager>, []> & QueryableStorageEntry<ApiType, []>;
|
|
593
|
+
/**
|
|
594
|
+
* A migration can span across multiple blocks. This storage defines a cursor to track the
|
|
595
|
+
* progress of the migration, enabling us to resume from the last completed position.
|
|
596
|
+
**/
|
|
597
|
+
migrationInProgress: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
598
|
+
/**
|
|
599
|
+
* This is a **monotonic** counter incremented on contract instantiation.
|
|
600
|
+
*
|
|
601
|
+
* This is used in order to generate unique trie ids for contracts.
|
|
602
|
+
* The trie id of a new contract is calculated from hash(account_id, nonce).
|
|
603
|
+
* The nonce is required because otherwise the following sequence would lead to
|
|
604
|
+
* a possible collision of storage:
|
|
605
|
+
*
|
|
606
|
+
* 1. Create a new contract.
|
|
607
|
+
* 2. Terminate the contract.
|
|
608
|
+
* 3. Immediately recreate the contract with the same account_id.
|
|
609
|
+
*
|
|
610
|
+
* This is bad because the contents of a trie are deleted lazily and there might be
|
|
611
|
+
* storage of the old instantiation still in it when the new contract is created. Please
|
|
612
|
+
* note that we can't replace the counter by the block number because the sequence above
|
|
613
|
+
* can happen in the same block. We also can't keep the account counter in memory only
|
|
614
|
+
* because storage is the only way to communicate across different extrinsics in the
|
|
615
|
+
* same block.
|
|
616
|
+
*
|
|
617
|
+
* # Note
|
|
618
|
+
*
|
|
619
|
+
* Do not use it to determine the number of contracts. It won't be decremented if
|
|
620
|
+
* a contract is destroyed.
|
|
621
|
+
**/
|
|
622
|
+
nonce: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
623
|
+
/**
|
|
624
|
+
* A mapping from a contract's code hash to its code.
|
|
625
|
+
**/
|
|
626
|
+
pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
627
|
+
/**
|
|
628
|
+
* Generic query
|
|
629
|
+
**/
|
|
630
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
631
|
+
};
|
|
632
|
+
convictionVoting: {
|
|
633
|
+
/**
|
|
634
|
+
* The voting classes which have a non-zero lock requirement and the lock amounts which they
|
|
635
|
+
* require. The actual amount locked on behalf of this pallet should always be the maximum of
|
|
636
|
+
* this list.
|
|
637
|
+
**/
|
|
638
|
+
classLocksFor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
639
|
+
/**
|
|
640
|
+
* All voting for a particular voter in a particular voting class. We store the balance for the
|
|
641
|
+
* number of votes that we have recorded.
|
|
642
|
+
**/
|
|
643
|
+
votingFor: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PalletConvictionVotingVoteVoting>, [AccountId32, u16]> & QueryableStorageEntry<ApiType, [AccountId32, u16]>;
|
|
644
|
+
/**
|
|
645
|
+
* Generic query
|
|
646
|
+
**/
|
|
647
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
648
|
+
};
|
|
649
|
+
coreFellowship: {
|
|
650
|
+
/**
|
|
651
|
+
* The status of a claimant.
|
|
652
|
+
**/
|
|
653
|
+
member: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletCoreFellowshipMemberStatus>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
654
|
+
/**
|
|
655
|
+
* Some evidence together with the desired outcome for which it was presented.
|
|
656
|
+
**/
|
|
657
|
+
memberEvidence: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[PalletCoreFellowshipWish, Bytes]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
658
|
+
/**
|
|
659
|
+
* The overall status of the system.
|
|
660
|
+
**/
|
|
661
|
+
params: AugmentedQuery<ApiType, () => Observable<PalletCoreFellowshipParamsTypeU128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
662
|
+
/**
|
|
663
|
+
* Generic query
|
|
664
|
+
**/
|
|
665
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
666
|
+
};
|
|
667
|
+
council: {
|
|
668
|
+
/**
|
|
669
|
+
* Consideration cost created for publishing and storing a proposal.
|
|
670
|
+
*
|
|
671
|
+
* Determined by [Config::Consideration] and may be not present for certain proposals (e.g. if
|
|
672
|
+
* the proposal count at the time of creation was below threshold N).
|
|
673
|
+
**/
|
|
674
|
+
costOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
675
|
+
/**
|
|
676
|
+
* The current members of the collective. This is stored sorted (just by value).
|
|
677
|
+
**/
|
|
678
|
+
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
679
|
+
/**
|
|
680
|
+
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
681
|
+
**/
|
|
682
|
+
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
683
|
+
/**
|
|
684
|
+
* Proposals so far.
|
|
685
|
+
**/
|
|
686
|
+
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
687
|
+
/**
|
|
688
|
+
* Actual proposal for a given hash, if it's current.
|
|
689
|
+
**/
|
|
690
|
+
proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
691
|
+
/**
|
|
692
|
+
* The hashes of the active proposals.
|
|
693
|
+
**/
|
|
694
|
+
proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
695
|
+
/**
|
|
696
|
+
* Votes on a given proposal, if it is ongoing.
|
|
697
|
+
**/
|
|
698
|
+
voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
699
|
+
/**
|
|
700
|
+
* Generic query
|
|
701
|
+
**/
|
|
702
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
703
|
+
};
|
|
704
|
+
delegatedStaking: {
|
|
705
|
+
/**
|
|
706
|
+
* Map of `Agent` to their `Ledger`.
|
|
707
|
+
**/
|
|
708
|
+
agents: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletDelegatedStakingAgentLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
709
|
+
/**
|
|
710
|
+
* Counter for the related counted storage map
|
|
711
|
+
**/
|
|
712
|
+
counterForAgents: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
713
|
+
/**
|
|
714
|
+
* Counter for the related counted storage map
|
|
715
|
+
**/
|
|
716
|
+
counterForDelegators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
717
|
+
/**
|
|
718
|
+
* Map of Delegators to their `Delegation`.
|
|
719
|
+
*
|
|
720
|
+
* Implementation note: We are not using a double map with `delegator` and `agent` account
|
|
721
|
+
* as keys since we want to restrict delegators to delegate only to one account at a time.
|
|
722
|
+
**/
|
|
723
|
+
delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletDelegatedStakingDelegation>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
724
|
+
/**
|
|
725
|
+
* Generic query
|
|
726
|
+
**/
|
|
727
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
728
|
+
};
|
|
729
|
+
democracy: {
|
|
730
|
+
/**
|
|
731
|
+
* A record of who vetoed what. Maps proposal hash to a possible existent block number
|
|
732
|
+
* (until when it may not be resubmitted) and who vetoed it.
|
|
733
|
+
**/
|
|
734
|
+
blacklist: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ITuple<[u32, Vec<AccountId32>]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
735
|
+
/**
|
|
736
|
+
* Record of all proposals that have been subject to emergency cancellation.
|
|
737
|
+
**/
|
|
738
|
+
cancellations: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
739
|
+
/**
|
|
740
|
+
* Those who have locked a deposit.
|
|
741
|
+
*
|
|
742
|
+
* TWOX-NOTE: Safe, as increasing integer keys are safe.
|
|
743
|
+
**/
|
|
744
|
+
depositOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[Vec<AccountId32>, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
745
|
+
/**
|
|
746
|
+
* True if the last referendum tabled was submitted externally. False if it was a public
|
|
747
|
+
* proposal.
|
|
748
|
+
**/
|
|
749
|
+
lastTabledWasExternal: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
750
|
+
/**
|
|
751
|
+
* The lowest referendum index representing an unbaked referendum. Equal to
|
|
752
|
+
* `ReferendumCount` if there isn't a unbaked referendum.
|
|
753
|
+
**/
|
|
754
|
+
lowestUnbaked: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
755
|
+
/**
|
|
756
|
+
* General information concerning any proposal or referendum.
|
|
757
|
+
* The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
|
|
758
|
+
* dump or IPFS hash of a JSON file.
|
|
759
|
+
*
|
|
760
|
+
* Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
|
|
761
|
+
* large preimages.
|
|
762
|
+
**/
|
|
763
|
+
metadataOf: AugmentedQuery<ApiType, (arg: PalletDemocracyMetadataOwner | { External: any } | { Proposal: any } | { Referendum: any } | string | Uint8Array) => Observable<Option<H256>>, [PalletDemocracyMetadataOwner]> & QueryableStorageEntry<ApiType, [PalletDemocracyMetadataOwner]>;
|
|
764
|
+
/**
|
|
765
|
+
* The referendum to be tabled whenever it would be valid to table an external proposal.
|
|
766
|
+
* This happens when a referendum needs to be tabled and one of two conditions are met:
|
|
767
|
+
* - `LastTabledWasExternal` is `false`; or
|
|
768
|
+
* - `PublicProps` is empty.
|
|
769
|
+
**/
|
|
770
|
+
nextExternal: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
771
|
+
/**
|
|
772
|
+
* The number of (public) proposals that have been made so far.
|
|
773
|
+
**/
|
|
774
|
+
publicPropCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
775
|
+
/**
|
|
776
|
+
* The public proposals. Unsorted. The second item is the proposal.
|
|
777
|
+
**/
|
|
778
|
+
publicProps: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, FrameSupportPreimagesBounded, AccountId32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
779
|
+
/**
|
|
780
|
+
* The next free referendum index, aka the number of referenda started so far.
|
|
781
|
+
**/
|
|
782
|
+
referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
783
|
+
/**
|
|
784
|
+
* Information concerning any given referendum.
|
|
785
|
+
*
|
|
786
|
+
* TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
|
|
787
|
+
**/
|
|
788
|
+
referendumInfoOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletDemocracyReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
789
|
+
/**
|
|
790
|
+
* All votes for a particular voter. We store the balance for the number of votes that we
|
|
791
|
+
* have recorded. The second item is the total amount of delegations, that will be added.
|
|
792
|
+
*
|
|
793
|
+
* TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway.
|
|
794
|
+
**/
|
|
795
|
+
votingOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletDemocracyVoteVoting>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
796
|
+
/**
|
|
797
|
+
* Generic query
|
|
798
|
+
**/
|
|
799
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
800
|
+
};
|
|
801
|
+
electionProviderMultiPhase: {
|
|
802
|
+
/**
|
|
803
|
+
* Current phase.
|
|
804
|
+
**/
|
|
805
|
+
currentPhase: AugmentedQuery<ApiType, () => Observable<PalletElectionProviderMultiPhasePhase>, []> & QueryableStorageEntry<ApiType, []>;
|
|
806
|
+
/**
|
|
807
|
+
* Desired number of targets to elect for this round.
|
|
808
|
+
*
|
|
809
|
+
* Only exists when [`Snapshot`] is present.
|
|
810
|
+
* Note: This storage type must only be mutated through [`SnapshotWrapper`].
|
|
811
|
+
**/
|
|
812
|
+
desiredTargets: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
813
|
+
/**
|
|
814
|
+
* The minimum score that each 'untrusted' solution must attain in order to be considered
|
|
815
|
+
* feasible.
|
|
816
|
+
*
|
|
817
|
+
* Can be set via `set_minimum_untrusted_score`.
|
|
818
|
+
**/
|
|
819
|
+
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
820
|
+
/**
|
|
821
|
+
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
822
|
+
*
|
|
823
|
+
* Always sorted by score.
|
|
824
|
+
**/
|
|
825
|
+
queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
826
|
+
/**
|
|
827
|
+
* Internal counter for the number of rounds.
|
|
828
|
+
*
|
|
829
|
+
* This is useful for de-duplication of transactions submitted to the pool, and general
|
|
830
|
+
* diagnostics of the pallet.
|
|
831
|
+
*
|
|
832
|
+
* This is merely incremented once per every time that an upstream `elect` is called.
|
|
833
|
+
**/
|
|
834
|
+
round: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
835
|
+
/**
|
|
836
|
+
* A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
|
|
837
|
+
* value in `SignedSubmissions`.
|
|
838
|
+
*
|
|
839
|
+
* We never need to process more than a single signed submission at a time. Signed submissions
|
|
840
|
+
* can be quite large, so we're willing to pay the cost of multiple database accesses to access
|
|
841
|
+
* them one at a time instead of reading and decoding all of them at once.
|
|
842
|
+
**/
|
|
843
|
+
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpNposElectionsElectionScore, u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
844
|
+
/**
|
|
845
|
+
* The next index to be assigned to an incoming signed submission.
|
|
846
|
+
*
|
|
847
|
+
* Every accepted submission is assigned a unique index; that index is bound to that particular
|
|
848
|
+
* submission for the duration of the election. On election finalization, the next index is
|
|
849
|
+
* reset to 0.
|
|
850
|
+
*
|
|
851
|
+
* We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its
|
|
852
|
+
* capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`,
|
|
853
|
+
* because iteration is slow. Instead, we store the value here.
|
|
854
|
+
**/
|
|
855
|
+
signedSubmissionNextIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
856
|
+
/**
|
|
857
|
+
* Unchecked, signed solutions.
|
|
858
|
+
*
|
|
859
|
+
* Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while
|
|
860
|
+
* allowing us to keep only a single one in memory at a time.
|
|
861
|
+
*
|
|
862
|
+
* Twox note: the key of the map is an auto-incrementing index which users cannot inspect or
|
|
863
|
+
* affect; we shouldn't need a cryptographically secure hasher.
|
|
864
|
+
**/
|
|
865
|
+
signedSubmissionsMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletElectionProviderMultiPhaseSignedSignedSubmission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
866
|
+
/**
|
|
867
|
+
* Snapshot data of the round.
|
|
868
|
+
*
|
|
869
|
+
* This is created at the beginning of the signed phase and cleared upon calling `elect`.
|
|
870
|
+
* Note: This storage type must only be mutated through [`SnapshotWrapper`].
|
|
871
|
+
**/
|
|
872
|
+
snapshot: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseRoundSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
873
|
+
/**
|
|
874
|
+
* The metadata of the [`RoundSnapshot`]
|
|
875
|
+
*
|
|
876
|
+
* Only exists when [`Snapshot`] is present.
|
|
877
|
+
* Note: This storage type must only be mutated through [`SnapshotWrapper`].
|
|
878
|
+
**/
|
|
879
|
+
snapshotMetadata: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
880
|
+
/**
|
|
881
|
+
* Generic query
|
|
882
|
+
**/
|
|
883
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
884
|
+
};
|
|
885
|
+
elections: {
|
|
886
|
+
/**
|
|
887
|
+
* The present candidate list. A current member or runner-up can never enter this vector
|
|
888
|
+
* and is always implicitly assumed to be a candidate.
|
|
889
|
+
*
|
|
890
|
+
* Second element is the deposit.
|
|
891
|
+
*
|
|
892
|
+
* Invariant: Always sorted based on account id.
|
|
893
|
+
**/
|
|
894
|
+
candidates: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
895
|
+
/**
|
|
896
|
+
* The total number of vote rounds that have happened, excluding the upcoming one.
|
|
897
|
+
**/
|
|
898
|
+
electionRounds: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
899
|
+
/**
|
|
900
|
+
* The current elected members.
|
|
901
|
+
*
|
|
902
|
+
* Invariant: Always sorted based on account id.
|
|
903
|
+
**/
|
|
904
|
+
members: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
905
|
+
/**
|
|
906
|
+
* The current reserved runners-up.
|
|
907
|
+
*
|
|
908
|
+
* Invariant: Always sorted based on rank (worse to best). Upon removal of a member, the
|
|
909
|
+
* last (i.e. _best_) runner-up will be replaced.
|
|
910
|
+
**/
|
|
911
|
+
runnersUp: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
912
|
+
/**
|
|
913
|
+
* Votes and locked stake of a particular voter.
|
|
914
|
+
*
|
|
915
|
+
* TWOX-NOTE: SAFE as `AccountId` is a crypto hash.
|
|
916
|
+
**/
|
|
917
|
+
voting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletElectionsPhragmenVoter>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
918
|
+
/**
|
|
919
|
+
* Generic query
|
|
920
|
+
**/
|
|
921
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
922
|
+
};
|
|
923
|
+
fastUnstake: {
|
|
924
|
+
/**
|
|
925
|
+
* Counter for the related counted storage map
|
|
926
|
+
**/
|
|
927
|
+
counterForQueue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
928
|
+
/**
|
|
929
|
+
* Number of eras to check per block.
|
|
930
|
+
*
|
|
931
|
+
* If set to 0, this pallet does absolutely nothing. Cannot be set to more than
|
|
932
|
+
* [`Config::MaxErasToCheckPerBlock`].
|
|
933
|
+
*
|
|
934
|
+
* Based on the amount of weight available at [`Pallet::on_idle`], up to this many eras are
|
|
935
|
+
* checked. The checking is represented by updating [`UnstakeRequest::checked`], which is
|
|
936
|
+
* stored in [`Head`].
|
|
937
|
+
**/
|
|
938
|
+
erasToCheckPerBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
939
|
+
/**
|
|
940
|
+
* The current "head of the queue" being unstaked.
|
|
941
|
+
*
|
|
942
|
+
* The head in itself can be a batch of up to [`Config::BatchSize`] stakers.
|
|
943
|
+
**/
|
|
944
|
+
head: AugmentedQuery<ApiType, () => Observable<Option<PalletFastUnstakeUnstakeRequest>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
945
|
+
/**
|
|
946
|
+
* The map of all accounts wishing to be unstaked.
|
|
947
|
+
*
|
|
948
|
+
* Keeps track of `AccountId` wishing to unstake and it's corresponding deposit.
|
|
949
|
+
**/
|
|
950
|
+
queue: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
951
|
+
/**
|
|
952
|
+
* Generic query
|
|
953
|
+
**/
|
|
954
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
955
|
+
};
|
|
956
|
+
glutton: {
|
|
957
|
+
/**
|
|
958
|
+
* The proportion of the remaining `ref_time` to consume during `on_idle`.
|
|
959
|
+
*
|
|
960
|
+
* `1.0` is mapped to `100%`. Must be at most [`crate::RESOURCE_HARD_LIMIT`]. Setting this to
|
|
961
|
+
* over `1.0` could stall the chain.
|
|
962
|
+
**/
|
|
963
|
+
compute: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
964
|
+
/**
|
|
965
|
+
* The proportion of the `block length` to consume on each block.
|
|
966
|
+
*
|
|
967
|
+
* `1.0` is mapped to `100%`. Must be at most [`crate::RESOURCE_HARD_LIMIT`]. Setting this to
|
|
968
|
+
* over `1.0` could stall the chain.
|
|
969
|
+
**/
|
|
970
|
+
length: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
971
|
+
/**
|
|
972
|
+
* The proportion of the remaining `proof_size` to consume during `on_idle`.
|
|
973
|
+
*
|
|
974
|
+
* `1.0` is mapped to `100%`. Must be at most [`crate::RESOURCE_HARD_LIMIT`]. Setting this to
|
|
975
|
+
* over `1.0` could stall the chain.
|
|
976
|
+
**/
|
|
977
|
+
storage: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
978
|
+
/**
|
|
979
|
+
* Storage map used for wasting proof size.
|
|
980
|
+
*
|
|
981
|
+
* It contains no meaningful data - hence the name "Trash". The maximal number of entries is
|
|
982
|
+
* set to 65k, which is just below the next jump at 16^4. This is important to reduce the proof
|
|
983
|
+
* size benchmarking overestimate. The assumption here is that we won't have more than 65k *
|
|
984
|
+
* 1KiB = 65MiB of proof size wasting in practice. However, this limit is not enforced, so the
|
|
985
|
+
* pallet would also work out of the box with more entries, but its benchmarked proof weight
|
|
986
|
+
* would possibly be underestimated in that case.
|
|
987
|
+
**/
|
|
988
|
+
trashData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<U8aFixed>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
989
|
+
/**
|
|
990
|
+
* The current number of entries in `TrashData`.
|
|
991
|
+
**/
|
|
992
|
+
trashDataCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
993
|
+
/**
|
|
994
|
+
* Generic query
|
|
995
|
+
**/
|
|
996
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
997
|
+
};
|
|
998
|
+
grandpa: {
|
|
999
|
+
/**
|
|
1000
|
+
* The current list of authorities.
|
|
1001
|
+
**/
|
|
1002
|
+
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1003
|
+
/**
|
|
1004
|
+
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
1005
|
+
* in the "set" of Grandpa validators from genesis.
|
|
1006
|
+
**/
|
|
1007
|
+
currentSetId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1008
|
+
/**
|
|
1009
|
+
* next block number where we can force a change.
|
|
1010
|
+
**/
|
|
1011
|
+
nextForced: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1012
|
+
/**
|
|
1013
|
+
* Pending change: (signaled at, scheduled change).
|
|
1014
|
+
**/
|
|
1015
|
+
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1016
|
+
/**
|
|
1017
|
+
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
1018
|
+
* members were responsible.
|
|
1019
|
+
*
|
|
1020
|
+
* This is only used for validating equivocation proofs. An equivocation proof must
|
|
1021
|
+
* contains a key-ownership proof for a given session, therefore we need a way to tie
|
|
1022
|
+
* together sessions and GRANDPA set ids, i.e. we need to validate that a validator
|
|
1023
|
+
* was the owner of a given key on a given session, and what the active set ID was
|
|
1024
|
+
* during that session.
|
|
1025
|
+
*
|
|
1026
|
+
* TWOX-NOTE: `SetId` is not under user control.
|
|
1027
|
+
**/
|
|
1028
|
+
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
1029
|
+
/**
|
|
1030
|
+
* `true` if we are currently stalled.
|
|
1031
|
+
**/
|
|
1032
|
+
stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1033
|
+
/**
|
|
1034
|
+
* State of the current authority set.
|
|
1035
|
+
**/
|
|
1036
|
+
state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1037
|
+
/**
|
|
1038
|
+
* Generic query
|
|
1039
|
+
**/
|
|
1040
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1041
|
+
};
|
|
1042
|
+
historical: {
|
|
1043
|
+
/**
|
|
1044
|
+
* Mapping from historical session indices to session-data root hash and validator count.
|
|
1045
|
+
**/
|
|
1046
|
+
historicalSessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[H256, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1047
|
+
/**
|
|
1048
|
+
* The range of historical sessions we store. [first, last)
|
|
1049
|
+
**/
|
|
1050
|
+
storedRange: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Generic query
|
|
1053
|
+
**/
|
|
1054
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1055
|
+
};
|
|
1056
|
+
identity: {
|
|
1057
|
+
/**
|
|
1058
|
+
* A map of the accounts who are authorized to grant usernames.
|
|
1059
|
+
**/
|
|
1060
|
+
authorityOf: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<PalletIdentityAuthorityProperties>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Information that is pertinent to identify the entity behind an account. First item is the
|
|
1063
|
+
* registration, second is the account's primary username.
|
|
1064
|
+
*
|
|
1065
|
+
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
|
|
1066
|
+
**/
|
|
1067
|
+
identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityRegistration>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1068
|
+
/**
|
|
1069
|
+
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
1070
|
+
* that they want it. Used primarily in cases where the `AccountId` cannot provide a signature
|
|
1071
|
+
* because they are a pure proxy, multisig, etc. In order to confirm it, they should call
|
|
1072
|
+
* [accept_username](`Call::accept_username`).
|
|
1073
|
+
*
|
|
1074
|
+
* First tuple item is the account and second is the acceptance deadline.
|
|
1075
|
+
**/
|
|
1076
|
+
pendingUsernames: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, u32, PalletIdentityProvider]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
|
|
1077
|
+
/**
|
|
1078
|
+
* The set of registrars. Not expected to get very big as can only be added through a
|
|
1079
|
+
* special origin (likely a council motion).
|
|
1080
|
+
*
|
|
1081
|
+
* The index into this can be cast to `RegistrarIndex` to get a valid value.
|
|
1082
|
+
**/
|
|
1083
|
+
registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Alternative "sub" identities of this account.
|
|
1086
|
+
*
|
|
1087
|
+
* The first item is the deposit, the second is a vector of the accounts.
|
|
1088
|
+
*
|
|
1089
|
+
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
|
|
1090
|
+
**/
|
|
1091
|
+
subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1092
|
+
/**
|
|
1093
|
+
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
1094
|
+
* context. If the account is not some other account's sub-identity, then just `None`.
|
|
1095
|
+
**/
|
|
1096
|
+
superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1097
|
+
/**
|
|
1098
|
+
* Usernames for which the authority that granted them has started the removal process by
|
|
1099
|
+
* unbinding them. Each unbinding username maps to its grace period expiry, which is the first
|
|
1100
|
+
* block in which the username could be deleted through a
|
|
1101
|
+
* [remove_username](`Call::remove_username`) call.
|
|
1102
|
+
**/
|
|
1103
|
+
unbindingUsernames: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<u32>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
|
|
1104
|
+
/**
|
|
1105
|
+
* Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
|
|
1106
|
+
* the username. The `owner` value should be a key in the `UsernameOf` map, but it may not if
|
|
1107
|
+
* the user has cleared their username or it has been removed.
|
|
1108
|
+
*
|
|
1109
|
+
* Multiple usernames may map to the same `AccountId`, but `UsernameOf` will only map to one
|
|
1110
|
+
* primary username.
|
|
1111
|
+
**/
|
|
1112
|
+
usernameInfoOf: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<PalletIdentityUsernameInformation>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
|
|
1113
|
+
/**
|
|
1114
|
+
* Identifies the primary username of an account.
|
|
1115
|
+
**/
|
|
1116
|
+
usernameOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1117
|
+
/**
|
|
1118
|
+
* Generic query
|
|
1119
|
+
**/
|
|
1120
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1121
|
+
};
|
|
1122
|
+
imOnline: {
|
|
1123
|
+
/**
|
|
1124
|
+
* For each session index, we keep a mapping of `ValidatorId<T>` to the
|
|
1125
|
+
* number of blocks authored by the given authority.
|
|
1126
|
+
**/
|
|
1127
|
+
authoredBlocks: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1128
|
+
/**
|
|
1129
|
+
* The block number after which it's ok to send heartbeats in the current
|
|
1130
|
+
* session.
|
|
1131
|
+
*
|
|
1132
|
+
* At the beginning of each session we set this to a value that should fall
|
|
1133
|
+
* roughly in the middle of the session duration. The idea is to first wait for
|
|
1134
|
+
* the validators to produce a block in the current session, so that the
|
|
1135
|
+
* heartbeat later on will not be necessary.
|
|
1136
|
+
*
|
|
1137
|
+
* This value will only be used as a fallback if we fail to get a proper session
|
|
1138
|
+
* progress estimate from `NextSessionRotation`, as those estimates should be
|
|
1139
|
+
* more accurate then the value we calculate for `HeartbeatAfter`.
|
|
1140
|
+
**/
|
|
1141
|
+
heartbeatAfter: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1142
|
+
/**
|
|
1143
|
+
* The current set of keys that may issue a heartbeat.
|
|
1144
|
+
**/
|
|
1145
|
+
keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1146
|
+
/**
|
|
1147
|
+
* For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`.
|
|
1148
|
+
**/
|
|
1149
|
+
receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<bool>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Generic query
|
|
1152
|
+
**/
|
|
1153
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1154
|
+
};
|
|
1155
|
+
indices: {
|
|
1156
|
+
/**
|
|
1157
|
+
* The lookup from index to account.
|
|
1158
|
+
**/
|
|
1159
|
+
accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1160
|
+
/**
|
|
1161
|
+
* Generic query
|
|
1162
|
+
**/
|
|
1163
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1164
|
+
};
|
|
1165
|
+
lottery: {
|
|
1166
|
+
/**
|
|
1167
|
+
* The calls stored in this pallet to be used in an active lottery if configured
|
|
1168
|
+
* by `Config::ValidateCall`.
|
|
1169
|
+
**/
|
|
1170
|
+
callIndices: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u8, u8]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1171
|
+
/**
|
|
1172
|
+
* The configuration for the current lottery.
|
|
1173
|
+
**/
|
|
1174
|
+
lottery: AugmentedQuery<ApiType, () => Observable<Option<PalletLotteryLotteryConfig>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1175
|
+
lotteryIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Users who have purchased a ticket. (Lottery Index, Tickets Purchased)
|
|
1178
|
+
**/
|
|
1179
|
+
participants: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u32, Vec<ITuple<[u8, u8]>>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1180
|
+
/**
|
|
1181
|
+
* Each ticket's owner.
|
|
1182
|
+
*
|
|
1183
|
+
* May have residual storage from previous lotteries. Use `TicketsCount` to see which ones
|
|
1184
|
+
* are actually valid ticket mappings.
|
|
1185
|
+
**/
|
|
1186
|
+
tickets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Total number of tickets sold.
|
|
1189
|
+
**/
|
|
1190
|
+
ticketsCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Generic query
|
|
1193
|
+
**/
|
|
1194
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1195
|
+
};
|
|
1196
|
+
messageQueue: {
|
|
1197
|
+
/**
|
|
1198
|
+
* The index of the first and last (non-empty) pages.
|
|
1199
|
+
**/
|
|
1200
|
+
bookStateFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletMessageQueueBookState>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1201
|
+
/**
|
|
1202
|
+
* The map of page indices to pages.
|
|
1203
|
+
**/
|
|
1204
|
+
pages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMessageQueuePage>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1205
|
+
/**
|
|
1206
|
+
* The origin at which we should begin servicing.
|
|
1207
|
+
**/
|
|
1208
|
+
serviceHead: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1209
|
+
/**
|
|
1210
|
+
* Generic query
|
|
1211
|
+
**/
|
|
1212
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1213
|
+
};
|
|
1214
|
+
mixnet: {
|
|
1215
|
+
/**
|
|
1216
|
+
* Index of the current session. This may be offset relative to the session index tracked by
|
|
1217
|
+
* eg `pallet_session`; mixnet session indices are independent.
|
|
1218
|
+
**/
|
|
1219
|
+
currentSessionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Block in which the current session started.
|
|
1222
|
+
**/
|
|
1223
|
+
currentSessionStartBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1224
|
+
/**
|
|
1225
|
+
* Mixnode sets by session index. Only the mixnode sets for the previous, current, and next
|
|
1226
|
+
* sessions are kept; older sets are discarded.
|
|
1227
|
+
*
|
|
1228
|
+
* The mixnodes in each set are keyed by authority index so we can easily check if an
|
|
1229
|
+
* authority has registered a mixnode. The authority indices should only be used during
|
|
1230
|
+
* registration; the authority indices for the very first session are made up.
|
|
1231
|
+
**/
|
|
1232
|
+
mixnodes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMixnetBoundedMixnode>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Authority list for the next session.
|
|
1235
|
+
**/
|
|
1236
|
+
nextAuthorityIds: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<SpMixnetAppPublic>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1237
|
+
/**
|
|
1238
|
+
* Generic query
|
|
1239
|
+
**/
|
|
1240
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1241
|
+
};
|
|
1242
|
+
mmr: {
|
|
1243
|
+
/**
|
|
1244
|
+
* Hashes of the nodes in the MMR.
|
|
1245
|
+
*
|
|
1246
|
+
* Note this collection only contains MMR peaks, the inner nodes (and leaves)
|
|
1247
|
+
* are pruned and only stored in the Offchain DB.
|
|
1248
|
+
**/
|
|
1249
|
+
nodes: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
1250
|
+
/**
|
|
1251
|
+
* Current size of the MMR (number of leaves).
|
|
1252
|
+
**/
|
|
1253
|
+
numberOfLeaves: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1254
|
+
/**
|
|
1255
|
+
* Latest MMR Root hash.
|
|
1256
|
+
**/
|
|
1257
|
+
rootHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1258
|
+
/**
|
|
1259
|
+
* Generic query
|
|
1260
|
+
**/
|
|
1261
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1262
|
+
};
|
|
1263
|
+
mmrLeaf: {
|
|
1264
|
+
/**
|
|
1265
|
+
* Details of current BEEFY authority set.
|
|
1266
|
+
**/
|
|
1267
|
+
beefyAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1268
|
+
/**
|
|
1269
|
+
* Details of next BEEFY authority set.
|
|
1270
|
+
*
|
|
1271
|
+
* This storage entry is used as cache for calls to `update_beefy_next_authority_set`.
|
|
1272
|
+
**/
|
|
1273
|
+
beefyNextAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1274
|
+
/**
|
|
1275
|
+
* Generic query
|
|
1276
|
+
**/
|
|
1277
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1278
|
+
};
|
|
1279
|
+
multiBlockMigrations: {
|
|
1280
|
+
/**
|
|
1281
|
+
* The currently active migration to run and its cursor.
|
|
1282
|
+
*
|
|
1283
|
+
* `None` indicates that no migration is running.
|
|
1284
|
+
**/
|
|
1285
|
+
cursor: AugmentedQuery<ApiType, () => Observable<Option<PalletMigrationsMigrationCursor>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1286
|
+
/**
|
|
1287
|
+
* Set of all successfully executed migrations.
|
|
1288
|
+
*
|
|
1289
|
+
* This is used as blacklist, to not re-execute migrations that have not been removed from the
|
|
1290
|
+
* codebase yet. Governance can regularly clear this out via `clear_historic`.
|
|
1291
|
+
**/
|
|
1292
|
+
historic: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<Null>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
|
|
1293
|
+
/**
|
|
1294
|
+
* Generic query
|
|
1295
|
+
**/
|
|
1296
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1297
|
+
};
|
|
1298
|
+
multisig: {
|
|
1299
|
+
/**
|
|
1300
|
+
* The set of open multisig operations.
|
|
1301
|
+
**/
|
|
1302
|
+
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
|
|
1303
|
+
/**
|
|
1304
|
+
* Generic query
|
|
1305
|
+
**/
|
|
1306
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1307
|
+
};
|
|
1308
|
+
nftFractionalization: {
|
|
1309
|
+
/**
|
|
1310
|
+
* Keeps track of the corresponding NFT ID, asset ID and amount minted.
|
|
1311
|
+
**/
|
|
1312
|
+
nftToAsset: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PalletNftFractionalizationDetails>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
|
|
1313
|
+
/**
|
|
1314
|
+
* Generic query
|
|
1315
|
+
**/
|
|
1316
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1317
|
+
};
|
|
1318
|
+
nfts: {
|
|
1319
|
+
/**
|
|
1320
|
+
* The items held by any given account; set out this way so that items owned by a single
|
|
1321
|
+
* account can be enumerated.
|
|
1322
|
+
**/
|
|
1323
|
+
account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
|
|
1324
|
+
/**
|
|
1325
|
+
* Attributes of a collection.
|
|
1326
|
+
**/
|
|
1327
|
+
attribute: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: Option<u32> | null | Uint8Array | u32 | AnyNumber, arg3: PalletNftsAttributeNamespace | { Pallet: any } | { CollectionOwner: any } | { ItemOwner: any } | { Account: any } | string | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, PalletNftsAttributeDeposit]>>>, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]> & QueryableStorageEntry<ApiType, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]>;
|
|
1328
|
+
/**
|
|
1329
|
+
* Details of a collection.
|
|
1330
|
+
**/
|
|
1331
|
+
collection: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1332
|
+
/**
|
|
1333
|
+
* The collections owned by any given account; set out this way so that collections owned by
|
|
1334
|
+
* a single account can be enumerated.
|
|
1335
|
+
**/
|
|
1336
|
+
collectionAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Config of a collection.
|
|
1339
|
+
**/
|
|
1340
|
+
collectionConfigOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionConfig>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1341
|
+
/**
|
|
1342
|
+
* Metadata of a collection.
|
|
1343
|
+
**/
|
|
1344
|
+
collectionMetadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionMetadata>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1345
|
+
/**
|
|
1346
|
+
* The items in existence and their ownership details.
|
|
1347
|
+
* Stores collection roles as per account.
|
|
1348
|
+
**/
|
|
1349
|
+
collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u8>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1350
|
+
/**
|
|
1351
|
+
* The items in existence and their ownership details.
|
|
1352
|
+
**/
|
|
1353
|
+
item: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemDetails>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Item attribute approvals.
|
|
1356
|
+
**/
|
|
1357
|
+
itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Config of an item.
|
|
1360
|
+
**/
|
|
1361
|
+
itemConfigOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemConfig>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1362
|
+
/**
|
|
1363
|
+
* Metadata of an item.
|
|
1364
|
+
**/
|
|
1365
|
+
itemMetadataOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemMetadata>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1366
|
+
/**
|
|
1367
|
+
* A price of an item.
|
|
1368
|
+
**/
|
|
1369
|
+
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1370
|
+
/**
|
|
1371
|
+
* Stores the `CollectionId` that is going to be used for the next collection.
|
|
1372
|
+
* This gets incremented whenever a new collection is created.
|
|
1373
|
+
**/
|
|
1374
|
+
nextCollectionId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1375
|
+
/**
|
|
1376
|
+
* The collection, if any, of which an account is willing to take ownership.
|
|
1377
|
+
**/
|
|
1378
|
+
ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1379
|
+
/**
|
|
1380
|
+
* Handles all the pending swaps.
|
|
1381
|
+
**/
|
|
1382
|
+
pendingSwapOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsPendingSwap>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1383
|
+
/**
|
|
1384
|
+
* Generic query
|
|
1385
|
+
**/
|
|
1386
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1387
|
+
};
|
|
1388
|
+
nis: {
|
|
1389
|
+
/**
|
|
1390
|
+
* The queues of bids. Indexed by duration (in `Period`s).
|
|
1391
|
+
**/
|
|
1392
|
+
queues: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletNisBid>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1393
|
+
/**
|
|
1394
|
+
* The totals of items and balances within each queue. Saves a lot of storage reads in the
|
|
1395
|
+
* case of sparsely packed queues.
|
|
1396
|
+
*
|
|
1397
|
+
* The vector is indexed by duration in `Period`s, offset by one, so information on the queue
|
|
1398
|
+
* whose duration is one `Period` would be storage `0`.
|
|
1399
|
+
**/
|
|
1400
|
+
queueTotals: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1401
|
+
/**
|
|
1402
|
+
* The currently outstanding receipts, indexed according to the order of creation.
|
|
1403
|
+
**/
|
|
1404
|
+
receipts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNisReceiptRecord>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Summary information over the general state.
|
|
1407
|
+
**/
|
|
1408
|
+
summary: AugmentedQuery<ApiType, () => Observable<PalletNisSummaryRecord>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1409
|
+
/**
|
|
1410
|
+
* Generic query
|
|
1411
|
+
**/
|
|
1412
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1413
|
+
};
|
|
1414
|
+
nominationPools: {
|
|
1415
|
+
/**
|
|
1416
|
+
* Storage for bonded pools.
|
|
1417
|
+
**/
|
|
1418
|
+
bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1419
|
+
/**
|
|
1420
|
+
* Map from a pool member account to their opted claim permission.
|
|
1421
|
+
**/
|
|
1422
|
+
claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Counter for the related counted storage map
|
|
1425
|
+
**/
|
|
1426
|
+
counterForBondedPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1427
|
+
/**
|
|
1428
|
+
* Counter for the related counted storage map
|
|
1429
|
+
**/
|
|
1430
|
+
counterForMetadata: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Counter for the related counted storage map
|
|
1433
|
+
**/
|
|
1434
|
+
counterForPoolMembers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1435
|
+
/**
|
|
1436
|
+
* Counter for the related counted storage map
|
|
1437
|
+
**/
|
|
1438
|
+
counterForReversePoolIdLookup: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1439
|
+
/**
|
|
1440
|
+
* Counter for the related counted storage map
|
|
1441
|
+
**/
|
|
1442
|
+
counterForRewardPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1443
|
+
/**
|
|
1444
|
+
* Counter for the related counted storage map
|
|
1445
|
+
**/
|
|
1446
|
+
counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1447
|
+
/**
|
|
1448
|
+
* The maximum commission that can be charged by a pool. Used on commission payouts to bound
|
|
1449
|
+
* pool commissions that are > `GlobalMaxCommission`, necessary if a future
|
|
1450
|
+
* `GlobalMaxCommission` is lower than some current pool commissions.
|
|
1451
|
+
**/
|
|
1452
|
+
globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1453
|
+
/**
|
|
1454
|
+
* Ever increasing number of all pools created so far.
|
|
1455
|
+
**/
|
|
1456
|
+
lastPoolId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1457
|
+
/**
|
|
1458
|
+
* Maximum number of members that can exist in the system. If `None`, then the count
|
|
1459
|
+
* members are not bound on a system wide basis.
|
|
1460
|
+
**/
|
|
1461
|
+
maxPoolMembers: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1462
|
+
/**
|
|
1463
|
+
* Maximum number of members that may belong to pool. If `None`, then the count of
|
|
1464
|
+
* members is not bound on a per pool basis.
|
|
1465
|
+
**/
|
|
1466
|
+
maxPoolMembersPerPool: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1467
|
+
/**
|
|
1468
|
+
* Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
|
|
1469
|
+
* pools can exist.
|
|
1470
|
+
**/
|
|
1471
|
+
maxPools: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1472
|
+
/**
|
|
1473
|
+
* Metadata for the pool.
|
|
1474
|
+
**/
|
|
1475
|
+
metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1476
|
+
/**
|
|
1477
|
+
* Minimum bond required to create a pool.
|
|
1478
|
+
*
|
|
1479
|
+
* This is the amount that the depositor must put as their initial stake in the pool, as an
|
|
1480
|
+
* indication of "skin in the game".
|
|
1481
|
+
*
|
|
1482
|
+
* This is the value that will always exist in the staking ledger of the pool bonded account
|
|
1483
|
+
* while all other accounts leave.
|
|
1484
|
+
**/
|
|
1485
|
+
minCreateBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1486
|
+
/**
|
|
1487
|
+
* Minimum amount to bond to join a pool.
|
|
1488
|
+
**/
|
|
1489
|
+
minJoinBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1490
|
+
/**
|
|
1491
|
+
* Active members.
|
|
1492
|
+
*
|
|
1493
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
1494
|
+
**/
|
|
1495
|
+
poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1496
|
+
/**
|
|
1497
|
+
* A reverse lookup from the pool's account id to its id.
|
|
1498
|
+
*
|
|
1499
|
+
* This is only used for slashing and on automatic withdraw update. In all other instances, the
|
|
1500
|
+
* pool id is used, and the accounts are deterministically derived from it.
|
|
1501
|
+
**/
|
|
1502
|
+
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1503
|
+
/**
|
|
1504
|
+
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
|
1505
|
+
* claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
|
|
1506
|
+
**/
|
|
1507
|
+
rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1508
|
+
/**
|
|
1509
|
+
* Groups of unbonding pools. Each group of unbonding pools belongs to a
|
|
1510
|
+
* bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
|
|
1511
|
+
**/
|
|
1512
|
+
subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1513
|
+
/**
|
|
1514
|
+
* The sum of funds across all pools.
|
|
1515
|
+
*
|
|
1516
|
+
* This might be lower but never higher than the sum of `total_balance` of all [`PoolMembers`]
|
|
1517
|
+
* because calling `pool_withdraw_unbonded` might decrease the total stake of the pool's
|
|
1518
|
+
* `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s.
|
|
1519
|
+
**/
|
|
1520
|
+
totalValueLocked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1521
|
+
/**
|
|
1522
|
+
* Generic query
|
|
1523
|
+
**/
|
|
1524
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1525
|
+
};
|
|
1526
|
+
offences: {
|
|
1527
|
+
/**
|
|
1528
|
+
* A vector of reports of the same kind that happened at the same time slot.
|
|
1529
|
+
**/
|
|
1530
|
+
concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [U8aFixed, Bytes]> & QueryableStorageEntry<ApiType, [U8aFixed, Bytes]>;
|
|
1531
|
+
/**
|
|
1532
|
+
* The primary structure that holds all offence records keyed by report identifiers.
|
|
1533
|
+
**/
|
|
1534
|
+
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1535
|
+
/**
|
|
1536
|
+
* Generic query
|
|
1537
|
+
**/
|
|
1538
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1539
|
+
};
|
|
1540
|
+
palletExampleMbms: {
|
|
1541
|
+
/**
|
|
1542
|
+
* Define a storage item to illustrate multi-block migrations.
|
|
1543
|
+
**/
|
|
1544
|
+
myMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1545
|
+
/**
|
|
1546
|
+
* Generic query
|
|
1547
|
+
**/
|
|
1548
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1549
|
+
};
|
|
1550
|
+
parameters: {
|
|
1551
|
+
/**
|
|
1552
|
+
* Stored parameters.
|
|
1553
|
+
**/
|
|
1554
|
+
parameters: AugmentedQuery<ApiType, (arg: KitchensinkRuntimeRuntimeParametersKey | { Storage: any } | { Referenda: any } | string | Uint8Array) => Observable<Option<KitchensinkRuntimeRuntimeParametersValue>>, [KitchensinkRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [KitchensinkRuntimeRuntimeParametersKey]>;
|
|
1555
|
+
/**
|
|
1556
|
+
* Generic query
|
|
1557
|
+
**/
|
|
1558
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1559
|
+
};
|
|
1560
|
+
poolAssets: {
|
|
1561
|
+
/**
|
|
1562
|
+
* The holdings of a specific account for a specific asset.
|
|
1563
|
+
**/
|
|
1564
|
+
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1565
|
+
/**
|
|
1566
|
+
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
|
1567
|
+
* is the amount of `T::Currency` reserved for storing this.
|
|
1568
|
+
* First key is the asset ID, second key is the owner and third key is the delegate.
|
|
1569
|
+
**/
|
|
1570
|
+
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [u32, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, AccountId32]>;
|
|
1571
|
+
/**
|
|
1572
|
+
* Details of an asset.
|
|
1573
|
+
**/
|
|
1574
|
+
asset: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1575
|
+
/**
|
|
1576
|
+
* Metadata of an asset.
|
|
1577
|
+
**/
|
|
1578
|
+
metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1579
|
+
/**
|
|
1580
|
+
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
1581
|
+
* item has no effect.
|
|
1582
|
+
*
|
|
1583
|
+
* This can be useful for setting up constraints for IDs of the new assets. For example, by
|
|
1584
|
+
* providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
|
|
1585
|
+
* auto-increment model can be applied to all new asset IDs.
|
|
1586
|
+
*
|
|
1587
|
+
* The initial next asset ID can be set using the [`GenesisConfig`] or the
|
|
1588
|
+
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
|
|
1589
|
+
**/
|
|
1590
|
+
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1591
|
+
/**
|
|
1592
|
+
* Generic query
|
|
1593
|
+
**/
|
|
1594
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1595
|
+
};
|
|
1596
|
+
pov: {
|
|
1597
|
+
/**
|
|
1598
|
+
* A value with a MEL bound of 32 byte.
|
|
1599
|
+
**/
|
|
1600
|
+
boundedValue: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1601
|
+
doubleMap1M: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1602
|
+
/**
|
|
1603
|
+
* 4MiB value.
|
|
1604
|
+
**/
|
|
1605
|
+
largeValue: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1606
|
+
largeValue2: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1607
|
+
/**
|
|
1608
|
+
* A map with a maximum of 16M entries.
|
|
1609
|
+
**/
|
|
1610
|
+
map16M: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1611
|
+
/**
|
|
1612
|
+
* A map with a maximum of 1M entries.
|
|
1613
|
+
**/
|
|
1614
|
+
map1M: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1615
|
+
unboundedMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<u32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1616
|
+
unboundedMap2: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<u32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1617
|
+
unboundedMapTwox: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<u32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1618
|
+
/**
|
|
1619
|
+
* A value without a MEL bound.
|
|
1620
|
+
**/
|
|
1621
|
+
unboundedValue: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1622
|
+
value: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1623
|
+
value2: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1624
|
+
/**
|
|
1625
|
+
* Generic query
|
|
1626
|
+
**/
|
|
1627
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1628
|
+
};
|
|
1629
|
+
preimage: {
|
|
1630
|
+
preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
|
|
1631
|
+
/**
|
|
1632
|
+
* The request status of a given hash.
|
|
1633
|
+
**/
|
|
1634
|
+
requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1635
|
+
/**
|
|
1636
|
+
* The request status of a given hash.
|
|
1637
|
+
**/
|
|
1638
|
+
statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1639
|
+
/**
|
|
1640
|
+
* Generic query
|
|
1641
|
+
**/
|
|
1642
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1643
|
+
};
|
|
1644
|
+
proxy: {
|
|
1645
|
+
/**
|
|
1646
|
+
* The announcements made by the proxy (key).
|
|
1647
|
+
**/
|
|
1648
|
+
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1649
|
+
/**
|
|
1650
|
+
* The set of account proxies. Maps the account which has delegated to the accounts
|
|
1651
|
+
* which are being delegated to, together with the amount held on deposit.
|
|
1652
|
+
**/
|
|
1653
|
+
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1654
|
+
/**
|
|
1655
|
+
* Generic query
|
|
1656
|
+
**/
|
|
1657
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1658
|
+
};
|
|
1659
|
+
randomnessCollectiveFlip: {
|
|
1660
|
+
/**
|
|
1661
|
+
* Series of block headers from the last 81 blocks that acts as random seed material. This
|
|
1662
|
+
* is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of
|
|
1663
|
+
* the oldest hash.
|
|
1664
|
+
**/
|
|
1665
|
+
randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1666
|
+
/**
|
|
1667
|
+
* Generic query
|
|
1668
|
+
**/
|
|
1669
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1670
|
+
};
|
|
1671
|
+
rankedCollective: {
|
|
1672
|
+
/**
|
|
1673
|
+
* The index of each ranks's member into the group of members who have at least that rank.
|
|
1674
|
+
**/
|
|
1675
|
+
idToIndex: AugmentedQuery<ApiType, (arg1: u16 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u16, AccountId32]> & QueryableStorageEntry<ApiType, [u16, AccountId32]>;
|
|
1676
|
+
/**
|
|
1677
|
+
* The members in the collective by index. All indices in the range `0..MemberCount` will
|
|
1678
|
+
* return `Some`, however a member's index is not guaranteed to remain unchanged over time.
|
|
1679
|
+
**/
|
|
1680
|
+
indexToId: AugmentedQuery<ApiType, (arg1: u16 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u16, u32]> & QueryableStorageEntry<ApiType, [u16, u32]>;
|
|
1681
|
+
/**
|
|
1682
|
+
* The number of members in the collective who have at least the rank according to the index
|
|
1683
|
+
* of the vec.
|
|
1684
|
+
**/
|
|
1685
|
+
memberCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
|
|
1686
|
+
/**
|
|
1687
|
+
* The current members of the collective.
|
|
1688
|
+
**/
|
|
1689
|
+
members: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRankedCollectiveMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1690
|
+
/**
|
|
1691
|
+
* Votes on a given proposal, if it is ongoing.
|
|
1692
|
+
**/
|
|
1693
|
+
voting: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletRankedCollectiveVoteRecord>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1694
|
+
votingCleanup: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1695
|
+
/**
|
|
1696
|
+
* Generic query
|
|
1697
|
+
**/
|
|
1698
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1699
|
+
};
|
|
1700
|
+
rankedPolls: {
|
|
1701
|
+
/**
|
|
1702
|
+
* The number of referenda being decided currently.
|
|
1703
|
+
**/
|
|
1704
|
+
decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
|
|
1705
|
+
/**
|
|
1706
|
+
* The metadata is a general information concerning the referendum.
|
|
1707
|
+
* The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
|
|
1708
|
+
* dump or IPFS hash of a JSON file.
|
|
1709
|
+
*
|
|
1710
|
+
* Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
|
|
1711
|
+
* large preimages.
|
|
1712
|
+
**/
|
|
1713
|
+
metadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1714
|
+
/**
|
|
1715
|
+
* The next free referendum index, aka the number of referenda started so far.
|
|
1716
|
+
**/
|
|
1717
|
+
referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1718
|
+
/**
|
|
1719
|
+
* Information concerning any given referendum.
|
|
1720
|
+
**/
|
|
1721
|
+
referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfoRankedCollectiveTally>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1722
|
+
/**
|
|
1723
|
+
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
1724
|
+
* conviction-weighted approvals.
|
|
1725
|
+
*
|
|
1726
|
+
* This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
|
|
1727
|
+
**/
|
|
1728
|
+
trackQueue: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
|
|
1729
|
+
/**
|
|
1730
|
+
* Generic query
|
|
1731
|
+
**/
|
|
1732
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1733
|
+
};
|
|
1734
|
+
recovery: {
|
|
1735
|
+
/**
|
|
1736
|
+
* Active recovery attempts.
|
|
1737
|
+
*
|
|
1738
|
+
* First account is the account to be recovered, and the second account
|
|
1739
|
+
* is the user trying to recover the account.
|
|
1740
|
+
**/
|
|
1741
|
+
activeRecoveries: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryActiveRecovery>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
|
|
1742
|
+
/**
|
|
1743
|
+
* The list of allowed proxy accounts.
|
|
1744
|
+
*
|
|
1745
|
+
* Map from the user who can access it to the recovered account.
|
|
1746
|
+
**/
|
|
1747
|
+
proxy: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1748
|
+
/**
|
|
1749
|
+
* The set of recoverable accounts and their recovery configuration.
|
|
1750
|
+
**/
|
|
1751
|
+
recoverable: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryRecoveryConfig>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1752
|
+
/**
|
|
1753
|
+
* Generic query
|
|
1754
|
+
**/
|
|
1755
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1756
|
+
};
|
|
1757
|
+
referenda: {
|
|
1758
|
+
/**
|
|
1759
|
+
* The number of referenda being decided currently.
|
|
1760
|
+
**/
|
|
1761
|
+
decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
|
|
1762
|
+
/**
|
|
1763
|
+
* The metadata is a general information concerning the referendum.
|
|
1764
|
+
* The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
|
|
1765
|
+
* dump or IPFS hash of a JSON file.
|
|
1766
|
+
*
|
|
1767
|
+
* Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
|
|
1768
|
+
* large preimages.
|
|
1769
|
+
**/
|
|
1770
|
+
metadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1771
|
+
/**
|
|
1772
|
+
* The next free referendum index, aka the number of referenda started so far.
|
|
1773
|
+
**/
|
|
1774
|
+
referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1775
|
+
/**
|
|
1776
|
+
* Information concerning any given referendum.
|
|
1777
|
+
**/
|
|
1778
|
+
referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfoConvictionVotingTally>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1779
|
+
/**
|
|
1780
|
+
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
1781
|
+
* conviction-weighted approvals.
|
|
1782
|
+
*
|
|
1783
|
+
* This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
|
|
1784
|
+
**/
|
|
1785
|
+
trackQueue: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
|
|
1786
|
+
/**
|
|
1787
|
+
* Generic query
|
|
1788
|
+
**/
|
|
1789
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1790
|
+
};
|
|
1791
|
+
revive: {
|
|
1792
|
+
/**
|
|
1793
|
+
* A mapping from a contract's code hash to its code info.
|
|
1794
|
+
**/
|
|
1795
|
+
codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletReviveWasmCodeInfo>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1796
|
+
/**
|
|
1797
|
+
* The code associated with a given account.
|
|
1798
|
+
**/
|
|
1799
|
+
contractInfoOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletReviveStorageContractInfo>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
|
|
1800
|
+
/**
|
|
1801
|
+
* Evicted contracts that await child trie deletion.
|
|
1802
|
+
*
|
|
1803
|
+
* Child trie deletion is a heavy operation depending on the amount of storage items
|
|
1804
|
+
* stored in said trie. Therefore this operation is performed lazily in `on_idle`.
|
|
1805
|
+
**/
|
|
1806
|
+
deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1807
|
+
/**
|
|
1808
|
+
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
1809
|
+
* and the latest deleted contract in queue.
|
|
1810
|
+
**/
|
|
1811
|
+
deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletReviveStorageDeletionQueueManager>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1812
|
+
/**
|
|
1813
|
+
* The immutable data associated with a given account.
|
|
1814
|
+
**/
|
|
1815
|
+
immutableDataOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Bytes>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
|
|
1816
|
+
/**
|
|
1817
|
+
* Map a Ethereum address to its original `AccountId32`.
|
|
1818
|
+
*
|
|
1819
|
+
* When deriving a `H160` from an `AccountId32` we use a hash function. In order to
|
|
1820
|
+
* reconstruct the original account we need to store the reverse mapping here.
|
|
1821
|
+
* Register your `AccountId32` using [`Pallet::map_account`] in order to
|
|
1822
|
+
* use it with this pallet.
|
|
1823
|
+
**/
|
|
1824
|
+
originalAccount: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<AccountId32>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
|
|
1825
|
+
/**
|
|
1826
|
+
* A mapping from a contract's code hash to its code.
|
|
1827
|
+
**/
|
|
1828
|
+
pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1829
|
+
/**
|
|
1830
|
+
* Generic query
|
|
1831
|
+
**/
|
|
1832
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1833
|
+
};
|
|
1834
|
+
safeMode: {
|
|
1835
|
+
/**
|
|
1836
|
+
* Holds the reserve that was taken from an account at a specific block number.
|
|
1837
|
+
*
|
|
1838
|
+
* This helps governance to have an overview of outstanding deposits that should be returned or
|
|
1839
|
+
* slashed.
|
|
1840
|
+
**/
|
|
1841
|
+
deposits: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
|
|
1842
|
+
/**
|
|
1843
|
+
* Contains the last block number that the safe-mode will remain entered in.
|
|
1844
|
+
*
|
|
1845
|
+
* Set to `None` when safe-mode is exited.
|
|
1846
|
+
*
|
|
1847
|
+
* Safe-mode is automatically exited when the current block number exceeds this value.
|
|
1848
|
+
**/
|
|
1849
|
+
enteredUntil: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1850
|
+
/**
|
|
1851
|
+
* Generic query
|
|
1852
|
+
**/
|
|
1853
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1854
|
+
};
|
|
1855
|
+
salary: {
|
|
1856
|
+
/**
|
|
1857
|
+
* The status of a claimant.
|
|
1858
|
+
**/
|
|
1859
|
+
claimant: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSalaryClaimantStatus>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1860
|
+
/**
|
|
1861
|
+
* The overall status of the system.
|
|
1862
|
+
**/
|
|
1863
|
+
status: AugmentedQuery<ApiType, () => Observable<Option<PalletSalaryStatusType>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1864
|
+
/**
|
|
1865
|
+
* Generic query
|
|
1866
|
+
**/
|
|
1867
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1868
|
+
};
|
|
1869
|
+
scheduler: {
|
|
1870
|
+
/**
|
|
1871
|
+
* Items to be executed, indexed by the block number that they should be executed on.
|
|
1872
|
+
**/
|
|
1873
|
+
agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1874
|
+
/**
|
|
1875
|
+
* Block number at which the agenda began incomplete execution.
|
|
1876
|
+
**/
|
|
1877
|
+
incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1878
|
+
/**
|
|
1879
|
+
* Lookup from a name to the block number and index of the task.
|
|
1880
|
+
*
|
|
1881
|
+
* For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
|
|
1882
|
+
* identities.
|
|
1883
|
+
**/
|
|
1884
|
+
lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
1885
|
+
/**
|
|
1886
|
+
* Retry configurations for items to be executed, indexed by task address.
|
|
1887
|
+
**/
|
|
1888
|
+
retries: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PalletSchedulerRetryConfig>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
|
|
1889
|
+
/**
|
|
1890
|
+
* Generic query
|
|
1891
|
+
**/
|
|
1892
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1893
|
+
};
|
|
1894
|
+
session: {
|
|
1895
|
+
/**
|
|
1896
|
+
* Current index of the session.
|
|
1897
|
+
**/
|
|
1898
|
+
currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1899
|
+
/**
|
|
1900
|
+
* Indices of disabled validators.
|
|
1901
|
+
*
|
|
1902
|
+
* The vec is always kept sorted so that we can find whether a given validator is
|
|
1903
|
+
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
|
1904
|
+
* a new set of identities.
|
|
1905
|
+
**/
|
|
1906
|
+
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1907
|
+
/**
|
|
1908
|
+
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
1909
|
+
**/
|
|
1910
|
+
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
|
|
1911
|
+
/**
|
|
1912
|
+
* The next session keys for a validator.
|
|
1913
|
+
**/
|
|
1914
|
+
nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<KitchensinkRuntimeSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1915
|
+
/**
|
|
1916
|
+
* True if the underlying economic identities or weighting behind the validators
|
|
1917
|
+
* has changed in the queued validator set.
|
|
1918
|
+
**/
|
|
1919
|
+
queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1920
|
+
/**
|
|
1921
|
+
* The queued keys for the next session. When the next session begins, these keys
|
|
1922
|
+
* will be used to determine the validator's session keys.
|
|
1923
|
+
**/
|
|
1924
|
+
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, KitchensinkRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1925
|
+
/**
|
|
1926
|
+
* The current set of validators.
|
|
1927
|
+
**/
|
|
1928
|
+
validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1929
|
+
/**
|
|
1930
|
+
* Generic query
|
|
1931
|
+
**/
|
|
1932
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1933
|
+
};
|
|
1934
|
+
society: {
|
|
1935
|
+
/**
|
|
1936
|
+
* The current bids, stored ordered by the value of the bid.
|
|
1937
|
+
**/
|
|
1938
|
+
bids: AugmentedQuery<ApiType, () => Observable<Vec<PalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1939
|
+
candidates: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyCandidacy>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1940
|
+
/**
|
|
1941
|
+
* The number of challenge rounds there have been. Used to identify stale DefenderVotes.
|
|
1942
|
+
**/
|
|
1943
|
+
challengeRoundCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1944
|
+
/**
|
|
1945
|
+
* Votes for the defender, keyed by challenge round.
|
|
1946
|
+
**/
|
|
1947
|
+
defenderVotes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1948
|
+
/**
|
|
1949
|
+
* The defending member currently being challenged, along with a running tally of votes.
|
|
1950
|
+
**/
|
|
1951
|
+
defending: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, AccountId32, PalletSocietyTally]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1952
|
+
/**
|
|
1953
|
+
* The first member.
|
|
1954
|
+
**/
|
|
1955
|
+
founder: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1956
|
+
/**
|
|
1957
|
+
* The most primary from the most recently approved rank 0 members in the society.
|
|
1958
|
+
**/
|
|
1959
|
+
head: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1960
|
+
/**
|
|
1961
|
+
* The current items in `Members` keyed by their unique index. Keys are densely populated
|
|
1962
|
+
* `0..MemberCount` (does not include `MemberCount`).
|
|
1963
|
+
**/
|
|
1964
|
+
memberByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1965
|
+
/**
|
|
1966
|
+
* The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
|
|
1967
|
+
**/
|
|
1968
|
+
memberCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1969
|
+
/**
|
|
1970
|
+
* The current members and their rank. Doesn't include `SuspendedMembers`.
|
|
1971
|
+
**/
|
|
1972
|
+
members: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1973
|
+
/**
|
|
1974
|
+
* At the end of the claim period, this contains the most recently approved members (along with
|
|
1975
|
+
* their bid and round ID) who is from the most recent round with the lowest bid. They will
|
|
1976
|
+
* become the new `Head`.
|
|
1977
|
+
**/
|
|
1978
|
+
nextHead: AugmentedQuery<ApiType, () => Observable<Option<PalletSocietyIntakeRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1979
|
+
/**
|
|
1980
|
+
* The max number of members for the society at one time.
|
|
1981
|
+
**/
|
|
1982
|
+
parameters: AugmentedQuery<ApiType, () => Observable<Option<PalletSocietyGroupParams>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1983
|
+
/**
|
|
1984
|
+
* Information regarding rank-0 payouts, past and future.
|
|
1985
|
+
**/
|
|
1986
|
+
payouts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletSocietyPayoutRecord>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1987
|
+
/**
|
|
1988
|
+
* Amount of our account balance that is specifically for the next round's bid(s).
|
|
1989
|
+
**/
|
|
1990
|
+
pot: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1991
|
+
/**
|
|
1992
|
+
* The number of rounds which have passed.
|
|
1993
|
+
**/
|
|
1994
|
+
roundCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1995
|
+
/**
|
|
1996
|
+
* A hash of the rules of this society concerning membership. Can only be set once and
|
|
1997
|
+
* only by the founder.
|
|
1998
|
+
**/
|
|
1999
|
+
rules: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2000
|
+
/**
|
|
2001
|
+
* The current skeptic.
|
|
2002
|
+
**/
|
|
2003
|
+
skeptic: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2004
|
+
/**
|
|
2005
|
+
* The set of suspended members, with their old membership record.
|
|
2006
|
+
**/
|
|
2007
|
+
suspendedMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2008
|
+
/**
|
|
2009
|
+
* Clear-cursor for Vote, map from Candidate -> (Maybe) Cursor.
|
|
2010
|
+
**/
|
|
2011
|
+
voteClearCursor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2012
|
+
/**
|
|
2013
|
+
* Double map from Candidate -> Voter -> (Maybe) Vote.
|
|
2014
|
+
**/
|
|
2015
|
+
votes: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
|
|
2016
|
+
/**
|
|
2017
|
+
* Generic query
|
|
2018
|
+
**/
|
|
2019
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2020
|
+
};
|
|
2021
|
+
staking: {
|
|
2022
|
+
/**
|
|
2023
|
+
* The active era information, it holds index and start.
|
|
2024
|
+
*
|
|
2025
|
+
* The active era is the era being currently rewarded. Validator set of this era must be
|
|
2026
|
+
* equal to [`SessionInterface::validators`].
|
|
2027
|
+
**/
|
|
2028
|
+
activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2029
|
+
/**
|
|
2030
|
+
* Map from all locked "stash" accounts to the controller account.
|
|
2031
|
+
*
|
|
2032
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
2033
|
+
**/
|
|
2034
|
+
bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2035
|
+
/**
|
|
2036
|
+
* A mapping from still-bonded eras to the first session index of that era.
|
|
2037
|
+
*
|
|
2038
|
+
* Must contains information for eras for the range:
|
|
2039
|
+
* `[active_era - bounding_duration; active_era]`
|
|
2040
|
+
**/
|
|
2041
|
+
bondedEras: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2042
|
+
/**
|
|
2043
|
+
* The amount of currency given to reporters of a slash event which was
|
|
2044
|
+
* canceled by extraordinary circumstances (e.g. governance).
|
|
2045
|
+
**/
|
|
2046
|
+
canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2047
|
+
/**
|
|
2048
|
+
* The threshold for when users can start calling `chill_other` for other validators /
|
|
2049
|
+
* nominators. The threshold is compared to the actual number of validators / nominators
|
|
2050
|
+
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
|
2051
|
+
**/
|
|
2052
|
+
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2053
|
+
/**
|
|
2054
|
+
* History of claimed paged rewards by era and validator.
|
|
2055
|
+
*
|
|
2056
|
+
* This is keyed by era and validator stash which maps to the set of page indexes which have
|
|
2057
|
+
* been claimed.
|
|
2058
|
+
*
|
|
2059
|
+
* It is removed after [`Config::HistoryDepth`] eras.
|
|
2060
|
+
**/
|
|
2061
|
+
claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
2062
|
+
/**
|
|
2063
|
+
* Counter for the related counted storage map
|
|
2064
|
+
**/
|
|
2065
|
+
counterForNominators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2066
|
+
/**
|
|
2067
|
+
* Counter for the related counted storage map
|
|
2068
|
+
**/
|
|
2069
|
+
counterForValidators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2070
|
+
/**
|
|
2071
|
+
* Counter for the related counted storage map
|
|
2072
|
+
**/
|
|
2073
|
+
counterForVirtualStakers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2074
|
+
/**
|
|
2075
|
+
* The current era index.
|
|
2076
|
+
*
|
|
2077
|
+
* This is the latest planned era, depending on how the Session pallet queues the validator
|
|
2078
|
+
* set, it might be active or not.
|
|
2079
|
+
**/
|
|
2080
|
+
currentEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2081
|
+
/**
|
|
2082
|
+
* The last planned session scheduled by the session pallet.
|
|
2083
|
+
*
|
|
2084
|
+
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
|
2085
|
+
**/
|
|
2086
|
+
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2087
|
+
/**
|
|
2088
|
+
* Rewards for the last [`Config::HistoryDepth`] eras.
|
|
2089
|
+
* If reward hasn't been set or has been removed then 0 reward is returned.
|
|
2090
|
+
**/
|
|
2091
|
+
erasRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2092
|
+
/**
|
|
2093
|
+
* Exposure of validator at era.
|
|
2094
|
+
*
|
|
2095
|
+
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
|
2096
|
+
*
|
|
2097
|
+
* Is it removed after [`Config::HistoryDepth`] eras.
|
|
2098
|
+
* If stakers hasn't been set or has been removed then empty exposure is returned.
|
|
2099
|
+
*
|
|
2100
|
+
* Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
|
|
2101
|
+
**/
|
|
2102
|
+
erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
2103
|
+
/**
|
|
2104
|
+
* Clipped Exposure of validator at era.
|
|
2105
|
+
*
|
|
2106
|
+
* Note: This is deprecated, should be used as read-only and will be removed in the future.
|
|
2107
|
+
* New `Exposure`s are stored in a paged manner in `ErasStakersPaged` instead.
|
|
2108
|
+
*
|
|
2109
|
+
* This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the
|
|
2110
|
+
* `T::MaxExposurePageSize` biggest stakers.
|
|
2111
|
+
* (Note: the field `total` and `own` of the exposure remains unchanged).
|
|
2112
|
+
* This is used to limit the i/o cost for the nominator payout.
|
|
2113
|
+
*
|
|
2114
|
+
* This is keyed fist by the era index to allow bulk deletion and then the stash account.
|
|
2115
|
+
*
|
|
2116
|
+
* It is removed after [`Config::HistoryDepth`] eras.
|
|
2117
|
+
* If stakers hasn't been set or has been removed then empty exposure is returned.
|
|
2118
|
+
*
|
|
2119
|
+
* Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
|
|
2120
|
+
**/
|
|
2121
|
+
erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
2122
|
+
/**
|
|
2123
|
+
* Summary of validator exposure at a given era.
|
|
2124
|
+
*
|
|
2125
|
+
* This contains the total stake in support of the validator and their own stake. In addition,
|
|
2126
|
+
* it can also be used to get the number of nominators backing this validator and the number of
|
|
2127
|
+
* exposure pages they are divided into. The page count is useful to determine the number of
|
|
2128
|
+
* pages of rewards that needs to be claimed.
|
|
2129
|
+
*
|
|
2130
|
+
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
|
2131
|
+
* Should only be accessed through `EraInfo`.
|
|
2132
|
+
*
|
|
2133
|
+
* Is it removed after [`Config::HistoryDepth`] eras.
|
|
2134
|
+
* If stakers hasn't been set or has been removed then empty overview is returned.
|
|
2135
|
+
**/
|
|
2136
|
+
erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<SpStakingPagedExposureMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
2137
|
+
/**
|
|
2138
|
+
* Paginated exposure of a validator at given era.
|
|
2139
|
+
*
|
|
2140
|
+
* This is keyed first by the era index to allow bulk deletion, then stash account and finally
|
|
2141
|
+
* the page. Should only be accessed through `EraInfo`.
|
|
2142
|
+
*
|
|
2143
|
+
* This is cleared after [`Config::HistoryDepth`] eras.
|
|
2144
|
+
**/
|
|
2145
|
+
erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<SpStakingExposurePage>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
|
|
2146
|
+
/**
|
|
2147
|
+
* The session index at which the era start for the last [`Config::HistoryDepth`] eras.
|
|
2148
|
+
*
|
|
2149
|
+
* Note: This tracks the starting session (i.e. session index when era start being active)
|
|
2150
|
+
* for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`.
|
|
2151
|
+
**/
|
|
2152
|
+
erasStartSessionIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2153
|
+
/**
|
|
2154
|
+
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
|
2155
|
+
* If total hasn't been set or has been removed then 0 stake is returned.
|
|
2156
|
+
**/
|
|
2157
|
+
erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2158
|
+
/**
|
|
2159
|
+
* Similar to `ErasStakers`, this holds the preferences of validators.
|
|
2160
|
+
*
|
|
2161
|
+
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
|
2162
|
+
*
|
|
2163
|
+
* Is it removed after [`Config::HistoryDepth`] eras.
|
|
2164
|
+
**/
|
|
2165
|
+
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
2166
|
+
/**
|
|
2167
|
+
* The total validator era payout for the last [`Config::HistoryDepth`] eras.
|
|
2168
|
+
*
|
|
2169
|
+
* Eras that haven't finished yet or has been removed doesn't have reward.
|
|
2170
|
+
**/
|
|
2171
|
+
erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2172
|
+
/**
|
|
2173
|
+
* Mode of era forcing.
|
|
2174
|
+
**/
|
|
2175
|
+
forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2176
|
+
/**
|
|
2177
|
+
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
2178
|
+
* easy to initialize and the performance hit is minimal (we expect no more than four
|
|
2179
|
+
* invulnerables) and restricted to testnets.
|
|
2180
|
+
**/
|
|
2181
|
+
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2182
|
+
/**
|
|
2183
|
+
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
2184
|
+
*
|
|
2185
|
+
* Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
|
|
2186
|
+
* by [`StakingLedger`] to ensure data and lock consistency.
|
|
2187
|
+
**/
|
|
2188
|
+
ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2189
|
+
/**
|
|
2190
|
+
* The maximum nominator count before we stop allowing new validators to join.
|
|
2191
|
+
*
|
|
2192
|
+
* When this value is not set, no limits are enforced.
|
|
2193
|
+
**/
|
|
2194
|
+
maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2195
|
+
/**
|
|
2196
|
+
* Maximum staked rewards, i.e. the percentage of the era inflation that
|
|
2197
|
+
* is used for stake rewards.
|
|
2198
|
+
* See [Era payout](./index.html#era-payout).
|
|
2199
|
+
**/
|
|
2200
|
+
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2201
|
+
/**
|
|
2202
|
+
* The maximum validator count before we stop allowing new validators to join.
|
|
2203
|
+
*
|
|
2204
|
+
* When this value is not set, no limits are enforced.
|
|
2205
|
+
**/
|
|
2206
|
+
maxValidatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2207
|
+
/**
|
|
2208
|
+
* The minimum amount of commission that validators can set.
|
|
2209
|
+
*
|
|
2210
|
+
* If set to `0`, no limit exists.
|
|
2211
|
+
**/
|
|
2212
|
+
minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2213
|
+
/**
|
|
2214
|
+
* The minimum active nominator stake of the last successful election.
|
|
2215
|
+
**/
|
|
2216
|
+
minimumActiveStake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2217
|
+
/**
|
|
2218
|
+
* Minimum number of staking participants before emergency conditions are imposed.
|
|
2219
|
+
**/
|
|
2220
|
+
minimumValidatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2221
|
+
/**
|
|
2222
|
+
* The minimum active bond to become and maintain the role of a nominator.
|
|
2223
|
+
**/
|
|
2224
|
+
minNominatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2225
|
+
/**
|
|
2226
|
+
* The minimum active bond to become and maintain the role of a validator.
|
|
2227
|
+
**/
|
|
2228
|
+
minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2229
|
+
/**
|
|
2230
|
+
* The map from nominator stash key to their nomination preferences, namely the validators that
|
|
2231
|
+
* they wish to support.
|
|
2232
|
+
*
|
|
2233
|
+
* Note that the keys of this storage map might become non-decodable in case the
|
|
2234
|
+
* account's [`NominationsQuota::MaxNominations`] configuration is decreased.
|
|
2235
|
+
* In this rare case, these nominators
|
|
2236
|
+
* are still existent in storage, their key is correct and retrievable (i.e. `contains_key`
|
|
2237
|
+
* indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable
|
|
2238
|
+
* nominators will effectively not-exist, until they re-submit their preferences such that it
|
|
2239
|
+
* is within the bounds of the newly set `Config::MaxNominations`.
|
|
2240
|
+
*
|
|
2241
|
+
* This implies that `::iter_keys().count()` and `::iter().count()` might return different
|
|
2242
|
+
* values for this map. Moreover, the main `::count()` is aligned with the former, namely the
|
|
2243
|
+
* number of keys that exist.
|
|
2244
|
+
*
|
|
2245
|
+
* Lastly, if any of the nominators become non-decodable, they can be chilled immediately via
|
|
2246
|
+
* [`Call::chill_other`] dispatchable by anyone.
|
|
2247
|
+
*
|
|
2248
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
2249
|
+
**/
|
|
2250
|
+
nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2251
|
+
/**
|
|
2252
|
+
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
|
2253
|
+
**/
|
|
2254
|
+
nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
2255
|
+
/**
|
|
2256
|
+
* Where the reward payment should be made. Keyed by stash.
|
|
2257
|
+
*
|
|
2258
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
2259
|
+
**/
|
|
2260
|
+
payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingRewardDestination>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2261
|
+
/**
|
|
2262
|
+
* Slashing spans for stash accounts.
|
|
2263
|
+
**/
|
|
2264
|
+
slashingSpans: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingSlashingSlashingSpans>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2265
|
+
/**
|
|
2266
|
+
* The percentage of the slash that is distributed to reporters.
|
|
2267
|
+
*
|
|
2268
|
+
* The rest of the slashed value is handled by the `Slash`.
|
|
2269
|
+
**/
|
|
2270
|
+
slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2271
|
+
/**
|
|
2272
|
+
* Records information about the maximum slash of a stash within a slashing span,
|
|
2273
|
+
* as well as how much reward has been paid out.
|
|
2274
|
+
**/
|
|
2275
|
+
spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<PalletStakingSlashingSpanRecord>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
|
|
2276
|
+
/**
|
|
2277
|
+
* All unapplied slashes that are queued for later.
|
|
2278
|
+
**/
|
|
2279
|
+
unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2280
|
+
/**
|
|
2281
|
+
* The ideal number of active validators.
|
|
2282
|
+
**/
|
|
2283
|
+
validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2284
|
+
/**
|
|
2285
|
+
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
2286
|
+
*
|
|
2287
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
2288
|
+
**/
|
|
2289
|
+
validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2290
|
+
/**
|
|
2291
|
+
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
2292
|
+
* and slash value of the era.
|
|
2293
|
+
**/
|
|
2294
|
+
validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
2295
|
+
/**
|
|
2296
|
+
* Stakers whose funds are managed by other pallets.
|
|
2297
|
+
*
|
|
2298
|
+
* This pallet does not apply any locks on them, therefore they are only virtually bonded. They
|
|
2299
|
+
* are expected to be keyless accounts and hence should not be allowed to mutate their ledger
|
|
2300
|
+
* directly via this pallet. Instead, these accounts are managed by other pallets and accessed
|
|
2301
|
+
* via low level apis. We keep track of them to do minimal integrity checks.
|
|
2302
|
+
**/
|
|
2303
|
+
virtualStakers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2304
|
+
/**
|
|
2305
|
+
* Generic query
|
|
2306
|
+
**/
|
|
2307
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2308
|
+
};
|
|
2309
|
+
stateTrieMigration: {
|
|
2310
|
+
/**
|
|
2311
|
+
* The limits that are imposed on automatic migrations.
|
|
2312
|
+
*
|
|
2313
|
+
* If set to None, then no automatic migration happens.
|
|
2314
|
+
**/
|
|
2315
|
+
autoLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2316
|
+
/**
|
|
2317
|
+
* Migration progress.
|
|
2318
|
+
*
|
|
2319
|
+
* This stores the snapshot of the last migrated keys. It can be set into motion and move
|
|
2320
|
+
* forward by any of the means provided by this pallet.
|
|
2321
|
+
**/
|
|
2322
|
+
migrationProcess: AugmentedQuery<ApiType, () => Observable<PalletStateTrieMigrationMigrationTask>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2323
|
+
/**
|
|
2324
|
+
* The maximum limits that the signed migration could use.
|
|
2325
|
+
*
|
|
2326
|
+
* If not set, no signed submission is allowed.
|
|
2327
|
+
**/
|
|
2328
|
+
signedMigrationMaxLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2329
|
+
/**
|
|
2330
|
+
* Generic query
|
|
2331
|
+
**/
|
|
2332
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2333
|
+
};
|
|
2334
|
+
sudo: {
|
|
2335
|
+
/**
|
|
2336
|
+
* The `AccountId` of the sudo key.
|
|
2337
|
+
**/
|
|
2338
|
+
key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2339
|
+
/**
|
|
2340
|
+
* Generic query
|
|
2341
|
+
**/
|
|
2342
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2343
|
+
};
|
|
2344
|
+
system: {
|
|
2345
|
+
/**
|
|
2346
|
+
* The full account information for a particular account ID.
|
|
2347
|
+
**/
|
|
2348
|
+
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2349
|
+
/**
|
|
2350
|
+
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
2351
|
+
**/
|
|
2352
|
+
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2353
|
+
/**
|
|
2354
|
+
* `Some` if a code upgrade has been authorized.
|
|
2355
|
+
**/
|
|
2356
|
+
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2357
|
+
/**
|
|
2358
|
+
* Map of block numbers to block hashes.
|
|
2359
|
+
**/
|
|
2360
|
+
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2361
|
+
/**
|
|
2362
|
+
* The current weight for the block.
|
|
2363
|
+
**/
|
|
2364
|
+
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2365
|
+
/**
|
|
2366
|
+
* Digest of the current block, also part of the block header.
|
|
2367
|
+
**/
|
|
2368
|
+
digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2369
|
+
/**
|
|
2370
|
+
* The number of events in the `Events<T>` list.
|
|
2371
|
+
**/
|
|
2372
|
+
eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2373
|
+
/**
|
|
2374
|
+
* Events deposited for the current block.
|
|
2375
|
+
*
|
|
2376
|
+
* NOTE: The item is unbound and should therefore never be read on chain.
|
|
2377
|
+
* It could otherwise inflate the PoV size of a block.
|
|
2378
|
+
*
|
|
2379
|
+
* Events have a large in-memory size. Box the events to not go out-of-memory
|
|
2380
|
+
* just in case someone still reads them from within the runtime.
|
|
2381
|
+
**/
|
|
2382
|
+
events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2383
|
+
/**
|
|
2384
|
+
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
2385
|
+
* of events in the `<Events<T>>` list.
|
|
2386
|
+
*
|
|
2387
|
+
* All topic vectors have deterministic storage locations depending on the topic. This
|
|
2388
|
+
* allows light-clients to leverage the changes trie storage tracking mechanism and
|
|
2389
|
+
* in case of changes fetch the list of events of interest.
|
|
2390
|
+
*
|
|
2391
|
+
* The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
|
|
2392
|
+
* the `EventIndex` then in case if the topic has the same contents on the next block
|
|
2393
|
+
* no notification will be triggered thus the event might be lost.
|
|
2394
|
+
**/
|
|
2395
|
+
eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
2396
|
+
/**
|
|
2397
|
+
* The execution phase of the block.
|
|
2398
|
+
**/
|
|
2399
|
+
executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2400
|
+
/**
|
|
2401
|
+
* Total extrinsics count for the current block.
|
|
2402
|
+
**/
|
|
2403
|
+
extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2404
|
+
/**
|
|
2405
|
+
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
2406
|
+
**/
|
|
2407
|
+
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2408
|
+
/**
|
|
2409
|
+
* The weight reclaimed for the extrinsic.
|
|
2410
|
+
*
|
|
2411
|
+
* This information is available until the end of the extrinsic execution.
|
|
2412
|
+
* More precisely this information is removed in `note_applied_extrinsic`.
|
|
2413
|
+
*
|
|
2414
|
+
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
|
|
2415
|
+
* reduction.
|
|
2416
|
+
**/
|
|
2417
|
+
extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2418
|
+
/**
|
|
2419
|
+
* Whether all inherents have been applied.
|
|
2420
|
+
**/
|
|
2421
|
+
inherentsApplied: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2422
|
+
/**
|
|
2423
|
+
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
2424
|
+
**/
|
|
2425
|
+
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2426
|
+
/**
|
|
2427
|
+
* The current block number being processed. Set by `execute_block`.
|
|
2428
|
+
**/
|
|
2429
|
+
number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2430
|
+
/**
|
|
2431
|
+
* Hash of the previous block.
|
|
2432
|
+
**/
|
|
2433
|
+
parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2434
|
+
/**
|
|
2435
|
+
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
2436
|
+
* (default) if not.
|
|
2437
|
+
**/
|
|
2438
|
+
upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2439
|
+
/**
|
|
2440
|
+
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
2441
|
+
**/
|
|
2442
|
+
upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2443
|
+
/**
|
|
2444
|
+
* Generic query
|
|
2445
|
+
**/
|
|
2446
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2447
|
+
};
|
|
2448
|
+
tasksExample: {
|
|
2449
|
+
/**
|
|
2450
|
+
* Numbers to be added into the total.
|
|
2451
|
+
**/
|
|
2452
|
+
numbers: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2453
|
+
/**
|
|
2454
|
+
* Some running total.
|
|
2455
|
+
**/
|
|
2456
|
+
total: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2457
|
+
/**
|
|
2458
|
+
* Generic query
|
|
2459
|
+
**/
|
|
2460
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2461
|
+
};
|
|
2462
|
+
technicalCommittee: {
|
|
2463
|
+
/**
|
|
2464
|
+
* Consideration cost created for publishing and storing a proposal.
|
|
2465
|
+
*
|
|
2466
|
+
* Determined by [Config::Consideration] and may be not present for certain proposals (e.g. if
|
|
2467
|
+
* the proposal count at the time of creation was below threshold N).
|
|
2468
|
+
**/
|
|
2469
|
+
costOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Null]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
2470
|
+
/**
|
|
2471
|
+
* The current members of the collective. This is stored sorted (just by value).
|
|
2472
|
+
**/
|
|
2473
|
+
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2474
|
+
/**
|
|
2475
|
+
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
2476
|
+
**/
|
|
2477
|
+
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2478
|
+
/**
|
|
2479
|
+
* Proposals so far.
|
|
2480
|
+
**/
|
|
2481
|
+
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2482
|
+
/**
|
|
2483
|
+
* Actual proposal for a given hash, if it's current.
|
|
2484
|
+
**/
|
|
2485
|
+
proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
2486
|
+
/**
|
|
2487
|
+
* The hashes of the active proposals.
|
|
2488
|
+
**/
|
|
2489
|
+
proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2490
|
+
/**
|
|
2491
|
+
* Votes on a given proposal, if it is ongoing.
|
|
2492
|
+
**/
|
|
2493
|
+
voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
2494
|
+
/**
|
|
2495
|
+
* Generic query
|
|
2496
|
+
**/
|
|
2497
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2498
|
+
};
|
|
2499
|
+
technicalMembership: {
|
|
2500
|
+
/**
|
|
2501
|
+
* The current membership, stored as an ordered Vec.
|
|
2502
|
+
**/
|
|
2503
|
+
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2504
|
+
/**
|
|
2505
|
+
* The current prime member, if one exists.
|
|
2506
|
+
**/
|
|
2507
|
+
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2508
|
+
/**
|
|
2509
|
+
* Generic query
|
|
2510
|
+
**/
|
|
2511
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2512
|
+
};
|
|
2513
|
+
timestamp: {
|
|
2514
|
+
/**
|
|
2515
|
+
* Whether the timestamp has been updated in this block.
|
|
2516
|
+
*
|
|
2517
|
+
* This value is updated to `true` upon successful submission of a timestamp by a node.
|
|
2518
|
+
* It is then checked at the end of each block execution in the `on_finalize` hook.
|
|
2519
|
+
**/
|
|
2520
|
+
didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2521
|
+
/**
|
|
2522
|
+
* The current time for the current block.
|
|
2523
|
+
**/
|
|
2524
|
+
now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2525
|
+
/**
|
|
2526
|
+
* Generic query
|
|
2527
|
+
**/
|
|
2528
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2529
|
+
};
|
|
2530
|
+
tips: {
|
|
2531
|
+
/**
|
|
2532
|
+
* Simple preimage lookup from the reason's hash to the original data. Again, has an
|
|
2533
|
+
* insecure enumerable hash since the key is guaranteed to be the result of a secure hash.
|
|
2534
|
+
**/
|
|
2535
|
+
reasons: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
2536
|
+
/**
|
|
2537
|
+
* TipsMap that are not yet completed. Keyed by the hash of `(reason, who)` from the value.
|
|
2538
|
+
* This has the insecure enumerable hash function since the key itself is already
|
|
2539
|
+
* guaranteed to be a secure hash.
|
|
2540
|
+
**/
|
|
2541
|
+
tips: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletTipsOpenTip>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
2542
|
+
/**
|
|
2543
|
+
* Generic query
|
|
2544
|
+
**/
|
|
2545
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2546
|
+
};
|
|
2547
|
+
transactionPayment: {
|
|
2548
|
+
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2549
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2550
|
+
/**
|
|
2551
|
+
* Generic query
|
|
2552
|
+
**/
|
|
2553
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2554
|
+
};
|
|
2555
|
+
transactionStorage: {
|
|
2556
|
+
blockTransactions: AugmentedQuery<ApiType, () => Observable<Vec<PalletTransactionStorageTransactionInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2557
|
+
/**
|
|
2558
|
+
* Storage fee per byte.
|
|
2559
|
+
**/
|
|
2560
|
+
byteFee: AugmentedQuery<ApiType, () => Observable<Option<u128>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2561
|
+
/**
|
|
2562
|
+
* Count indexed chunks for each block.
|
|
2563
|
+
**/
|
|
2564
|
+
chunkCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2565
|
+
/**
|
|
2566
|
+
* Storage fee per transaction.
|
|
2567
|
+
**/
|
|
2568
|
+
entryFee: AugmentedQuery<ApiType, () => Observable<Option<u128>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2569
|
+
/**
|
|
2570
|
+
* Was the proof checked in this block?
|
|
2571
|
+
**/
|
|
2572
|
+
proofChecked: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2573
|
+
/**
|
|
2574
|
+
* Storage period for data in blocks. Should match `sp_storage_proof::DEFAULT_STORAGE_PERIOD`
|
|
2575
|
+
* for block authoring.
|
|
2576
|
+
**/
|
|
2577
|
+
storagePeriod: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2578
|
+
/**
|
|
2579
|
+
* Collection of transaction metadata by block number.
|
|
2580
|
+
**/
|
|
2581
|
+
transactions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PalletTransactionStorageTransactionInfo>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2582
|
+
/**
|
|
2583
|
+
* Generic query
|
|
2584
|
+
**/
|
|
2585
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2586
|
+
};
|
|
2587
|
+
treasury: {
|
|
2588
|
+
/**
|
|
2589
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
2590
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
2591
|
+
*
|
|
2592
|
+
* Proposal indices that have been approved but not yet awarded.
|
|
2593
|
+
**/
|
|
2594
|
+
approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2595
|
+
/**
|
|
2596
|
+
* The amount which has been reported as inactive to Currency.
|
|
2597
|
+
**/
|
|
2598
|
+
deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2599
|
+
/**
|
|
2600
|
+
* The blocknumber for the last triggered spend period.
|
|
2601
|
+
**/
|
|
2602
|
+
lastSpendPeriod: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2603
|
+
/**
|
|
2604
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
2605
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
2606
|
+
*
|
|
2607
|
+
* Number of proposals that have been made.
|
|
2608
|
+
**/
|
|
2609
|
+
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2610
|
+
/**
|
|
2611
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
2612
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
2613
|
+
*
|
|
2614
|
+
* Proposals that have been made.
|
|
2615
|
+
**/
|
|
2616
|
+
proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2617
|
+
/**
|
|
2618
|
+
* The count of spends that have been made.
|
|
2619
|
+
**/
|
|
2620
|
+
spendCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2621
|
+
/**
|
|
2622
|
+
* Spends that have been approved and being processed.
|
|
2623
|
+
**/
|
|
2624
|
+
spends: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasurySpendStatus>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2625
|
+
/**
|
|
2626
|
+
* Generic query
|
|
2627
|
+
**/
|
|
2628
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2629
|
+
};
|
|
2630
|
+
txPause: {
|
|
2631
|
+
/**
|
|
2632
|
+
* The set of calls that are explicitly paused.
|
|
2633
|
+
**/
|
|
2634
|
+
pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [ITuple<[Bytes, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[Bytes, Bytes]>]>;
|
|
2635
|
+
/**
|
|
2636
|
+
* Generic query
|
|
2637
|
+
**/
|
|
2638
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2639
|
+
};
|
|
2640
|
+
uniques: {
|
|
2641
|
+
/**
|
|
2642
|
+
* The items held by any given account; set out this way so that items owned by a single
|
|
2643
|
+
* account can be enumerated.
|
|
2644
|
+
**/
|
|
2645
|
+
account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
|
|
2646
|
+
/**
|
|
2647
|
+
* The items in existence and their ownership details.
|
|
2648
|
+
**/
|
|
2649
|
+
asset: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesItemDetails>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
2650
|
+
/**
|
|
2651
|
+
* Attributes of a collection.
|
|
2652
|
+
**/
|
|
2653
|
+
attribute: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: Option<u32> | null | Uint8Array | u32 | AnyNumber, arg3: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, u128]>>>, [u32, Option<u32>, Bytes]> & QueryableStorageEntry<ApiType, [u32, Option<u32>, Bytes]>;
|
|
2654
|
+
/**
|
|
2655
|
+
* Details of a collection.
|
|
2656
|
+
**/
|
|
2657
|
+
class: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesCollectionDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2658
|
+
/**
|
|
2659
|
+
* The collections owned by any given account; set out this way so that collections owned by
|
|
2660
|
+
* a single account can be enumerated.
|
|
2661
|
+
**/
|
|
2662
|
+
classAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
|
|
2663
|
+
/**
|
|
2664
|
+
* Metadata of a collection.
|
|
2665
|
+
**/
|
|
2666
|
+
classMetadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesCollectionMetadata>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2667
|
+
/**
|
|
2668
|
+
* Keeps track of the number of items a collection might have.
|
|
2669
|
+
**/
|
|
2670
|
+
collectionMaxSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2671
|
+
/**
|
|
2672
|
+
* Metadata of an item.
|
|
2673
|
+
**/
|
|
2674
|
+
instanceMetadataOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesItemMetadata>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
2675
|
+
/**
|
|
2676
|
+
* Price of an asset instance.
|
|
2677
|
+
**/
|
|
2678
|
+
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
2679
|
+
/**
|
|
2680
|
+
* The collection, if any, of which an account is willing to take ownership.
|
|
2681
|
+
**/
|
|
2682
|
+
ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2683
|
+
/**
|
|
2684
|
+
* Generic query
|
|
2685
|
+
**/
|
|
2686
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2687
|
+
};
|
|
2688
|
+
vesting: {
|
|
2689
|
+
/**
|
|
2690
|
+
* Storage version of the pallet.
|
|
2691
|
+
*
|
|
2692
|
+
* New networks start with latest version, as determined by the genesis build.
|
|
2693
|
+
**/
|
|
2694
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletVestingReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2695
|
+
/**
|
|
2696
|
+
* Information regarding the vesting of a given account.
|
|
2697
|
+
**/
|
|
2698
|
+
vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2699
|
+
/**
|
|
2700
|
+
* Generic query
|
|
2701
|
+
**/
|
|
2702
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2703
|
+
};
|
|
2704
|
+
voterList: {
|
|
2705
|
+
/**
|
|
2706
|
+
* Counter for the related counted storage map
|
|
2707
|
+
**/
|
|
2708
|
+
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2709
|
+
/**
|
|
2710
|
+
* A bag stored in storage.
|
|
2711
|
+
*
|
|
2712
|
+
* Stores a `Bag` struct, which stores head and tail pointers to itself.
|
|
2713
|
+
**/
|
|
2714
|
+
listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
2715
|
+
/**
|
|
2716
|
+
* A single node, within some bag.
|
|
2717
|
+
*
|
|
2718
|
+
* Nodes store links forward and back within their respective bags.
|
|
2719
|
+
**/
|
|
2720
|
+
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2721
|
+
/**
|
|
2722
|
+
* Generic query
|
|
2723
|
+
**/
|
|
2724
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2725
|
+
};
|
|
2726
|
+
whitelist: {
|
|
2727
|
+
whitelistedCall: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Null>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
2728
|
+
/**
|
|
2729
|
+
* Generic query
|
|
2730
|
+
**/
|
|
2731
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2732
|
+
};
|
|
2733
|
+
} // AugmentedQueries
|
|
2734
|
+
} // declare module
|