Documentation ¶
Index ¶
- func NewQuerier(k Keeper) sdk.Querier
- type Keeper
- func (k Keeper) AddMintingCoins(ctx sdk.Context, amt sdk.Coins) sdk.Error
- func (k Keeper) BondDenom(ctx sdk.Context) string
- func (k Keeper) BurnCoins(ctx sdk.Context, fromAddr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) BurnTokenSupply(ctx sdk.Context) sdk.Coins
- func (k Keeper) DistrTokenSupply(ctx sdk.Context) sdk.Int
- func (k Keeper) GetBalance(ctx sdk.Context, acc sdk.AccAddress) sdk.Coins
- func (k Keeper) GetBonus(ctx sdk.Context, height string) (coin sdk.Coin)
- func (k Keeper) GetDenomSupply(ctx sdk.Context, denom string) sdk.Int
- func (k Keeper) GetMinter(ctx sdk.Context) (minter types.Minter)
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) IssueCoins(ctx sdk.Context, toAddress sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MintCoins(ctx sdk.Context, newCoins sdk.Coins) sdk.Error
- func (k Keeper) MintedTokenSupply(ctx sdk.Context) sdk.Int
- func (k Keeper) MintingTokenSupply(ctx sdk.Context) sdk.Int
- func (k Keeper) SetBonus(ctx sdk.Context, height int64, coin sdk.Coin)
- func (k Keeper) SetMinter(ctx sdk.Context, minter types.Minter)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier returns a minting Querier handler.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the mint store
func NewKeeper ¶
func NewKeeper( cdc *codec.Codec, key sdk.StoreKey, paramSpace params.Subspace, sk types.StakingKeeper, supplyKeeper types.SupplyKeeper, coinsCollectorName, coinsDistributorName, coinsBurnerName string) Keeper
NewKeeper creates a new mint Keeper instance
func (Keeper) AddMintingCoins ¶
AddMintingCoins implements an alias call to the underlying supply keeper's AddMintingCoins to be used in BeginBlocker.
func (Keeper) GetBalance ¶
func (Keeper) GetDenomSupply ¶
______________________________________________________________________ GetDenomSupply get supply of spec denom
func (Keeper) IssueCoins ¶
IssueCoins
func (Keeper) MintCoins ¶
MintCoins implements an alias call to the underlying supply keeper's MintCoins to be used in BeginBlocker.
func (Keeper) MintedTokenSupply ¶
MintedTokenSupply implements an alias call to the underlying supply keeper's MintedTokenSupply to be used in BeginBlocker.
func (Keeper) MintingTokenSupply ¶
已挖不可分配
Click to show internal directories.
Click to hide internal directories.