// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file ibc/core/channel/v1/query.proto (package ibc.core.channel.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Any, Message, proto3, protoInt64 } from "@bufbuild/protobuf"; import { Channel, IdentifiedChannel, PacketState, Params } from "./channel_pb.js"; import { Height, IdentifiedClientState } from "../../client/v1/client_pb.js"; import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination_pb.js"; import { ErrorReceipt, Upgrade } from "./upgrade_pb.js"; /** * QueryChannelRequest is the request type for the Query/Channel RPC method * * @generated from message ibc.core.channel.v1.QueryChannelRequest */ export class QueryChannelRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryChannelRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryChannelRequest { return new QueryChannelRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryChannelRequest { return new QueryChannelRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryChannelRequest { return new QueryChannelRequest().fromJsonString(jsonString, options); } static equals(a: QueryChannelRequest | PlainMessage | undefined, b: QueryChannelRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryChannelRequest, a, b); } } /** * QueryChannelResponse is the response type for the Query/Channel RPC method. * Besides the Channel end, it includes a proof and the height from which the * proof was retrieved. * * @generated from message ibc.core.channel.v1.QueryChannelResponse */ export class QueryChannelResponse extends Message { /** * channel associated with the request identifiers * * @generated from field: ibc.core.channel.v1.Channel channel = 1; */ channel?: Channel; /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof = new Uint8Array(0); /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryChannelResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "channel", kind: "message", T: Channel }, { no: 2, name: "proof", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "proof_height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryChannelResponse { return new QueryChannelResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryChannelResponse { return new QueryChannelResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryChannelResponse { return new QueryChannelResponse().fromJsonString(jsonString, options); } static equals(a: QueryChannelResponse | PlainMessage | undefined, b: QueryChannelResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryChannelResponse, a, b); } } /** * QueryChannelsRequest is the request type for the Query/Channels RPC method * * @generated from message ibc.core.channel.v1.QueryChannelsRequest */ export class QueryChannelsRequest extends Message { /** * pagination request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 1; */ pagination?: PageRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryChannelsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "pagination", kind: "message", T: PageRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryChannelsRequest { return new QueryChannelsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryChannelsRequest { return new QueryChannelsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryChannelsRequest { return new QueryChannelsRequest().fromJsonString(jsonString, options); } static equals(a: QueryChannelsRequest | PlainMessage | undefined, b: QueryChannelsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryChannelsRequest, a, b); } } /** * QueryChannelsResponse is the response type for the Query/Channels RPC method. * * @generated from message ibc.core.channel.v1.QueryChannelsResponse */ export class QueryChannelsResponse extends Message { /** * list of stored channels of the chain. * * @generated from field: repeated ibc.core.channel.v1.IdentifiedChannel channels = 1; */ channels: IdentifiedChannel[] = []; /** * pagination response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; /** * query block height * * @generated from field: ibc.core.client.v1.Height height = 3; */ height?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryChannelsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "channels", kind: "message", T: IdentifiedChannel, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, { no: 3, name: "height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryChannelsResponse { return new QueryChannelsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryChannelsResponse { return new QueryChannelsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryChannelsResponse { return new QueryChannelsResponse().fromJsonString(jsonString, options); } static equals(a: QueryChannelsResponse | PlainMessage | undefined, b: QueryChannelsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryChannelsResponse, a, b); } } /** * QueryConnectionChannelsRequest is the request type for the * Query/QueryConnectionChannels RPC method * * @generated from message ibc.core.channel.v1.QueryConnectionChannelsRequest */ export class QueryConnectionChannelsRequest extends Message { /** * connection unique identifier * * @generated from field: string connection = 1; */ connection = ""; /** * pagination request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 2; */ pagination?: PageRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryConnectionChannelsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "connection", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "pagination", kind: "message", T: PageRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionChannelsRequest { return new QueryConnectionChannelsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionChannelsRequest { return new QueryConnectionChannelsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryConnectionChannelsRequest { return new QueryConnectionChannelsRequest().fromJsonString(jsonString, options); } static equals(a: QueryConnectionChannelsRequest | PlainMessage | undefined, b: QueryConnectionChannelsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryConnectionChannelsRequest, a, b); } } /** * QueryConnectionChannelsResponse is the Response type for the * Query/QueryConnectionChannels RPC method * * @generated from message ibc.core.channel.v1.QueryConnectionChannelsResponse */ export class QueryConnectionChannelsResponse extends Message { /** * list of channels associated with a connection. * * @generated from field: repeated ibc.core.channel.v1.IdentifiedChannel channels = 1; */ channels: IdentifiedChannel[] = []; /** * pagination response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; /** * query block height * * @generated from field: ibc.core.client.v1.Height height = 3; */ height?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryConnectionChannelsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "channels", kind: "message", T: IdentifiedChannel, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, { no: 3, name: "height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionChannelsResponse { return new QueryConnectionChannelsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionChannelsResponse { return new QueryConnectionChannelsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryConnectionChannelsResponse { return new QueryConnectionChannelsResponse().fromJsonString(jsonString, options); } static equals(a: QueryConnectionChannelsResponse | PlainMessage | undefined, b: QueryConnectionChannelsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryConnectionChannelsResponse, a, b); } } /** * QueryChannelClientStateRequest is the request type for the Query/ClientState * RPC method * * @generated from message ibc.core.channel.v1.QueryChannelClientStateRequest */ export class QueryChannelClientStateRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryChannelClientStateRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryChannelClientStateRequest { return new QueryChannelClientStateRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryChannelClientStateRequest { return new QueryChannelClientStateRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryChannelClientStateRequest { return new QueryChannelClientStateRequest().fromJsonString(jsonString, options); } static equals(a: QueryChannelClientStateRequest | PlainMessage | undefined, b: QueryChannelClientStateRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryChannelClientStateRequest, a, b); } } /** * QueryChannelClientStateResponse is the Response type for the * Query/QueryChannelClientState RPC method * * @generated from message ibc.core.channel.v1.QueryChannelClientStateResponse */ export class QueryChannelClientStateResponse extends Message { /** * client state associated with the channel * * @generated from field: ibc.core.client.v1.IdentifiedClientState identified_client_state = 1; */ identifiedClientState?: IdentifiedClientState; /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof = new Uint8Array(0); /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryChannelClientStateResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "identified_client_state", kind: "message", T: IdentifiedClientState }, { no: 2, name: "proof", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "proof_height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryChannelClientStateResponse { return new QueryChannelClientStateResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryChannelClientStateResponse { return new QueryChannelClientStateResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryChannelClientStateResponse { return new QueryChannelClientStateResponse().fromJsonString(jsonString, options); } static equals(a: QueryChannelClientStateResponse | PlainMessage | undefined, b: QueryChannelClientStateResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryChannelClientStateResponse, a, b); } } /** * QueryChannelConsensusStateRequest is the request type for the * Query/ConsensusState RPC method * * @generated from message ibc.core.channel.v1.QueryChannelConsensusStateRequest */ export class QueryChannelConsensusStateRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; /** * revision number of the consensus state * * @generated from field: uint64 revision_number = 3; */ revisionNumber = protoInt64.zero; /** * revision height of the consensus state * * @generated from field: uint64 revision_height = 4; */ revisionHeight = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryChannelConsensusStateRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "revision_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 4, name: "revision_height", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryChannelConsensusStateRequest { return new QueryChannelConsensusStateRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryChannelConsensusStateRequest { return new QueryChannelConsensusStateRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryChannelConsensusStateRequest { return new QueryChannelConsensusStateRequest().fromJsonString(jsonString, options); } static equals(a: QueryChannelConsensusStateRequest | PlainMessage | undefined, b: QueryChannelConsensusStateRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryChannelConsensusStateRequest, a, b); } } /** * QueryChannelClientStateResponse is the Response type for the * Query/QueryChannelClientState RPC method * * @generated from message ibc.core.channel.v1.QueryChannelConsensusStateResponse */ export class QueryChannelConsensusStateResponse extends Message { /** * consensus state associated with the channel * * @generated from field: google.protobuf.Any consensus_state = 1; */ consensusState?: Any; /** * client ID associated with the consensus state * * @generated from field: string client_id = 2; */ clientId = ""; /** * merkle proof of existence * * @generated from field: bytes proof = 3; */ proof = new Uint8Array(0); /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 4; */ proofHeight?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryChannelConsensusStateResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "consensus_state", kind: "message", T: Any }, { no: 2, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "proof", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 4, name: "proof_height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryChannelConsensusStateResponse { return new QueryChannelConsensusStateResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryChannelConsensusStateResponse { return new QueryChannelConsensusStateResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryChannelConsensusStateResponse { return new QueryChannelConsensusStateResponse().fromJsonString(jsonString, options); } static equals(a: QueryChannelConsensusStateResponse | PlainMessage | undefined, b: QueryChannelConsensusStateResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryChannelConsensusStateResponse, a, b); } } /** * QueryPacketCommitmentRequest is the request type for the * Query/PacketCommitment RPC method * * @generated from message ibc.core.channel.v1.QueryPacketCommitmentRequest */ export class QueryPacketCommitmentRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; /** * packet sequence * * @generated from field: uint64 sequence = 3; */ sequence = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryPacketCommitmentRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "sequence", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPacketCommitmentRequest { return new QueryPacketCommitmentRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPacketCommitmentRequest { return new QueryPacketCommitmentRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPacketCommitmentRequest { return new QueryPacketCommitmentRequest().fromJsonString(jsonString, options); } static equals(a: QueryPacketCommitmentRequest | PlainMessage | undefined, b: QueryPacketCommitmentRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPacketCommitmentRequest, a, b); } } /** * QueryPacketCommitmentResponse defines the client query response for a packet * which also includes a proof and the height from which the proof was * retrieved * * @generated from message ibc.core.channel.v1.QueryPacketCommitmentResponse */ export class QueryPacketCommitmentResponse extends Message { /** * packet associated with the request fields * * @generated from field: bytes commitment = 1; */ commitment = new Uint8Array(0); /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof = new Uint8Array(0); /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryPacketCommitmentResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "commitment", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 2, name: "proof", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "proof_height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPacketCommitmentResponse { return new QueryPacketCommitmentResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPacketCommitmentResponse { return new QueryPacketCommitmentResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPacketCommitmentResponse { return new QueryPacketCommitmentResponse().fromJsonString(jsonString, options); } static equals(a: QueryPacketCommitmentResponse | PlainMessage | undefined, b: QueryPacketCommitmentResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPacketCommitmentResponse, a, b); } } /** * QueryPacketCommitmentsRequest is the request type for the * Query/QueryPacketCommitments RPC method * * @generated from message ibc.core.channel.v1.QueryPacketCommitmentsRequest */ export class QueryPacketCommitmentsRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; /** * pagination request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 3; */ pagination?: PageRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryPacketCommitmentsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "pagination", kind: "message", T: PageRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPacketCommitmentsRequest { return new QueryPacketCommitmentsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPacketCommitmentsRequest { return new QueryPacketCommitmentsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPacketCommitmentsRequest { return new QueryPacketCommitmentsRequest().fromJsonString(jsonString, options); } static equals(a: QueryPacketCommitmentsRequest | PlainMessage | undefined, b: QueryPacketCommitmentsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPacketCommitmentsRequest, a, b); } } /** * QueryPacketCommitmentsResponse is the request type for the * Query/QueryPacketCommitments RPC method * * @generated from message ibc.core.channel.v1.QueryPacketCommitmentsResponse */ export class QueryPacketCommitmentsResponse extends Message { /** * @generated from field: repeated ibc.core.channel.v1.PacketState commitments = 1; */ commitments: PacketState[] = []; /** * pagination response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; /** * query block height * * @generated from field: ibc.core.client.v1.Height height = 3; */ height?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryPacketCommitmentsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "commitments", kind: "message", T: PacketState, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, { no: 3, name: "height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPacketCommitmentsResponse { return new QueryPacketCommitmentsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPacketCommitmentsResponse { return new QueryPacketCommitmentsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPacketCommitmentsResponse { return new QueryPacketCommitmentsResponse().fromJsonString(jsonString, options); } static equals(a: QueryPacketCommitmentsResponse | PlainMessage | undefined, b: QueryPacketCommitmentsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPacketCommitmentsResponse, a, b); } } /** * QueryPacketReceiptRequest is the request type for the * Query/PacketReceipt RPC method * * @generated from message ibc.core.channel.v1.QueryPacketReceiptRequest */ export class QueryPacketReceiptRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; /** * packet sequence * * @generated from field: uint64 sequence = 3; */ sequence = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryPacketReceiptRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "sequence", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPacketReceiptRequest { return new QueryPacketReceiptRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPacketReceiptRequest { return new QueryPacketReceiptRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPacketReceiptRequest { return new QueryPacketReceiptRequest().fromJsonString(jsonString, options); } static equals(a: QueryPacketReceiptRequest | PlainMessage | undefined, b: QueryPacketReceiptRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPacketReceiptRequest, a, b); } } /** * QueryPacketReceiptResponse defines the client query response for a packet * receipt which also includes a proof, and the height from which the proof was * retrieved * * @generated from message ibc.core.channel.v1.QueryPacketReceiptResponse */ export class QueryPacketReceiptResponse extends Message { /** * success flag for if receipt exists * * @generated from field: bool received = 2; */ received = false; /** * merkle proof of existence * * @generated from field: bytes proof = 3; */ proof = new Uint8Array(0); /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 4; */ proofHeight?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryPacketReceiptResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 2, name: "received", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 3, name: "proof", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 4, name: "proof_height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPacketReceiptResponse { return new QueryPacketReceiptResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPacketReceiptResponse { return new QueryPacketReceiptResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPacketReceiptResponse { return new QueryPacketReceiptResponse().fromJsonString(jsonString, options); } static equals(a: QueryPacketReceiptResponse | PlainMessage | undefined, b: QueryPacketReceiptResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPacketReceiptResponse, a, b); } } /** * QueryPacketAcknowledgementRequest is the request type for the * Query/PacketAcknowledgement RPC method * * @generated from message ibc.core.channel.v1.QueryPacketAcknowledgementRequest */ export class QueryPacketAcknowledgementRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; /** * packet sequence * * @generated from field: uint64 sequence = 3; */ sequence = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryPacketAcknowledgementRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "sequence", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPacketAcknowledgementRequest { return new QueryPacketAcknowledgementRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPacketAcknowledgementRequest { return new QueryPacketAcknowledgementRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPacketAcknowledgementRequest { return new QueryPacketAcknowledgementRequest().fromJsonString(jsonString, options); } static equals(a: QueryPacketAcknowledgementRequest | PlainMessage | undefined, b: QueryPacketAcknowledgementRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPacketAcknowledgementRequest, a, b); } } /** * QueryPacketAcknowledgementResponse defines the client query response for a * packet which also includes a proof and the height from which the * proof was retrieved * * @generated from message ibc.core.channel.v1.QueryPacketAcknowledgementResponse */ export class QueryPacketAcknowledgementResponse extends Message { /** * packet associated with the request fields * * @generated from field: bytes acknowledgement = 1; */ acknowledgement = new Uint8Array(0); /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof = new Uint8Array(0); /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryPacketAcknowledgementResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "acknowledgement", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 2, name: "proof", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "proof_height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPacketAcknowledgementResponse { return new QueryPacketAcknowledgementResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPacketAcknowledgementResponse { return new QueryPacketAcknowledgementResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPacketAcknowledgementResponse { return new QueryPacketAcknowledgementResponse().fromJsonString(jsonString, options); } static equals(a: QueryPacketAcknowledgementResponse | PlainMessage | undefined, b: QueryPacketAcknowledgementResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPacketAcknowledgementResponse, a, b); } } /** * QueryPacketAcknowledgementsRequest is the request type for the * Query/QueryPacketCommitments RPC method * * @generated from message ibc.core.channel.v1.QueryPacketAcknowledgementsRequest */ export class QueryPacketAcknowledgementsRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; /** * pagination request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 3; */ pagination?: PageRequest; /** * list of packet sequences * * @generated from field: repeated uint64 packet_commitment_sequences = 4; */ packetCommitmentSequences: bigint[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryPacketAcknowledgementsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "pagination", kind: "message", T: PageRequest }, { no: 4, name: "packet_commitment_sequences", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPacketAcknowledgementsRequest { return new QueryPacketAcknowledgementsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPacketAcknowledgementsRequest { return new QueryPacketAcknowledgementsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPacketAcknowledgementsRequest { return new QueryPacketAcknowledgementsRequest().fromJsonString(jsonString, options); } static equals(a: QueryPacketAcknowledgementsRequest | PlainMessage | undefined, b: QueryPacketAcknowledgementsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPacketAcknowledgementsRequest, a, b); } } /** * QueryPacketAcknowledgemetsResponse is the request type for the * Query/QueryPacketAcknowledgements RPC method * * @generated from message ibc.core.channel.v1.QueryPacketAcknowledgementsResponse */ export class QueryPacketAcknowledgementsResponse extends Message { /** * @generated from field: repeated ibc.core.channel.v1.PacketState acknowledgements = 1; */ acknowledgements: PacketState[] = []; /** * pagination response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; /** * query block height * * @generated from field: ibc.core.client.v1.Height height = 3; */ height?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryPacketAcknowledgementsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "acknowledgements", kind: "message", T: PacketState, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, { no: 3, name: "height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPacketAcknowledgementsResponse { return new QueryPacketAcknowledgementsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPacketAcknowledgementsResponse { return new QueryPacketAcknowledgementsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPacketAcknowledgementsResponse { return new QueryPacketAcknowledgementsResponse().fromJsonString(jsonString, options); } static equals(a: QueryPacketAcknowledgementsResponse | PlainMessage | undefined, b: QueryPacketAcknowledgementsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPacketAcknowledgementsResponse, a, b); } } /** * QueryUnreceivedPacketsRequest is the request type for the * Query/UnreceivedPackets RPC method * * @generated from message ibc.core.channel.v1.QueryUnreceivedPacketsRequest */ export class QueryUnreceivedPacketsRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; /** * list of packet sequences * * @generated from field: repeated uint64 packet_commitment_sequences = 3; */ packetCommitmentSequences: bigint[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryUnreceivedPacketsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "packet_commitment_sequences", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryUnreceivedPacketsRequest { return new QueryUnreceivedPacketsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryUnreceivedPacketsRequest { return new QueryUnreceivedPacketsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryUnreceivedPacketsRequest { return new QueryUnreceivedPacketsRequest().fromJsonString(jsonString, options); } static equals(a: QueryUnreceivedPacketsRequest | PlainMessage | undefined, b: QueryUnreceivedPacketsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryUnreceivedPacketsRequest, a, b); } } /** * QueryUnreceivedPacketsResponse is the response type for the * Query/UnreceivedPacketCommitments RPC method * * @generated from message ibc.core.channel.v1.QueryUnreceivedPacketsResponse */ export class QueryUnreceivedPacketsResponse extends Message { /** * list of unreceived packet sequences * * @generated from field: repeated uint64 sequences = 1; */ sequences: bigint[] = []; /** * query block height * * @generated from field: ibc.core.client.v1.Height height = 2; */ height?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryUnreceivedPacketsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sequences", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, { no: 2, name: "height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryUnreceivedPacketsResponse { return new QueryUnreceivedPacketsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryUnreceivedPacketsResponse { return new QueryUnreceivedPacketsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryUnreceivedPacketsResponse { return new QueryUnreceivedPacketsResponse().fromJsonString(jsonString, options); } static equals(a: QueryUnreceivedPacketsResponse | PlainMessage | undefined, b: QueryUnreceivedPacketsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryUnreceivedPacketsResponse, a, b); } } /** * QueryUnreceivedAcks is the request type for the * Query/UnreceivedAcks RPC method * * @generated from message ibc.core.channel.v1.QueryUnreceivedAcksRequest */ export class QueryUnreceivedAcksRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; /** * list of acknowledgement sequences * * @generated from field: repeated uint64 packet_ack_sequences = 3; */ packetAckSequences: bigint[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryUnreceivedAcksRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "packet_ack_sequences", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryUnreceivedAcksRequest { return new QueryUnreceivedAcksRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryUnreceivedAcksRequest { return new QueryUnreceivedAcksRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryUnreceivedAcksRequest { return new QueryUnreceivedAcksRequest().fromJsonString(jsonString, options); } static equals(a: QueryUnreceivedAcksRequest | PlainMessage | undefined, b: QueryUnreceivedAcksRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryUnreceivedAcksRequest, a, b); } } /** * QueryUnreceivedAcksResponse is the response type for the * Query/UnreceivedAcks RPC method * * @generated from message ibc.core.channel.v1.QueryUnreceivedAcksResponse */ export class QueryUnreceivedAcksResponse extends Message { /** * list of unreceived acknowledgement sequences * * @generated from field: repeated uint64 sequences = 1; */ sequences: bigint[] = []; /** * query block height * * @generated from field: ibc.core.client.v1.Height height = 2; */ height?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryUnreceivedAcksResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sequences", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, { no: 2, name: "height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryUnreceivedAcksResponse { return new QueryUnreceivedAcksResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryUnreceivedAcksResponse { return new QueryUnreceivedAcksResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryUnreceivedAcksResponse { return new QueryUnreceivedAcksResponse().fromJsonString(jsonString, options); } static equals(a: QueryUnreceivedAcksResponse | PlainMessage | undefined, b: QueryUnreceivedAcksResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryUnreceivedAcksResponse, a, b); } } /** * QueryNextSequenceReceiveRequest is the request type for the * Query/QueryNextSequenceReceiveRequest RPC method * * @generated from message ibc.core.channel.v1.QueryNextSequenceReceiveRequest */ export class QueryNextSequenceReceiveRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryNextSequenceReceiveRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryNextSequenceReceiveRequest { return new QueryNextSequenceReceiveRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryNextSequenceReceiveRequest { return new QueryNextSequenceReceiveRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryNextSequenceReceiveRequest { return new QueryNextSequenceReceiveRequest().fromJsonString(jsonString, options); } static equals(a: QueryNextSequenceReceiveRequest | PlainMessage | undefined, b: QueryNextSequenceReceiveRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryNextSequenceReceiveRequest, a, b); } } /** * QuerySequenceResponse is the response type for the * Query/QueryNextSequenceReceiveResponse RPC method * * @generated from message ibc.core.channel.v1.QueryNextSequenceReceiveResponse */ export class QueryNextSequenceReceiveResponse extends Message { /** * next sequence receive number * * @generated from field: uint64 next_sequence_receive = 1; */ nextSequenceReceive = protoInt64.zero; /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof = new Uint8Array(0); /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryNextSequenceReceiveResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "next_sequence_receive", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "proof", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "proof_height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryNextSequenceReceiveResponse { return new QueryNextSequenceReceiveResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryNextSequenceReceiveResponse { return new QueryNextSequenceReceiveResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryNextSequenceReceiveResponse { return new QueryNextSequenceReceiveResponse().fromJsonString(jsonString, options); } static equals(a: QueryNextSequenceReceiveResponse | PlainMessage | undefined, b: QueryNextSequenceReceiveResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryNextSequenceReceiveResponse, a, b); } } /** * QueryNextSequenceSendRequest is the request type for the * Query/QueryNextSequenceSend RPC method * * @generated from message ibc.core.channel.v1.QueryNextSequenceSendRequest */ export class QueryNextSequenceSendRequest extends Message { /** * port unique identifier * * @generated from field: string port_id = 1; */ portId = ""; /** * channel unique identifier * * @generated from field: string channel_id = 2; */ channelId = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryNextSequenceSendRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryNextSequenceSendRequest { return new QueryNextSequenceSendRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryNextSequenceSendRequest { return new QueryNextSequenceSendRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryNextSequenceSendRequest { return new QueryNextSequenceSendRequest().fromJsonString(jsonString, options); } static equals(a: QueryNextSequenceSendRequest | PlainMessage | undefined, b: QueryNextSequenceSendRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryNextSequenceSendRequest, a, b); } } /** * QueryNextSequenceSendResponse is the request type for the * Query/QueryNextSequenceSend RPC method * * @generated from message ibc.core.channel.v1.QueryNextSequenceSendResponse */ export class QueryNextSequenceSendResponse extends Message { /** * next sequence send number * * @generated from field: uint64 next_sequence_send = 1; */ nextSequenceSend = protoInt64.zero; /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof = new Uint8Array(0); /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryNextSequenceSendResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "next_sequence_send", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "proof", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "proof_height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryNextSequenceSendResponse { return new QueryNextSequenceSendResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryNextSequenceSendResponse { return new QueryNextSequenceSendResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryNextSequenceSendResponse { return new QueryNextSequenceSendResponse().fromJsonString(jsonString, options); } static equals(a: QueryNextSequenceSendResponse | PlainMessage | undefined, b: QueryNextSequenceSendResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryNextSequenceSendResponse, a, b); } } /** * QueryUpgradeErrorRequest is the request type for the Query/QueryUpgradeError RPC method * * @generated from message ibc.core.channel.v1.QueryUpgradeErrorRequest */ export class QueryUpgradeErrorRequest extends Message { /** * @generated from field: string port_id = 1; */ portId = ""; /** * @generated from field: string channel_id = 2; */ channelId = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryUpgradeErrorRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryUpgradeErrorRequest { return new QueryUpgradeErrorRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryUpgradeErrorRequest { return new QueryUpgradeErrorRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryUpgradeErrorRequest { return new QueryUpgradeErrorRequest().fromJsonString(jsonString, options); } static equals(a: QueryUpgradeErrorRequest | PlainMessage | undefined, b: QueryUpgradeErrorRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryUpgradeErrorRequest, a, b); } } /** * QueryUpgradeErrorResponse is the response type for the Query/QueryUpgradeError RPC method * * @generated from message ibc.core.channel.v1.QueryUpgradeErrorResponse */ export class QueryUpgradeErrorResponse extends Message { /** * @generated from field: ibc.core.channel.v1.ErrorReceipt error_receipt = 1; */ errorReceipt?: ErrorReceipt; /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof = new Uint8Array(0); /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryUpgradeErrorResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "error_receipt", kind: "message", T: ErrorReceipt }, { no: 2, name: "proof", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "proof_height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryUpgradeErrorResponse { return new QueryUpgradeErrorResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryUpgradeErrorResponse { return new QueryUpgradeErrorResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryUpgradeErrorResponse { return new QueryUpgradeErrorResponse().fromJsonString(jsonString, options); } static equals(a: QueryUpgradeErrorResponse | PlainMessage | undefined, b: QueryUpgradeErrorResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryUpgradeErrorResponse, a, b); } } /** * QueryUpgradeRequest is the request type for the QueryUpgradeRequest RPC method * * @generated from message ibc.core.channel.v1.QueryUpgradeRequest */ export class QueryUpgradeRequest extends Message { /** * @generated from field: string port_id = 1; */ portId = ""; /** * @generated from field: string channel_id = 2; */ channelId = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryUpgradeRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "port_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "channel_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryUpgradeRequest { return new QueryUpgradeRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryUpgradeRequest { return new QueryUpgradeRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryUpgradeRequest { return new QueryUpgradeRequest().fromJsonString(jsonString, options); } static equals(a: QueryUpgradeRequest | PlainMessage | undefined, b: QueryUpgradeRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryUpgradeRequest, a, b); } } /** * QueryUpgradeResponse is the response type for the QueryUpgradeResponse RPC method * * @generated from message ibc.core.channel.v1.QueryUpgradeResponse */ export class QueryUpgradeResponse extends Message { /** * @generated from field: ibc.core.channel.v1.Upgrade upgrade = 1; */ upgrade?: Upgrade; /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof = new Uint8Array(0); /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryUpgradeResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "upgrade", kind: "message", T: Upgrade }, { no: 2, name: "proof", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "proof_height", kind: "message", T: Height }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryUpgradeResponse { return new QueryUpgradeResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryUpgradeResponse { return new QueryUpgradeResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryUpgradeResponse { return new QueryUpgradeResponse().fromJsonString(jsonString, options); } static equals(a: QueryUpgradeResponse | PlainMessage | undefined, b: QueryUpgradeResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryUpgradeResponse, a, b); } } /** * QueryChannelParamsRequest is the request type for the Query/ChannelParams RPC method. * * @generated from message ibc.core.channel.v1.QueryChannelParamsRequest */ export class QueryChannelParamsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryChannelParamsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryChannelParamsRequest { return new QueryChannelParamsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryChannelParamsRequest { return new QueryChannelParamsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryChannelParamsRequest { return new QueryChannelParamsRequest().fromJsonString(jsonString, options); } static equals(a: QueryChannelParamsRequest | PlainMessage | undefined, b: QueryChannelParamsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryChannelParamsRequest, a, b); } } /** * QueryChannelParamsResponse is the response type for the Query/ChannelParams RPC method. * * @generated from message ibc.core.channel.v1.QueryChannelParamsResponse */ export class QueryChannelParamsResponse extends Message { /** * params defines the parameters of the module. * * @generated from field: ibc.core.channel.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.core.channel.v1.QueryChannelParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryChannelParamsResponse { return new QueryChannelParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryChannelParamsResponse { return new QueryChannelParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryChannelParamsResponse { return new QueryChannelParamsResponse().fromJsonString(jsonString, options); } static equals(a: QueryChannelParamsResponse | PlainMessage | undefined, b: QueryChannelParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryChannelParamsResponse, a, b); } }