keeper

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 14 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl added in v0.5.0

func NewMsgServerImpl(keeper Keeper) coretypes.MsgServer

NewMsgServerImpl returns an implementation of the mint MsgServer interface for the provided Keeper.

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 storetypes.StoreKey,
	stakingKeeper clienttypes.StakingKeeper,
	authority string,
) *Keeper

NewKeeper creates a new tibc Keeper

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

Jump to

Keyboard shortcuts

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