Versions in this module Expand all Collapse all v3 v3.0.0 Dec 9, 2024 Changes in this version + func NewMsgServer(k *Keeper) types.MsgServer + func RegisterInvariants(ir sdk.InvariantRegistry, keeper *Keeper) + func ValidOperatorsInvariant(k *Keeper) sdk.Invariant + type Keeper struct + Schema collections.Schema + func NewKeeper(cdc codec.BinaryCodec, storeService corestoretypes.KVStoreService, ...) *Keeper + func (k *Keeper) AfterOperatorInactivatingCompleted(ctx context.Context, operatorID uint32) error + func (k *Keeper) AfterOperatorInactivatingStarted(ctx context.Context, operatorID uint32) error + func (k *Keeper) AfterOperatorReactivated(ctx context.Context, operatorID uint32) error + func (k *Keeper) AfterOperatorRegistered(ctx context.Context, operatorID uint32) error + func (k *Keeper) BeforeOperatorDeleted(ctx context.Context, operatorID uint32) error + func (k *Keeper) CompleteOperatorInactivation(ctx context.Context, operator types.Operator) error + func (k *Keeper) CreateOperator(ctx context.Context, operator types.Operator) error + func (k *Keeper) DeleteOperator(ctx context.Context, operator types.Operator) error + func (k *Keeper) DeleteOperatorParams(ctx context.Context, operatorID uint32) error + func (k *Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (k *Keeper) GetAllOperatorParamsRecords(ctx context.Context) ([]types.OperatorParamsRecord, error) + func (k *Keeper) GetInactivatingOperators(ctx context.Context) ([]types.UnbondingOperator, error) + func (k *Keeper) GetNextOperatorID(ctx context.Context) (operatorID uint32, err error) + func (k *Keeper) GetOperator(ctx context.Context, operatorID uint32) (operator types.Operator, found bool, err error) + func (k *Keeper) GetOperatorParams(ctx context.Context, operatorID uint32) (types.OperatorParams, error) + func (k *Keeper) GetOperators(ctx context.Context) ([]types.Operator, error) + func (k *Keeper) GetParams(ctx context.Context) (types.Params, error) + func (k *Keeper) InitGenesis(ctx sdk.Context, state *types.GenesisState) error + func (k *Keeper) IsOperatorAddress(ctx context.Context, address string) (bool, error) + func (k *Keeper) IterateInactivatingOperatorQueue(ctx context.Context, endTime time.Time, ...) error + func (k *Keeper) IterateOperators(ctx context.Context, cb func(operator types.Operator) (stop bool, err error)) error + func (k *Keeper) Logger(ctx context.Context) log.Logger + func (k *Keeper) Operator(ctx context.Context, request *types.QueryOperatorRequest) (*types.QueryOperatorResponse, error) + func (k *Keeper) OperatorParams(ctx context.Context, request *types.QueryOperatorParamsRequest) (*types.QueryOperatorParamsResponse, error) + func (k *Keeper) Operators(ctx context.Context, request *types.QueryOperatorsRequest) (*types.QueryOperatorsResponse, error) + func (k *Keeper) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k *Keeper) ReactivateInactiveOperator(ctx context.Context, operator types.Operator) error + func (k *Keeper) SaveOperator(ctx context.Context, operator types.Operator) error + func (k *Keeper) SaveOperatorParams(ctx context.Context, operatorID uint32, params types.OperatorParams) error + func (k *Keeper) SetHooks(rs types.OperatorsHooks) *Keeper + func (k *Keeper) SetNextOperatorID(ctx context.Context, operatorID uint32) error + func (k *Keeper) SetParams(ctx context.Context, params types.Params) error + func (k *Keeper) StartOperatorInactivation(ctx context.Context, operator types.Operator) error Other modules containing this package github.com/milkyway-labs/milkyway github.com/milkyway-labs/milkyway/v2