Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k *Keeper) GetPublicKeys(ctx sdk.Context) (keys types.PublicKeys, found bool)
- 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) PubKeys(goCtx context.Context, req *types.QueryPubKeysRequest) (*types.QueryPubKeysResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetPublicKeys(ctx sdk.Context, ks types.PublicKeys)
- func (k Keeper) VerifyTicket(goCtx context.Context, ticket string) error
- func (k Keeper) VerifyTicketUnmarshal(goCtx context.Context, ticketStr string, clm interface{}) 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
}
Keeper is the type for module properties
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace, ) *Keeper
NewKeeper creates new keeper object
func (*Keeper) GetPublicKeys ¶
GetPublicKeys is the helper functions for this keeper to query the list of public keys.
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params returns the params of the module
func (Keeper) PubKeys ¶
func (k Keeper) PubKeys(goCtx context.Context, req *types.QueryPubKeysRequest) (*types.QueryPubKeysResponse, error)
PubKeys returns list of the public keys
func (Keeper) SetPublicKeys ¶
func (k Keeper) SetPublicKeys(ctx sdk.Context, ks types.PublicKeys)
SetPublicKeys sets the list of keys, overwrite the old values.
func (Keeper) VerifyTicket ¶
VerifyTicket validates a ticket. For JWT see https://datatracker.ietf.org/doc/html/rfc7519 * exp is required.
Click to show internal directories.
Click to hide internal directories.