Documentation ¶
Index ¶
- func NewQuerier(k Keeper) types.QueryServer
- type Keeper
- func (k Keeper) AddCollectedFees(ctx context.Context, fees sdk.Coins) error
- func (k Keeper) BeginBlocker(ctx context.Context, ic types.InflationCalculationFn) error
- func (k Keeper) BondedRatio(ctx context.Context) (math.LegacyDec, error)
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetParams(ctx context.Context) (types.Params, error)
- func (k Keeper) InitGenesis(ctx sdk.Context, ak types.AccountKeeper, data *types.GenesisState)
- func (k Keeper) Logger(ctx context.Context) log.Logger
- func (k Keeper) MintCoins(ctx context.Context, newCoins sdk.Coins) error
- func (k Keeper) SetParams(ctx context.Context, value types.Params) error
- func (k Keeper) StakingTokenSupply(ctx context.Context) (math.Int, error)
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
func NewQuerier(k Keeper) types.QueryServer
Types ¶
type Keeper ¶
type Keeper struct { Schema collections.Schema Params collections.Item[types.Params] // contains filtered or unexported fields }
Keeper of the mint store.
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService storetypes.KVStoreService, sk types.StakingKeeper, ak types.AccountKeeper, bk types.BankKeeper, feeCollectorName string, ) Keeper
NewKeeper creates a new mint Keeper instance.
func (Keeper) AddCollectedFees ¶
AddCollectedFees implements an alias call to the underlying supply keeper's AddCollectedFees to be used in BeginBlocker.
func (Keeper) BeginBlocker ¶
BeginBlocker mints new tokens for the previous block.
func (Keeper) BondedRatio ¶
BondedRatio implements an alias call to the underlying staking keeper's BondedRatio to be used in BeginBlocker.
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis returns a GenesisState for a given context and keeper.
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, ak types.AccountKeeper, data *types.GenesisState)
InitGenesis new mint genesis.
Click to show internal directories.
Click to hide internal directories.