interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
1,411 lines • 89.4 kB
TypeScript
import { Channel, ChannelAmino, Packet, PacketAmino, State } from "./channel";
import { Height, HeightAmino, Params, ParamsAmino } from "../../client/v1/client";
import { UpgradeFields, UpgradeFieldsAmino, Upgrade, UpgradeAmino, ErrorReceipt, ErrorReceiptAmino } from "./upgrade";
import { BinaryReader, BinaryWriter } from "../../../../binary";
import { DeepPartial } from "../../../../helpers";
/** ResponseResultType defines the possible outcomes of the execution of a message */
export declare enum ResponseResultType {
/** RESPONSE_RESULT_TYPE_UNSPECIFIED - Default zero value enumeration */
RESPONSE_RESULT_TYPE_UNSPECIFIED = 0,
/** RESPONSE_RESULT_TYPE_NOOP - The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) */
RESPONSE_RESULT_TYPE_NOOP = 1,
/** RESPONSE_RESULT_TYPE_SUCCESS - The message was executed successfully */
RESPONSE_RESULT_TYPE_SUCCESS = 2,
/** RESPONSE_RESULT_TYPE_FAILURE - The message was executed unsuccessfully */
RESPONSE_RESULT_TYPE_FAILURE = 3,
UNRECOGNIZED = -1
}
export declare const ResponseResultTypeAmino: typeof ResponseResultType;
export declare function responseResultTypeFromJSON(object: any): ResponseResultType;
export declare function responseResultTypeToJSON(object: ResponseResultType): string;
/**
* MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It
* is called by a relayer on Chain A.
* @name MsgChannelOpenInit
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenInit
*/
export interface MsgChannelOpenInit {
portId: string;
channel: Channel;
signer: string;
}
export interface MsgChannelOpenInitProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit";
value: Uint8Array;
}
/**
* MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It
* is called by a relayer on Chain A.
* @name MsgChannelOpenInitAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenInit
*/
export interface MsgChannelOpenInitAmino {
port_id: string;
channel: ChannelAmino;
signer: string;
}
export interface MsgChannelOpenInitAminoMsg {
type: "cosmos-sdk/MsgChannelOpenInit";
value: MsgChannelOpenInitAmino;
}
/**
* MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type.
* @name MsgChannelOpenInitResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenInitResponse
*/
export interface MsgChannelOpenInitResponse {
channelId: string;
version: string;
}
export interface MsgChannelOpenInitResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInitResponse";
value: Uint8Array;
}
/**
* MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type.
* @name MsgChannelOpenInitResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenInitResponse
*/
export interface MsgChannelOpenInitResponseAmino {
channel_id: string;
version: string;
}
export interface MsgChannelOpenInitResponseAminoMsg {
type: "cosmos-sdk/MsgChannelOpenInitResponse";
value: MsgChannelOpenInitResponseAmino;
}
/**
* MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel
* on Chain B. The version field within the Channel field has been deprecated. Its
* value will be ignored by core IBC.
* @name MsgChannelOpenTry
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenTry
*/
export interface MsgChannelOpenTry {
portId: string;
/**
* Deprecated: this field is unused. Crossing hello's are no longer supported in core IBC.
* @deprecated
*/
previousChannelId: string;
/**
* NOTE: the version field within the channel has been deprecated. Its value will be ignored by core IBC.
*/
channel: Channel;
counterpartyVersion: string;
proofInit: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgChannelOpenTryProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry";
value: Uint8Array;
}
/**
* MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel
* on Chain B. The version field within the Channel field has been deprecated. Its
* value will be ignored by core IBC.
* @name MsgChannelOpenTryAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenTry
*/
export interface MsgChannelOpenTryAmino {
port_id: string;
/**
* Deprecated: this field is unused. Crossing hello's are no longer supported in core IBC.
* @deprecated
*/
previous_channel_id: string;
/**
* NOTE: the version field within the channel has been deprecated. Its value will be ignored by core IBC.
*/
channel: ChannelAmino;
counterparty_version: string;
proof_init: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgChannelOpenTryAminoMsg {
type: "cosmos-sdk/MsgChannelOpenTry";
value: MsgChannelOpenTryAmino;
}
/**
* MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type.
* @name MsgChannelOpenTryResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenTryResponse
*/
export interface MsgChannelOpenTryResponse {
version: string;
channelId: string;
}
export interface MsgChannelOpenTryResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTryResponse";
value: Uint8Array;
}
/**
* MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type.
* @name MsgChannelOpenTryResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenTryResponse
*/
export interface MsgChannelOpenTryResponseAmino {
version: string;
channel_id: string;
}
export interface MsgChannelOpenTryResponseAminoMsg {
type: "cosmos-sdk/MsgChannelOpenTryResponse";
value: MsgChannelOpenTryResponseAmino;
}
/**
* MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge
* the change of channel state to TRYOPEN on Chain B.
* WARNING: a channel upgrade MUST NOT initialize an upgrade for this channel
* in the same block as executing this message otherwise the counterparty will
* be incapable of opening.
* @name MsgChannelOpenAck
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenAck
*/
export interface MsgChannelOpenAck {
portId: string;
channelId: string;
counterpartyChannelId: string;
counterpartyVersion: string;
proofTry: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgChannelOpenAckProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck";
value: Uint8Array;
}
/**
* MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge
* the change of channel state to TRYOPEN on Chain B.
* WARNING: a channel upgrade MUST NOT initialize an upgrade for this channel
* in the same block as executing this message otherwise the counterparty will
* be incapable of opening.
* @name MsgChannelOpenAckAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenAck
*/
export interface MsgChannelOpenAckAmino {
port_id: string;
channel_id: string;
counterparty_channel_id: string;
counterparty_version: string;
proof_try: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgChannelOpenAckAminoMsg {
type: "cosmos-sdk/MsgChannelOpenAck";
value: MsgChannelOpenAckAmino;
}
/**
* MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type.
* @name MsgChannelOpenAckResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenAckResponse
*/
export interface MsgChannelOpenAckResponse {
}
export interface MsgChannelOpenAckResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAckResponse";
value: Uint8Array;
}
/**
* MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type.
* @name MsgChannelOpenAckResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenAckResponse
*/
export interface MsgChannelOpenAckResponseAmino {
}
export interface MsgChannelOpenAckResponseAminoMsg {
type: "cosmos-sdk/MsgChannelOpenAckResponse";
value: MsgChannelOpenAckResponseAmino;
}
/**
* MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to
* acknowledge the change of channel state to OPEN on Chain A.
* @name MsgChannelOpenConfirm
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenConfirm
*/
export interface MsgChannelOpenConfirm {
portId: string;
channelId: string;
proofAck: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgChannelOpenConfirmProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm";
value: Uint8Array;
}
/**
* MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to
* acknowledge the change of channel state to OPEN on Chain A.
* @name MsgChannelOpenConfirmAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenConfirm
*/
export interface MsgChannelOpenConfirmAmino {
port_id: string;
channel_id: string;
proof_ack: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgChannelOpenConfirmAminoMsg {
type: "cosmos-sdk/MsgChannelOpenConfirm";
value: MsgChannelOpenConfirmAmino;
}
/**
* MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response
* type.
* @name MsgChannelOpenConfirmResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenConfirmResponse
*/
export interface MsgChannelOpenConfirmResponse {
}
export interface MsgChannelOpenConfirmResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirmResponse";
value: Uint8Array;
}
/**
* MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response
* type.
* @name MsgChannelOpenConfirmResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenConfirmResponse
*/
export interface MsgChannelOpenConfirmResponseAmino {
}
export interface MsgChannelOpenConfirmResponseAminoMsg {
type: "cosmos-sdk/MsgChannelOpenConfirmResponse";
value: MsgChannelOpenConfirmResponseAmino;
}
/**
* MsgChannelCloseInit defines a msg sent by a Relayer to Chain A
* to close a channel with Chain B.
* @name MsgChannelCloseInit
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelCloseInit
*/
export interface MsgChannelCloseInit {
portId: string;
channelId: string;
signer: string;
}
export interface MsgChannelCloseInitProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit";
value: Uint8Array;
}
/**
* MsgChannelCloseInit defines a msg sent by a Relayer to Chain A
* to close a channel with Chain B.
* @name MsgChannelCloseInitAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelCloseInit
*/
export interface MsgChannelCloseInitAmino {
port_id: string;
channel_id: string;
signer: string;
}
export interface MsgChannelCloseInitAminoMsg {
type: "cosmos-sdk/MsgChannelCloseInit";
value: MsgChannelCloseInitAmino;
}
/**
* MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type.
* @name MsgChannelCloseInitResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelCloseInitResponse
*/
export interface MsgChannelCloseInitResponse {
}
export interface MsgChannelCloseInitResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInitResponse";
value: Uint8Array;
}
/**
* MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type.
* @name MsgChannelCloseInitResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelCloseInitResponse
*/
export interface MsgChannelCloseInitResponseAmino {
}
export interface MsgChannelCloseInitResponseAminoMsg {
type: "cosmos-sdk/MsgChannelCloseInitResponse";
value: MsgChannelCloseInitResponseAmino;
}
/**
* MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B
* to acknowledge the change of channel state to CLOSED on Chain A.
* @name MsgChannelCloseConfirm
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelCloseConfirm
*/
export interface MsgChannelCloseConfirm {
portId: string;
channelId: string;
proofInit: Uint8Array;
proofHeight: Height;
signer: string;
counterpartyUpgradeSequence: bigint;
}
export interface MsgChannelCloseConfirmProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm";
value: Uint8Array;
}
/**
* MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B
* to acknowledge the change of channel state to CLOSED on Chain A.
* @name MsgChannelCloseConfirmAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelCloseConfirm
*/
export interface MsgChannelCloseConfirmAmino {
port_id: string;
channel_id: string;
proof_init: string;
proof_height: HeightAmino;
signer: string;
counterparty_upgrade_sequence: string;
}
export interface MsgChannelCloseConfirmAminoMsg {
type: "cosmos-sdk/MsgChannelCloseConfirm";
value: MsgChannelCloseConfirmAmino;
}
/**
* MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response
* type.
* @name MsgChannelCloseConfirmResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelCloseConfirmResponse
*/
export interface MsgChannelCloseConfirmResponse {
}
export interface MsgChannelCloseConfirmResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirmResponse";
value: Uint8Array;
}
/**
* MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response
* type.
* @name MsgChannelCloseConfirmResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelCloseConfirmResponse
*/
export interface MsgChannelCloseConfirmResponseAmino {
}
export interface MsgChannelCloseConfirmResponseAminoMsg {
type: "cosmos-sdk/MsgChannelCloseConfirmResponse";
value: MsgChannelCloseConfirmResponseAmino;
}
/**
* MsgRecvPacket receives incoming IBC packet
* @name MsgRecvPacket
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgRecvPacket
*/
export interface MsgRecvPacket {
packet: Packet;
proofCommitment: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgRecvPacketProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgRecvPacket";
value: Uint8Array;
}
/**
* MsgRecvPacket receives incoming IBC packet
* @name MsgRecvPacketAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgRecvPacket
*/
export interface MsgRecvPacketAmino {
packet: PacketAmino;
proof_commitment: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgRecvPacketAminoMsg {
type: "cosmos-sdk/MsgRecvPacket";
value: MsgRecvPacketAmino;
}
/**
* MsgRecvPacketResponse defines the Msg/RecvPacket response type.
* @name MsgRecvPacketResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgRecvPacketResponse
*/
export interface MsgRecvPacketResponse {
result: ResponseResultType;
}
export interface MsgRecvPacketResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgRecvPacketResponse";
value: Uint8Array;
}
/**
* MsgRecvPacketResponse defines the Msg/RecvPacket response type.
* @name MsgRecvPacketResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgRecvPacketResponse
*/
export interface MsgRecvPacketResponseAmino {
result: ResponseResultType;
}
export interface MsgRecvPacketResponseAminoMsg {
type: "cosmos-sdk/MsgRecvPacketResponse";
value: MsgRecvPacketResponseAmino;
}
/**
* MsgTimeout receives timed-out packet
* @name MsgTimeout
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgTimeout
*/
export interface MsgTimeout {
packet: Packet;
proofUnreceived: Uint8Array;
proofHeight: Height;
nextSequenceRecv: bigint;
signer: string;
}
export interface MsgTimeoutProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgTimeout";
value: Uint8Array;
}
/**
* MsgTimeout receives timed-out packet
* @name MsgTimeoutAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgTimeout
*/
export interface MsgTimeoutAmino {
packet: PacketAmino;
proof_unreceived: string;
proof_height: HeightAmino;
next_sequence_recv: string;
signer: string;
}
export interface MsgTimeoutAminoMsg {
type: "cosmos-sdk/MsgTimeout";
value: MsgTimeoutAmino;
}
/**
* MsgTimeoutResponse defines the Msg/Timeout response type.
* @name MsgTimeoutResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgTimeoutResponse
*/
export interface MsgTimeoutResponse {
result: ResponseResultType;
}
export interface MsgTimeoutResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgTimeoutResponse";
value: Uint8Array;
}
/**
* MsgTimeoutResponse defines the Msg/Timeout response type.
* @name MsgTimeoutResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgTimeoutResponse
*/
export interface MsgTimeoutResponseAmino {
result: ResponseResultType;
}
export interface MsgTimeoutResponseAminoMsg {
type: "cosmos-sdk/MsgTimeoutResponse";
value: MsgTimeoutResponseAmino;
}
/**
* MsgTimeoutOnClose timed-out packet upon counterparty channel closure.
* @name MsgTimeoutOnClose
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgTimeoutOnClose
*/
export interface MsgTimeoutOnClose {
packet: Packet;
proofUnreceived: Uint8Array;
proofClose: Uint8Array;
proofHeight: Height;
nextSequenceRecv: bigint;
signer: string;
counterpartyUpgradeSequence: bigint;
}
export interface MsgTimeoutOnCloseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose";
value: Uint8Array;
}
/**
* MsgTimeoutOnClose timed-out packet upon counterparty channel closure.
* @name MsgTimeoutOnCloseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgTimeoutOnClose
*/
export interface MsgTimeoutOnCloseAmino {
packet: PacketAmino;
proof_unreceived: string;
proof_close: string;
proof_height: HeightAmino;
next_sequence_recv: string;
signer: string;
counterparty_upgrade_sequence: string;
}
export interface MsgTimeoutOnCloseAminoMsg {
type: "cosmos-sdk/MsgTimeoutOnClose";
value: MsgTimeoutOnCloseAmino;
}
/**
* MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type.
* @name MsgTimeoutOnCloseResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgTimeoutOnCloseResponse
*/
export interface MsgTimeoutOnCloseResponse {
result: ResponseResultType;
}
export interface MsgTimeoutOnCloseResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnCloseResponse";
value: Uint8Array;
}
/**
* MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type.
* @name MsgTimeoutOnCloseResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgTimeoutOnCloseResponse
*/
export interface MsgTimeoutOnCloseResponseAmino {
result: ResponseResultType;
}
export interface MsgTimeoutOnCloseResponseAminoMsg {
type: "cosmos-sdk/MsgTimeoutOnCloseResponse";
value: MsgTimeoutOnCloseResponseAmino;
}
/**
* MsgAcknowledgement receives incoming IBC acknowledgement
* @name MsgAcknowledgement
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgAcknowledgement
*/
export interface MsgAcknowledgement {
packet: Packet;
acknowledgement: Uint8Array;
proofAcked: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgAcknowledgementProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement";
value: Uint8Array;
}
/**
* MsgAcknowledgement receives incoming IBC acknowledgement
* @name MsgAcknowledgementAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgAcknowledgement
*/
export interface MsgAcknowledgementAmino {
packet: PacketAmino;
acknowledgement: string;
proof_acked: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgAcknowledgementAminoMsg {
type: "cosmos-sdk/MsgAcknowledgement";
value: MsgAcknowledgementAmino;
}
/**
* MsgAcknowledgementResponse defines the Msg/Acknowledgement response type.
* @name MsgAcknowledgementResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgAcknowledgementResponse
*/
export interface MsgAcknowledgementResponse {
result: ResponseResultType;
}
export interface MsgAcknowledgementResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgementResponse";
value: Uint8Array;
}
/**
* MsgAcknowledgementResponse defines the Msg/Acknowledgement response type.
* @name MsgAcknowledgementResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgAcknowledgementResponse
*/
export interface MsgAcknowledgementResponseAmino {
result: ResponseResultType;
}
export interface MsgAcknowledgementResponseAminoMsg {
type: "cosmos-sdk/MsgAcknowledgementResponse";
value: MsgAcknowledgementResponseAmino;
}
/**
* MsgChannelUpgradeInit defines the request type for the ChannelUpgradeInit rpc
* WARNING: Initializing a channel upgrade in the same block as opening the channel
* may result in the counterparty being incapable of opening.
* @name MsgChannelUpgradeInit
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeInit
*/
export interface MsgChannelUpgradeInit {
portId: string;
channelId: string;
fields: UpgradeFields;
signer: string;
}
export interface MsgChannelUpgradeInitProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeInit";
value: Uint8Array;
}
/**
* MsgChannelUpgradeInit defines the request type for the ChannelUpgradeInit rpc
* WARNING: Initializing a channel upgrade in the same block as opening the channel
* may result in the counterparty being incapable of opening.
* @name MsgChannelUpgradeInitAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeInit
*/
export interface MsgChannelUpgradeInitAmino {
port_id: string;
channel_id: string;
fields: UpgradeFieldsAmino;
signer: string;
}
export interface MsgChannelUpgradeInitAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeInit";
value: MsgChannelUpgradeInitAmino;
}
/**
* MsgChannelUpgradeInitResponse defines the MsgChannelUpgradeInit response type
* @name MsgChannelUpgradeInitResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeInitResponse
*/
export interface MsgChannelUpgradeInitResponse {
upgrade: Upgrade;
upgradeSequence: bigint;
}
export interface MsgChannelUpgradeInitResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeInitResponse";
value: Uint8Array;
}
/**
* MsgChannelUpgradeInitResponse defines the MsgChannelUpgradeInit response type
* @name MsgChannelUpgradeInitResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeInitResponse
*/
export interface MsgChannelUpgradeInitResponseAmino {
upgrade: UpgradeAmino;
upgrade_sequence: string;
}
export interface MsgChannelUpgradeInitResponseAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeInitResponse";
value: MsgChannelUpgradeInitResponseAmino;
}
/**
* MsgChannelUpgradeTry defines the request type for the ChannelUpgradeTry rpc
* @name MsgChannelUpgradeTry
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeTry
*/
export interface MsgChannelUpgradeTry {
portId: string;
channelId: string;
proposedUpgradeConnectionHops: string[];
counterpartyUpgradeFields: UpgradeFields;
counterpartyUpgradeSequence: bigint;
proofChannel: Uint8Array;
proofUpgrade: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgChannelUpgradeTryProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTry";
value: Uint8Array;
}
/**
* MsgChannelUpgradeTry defines the request type for the ChannelUpgradeTry rpc
* @name MsgChannelUpgradeTryAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeTry
*/
export interface MsgChannelUpgradeTryAmino {
port_id: string;
channel_id: string;
proposed_upgrade_connection_hops: string[];
counterparty_upgrade_fields: UpgradeFieldsAmino;
counterparty_upgrade_sequence: string;
proof_channel: string;
proof_upgrade: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgChannelUpgradeTryAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeTry";
value: MsgChannelUpgradeTryAmino;
}
/**
* MsgChannelUpgradeTryResponse defines the MsgChannelUpgradeTry response type
* @name MsgChannelUpgradeTryResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeTryResponse
*/
export interface MsgChannelUpgradeTryResponse {
upgrade: Upgrade;
upgradeSequence: bigint;
result: ResponseResultType;
}
export interface MsgChannelUpgradeTryResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTryResponse";
value: Uint8Array;
}
/**
* MsgChannelUpgradeTryResponse defines the MsgChannelUpgradeTry response type
* @name MsgChannelUpgradeTryResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeTryResponse
*/
export interface MsgChannelUpgradeTryResponseAmino {
upgrade: UpgradeAmino;
upgrade_sequence: string;
result: ResponseResultType;
}
export interface MsgChannelUpgradeTryResponseAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeTryResponse";
value: MsgChannelUpgradeTryResponseAmino;
}
/**
* MsgChannelUpgradeAck defines the request type for the ChannelUpgradeAck rpc
* @name MsgChannelUpgradeAck
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeAck
*/
export interface MsgChannelUpgradeAck {
portId: string;
channelId: string;
counterpartyUpgrade: Upgrade;
proofChannel: Uint8Array;
proofUpgrade: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgChannelUpgradeAckProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeAck";
value: Uint8Array;
}
/**
* MsgChannelUpgradeAck defines the request type for the ChannelUpgradeAck rpc
* @name MsgChannelUpgradeAckAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeAck
*/
export interface MsgChannelUpgradeAckAmino {
port_id: string;
channel_id: string;
counterparty_upgrade: UpgradeAmino;
proof_channel: string;
proof_upgrade: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgChannelUpgradeAckAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeAck";
value: MsgChannelUpgradeAckAmino;
}
/**
* MsgChannelUpgradeAckResponse defines MsgChannelUpgradeAck response type
* @name MsgChannelUpgradeAckResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeAckResponse
*/
export interface MsgChannelUpgradeAckResponse {
result: ResponseResultType;
}
export interface MsgChannelUpgradeAckResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeAckResponse";
value: Uint8Array;
}
/**
* MsgChannelUpgradeAckResponse defines MsgChannelUpgradeAck response type
* @name MsgChannelUpgradeAckResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeAckResponse
*/
export interface MsgChannelUpgradeAckResponseAmino {
result: ResponseResultType;
}
export interface MsgChannelUpgradeAckResponseAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeAckResponse";
value: MsgChannelUpgradeAckResponseAmino;
}
/**
* MsgChannelUpgradeConfirm defines the request type for the ChannelUpgradeConfirm rpc
* @name MsgChannelUpgradeConfirm
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeConfirm
*/
export interface MsgChannelUpgradeConfirm {
portId: string;
channelId: string;
counterpartyChannelState: State;
counterpartyUpgrade: Upgrade;
proofChannel: Uint8Array;
proofUpgrade: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgChannelUpgradeConfirmProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeConfirm";
value: Uint8Array;
}
/**
* MsgChannelUpgradeConfirm defines the request type for the ChannelUpgradeConfirm rpc
* @name MsgChannelUpgradeConfirmAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeConfirm
*/
export interface MsgChannelUpgradeConfirmAmino {
port_id: string;
channel_id: string;
counterparty_channel_state: State;
counterparty_upgrade: UpgradeAmino;
proof_channel: string;
proof_upgrade: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgChannelUpgradeConfirmAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeConfirm";
value: MsgChannelUpgradeConfirmAmino;
}
/**
* MsgChannelUpgradeConfirmResponse defines MsgChannelUpgradeConfirm response type
* @name MsgChannelUpgradeConfirmResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse
*/
export interface MsgChannelUpgradeConfirmResponse {
result: ResponseResultType;
}
export interface MsgChannelUpgradeConfirmResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse";
value: Uint8Array;
}
/**
* MsgChannelUpgradeConfirmResponse defines MsgChannelUpgradeConfirm response type
* @name MsgChannelUpgradeConfirmResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse
*/
export interface MsgChannelUpgradeConfirmResponseAmino {
result: ResponseResultType;
}
export interface MsgChannelUpgradeConfirmResponseAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeConfirmResponse";
value: MsgChannelUpgradeConfirmResponseAmino;
}
/**
* MsgChannelUpgradeOpen defines the request type for the ChannelUpgradeOpen rpc
* @name MsgChannelUpgradeOpen
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeOpen
*/
export interface MsgChannelUpgradeOpen {
portId: string;
channelId: string;
counterpartyChannelState: State;
counterpartyUpgradeSequence: bigint;
proofChannel: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgChannelUpgradeOpenProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeOpen";
value: Uint8Array;
}
/**
* MsgChannelUpgradeOpen defines the request type for the ChannelUpgradeOpen rpc
* @name MsgChannelUpgradeOpenAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeOpen
*/
export interface MsgChannelUpgradeOpenAmino {
port_id: string;
channel_id: string;
counterparty_channel_state: State;
counterparty_upgrade_sequence: string;
proof_channel: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgChannelUpgradeOpenAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeOpen";
value: MsgChannelUpgradeOpenAmino;
}
/**
* MsgChannelUpgradeOpenResponse defines the MsgChannelUpgradeOpen response type
* @name MsgChannelUpgradeOpenResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeOpenResponse
*/
export interface MsgChannelUpgradeOpenResponse {
}
export interface MsgChannelUpgradeOpenResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeOpenResponse";
value: Uint8Array;
}
/**
* MsgChannelUpgradeOpenResponse defines the MsgChannelUpgradeOpen response type
* @name MsgChannelUpgradeOpenResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeOpenResponse
*/
export interface MsgChannelUpgradeOpenResponseAmino {
}
export interface MsgChannelUpgradeOpenResponseAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeOpenResponse";
value: MsgChannelUpgradeOpenResponseAmino;
}
/**
* MsgChannelUpgradeTimeout defines the request type for the ChannelUpgradeTimeout rpc
* @name MsgChannelUpgradeTimeout
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeTimeout
*/
export interface MsgChannelUpgradeTimeout {
portId: string;
channelId: string;
counterpartyChannel: Channel;
proofChannel: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgChannelUpgradeTimeoutProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTimeout";
value: Uint8Array;
}
/**
* MsgChannelUpgradeTimeout defines the request type for the ChannelUpgradeTimeout rpc
* @name MsgChannelUpgradeTimeoutAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeTimeout
*/
export interface MsgChannelUpgradeTimeoutAmino {
port_id: string;
channel_id: string;
counterparty_channel: ChannelAmino;
proof_channel: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgChannelUpgradeTimeoutAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeTimeout";
value: MsgChannelUpgradeTimeoutAmino;
}
/**
* MsgChannelUpgradeTimeoutResponse defines the MsgChannelUpgradeTimeout response type
* @name MsgChannelUpgradeTimeoutResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse
*/
export interface MsgChannelUpgradeTimeoutResponse {
}
export interface MsgChannelUpgradeTimeoutResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse";
value: Uint8Array;
}
/**
* MsgChannelUpgradeTimeoutResponse defines the MsgChannelUpgradeTimeout response type
* @name MsgChannelUpgradeTimeoutResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse
*/
export interface MsgChannelUpgradeTimeoutResponseAmino {
}
export interface MsgChannelUpgradeTimeoutResponseAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeTimeoutResponse";
value: MsgChannelUpgradeTimeoutResponseAmino;
}
/**
* MsgChannelUpgradeCancel defines the request type for the ChannelUpgradeCancel rpc
* @name MsgChannelUpgradeCancel
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeCancel
*/
export interface MsgChannelUpgradeCancel {
portId: string;
channelId: string;
errorReceipt: ErrorReceipt;
proofErrorReceipt: Uint8Array;
proofHeight: Height;
signer: string;
}
export interface MsgChannelUpgradeCancelProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeCancel";
value: Uint8Array;
}
/**
* MsgChannelUpgradeCancel defines the request type for the ChannelUpgradeCancel rpc
* @name MsgChannelUpgradeCancelAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeCancel
*/
export interface MsgChannelUpgradeCancelAmino {
port_id: string;
channel_id: string;
error_receipt: ErrorReceiptAmino;
proof_error_receipt: string;
proof_height: HeightAmino;
signer: string;
}
export interface MsgChannelUpgradeCancelAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeCancel";
value: MsgChannelUpgradeCancelAmino;
}
/**
* MsgChannelUpgradeCancelResponse defines the MsgChannelUpgradeCancel response type
* @name MsgChannelUpgradeCancelResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeCancelResponse
*/
export interface MsgChannelUpgradeCancelResponse {
}
export interface MsgChannelUpgradeCancelResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeCancelResponse";
value: Uint8Array;
}
/**
* MsgChannelUpgradeCancelResponse defines the MsgChannelUpgradeCancel response type
* @name MsgChannelUpgradeCancelResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelUpgradeCancelResponse
*/
export interface MsgChannelUpgradeCancelResponseAmino {
}
export interface MsgChannelUpgradeCancelResponseAminoMsg {
type: "cosmos-sdk/MsgChannelUpgradeCancelResponse";
value: MsgChannelUpgradeCancelResponseAmino;
}
/**
* MsgUpdateParams is the MsgUpdateParams request type.
* @name MsgUpdateParams
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgUpdateParams
*/
export interface MsgUpdateParams {
/**
* authority is the address that controls the module (defaults to x/gov unless overwritten).
*/
authority: string;
/**
* params defines the channel parameters to update.
*
* NOTE: All parameters must be supplied.
*/
params: Params;
}
export interface MsgUpdateParamsProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgUpdateParams";
value: Uint8Array;
}
/**
* MsgUpdateParams is the MsgUpdateParams request type.
* @name MsgUpdateParamsAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgUpdateParams
*/
export interface MsgUpdateParamsAmino {
/**
* authority is the address that controls the module (defaults to x/gov unless overwritten).
*/
authority: string;
/**
* params defines the channel 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.channel.v1
* @see proto type: ibc.core.channel.v1.MsgUpdateParamsResponse
*/
export interface MsgUpdateParamsResponse {
}
export interface MsgUpdateParamsResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgUpdateParamsResponse";
value: Uint8Array;
}
/**
* MsgUpdateParamsResponse defines the MsgUpdateParams response type.
* @name MsgUpdateParamsResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgUpdateParamsResponse
*/
export interface MsgUpdateParamsResponseAmino {
}
export interface MsgUpdateParamsResponseAminoMsg {
type: "cosmos-sdk/MsgUpdateParamsResponse";
value: MsgUpdateParamsResponseAmino;
}
/**
* MsgPruneAcknowledgements defines the request type for the PruneAcknowledgements rpc.
* @name MsgPruneAcknowledgements
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgPruneAcknowledgements
*/
export interface MsgPruneAcknowledgements {
portId: string;
channelId: string;
limit: bigint;
signer: string;
}
export interface MsgPruneAcknowledgementsProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgPruneAcknowledgements";
value: Uint8Array;
}
/**
* MsgPruneAcknowledgements defines the request type for the PruneAcknowledgements rpc.
* @name MsgPruneAcknowledgementsAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgPruneAcknowledgements
*/
export interface MsgPruneAcknowledgementsAmino {
port_id: string;
channel_id: string;
limit: string;
signer: string;
}
export interface MsgPruneAcknowledgementsAminoMsg {
type: "cosmos-sdk/MsgPruneAcknowledgements";
value: MsgPruneAcknowledgementsAmino;
}
/**
* MsgPruneAcknowledgementsResponse defines the response type for the PruneAcknowledgements rpc.
* @name MsgPruneAcknowledgementsResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgPruneAcknowledgementsResponse
*/
export interface MsgPruneAcknowledgementsResponse {
/**
* Number of sequences pruned (includes both packet acknowledgements and packet receipts where appropriate).
*/
totalPrunedSequences: bigint;
/**
* Number of sequences left after pruning.
*/
totalRemainingSequences: bigint;
}
export interface MsgPruneAcknowledgementsResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.MsgPruneAcknowledgementsResponse";
value: Uint8Array;
}
/**
* MsgPruneAcknowledgementsResponse defines the response type for the PruneAcknowledgements rpc.
* @name MsgPruneAcknowledgementsResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgPruneAcknowledgementsResponse
*/
export interface MsgPruneAcknowledgementsResponseAmino {
/**
* Number of sequences pruned (includes both packet acknowledgements and packet receipts where appropriate).
*/
total_pruned_sequences: string;
/**
* Number of sequences left after pruning.
*/
total_remaining_sequences: string;
}
export interface MsgPruneAcknowledgementsResponseAminoMsg {
type: "cosmos-sdk/MsgPruneAcknowledgementsResponse";
value: MsgPruneAcknowledgementsResponseAmino;
}
/**
* MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It
* is called by a relayer on Chain A.
* @name MsgChannelOpenInit
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenInit
*/
export declare const MsgChannelOpenInit: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgChannelOpenInit;
isAmino(o: any): o is MsgChannelOpenInitAmino;
encode(message: MsgChannelOpenInit, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenInit;
fromPartial(object: DeepPartial<MsgChannelOpenInit>): MsgChannelOpenInit;
fromAmino(object: MsgChannelOpenInitAmino): MsgChannelOpenInit;
toAmino(message: MsgChannelOpenInit): MsgChannelOpenInitAmino;
fromAminoMsg(object: MsgChannelOpenInitAminoMsg): MsgChannelOpenInit;
toAminoMsg(message: MsgChannelOpenInit): MsgChannelOpenInitAminoMsg;
fromProtoMsg(message: MsgChannelOpenInitProtoMsg): MsgChannelOpenInit;
toProto(message: MsgChannelOpenInit): Uint8Array;
toProtoMsg(message: MsgChannelOpenInit): MsgChannelOpenInitProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type.
* @name MsgChannelOpenInitResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenInitResponse
*/
export declare const MsgChannelOpenInitResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgChannelOpenInitResponse;
isAmino(o: any): o is MsgChannelOpenInitResponseAmino;
encode(message: MsgChannelOpenInitResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenInitResponse;
fromPartial(object: DeepPartial<MsgChannelOpenInitResponse>): MsgChannelOpenInitResponse;
fromAmino(object: MsgChannelOpenInitResponseAmino): MsgChannelOpenInitResponse;
toAmino(message: MsgChannelOpenInitResponse): MsgChannelOpenInitResponseAmino;
fromAminoMsg(object: MsgChannelOpenInitResponseAminoMsg): MsgChannelOpenInitResponse;
toAminoMsg(message: MsgChannelOpenInitResponse): MsgChannelOpenInitResponseAminoMsg;
fromProtoMsg(message: MsgChannelOpenInitResponseProtoMsg): MsgChannelOpenInitResponse;
toProto(message: MsgChannelOpenInitResponse): Uint8Array;
toProtoMsg(message: MsgChannelOpenInitResponse): MsgChannelOpenInitResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel
* on Chain B. The version field within the Channel field has been deprecated. Its
* value will be ignored by core IBC.
* @name MsgChannelOpenTry
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenTry
*/
export declare const MsgChannelOpenTry: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgChannelOpenTry;
isAmino(o: any): o is MsgChannelOpenTryAmino;
encode(message: MsgChannelOpenTry, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenTry;
fromPartial(object: DeepPartial<MsgChannelOpenTry>): MsgChannelOpenTry;
fromAmino(object: MsgChannelOpenTryAmino): MsgChannelOpenTry;
toAmino(message: MsgChannelOpenTry): MsgChannelOpenTryAmino;
fromAminoMsg(object: MsgChannelOpenTryAminoMsg): MsgChannelOpenTry;
toAminoMsg(message: MsgChannelOpenTry): MsgChannelOpenTryAminoMsg;
fromProtoMsg(message: MsgChannelOpenTryProtoMsg): MsgChannelOpenTry;
toProto(message: MsgChannelOpenTry): Uint8Array;
toProtoMsg(message: MsgChannelOpenTry): MsgChannelOpenTryProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type.
* @name MsgChannelOpenTryResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenTryResponse
*/
export declare const MsgChannelOpenTryResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgChannelOpenTryResponse;
isAmino(o: any): o is MsgChannelOpenTryResponseAmino;
encode(message: MsgChannelOpenTryResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenTryResponse;
fromPartial(object: DeepPartial<MsgChannelOpenTryResponse>): MsgChannelOpenTryResponse;
fromAmino(object: MsgChannelOpenTryResponseAmino): MsgChannelOpenTryResponse;
toAmino(message: MsgChannelOpenTryResponse): MsgChannelOpenTryResponseAmino;
fromAminoMsg(object: MsgChannelOpenTryResponseAminoMsg): MsgChannelOpenTryResponse;
toAminoMsg(message: MsgChannelOpenTryResponse): MsgChannelOpenTryResponseAminoMsg;
fromProtoMsg(message: MsgChannelOpenTryResponseProtoMsg): MsgChannelOpenTryResponse;
toProto(message: MsgChannelOpenTryResponse): Uint8Array;
toProtoMsg(message: MsgChannelOpenTryResponse): MsgChannelOpenTryResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge
* the change of channel state to TRYOPEN on Chain B.
* WARNING: a channel upgrade MUST NOT initialize an upgrade for this channel
* in the same block as executing this message otherwise the counterparty will
* be incapable of opening.
* @name MsgChannelOpenAck
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenAck
*/
export declare const MsgChannelOpenAck: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgChannelOpenAck;
isAmino(o: any): o is MsgChannelOpenAckAmino;
encode(message: MsgChannelOpenAck, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenAck;
fromPartial(object: DeepPartial<MsgChannelOpenAck>): MsgChannelOpenAck;
fromAmino(object: MsgChannelOpenAckAmino): MsgChannelOpenAck;
toAmino(message: MsgChannelOpenAck): MsgChannelOpenAckAmino;
fromAminoMsg(object: MsgChannelOpenAckAminoMsg): MsgChannelOpenAck;
toAminoMsg(message: MsgChannelOpenAck): MsgChannelOpenAckAminoMsg;
fromProtoMsg(message: MsgChannelOpenAckProtoMsg): MsgChannelOpenAck;
toProto(message: MsgChannelOpenAck): Uint8Array;
toProtoMsg(message: MsgChannelOpenAck): MsgChannelOpenAckProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type.
* @name MsgChannelOpenAckResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenAckResponse
*/
export declare const MsgChannelOpenAckResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgChannelOpenAckResponse;
isAmino(o: any): o is MsgChannelOpenAckResponseAmino;
encode(_: MsgChannelOpenAckResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenAckResponse;
fromPartial(_: DeepPartial<MsgChannelOpenAckResponse>): MsgChannelOpenAckResponse;
fromAmino(_: MsgChannelOpenAckResponseAmino): MsgChannelOpenAckResponse;
toAmino(_: MsgChannelOpenAckResponse): MsgChannelOpenAckResponseAmino;
fromAminoMsg(object: MsgChannelOpenAckResponseAminoMsg): MsgChannelOpenAckResponse;
toAminoMsg(message: MsgChannelOpenAckResponse): MsgChannelOpenAckResponseAminoMsg;
fromProtoMsg(message: MsgChannelOpenAckResponseProtoMsg): MsgChannelOpenAckResponse;
toProto(message: MsgChannelOpenAckResponse): Uint8Array;
toProtoMsg(message: MsgChannelOpenAckResponse): MsgChannelOpenAckResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to
* acknowledge the change of channel state to OPEN on Chain A.
* @name MsgChannelOpenConfirm
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.MsgChannelOpenConfirm
*/
export declare const MsgChannelOpenConfirm: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgChannelOpenConfirm;
isAmino(o: any): o is MsgChannelOpenConfirmAmino;
encode(message: MsgChannelOpenConfirm, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenConfirm;
fromPartial(object: DeepPartial<MsgChannelOpenConfirm>): MsgChannelOpenConfirm;
fromAmino(object: MsgChannelOpenConfirmAmino): MsgChannelOpenConfirm;
toAmino(message: MsgChannelOpenConfirm): MsgChannelOpenConfirmAmino;
fromAminoMsg(object: MsgChannelOpenConfirmAminoMsg): MsgChannelOpenConfirm;
toAminoMsg(message: MsgChannelOpenConfirm): MsgChannelOpenConfirmAminoMsg;
fromProtoMsg(mess