Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) EndBlocker(ctx sdk.Context)
- func (k Keeper) GetMaxSupply(ctx sdk.Context) sdk.Coin
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) GetPrevBlockTS(ctx sdk.Context) sdkmath.Int
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MaxSupply(c context.Context, _ *types.QueryMaxSupplyRequest) (*types.QueryMaxSupplyResponse, error)
- func (k Keeper) MintAndAllocate(ctx sdk.Context) error
- func (k Keeper) MintCoins(ctx sdk.Context, coin sdk.Coin) error
- func (k Keeper) Params(c context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RewardCoefficient(c context.Context, _ *types.QueryRewardCoefficientRequest) (*types.QueryRewardCoefficientResponse, error)
- func (k Keeper) SetMaxSupply(ctx sdk.Context, maxSupply sdk.Coin)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetPrevBlockTS(ctx sdk.Context, prevBlockTS sdkmath.Int)
- func (k Keeper) TokenSupply(ctx sdk.Context, denom string) sdkmath.Int
- type Migrator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the coinomics store
func NewKeeper ¶
func NewKeeper( storeKey storetypes.StoreKey, cdc codec.BinaryCodec, ps paramtypes.Subspace, ak types.AccountKeeper, bk types.BankKeeper, dk types.DistrKeeper, sk types.StakingKeeper, feeCollectorName string, ) Keeper
NewKeeper creates a new mint Keeper instance
func (Keeper) EndBlocker ¶
func (Keeper) GetPrevBlockTS ¶ added in v1.6.4
func (Keeper) MaxSupply ¶
func (k Keeper) MaxSupply( c context.Context, _ *types.QueryMaxSupplyRequest, ) (*types.QueryMaxSupplyResponse, error)
func (Keeper) MintAndAllocate ¶ added in v1.6.4
func (Keeper) Params ¶
func (k Keeper) Params( c context.Context, _ *types.QueryParamsRequest, ) (*types.QueryParamsResponse, error)
Params returns params of the mint module.
func (Keeper) RewardCoefficient ¶ added in v1.6.4
func (k Keeper) RewardCoefficient( c context.Context, _ *types.QueryRewardCoefficientRequest, ) (*types.QueryRewardCoefficientResponse, error)
func (Keeper) SetPrevBlockTS ¶ added in v1.6.4
Click to show internal directories.
Click to hide internal directories.