ics20

package
v4.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 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