Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StoreKey = "Counter"
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct { appmodule.Environment CountStore collections.Item[int64] }
func NewKeeper ¶
func NewKeeper(env appmodule.Environment) Keeper
func (Keeper) GetCount ¶
func (k Keeper) GetCount(ctx context.Context, _ *types.QueryGetCountRequest) (*types.QueryGetCountResponse, error)
Params queries params of consensus module
func (Keeper) IncreaseCount ¶
func (k Keeper) IncreaseCount(ctx context.Context, msg *types.MsgIncreaseCounter) (*types.MsgIncreaseCountResponse, error)
Click to show internal directories.
Click to hide internal directories.