Documentation ¶
Index ¶
- func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, createLocalhost bool, gs *types.GenesisState)
- func NewHandler(k keeper.Keeper) sdk.Handler
- type AppModule
- func (m AppModule) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock)
- func (m AppModule) Committer(ctx sdk.Context)
- func (m AppModule) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
- func (m AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx sdk.Context, bz json.RawMessage) []abci.ValidatorUpdate
- func (am AppModule) RegisterServices(cfg module.Configurator)
- type AppModuleBasic
- func (m AppModuleBasic) DefaultGenesis(validators []tmtypes.GenesisValidator) json.RawMessage
- func (AppModuleBasic) Name() string
- func (b AppModuleBasic) RegisterCodec(codec *codec.Codec)
- func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
- func (b AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportGenesis ¶ added in v1.5.25
func InitGenesis ¶
InitGenesis initializes the ibc state from a provided genesis state.
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule implements an application module for the ibc module.
func NewAppModule ¶
NewAppModule creates a new 20-transfer module
func (AppModule) BeginBlocker ¶
func (m AppModule) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (m AppModule) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶ added in v1.5.23
func (m AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Context, bz json.RawMessage) []abci.ValidatorUpdate
InitGenesis performs genesis initialization for the ibc module. It returns no validator updates.
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(cfg module.Configurator)
RegisterServices registers module services.
type AppModuleBasic ¶
type AppModuleBasic struct{}
AppModuleBasic is the IBC Transfer AppModuleBasic
func (AppModuleBasic) DefaultGenesis ¶
func (m AppModuleBasic) DefaultGenesis(validators []tmtypes.GenesisValidator) json.RawMessage
DefaultGenesis returns default genesis state as raw bytes for the ibc module.
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
Name returns the ibc module's name.
func (AppModuleBasic) RegisterCodec ¶
func (b AppModuleBasic) RegisterCodec(codec *codec.Codec)
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the ibc module.
func (AppModuleBasic) RegisterInterfaces ¶
func (b AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
Click to show internal directories.
Click to hide internal directories.