keeper

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(k Keeper) sdk.Querier

NewQuerier creates a new querier for tombstone clients.

Types

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

Keeper of the tombstone store

func NewKeeper

func NewKeeper(cdc *codec.Codec, key sdk.StoreKey, paramspace types.ParamSubspace) Keeper

NewKeeper creates a tombstone keeper

func (Keeper) GetNote

func (k Keeper) GetNote(ctx sdk.Context, recorder sdk.AccAddress) (types.Note, error)

GetNote get note from store

func (Keeper) ListNote

func (k Keeper) ListNote(ctx sdk.Context) ([]types.Note, error)

ListNote - Get all records

func (Keeper) ListRecoder

func (k Keeper) ListRecoder(ctx sdk.Context) ([]sdk.AccAddress, error)

ListRecoder - Get all recorder

func (Keeper) Logger

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

Logger returns a module-specific logger.

func (Keeper) SetNote

func (k Keeper) SetNote(ctx sdk.Context, msg types.MsgSetRecord) error

SetNote set note to store

Jump to

Keyboard shortcuts

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