Documentation ¶
Index ¶
- func NewQueryServer(keeper Keeper) types.QueryServer
- type Keeper
- func (k Keeper) GetBalance(ctx sdk.Context, address sdk.AccAddress) sdk.Dec
- func (k Keeper) IncTokens(ctx sdk.Context, address sdk.AccAddress, amount sdk.Dec)
- func (k Keeper) IterateBalance(ctx sdk.Context, ...)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) ResetAccount(ctx sdk.Context, address sdk.AccAddress)
- func (k Keeper) SetBalance(ctx sdk.Context, address sdk.AccAddress, amount sdk.Dec)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQueryServer ¶ added in v1.5.0
func NewQueryServer(keeper Keeper) types.QueryServer
NewQueryServer returns an implementation of the QueryServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (Keeper) GetBalance ¶
func (Keeper) IterateBalance ¶ added in v1.5.0
func (Keeper) ResetAccount ¶ added in v1.4.0
func (k Keeper) ResetAccount(ctx sdk.Context, address sdk.AccAddress)
func (Keeper) SetBalance ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.