Versions in this module Expand all Collapse all v0 v0.43.1 Oct 28, 2021 Changes in this version + type Keeper struct + func NewKeeper(cdc codec.BinaryMarshaler, key sdk.StoreKey, paramSpace paramtypes.Subspace, ...) Keeper + func (k Keeper) CheckMisbehaviourAndUpdateState(ctx sdk.Context, misbehaviour exported.Misbehaviour) error + func (k Keeper) ClientStore(ctx sdk.Context, clientID string) sdk.KVStore + func (k Keeper) ClientUpdateProposal(ctx sdk.Context, p *types.ClientUpdateProposal) error + func (k Keeper) CreateClient(ctx sdk.Context, clientState exported.ClientState, ...) (string, error) + func (k Keeper) GenerateClientIdentifier(ctx sdk.Context, clientType string) string + func (k Keeper) GetAllClientMetadata(ctx sdk.Context, genClients []types.IdentifiedClientState) ([]types.IdentifiedGenesisMetadata, error) + func (k Keeper) GetAllClients(ctx sdk.Context) (states []exported.ClientState) + func (k Keeper) GetAllConsensusStates(ctx sdk.Context) types.ClientsConsensusStates + func (k Keeper) GetAllGenesisClients(ctx sdk.Context) types.IdentifiedClientStates + func (k Keeper) GetAllowedClients(ctx sdk.Context) []string + func (k Keeper) GetClientConsensusState(ctx sdk.Context, clientID string, height exported.Height) (exported.ConsensusState, bool) + func (k Keeper) GetClientState(ctx sdk.Context, clientID string) (exported.ClientState, bool) + func (k Keeper) GetLatestClientConsensusState(ctx sdk.Context, clientID string) (exported.ConsensusState, bool) + func (k Keeper) GetNextClientSequence(ctx sdk.Context) uint64 + func (k Keeper) GetParams(ctx sdk.Context) types.Params + func (k Keeper) GetSelfConsensusState(ctx sdk.Context, height exported.Height) (exported.ConsensusState, bool) + func (k Keeper) HasClientConsensusState(ctx sdk.Context, clientID string, height exported.Height) bool + func (k Keeper) IterateClients(ctx sdk.Context, cb func(clientID string, cs exported.ClientState) bool) + func (k Keeper) IterateConsensusStates(ctx sdk.Context, ...) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) MustMarshalClientState(clientState exported.ClientState) []byte + func (k Keeper) MustMarshalConsensusState(consensusState exported.ConsensusState) []byte + func (k Keeper) MustUnmarshalClientState(bz []byte) exported.ClientState + func (k Keeper) MustUnmarshalConsensusState(bz []byte) exported.ConsensusState + func (k Keeper) SetAllClientMetadata(ctx sdk.Context, genMetadata []types.IdentifiedGenesisMetadata) + func (k Keeper) SetClientConsensusState(ctx sdk.Context, clientID string, height exported.Height, ...) + func (k Keeper) SetClientState(ctx sdk.Context, clientID string, clientState exported.ClientState) + func (k Keeper) SetNextClientSequence(ctx sdk.Context, sequence uint64) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) UnmarshalClientState(bz []byte) (exported.ClientState, error) + func (k Keeper) UnmarshalConsensusState(bz []byte) (exported.ConsensusState, error) + func (k Keeper) UpdateClient(ctx sdk.Context, clientID string, header exported.Header) error + func (k Keeper) UpgradeClient(ctx sdk.Context, clientID string, upgradedClient exported.ClientState, ...) error + func (k Keeper) ValidateSelfClient(ctx sdk.Context, clientState exported.ClientState) error + func (q Keeper) ClientParams(c context.Context, _ *types.QueryClientParamsRequest) (*types.QueryClientParamsResponse, error) + func (q Keeper) ClientState(c context.Context, req *types.QueryClientStateRequest) (*types.QueryClientStateResponse, error) + func (q Keeper) ClientStates(c context.Context, req *types.QueryClientStatesRequest) (*types.QueryClientStatesResponse, error) + func (q Keeper) ConsensusState(c context.Context, req *types.QueryConsensusStateRequest) (*types.QueryConsensusStateResponse, error) + func (q Keeper) ConsensusStates(c context.Context, req *types.QueryConsensusStatesRequest) (*types.QueryConsensusStatesResponse, error)