import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Channel, Packet } from "./channel_pb.js"; import { Height } from "../../client/v1/client_pb.js"; /** * ResponseResultType defines the possible outcomes of the execution of a message * * @generated from enum ibc.core.channel.v1.ResponseResultType */ export declare enum ResponseResultType { /** * Default zero value enumeration * * @generated from enum value: RESPONSE_RESULT_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) * * @generated from enum value: RESPONSE_RESULT_TYPE_NOOP = 1; */ NOOP = 1, /** * The message was executed successfully * * @generated from enum value: RESPONSE_RESULT_TYPE_SUCCESS = 2; */ SUCCESS = 2, /** * The message was executed unsuccessfully * * @generated from enum value: RESPONSE_RESULT_TYPE_FAILURE = 3; */ FAILURE = 3 } /** * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It * is called by a relayer on Chain A. * * @generated from message ibc.core.channel.v1.MsgChannelOpenInit */ export declare class MsgChannelOpenInit extends Message { /** * @generated from field: string port_id = 1; */ portId: string; /** * @generated from field: ibc.core.channel.v1.Channel channel = 2; */ channel?: Channel; /** * @generated from field: string signer = 3; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelOpenInit"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelOpenInit; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelOpenInit; static fromJsonString(jsonString: string, options?: Partial): MsgChannelOpenInit; static equals(a: MsgChannelOpenInit | PlainMessage | undefined, b: MsgChannelOpenInit | PlainMessage | undefined): boolean; } /** * MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. * * @generated from message ibc.core.channel.v1.MsgChannelOpenInitResponse */ export declare class MsgChannelOpenInitResponse extends Message { /** * @generated from field: string channel_id = 1; */ channelId: string; /** * @generated from field: string version = 2; */ version: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelOpenInitResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelOpenInitResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelOpenInitResponse; static fromJsonString(jsonString: string, options?: Partial): MsgChannelOpenInitResponse; static equals(a: MsgChannelOpenInitResponse | PlainMessage | undefined, b: MsgChannelOpenInitResponse | PlainMessage | undefined): boolean; } /** * 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. * * @generated from message ibc.core.channel.v1.MsgChannelOpenTry */ export declare class MsgChannelOpenTry extends Message { /** * @generated from field: string port_id = 1; */ portId: string; /** * Deprecated: this field is unused. Crossing hello's are no longer supported in core IBC. * * @generated from field: string previous_channel_id = 2 [deprecated = true]; * @deprecated */ previousChannelId: string; /** * NOTE: the version field within the channel has been deprecated. Its value will be ignored by core IBC. * * @generated from field: ibc.core.channel.v1.Channel channel = 3; */ channel?: Channel; /** * @generated from field: string counterparty_version = 4; */ counterpartyVersion: string; /** * @generated from field: bytes proof_init = 5; */ proofInit: Uint8Array; /** * @generated from field: ibc.core.client.v1.Height proof_height = 6; */ proofHeight?: Height; /** * @generated from field: string signer = 7; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelOpenTry"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelOpenTry; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelOpenTry; static fromJsonString(jsonString: string, options?: Partial): MsgChannelOpenTry; static equals(a: MsgChannelOpenTry | PlainMessage | undefined, b: MsgChannelOpenTry | PlainMessage | undefined): boolean; } /** * MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. * * @generated from message ibc.core.channel.v1.MsgChannelOpenTryResponse */ export declare class MsgChannelOpenTryResponse extends Message { /** * @generated from field: string version = 1; */ version: string; /** * @generated from field: string channel_id = 2; */ channelId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelOpenTryResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelOpenTryResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelOpenTryResponse; static fromJsonString(jsonString: string, options?: Partial): MsgChannelOpenTryResponse; static equals(a: MsgChannelOpenTryResponse | PlainMessage | undefined, b: MsgChannelOpenTryResponse | PlainMessage | undefined): boolean; } /** * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge * the change of channel state to TRYOPEN on Chain B. * * @generated from message ibc.core.channel.v1.MsgChannelOpenAck */ export declare class MsgChannelOpenAck extends Message { /** * @generated from field: string port_id = 1; */ portId: string; /** * @generated from field: string channel_id = 2; */ channelId: string; /** * @generated from field: string counterparty_channel_id = 3; */ counterpartyChannelId: string; /** * @generated from field: string counterparty_version = 4; */ counterpartyVersion: string; /** * @generated from field: bytes proof_try = 5; */ proofTry: Uint8Array; /** * @generated from field: ibc.core.client.v1.Height proof_height = 6; */ proofHeight?: Height; /** * @generated from field: string signer = 7; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelOpenAck"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelOpenAck; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelOpenAck; static fromJsonString(jsonString: string, options?: Partial): MsgChannelOpenAck; static equals(a: MsgChannelOpenAck | PlainMessage | undefined, b: MsgChannelOpenAck | PlainMessage | undefined): boolean; } /** * MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. * * @generated from message ibc.core.channel.v1.MsgChannelOpenAckResponse */ export declare class MsgChannelOpenAckResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelOpenAckResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelOpenAckResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelOpenAckResponse; static fromJsonString(jsonString: string, options?: Partial): MsgChannelOpenAckResponse; static equals(a: MsgChannelOpenAckResponse | PlainMessage | undefined, b: MsgChannelOpenAckResponse | PlainMessage | undefined): boolean; } /** * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to * acknowledge the change of channel state to OPEN on Chain A. * * @generated from message ibc.core.channel.v1.MsgChannelOpenConfirm */ export declare class MsgChannelOpenConfirm extends Message { /** * @generated from field: string port_id = 1; */ portId: string; /** * @generated from field: string channel_id = 2; */ channelId: string; /** * @generated from field: bytes proof_ack = 3; */ proofAck: Uint8Array; /** * @generated from field: ibc.core.client.v1.Height proof_height = 4; */ proofHeight?: Height; /** * @generated from field: string signer = 5; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelOpenConfirm"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelOpenConfirm; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelOpenConfirm; static fromJsonString(jsonString: string, options?: Partial): MsgChannelOpenConfirm; static equals(a: MsgChannelOpenConfirm | PlainMessage | undefined, b: MsgChannelOpenConfirm | PlainMessage | undefined): boolean; } /** * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response * type. * * @generated from message ibc.core.channel.v1.MsgChannelOpenConfirmResponse */ export declare class MsgChannelOpenConfirmResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelOpenConfirmResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelOpenConfirmResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelOpenConfirmResponse; static fromJsonString(jsonString: string, options?: Partial): MsgChannelOpenConfirmResponse; static equals(a: MsgChannelOpenConfirmResponse | PlainMessage | undefined, b: MsgChannelOpenConfirmResponse | PlainMessage | undefined): boolean; } /** * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A * to close a channel with Chain B. * * @generated from message ibc.core.channel.v1.MsgChannelCloseInit */ export declare class MsgChannelCloseInit extends Message { /** * @generated from field: string port_id = 1; */ portId: string; /** * @generated from field: string channel_id = 2; */ channelId: string; /** * @generated from field: string signer = 3; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelCloseInit"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelCloseInit; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelCloseInit; static fromJsonString(jsonString: string, options?: Partial): MsgChannelCloseInit; static equals(a: MsgChannelCloseInit | PlainMessage | undefined, b: MsgChannelCloseInit | PlainMessage | undefined): boolean; } /** * MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. * * @generated from message ibc.core.channel.v1.MsgChannelCloseInitResponse */ export declare class MsgChannelCloseInitResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelCloseInitResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelCloseInitResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelCloseInitResponse; static fromJsonString(jsonString: string, options?: Partial): MsgChannelCloseInitResponse; static equals(a: MsgChannelCloseInitResponse | PlainMessage | undefined, b: MsgChannelCloseInitResponse | PlainMessage | undefined): boolean; } /** * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B * to acknowledge the change of channel state to CLOSED on Chain A. * * @generated from message ibc.core.channel.v1.MsgChannelCloseConfirm */ export declare class MsgChannelCloseConfirm extends Message { /** * @generated from field: string port_id = 1; */ portId: string; /** * @generated from field: string channel_id = 2; */ channelId: string; /** * @generated from field: bytes proof_init = 3; */ proofInit: Uint8Array; /** * @generated from field: ibc.core.client.v1.Height proof_height = 4; */ proofHeight?: Height; /** * @generated from field: string signer = 5; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelCloseConfirm"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelCloseConfirm; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelCloseConfirm; static fromJsonString(jsonString: string, options?: Partial): MsgChannelCloseConfirm; static equals(a: MsgChannelCloseConfirm | PlainMessage | undefined, b: MsgChannelCloseConfirm | PlainMessage | undefined): boolean; } /** * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response * type. * * @generated from message ibc.core.channel.v1.MsgChannelCloseConfirmResponse */ export declare class MsgChannelCloseConfirmResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgChannelCloseConfirmResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgChannelCloseConfirmResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgChannelCloseConfirmResponse; static fromJsonString(jsonString: string, options?: Partial): MsgChannelCloseConfirmResponse; static equals(a: MsgChannelCloseConfirmResponse | PlainMessage | undefined, b: MsgChannelCloseConfirmResponse | PlainMessage | undefined): boolean; } /** * MsgRecvPacket receives incoming IBC packet * * @generated from message ibc.core.channel.v1.MsgRecvPacket */ export declare class MsgRecvPacket extends Message { /** * @generated from field: ibc.core.channel.v1.Packet packet = 1; */ packet?: Packet; /** * @generated from field: bytes proof_commitment = 2; */ proofCommitment: Uint8Array; /** * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; /** * @generated from field: string signer = 4; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgRecvPacket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRecvPacket; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRecvPacket; static fromJsonString(jsonString: string, options?: Partial): MsgRecvPacket; static equals(a: MsgRecvPacket | PlainMessage | undefined, b: MsgRecvPacket | PlainMessage | undefined): boolean; } /** * MsgRecvPacketResponse defines the Msg/RecvPacket response type. * * @generated from message ibc.core.channel.v1.MsgRecvPacketResponse */ export declare class MsgRecvPacketResponse extends Message { /** * @generated from field: ibc.core.channel.v1.ResponseResultType result = 1; */ result: ResponseResultType; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgRecvPacketResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRecvPacketResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRecvPacketResponse; static fromJsonString(jsonString: string, options?: Partial): MsgRecvPacketResponse; static equals(a: MsgRecvPacketResponse | PlainMessage | undefined, b: MsgRecvPacketResponse | PlainMessage | undefined): boolean; } /** * MsgTimeout receives timed-out packet * * @generated from message ibc.core.channel.v1.MsgTimeout */ export declare class MsgTimeout extends Message { /** * @generated from field: ibc.core.channel.v1.Packet packet = 1; */ packet?: Packet; /** * @generated from field: bytes proof_unreceived = 2; */ proofUnreceived: Uint8Array; /** * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; /** * @generated from field: uint64 next_sequence_recv = 4; */ nextSequenceRecv: bigint; /** * @generated from field: string signer = 5; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgTimeout"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgTimeout; static fromJson(jsonValue: JsonValue, options?: Partial): MsgTimeout; static fromJsonString(jsonString: string, options?: Partial): MsgTimeout; static equals(a: MsgTimeout | PlainMessage | undefined, b: MsgTimeout | PlainMessage | undefined): boolean; } /** * MsgTimeoutResponse defines the Msg/Timeout response type. * * @generated from message ibc.core.channel.v1.MsgTimeoutResponse */ export declare class MsgTimeoutResponse extends Message { /** * @generated from field: ibc.core.channel.v1.ResponseResultType result = 1; */ result: ResponseResultType; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgTimeoutResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgTimeoutResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgTimeoutResponse; static fromJsonString(jsonString: string, options?: Partial): MsgTimeoutResponse; static equals(a: MsgTimeoutResponse | PlainMessage | undefined, b: MsgTimeoutResponse | PlainMessage | undefined): boolean; } /** * MsgTimeoutOnClose timed-out packet upon counterparty channel closure. * * @generated from message ibc.core.channel.v1.MsgTimeoutOnClose */ export declare class MsgTimeoutOnClose extends Message { /** * @generated from field: ibc.core.channel.v1.Packet packet = 1; */ packet?: Packet; /** * @generated from field: bytes proof_unreceived = 2; */ proofUnreceived: Uint8Array; /** * @generated from field: bytes proof_close = 3; */ proofClose: Uint8Array; /** * @generated from field: ibc.core.client.v1.Height proof_height = 4; */ proofHeight?: Height; /** * @generated from field: uint64 next_sequence_recv = 5; */ nextSequenceRecv: bigint; /** * @generated from field: string signer = 6; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgTimeoutOnClose"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgTimeoutOnClose; static fromJson(jsonValue: JsonValue, options?: Partial): MsgTimeoutOnClose; static fromJsonString(jsonString: string, options?: Partial): MsgTimeoutOnClose; static equals(a: MsgTimeoutOnClose | PlainMessage | undefined, b: MsgTimeoutOnClose | PlainMessage | undefined): boolean; } /** * MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. * * @generated from message ibc.core.channel.v1.MsgTimeoutOnCloseResponse */ export declare class MsgTimeoutOnCloseResponse extends Message { /** * @generated from field: ibc.core.channel.v1.ResponseResultType result = 1; */ result: ResponseResultType; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgTimeoutOnCloseResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgTimeoutOnCloseResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgTimeoutOnCloseResponse; static fromJsonString(jsonString: string, options?: Partial): MsgTimeoutOnCloseResponse; static equals(a: MsgTimeoutOnCloseResponse | PlainMessage | undefined, b: MsgTimeoutOnCloseResponse | PlainMessage | undefined): boolean; } /** * MsgAcknowledgement receives incoming IBC acknowledgement * * @generated from message ibc.core.channel.v1.MsgAcknowledgement */ export declare class MsgAcknowledgement extends Message { /** * @generated from field: ibc.core.channel.v1.Packet packet = 1; */ packet?: Packet; /** * @generated from field: bytes acknowledgement = 2; */ acknowledgement: Uint8Array; /** * @generated from field: bytes proof_acked = 3; */ proofAcked: Uint8Array; /** * @generated from field: ibc.core.client.v1.Height proof_height = 4; */ proofHeight?: Height; /** * @generated from field: string signer = 5; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgAcknowledgement"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgAcknowledgement; static fromJson(jsonValue: JsonValue, options?: Partial): MsgAcknowledgement; static fromJsonString(jsonString: string, options?: Partial): MsgAcknowledgement; static equals(a: MsgAcknowledgement | PlainMessage | undefined, b: MsgAcknowledgement | PlainMessage | undefined): boolean; } /** * MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. * * @generated from message ibc.core.channel.v1.MsgAcknowledgementResponse */ export declare class MsgAcknowledgementResponse extends Message { /** * @generated from field: ibc.core.channel.v1.ResponseResultType result = 1; */ result: ResponseResultType; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v1.MsgAcknowledgementResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgAcknowledgementResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgAcknowledgementResponse; static fromJsonString(jsonString: string, options?: Partial): MsgAcknowledgementResponse; static equals(a: MsgAcknowledgementResponse | PlainMessage | undefined, b: MsgAcknowledgementResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=tx_pb.d.ts.map