import { Any, AnyAmino } from "../../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../../binary"; import { DeepPartial } from "../../../../helpers"; /** * IdentifiedClientState defines a client state with an additional client * identifier field. * @name IdentifiedClientState * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.IdentifiedClientState */ 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. * @name IdentifiedClientStateAmino * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.IdentifiedClientState */ export interface IdentifiedClientStateAmino { /** * client identifier */ client_id: string; /** * client state */ client_state?: AnyAmino; } export interface IdentifiedClientStateAminoMsg { type: "cosmos-sdk/IdentifiedClientState"; value: IdentifiedClientStateAmino; } /** * ConsensusStateWithHeight defines a consensus state with an additional height * field. * @name ConsensusStateWithHeight * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.ConsensusStateWithHeight */ 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. * @name ConsensusStateWithHeightAmino * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.ConsensusStateWithHeight */ export interface ConsensusStateWithHeightAmino { /** * consensus state height */ height: HeightAmino; /** * consensus state */ consensus_state?: AnyAmino; } export interface ConsensusStateWithHeightAminoMsg { type: "cosmos-sdk/ConsensusStateWithHeight"; value: ConsensusStateWithHeightAmino; } /** * ClientConsensusStates defines all the stored consensus states for a given * client. * @name ClientConsensusStates * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.ClientConsensusStates */ 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. * @name ClientConsensusStatesAmino * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.ClientConsensusStates */ 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; } /** * 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 * * Please note that json tags for generated Go code are overridden to explicitly exclude the omitempty jsontag. * This enforces the Go json marshaller to always emit zero values for both revision_number and revision_height. * @name Height * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.Height */ 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 * * Please note that json tags for generated Go code are overridden to explicitly exclude the omitempty jsontag. * This enforces the Go json marshaller to always emit zero values for both revision_number and revision_height. * @name HeightAmino * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.Height */ 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; } /** * Params defines the set of IBC light client parameters. * @name Params * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.Params */ 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. * @name ParamsAmino * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.Params */ 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; } /** * IdentifiedClientState defines a client state with an additional client * identifier field. * @name IdentifiedClientState * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.IdentifiedClientState */ export declare const IdentifiedClientState: { typeUrl: string; aminoType: string; is(o: any): o is IdentifiedClientState; isAmino(o: any): o is IdentifiedClientStateAmino; 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; registerTypeUrl(): void; }; /** * ConsensusStateWithHeight defines a consensus state with an additional height * field. * @name ConsensusStateWithHeight * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.ConsensusStateWithHeight */ export declare const ConsensusStateWithHeight: { typeUrl: string; aminoType: string; is(o: any): o is ConsensusStateWithHeight; isAmino(o: any): o is ConsensusStateWithHeightAmino; 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; registerTypeUrl(): void; }; /** * ClientConsensusStates defines all the stored consensus states for a given * client. * @name ClientConsensusStates * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.ClientConsensusStates */ export declare const ClientConsensusStates: { typeUrl: string; aminoType: string; is(o: any): o is ClientConsensusStates; isAmino(o: any): o is ClientConsensusStatesAmino; 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; registerTypeUrl(): void; }; /** * 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 * * Please note that json tags for generated Go code are overridden to explicitly exclude the omitempty jsontag. * This enforces the Go json marshaller to always emit zero values for both revision_number and revision_height. * @name Height * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.Height */ export declare const Height: { typeUrl: string; aminoType: string; is(o: any): o is Height; isAmino(o: any): o is HeightAmino; 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; registerTypeUrl(): void; }; /** * Params defines the set of IBC light client parameters. * @name Params * @package ibc.core.client.v1 * @see proto type: ibc.core.client.v1.Params */ export declare const Params: { typeUrl: string; aminoType: string; is(o: any): o is Params; isAmino(o: any): o is ParamsAmino; 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; registerTypeUrl(): void; };