Documentation ¶
Index ¶
- Variables
- type CommentCountKeeper
- func (keeper *CommentCountKeeper) GetAllCommentCount(ctx sdk.Context) map[string]uint64
- func (keeper *CommentCountKeeper) GetCommentCount(ctx sdk.Context, denom string) uint64
- func (keeper *CommentCountKeeper) IncrCommentCount(ctx sdk.Context, denom string) uint64
- func (keeper *CommentCountKeeper) SetCommentCount(ctx sdk.Context, denom string, count uint64)
- type Keeper
- func (k *Keeper) DonateToCommunityPool(ctx sdk.Context, fromAddr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k *Keeper) GetAccount(ctx sdk.Context, addr sdk.AccAddress) auth.Account
- func (k *Keeper) GetAllCommentCount(ctx sdk.Context) map[string]uint64
- func (k *Keeper) GetCommentCount(ctx sdk.Context, denom string) uint64
- func (k *Keeper) GetEventTypeMsgQueue() string
- func (k *Keeper) IncrCommentCount(ctx sdk.Context, denom string) uint64
- func (k *Keeper) IsTokenExists(ctx sdk.Context, denom string) bool
- func (k *Keeper) SendCoins(ctx sdk.Context, from sdk.AccAddress, to sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k *Keeper) SetCommentCount(ctx sdk.Context, denom string, count uint64)
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 NewKeeper ¶
func NewKeeper(key sdk.StoreKey, bxk types.ExpectedBankxKeeper, axk types.ExpectedAssetStatusKeeper, ak types.ExpectedAccountKeeper, dk types.ExpectedDistributionxKeeper, et string) *Keeper
func (*Keeper) DonateToCommunityPool ¶
func (*Keeper) GetAccount ¶
func (*Keeper) GetAllCommentCount ¶
func (*Keeper) GetCommentCount ¶
func (*Keeper) GetEventTypeMsgQueue ¶
func (*Keeper) IncrCommentCount ¶
Click to show internal directories.
Click to hide internal directories.