keeper

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 14 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 TICS keeper for TIBC

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec, key sdk.StoreKey, paramSpace paramtypes.Subspace,
	stakingKeeper clienttypes.StakingKeeper,
) *Keeper

NewKeeper creates a new tibc 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) CleanPacketCommitment added in v0.2.0

CleanPacketCommitment implements the TIBC QueryServer interface

func (Keeper) ClientState

ClientState implements the TIBC QueryServer interface

func (Keeper) ClientStates

ClientStates implements the TIBC QueryServer interface

func (Keeper) Codec

func (k Keeper) Codec() codec.BinaryCodec

Codec returns the TIBC module codec.

func (Keeper) ConsensusState

ConsensusState implements the TIBC QueryServer interface

func (Keeper) ConsensusStates

ConsensusStates implements the TIBC QueryServer interface

func (Keeper) PacketAcknowledgement

PacketAcknowledgement implements the TIBC QueryServer interface

func (Keeper) PacketAcknowledgements

PacketAcknowledgements implements the TIBC QueryServer interface

func (Keeper) PacketCommitment

PacketCommitment implements the TIBC QueryServer interface

func (Keeper) PacketCommitments

PacketCommitments implements the TIBC QueryServer interface

func (Keeper) PacketReceipt

PacketReceipt implements the TIBC QueryServer interface

func (Keeper) RecvCleanPacket

RecvCleanPacket defines a rpc handler method for MsgAcknowledgement.

func (Keeper) RecvPacket

RecvPacket defines a rpc handler method for MsgRecvPacket.

func (Keeper) Relayers added in v0.2.0

func (Keeper) RoutingRules added in v0.2.0

RoutingRules implements the TIBC QueryServer interface

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 TIBC QueryServer interface

func (Keeper) UnreceivedPackets

UnreceivedPackets implements the TIBC 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