keeper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 15 Imported by: 23

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
	Packetkeeper  packetkeeper.Keeper
	RoutingKeeper routingkeeper.Keeper
	// contains filtered or unexported fields
}

Keeper defines each ICS keeper for IBC

func NewKeeper

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

NewKeeper creates a new ibc Keeper

func (Keeper) Acknowledgement

Acknowledgement defines a rpc handler method for MsgAcknowledgement.

func (Keeper) CleanPacket

Acknowledgement defines a rpc handler method for MsgAcknowledgement.

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) 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) PacketAcknowledgements

PacketAcknowledgements 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) PacketReceipt

PacketReceipt implements the IBC QueryServer interface

func (Keeper) RecvCleanPacket

Acknowledgement defines a rpc handler method for MsgAcknowledgement.

func (Keeper) RecvPacket

RecvPacket defines a rpc handler method for MsgRecvPacket.

func (*Keeper) SetRouter

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

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

func (Keeper) UnreceivedAcks

UnreceivedAcks implements the IBC QueryServer interface

func (Keeper) UnreceivedPackets

UnreceivedPackets implements the IBC QueryServer interface

func (Keeper) UpdateClient

UpdateClient defines a rpc handler method for MsgUpdateClient.

Jump to

Keyboard shortcuts

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