keepers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2019 License: BSD-2-Clause Imports: 4 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, denom string) uint64

func (*CommentCountKeeper) IncrCommentCount

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

func (*CommentCountKeeper) SetCommentCount

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

type Keeper

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

func (*Keeper) DonateToCommunityPool added in v0.0.15

func (k *Keeper) DonateToCommunityPool(ctx sdk.Context, fromAddr sdk.AccAddress, amt sdk.Coins) sdk.Error

func (*Keeper) GetAccount added in v0.0.15

func (k *Keeper) GetAccount(ctx sdk.Context, addr sdk.AccAddress) auth.Account

func (*Keeper) GetAllCommentCount added in v0.0.15

func (k *Keeper) GetAllCommentCount(ctx sdk.Context) map[string]uint64

func (*Keeper) GetCommentCount added in v0.0.15

func (k *Keeper) GetCommentCount(ctx sdk.Context, denom string) uint64

func (*Keeper) GetEventTypeMsgQueue added in v0.0.15

func (k *Keeper) GetEventTypeMsgQueue() string

func (*Keeper) IncrCommentCount added in v0.0.15

func (k *Keeper) IncrCommentCount(ctx sdk.Context, denom string) uint64

func (*Keeper) IsTokenExists added in v0.0.15

func (k *Keeper) IsTokenExists(ctx sdk.Context, denom string) bool

func (*Keeper) SendCoins added in v0.0.15

func (k *Keeper) SendCoins(ctx sdk.Context, from sdk.AccAddress, to sdk.AccAddress, amt sdk.Coins) sdk.Error

func (*Keeper) SetCommentCount added in v0.0.15

func (k *Keeper) SetCommentCount(ctx sdk.Context, denom string, count uint64)

Jump to

Keyboard shortcuts

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