import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../../binary"; import { DeepPartial } from "../../../../helpers"; /** * IdentifiedClientState defines a client state with an additional client * identifier field. */ export interface IdentifiedClientState { /** client identifier */ clientId: string; /** client state */ clientState?: Any; } export interface IdentifiedClientStateProtoMsg { typeUrl: "/ibc.core.client.v1.IdentifiedClientState"; value: Uint8Array; } /** * IdentifiedClientState defines a client state with an additional client * identifier field. */ export interface IdentifiedClientStateAmino { /** client identifier */ client_id?: string; /** client state */ client_state?: AnyAmino; } export interface IdentifiedClientStateAminoMsg { type: "cosmos-sdk/IdentifiedClientState"; value: IdentifiedClientStateAmino; } /** * IdentifiedClientState defines a client state with an additional client * identifier field. */ export interface IdentifiedClientStateSDKType { client_id: string; client_state?: AnySDKType; } /** * ConsensusStateWithHeight defines a consensus state with an additional height * field. */ export interface ConsensusStateWithHeight { /** consensus state height */ height: Height; /** consensus state */ consensusState?: Any; } export interface ConsensusStateWithHeightProtoMsg { typeUrl: "/ibc.core.client.v1.ConsensusStateWithHeight"; value: Uint8Array; } /** * ConsensusStateWithHeight defines a consensus state with an additional height * field. */ export interface ConsensusStateWithHeightAmino { /** consensus state height */ height?: HeightAmino; /** consensus state */ consensus_state?: AnyAmino; } export interface ConsensusStateWithHeightAminoMsg { type: "cosmos-sdk/ConsensusStateWithHeight"; value: ConsensusStateWithHeightAmino; } /** * ConsensusStateWithHeight defines a consensus state with an additional height * field. */ export interface ConsensusStateWithHeightSDKType { height: HeightSDKType; consensus_state?: AnySDKType; } /** * ClientConsensusStates defines all the stored consensus states for a given * client. */ export interface ClientConsensusStates { /** client identifier */ clientId: string; /** consensus states and their heights associated with the client */ consensusStates: ConsensusStateWithHeight[]; } export interface ClientConsensusStatesProtoMsg { typeUrl: "/ibc.core.client.v1.ClientConsensusStates"; value: Uint8Array; } /** * ClientConsensusStates defines all the stored consensus states for a given * client. */ export interface ClientConsensusStatesAmino { /** client identifier */ client_id?: string; /** consensus states and their heights associated with the client */ consensus_states?: ConsensusStateWithHeightAmino[]; } export interface ClientConsensusStatesAminoMsg { type: "cosmos-sdk/ClientConsensusStates"; value: ClientConsensusStatesAmino; } /** * ClientConsensusStates defines all the stored consensus states for a given * client. */ export interface ClientConsensusStatesSDKType { client_id: string; consensus_states: ConsensusStateWithHeightSDKType[]; } /** * Height is a monotonically increasing data type * that can be compared against another Height for the purposes of updating and * freezing clients * * Normally the RevisionHeight is incremented at each height while keeping * RevisionNumber the same. However some consensus algorithms may choose to * reset the height in certain conditions e.g. hard forks, state-machine * breaking changes In these cases, the RevisionNumber is incremented so that * height continues to be monitonically increasing even as the RevisionHeight * gets reset */ export interface Height { /** the revision that the client is currently on */ revisionNumber: bigint; /** the height within the given revision */ revisionHeight: bigint; } export interface HeightProtoMsg { typeUrl: "/ibc.core.client.v1.Height"; value: Uint8Array; } /** * Height is a monotonically increasing data type * that can be compared against another Height for the purposes of updating and * freezing clients * * Normally the RevisionHeight is incremented at each height while keeping * RevisionNumber the same. However some consensus algorithms may choose to * reset the height in certain conditions e.g. hard forks, state-machine * breaking changes In these cases, the RevisionNumber is incremented so that * height continues to be monitonically increasing even as the RevisionHeight * gets reset */ export interface HeightAmino { /** the revision that the client is currently on */ revision_number?: string; /** the height within the given revision */ revision_height?: string; } export interface HeightAminoMsg { type: "cosmos-sdk/Height"; value: HeightAmino; } /** * Height is a monotonically increasing data type * that can be compared against another Height for the purposes of updating and * freezing clients * * Normally the RevisionHeight is incremented at each height while keeping * RevisionNumber the same. However some consensus algorithms may choose to * reset the height in certain conditions e.g. hard forks, state-machine * breaking changes In these cases, the RevisionNumber is incremented so that * height continues to be monitonically increasing even as the RevisionHeight * gets reset */ export interface HeightSDKType { revision_number: bigint; revision_height: bigint; } /** Params defines the set of IBC light client parameters. */ export interface Params { /** * allowed_clients defines the list of allowed client state types which can be created * and interacted with. If a client type is removed from the allowed clients list, usage * of this client will be disabled until it is added again to the list. */ allowedClients: string[]; } export interface ParamsProtoMsg { typeUrl: "/ibc.core.client.v1.Params"; value: Uint8Array; } /** Params defines the set of IBC light client parameters. */ export interface ParamsAmino { /** * allowed_clients defines the list of allowed client state types which can be created * and interacted with. If a client type is removed from the allowed clients list, usage * of this client will be disabled until it is added again to the list. */ allowed_clients?: string[]; } export interface ParamsAminoMsg { type: "cosmos-sdk/Params"; value: ParamsAmino; } /** Params defines the set of IBC light client parameters. */ export interface ParamsSDKType { allowed_clients: string[]; } export declare const IdentifiedClientState: { typeUrl: string; aminoType: string; encode(message: IdentifiedClientState, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): IdentifiedClientState; fromPartial(object: DeepPartial): IdentifiedClientState; fromAmino(object: IdentifiedClientStateAmino): IdentifiedClientState; toAmino(message: IdentifiedClientState): IdentifiedClientStateAmino; fromAminoMsg(object: IdentifiedClientStateAminoMsg): IdentifiedClientState; toAminoMsg(message: IdentifiedClientState): IdentifiedClientStateAminoMsg; fromProtoMsg(message: IdentifiedClientStateProtoMsg): IdentifiedClientState; toProto(message: IdentifiedClientState): Uint8Array; toProtoMsg(message: IdentifiedClientState): IdentifiedClientStateProtoMsg; }; export declare const ConsensusStateWithHeight: { typeUrl: string; aminoType: string; encode(message: ConsensusStateWithHeight, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ConsensusStateWithHeight; fromPartial(object: DeepPartial): ConsensusStateWithHeight; fromAmino(object: ConsensusStateWithHeightAmino): ConsensusStateWithHeight; toAmino(message: ConsensusStateWithHeight): ConsensusStateWithHeightAmino; fromAminoMsg(object: ConsensusStateWithHeightAminoMsg): ConsensusStateWithHeight; toAminoMsg(message: ConsensusStateWithHeight): ConsensusStateWithHeightAminoMsg; fromProtoMsg(message: ConsensusStateWithHeightProtoMsg): ConsensusStateWithHeight; toProto(message: ConsensusStateWithHeight): Uint8Array; toProtoMsg(message: ConsensusStateWithHeight): ConsensusStateWithHeightProtoMsg; }; export declare const ClientConsensusStates: { typeUrl: string; aminoType: string; encode(message: ClientConsensusStates, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ClientConsensusStates; fromPartial(object: DeepPartial): ClientConsensusStates; fromAmino(object: ClientConsensusStatesAmino): ClientConsensusStates; toAmino(message: ClientConsensusStates): ClientConsensusStatesAmino; fromAminoMsg(object: ClientConsensusStatesAminoMsg): ClientConsensusStates; toAminoMsg(message: ClientConsensusStates): ClientConsensusStatesAminoMsg; fromProtoMsg(message: ClientConsensusStatesProtoMsg): ClientConsensusStates; toProto(message: ClientConsensusStates): Uint8Array; toProtoMsg(message: ClientConsensusStates): ClientConsensusStatesProtoMsg; }; export declare const Height: { typeUrl: string; aminoType: string; encode(message: Height, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Height; fromPartial(object: DeepPartial): Height; fromAmino(object: HeightAmino): Height; toAmino(message: Height): HeightAmino; fromAminoMsg(object: HeightAminoMsg): Height; toAminoMsg(message: Height): HeightAminoMsg; fromProtoMsg(message: HeightProtoMsg): Height; toProto(message: Height): Uint8Array; toProtoMsg(message: Height): HeightProtoMsg; }; export declare const Params: { typeUrl: string; aminoType: string; encode(message: Params, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Params; fromPartial(object: DeepPartial): Params; fromAmino(object: ParamsAmino): Params; toAmino(message: Params): ParamsAmino; fromAminoMsg(object: ParamsAminoMsg): Params; toAminoMsg(message: Params): ParamsAminoMsg; fromProtoMsg(message: ParamsProtoMsg): Params; toProto(message: Params): Uint8Array; toProtoMsg(message: Params): ParamsProtoMsg; };