Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) DeleteID(ctx sdk.Context, id string)
- func (k Keeper) ExportGenesis(ctx sdk.Context) *token.ClassGenesisState
- func (k Keeper) HasID(ctx sdk.Context, id string) bool
- func (k Keeper) InitGenesis(ctx sdk.Context, data *token.ClassGenesisState)
- func (k Keeper) NewID(ctx sdk.Context) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper defines the class module Keeper
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryMarshaler, key sdk.StoreKey, ) Keeper
NewKeeper returns a class keeper
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *token.ClassGenesisState
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, data *token.ClassGenesisState)
Click to show internal directories.
Click to hide internal directories.