core

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportGenesis added in v1.5.25

func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState

func InitGenesis

func InitGenesis(ctx sdk.Context, k keeper.Keeper, createLocalhost bool, gs *types.GenesisState)

InitGenesis initializes the ibc state from a provided genesis state.

func NewHandler

func NewHandler(k keeper.Keeper) sdk.Handler

Types

type AppModule

type AppModule struct {
	AppModuleBasic
	// contains filtered or unexported fields
}

AppModule implements an application module for the ibc module.

func NewAppModule

func NewAppModule(keeper *keeper.Keeper) AppModule

NewAppModule creates a new 20-transfer module

func (AppModule) BeginBlocker

func (m AppModule) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock)

func (AppModule) Committer

func (m AppModule) Committer(ctx sdk.Context)

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)

Directories

Path Synopsis
types
Package types is a reverse proxy.
Package types is a reverse proxy.
types
Package types is a reverse proxy.
Package types is a reverse proxy.
commitment
types
Package types is a reverse proxy.
Package types is a reverse proxy.
port

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL