cosmos-sdk: github.com/cosmos/cosmos-sdk/x/ibc/keeper Index | Files

package keeper

import "github.com/cosmos/cosmos-sdk/x/ibc/keeper"

Index

Package Files

grpc_query.go keeper.go querier.go

func NewQuerier Uses

func NewQuerier(k Keeper, legacyQuerierCdc codec.JSONMarshaler) sdk.Querier

NewQuerier creates a querier for the IBC module

type Keeper Uses

type Keeper struct {
    // implements gRPC QueryServer interface
    types.QueryServer

    ClientKeeper     clientkeeper.Keeper
    ConnectionKeeper connectionkeeper.Keeper
    ChannelKeeper    channelkeeper.Keeper
    PortKeeper       portkeeper.Keeper
    Router           *porttypes.Router
    // contains filtered or unexported fields
}

Keeper defines each ICS keeper for IBC

func NewKeeper Uses

func NewKeeper(
    aminoCdc *codec.Codec, cdc codec.BinaryMarshaler, key sdk.StoreKey, stakingKeeper clienttypes.StakingKeeper, scopedKeeper capabilitykeeper.ScopedKeeper,
) *Keeper

NewKeeper creates a new ibc Keeper

func (Keeper) Channel Uses

func (q Keeper) Channel(c context.Context, req *channeltypes.QueryChannelRequest) (*channeltypes.QueryChannelResponse, error)

Channel implements the IBC QueryServer interface

func (Keeper) Channels Uses

func (q Keeper) Channels(c context.Context, req *channeltypes.QueryChannelsRequest) (*channeltypes.QueryChannelsResponse, error)

Channels implements the IBC QueryServer interface

func (Keeper) ClientConnections Uses

func (q Keeper) ClientConnections(c context.Context, req *connectiontypes.QueryClientConnectionsRequest) (*connectiontypes.QueryClientConnectionsResponse, error)

ClientConnections implements the IBC QueryServer interface

func (Keeper) Codecs Uses

func (k Keeper) Codecs() (codec.BinaryMarshaler, *codec.Codec)

Codecs returns the IBC module codec.

func (Keeper) Connection Uses

func (q Keeper) Connection(c context.Context, req *connectiontypes.QueryConnectionRequest) (*connectiontypes.QueryConnectionResponse, error)

Connection implements the IBC QueryServer interface

func (Keeper) ConnectionChannels Uses

func (q Keeper) ConnectionChannels(c context.Context, req *channeltypes.QueryConnectionChannelsRequest) (*channeltypes.QueryConnectionChannelsResponse, error)

ConnectionChannels implements the IBC QueryServer interface

func (Keeper) Connections Uses

func (q Keeper) Connections(c context.Context, req *connectiontypes.QueryConnectionsRequest) (*connectiontypes.QueryConnectionsResponse, error)

Connections implements the IBC QueryServer interface

func (Keeper) NextSequenceReceive Uses

func (q Keeper) NextSequenceReceive(c context.Context, req *channeltypes.QueryNextSequenceReceiveRequest) (*channeltypes.QueryNextSequenceReceiveResponse, error)

NextSequenceReceive implements the IBC QueryServer interface

func (Keeper) PacketAcknowledgement Uses

func (q Keeper) PacketAcknowledgement(c context.Context, req *channeltypes.QueryPacketAcknowledgementRequest) (*channeltypes.QueryPacketAcknowledgementResponse, error)

PacketAcknowledgement implements the IBC QueryServer interface

func (Keeper) PacketCommitment Uses

func (q Keeper) PacketCommitment(c context.Context, req *channeltypes.QueryPacketCommitmentRequest) (*channeltypes.QueryPacketCommitmentResponse, error)

PacketCommitment implements the IBC QueryServer interface

func (Keeper) PacketCommitments Uses

func (q Keeper) PacketCommitments(c context.Context, req *channeltypes.QueryPacketCommitmentsRequest) (*channeltypes.QueryPacketCommitmentsResponse, error)

PacketCommitments implements the IBC QueryServer interface

func (*Keeper) SetRouter Uses

func (k *Keeper) SetRouter(rtr *porttypes.Router)

SetRouter sets the Router in IBC Keeper and seals it. The method panics if there is an existing router that's already sealed.

func (Keeper) UnrelayedPackets Uses

func (q Keeper) UnrelayedPackets(c context.Context, req *channeltypes.QueryUnrelayedPacketsRequest) (*channeltypes.QueryUnrelayedPacketsResponse, error)

UnrelayedPackets implements the IBC QueryServer interface

Package keeper imports 15 packages (graph) and is imported by 3 packages. Updated 2020-08-01. Refresh now. Tools for package owners.