keeper

package
v0.1.0-furya.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryServer

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 NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey sdk.StoreKey,
) *Keeper

func (Keeper) GetBalance

func (k Keeper) GetBalance(ctx sdk.Context, address sdk.AccAddress) sdk.Fur

func (Keeper) IncTokens

func (k Keeper) IncTokens(ctx sdk.Context, address sdk.AccAddress, amount sdk.Fur)

func (Keeper) IterateBalance

func (k Keeper) IterateBalance(ctx sdk.Context, handle func(address sdk.AccAddress, balance sdk.Fur) (stop bool))

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) ResetAccount

func (k Keeper) ResetAccount(ctx sdk.Context, address sdk.AccAddress)

func (Keeper) SetBalance

func (k Keeper) SetBalance(ctx sdk.Context, address sdk.AccAddress, amount sdk.Fur)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL