hooks

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBCHooks

type IBCHooks struct {
	*keeper.Keeper
}

IBCHooks represents the structure that implements the ibc_hooks.OnRecvPacketOverrideHooks interface to execute custom logic when an IBC token transfer packet is received.

func NewIBCHooks

func NewIBCHooks(k *keeper.Keeper) IBCHooks

func (IBCHooks) OnRecvPacketOverride

func (h IBCHooks) OnRecvPacketOverride(
	im ibchooks.IBCMiddleware,
	ctx sdk.Context,
	packet chan4types.Packet,
	relayer sdk.AccAddress,
) exported.Acknowledgement

OnRecvPacketOverride implements ibc_hooks.OnRecvPacketOverrideHooks.

Jump to

Keyboard shortcuts

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