Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServiceServer
- type Keeper
- func (k Keeper) Ask(ctx goctx.Context, req *types.QueryServiceAskRequest) (response *types.QueryServiceAskResponse, err error)
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryServiceParamsRequest) (*types.QueryServiceParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
func NewMsgServerImpl(keeper Keeper) types.MsgServiceServer
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, authority sdk.AccAddress, authKeeper types.AccountKeeper, bankKeeper types.BankKeeper, fsProvider fs.Provider, ) *Keeper
func (Keeper) Ask ¶
func (k Keeper) Ask(ctx goctx.Context, req *types.QueryServiceAskRequest) (response *types.QueryServiceAskResponse, err error)
func (Keeper) GetAuthority ¶
GetAuthority returns the x/logic module's authority.
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryServiceParamsRequest) (*types.QueryServiceParamsResponse, error)
Click to show internal directories.
Click to hide internal directories.