Documentation ¶
Index ¶
- func FloatToBigInt(val float64) *big.Int
- func GetAccount(name string) (sdk.AccAddress, error)
- func GetDevGrantsAccount() (sdk.AccAddress, error)
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
- type Keeper
- func (k Keeper) AddCollectedFees(ctx sdk.Context, fees sdk.Coins) error
- func (k Keeper) BlockMint(ctx sdk.Context)
- func (k Keeper) GetInflation(ctx sdk.Context) (sdk.Dec, error)
- func (k Keeper) GetMintedBlock(ctx sdk.Context, height int64) (val types.MintedBlock, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) (p types.Params)
- func (k Keeper) Inflation(c context.Context, _ *types.QueryInflation) (*types.QueryInflationResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MintCoins(ctx sdk.Context, newCoins sdk.Coins) error
- func (k Keeper) MintDenom(ctx sdk.Context) (res string)
- func (k Keeper) Params(c context.Context, _ *types.QueryParams) (*types.QueryParamsResponse, error)
- func (k Keeper) SetMintedBlock(ctx sdk.Context, block types.MintedBlock)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- type Migrator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FloatToBigInt ¶
func GetAccount ¶
func GetAccount(name string) (sdk.AccAddress, error)
func GetDevGrantsAccount ¶
func GetDevGrantsAccount() (sdk.AccAddress, error)
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
NewQuerier returns a minting Querier handler.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, key storetypes.StoreKey, paramSpace paramtypes.Subspace, sk types.StakingKeeper, ak types.AccountKeeper, bk types.BankKeeper, feeCollectorName string, miningName string, ) Keeper
func (Keeper) AddCollectedFees ¶
AddCollectedFees implements an alias call to the underlying supply keeper's AddCollectedFees to be used in BeginBlocker.
func (Keeper) GetMintedBlock ¶
func (Keeper) Inflation ¶
func (k Keeper) Inflation(c context.Context, _ *types.QueryInflation) (*types.QueryInflationResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, _ *types.QueryParams) (*types.QueryParamsResponse, error)
func (Keeper) SetMintedBlock ¶
func (k Keeper) SetMintedBlock(ctx sdk.Context, block types.MintedBlock)
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator is a struct for handling in-place store migrations.
func NewMigrator ¶
NewMigrator returns a new Migrator
Click to show internal directories.
Click to hide internal directories.