transfer

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppModule

type AppModule struct {
	transfer.AppModule
	// contains filtered or unexported fields
}

func NewAppModule

NewAppModule creates a new 20-transfer module

func (AppModule) IsAppModule added in v1.1.0

func (am AppModule) IsAppModule()

IsAppModule implements the appmodule.AppModule interface.

func (AppModule) IsOnePerModuleType added in v1.1.0

func (am AppModule) IsOnePerModuleType()

IsOnePerModuleType implements the depinject.OnePerModuleType interface.

func (AppModule) Name added in v0.2.0

func (am AppModule) Name() string

Name returns the capability module's name.

func (AppModule) RegisterServices

func (am AppModule) RegisterServices(cfg module.Configurator)

RegisterServices registers module services.

type AppModuleBasic added in v0.1.0

type AppModuleBasic struct {
	transfer.AppModuleBasic
}

func NewAppModuleBasic added in v0.1.0

func NewAppModuleBasic() AppModuleBasic

func (AppModuleBasic) RegisterCodec added in v0.1.0

func (AppModuleBasic) RegisterCodec(cdc *codec.LegacyAmino)

func (AppModuleBasic) RegisterInterfaces added in v0.1.0

func (am AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry)

RegisterInterfaces registers the module's interface types

func (AppModuleBasic) RegisterLegacyAminoCodec added in v0.1.0

func (am AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

type IBCModule

type IBCModule struct {
	transfer.IBCModule
	// contains filtered or unexported fields
}

func NewIBCModule

NewIBCModule creates a new IBCModule given the keeper

func (IBCModule) HandleAcknowledgement

func (im IBCModule) HandleAcknowledgement(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress) error

HandleAcknowledgement passes the acknowledgement data to the appropriate contract via a sudo call.

func (IBCModule) HandleTimeout

func (im IBCModule) HandleTimeout(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error

HandleTimeout passes the timeout data to the appropriate contract via a sudo call.

func (IBCModule) OnAcknowledgementPacket

func (im IBCModule) OnAcknowledgementPacket(
	ctx sdk.Context,
	packet channeltypes.Packet,
	acknowledgement []byte,
	relayer sdk.AccAddress,
) error

OnAcknowledgementPacket implements the IBCModule interface. Wrapper struct shadows(overrides) the OnAcknowledgementPacket method to achieve the package's purpose.

func (IBCModule) OnTimeoutPacket

func (im IBCModule) OnTimeoutPacket(
	ctx sdk.Context,
	packet channeltypes.Packet,
	relayer sdk.AccAddress,
) error

OnTimeoutPacket implements the IBCModule interface.

Directories

Path Synopsis
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

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