cosmos-explorer/packages/codegen/dist/ibc/lightclients/localhost/v1/localhost.d.ts
2023-03-02 13:21:24 +08:00

27 lines
898 B
TypeScript

import { Height, HeightSDKType } from "../../../core/client/v1/client";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../../helpers";
/**
* ClientState defines a loopback (localhost) client. It requires (read-only)
* access to keys outside the client prefix.
*/
export interface ClientState {
/** self chain ID */
chainId: string;
/** self latest block height */
height?: Height;
}
/**
* ClientState defines a loopback (localhost) client. It requires (read-only)
* access to keys outside the client prefix.
*/
export interface ClientStateSDKType {
chain_id: string;
height?: HeightSDKType;
}
export declare const ClientState: {
encode(message: ClientState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ClientState;
fromPartial(object: DeepPartial<ClientState>): ClientState;
};