import { buildQuery } from "../../../../helper-func-types";
import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse, QueryNextSequenceSendRequest, QueryNextSequenceSendResponse, QueryUpgradeErrorRequest, QueryUpgradeErrorResponse, QueryUpgradeRequest, QueryUpgradeResponse, QueryChannelParamsRequest, QueryChannelParamsResponse } from "./query";
export const createGetChannel = (clientResolver) => buildQuery({
    encode: QueryChannelRequest.encode,
    decode: QueryChannelResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "Channel",
    clientResolver
});
export const createGetChannels = (clientResolver) => buildQuery({
    encode: QueryChannelsRequest.encode,
    decode: QueryChannelsResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "Channels",
    clientResolver
});
export const createGetConnectionChannels = (clientResolver) => buildQuery({
    encode: QueryConnectionChannelsRequest.encode,
    decode: QueryConnectionChannelsResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "ConnectionChannels",
    clientResolver
});
export const createGetChannelClientState = (clientResolver) => buildQuery({
    encode: QueryChannelClientStateRequest.encode,
    decode: QueryChannelClientStateResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "ChannelClientState",
    clientResolver
});
export const createGetChannelConsensusState = (clientResolver) => buildQuery({
    encode: QueryChannelConsensusStateRequest.encode,
    decode: QueryChannelConsensusStateResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "ChannelConsensusState",
    clientResolver
});
export const createGetPacketCommitment = (clientResolver) => buildQuery({
    encode: QueryPacketCommitmentRequest.encode,
    decode: QueryPacketCommitmentResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "PacketCommitment",
    clientResolver
});
export const createGetPacketCommitments = (clientResolver) => buildQuery({
    encode: QueryPacketCommitmentsRequest.encode,
    decode: QueryPacketCommitmentsResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "PacketCommitments",
    clientResolver
});
export const createGetPacketReceipt = (clientResolver) => buildQuery({
    encode: QueryPacketReceiptRequest.encode,
    decode: QueryPacketReceiptResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "PacketReceipt",
    clientResolver
});
export const createGetPacketAcknowledgement = (clientResolver) => buildQuery({
    encode: QueryPacketAcknowledgementRequest.encode,
    decode: QueryPacketAcknowledgementResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "PacketAcknowledgement",
    clientResolver
});
export const createGetPacketAcknowledgements = (clientResolver) => buildQuery({
    encode: QueryPacketAcknowledgementsRequest.encode,
    decode: QueryPacketAcknowledgementsResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "PacketAcknowledgements",
    clientResolver
});
export const createGetUnreceivedPackets = (clientResolver) => buildQuery({
    encode: QueryUnreceivedPacketsRequest.encode,
    decode: QueryUnreceivedPacketsResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "UnreceivedPackets",
    clientResolver
});
export const createGetUnreceivedAcks = (clientResolver) => buildQuery({
    encode: QueryUnreceivedAcksRequest.encode,
    decode: QueryUnreceivedAcksResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "UnreceivedAcks",
    clientResolver
});
export const createGetNextSequenceReceive = (clientResolver) => buildQuery({
    encode: QueryNextSequenceReceiveRequest.encode,
    decode: QueryNextSequenceReceiveResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "NextSequenceReceive",
    clientResolver
});
export const createGetNextSequenceSend = (clientResolver) => buildQuery({
    encode: QueryNextSequenceSendRequest.encode,
    decode: QueryNextSequenceSendResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "NextSequenceSend",
    clientResolver
});
export const createGetUpgradeError = (clientResolver) => buildQuery({
    encode: QueryUpgradeErrorRequest.encode,
    decode: QueryUpgradeErrorResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "UpgradeError",
    clientResolver
});
export const createGetUpgrade = (clientResolver) => buildQuery({
    encode: QueryUpgradeRequest.encode,
    decode: QueryUpgradeResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "Upgrade",
    clientResolver
});
export const createGetChannelParams = (clientResolver) => buildQuery({
    encode: QueryChannelParamsRequest.encode,
    decode: QueryChannelParamsResponse.decode,
    service: "ibc.core.channel.v1.Query",
    method: "ChannelParams",
    clientResolver
});
