Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Admin(goCtx context.Context, req *types.QueryAdminRequest) (*types.QueryAdminResponse, error)
- func (k Keeper) GetAdmin(ctx sdk.Context) sdk.AccAddress
- func (k Keeper) IsAdmin(ctx sdk.Context, address string) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetAdmin(ctx sdk.Context, address sdk.AccAddress)
Constants ¶
This section is empty.
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 storetypes.StoreKey, ) Keeper
func (Keeper) Admin ¶
func (k Keeper) Admin(goCtx context.Context, req *types.QueryAdminRequest) (*types.QueryAdminResponse, error)
Click to show internal directories.
Click to hide internal directories.