Skip to main content

Type Alias: GraphQlValidatorSet

type GraphQlValidatorSet = {
inactivePoolsId?: ObjectIdLike;
inactivePoolsSize?: number;
pendingActiveValidatorsId?: ObjectIdLike;
pendingActiveValidatorsSize?: number;
pendingRemovals?: number[];
stakingPoolMappingsId?: ObjectIdLike;
stakingPoolMappingsSize?: number;
totalStake?: string;
validatorCandidatesId?: ObjectIdLike;
validatorCandidatesSize?: number;
};

Generated factory for GraphQlValidatorSet record objects.

Properties​

inactivePoolsId?​

inactivePoolsId?: ObjectIdLike;

Object ID of the Table storing the inactive staking pools.


inactivePoolsSize?​

inactivePoolsSize?: number;

Size of the inactive pools Table.


pendingActiveValidatorsId?​

pendingActiveValidatorsId?: ObjectIdLike;

Object ID of the wrapped object TableVec storing the pending active validators.


pendingActiveValidatorsSize?​

pendingActiveValidatorsSize?: number;

Size of the pending active validators table.


pendingRemovals?​

pendingRemovals?: number[];

Validators that are pending removal from the active validator set, expressed as indices in to activeValidators.


stakingPoolMappingsId?​

stakingPoolMappingsId?: ObjectIdLike;

Object ID of the Table storing the mapping from staking pool ids to the addresses of the corresponding validators. This is needed because a validator's address can potentially change but the object ID of its pool will not.


stakingPoolMappingsSize?​

stakingPoolMappingsSize?: number;

Size of the stake pool mappings Table.


totalStake?​

totalStake?: string;

Total amount of stake for all active validators at the beginning of the epoch.


validatorCandidatesId?​

validatorCandidatesId?: ObjectIdLike;

Object ID of the Table storing the validator candidates.


validatorCandidatesSize?​

validatorCandidatesSize?: number;

Size of the validator candidates Table.