Versions in this module Expand all Collapse all v1 v1.0.0 Jan 24, 2025 Changes in this version + func NewMsgServerImpl(keeper Keeper) types.MsgServer + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ...) Keeper + func (k Keeper) AddDepositReward(ctx sdk.Context, address string, amount sdk.Coin) + func (k Keeper) AddWithdrawReward(ctx sdk.Context, address string, amount sdk.Coin) + func (k Keeper) DepositIncentiveEnabled(ctx sdk.Context) bool + func (k Keeper) DepositRewardDenom(ctx sdk.Context) string + func (k Keeper) DistributeDepositReward(ctx sdk.Context, address string) error + func (k Keeper) DistributeWithdrawReward(ctx sdk.Context, address string) error + func (k Keeper) GetParams(ctx sdk.Context) types.Params + func (k Keeper) GetRewardStats(ctx sdk.Context) *types.RewardStats + func (k Keeper) GetRewards(ctx sdk.Context, address string) *types.Rewards + func (k Keeper) HasRewards(ctx sdk.Context, address string) bool + func (k Keeper) IncentiveEnabled(ctx sdk.Context) bool + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k Keeper) RewardPerDeposit(ctx sdk.Context) sdk.Coin + func (k Keeper) RewardPerWithdraw(ctx sdk.Context) sdk.Coin + func (k Keeper) RewardStats(goCtx context.Context, req *types.QueryRewardStatsRequest) (*types.QueryRewardStatsResponse, error) + func (k Keeper) Rewards(goCtx context.Context, req *types.QueryRewardsRequest) (*types.QueryRewardsResponse, error) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetRewardStats(ctx sdk.Context, rewardStats *types.RewardStats) + func (k Keeper) SetRewards(ctx sdk.Context, rewards *types.Rewards) + func (k Keeper) UpdateRewardStats(ctx sdk.Context, address string, reward sdk.Coin) + func (k Keeper) WithdrawIncentiveEnabled(ctx sdk.Context) bool + func (k Keeper) WithdrawRewardDenom(ctx sdk.Context) string