Documentation
¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQueryServer(k *Keeper) types.QueryServer
- type Keeper
- func (k *Keeper) EndBlocker(ctx context.Context) ([]abci.ValidatorUpdate, error)
- func (k Keeper) ExportGenesis(ctx context.Context) *types.GenesisState
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetParams(ctx context.Context) (types.Params, error)
- func (k Keeper) InitGenesis(ctx context.Context, data *types.GenesisState)
- func (k Keeper) Logger(ctx context.Context) log.Logger
- func (k Keeper) SetParams(ctx context.Context, params types.Params) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the chainmanager MsgServer interface for the provided Keeper.
func NewQueryServer ¶
func NewQueryServer(k *Keeper) types.QueryServer
NewQueryServer creates a new querier for chainmanager clients.
Types ¶
type Keeper ¶
type Keeper struct { Schema collections.Schema // contains filtered or unexported fields }
Keeper stores all chainmanager related data
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService store.KVStoreService, authority string, ) Keeper
NewKeeper create new keeper
func (*Keeper) EndBlocker ¶
EndBlocker called at the end of every block
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx context.Context) *types.GenesisState
ExportGenesis returns a GenesisState for chainmanager.
func (Keeper) GetAuthority ¶
GetAuthority returns x/chainmanager module's authority
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx context.Context, data *types.GenesisState)
InitGenesis sets chainmanager information for genesis.
Click to show internal directories.
Click to hide internal directories.