Skip to main content

Type Alias: ValidatorSet

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

Generated factory for ValidatorSet record objects.

Properties​

inactivePoolsId?​

optional inactivePoolsId?: ObjectIdLike;

Object ID of the Table storing the inactive staking pools.


inactivePoolsSize?​

optional inactivePoolsSize?: number;

Size of the inactive pools Table.


pendingActiveValidatorsId?​

optional pendingActiveValidatorsId?: ObjectIdLike;

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


pendingActiveValidatorsSize?​

optional pendingActiveValidatorsSize?: number;

Size of the pending active validators table.


pendingRemovals?​

optional pendingRemovals?: number[];

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


stakingPoolMappingsId?​

optional 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?​

optional stakingPoolMappingsSize?: number;

Size of the stake pool mappings Table.


totalStake?​

optional totalStake?: string;

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


validatorCandidatesId?​

optional validatorCandidatesId?: ObjectIdLike;

Object ID of the Table storing the validator candidates.


validatorCandidatesSize?​

optional validatorCandidatesSize?: number;

Size of the validator candidates Table.