Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k *Keeper) ExportGenesis(_ context.Context) *types.GenesisState
- func (k *Keeper) GetAuthority() string
- func (k *Keeper) GetBankKeeper() bankkeeper.Keeper
- func (k *Keeper) GetTestAccountKeeper() accountkeeper.AccountKeeper
- func (k *Keeper) InitGenesis(_ context.Context, _ *types.GenesisState) error
- func (k *Keeper) Logger() log.Logger
- func (k *Keeper) Payout(ctx context.Context, payouts []types.PayoutPair) error
- func (k *Keeper) SetAuthority(authority string)
- func (k *Keeper) SetTestAccountKeeper(ak accountkeeper.AccountKeeper)
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the module MsgServer interface.
Types ¶
type Keeper ¶
type Keeper struct { // state management Schema collections.Schema // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService storetypes.KVStoreService, mintKeeper mintkeeper.Keeper, bankKeeper bankkeeper.Keeper, logger log.Logger, authority string, ) Keeper
NewKeeper creates a new poa Keeper instance
func (*Keeper) ExportGenesis ¶
func (k *Keeper) ExportGenesis(_ context.Context) *types.GenesisState
ExportGenesis exports the module's state to a genesis state.
func (*Keeper) GetAuthority ¶
func (*Keeper) GetBankKeeper ¶
func (k *Keeper) GetBankKeeper() bankkeeper.Keeper
func (*Keeper) GetTestAccountKeeper ¶
func (k *Keeper) GetTestAccountKeeper() accountkeeper.AccountKeeper
func (*Keeper) InitGenesis ¶
func (*Keeper) SetAuthority ¶
SetAuthority is only used for testing
func (*Keeper) SetTestAccountKeeper ¶
func (k *Keeper) SetTestAccountKeeper(ak accountkeeper.AccountKeeper)
Click to show internal directories.
Click to hide internal directories.