GraphQlValidatorSet
type GraphQlValidatorSet
type GraphQlValidatorSet struct {
// Object ID of the `Table` storing the inactive staking pools.
InactivePoolsId **ObjectId
// Size of the inactive pools `Table`.
InactivePoolsSize *int32
// Object ID of the wrapped object `TableVec` storing the pending active validators.
PendingActiveValidatorsId **ObjectId
// Size of the pending active validators table.
PendingActiveValidatorsSize *int32
// Validators that are pending removal from the active validator set, expressed as indices in
// to `activeValidators`.
PendingRemovals *[]int32
// 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.
StakingPoolMappingsId **ObjectId
// Size of the stake pool mappings `Table`.
StakingPoolMappingsSize *int32
// Total amount of stake for all active validators at the beginning of the epoch.
TotalStake *string
// Size of the validator candidates `Table`.
ValidatorCandidatesSize *int32
// Object ID of the `Table` storing the validator candidates.
ValidatorCandidatesId **ObjectId
}
func (*GraphQlValidatorSet) Destroy
func (r *GraphQlValidatorSet) Destroy()