import { buildQuery } from "../../../helper-func-types";
import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query";
export const createGetProposal = (clientResolver) => buildQuery({
    encode: QueryProposalRequest.encode,
    decode: QueryProposalResponse.decode,
    service: "cosmos.gov.v1beta1.Query",
    method: "Proposal",
    clientResolver
});
export const createGetProposals = (clientResolver) => buildQuery({
    encode: QueryProposalsRequest.encode,
    decode: QueryProposalsResponse.decode,
    service: "cosmos.gov.v1beta1.Query",
    method: "Proposals",
    clientResolver
});
export const createGetVote = (clientResolver) => buildQuery({
    encode: QueryVoteRequest.encode,
    decode: QueryVoteResponse.decode,
    service: "cosmos.gov.v1beta1.Query",
    method: "Vote",
    clientResolver
});
export const createGetVotes = (clientResolver) => buildQuery({
    encode: QueryVotesRequest.encode,
    decode: QueryVotesResponse.decode,
    service: "cosmos.gov.v1beta1.Query",
    method: "Votes",
    clientResolver
});
export const createGetParams = (clientResolver) => buildQuery({
    encode: QueryParamsRequest.encode,
    decode: QueryParamsResponse.decode,
    service: "cosmos.gov.v1beta1.Query",
    method: "Params",
    clientResolver
});
export const createGetDeposit = (clientResolver) => buildQuery({
    encode: QueryDepositRequest.encode,
    decode: QueryDepositResponse.decode,
    service: "cosmos.gov.v1beta1.Query",
    method: "Deposit",
    clientResolver
});
export const createGetDeposits = (clientResolver) => buildQuery({
    encode: QueryDepositsRequest.encode,
    decode: QueryDepositsResponse.decode,
    service: "cosmos.gov.v1beta1.Query",
    method: "Deposits",
    clientResolver
});
export const createGetTallyResult = (clientResolver) => buildQuery({
    encode: QueryTallyResultRequest.encode,
    decode: QueryTallyResultResponse.decode,
    service: "cosmos.gov.v1beta1.Query",
    method: "TallyResult",
    clientResolver
});
