ibctransfer

package
v0.0.0-...-def7031 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 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 AppModule

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

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

func NewAppModule

func NewAppModule(am ibctransfer.AppModule, k keeper.Keeper) AppModule

func (AppModule) OnRecvPacket

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

OnRecvPacket delegates the OnRecvPacket call to the embedded ICS-20 transfer AppModule 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