crosschain

package
v1.2.0-dhobyghaut Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndBlocker

func EndBlocker(ctx sdk.Context, k keeper.Keeper)

EndBlocker is called at the end of every block

func NewCrossChainProposalHandler

func NewCrossChainProposalHandler(k keeper.RouterKeeper) govtypes.Handler

func NewHandler

func NewHandler(k keeper.RouterKeeper) sdk.Handler

NewHandler returns a handler for "Gravity" type messages.

Types

type AppModule

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

AppModule object for module implementation

func NewAppModuleByRouter

func NewAppModuleByRouter(k keeper.RouterKeeper) AppModule

NewAppModuleByRouter creates a new AppModule Object

func (AppModule) BeginBlock

func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)

BeginBlock implements app module

func (AppModule) EndBlock

EndBlock implements app module

func (AppModule) ExportGenesis

func (am AppModule) ExportGenesis(_ sdk.Context, _ codec.JSONCodec) json.RawMessage

ExportGenesis exports the current genesis state to a json.RawMessage

func (AppModule) InitGenesis

InitGenesis initializes the genesis state for this module and implements app module.

func (AppModule) LegacyQuerierHandler

func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier

LegacyQuerierHandler returns the distribution module sdk.Querier.

func (AppModule) Name

func (AppModule) Name() string

Name implements app module

func (AppModule) QuerierRoute

func (am AppModule) QuerierRoute() string

QuerierRoute implements app module

func (AppModule) RegisterInvariants

func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry)

RegisterInvariants implements app module

func (AppModule) RegisterServices

func (am AppModule) RegisterServices(cfg module.Configurator)

RegisterServices registers module services.

func (AppModule) Route

func (am AppModule) Route() sdk.Route

Route implements app module

type AppModuleBasic

type AppModuleBasic struct{}

AppModuleBasic object for module implementation

func (AppModuleBasic) DefaultGenesis

func (AppModuleBasic) DefaultGenesis(_ codec.JSONCodec) json.RawMessage

DefaultGenesis implements app module basic

func (AppModuleBasic) GetQueryCmd

func (AppModuleBasic) GetQueryCmd() *cobra.Command

GetQueryCmd implements app module basic

func (AppModuleBasic) GetTxCmd

func (AppModuleBasic) GetTxCmd() *cobra.Command

GetTxCmd implements app module basic

func (AppModuleBasic) Name

func (AppModuleBasic) Name() string

Name implements app module basic

func (AppModuleBasic) RegisterGRPCGatewayRoutes

func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)

RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the distribution module. also implements app modeul basic

func (AppModuleBasic) RegisterInterfaces

func (b AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)

RegisterInterfaces implements app bmodule basic

func (AppModuleBasic) RegisterLegacyAminoCodec

func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec implements app module basic

func (AppModuleBasic) RegisterRESTRoutes

func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router)

RegisterRESTRoutes implements app module basic

func (AppModuleBasic) ValidateGenesis

ValidateGenesis implements app module basic

Directories

Path Synopsis
client
cli
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

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