Documentation ¶
Index ¶
- func NewQuerier(k MinterKeeper) sdk.Querier
- func QueryInflation(ctx sdk.Context, k MinterKeeper) ([]byte, error)
- func QueryParams(ctx sdk.Context, k MinterKeeper) ([]byte, error)
- type MinterKeeper
- func (k MinterKeeper) AddCollectedFees(ctx sdk.Context, fees sdk.Coin) error
- func (k MinterKeeper) AllBonded(ctx sdk.Context) sdk.Coin
- func (k MinterKeeper) BondedRatio(ctx sdk.Context) sdk.Dec
- func (k MinterKeeper) GetLatestMintedCoin(ctx sdk.Context) sdk.Coin
- func (k MinterKeeper) GetMinter(ctx sdk.Context) (minter types.Minter)
- func (k MinterKeeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k MinterKeeper) MintCoins(ctx sdk.Context, newCoins sdk.Coins) error
- func (k MinterKeeper) SetLatestMintedCoin(ctx sdk.Context, fees sdk.Coin)
- func (k MinterKeeper) SetMinter(ctx sdk.Context, minter types.Minter)
- func (k MinterKeeper) SetParams(ctx sdk.Context, params types.Params)
- func (k MinterKeeper) StakingTokenSupply(ctx sdk.Context) sdk.Int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
func NewQuerier(k MinterKeeper) sdk.Querier
func QueryInflation ¶
func QueryInflation(ctx sdk.Context, k MinterKeeper) ([]byte, error)
func QueryParams ¶
func QueryParams(ctx sdk.Context, k MinterKeeper) ([]byte, error)
Types ¶
type MinterKeeper ¶
type MinterKeeper struct {
// contains filtered or unexported fields
}
func NewMinterKeeper ¶
func (MinterKeeper) AddCollectedFees ¶
AddCollectedFees implements an alias call to the underlying supply keeper's AddCollectedFees to be used in BeginBlocker.
func (MinterKeeper) BondedRatio ¶
func (k MinterKeeper) BondedRatio(ctx sdk.Context) sdk.Dec
BondedRatio implements an alias call to the underlying staking keeper's BondedRatio to be used in BeginBlocker.
func (MinterKeeper) GetLatestMintedCoin ¶
func (k MinterKeeper) GetLatestMintedCoin(ctx sdk.Context) sdk.Coin
func (MinterKeeper) GetMinter ¶
func (k MinterKeeper) GetMinter(ctx sdk.Context) (minter types.Minter)
get the minter
func (MinterKeeper) GetParams ¶
func (k MinterKeeper) GetParams(ctx sdk.Context) (params types.Params)
GetParams returns the total set of minting parameters.
func (MinterKeeper) MintCoins ¶
MintCoins implements an alias call to the underlying supply keeper's MintCoins to be used in BeginBlocker.
func (MinterKeeper) SetLatestMintedCoin ¶
func (k MinterKeeper) SetLatestMintedCoin(ctx sdk.Context, fees sdk.Coin)
func (MinterKeeper) SetMinter ¶
func (k MinterKeeper) SetMinter(ctx sdk.Context, minter types.Minter)
set the minter
func (MinterKeeper) SetParams ¶
func (k MinterKeeper) SetParams(ctx sdk.Context, params types.Params)
SetParams sets the total set of minting parameters.
func (MinterKeeper) StakingTokenSupply ¶
func (k MinterKeeper) StakingTokenSupply(ctx sdk.Context) sdk.Int
StakingTokenSupply implements an alias call to the underlying staking keeper's StakingTokenSupply to be used in BeginBlocker.
Click to show internal directories.
Click to hide internal directories.