module

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppModule

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

AppModule implements the AppModule interface for the capability module.

func NewModule

func NewModule(k keeper.Keeper) AppModule

NewModule returns a new Module.

func (AppModule) ConsensusVersion

func (a AppModule) ConsensusVersion() uint64

ConsensusVersion is the module consensus version

func (AppModule) DefaultGenesis

func (a AppModule) DefaultGenesis(_ codec.JSONCodec) json.RawMessage

DefaultGenesis implements AppModule/DefaultGenesis.

func (AppModule) ExportGenesis

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

ExportGenesis implements AppModule/ExportGenesis.

func (AppModule) GetQueryCmd

func (a AppModule) GetQueryCmd() *cobra.Command

GetQueryCmd implements AppModule/GetQueryCmd.

func (AppModule) GetTxCmd

func (a AppModule) GetTxCmd() *cobra.Command

GetTxCmd implements AppModule/GetTxCmd.

func (AppModule) InitGenesis

InitGenesis implements AppModule/InitGenesis.

func (AppModule) LegacyQuerierHandler

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

LegacyQuerierHandler implements AppModule/LegacyQuerierHandler.

func (AppModule) Name

func (a AppModule) Name() string

Name implements AppModule/Name.

func (AppModule) QuerierRoute

func (a AppModule) QuerierRoute() string

QuerierRoute implements AppModule/QuerierRoute.

func (AppModule) RegisterGRPCGatewayRoutes

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

RegisterGRPCGatewayRoutes implements AppModule/RegisterGRPCGatewayRoutes.

func (AppModule) RegisterInterfaces

func (a AppModule) RegisterInterfaces(registry codectypes.InterfaceRegistry)

RegisterInterfaces implements AppModule/RegisterTypes.

func (AppModule) RegisterInvariants

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

RegisterInvariants implements AppModule/RegisterInvariants.

func (AppModule) RegisterLegacyAminoCodec

func (a AppModule) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)

RegisterLegacyAminoCodec implements AppModule/RegisterLegacyAminoCodec.

func (AppModule) RegisterServices

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

RegisterServices implements AppModule/RegisterServices.

func (AppModule) Route

func (a AppModule) Route() sdk.Route

Route implements AppModule/Route.

func (AppModule) ValidateGenesis

func (a AppModule) ValidateGenesis(_ codec.JSONCodec, _ client.TxEncodingConfig, _ json.RawMessage) error

ValidateGenesis implements AppModule/ValidateGenesis.

type IBCModule

type IBCModule struct {
	// contains filtered or unexported fields
}

IBCModule implements the ICS26 interface for interchain accounts controller chains

func NewIBCModule

func NewIBCModule(k keeper.Keeper) IBCModule

NewIBCModule creates a new IBCModule given the keeper

func (IBCModule) NegotiateAppVersion

func (im IBCModule) NegotiateAppVersion(
	_ sdk.Context,
	_ channeltypes.Order,
	_ string,
	_ string,
	_ channeltypes.Counterparty,
	_ string,
) (string, error)

NegotiateAppVersion implements the IBCModule interface

func (IBCModule) OnAcknowledgementPacket

func (im IBCModule) OnAcknowledgementPacket(
	_ sdk.Context,
	_ channeltypes.Packet,
	_ []byte,
	_ sdk.AccAddress,
) error

OnAcknowledgementPacket implements the IBCModule interface

func (IBCModule) OnChanCloseConfirm

func (im IBCModule) OnChanCloseConfirm(
	_ sdk.Context,
	_ string,
	_ string,
) error

OnChanCloseConfirm implements the IBCModule interface

func (IBCModule) OnChanCloseInit

func (im IBCModule) OnChanCloseInit(
	_ sdk.Context,
	_ string,
	_ string,
) error

OnChanCloseInit implements the IBCModule interface

func (IBCModule) OnChanOpenAck

func (im IBCModule) OnChanOpenAck(
	_ sdk.Context,
	_ string,
	_ string,
	_ string,
	_ string,
) error

OnChanOpenAck implements the IBCModule interface

func (IBCModule) OnChanOpenConfirm

func (im IBCModule) OnChanOpenConfirm(
	_ sdk.Context,
	_ string,
	_ string,
) error

OnChanOpenConfirm implements the IBCModule interface

func (IBCModule) OnChanOpenInit

func (im IBCModule) OnChanOpenInit(
	ctx sdk.Context,
	_ channeltypes.Order,
	_ []string,
	portID string,
	channelID string,
	chanCap *capabilitytypes.Capability,
	_ channeltypes.Counterparty,
	version string,
) (string, error)

OnChanOpenInit implements the IBCModule interface

func (IBCModule) OnChanOpenTry

OnChanOpenTry implements the IBCModule interface

func (IBCModule) OnRecvPacket

OnRecvPacket implements the IBCModule interface. A successful acknowledgement is returned if the packet data is successfully decoded and the receive application logic returns without error.

func (IBCModule) OnTimeoutPacket

func (im IBCModule) OnTimeoutPacket(
	_ sdk.Context,
	_ channeltypes.Packet,
	_ sdk.AccAddress,
) error

OnTimeoutPacket implements the IBCModule interface.

Jump to

Keyboard shortcuts

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