middleware

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBCConversionModule

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

IBCConversionModule implements the ICS26 interface.

func NewIBCConversionModule

func NewIBCConversionModule(app porttypes.IBCModule, ck cronoskeeper.Keeper) IBCConversionModule

NewIBCConversionModule creates a new IBCModule given the keeper and underlying application

func (IBCConversionModule) OnAcknowledgementPacket

func (im IBCConversionModule) OnAcknowledgementPacket(
	ctx sdk.Context,
	channelVersion string,
	packet channeltypes.Packet,
	acknowledgement []byte,
	relayer sdk.AccAddress,
) error

OnAcknowledgementPacket implements the IBCModule interface

func (IBCConversionModule) OnChanCloseConfirm

func (im IBCConversionModule) OnChanCloseConfirm(
	ctx sdk.Context,
	portID,
	channelID string,
) error

OnChanCloseConfirm implements the IBCModule interface

func (IBCConversionModule) OnChanCloseInit

func (im IBCConversionModule) OnChanCloseInit(
	ctx sdk.Context,
	portID,
	channelID string,
) error

OnChanCloseInit implements the IBCModule interface

func (IBCConversionModule) OnChanOpenAck

func (im IBCConversionModule) OnChanOpenAck(
	ctx sdk.Context,
	portID,
	channelID string,
	counterpartyChannelID string,
	counterpartyVersion string,
) error

OnChanOpenAck implements the IBCModule interface

func (IBCConversionModule) OnChanOpenConfirm

func (im IBCConversionModule) OnChanOpenConfirm(
	ctx sdk.Context,
	portID,
	channelID string,
) error

OnChanOpenConfirm implements the IBCModule interface

func (IBCConversionModule) OnChanOpenInit

func (im IBCConversionModule) OnChanOpenInit(
	ctx sdk.Context,
	order channeltypes.Order,
	connectionHops []string,
	portID string,
	channelID string,
	counterparty channeltypes.Counterparty,
	version string,
) (string, error)

OnChanOpenInit implements the IBCModule interface

func (IBCConversionModule) OnChanOpenTry

func (im IBCConversionModule) OnChanOpenTry(
	ctx sdk.Context,
	order channeltypes.Order,
	connectionHops []string,
	portID,
	channelID string,
	counterparty channeltypes.Counterparty,
	counterpartyVersion string,
) (string, error)

func (IBCConversionModule) OnRecvPacket

func (im IBCConversionModule) OnRecvPacket(
	ctx sdk.Context,
	channelVersion string,
	packet channeltypes.Packet,
	relayer sdk.AccAddress,
) exported.Acknowledgement

OnRecvPacket implements the IBCModule interface.

func (IBCConversionModule) OnTimeoutPacket

func (im IBCConversionModule) OnTimeoutPacket(
	ctx sdk.Context,
	channelVersion string,
	packet channeltypes.Packet,
	relayer sdk.AccAddress,
) error

OnTimeoutPacket implements the IBCModule interface

func (IBCConversionModule) SetICS4Wrapper added in v1.8.0

func (im IBCConversionModule) SetICS4Wrapper(wrapper porttypes.ICS4Wrapper)

SetICS4Wrapper implements porttypes.IBCModule.SetICS4Wrapper (required by ibc-go v11). IBCConversionModule does NOT implement porttypes.Middleware: it omits ICS4Wrapper embedding and SetUnderlyingApplication, so it is incompatible with IBCStackBuilder.Next which expects a full Middleware. This method only forwards the wrapper to the underlying app; callers that need full Middleware semantics must use a type that satisfies that interface.

Jump to

Keyboard shortcuts

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