transfer

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 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 TransferModule

type TransferModule struct {
	transfer.AppModule

	TKeeper keeper.Keeper
}

func TNewTransferModule

func TNewTransferModule(k keeper.Keeper, m *codec.CodecProxy) *TransferModule

func (TransferModule) DefaultGenesis

func (am TransferModule) DefaultGenesis() json.RawMessage

DefaultGenesis returns default genesis state as raw bytes for the ibc transfer module.

func (TransferModule) ExportGenesis

func (am TransferModule) ExportGenesis(ctx sdk.Context) json.RawMessage

ExportGenesis returns the exported genesis state as raw bytes for the ibc-transfer module.

func (TransferModule) GetAppVersion

func (am TransferModule) GetAppVersion(ctx sdk.Context, portID, channelID string) (string, bool)

func (TransferModule) InitGenesis

func (am TransferModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate

func (TransferModule) SendPacket

func (am TransferModule) SendPacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI) error

func (TransferModule) ValidateGenesis

func (t TransferModule) ValidateGenesis(data json.RawMessage) error

ValidateGenesis performs genesis state validation for the mint module.

func (TransferModule) WriteAcknowledgement

func (am TransferModule) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ack exported.Acknowledgement) error

Jump to

Keyboard shortcuts

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