Documentation ¶
Index ¶
- type Module
- func (im Module) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error
- func (im Module) OnChanCloseConfirm(ctx sdk.Context, portID, channelID string) error
- func (im Module) OnChanCloseInit(ctx sdk.Context, portID, channelID string) error
- func (im Module) OnChanOpenAck(ctx sdk.Context, ...) error
- func (im Module) OnChanOpenConfirm(ctx sdk.Context, portID, channelID string) error
- func (im Module) OnChanOpenInit(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (string, error)
- func (im Module) OnChanOpenTry(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (version string, err error)
- func (im Module) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) exported.Acknowledgement
- func (im Module) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module a concrete type for a module boilerplate.
func (Module) OnAcknowledgementPacket ¶
func (im Module) OnAcknowledgementPacket( ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress, ) error
OnAcknowledgementPacket implements the Module interface. It calls the underlying app's OnAcknowledgementPacket callback.
func (Module) OnChanCloseConfirm ¶
OnChanCloseConfirm implements the Module interface. It calls the underlying app's OnChanCloseConfirm callback.
func (Module) OnChanCloseInit ¶
OnChanCloseInit implements the Module interface It calls the underlying app's OnChanCloseInit callback.
func (Module) OnChanOpenAck ¶
func (im Module) OnChanOpenAck( ctx sdk.Context, portID, channelID, counterpartyChannelID, counterpartyVersion string, ) error
OnChanOpenAck implements the Module interface. It calls the underlying app's OnChanOpenAck callback.
func (Module) OnChanOpenConfirm ¶
OnChanOpenConfirm implements the Module interface. It calls the underlying app's OnChanOpenConfirm callback.
func (Module) OnChanOpenInit ¶
func (im Module) OnChanOpenInit( ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID string, channelID string, chanCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, version string, ) (string, error)
OnChanOpenInit implements the Module interface It calls the underlying app's OnChanOpenInit callback.
func (Module) OnChanOpenTry ¶
func (im Module) OnChanOpenTry( ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID, channelID string, chanCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, counterpartyVersion string, ) (version string, err error)
OnChanOpenTry implements the Module interface. It calls the underlying app's OnChanOpenTry callback.
func (Module) OnRecvPacket ¶
func (im Module) OnRecvPacket( ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, ) exported.Acknowledgement
OnRecvPacket implements the Module interface. It calls the underlying app's OnRecvPacket callback.
func (Module) OnTimeoutPacket ¶
func (im Module) OnTimeoutPacket( ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, ) error
OnTimeoutPacket implements the Module interface. It calls the underlying app's OnTimeoutPacket callback.
Directories ¶
Path | Synopsis |
---|---|
applications
|
|
transfer/types
Package types is a reverse proxy.
|
Package types is a reverse proxy. |