keepers

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CommentCountKey    = []byte{0x10}
	CommentCountKeyEnd = []byte{0x11}
)

Functions

This section is empty.

Types

type CommentCountKeeper

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

func NewCommentCountKeeper

func NewCommentCountKeeper(key sdk.StoreKey) *CommentCountKeeper

func (*CommentCountKeeper) GetAllCommentCount

func (keeper *CommentCountKeeper) GetAllCommentCount(ctx sdk.Context) map[string]uint64

func (*CommentCountKeeper) GetCommentCount

func (keeper *CommentCountKeeper) GetCommentCount(ctx sdk.Context, denorm string) uint64

func (*CommentCountKeeper) IncrCommentCount

func (keeper *CommentCountKeeper) IncrCommentCount(ctx sdk.Context, denorm string) uint64

func (*CommentCountKeeper) SetCommentCount

func (keeper *CommentCountKeeper) SetCommentCount(ctx sdk.Context, denorm string, count uint64)

Jump to

Keyboard shortcuts

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