Documentation ¶
Index ¶
- Variables
- type Hooks
- type Keeper
- func (k Keeper) GetCount(ctx context.Context, _ *types.QueryGetCountRequest) (*types.QueryGetCountResponse, error)
- func (k *Keeper) Hooks() types.CounterHooks
- func (k Keeper) IncreaseCount(ctx context.Context, msg *types.MsgIncreaseCounter) (*types.MsgIncreaseCountResponse, error)
- func (k *Keeper) SetHooks(gh types.CounterHooks) *Keeper
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] // contains filtered or unexported fields }
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) Hooks ¶
func (k *Keeper) Hooks() types.CounterHooks
Hooks gets the hooks for counter Keeper
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.