Documentation ¶
Index ¶
- Constants
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AfterEpochEnd(ctx sdk.Context, epoch types.Epoch)
- func (k Keeper) BeforeEpochStart(ctx sdk.Context, epoch types.Epoch)
- func (k Keeper) Epoch(c context.Context, req *types.QueryEpochRequest) (*types.QueryEpochResponse, error)
- func (k Keeper) GetEpoch(ctx sdk.Context) (epoch types.Epoch)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetEpoch(ctx sdk.Context, epoch types.Epoch)
- func (k *Keeper) SetHooks(eh types.EpochHooks) *Keeper
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
View Source
const EpochKey = "epoch"
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace, ) *Keeper
func (Keeper) BeforeEpochStart ¶
func (Keeper) Epoch ¶
func (k Keeper) Epoch(c context.Context, req *types.QueryEpochRequest) (*types.QueryEpochResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Click to show internal directories.
Click to hide internal directories.