keeper

package
v0.0.0-...-7c30539 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(k Keeper) sdk.Querier

NewQuerier creates a querier for the IBC module

Types

type Keeper

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

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

NewKeeper creates a new ibc Keeper

func (Keeper) Channel

Channel implements the IBC QueryServer interface

func (Keeper) Channels

Channels implements the IBC QueryServer interface

func (Keeper) ClientConnections

ClientConnections implements the IBC QueryServer interface

func (Keeper) Codecs

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

Codecs returns the IBC module codec.

func (Keeper) Connection

Connection implements the IBC QueryServer interface

func (Keeper) ConnectionChannels

ConnectionChannels implements the IBC QueryServer interface

func (Keeper) Connections

Connections implements the IBC QueryServer interface

func (Keeper) NextSequenceReceive

NextSequenceReceive implements the IBC QueryServer interface

func (Keeper) PacketAcknowledgement

PacketAcknowledgement implements the IBC QueryServer interface

func (Keeper) PacketCommitment

PacketCommitment implements the IBC QueryServer interface

func (Keeper) PacketCommitments

PacketCommitments implements the IBC QueryServer interface

func (*Keeper) SetRouter

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

UnrelayedPackets implements the IBC QueryServer interface

Jump to

Keyboard shortcuts

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