interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
996 lines (995 loc) • 38.2 kB
TypeScript
import { Any, AnyAmino } from "../../../../google/protobuf/any";
import { Plan, PlanAmino } from "../../../../cosmos/upgrade/v1beta1/upgrade";
import { Params, ParamsAmino } from "./client";
import { BinaryReader, BinaryWriter } from "../../../../binary";
import { DeepPartial } from "../../../../helpers";
/**
* MsgCreateClient defines a message to create an IBC client
* @name MsgCreateClient
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgCreateClient
*/
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
* @name MsgCreateClientAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgCreateClient
*/
export interface MsgCreateClientAmino {
/**
* light client state
*/
client_state?: AnyAmino;
/**
* consensus state associated with the client that corresponds to a given
* height.
*/
consensus_state?: AnyAmino;
/**
* signer address
*/
signer: string;
}
export interface MsgCreateClientAminoMsg {
type: "cosmos-sdk/MsgCreateClient";
value: MsgCreateClientAmino;
}
/**
* MsgCreateClientResponse defines the Msg/CreateClient response type.
* @name MsgCreateClientResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgCreateClientResponse
*/
export interface MsgCreateClientResponse {
clientId: string;
}
export interface MsgCreateClientResponseProtoMsg {
typeUrl: "/ibc.core.client.v1.MsgCreateClientResponse";
value: Uint8Array;
}
/**
* MsgCreateClientResponse defines the Msg/CreateClient response type.
* @name MsgCreateClientResponseAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgCreateClientResponse
*/
export interface MsgCreateClientResponseAmino {
client_id: string;
}
export interface MsgCreateClientResponseAminoMsg {
type: "cosmos-sdk/MsgCreateClientResponse";
value: MsgCreateClientResponseAmino;
}
/**
* MsgUpdateClient defines an sdk.Msg to update a IBC client state using
* the given client message.
* @name MsgUpdateClient
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateClient
*/
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.
* @name MsgUpdateClientAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateClient
*/
export interface MsgUpdateClientAmino {
/**
* client unique identifier
*/
client_id: string;
/**
* client message to update the light client
*/
client_message?: AnyAmino;
/**
* signer address
*/
signer: string;
}
export interface MsgUpdateClientAminoMsg {
type: "cosmos-sdk/MsgUpdateClient";
value: MsgUpdateClientAmino;
}
/**
* MsgUpdateClientResponse defines the Msg/UpdateClient response type.
* @name MsgUpdateClientResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateClientResponse
*/
export interface MsgUpdateClientResponse {
}
export interface MsgUpdateClientResponseProtoMsg {
typeUrl: "/ibc.core.client.v1.MsgUpdateClientResponse";
value: Uint8Array;
}
/**
* MsgUpdateClientResponse defines the Msg/UpdateClient response type.
* @name MsgUpdateClientResponseAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateClientResponse
*/
export interface MsgUpdateClientResponseAmino {
}
export interface MsgUpdateClientResponseAminoMsg {
type: "cosmos-sdk/MsgUpdateClientResponse";
value: MsgUpdateClientResponseAmino;
}
/**
* MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client
* state
* @name MsgUpgradeClient
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpgradeClient
*/
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
* @name MsgUpgradeClientAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpgradeClient
*/
export interface MsgUpgradeClientAmino {
/**
* client unique identifier
*/
client_id: string;
/**
* upgraded client state
*/
client_state?: AnyAmino;
/**
* upgraded consensus state, only contains enough information to serve as a
* basis of trust in update logic
*/
consensus_state?: AnyAmino;
/**
* proof that old chain committed to new client
*/
proof_upgrade_client: string;
/**
* proof that old chain committed to new consensus state
*/
proof_upgrade_consensus_state: string;
/**
* signer address
*/
signer: string;
}
export interface MsgUpgradeClientAminoMsg {
type: "cosmos-sdk/MsgUpgradeClient";
value: MsgUpgradeClientAmino;
}
/**
* MsgUpgradeClientResponse defines the Msg/UpgradeClient response type.
* @name MsgUpgradeClientResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpgradeClientResponse
*/
export interface MsgUpgradeClientResponse {
}
export interface MsgUpgradeClientResponseProtoMsg {
typeUrl: "/ibc.core.client.v1.MsgUpgradeClientResponse";
value: Uint8Array;
}
/**
* MsgUpgradeClientResponse defines the Msg/UpgradeClient response type.
* @name MsgUpgradeClientResponseAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpgradeClientResponse
*/
export interface MsgUpgradeClientResponseAmino {
}
export interface MsgUpgradeClientResponseAminoMsg {
type: "cosmos-sdk/MsgUpgradeClientResponse";
value: MsgUpgradeClientResponseAmino;
}
/**
* MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for
* light client misbehaviour.
* This message has been deprecated. Use MsgUpdateClient instead.
* @name MsgSubmitMisbehaviour
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgSubmitMisbehaviour
* @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.
* @name MsgSubmitMisbehaviourAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgSubmitMisbehaviour
* @deprecated
*/
export interface MsgSubmitMisbehaviourAmino {
/**
* client unique identifier
*/
client_id: string;
/**
* misbehaviour used for freezing the light client
*/
misbehaviour?: AnyAmino;
/**
* signer address
*/
signer: string;
}
export interface MsgSubmitMisbehaviourAminoMsg {
type: "cosmos-sdk/MsgSubmitMisbehaviour";
value: MsgSubmitMisbehaviourAmino;
}
/**
* MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response
* type.
* @name MsgSubmitMisbehaviourResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgSubmitMisbehaviourResponse
*/
export interface MsgSubmitMisbehaviourResponse {
}
export interface MsgSubmitMisbehaviourResponseProtoMsg {
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviourResponse";
value: Uint8Array;
}
/**
* MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response
* type.
* @name MsgSubmitMisbehaviourResponseAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgSubmitMisbehaviourResponse
*/
export interface MsgSubmitMisbehaviourResponseAmino {
}
export interface MsgSubmitMisbehaviourResponseAminoMsg {
type: "cosmos-sdk/MsgSubmitMisbehaviourResponse";
value: MsgSubmitMisbehaviourResponseAmino;
}
/**
* MsgRecoverClient defines the message used to recover a frozen or expired client.
* @name MsgRecoverClient
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgRecoverClient
*/
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.
* @name MsgRecoverClientAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgRecoverClient
*/
export interface MsgRecoverClientAmino {
/**
* the client identifier for the client to be updated if the proposal passes
*/
subject_client_id: string;
/**
* the substitute client identifier for the client which will replace the subject
* client
*/
substitute_client_id: string;
/**
* signer address
*/
signer: string;
}
export interface MsgRecoverClientAminoMsg {
type: "cosmos-sdk/MsgRecoverClient";
value: MsgRecoverClientAmino;
}
/**
* MsgRecoverClientResponse defines the Msg/RecoverClient response type.
* @name MsgRecoverClientResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgRecoverClientResponse
*/
export interface MsgRecoverClientResponse {
}
export interface MsgRecoverClientResponseProtoMsg {
typeUrl: "/ibc.core.client.v1.MsgRecoverClientResponse";
value: Uint8Array;
}
/**
* MsgRecoverClientResponse defines the Msg/RecoverClient response type.
* @name MsgRecoverClientResponseAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgRecoverClientResponse
*/
export interface MsgRecoverClientResponseAmino {
}
export interface MsgRecoverClientResponseAminoMsg {
type: "cosmos-sdk/MsgRecoverClientResponse";
value: MsgRecoverClientResponseAmino;
}
/**
* MsgIBCSoftwareUpgrade defines the message used to schedule an upgrade of an IBC client using a v1 governance proposal
* @name MsgIBCSoftwareUpgrade
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgIBCSoftwareUpgrade
*/
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
* @name MsgIBCSoftwareUpgradeAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgIBCSoftwareUpgrade
*/
export interface MsgIBCSoftwareUpgradeAmino {
plan: PlanAmino;
/**
* 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.
*/
upgraded_client_state?: AnyAmino;
/**
* signer address
*/
signer: string;
}
export interface MsgIBCSoftwareUpgradeAminoMsg {
type: "cosmos-sdk/MsgIBCSoftwareUpgrade";
value: MsgIBCSoftwareUpgradeAmino;
}
/**
* MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade response type.
* @name MsgIBCSoftwareUpgradeResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse
*/
export interface MsgIBCSoftwareUpgradeResponse {
}
export interface MsgIBCSoftwareUpgradeResponseProtoMsg {
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse";
value: Uint8Array;
}
/**
* MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade response type.
* @name MsgIBCSoftwareUpgradeResponseAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse
*/
export interface MsgIBCSoftwareUpgradeResponseAmino {
}
export interface MsgIBCSoftwareUpgradeResponseAminoMsg {
type: "cosmos-sdk/MsgIBCSoftwareUpgradeResponse";
value: MsgIBCSoftwareUpgradeResponseAmino;
}
/**
* MsgUpdateParams defines the sdk.Msg type to update the client parameters.
* @name MsgUpdateParams
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateParams
*/
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.
* @name MsgUpdateParamsAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateParams
*/
export interface MsgUpdateParamsAmino {
/**
* signer address
*/
signer: string;
/**
* params defines the client parameters to update.
*
* NOTE: All parameters must be supplied.
*/
params: ParamsAmino;
}
export interface MsgUpdateParamsAminoMsg {
type: "cosmos-sdk/MsgUpdateParams";
value: MsgUpdateParamsAmino;
}
/**
* MsgUpdateParamsResponse defines the MsgUpdateParams response type.
* @name MsgUpdateParamsResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateParamsResponse
*/
export interface MsgUpdateParamsResponse {
}
export interface MsgUpdateParamsResponseProtoMsg {
typeUrl: "/ibc.core.client.v1.MsgUpdateParamsResponse";
value: Uint8Array;
}
/**
* MsgUpdateParamsResponse defines the MsgUpdateParams response type.
* @name MsgUpdateParamsResponseAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateParamsResponse
*/
export interface MsgUpdateParamsResponseAmino {
}
export interface MsgUpdateParamsResponseAminoMsg {
type: "cosmos-sdk/MsgUpdateParamsResponse";
value: MsgUpdateParamsResponseAmino;
}
/**
* MsgDeleteClientCreator defines a message to delete the client creator of a client
* @name MsgDeleteClientCreator
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgDeleteClientCreator
*/
export interface MsgDeleteClientCreator {
/**
* client identifier
*/
clientId: string;
/**
* signer address
*/
signer: string;
}
export interface MsgDeleteClientCreatorProtoMsg {
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreator";
value: Uint8Array;
}
/**
* MsgDeleteClientCreator defines a message to delete the client creator of a client
* @name MsgDeleteClientCreatorAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgDeleteClientCreator
*/
export interface MsgDeleteClientCreatorAmino {
/**
* client identifier
*/
client_id: string;
/**
* signer address
*/
signer: string;
}
export interface MsgDeleteClientCreatorAminoMsg {
type: "cosmos-sdk/MsgDeleteClientCreator";
value: MsgDeleteClientCreatorAmino;
}
/**
* MsgDeleteClientCreatorResponse defines the Msg/DeleteClientCreator response type.
* @name MsgDeleteClientCreatorResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgDeleteClientCreatorResponse
*/
export interface MsgDeleteClientCreatorResponse {
}
export interface MsgDeleteClientCreatorResponseProtoMsg {
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreatorResponse";
value: Uint8Array;
}
/**
* MsgDeleteClientCreatorResponse defines the Msg/DeleteClientCreator response type.
* @name MsgDeleteClientCreatorResponseAmino
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgDeleteClientCreatorResponse
*/
export interface MsgDeleteClientCreatorResponseAmino {
}
export interface MsgDeleteClientCreatorResponseAminoMsg {
type: "cosmos-sdk/MsgDeleteClientCreatorResponse";
value: MsgDeleteClientCreatorResponseAmino;
}
/**
* MsgCreateClient defines a message to create an IBC client
* @name MsgCreateClient
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgCreateClient
*/
export declare const MsgCreateClient: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgCreateClient;
isAmino(o: any): o is MsgCreateClientAmino;
encode(message: MsgCreateClient, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateClient;
fromPartial(object: DeepPartial<MsgCreateClient>): MsgCreateClient;
fromAmino(object: MsgCreateClientAmino): MsgCreateClient;
toAmino(message: MsgCreateClient): MsgCreateClientAmino;
fromAminoMsg(object: MsgCreateClientAminoMsg): MsgCreateClient;
toAminoMsg(message: MsgCreateClient): MsgCreateClientAminoMsg;
fromProtoMsg(message: MsgCreateClientProtoMsg): MsgCreateClient;
toProto(message: MsgCreateClient): Uint8Array;
toProtoMsg(message: MsgCreateClient): MsgCreateClientProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgCreateClientResponse defines the Msg/CreateClient response type.
* @name MsgCreateClientResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgCreateClientResponse
*/
export declare const MsgCreateClientResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgCreateClientResponse;
isAmino(o: any): o is MsgCreateClientResponseAmino;
encode(message: MsgCreateClientResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateClientResponse;
fromPartial(object: DeepPartial<MsgCreateClientResponse>): MsgCreateClientResponse;
fromAmino(object: MsgCreateClientResponseAmino): MsgCreateClientResponse;
toAmino(message: MsgCreateClientResponse): MsgCreateClientResponseAmino;
fromAminoMsg(object: MsgCreateClientResponseAminoMsg): MsgCreateClientResponse;
toAminoMsg(message: MsgCreateClientResponse): MsgCreateClientResponseAminoMsg;
fromProtoMsg(message: MsgCreateClientResponseProtoMsg): MsgCreateClientResponse;
toProto(message: MsgCreateClientResponse): Uint8Array;
toProtoMsg(message: MsgCreateClientResponse): MsgCreateClientResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateClient defines an sdk.Msg to update a IBC client state using
* the given client message.
* @name MsgUpdateClient
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateClient
*/
export declare const MsgUpdateClient: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateClient;
isAmino(o: any): o is MsgUpdateClientAmino;
encode(message: MsgUpdateClient, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateClient;
fromPartial(object: DeepPartial<MsgUpdateClient>): MsgUpdateClient;
fromAmino(object: MsgUpdateClientAmino): MsgUpdateClient;
toAmino(message: MsgUpdateClient): MsgUpdateClientAmino;
fromAminoMsg(object: MsgUpdateClientAminoMsg): MsgUpdateClient;
toAminoMsg(message: MsgUpdateClient): MsgUpdateClientAminoMsg;
fromProtoMsg(message: MsgUpdateClientProtoMsg): MsgUpdateClient;
toProto(message: MsgUpdateClient): Uint8Array;
toProtoMsg(message: MsgUpdateClient): MsgUpdateClientProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateClientResponse defines the Msg/UpdateClient response type.
* @name MsgUpdateClientResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateClientResponse
*/
export declare const MsgUpdateClientResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateClientResponse;
isAmino(o: any): o is MsgUpdateClientResponseAmino;
encode(_: MsgUpdateClientResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateClientResponse;
fromPartial(_: DeepPartial<MsgUpdateClientResponse>): MsgUpdateClientResponse;
fromAmino(_: MsgUpdateClientResponseAmino): MsgUpdateClientResponse;
toAmino(_: MsgUpdateClientResponse): MsgUpdateClientResponseAmino;
fromAminoMsg(object: MsgUpdateClientResponseAminoMsg): MsgUpdateClientResponse;
toAminoMsg(message: MsgUpdateClientResponse): MsgUpdateClientResponseAminoMsg;
fromProtoMsg(message: MsgUpdateClientResponseProtoMsg): MsgUpdateClientResponse;
toProto(message: MsgUpdateClientResponse): Uint8Array;
toProtoMsg(message: MsgUpdateClientResponse): MsgUpdateClientResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client
* state
* @name MsgUpgradeClient
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpgradeClient
*/
export declare const MsgUpgradeClient: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpgradeClient;
isAmino(o: any): o is MsgUpgradeClientAmino;
encode(message: MsgUpgradeClient, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpgradeClient;
fromPartial(object: DeepPartial<MsgUpgradeClient>): MsgUpgradeClient;
fromAmino(object: MsgUpgradeClientAmino): MsgUpgradeClient;
toAmino(message: MsgUpgradeClient): MsgUpgradeClientAmino;
fromAminoMsg(object: MsgUpgradeClientAminoMsg): MsgUpgradeClient;
toAminoMsg(message: MsgUpgradeClient): MsgUpgradeClientAminoMsg;
fromProtoMsg(message: MsgUpgradeClientProtoMsg): MsgUpgradeClient;
toProto(message: MsgUpgradeClient): Uint8Array;
toProtoMsg(message: MsgUpgradeClient): MsgUpgradeClientProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpgradeClientResponse defines the Msg/UpgradeClient response type.
* @name MsgUpgradeClientResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpgradeClientResponse
*/
export declare const MsgUpgradeClientResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpgradeClientResponse;
isAmino(o: any): o is MsgUpgradeClientResponseAmino;
encode(_: MsgUpgradeClientResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpgradeClientResponse;
fromPartial(_: DeepPartial<MsgUpgradeClientResponse>): MsgUpgradeClientResponse;
fromAmino(_: MsgUpgradeClientResponseAmino): MsgUpgradeClientResponse;
toAmino(_: MsgUpgradeClientResponse): MsgUpgradeClientResponseAmino;
fromAminoMsg(object: MsgUpgradeClientResponseAminoMsg): MsgUpgradeClientResponse;
toAminoMsg(message: MsgUpgradeClientResponse): MsgUpgradeClientResponseAminoMsg;
fromProtoMsg(message: MsgUpgradeClientResponseProtoMsg): MsgUpgradeClientResponse;
toProto(message: MsgUpgradeClientResponse): Uint8Array;
toProtoMsg(message: MsgUpgradeClientResponse): MsgUpgradeClientResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for
* light client misbehaviour.
* This message has been deprecated. Use MsgUpdateClient instead.
* @name MsgSubmitMisbehaviour
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgSubmitMisbehaviour
* @deprecated
*/
export declare const MsgSubmitMisbehaviour: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgSubmitMisbehaviour;
isAmino(o: any): o is MsgSubmitMisbehaviourAmino;
encode(message: MsgSubmitMisbehaviour, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitMisbehaviour;
fromPartial(object: DeepPartial<MsgSubmitMisbehaviour>): MsgSubmitMisbehaviour;
fromAmino(object: MsgSubmitMisbehaviourAmino): MsgSubmitMisbehaviour;
toAmino(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourAmino;
fromAminoMsg(object: MsgSubmitMisbehaviourAminoMsg): MsgSubmitMisbehaviour;
toAminoMsg(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourAminoMsg;
fromProtoMsg(message: MsgSubmitMisbehaviourProtoMsg): MsgSubmitMisbehaviour;
toProto(message: MsgSubmitMisbehaviour): Uint8Array;
toProtoMsg(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response
* type.
* @name MsgSubmitMisbehaviourResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgSubmitMisbehaviourResponse
*/
export declare const MsgSubmitMisbehaviourResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgSubmitMisbehaviourResponse;
isAmino(o: any): o is MsgSubmitMisbehaviourResponseAmino;
encode(_: MsgSubmitMisbehaviourResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse;
fromPartial(_: DeepPartial<MsgSubmitMisbehaviourResponse>): MsgSubmitMisbehaviourResponse;
fromAmino(_: MsgSubmitMisbehaviourResponseAmino): MsgSubmitMisbehaviourResponse;
toAmino(_: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseAmino;
fromAminoMsg(object: MsgSubmitMisbehaviourResponseAminoMsg): MsgSubmitMisbehaviourResponse;
toAminoMsg(message: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseAminoMsg;
fromProtoMsg(message: MsgSubmitMisbehaviourResponseProtoMsg): MsgSubmitMisbehaviourResponse;
toProto(message: MsgSubmitMisbehaviourResponse): Uint8Array;
toProtoMsg(message: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgRecoverClient defines the message used to recover a frozen or expired client.
* @name MsgRecoverClient
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgRecoverClient
*/
export declare const MsgRecoverClient: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgRecoverClient;
isAmino(o: any): o is MsgRecoverClientAmino;
encode(message: MsgRecoverClient, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgRecoverClient;
fromPartial(object: DeepPartial<MsgRecoverClient>): MsgRecoverClient;
fromAmino(object: MsgRecoverClientAmino): MsgRecoverClient;
toAmino(message: MsgRecoverClient): MsgRecoverClientAmino;
fromAminoMsg(object: MsgRecoverClientAminoMsg): MsgRecoverClient;
toAminoMsg(message: MsgRecoverClient): MsgRecoverClientAminoMsg;
fromProtoMsg(message: MsgRecoverClientProtoMsg): MsgRecoverClient;
toProto(message: MsgRecoverClient): Uint8Array;
toProtoMsg(message: MsgRecoverClient): MsgRecoverClientProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgRecoverClientResponse defines the Msg/RecoverClient response type.
* @name MsgRecoverClientResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgRecoverClientResponse
*/
export declare const MsgRecoverClientResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgRecoverClientResponse;
isAmino(o: any): o is MsgRecoverClientResponseAmino;
encode(_: MsgRecoverClientResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgRecoverClientResponse;
fromPartial(_: DeepPartial<MsgRecoverClientResponse>): MsgRecoverClientResponse;
fromAmino(_: MsgRecoverClientResponseAmino): MsgRecoverClientResponse;
toAmino(_: MsgRecoverClientResponse): MsgRecoverClientResponseAmino;
fromAminoMsg(object: MsgRecoverClientResponseAminoMsg): MsgRecoverClientResponse;
toAminoMsg(message: MsgRecoverClientResponse): MsgRecoverClientResponseAminoMsg;
fromProtoMsg(message: MsgRecoverClientResponseProtoMsg): MsgRecoverClientResponse;
toProto(message: MsgRecoverClientResponse): Uint8Array;
toProtoMsg(message: MsgRecoverClientResponse): MsgRecoverClientResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgIBCSoftwareUpgrade defines the message used to schedule an upgrade of an IBC client using a v1 governance proposal
* @name MsgIBCSoftwareUpgrade
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgIBCSoftwareUpgrade
*/
export declare const MsgIBCSoftwareUpgrade: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgIBCSoftwareUpgrade;
isAmino(o: any): o is MsgIBCSoftwareUpgradeAmino;
encode(message: MsgIBCSoftwareUpgrade, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgIBCSoftwareUpgrade;
fromPartial(object: DeepPartial<MsgIBCSoftwareUpgrade>): MsgIBCSoftwareUpgrade;
fromAmino(object: MsgIBCSoftwareUpgradeAmino): MsgIBCSoftwareUpgrade;
toAmino(message: MsgIBCSoftwareUpgrade): MsgIBCSoftwareUpgradeAmino;
fromAminoMsg(object: MsgIBCSoftwareUpgradeAminoMsg): MsgIBCSoftwareUpgrade;
toAminoMsg(message: MsgIBCSoftwareUpgrade): MsgIBCSoftwareUpgradeAminoMsg;
fromProtoMsg(message: MsgIBCSoftwareUpgradeProtoMsg): MsgIBCSoftwareUpgrade;
toProto(message: MsgIBCSoftwareUpgrade): Uint8Array;
toProtoMsg(message: MsgIBCSoftwareUpgrade): MsgIBCSoftwareUpgradeProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade response type.
* @name MsgIBCSoftwareUpgradeResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse
*/
export declare const MsgIBCSoftwareUpgradeResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgIBCSoftwareUpgradeResponse;
isAmino(o: any): o is MsgIBCSoftwareUpgradeResponseAmino;
encode(_: MsgIBCSoftwareUpgradeResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgIBCSoftwareUpgradeResponse;
fromPartial(_: DeepPartial<MsgIBCSoftwareUpgradeResponse>): MsgIBCSoftwareUpgradeResponse;
fromAmino(_: MsgIBCSoftwareUpgradeResponseAmino): MsgIBCSoftwareUpgradeResponse;
toAmino(_: MsgIBCSoftwareUpgradeResponse): MsgIBCSoftwareUpgradeResponseAmino;
fromAminoMsg(object: MsgIBCSoftwareUpgradeResponseAminoMsg): MsgIBCSoftwareUpgradeResponse;
toAminoMsg(message: MsgIBCSoftwareUpgradeResponse): MsgIBCSoftwareUpgradeResponseAminoMsg;
fromProtoMsg(message: MsgIBCSoftwareUpgradeResponseProtoMsg): MsgIBCSoftwareUpgradeResponse;
toProto(message: MsgIBCSoftwareUpgradeResponse): Uint8Array;
toProtoMsg(message: MsgIBCSoftwareUpgradeResponse): MsgIBCSoftwareUpgradeResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateParams defines the sdk.Msg type to update the client parameters.
* @name MsgUpdateParams
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateParams
*/
export declare const MsgUpdateParams: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateParams;
isAmino(o: any): o is MsgUpdateParamsAmino;
encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams;
fromPartial(object: DeepPartial<MsgUpdateParams>): MsgUpdateParams;
fromAmino(object: MsgUpdateParamsAmino): MsgUpdateParams;
toAmino(message: MsgUpdateParams): MsgUpdateParamsAmino;
fromAminoMsg(object: MsgUpdateParamsAminoMsg): MsgUpdateParams;
toAminoMsg(message: MsgUpdateParams): MsgUpdateParamsAminoMsg;
fromProtoMsg(message: MsgUpdateParamsProtoMsg): MsgUpdateParams;
toProto(message: MsgUpdateParams): Uint8Array;
toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateParamsResponse defines the MsgUpdateParams response type.
* @name MsgUpdateParamsResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgUpdateParamsResponse
*/
export declare const MsgUpdateParamsResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateParamsResponse;
isAmino(o: any): o is MsgUpdateParamsResponseAmino;
encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse;
fromPartial(_: DeepPartial<MsgUpdateParamsResponse>): MsgUpdateParamsResponse;
fromAmino(_: MsgUpdateParamsResponseAmino): MsgUpdateParamsResponse;
toAmino(_: MsgUpdateParamsResponse): MsgUpdateParamsResponseAmino;
fromAminoMsg(object: MsgUpdateParamsResponseAminoMsg): MsgUpdateParamsResponse;
toAminoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseAminoMsg;
fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse;
toProto(message: MsgUpdateParamsResponse): Uint8Array;
toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgDeleteClientCreator defines a message to delete the client creator of a client
* @name MsgDeleteClientCreator
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgDeleteClientCreator
*/
export declare const MsgDeleteClientCreator: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgDeleteClientCreator;
isAmino(o: any): o is MsgDeleteClientCreatorAmino;
encode(message: MsgDeleteClientCreator, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgDeleteClientCreator;
fromPartial(object: DeepPartial<MsgDeleteClientCreator>): MsgDeleteClientCreator;
fromAmino(object: MsgDeleteClientCreatorAmino): MsgDeleteClientCreator;
toAmino(message: MsgDeleteClientCreator): MsgDeleteClientCreatorAmino;
fromAminoMsg(object: MsgDeleteClientCreatorAminoMsg): MsgDeleteClientCreator;
toAminoMsg(message: MsgDeleteClientCreator): MsgDeleteClientCreatorAminoMsg;
fromProtoMsg(message: MsgDeleteClientCreatorProtoMsg): MsgDeleteClientCreator;
toProto(message: MsgDeleteClientCreator): Uint8Array;
toProtoMsg(message: MsgDeleteClientCreator): MsgDeleteClientCreatorProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgDeleteClientCreatorResponse defines the Msg/DeleteClientCreator response type.
* @name MsgDeleteClientCreatorResponse
* @package ibc.core.client.v1
* @see proto type: ibc.core.client.v1.MsgDeleteClientCreatorResponse
*/
export declare const MsgDeleteClientCreatorResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgDeleteClientCreatorResponse;
isAmino(o: any): o is MsgDeleteClientCreatorResponseAmino;
encode(_: MsgDeleteClientCreatorResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgDeleteClientCreatorResponse;
fromPartial(_: DeepPartial<MsgDeleteClientCreatorResponse>): MsgDeleteClientCreatorResponse;
fromAmino(_: MsgDeleteClientCreatorResponseAmino): MsgDeleteClientCreatorResponse;
toAmino(_: MsgDeleteClientCreatorResponse): MsgDeleteClientCreatorResponseAmino;
fromAminoMsg(object: MsgDeleteClientCreatorResponseAminoMsg): MsgDeleteClientCreatorResponse;
toAminoMsg(message: MsgDeleteClientCreatorResponse): MsgDeleteClientCreatorResponseAminoMsg;
fromProtoMsg(message: MsgDeleteClientCreatorResponseProtoMsg): MsgDeleteClientCreatorResponse;
toProto(message: MsgDeleteClientCreatorResponse): Uint8Array;
toProtoMsg(message: MsgDeleteClientCreatorResponse): MsgDeleteClientCreatorResponseProtoMsg;
registerTypeUrl(): void;
};