Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) CreateRandomNumber(ctx sdk.Context, msg *types.MsgCreateRandom) error
- func (k Keeper) GetAllRandomval(ctx sdk.Context) (list []types.Randomval)
- func (k Keeper) GetAllUserval(ctx sdk.Context) (list []types.Userval)
- func (k Keeper) GetRandomval(ctx sdk.Context, index string) (val types.Randomval, found bool)
- func (k Keeper) GetUserval(ctx sdk.Context, index string) (val types.Userval, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Randomval(c context.Context, req *types.QueryGetRandomvalRequest) (*types.QueryGetRandomvalResponse, error)
- func (k Keeper) RandomvalAll(c context.Context, req *types.QueryAllRandomvalRequest) (*types.QueryAllRandomvalResponse, error)
- func (k Keeper) RemoveRandomval(ctx sdk.Context, index string)
- func (k Keeper) RemoveUserval(ctx sdk.Context, index string)
- func (k Keeper) SetRandomval(ctx sdk.Context, randomval types.Randomval)
- func (k Keeper) SetUserval(ctx sdk.Context, userval types.Userval)
- func (k Keeper) Userval(c context.Context, req *types.QueryGetUservalRequest) (*types.QueryGetUservalResponse, error)
- func (k Keeper) UservalAll(c context.Context, req *types.QueryAllUservalRequest) (*types.QueryAllUservalResponse, error)
- func (k Keeper) VerifyRandomNumber(ctx sdk.Context, req *types.QueryVerifyValuesRequest) (string, error)
- func (k Keeper) VerifyValues(goCtx context.Context, req *types.QueryVerifyValuesRequest) (*types.QueryVerifyValuesResponse, error)
- type Migrator
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 (Keeper) CreateRandomNumber ¶
func (Keeper) GetAllRandomval ¶
GetAllRandomval returns all randomval
func (Keeper) GetAllUserval ¶
GetAllUserval returns all userval
func (Keeper) GetRandomval ¶
GetRandomval returns a randomval from its index
func (Keeper) GetUserval ¶
GetUserval returns a userval from its index
func (Keeper) Randomval ¶
func (k Keeper) Randomval(c context.Context, req *types.QueryGetRandomvalRequest) (*types.QueryGetRandomvalResponse, error)
func (Keeper) RandomvalAll ¶
func (k Keeper) RandomvalAll(c context.Context, req *types.QueryAllRandomvalRequest) (*types.QueryAllRandomvalResponse, error)
func (Keeper) RemoveRandomval ¶
RemoveRandomval removes a randomval from the store
func (Keeper) RemoveUserval ¶
RemoveUserval removes a userval from the store
func (Keeper) SetRandomval ¶
SetRandomval set a specific randomval in the store from its index
func (Keeper) SetUserval ¶
SetUserval set a specific userval in the store from its index
func (Keeper) Userval ¶
func (k Keeper) Userval(c context.Context, req *types.QueryGetUservalRequest) (*types.QueryGetUservalResponse, error)
func (Keeper) UservalAll ¶
func (k Keeper) UservalAll(c context.Context, req *types.QueryAllUservalRequest) (*types.QueryAllUservalResponse, error)
func (Keeper) VerifyRandomNumber ¶
func (Keeper) VerifyValues ¶
func (k Keeper) VerifyValues(goCtx context.Context, req *types.QueryVerifyValuesRequest) (*types.QueryVerifyValuesResponse, error)
Click to show internal directories.
Click to hide internal directories.