Documentation ¶
Index ¶
- func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
- type Keeper
- func (k Keeper) GetMintingParams(ctx sdk.Context) (params minttypes.Params)
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(context context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetMintingParams(ctx sdk.Context, params minttypes.Params)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
NewQuerier returns a halving Querier handler.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the halving store
func NewKeeper ¶
func NewKeeper( key sdk.StoreKey, paramSpace paramstypes.Subspace, mintkeeper types.MintKeeper, ) Keeper
NewKeeper creates a new halving Keeper instance
func (Keeper) GetMintingParams ¶
GetMintingParams returns the total set of halving parameters.
func (Keeper) Params ¶
func (k Keeper) Params(context context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) SetMintingParams ¶
SetMintingParams sets the total set of halving parameters.
Click to show internal directories.
Click to hide internal directories.