Versions in this module Expand all Collapse all v0 v0.1.1 Oct 20, 2022 v0.1.0 Oct 19, 2022 Changes in this version + func ActivatedValidatorIndices(epoch types.Epoch, validators []*ethpb.Validator) []types.ValidatorIndex + func EjectedValidatorIndices(epoch types.Epoch, validators []*ethpb.Validator, activeValidatorCount uint64) ([]types.ValidatorIndex, error) + func ExitedValidatorIndices(epoch types.Epoch, validators []*ethpb.Validator, activeValidatorCount uint64) ([]types.ValidatorIndex, error) + func InitiateValidatorExit(ctx context.Context, s state.BeaconState, idx types.ValidatorIndex) (state.BeaconState, error) + func SlashValidator(ctx context.Context, s state.BeaconState, slashedIdx types.ValidatorIndex, ...) (state.BeaconState, error) + func SlashedValidatorIndices(epoch types.Epoch, validators []*ethpb.Validator) []types.ValidatorIndex