Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetAllUsernameRecords(ctx sdk.Context) (list []types.UsernameRecord)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetUsernameRecords(ctx sdk.Context, index string) (val types.UsernameRecord, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveUsernameRecords(ctx sdk.Context, index string)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetUsernameRecords(ctx sdk.Context, UsernameRecord types.UsernameRecord)
- func (k Keeper) UsernameRecord(goCtx context.Context, req *types.QueryGetUsernameRecordsRequest) (*types.QueryGetUsernameRecordsResponse, error)
- func (k Keeper) UsernameRecordAll(goCtx context.Context, req *types.QueryAllUsernameRecordsRequest) (*types.QueryAllUsernameRecordsResponse, error)
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, ps paramtypes.Subspace, ) *Keeper
func (Keeper) GetAllUsernameRecords ¶ added in v0.7.1
func (k Keeper) GetAllUsernameRecords(ctx sdk.Context) (list []types.UsernameRecord)
GetAllUsernameRecords returns all UsernameRecord
func (Keeper) GetUsernameRecords ¶ added in v0.7.1
func (k Keeper) GetUsernameRecords( ctx sdk.Context, index string, ) (val types.UsernameRecord, found bool)
GetUsernameRecords returns a UsernameRecord from its index
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveUsernameRecords ¶ added in v0.7.1
RemoveUsernameRecords removes a UsernameRecord from the store
func (Keeper) SetUsernameRecords ¶ added in v0.7.1
func (k Keeper) SetUsernameRecords(ctx sdk.Context, UsernameRecord types.UsernameRecord)
SetUsernameRecords set a specific UsernameRecord in the store from its index
func (Keeper) UsernameRecord ¶ added in v0.7.1
func (k Keeper) UsernameRecord(goCtx context.Context, req *types.QueryGetUsernameRecordsRequest) (*types.QueryGetUsernameRecordsResponse, error)
func (Keeper) UsernameRecordAll ¶ added in v0.7.1
func (k Keeper) UsernameRecordAll(goCtx context.Context, req *types.QueryAllUsernameRecordsRequest) (*types.QueryAllUsernameRecordsResponse, error)
Click to show internal directories.
Click to hide internal directories.