keeper

package
v0.40.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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(
	cdc codec.BinaryMarshaler, 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) ChannelClientState

ChannelClientState implements the IBC QueryServer interface

func (Keeper) ChannelConsensusState

ChannelConsensusState 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) ClientState

ClientState implements the IBC QueryServer interface

func (Keeper) ClientStates

ClientStates implements the IBC QueryServer interface

func (Keeper) Codec

func (k Keeper) Codec() codec.BinaryMarshaler

Codec 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) ConnectionClientState

ConnectionClientState implements the IBC QueryServer interface

func (Keeper) ConnectionConsensusState

ConnectionConsensusState implements the IBC QueryServer interface

func (Keeper) Connections

Connections implements the IBC QueryServer interface

func (Keeper) ConsensusState

ConsensusState implements the IBC QueryServer interface

func (Keeper) ConsensusStates

ConsensusStates 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) UnreceivedPackets

UnreceivedPackets implements the IBC QueryServer interface

func (Keeper) UnrelayedAcks

UnrelayedAcks implements the IBC QueryServer interface

Jump to

Keyboard shortcuts

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