Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetAllHubDenoms(ctx sdk.Context) (denoms []string, _ error)
- func (k Keeper) HasHubDenom(ctx sdk.Context, denom string) (bool, error)
- func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
- func (k Keeper) SetHubDenom(ctx sdk.Context, denom string) error
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, ) Keeper
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis returns a GenesisState for a given context and keeper.
func (Keeper) GetAllHubDenoms ¶
func (Keeper) HasHubDenom ¶
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
InitGenesis new hub genesis.
type Querier ¶
type Querier struct {
Keeper
}
Querier defines a wrapper around the x/hub-genesis keeper providing gRPC method handlers.
func NewQuerier ¶
func (Querier) State ¶
func (q Querier) State(goCtx context.Context, _ *types.QueryStateRequest) (*types.QueryStateResponse, error)
Click to show internal directories.
Click to hide internal directories.