Documentation
¶
Index ¶
- func NewQueryServer(k *Keeper) types.QueryServer
- type Keeper
- func (k *Keeper) GetClientCounterparty(ctx sdk.Context, clientID string) (types.CounterpartyInfo, bool)
- func (k *Keeper) GetConfig(ctx sdk.Context, clientID string) types.Config
- func (k *Keeper) SetClientCounterparty(ctx sdk.Context, clientID string, counterparty types.CounterpartyInfo)
- func (k *Keeper) SetConfig(ctx sdk.Context, clientID string, config types.Config)
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
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
Click to show internal directories.
Click to hide internal directories.