keeper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 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
	PacketKeeper  packetkeeper.Keeper
	RoutingKeeper routingkeeper.Keeper
	// contains filtered or unexported fields
}

Keeper defines each keeper for XIBC

func NewKeeper

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

NewKeeper creates a new xibc Keeper

func (Keeper) Acknowledgement

Acknowledgement defines a rpc handler method for MsgAcknowledgement.

func (Keeper) ClientState

ClientState implements the XIBC QueryServer interface

func (Keeper) ClientStates

ClientStates implements the XIBC QueryServer interface

func (Keeper) Codec

func (k Keeper) Codec() codec.BinaryCodec

Codec returns the XIBC module codec.

func (Keeper) ConsensusState

ConsensusState implements the XIBC QueryServer interface

func (Keeper) ConsensusStates

ConsensusStates implements the XIBC QueryServer interface

func (Keeper) PacketAcknowledgement

PacketAcknowledgement implements the XIBC QueryServer interface

func (Keeper) PacketAcknowledgements

PacketAcknowledgements implements the XIBC QueryServer interface

func (Keeper) PacketCommitment

PacketCommitment implements the XIBC QueryServer interface

func (Keeper) PacketCommitments

PacketCommitments implements the XIBC QueryServer interface

func (Keeper) PacketReceipt

PacketReceipt implements the XIBC QueryServer interface

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 XIBC Keeper and seals it. The method panics if there is an existing router that's already sealed.

func (Keeper) UnreceivedAcks

UnreceivedAcks implements the XIBC QueryServer interface

func (Keeper) UnreceivedPackets

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