Versions in this module Expand all Collapse all v8 v8.8.8 Jul 11, 2024 Changes in this version + func EmitChannelUpgradeAckEvent(ctx sdk.Context, portID string, channelID string, channel types.Channel, ...) + func EmitChannelUpgradeCancelEvent(ctx sdk.Context, portID string, channelID string, channel types.Channel, ...) + func EmitChannelUpgradeConfirmEvent(ctx sdk.Context, portID, channelID string, channel types.Channel) + func EmitChannelUpgradeInitEvent(ctx sdk.Context, portID string, channelID string, channel types.Channel, ...) + func EmitChannelUpgradeOpenEvent(ctx sdk.Context, portID string, channelID string, channel types.Channel) + func EmitChannelUpgradeTimeoutEvent(ctx sdk.Context, portID string, channelID string, channel types.Channel, ...) + func EmitChannelUpgradeTryEvent(ctx sdk.Context, portID string, channelID string, channel types.Channel, ...) + func EmitErrorReceiptEvent(ctx sdk.Context, portID string, channelID string, channel types.Channel, ...) + func NewQueryServer(k *Keeper) types.QueryServer + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey, ...) *Keeper + func (Keeper) IteratePacketSequence(ctx sdk.Context, iterator db.Iterator, ...) + func (Keeper) Logger(ctx sdk.Context) log.Logger + func (k *Keeper) AcknowledgePacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet types.Packet, ...) error + func (k *Keeper) ChanCloseConfirm(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability, ...) error + func (k *Keeper) ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error + func (k *Keeper) ChanOpenAck(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability, ...) error + func (k *Keeper) ChanOpenConfirm(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability, ...) error + func (k *Keeper) ChanOpenInit(ctx sdk.Context, order types.Order, connectionHops []string, portID string, ...) (string, *capabilitytypes.Capability, error) + func (k *Keeper) ChanOpenTry(ctx sdk.Context, order types.Order, connectionHops []string, portID string, ...) (string, *capabilitytypes.Capability, error) + func (k *Keeper) ChanUpgradeAck(ctx sdk.Context, portID, channelID string, counterpartyUpgrade types.Upgrade, ...) error + func (k *Keeper) ChanUpgradeCancel(ctx sdk.Context, portID, channelID string, errorReceipt types.ErrorReceipt, ...) error + func (k *Keeper) ChanUpgradeConfirm(ctx sdk.Context, portID, channelID string, ...) error + func (k *Keeper) ChanUpgradeInit(ctx sdk.Context, portID string, channelID string, ...) (types.Upgrade, error) + func (k *Keeper) ChanUpgradeOpen(ctx sdk.Context, portID, channelID string, ...) error + func (k *Keeper) ChanUpgradeTimeout(ctx sdk.Context, portID, channelID string, counterpartyChannel types.Channel, ...) error + func (k *Keeper) ChanUpgradeTry(ctx sdk.Context, portID, channelID string, proposedConnectionHops []string, ...) (types.Channel, types.Upgrade, error) + func (k *Keeper) GenerateChannelIdentifier(ctx sdk.Context) string + func (k *Keeper) GetAllChannels(ctx sdk.Context) (channels []types.IdentifiedChannel) + func (k *Keeper) GetAllChannelsWithPortPrefix(ctx sdk.Context, portPrefix string) []types.IdentifiedChannel + func (k *Keeper) GetAllPacketAckSeqs(ctx sdk.Context) (seqs []types.PacketSequence) + func (k *Keeper) GetAllPacketAcks(ctx sdk.Context) (acks []types.PacketState) + func (k *Keeper) GetAllPacketCommitments(ctx sdk.Context) (commitments []types.PacketState) + func (k *Keeper) GetAllPacketCommitmentsAtChannel(ctx sdk.Context, portID, channelID string) (commitments []types.PacketState) + func (k *Keeper) GetAllPacketReceipts(ctx sdk.Context) (receipts []types.PacketState) + func (k *Keeper) GetAllPacketRecvSeqs(ctx sdk.Context) (seqs []types.PacketSequence) + func (k *Keeper) GetAllPacketSendSeqs(ctx sdk.Context) (seqs []types.PacketSequence) + func (k *Keeper) GetAppVersion(ctx sdk.Context, portID, channelID string) (string, bool) + func (k *Keeper) GetChannel(ctx sdk.Context, portID, channelID string) (types.Channel, bool) + func (k *Keeper) GetChannelClientState(ctx sdk.Context, portID, channelID string) (string, exported.ClientState, error) + func (k *Keeper) GetChannelConnection(ctx sdk.Context, portID, channelID string) (string, connectiontypes.ConnectionEnd, error) + func (k *Keeper) GetConnection(ctx sdk.Context, connectionID string) (connectiontypes.ConnectionEnd, error) + func (k *Keeper) GetCounterpartyUpgrade(ctx sdk.Context, portID, channelID string) (types.Upgrade, bool) + func (k *Keeper) GetNextChannelSequence(ctx sdk.Context) uint64 + func (k *Keeper) GetNextSequenceAck(ctx sdk.Context, portID, channelID string) (uint64, bool) + func (k *Keeper) GetNextSequenceRecv(ctx sdk.Context, portID, channelID string) (uint64, bool) + func (k *Keeper) GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool) + func (k *Keeper) GetPacketAcknowledgement(ctx sdk.Context, portID, channelID string, sequence uint64) ([]byte, bool) + func (k *Keeper) GetPacketCommitment(ctx sdk.Context, portID, channelID string, sequence uint64) []byte + func (k *Keeper) GetPacketReceipt(ctx sdk.Context, portID, channelID string, sequence uint64) (string, bool) + func (k *Keeper) GetParams(ctx sdk.Context) types.Params + func (k *Keeper) GetPruningSequenceStart(ctx sdk.Context, portID, channelID string) (uint64, bool) + func (k *Keeper) GetRecvStartSequence(ctx sdk.Context, portID, channelID string) (uint64, bool) + func (k *Keeper) GetUpgrade(ctx sdk.Context, portID, channelID string) (types.Upgrade, bool) + func (k *Keeper) GetUpgradeErrorReceipt(ctx sdk.Context, portID, channelID string) (types.ErrorReceipt, bool) + func (k *Keeper) HasChannel(ctx sdk.Context, portID, channelID string) bool + func (k *Keeper) HasInflightPackets(ctx sdk.Context, portID, channelID string) bool + func (k *Keeper) HasPacketAcknowledgement(ctx sdk.Context, portID, channelID string, sequence uint64) bool + func (k *Keeper) HasPacketCommitment(ctx sdk.Context, portID, channelID string, sequence uint64) bool + func (k *Keeper) HasPruningSequenceStart(ctx sdk.Context, portID, channelID string) bool + func (k *Keeper) IterateChannels(ctx sdk.Context, cb func(types.IdentifiedChannel) bool) + func (k *Keeper) IteratePacketAcknowledgement(ctx sdk.Context, ...) + func (k *Keeper) IteratePacketCommitment(ctx sdk.Context, ...) + func (k *Keeper) IteratePacketCommitmentAtChannel(ctx sdk.Context, portID, channelID string, ...) + func (k *Keeper) IteratePacketReceipt(ctx sdk.Context, ...) + func (k *Keeper) LookupModuleByChannel(ctx sdk.Context, portID, channelID string) (string, *capabilitytypes.Capability, error) + func (k *Keeper) MustAbortUpgrade(ctx sdk.Context, portID, channelID string, err error) + func (k *Keeper) PruneAcknowledgements(ctx sdk.Context, portID, channelID string, limit uint64) (uint64, uint64, error) + func (k *Keeper) RecvPacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet types.Packet, ...) error + func (k *Keeper) RecvPacketReCheckTx(ctx sdk.Context, packet types.Packet) error + func (k *Keeper) SendPacket(ctx sdk.Context, channelCap *capabilitytypes.Capability, sourcePort string, ...) (uint64, error) + func (k *Keeper) SetChannel(ctx sdk.Context, portID, channelID string, channel types.Channel) + func (k *Keeper) SetCounterpartyUpgrade(ctx sdk.Context, portID, channelID string, upgrade types.Upgrade) + func (k *Keeper) SetNextChannelSequence(ctx sdk.Context, sequence uint64) + func (k *Keeper) SetNextSequenceAck(ctx sdk.Context, portID, channelID string, sequence uint64) + func (k *Keeper) SetNextSequenceRecv(ctx sdk.Context, portID, channelID string, sequence uint64) + func (k *Keeper) SetNextSequenceSend(ctx sdk.Context, portID, channelID string, sequence uint64) + func (k *Keeper) SetPacketAcknowledgement(ctx sdk.Context, portID, channelID string, sequence uint64, ackHash []byte) + func (k *Keeper) SetPacketCommitment(ctx sdk.Context, portID, channelID string, sequence uint64, ...) + func (k *Keeper) SetPacketReceipt(ctx sdk.Context, portID, channelID string, sequence uint64) + func (k *Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k *Keeper) SetPruningSequenceStart(ctx sdk.Context, portID, channelID string, sequence uint64) + func (k *Keeper) SetUpgrade(ctx sdk.Context, portID, channelID string, upgrade types.Upgrade) + func (k *Keeper) TimeoutExecuted(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet types.Packet) error + func (k *Keeper) TimeoutOnClose(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet types.Packet, ...) error + func (k *Keeper) TimeoutPacket(ctx sdk.Context, packet types.Packet, proof []byte, ...) error + func (k *Keeper) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ...) error + func (k *Keeper) WriteErrorReceipt(ctx sdk.Context, portID, channelID string, upgradeError *types.UpgradeError) + func (k *Keeper) WriteOpenAckChannel(ctx sdk.Context, ...) + func (k *Keeper) WriteOpenConfirmChannel(ctx sdk.Context, portID, channelID string) + func (k *Keeper) WriteOpenInitChannel(ctx sdk.Context, portID, channelID string, order types.Order, ...) + func (k *Keeper) WriteOpenTryChannel(ctx sdk.Context, portID, channelID string, order types.Order, ...) + func (k *Keeper) WriteUpgradeAckChannel(ctx sdk.Context, portID, channelID string, counterpartyUpgrade types.Upgrade) (types.Channel, types.Upgrade) + func (k *Keeper) WriteUpgradeCancelChannel(ctx sdk.Context, portID, channelID string, sequence uint64) + func (k *Keeper) WriteUpgradeConfirmChannel(ctx sdk.Context, portID, channelID string, counterpartyUpgrade types.Upgrade) types.Channel + func (k *Keeper) WriteUpgradeInitChannel(ctx sdk.Context, portID, channelID string, upgrade types.Upgrade, ...) (types.Channel, types.Upgrade) + func (k *Keeper) WriteUpgradeOpenChannel(ctx sdk.Context, portID, channelID string) types.Channel + func (k *Keeper) WriteUpgradeTimeoutChannel(ctx sdk.Context, portID, channelID string) (types.Channel, types.Upgrade) + func (k *Keeper) WriteUpgradeTryChannel(ctx sdk.Context, portID, channelID string, upgrade types.Upgrade, ...) (types.Channel, types.Upgrade) + type Migrator struct + func NewMigrator(keeper *Keeper) Migrator + func (m Migrator) MigrateParams(ctx sdk.Context) error Other modules containing this package github.com/h1uf/ibc-go/v9