keeper

package
v10.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryServer

func NewQueryServer(k *Keeper) types.QueryServer

NewQueryServer returns a new 02-client/v2 types.QueryServer implementation.

Types

type Keeper

type Keeper struct {
	ClientV1Keeper *clientv1keeper.Keeper
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	clientV1Keeper *clientv1keeper.Keeper,
) *Keeper

NewKeeper creates a new client v2 keeper

func (*Keeper) GetClientCounterparty

func (k *Keeper) GetClientCounterparty(ctx sdk.Context, clientID string) (types.CounterpartyInfo, bool)

GetClientCounterparty gets counterpartyInfo for a given clientID

func (*Keeper) GetConfig added in v10.1.0

func (k *Keeper) GetConfig(ctx sdk.Context, clientID string) types.Config

GetConfig returns the ibc-client v2 configuration for the given clientID.

func (*Keeper) SetClientCounterparty

func (k *Keeper) SetClientCounterparty(ctx sdk.Context, clientID string, counterparty types.CounterpartyInfo)

SetClientCounterparty sets counterpartyInfo for a given clientID

func (*Keeper) SetConfig added in v10.1.0

func (k *Keeper) SetConfig(ctx sdk.Context, clientID string, config types.Config)

SetConfig sets ibc-client v2 configuration for the given clientID.

Jump to

Keyboard shortcuts

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