Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AddCollectedFees(ctx sdk.Context, fees sdk.Coins) error
- func (k Keeper) GetCollectorName() string
- func (k Keeper) GetCurrentInflation(ctx sdk.Context) (sdk.Dec, error)
- func (k Keeper) GetMinterState(ctx sdk.Context) (minter types.MinterState)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) Inflation(goCtx context.Context, req *types.QueryInflationRequest) (*types.QueryInflationResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Mint(ctx sdk.Context) (sdk.Int, error)
- func (k Keeper) MintCoins(ctx sdk.Context, newCoins sdk.Coins) error
- func (k Keeper) MintDenom(ctx sdk.Context) (res string)
- func (k Keeper) Minter(ctx sdk.Context) (res types.Minter)
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetMinterState(ctx sdk.Context, minter types.MinterState)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) State(goCtx context.Context, req *types.QueryStateRequest) (*types.QueryStateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace, bankKeeper types.BankKeeper, collectorName string, ) *Keeper
func (Keeper) AddCollectedFees ¶
AddCollectedFees implements an alias call to the underlying supply keeper's AddCollectedFees to be used in BeginBlocker.
func (Keeper) GetCollectorName ¶
func (Keeper) GetCurrentInflation ¶
func (Keeper) GetMinterState ¶
func (k Keeper) GetMinterState(ctx sdk.Context) (minter types.MinterState)
get the minter
func (Keeper) Inflation ¶
func (k Keeper) Inflation(goCtx context.Context, req *types.QueryInflationRequest) (*types.QueryInflationResponse, error)
func (Keeper) MintCoins ¶
MintCoins implements an alias call to the underlying supply keeper's MintCoins to be used in BeginBlocker.
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) SetMinterState ¶
func (k Keeper) SetMinterState(ctx sdk.Context, minter types.MinterState)
set the minter
func (Keeper) State ¶
func (k Keeper) State(goCtx context.Context, req *types.QueryStateRequest) (*types.QueryStateResponse, error)
Click to show internal directories.
Click to hide internal directories.