Documentation ¶
Index ¶
- func ValidateReceiverAddress(packet channeltypes.Packet) error
- type IBCMiddleware
- func (im IBCMiddleware) GetAppVersion(ctx sdk.Context, portID string, channelID string) (string, bool)
- func (im IBCMiddleware) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error
- func (im IBCMiddleware) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
- func (im IBCMiddleware) RevertQuotaUpdate(ctx sdk.Context, packetData []byte) error
- func (im IBCMiddleware) SendPacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI) error
- func (im IBCMiddleware) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateReceiverAddress ¶
func ValidateReceiverAddress(packet channeltypes.Packet) error
Types ¶
type IBCMiddleware ¶
func NewIBCMiddleware ¶
NewIBCMiddleware creates a new IBCMiddlware given the keeper and underlying application
func (IBCMiddleware) GetAppVersion ¶
func (im IBCMiddleware) GetAppVersion(ctx sdk.Context, portID string, channelID string) (string, bool)
GetAppVersion implements types.Middleware
func (IBCMiddleware) OnAcknowledgementPacket ¶
func (im IBCMiddleware) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress, ) error
OnAcknowledgementPacket implements types.Middleware
func (IBCMiddleware) OnTimeoutPacket ¶
func (im IBCMiddleware) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
OnTimeoutPacket implements types.Middleware
func (IBCMiddleware) RevertQuotaUpdate ¶
func (im IBCMiddleware) RevertQuotaUpdate( ctx sdk.Context, packetData []byte, ) error
RevertQuotaUpdate Notifies the contract that a sent packet wasn't properly received
func (IBCMiddleware) SendPacket ¶
func (im IBCMiddleware) SendPacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ) error
SendPacket implements types.Middleware
func (IBCMiddleware) WriteAcknowledgement ¶
func (im IBCMiddleware) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ack exported.Acknowledgement, ) error
WriteAcknowledgement implements types.Middleware
Click to show internal directories.
Click to hide internal directories.