import { buildQuery } from "../../../../helper-func-types";
import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryConsensusStateHeightsRequest, QueryConsensusStateHeightsResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryVerifyMembershipRequest, QueryVerifyMembershipResponse } from "./query";
export const createGetClientState = (clientResolver) => buildQuery({
    encode: QueryClientStateRequest.encode,
    decode: QueryClientStateResponse.decode,
    service: "ibc.core.client.v1.Query",
    method: "ClientState",
    clientResolver
});
export const createGetClientStates = (clientResolver) => buildQuery({
    encode: QueryClientStatesRequest.encode,
    decode: QueryClientStatesResponse.decode,
    service: "ibc.core.client.v1.Query",
    method: "ClientStates",
    clientResolver
});
export const createGetConsensusState = (clientResolver) => buildQuery({
    encode: QueryConsensusStateRequest.encode,
    decode: QueryConsensusStateResponse.decode,
    service: "ibc.core.client.v1.Query",
    method: "ConsensusState",
    clientResolver
});
export const createGetConsensusStates = (clientResolver) => buildQuery({
    encode: QueryConsensusStatesRequest.encode,
    decode: QueryConsensusStatesResponse.decode,
    service: "ibc.core.client.v1.Query",
    method: "ConsensusStates",
    clientResolver
});
export const createGetConsensusStateHeights = (clientResolver) => buildQuery({
    encode: QueryConsensusStateHeightsRequest.encode,
    decode: QueryConsensusStateHeightsResponse.decode,
    service: "ibc.core.client.v1.Query",
    method: "ConsensusStateHeights",
    clientResolver
});
export const createGetClientStatus = (clientResolver) => buildQuery({
    encode: QueryClientStatusRequest.encode,
    decode: QueryClientStatusResponse.decode,
    service: "ibc.core.client.v1.Query",
    method: "ClientStatus",
    clientResolver
});
export const createGetClientParams = (clientResolver) => buildQuery({
    encode: QueryClientParamsRequest.encode,
    decode: QueryClientParamsResponse.decode,
    service: "ibc.core.client.v1.Query",
    method: "ClientParams",
    clientResolver
});
export const createGetUpgradedClientState = (clientResolver) => buildQuery({
    encode: QueryUpgradedClientStateRequest.encode,
    decode: QueryUpgradedClientStateResponse.decode,
    service: "ibc.core.client.v1.Query",
    method: "UpgradedClientState",
    clientResolver
});
export const createGetUpgradedConsensusState = (clientResolver) => buildQuery({
    encode: QueryUpgradedConsensusStateRequest.encode,
    decode: QueryUpgradedConsensusStateResponse.decode,
    service: "ibc.core.client.v1.Query",
    method: "UpgradedConsensusState",
    clientResolver
});
export const createGetVerifyMembership = (clientResolver) => buildQuery({
    encode: QueryVerifyMembershipRequest.encode,
    decode: QueryVerifyMembershipResponse.decode,
    service: "ibc.core.client.v1.Query",
    method: "VerifyMembership",
    clientResolver
});
