Versions in this module Expand all Collapse all v7 v7.0.0 Dec 19, 2024 Changes in this version + func NewMsgServer(k *Keeper) types.MsgServer + func RegisterInvariants(ir sdk.InvariantRegistry, keeper *Keeper) + func ValidServicesInvariant(k *Keeper) sdk.Invariant + type Keeper struct + Schema collections.Schema + func NewKeeper(cdc codec.BinaryCodec, storeService corestoretypes.KVStoreService, ...) *Keeper + func (k *Keeper) ActivateService(ctx context.Context, serviceID uint32) error + func (k *Keeper) AfterServiceAccreditationModified(ctx context.Context, serviceID uint32) error + func (k *Keeper) AfterServiceActivated(ctx context.Context, serviceID uint32) error + func (k *Keeper) AfterServiceCreated(ctx context.Context, serviceID uint32) error + func (k *Keeper) AfterServiceDeactivated(ctx context.Context, serviceID uint32) error + func (k *Keeper) BeforeServiceDeleted(ctx context.Context, serviceID uint32) error + func (k *Keeper) CreateService(ctx context.Context, service types.Service) error + func (k *Keeper) DeactivateService(ctx context.Context, serviceID uint32) error + func (k *Keeper) DeleteService(ctx context.Context, serviceID uint32) error + func (k *Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (k *Keeper) GetAllServicesParams(ctx context.Context) ([]types.ServiceParamsRecord, error) + func (k *Keeper) GetNextServiceID(ctx context.Context) (serviceID uint32, err error) + func (k *Keeper) GetParams(ctx context.Context) (types.Params, error) + func (k *Keeper) GetService(ctx context.Context, serviceID uint32) (service types.Service, err error) + func (k *Keeper) GetServiceParams(ctx context.Context, serviceID uint32) (types.ServiceParams, error) + func (k *Keeper) GetServices(ctx context.Context) ([]types.Service, error) + func (k *Keeper) HasService(ctx context.Context, serviceID uint32) (bool, error) + func (k *Keeper) InitGenesis(ctx sdk.Context, state *types.GenesisState) error + func (k *Keeper) IsServiceAddress(ctx context.Context, address string) (bool, error) + func (k *Keeper) IterateServices(ctx context.Context, cb func(service types.Service) (stop bool, err error)) error + func (k *Keeper) Logger(ctx context.Context) log.Logger + func (k *Keeper) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k *Keeper) SaveService(ctx context.Context, service types.Service) error + func (k *Keeper) Service(ctx context.Context, request *types.QueryServiceRequest) (*types.QueryServiceResponse, error) + func (k *Keeper) ServiceParams(ctx context.Context, request *types.QueryServiceParamsRequest) (*types.QueryServiceParamsResponse, error) + func (k *Keeper) Services(ctx context.Context, request *types.QueryServicesRequest) (*types.QueryServicesResponse, error) + func (k *Keeper) SetHooks(rs types.ServicesHooks) *Keeper + func (k *Keeper) SetNextServiceID(ctx context.Context, serviceID uint32) error + func (k *Keeper) SetParams(ctx context.Context, params types.Params) error + func (k *Keeper) SetServiceAccredited(ctx context.Context, serviceID uint32, accredited bool) error + func (k *Keeper) SetServiceParams(ctx context.Context, serviceID uint32, params types.ServiceParams) error Other modules containing this package github.com/milkyway-labs/milkyway github.com/milkyway-labs/milkyway/v2 github.com/milkyway-labs/milkyway/v3 github.com/milkyway-labs/milkyway/v4 github.com/milkyway-labs/milkyway/v5 github.com/milkyway-labs/milkyway/v6