import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Acknowledgement, Packet, Payload } from "./packet_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.v2.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 } /** * MsgSendPacket sends an outgoing IBC packet. * * @generated from message ibc.core.channel.v2.MsgSendPacket */ export declare class MsgSendPacket extends Message { /** * @generated from field: string source_client = 1; */ sourceClient: string; /** * @generated from field: uint64 timeout_timestamp = 2; */ timeoutTimestamp: bigint; /** * @generated from field: repeated ibc.core.channel.v2.Payload payloads = 3; */ payloads: Payload[]; /** * @generated from field: string signer = 4; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v2.MsgSendPacket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgSendPacket; static fromJson(jsonValue: JsonValue, options?: Partial): MsgSendPacket; static fromJsonString(jsonString: string, options?: Partial): MsgSendPacket; static equals(a: MsgSendPacket | PlainMessage | undefined, b: MsgSendPacket | PlainMessage | undefined): boolean; } /** * MsgSendPacketResponse defines the Msg/SendPacket response type. * * @generated from message ibc.core.channel.v2.MsgSendPacketResponse */ export declare class MsgSendPacketResponse extends Message { /** * @generated from field: uint64 sequence = 1; */ sequence: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v2.MsgSendPacketResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgSendPacketResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgSendPacketResponse; static fromJsonString(jsonString: string, options?: Partial): MsgSendPacketResponse; static equals(a: MsgSendPacketResponse | PlainMessage | undefined, b: MsgSendPacketResponse | PlainMessage | undefined): boolean; } /** * MsgRecvPacket receives an incoming IBC packet. * * @generated from message ibc.core.channel.v2.MsgRecvPacket */ export declare class MsgRecvPacket extends Message { /** * @generated from field: ibc.core.channel.v2.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.v2.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.v2.MsgRecvPacketResponse */ export declare class MsgRecvPacketResponse extends Message { /** * @generated from field: ibc.core.channel.v2.ResponseResultType result = 1; */ result: ResponseResultType; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v2.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.v2.MsgTimeout */ export declare class MsgTimeout extends Message { /** * @generated from field: ibc.core.channel.v2.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: string signer = 5; */ signer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v2.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.v2.MsgTimeoutResponse */ export declare class MsgTimeoutResponse extends Message { /** * @generated from field: ibc.core.channel.v2.ResponseResultType result = 1; */ result: ResponseResultType; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v2.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; } /** * MsgAcknowledgement receives incoming IBC acknowledgement. * * @generated from message ibc.core.channel.v2.MsgAcknowledgement */ export declare class MsgAcknowledgement extends Message { /** * @generated from field: ibc.core.channel.v2.Packet packet = 1; */ packet?: Packet; /** * @generated from field: ibc.core.channel.v2.Acknowledgement acknowledgement = 2; */ acknowledgement?: Acknowledgement; /** * @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.v2.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.v2.MsgAcknowledgementResponse */ export declare class MsgAcknowledgementResponse extends Message { /** * @generated from field: ibc.core.channel.v2.ResponseResultType result = 1; */ result: ResponseResultType; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.channel.v2.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