Bump dev (#2576)
* Bump dev * type linting * linting * linting * missed
This commit is contained in:
@@ -17,13 +17,6 @@ export interface DeriveDemocracyLock {
|
||||
vote: Vote;
|
||||
}
|
||||
|
||||
export interface DeriveDispatch {
|
||||
at: BlockNumber;
|
||||
index: ReferendumIndex;
|
||||
imageHash: Hash;
|
||||
image?: DeriveProposalImage;
|
||||
}
|
||||
|
||||
export interface DeriveProposalImage {
|
||||
at: BlockNumber;
|
||||
balance: Balance;
|
||||
@@ -31,6 +24,13 @@ export interface DeriveProposalImage {
|
||||
proposer: AccountId;
|
||||
}
|
||||
|
||||
export interface DeriveDispatch {
|
||||
at: BlockNumber;
|
||||
index: ReferendumIndex;
|
||||
imageHash: Hash;
|
||||
image?: DeriveProposalImage;
|
||||
}
|
||||
|
||||
export interface DeriveProposal {
|
||||
balance?: Balance;
|
||||
index: PropIndex;
|
||||
|
||||
@@ -40,6 +40,17 @@ export interface DeriveStakerPoints {
|
||||
points: RewardPoint;
|
||||
}
|
||||
|
||||
export interface DeriveOwnExposure {
|
||||
clipped: Exposure;
|
||||
era: EraIndex;
|
||||
exposure: Exposure;
|
||||
}
|
||||
|
||||
export interface DeriveEraExposureNominating {
|
||||
validatorId: string;
|
||||
validatorIndex: number;
|
||||
}
|
||||
|
||||
export type DeriveEraNominatorExposure = Record<string, DeriveEraExposureNominating[]>;
|
||||
|
||||
export type DeriveEraValidatorExposure = Record<string, Exposure>;
|
||||
@@ -50,19 +61,6 @@ export interface DeriveEraExposure {
|
||||
validators: DeriveEraValidatorExposure;
|
||||
}
|
||||
|
||||
export interface DeriveOwnExposure {
|
||||
clipped: Exposure;
|
||||
era: EraIndex;
|
||||
exposure: Exposure;
|
||||
}
|
||||
|
||||
export type DeriveOwnSlashes = DeriveStakerSlashes;
|
||||
|
||||
export interface DeriveEraExposureNominating {
|
||||
validatorId: string;
|
||||
validatorIndex: number;
|
||||
}
|
||||
|
||||
export interface DeriveStakerExposure {
|
||||
era: EraIndex;
|
||||
isEmpty: boolean;
|
||||
@@ -91,15 +89,7 @@ export interface DeriveStakerSlashes {
|
||||
total: Balance;
|
||||
}
|
||||
|
||||
export interface DeriveStakingElected {
|
||||
nextElected: AccountId[];
|
||||
info: DeriveStakingQuery[];
|
||||
}
|
||||
|
||||
export interface DeriveStakingWaiting {
|
||||
info: DeriveStakingQuery[];
|
||||
waiting: AccountId[];
|
||||
}
|
||||
export type DeriveOwnSlashes = DeriveStakerSlashes;
|
||||
|
||||
export interface DeriveStakingValidators {
|
||||
nextElected: AccountId[];
|
||||
@@ -124,6 +114,21 @@ export interface DeriveStakingQuery extends DeriveStakingStash {
|
||||
stakingLedger?: StakingLedger;
|
||||
}
|
||||
|
||||
export interface DeriveStakingElected {
|
||||
nextElected: AccountId[];
|
||||
info: DeriveStakingQuery[];
|
||||
}
|
||||
|
||||
export interface DeriveStakingWaiting {
|
||||
info: DeriveStakingQuery[];
|
||||
waiting: AccountId[];
|
||||
}
|
||||
|
||||
export interface DeriveUnlocking {
|
||||
remainingEras: BN;
|
||||
value: Balance;
|
||||
}
|
||||
|
||||
export interface DeriveStakingAccount extends DeriveStakingQuery {
|
||||
redeemable?: Balance;
|
||||
unlocking?: DeriveUnlocking[];
|
||||
@@ -133,8 +138,3 @@ export interface DeriveStakingOverview extends DeriveSessionIndexes {
|
||||
nextElected: AccountId[];
|
||||
validators: AccountId[];
|
||||
}
|
||||
|
||||
export type DeriveUnlocking = {
|
||||
remainingEras: BN;
|
||||
value: Balance;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user