import { Any, type AnySDKType } from '../../../../google/protobuf/any.js'; import { Plan, type PlanSDKType } from '../../../../cosmos/upgrade/v1beta1/upgrade.js'; import { Params, type ParamsSDKType } from './client.js'; import { BinaryReader, BinaryWriter } from '../../../../binary.js'; import { type JsonSafe } from '../../../../json-safe.js'; /** MsgCreateClient defines a message to create an IBC client */ export interface MsgCreateClient { /** light client state */ clientState?: Any; /** * consensus state associated with the client that corresponds to a given * height. */ consensusState?: Any; /** signer address */ signer: string; } export interface MsgCreateClientProtoMsg { typeUrl: '/ibc.core.client.v1.MsgCreateClient'; value: Uint8Array; } /** MsgCreateClient defines a message to create an IBC client */ export interface MsgCreateClientSDKType { client_state?: AnySDKType; consensus_state?: AnySDKType; signer: string; } /** MsgCreateClientResponse defines the Msg/CreateClient response type. */ export interface MsgCreateClientResponse { } export interface MsgCreateClientResponseProtoMsg { typeUrl: '/ibc.core.client.v1.MsgCreateClientResponse'; value: Uint8Array; } /** MsgCreateClientResponse defines the Msg/CreateClient response type. */ export interface MsgCreateClientResponseSDKType { } /** * MsgUpdateClient defines an sdk.Msg to update a IBC client state using * the given client message. */ export interface MsgUpdateClient { /** client unique identifier */ clientId: string; /** client message to update the light client */ clientMessage?: Any; /** signer address */ signer: string; } export interface MsgUpdateClientProtoMsg { typeUrl: '/ibc.core.client.v1.MsgUpdateClient'; value: Uint8Array; } /** * MsgUpdateClient defines an sdk.Msg to update a IBC client state using * the given client message. */ export interface MsgUpdateClientSDKType { client_id: string; client_message?: AnySDKType; signer: string; } /** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ export interface MsgUpdateClientResponse { } export interface MsgUpdateClientResponseProtoMsg { typeUrl: '/ibc.core.client.v1.MsgUpdateClientResponse'; value: Uint8Array; } /** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ export interface MsgUpdateClientResponseSDKType { } /** * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client * state */ export interface MsgUpgradeClient { /** client unique identifier */ clientId: string; /** upgraded client state */ clientState?: Any; /** * upgraded consensus state, only contains enough information to serve as a * basis of trust in update logic */ consensusState?: Any; /** proof that old chain committed to new client */ proofUpgradeClient: Uint8Array; /** proof that old chain committed to new consensus state */ proofUpgradeConsensusState: Uint8Array; /** signer address */ signer: string; } export interface MsgUpgradeClientProtoMsg { typeUrl: '/ibc.core.client.v1.MsgUpgradeClient'; value: Uint8Array; } /** * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client * state */ export interface MsgUpgradeClientSDKType { client_id: string; client_state?: AnySDKType; consensus_state?: AnySDKType; proof_upgrade_client: Uint8Array; proof_upgrade_consensus_state: Uint8Array; signer: string; } /** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ export interface MsgUpgradeClientResponse { } export interface MsgUpgradeClientResponseProtoMsg { typeUrl: '/ibc.core.client.v1.MsgUpgradeClientResponse'; value: Uint8Array; } /** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ export interface MsgUpgradeClientResponseSDKType { } /** * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for * light client misbehaviour. * This message has been deprecated. Use MsgUpdateClient instead. */ /** @deprecated */ export interface MsgSubmitMisbehaviour { /** client unique identifier */ clientId: string; /** misbehaviour used for freezing the light client */ misbehaviour?: Any; /** signer address */ signer: string; } export interface MsgSubmitMisbehaviourProtoMsg { typeUrl: '/ibc.core.client.v1.MsgSubmitMisbehaviour'; value: Uint8Array; } /** * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for * light client misbehaviour. * This message has been deprecated. Use MsgUpdateClient instead. */ /** @deprecated */ export interface MsgSubmitMisbehaviourSDKType { client_id: string; misbehaviour?: AnySDKType; signer: string; } /** * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response * type. */ export interface MsgSubmitMisbehaviourResponse { } export interface MsgSubmitMisbehaviourResponseProtoMsg { typeUrl: '/ibc.core.client.v1.MsgSubmitMisbehaviourResponse'; value: Uint8Array; } /** * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response * type. */ export interface MsgSubmitMisbehaviourResponseSDKType { } /** MsgRecoverClient defines the message used to recover a frozen or expired client. */ export interface MsgRecoverClient { /** the client identifier for the client to be updated if the proposal passes */ subjectClientId: string; /** * the substitute client identifier for the client which will replace the subject * client */ substituteClientId: string; /** signer address */ signer: string; } export interface MsgRecoverClientProtoMsg { typeUrl: '/ibc.core.client.v1.MsgRecoverClient'; value: Uint8Array; } /** MsgRecoverClient defines the message used to recover a frozen or expired client. */ export interface MsgRecoverClientSDKType { subject_client_id: string; substitute_client_id: string; signer: string; } /** MsgRecoverClientResponse defines the Msg/RecoverClient response type. */ export interface MsgRecoverClientResponse { } export interface MsgRecoverClientResponseProtoMsg { typeUrl: '/ibc.core.client.v1.MsgRecoverClientResponse'; value: Uint8Array; } /** MsgRecoverClientResponse defines the Msg/RecoverClient response type. */ export interface MsgRecoverClientResponseSDKType { } /** MsgIBCSoftwareUpgrade defines the message used to schedule an upgrade of an IBC client using a v1 governance proposal */ export interface MsgIBCSoftwareUpgrade { plan: Plan; /** * An UpgradedClientState must be provided to perform an IBC breaking upgrade. * This will make the chain commit to the correct upgraded (self) client state * before the upgrade occurs, so that connecting chains can verify that the * new upgraded client is valid by verifying a proof on the previous version * of the chain. This will allow IBC connections to persist smoothly across * planned chain upgrades. Correspondingly, the UpgradedClientState field has been * deprecated in the Cosmos SDK to allow for this logic to exist solely in * the 02-client module. */ upgradedClientState?: Any; /** signer address */ signer: string; } export interface MsgIBCSoftwareUpgradeProtoMsg { typeUrl: '/ibc.core.client.v1.MsgIBCSoftwareUpgrade'; value: Uint8Array; } /** MsgIBCSoftwareUpgrade defines the message used to schedule an upgrade of an IBC client using a v1 governance proposal */ export interface MsgIBCSoftwareUpgradeSDKType { plan: PlanSDKType; upgraded_client_state?: AnySDKType; signer: string; } /** MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade response type. */ export interface MsgIBCSoftwareUpgradeResponse { } export interface MsgIBCSoftwareUpgradeResponseProtoMsg { typeUrl: '/ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse'; value: Uint8Array; } /** MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade response type. */ export interface MsgIBCSoftwareUpgradeResponseSDKType { } /** MsgUpdateParams defines the sdk.Msg type to update the client parameters. */ export interface MsgUpdateParams { /** signer address */ signer: string; /** * params defines the client parameters to update. * * NOTE: All parameters must be supplied. */ params: Params; } export interface MsgUpdateParamsProtoMsg { typeUrl: '/ibc.core.client.v1.MsgUpdateParams'; value: Uint8Array; } /** MsgUpdateParams defines the sdk.Msg type to update the client parameters. */ export interface MsgUpdateParamsSDKType { signer: string; params: ParamsSDKType; } /** MsgUpdateParamsResponse defines the MsgUpdateParams response type. */ export interface MsgUpdateParamsResponse { } export interface MsgUpdateParamsResponseProtoMsg { typeUrl: '/ibc.core.client.v1.MsgUpdateParamsResponse'; value: Uint8Array; } /** MsgUpdateParamsResponse defines the MsgUpdateParams response type. */ export interface MsgUpdateParamsResponseSDKType { } export declare const MsgCreateClient: { typeUrl: "/ibc.core.client.v1.MsgCreateClient"; encode(message: MsgCreateClient, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateClient; fromJSON(object: any): MsgCreateClient; toJSON(message: MsgCreateClient): JsonSafe; fromPartial(object: Partial): MsgCreateClient; fromProtoMsg(message: MsgCreateClientProtoMsg): MsgCreateClient; toProto(message: MsgCreateClient): Uint8Array; toProtoMsg(message: MsgCreateClient): MsgCreateClientProtoMsg; }; export declare const MsgCreateClientResponse: { typeUrl: "/ibc.core.client.v1.MsgCreateClientResponse"; encode(_: MsgCreateClientResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateClientResponse; fromJSON(_: any): MsgCreateClientResponse; toJSON(_: MsgCreateClientResponse): JsonSafe; fromPartial(_: Partial): MsgCreateClientResponse; fromProtoMsg(message: MsgCreateClientResponseProtoMsg): MsgCreateClientResponse; toProto(message: MsgCreateClientResponse): Uint8Array; toProtoMsg(message: MsgCreateClientResponse): MsgCreateClientResponseProtoMsg; }; export declare const MsgUpdateClient: { typeUrl: "/ibc.core.client.v1.MsgUpdateClient"; encode(message: MsgUpdateClient, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateClient; fromJSON(object: any): MsgUpdateClient; toJSON(message: MsgUpdateClient): JsonSafe; fromPartial(object: Partial): MsgUpdateClient; fromProtoMsg(message: MsgUpdateClientProtoMsg): MsgUpdateClient; toProto(message: MsgUpdateClient): Uint8Array; toProtoMsg(message: MsgUpdateClient): MsgUpdateClientProtoMsg; }; export declare const MsgUpdateClientResponse: { typeUrl: "/ibc.core.client.v1.MsgUpdateClientResponse"; encode(_: MsgUpdateClientResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateClientResponse; fromJSON(_: any): MsgUpdateClientResponse; toJSON(_: MsgUpdateClientResponse): JsonSafe; fromPartial(_: Partial): MsgUpdateClientResponse; fromProtoMsg(message: MsgUpdateClientResponseProtoMsg): MsgUpdateClientResponse; toProto(message: MsgUpdateClientResponse): Uint8Array; toProtoMsg(message: MsgUpdateClientResponse): MsgUpdateClientResponseProtoMsg; }; export declare const MsgUpgradeClient: { typeUrl: "/ibc.core.client.v1.MsgUpgradeClient"; encode(message: MsgUpgradeClient, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpgradeClient; fromJSON(object: any): MsgUpgradeClient; toJSON(message: MsgUpgradeClient): JsonSafe; fromPartial(object: Partial): MsgUpgradeClient; fromProtoMsg(message: MsgUpgradeClientProtoMsg): MsgUpgradeClient; toProto(message: MsgUpgradeClient): Uint8Array; toProtoMsg(message: MsgUpgradeClient): MsgUpgradeClientProtoMsg; }; export declare const MsgUpgradeClientResponse: { typeUrl: "/ibc.core.client.v1.MsgUpgradeClientResponse"; encode(_: MsgUpgradeClientResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpgradeClientResponse; fromJSON(_: any): MsgUpgradeClientResponse; toJSON(_: MsgUpgradeClientResponse): JsonSafe; fromPartial(_: Partial): MsgUpgradeClientResponse; fromProtoMsg(message: MsgUpgradeClientResponseProtoMsg): MsgUpgradeClientResponse; toProto(message: MsgUpgradeClientResponse): Uint8Array; toProtoMsg(message: MsgUpgradeClientResponse): MsgUpgradeClientResponseProtoMsg; }; export declare const MsgSubmitMisbehaviour: { typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour"; encode(message: MsgSubmitMisbehaviour, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitMisbehaviour; fromJSON(object: any): MsgSubmitMisbehaviour; toJSON(message: MsgSubmitMisbehaviour): JsonSafe; fromPartial(object: Partial): MsgSubmitMisbehaviour; fromProtoMsg(message: MsgSubmitMisbehaviourProtoMsg): MsgSubmitMisbehaviour; toProto(message: MsgSubmitMisbehaviour): Uint8Array; toProtoMsg(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourProtoMsg; }; export declare const MsgSubmitMisbehaviourResponse: { typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviourResponse"; encode(_: MsgSubmitMisbehaviourResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse; fromJSON(_: any): MsgSubmitMisbehaviourResponse; toJSON(_: MsgSubmitMisbehaviourResponse): JsonSafe; fromPartial(_: Partial): MsgSubmitMisbehaviourResponse; fromProtoMsg(message: MsgSubmitMisbehaviourResponseProtoMsg): MsgSubmitMisbehaviourResponse; toProto(message: MsgSubmitMisbehaviourResponse): Uint8Array; toProtoMsg(message: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseProtoMsg; }; export declare const MsgRecoverClient: { typeUrl: "/ibc.core.client.v1.MsgRecoverClient"; encode(message: MsgRecoverClient, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgRecoverClient; fromJSON(object: any): MsgRecoverClient; toJSON(message: MsgRecoverClient): JsonSafe; fromPartial(object: Partial): MsgRecoverClient; fromProtoMsg(message: MsgRecoverClientProtoMsg): MsgRecoverClient; toProto(message: MsgRecoverClient): Uint8Array; toProtoMsg(message: MsgRecoverClient): MsgRecoverClientProtoMsg; }; export declare const MsgRecoverClientResponse: { typeUrl: "/ibc.core.client.v1.MsgRecoverClientResponse"; encode(_: MsgRecoverClientResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgRecoverClientResponse; fromJSON(_: any): MsgRecoverClientResponse; toJSON(_: MsgRecoverClientResponse): JsonSafe; fromPartial(_: Partial): MsgRecoverClientResponse; fromProtoMsg(message: MsgRecoverClientResponseProtoMsg): MsgRecoverClientResponse; toProto(message: MsgRecoverClientResponse): Uint8Array; toProtoMsg(message: MsgRecoverClientResponse): MsgRecoverClientResponseProtoMsg; }; export declare const MsgIBCSoftwareUpgrade: { typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade"; encode(message: MsgIBCSoftwareUpgrade, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgIBCSoftwareUpgrade; fromJSON(object: any): MsgIBCSoftwareUpgrade; toJSON(message: MsgIBCSoftwareUpgrade): JsonSafe; fromPartial(object: Partial): MsgIBCSoftwareUpgrade; fromProtoMsg(message: MsgIBCSoftwareUpgradeProtoMsg): MsgIBCSoftwareUpgrade; toProto(message: MsgIBCSoftwareUpgrade): Uint8Array; toProtoMsg(message: MsgIBCSoftwareUpgrade): MsgIBCSoftwareUpgradeProtoMsg; }; export declare const MsgIBCSoftwareUpgradeResponse: { typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse"; encode(_: MsgIBCSoftwareUpgradeResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgIBCSoftwareUpgradeResponse; fromJSON(_: any): MsgIBCSoftwareUpgradeResponse; toJSON(_: MsgIBCSoftwareUpgradeResponse): JsonSafe; fromPartial(_: Partial): MsgIBCSoftwareUpgradeResponse; fromProtoMsg(message: MsgIBCSoftwareUpgradeResponseProtoMsg): MsgIBCSoftwareUpgradeResponse; toProto(message: MsgIBCSoftwareUpgradeResponse): Uint8Array; toProtoMsg(message: MsgIBCSoftwareUpgradeResponse): MsgIBCSoftwareUpgradeResponseProtoMsg; }; export declare const MsgUpdateParams: { typeUrl: "/ibc.core.client.v1.MsgUpdateParams"; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): JsonSafe; fromPartial(object: Partial): MsgUpdateParams; fromProtoMsg(message: MsgUpdateParamsProtoMsg): MsgUpdateParams; toProto(message: MsgUpdateParams): Uint8Array; toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg; }; export declare const MsgUpdateParamsResponse: { typeUrl: "/ibc.core.client.v1.MsgUpdateParamsResponse"; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): JsonSafe; fromPartial(_: Partial): MsgUpdateParamsResponse; fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse; toProto(message: MsgUpdateParamsResponse): Uint8Array; toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg; }; //# sourceMappingURL=tx.d.ts.map