Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Audience(goCtx context.Context, req *types.QueryGetAudienceRequest) (*types.QueryGetAudienceResponse, error)
- func (k Keeper) AudienceAll(goCtx context.Context, req *types.QueryAllAudienceRequest) (*types.QueryAllAudienceResponse, error)
- func (k Keeper) GetAllAudience(ctx sdk.Context) (list []types.Audience)
- func (k Keeper) GetAudience(ctx sdk.Context, aud string) (val types.Audience, found bool)
- func (k Keeper) GetDeploymentGas(ctx sdk.Context) uint64
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetTimeOffset(ctx sdk.Context) uint64
- 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) RemoveAudience(ctx sdk.Context, aud string)
- func (k Keeper) SetAudience(ctx sdk.Context, audience types.Audience)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) ValidateJWT(goCtx context.Context, req *types.QueryValidateJWTRequest) (*types.QueryValidateJWTResponse, 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 NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, ps paramtypes.Subspace, ) Keeper
func (Keeper) Audience ¶
func (k Keeper) Audience(goCtx context.Context, req *types.QueryGetAudienceRequest) (*types.QueryGetAudienceResponse, error)
func (Keeper) AudienceAll ¶
func (k Keeper) AudienceAll(goCtx context.Context, req *types.QueryAllAudienceRequest) (*types.QueryAllAudienceResponse, error)
func (Keeper) GetAllAudience ¶
GetAllAudience returns all audience
func (Keeper) GetAudience ¶
GetAudience returns a audience from its index
func (Keeper) GetDeploymentGas ¶ added in v0.3.8
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveAudience ¶
RemoveAudience removes a audience from the store
func (Keeper) SetAudience ¶
SetAudience set a specific audience in the store from its index
func (Keeper) ValidateJWT ¶
func (k Keeper) ValidateJWT(goCtx context.Context, req *types.QueryValidateJWTRequest) (*types.QueryValidateJWTResponse, error)
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator is a struct for handling in-place store migrations.
func NewMigrator ¶
func NewMigrator(jwkSubspace paramtypes.Subspace) Migrator
NewMigrator returns a new Migrator.
Click to show internal directories.
Click to hide internal directories.