|
@@ -481,7 +481,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
* For each session index, we keep a mapping of `T::ValidatorId` to the
|
|
|
* number of blocks authored by the given authority.
|
|
|
**/
|
|
|
- authoredBlocks: AugmentedQueryDoubleMap<ApiType, (key1: SessionIndex | AnyNumber | Uint8Array, key2: ValidatorId | string | Uint8Array) => Observable<u32>, [SessionIndex, ValidatorId]>;
|
|
|
+ authoredBlocks: AugmentedQuery<ApiType, (arg1: SessionIndex | AnyNumber | Uint8Array, arg2: ValidatorId | string | Uint8Array) => Observable<u32>, [SessionIndex, ValidatorId]>;
|
|
|
/**
|
|
|
* The block number after which it's ok to send heartbeats in current session.
|
|
|
*
|
|
@@ -499,7 +499,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
* For each session index, we keep a mapping of `AuthIndex` to
|
|
|
* `offchain::OpaqueNetworkState`.
|
|
|
**/
|
|
|
- receivedHeartbeats: AugmentedQueryDoubleMap<ApiType, (key1: SessionIndex | AnyNumber | Uint8Array, key2: AuthIndex | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [SessionIndex, AuthIndex]>;
|
|
|
+ receivedHeartbeats: AugmentedQuery<ApiType, (arg1: SessionIndex | AnyNumber | Uint8Array, arg2: AuthIndex | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [SessionIndex, AuthIndex]>;
|
|
|
};
|
|
|
members: {
|
|
|
/**
|
|
@@ -563,7 +563,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
/**
|
|
|
* A vector of reports of the same kind that happened at the same time slot.
|
|
|
**/
|
|
|
- concurrentReportsIndex: AugmentedQueryDoubleMap<ApiType, (key1: Kind | string | Uint8Array, key2: OpaqueTimeSlot | string | Uint8Array) => Observable<Vec<ReportIdOf>>, [Kind, OpaqueTimeSlot]>;
|
|
|
+ concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: Kind | string | Uint8Array, arg2: OpaqueTimeSlot | string | Uint8Array) => Observable<Vec<ReportIdOf>>, [Kind, OpaqueTimeSlot]>;
|
|
|
/**
|
|
|
* Deferred reports that have been rejected by the offence handler and need to be submitted
|
|
|
* at a later time.
|
|
@@ -898,7 +898,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
/**
|
|
|
* Map thread id and post id to corresponding post.
|
|
|
**/
|
|
|
- postThreadIdByPostId: AugmentedQueryDoubleMap<ApiType, (key1: ThreadId | AnyNumber | Uint8Array, key2: PostId | AnyNumber | Uint8Array) => Observable<DiscussionPost>, [ThreadId, PostId]>;
|
|
|
+ postThreadIdByPostId: AugmentedQuery<ApiType, (arg1: ThreadId | AnyNumber | Uint8Array, arg2: PostId | AnyNumber | Uint8Array) => Observable<DiscussionPost>, [ThreadId, PostId]>;
|
|
|
/**
|
|
|
* Map thread identifier to corresponding thread.
|
|
|
**/
|
|
@@ -940,7 +940,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
/**
|
|
|
* Double map for preventing duplicate votes. Should be cleaned after usage.
|
|
|
**/
|
|
|
- voteExistsByProposalByVoter: AugmentedQueryDoubleMap<ApiType, (key1: ProposalId | AnyNumber | Uint8Array, key2: MemberId | AnyNumber | Uint8Array) => Observable<VoteKind>, [ProposalId, MemberId]>;
|
|
|
+ voteExistsByProposalByVoter: AugmentedQuery<ApiType, (arg1: ProposalId | AnyNumber | Uint8Array, arg2: MemberId | AnyNumber | Uint8Array) => Observable<VoteKind>, [ProposalId, MemberId]>;
|
|
|
};
|
|
|
randomnessCollectiveFlip: {
|
|
|
/**
|
|
@@ -1054,7 +1054,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
* Is it removed after `HISTORY_DEPTH` eras.
|
|
|
* If stakers hasn't been set or has been removed then empty exposure is returned.
|
|
|
**/
|
|
|
- erasStakers: AugmentedQueryDoubleMap<ApiType, (key1: EraIndex | AnyNumber | Uint8Array, key2: AccountId | string | Uint8Array) => Observable<Exposure>, [EraIndex, AccountId]>;
|
|
|
+ erasStakers: AugmentedQuery<ApiType, (arg1: EraIndex | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<Exposure>, [EraIndex, AccountId]>;
|
|
|
/**
|
|
|
* Clipped Exposure of validator at era.
|
|
|
*
|
|
@@ -1068,7 +1068,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
* Is it removed after `HISTORY_DEPTH` eras.
|
|
|
* If stakers hasn't been set or has been removed then empty exposure is returned.
|
|
|
**/
|
|
|
- erasStakersClipped: AugmentedQueryDoubleMap<ApiType, (key1: EraIndex | AnyNumber | Uint8Array, key2: AccountId | string | Uint8Array) => Observable<Exposure>, [EraIndex, AccountId]>;
|
|
|
+ erasStakersClipped: AugmentedQuery<ApiType, (arg1: EraIndex | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<Exposure>, [EraIndex, AccountId]>;
|
|
|
/**
|
|
|
* The session index at which the era start for the last `HISTORY_DEPTH` eras.
|
|
|
**/
|
|
@@ -1085,7 +1085,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
*
|
|
|
* Is it removed after `HISTORY_DEPTH` eras.
|
|
|
**/
|
|
|
- erasValidatorPrefs: AugmentedQueryDoubleMap<ApiType, (key1: EraIndex | AnyNumber | Uint8Array, key2: AccountId | string | Uint8Array) => Observable<ValidatorPrefs>, [EraIndex, AccountId]>;
|
|
|
+ erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: EraIndex | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<ValidatorPrefs>, [EraIndex, AccountId]>;
|
|
|
/**
|
|
|
* The total validator era payout for the last `HISTORY_DEPTH` eras.
|
|
|
*
|
|
@@ -1132,7 +1132,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
/**
|
|
|
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
|
|
**/
|
|
|
- nominatorSlashInEra: AugmentedQueryDoubleMap<ApiType, (key1: EraIndex | AnyNumber | Uint8Array, key2: AccountId | string | Uint8Array) => Observable<Option<BalanceOf>>, [EraIndex, AccountId]>;
|
|
|
+ nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: EraIndex | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<Option<BalanceOf>>, [EraIndex, AccountId]>;
|
|
|
/**
|
|
|
* Where the reward payment should be made. Keyed by stash.
|
|
|
**/
|
|
@@ -1195,7 +1195,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
|
* and slash value of the era.
|
|
|
**/
|
|
|
- validatorSlashInEra: AugmentedQueryDoubleMap<ApiType, (key1: EraIndex | AnyNumber | Uint8Array, key2: AccountId | string | Uint8Array) => Observable<Option<ITuple<[Perbill, BalanceOf]>>>, [EraIndex, AccountId]>;
|
|
|
+ validatorSlashInEra: AugmentedQuery<ApiType, (arg1: EraIndex | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<Option<ITuple<[Perbill, BalanceOf]>>>, [EraIndex, AccountId]>;
|
|
|
};
|
|
|
storage: {
|
|
|
/**
|
|
@@ -1217,7 +1217,7 @@ declare module '@polkadot/api/types/storage' {
|
|
|
/**
|
|
|
* 'Data objects for bags' storage double map.
|
|
|
**/
|
|
|
- dataObjectsById: AugmentedQueryDoubleMap<ApiType, (key1: BagId | { Static: any } | { Dynamic: any } | string | Uint8Array, key2: DataObjectId | AnyNumber | Uint8Array) => Observable<DataObject>, [BagId, DataObjectId]>;
|
|
|
+ dataObjectsById: AugmentedQuery<ApiType, (arg1: BagId | { Static: any } | { Dynamic: any } | string | Uint8Array, arg2: DataObjectId | AnyNumber | Uint8Array) => Observable<DataObject>, [BagId, DataObjectId]>;
|
|
|
/**
|
|
|
* Distribution bucket families.
|
|
|
**/
|