ibctransfer

package
v3.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBCModule

type IBCModule struct {
	// embed the ICS-20 transfer's AppModule
	ibctransfer.IBCModule
	// contains filtered or unexported fields
}

IBCModule embeds the ICS-20 transfer IBCModule where we only override specific methods.

func NewIBCModule

func NewIBCModule(am ibctransfer.IBCModule, k keeper.Keeper) IBCModule

func (IBCModule) OnRecvPacket

func (am IBCModule) OnRecvPacket(
	ctx sdk.Context,
	packet channeltypes.Packet,
	relayer sdk.AccAddress,
) ibcexported.Acknowledgement

OnRecvPacket delegates the OnRecvPacket call to the embedded ICS-20 transfer IBCModule and updates metadata if successful.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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