Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AllNotifications(c context.Context, req *types.QueryAllNotifications) (*types.QueryAllNotificationsResponse, error)
- func (k Keeper) AllNotificationsByAddress(c context.Context, req *types.QueryAllNotificationsByAddress) (*types.QueryAllNotificationsByAddressResponse, error)
- func (k Keeper) GetAllNotifications(ctx sdk.Context) (list []types.Notification)
- func (k Keeper) GetAllNotificationsByAddress(ctx sdk.Context, address string) (list []types.Notification)
- func (k Keeper) GetNotification(ctx sdk.Context, to string, from string, timeStamp int64) (val types.Notification, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) (p types.Params)
- func (k Keeper) IsBlocked(ctx sdk.Context, owner string, from string) (found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Notification(c context.Context, req *types.QueryNotification) (*types.QueryNotificationResponse, error)
- func (k Keeper) Params(c context.Context, req *types.QueryParams) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveBlock(ctx sdk.Context, owner string, from string)
- func (k Keeper) RemoveNotification(ctx sdk.Context, to string, from string, timeStamp int64)
- func (k Keeper) SetBlock(ctx sdk.Context, block types.Block)
- func (k Keeper) SetNotification(ctx sdk.Context, notification types.Notification)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- 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, memKey sdk.StoreKey, ps paramtypes.Subspace, rns types.RnsKeeper, ) *Keeper
func (Keeper) AllNotifications ¶
func (k Keeper) AllNotifications(c context.Context, req *types.QueryAllNotifications) (*types.QueryAllNotificationsResponse, error)
func (Keeper) AllNotificationsByAddress ¶
func (k Keeper) AllNotificationsByAddress(c context.Context, req *types.QueryAllNotificationsByAddress) (*types.QueryAllNotificationsByAddressResponse, error)
func (Keeper) GetAllNotifications ¶
func (k Keeper) GetAllNotifications(ctx sdk.Context) (list []types.Notification)
GetAllNotifications returns all notifications
func (Keeper) GetAllNotificationsByAddress ¶
func (k Keeper) GetAllNotificationsByAddress(ctx sdk.Context, address string) (list []types.Notification)
GetAllNotificationsByAddress returns all notifications that belong to a given address
func (Keeper) GetNotification ¶
func (k Keeper) GetNotification( ctx sdk.Context, to string, from string, timeStamp int64, ) (val types.Notification, found bool)
GetNotification returns a notification from its index
func (Keeper) Notification ¶
func (k Keeper) Notification(c context.Context, req *types.QueryNotification) (*types.QueryNotificationResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParams) (*types.QueryParamsResponse, error)
func (Keeper) RemoveBlock ¶
RemoveBlock removes a block from the store
func (Keeper) RemoveNotification ¶
RemoveNotification removes a notification from the store
func (Keeper) SetNotification ¶
func (k Keeper) SetNotification(ctx sdk.Context, notification types.Notification)
SetNotification set a specific notifications in the store from its index
Click to show internal directories.
Click to hide internal directories.