Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GenesisTriggererWhitelist(ctx sdk.Context) (res []types.GenesisTriggererParams)
- func (k Keeper) GetHub(ctx sdk.Context, hubId string) (val types.Hub, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) IsAddressInGenesisTriggererWhiteList(ctx sdk.Context, address string) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetHub(ctx sdk.Context, hub types.Hub)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, ps paramtypes.Subspace, channelKeeper types.ChannelKeeper, bankKeeper types.BankKeeper, accountKeeper types.AccountKeeper, ) Keeper
func (Keeper) GenesisTriggererWhitelist ¶
func (k Keeper) GenesisTriggererWhitelist(ctx sdk.Context) (res []types.GenesisTriggererParams)
GenesisTriggererWhitelist returns the GenesisTriggererWhitelist param
func (Keeper) IsAddressInGenesisTriggererWhiteList ¶
type Querier ¶
type Querier struct {
Keeper
}
Querier defines a wrapper around the x/hub-genesis keeper providing gRPC method handlers.
func NewQuerier ¶
func (Querier) Hub ¶
func (q Querier) Hub(goCtx context.Context, request *types.QueryGetHubRequest) (*types.QueryGetHubResponse, error)
func (Querier) Params ¶
func (q Querier) Params(c context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params returns params of the hub-genesis module.
Click to show internal directories.
Click to hide internal directories.