common

package
v1.7.9 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleProxy = "proxy"
)

Variables

View Source
var (
	ErrDisableProxyBeforeHeight = sdkerrors.Register(ModuleProxy, 1, "this feature is disable")
)

IBC port sentinel errors

Functions

func MsgNotSupportBeforeHeight

func MsgNotSupportBeforeHeight(msg proto.Message, h int64) error

func NewDisaleProxyMiddleware

func NewDisaleProxyMiddleware() porttypes.Middleware

Types

type DisaleProxyMiddleware

type DisaleProxyMiddleware struct {
}

////

func (*DisaleProxyMiddleware) GetAppVersion

func (d *DisaleProxyMiddleware) GetAppVersion(ctx sdk.Context, portID, channelID string) (string, bool)

func (*DisaleProxyMiddleware) NegotiateAppVersion

func (d *DisaleProxyMiddleware) NegotiateAppVersion(ctx sdk.Context, order channeltypes.Order, connectionID string, portID string, counterparty channeltypes.Counterparty, proposedVersion string) (version string, err error)

func (*DisaleProxyMiddleware) OnAcknowledgementPacket

func (d *DisaleProxyMiddleware) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress) error

func (*DisaleProxyMiddleware) OnChanCloseConfirm

func (d *DisaleProxyMiddleware) OnChanCloseConfirm(ctx sdk.Context, portID, channelID string) error

func (*DisaleProxyMiddleware) OnChanCloseInit

func (d *DisaleProxyMiddleware) OnChanCloseInit(ctx sdk.Context, portID, channelID string) error

func (*DisaleProxyMiddleware) OnChanOpenAck

func (d *DisaleProxyMiddleware) OnChanOpenAck(ctx sdk.Context, portID, channelID string, counterpartyChannelID string, counterpartyVersion string) error

func (*DisaleProxyMiddleware) OnChanOpenConfirm

func (d *DisaleProxyMiddleware) OnChanOpenConfirm(ctx sdk.Context, portID, channelID string) error

func (*DisaleProxyMiddleware) OnChanOpenInit

func (d *DisaleProxyMiddleware) OnChanOpenInit(ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID string, channelID string, channelCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, version string) (string, error)

func (*DisaleProxyMiddleware) OnChanOpenTry

func (d *DisaleProxyMiddleware) OnChanOpenTry(ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID, channelID string, channelCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, version, counterpartyVersion string) (string, error)

func (*DisaleProxyMiddleware) OnRecvPacket

func (*DisaleProxyMiddleware) OnTimeoutPacket

func (d *DisaleProxyMiddleware) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error

func (*DisaleProxyMiddleware) SendPacket

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

func (*DisaleProxyMiddleware) WriteAcknowledgement

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

type Veneus3BaseUpgradeModule

type Veneus3BaseUpgradeModule struct {
	*base.BaseIBCUpgradeModule
}

func (*Veneus3BaseUpgradeModule) CommitFilter

func (v *Veneus3BaseUpgradeModule) CommitFilter() *cosmost.StoreFilter

func (*Veneus3BaseUpgradeModule) PruneFilter

func (v *Veneus3BaseUpgradeModule) PruneFilter() *cosmost.StoreFilter

func (*Veneus3BaseUpgradeModule) UpgradeHeight

func (v *Veneus3BaseUpgradeModule) UpgradeHeight() int64

func (*Veneus3BaseUpgradeModule) VersionFilter

func (v *Veneus3BaseUpgradeModule) VersionFilter() *cosmost.VersionFilter

Jump to

Keyboard shortcuts

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