Documentation
¶
Index ¶
- func NewMsgServerImpl(k Keeper) types.MsgServer
- func NewQueryServerImpl(k Keeper) types.QueryServer
- type Keeper
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetParams(ctx context.Context) (p types.Params)
- func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)
- func (k Keeper) SendCoinsFromAccountToFeeCollector(ctx context.Context, senderAddr sdk.AccAddress, amt sdk.Coins) error
- func (k Keeper) SetParams(ctx context.Context, p types.Params) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the x/mint MsgServer interface.
func NewQueryServerImpl ¶
func NewQueryServerImpl(k Keeper) types.QueryServer
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of this module maintains distributing tokens to all stakers.
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, ss storetypes.KVStoreService, bk bankkeeper.Keeper, feeCollector string, authority string, ) Keeper
NewKeeper creates new instances of the Keeper
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis export module state
func (Keeper) GetAuthority ¶
GetAuthority returns the x/mint module's authority.
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis( ctx sdk.Context, data types.GenesisState, )
InitGenesis import module genesis
func (Keeper) SendCoinsFromAccountToFeeCollector ¶
func (k Keeper) SendCoinsFromAccountToFeeCollector(ctx context.Context, senderAddr sdk.AccAddress, amt sdk.Coins) error
SendCoinsFromAccountToFeeCollector transfers amt to the fee collector account, where it will be catch up by the distribution module at the next block
Click to show internal directories.
Click to hide internal directories.