Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) ExportGenesis(ctx context.Context) *types.GenesisState
- func (k Keeper) GetAuthority() string
- func (k Keeper) InitGenesis(ctx context.Context, ak types.AccountKeeper, gen *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) SendInflationaryRewards(ctx context.Context, coins sdk.Coins) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
Types ¶
type Keeper ¶
type Keeper struct { Schema collections.Schema Minter collections.Item[types.Minter] // contains filtered or unexported fields }
Keeper of the mint store
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService storetypes.KVStoreService, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, authority string, ) Keeper
NewKeeper creates a new mint Keeper instance.
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx context.Context) *types.GenesisState
ExportGenesis returns a x/mint GenesisState for the given context.
func (Keeper) GetAuthority ¶
GetAuthority returns the module's authority.
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx context.Context, ak types.AccountKeeper, gen *types.GenesisState)
InitGenesis initializes the x/mint store with data from the genesis state.
Click to show internal directories.
Click to hide internal directories.