Versions in this module Expand all Collapse all v1 v1.0.0 May 14, 2020 Changes in this version + func QuerierChannels(ctx sdk.Context, req abci.RequestQuery, k Keeper) ([]byte, error) + func QuerierConnectionChannels(ctx sdk.Context, req abci.RequestQuery, k Keeper) ([]byte, error) + type Keeper struct + func NewKeeper(cdc codec.Marshaler, key sdk.StoreKey, clientKeeper types.ClientKeeper, ...) Keeper + func (k Keeper) AcknowledgePacket(ctx sdk.Context, packet exported.PacketI, acknowledgement []byte, ...) (exported.PacketI, error) + func (k Keeper) ChanCloseConfirm(ctx sdk.Context, portID, channelID string, chanCap *capability.Capability, ...) error + func (k Keeper) ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capability.Capability) error + func (k Keeper) ChanOpenAck(ctx sdk.Context, portID, channelID string, chanCap *capability.Capability, ...) error + func (k Keeper) ChanOpenConfirm(ctx sdk.Context, portID, channelID string, chanCap *capability.Capability, ...) error + func (k Keeper) ChanOpenInit(ctx sdk.Context, order types.Order, connectionHops []string, ...) (*capability.Capability, error) + func (k Keeper) ChanOpenTry(ctx sdk.Context, order types.Order, connectionHops []string, ...) (*capability.Capability, error) + func (k Keeper) CleanupPacket(ctx sdk.Context, packet exported.PacketI, proof commitmentexported.Proof, ...) (exported.PacketI, error) + func (k Keeper) CounterpartyHops(ctx sdk.Context, ch types.Channel) ([]string, bool) + func (k Keeper) GetAllChannels(ctx sdk.Context) (channels []types.IdentifiedChannel) + func (k Keeper) GetAllPacketAcks(ctx sdk.Context) (acks []types.PacketAckCommitment) + func (k Keeper) GetAllPacketCommitments(ctx sdk.Context) (commitments []types.PacketAckCommitment) + func (k Keeper) GetAllPacketRecvSeqs(ctx sdk.Context) (seqs []types.PacketSequence) + func (k Keeper) GetAllPacketSendSeqs(ctx sdk.Context) (seqs []types.PacketSequence) + func (k Keeper) GetChannel(ctx sdk.Context, portID, channelID string) (types.Channel, 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) 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) IteratePacketSequence(ctx sdk.Context, send bool, ...) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) LookupModuleByChannel(ctx sdk.Context, portID, channelID string) (string, *capability.Capability, error) + func (k Keeper) PacketExecuted(ctx sdk.Context, chanCap *capability.Capability, packet exported.PacketI, ...) error + func (k Keeper) RecvPacket(ctx sdk.Context, packet exported.PacketI, proof commitmentexported.Proof, ...) (exported.PacketI, error) + func (k Keeper) SendPacket(ctx sdk.Context, channelCap *capability.Capability, packet exported.PacketI) error + func (k Keeper) SetChannel(ctx sdk.Context, portID, channelID string, channel types.Channel) + 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) TimeoutExecuted(ctx sdk.Context, chanCap *capability.Capability, packet exported.PacketI) error + func (k Keeper) TimeoutOnClose(ctx sdk.Context, packet types.Packet, ...) (exported.PacketI, error) + func (k Keeper) TimeoutPacket(ctx sdk.Context, packet exported.PacketI, proof commitmentexported.Proof, ...) (exported.PacketI, error) v1.0.0-playground Jul 8, 2020