import { buildQuery } from "../../../helper-func-types";
import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySpendableBalanceByDenomRequest, QuerySpendableBalanceByDenomResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomMetadataByQueryStringRequest, QueryDenomMetadataByQueryStringResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse, QueryDenomOwnersByQueryRequest, QueryDenomOwnersByQueryResponse, QuerySendEnabledRequest, QuerySendEnabledResponse } from "./query";
export const createGetBalance = (clientResolver) => buildQuery({
    encode: QueryBalanceRequest.encode,
    decode: QueryBalanceResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "Balance",
    clientResolver
});
export const createGetAllBalances = (clientResolver) => buildQuery({
    encode: QueryAllBalancesRequest.encode,
    decode: QueryAllBalancesResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "AllBalances",
    clientResolver
});
export const createGetSpendableBalances = (clientResolver) => buildQuery({
    encode: QuerySpendableBalancesRequest.encode,
    decode: QuerySpendableBalancesResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "SpendableBalances",
    clientResolver
});
export const createGetSpendableBalanceByDenom = (clientResolver) => buildQuery({
    encode: QuerySpendableBalanceByDenomRequest.encode,
    decode: QuerySpendableBalanceByDenomResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "SpendableBalanceByDenom",
    clientResolver
});
export const createGetTotalSupply = (clientResolver) => buildQuery({
    encode: QueryTotalSupplyRequest.encode,
    decode: QueryTotalSupplyResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "TotalSupply",
    clientResolver
});
export const createGetSupplyOf = (clientResolver) => buildQuery({
    encode: QuerySupplyOfRequest.encode,
    decode: QuerySupplyOfResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "SupplyOf",
    clientResolver
});
export const createGetParams = (clientResolver) => buildQuery({
    encode: QueryParamsRequest.encode,
    decode: QueryParamsResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "Params",
    clientResolver
});
export const createGetDenomMetadata = (clientResolver) => buildQuery({
    encode: QueryDenomMetadataRequest.encode,
    decode: QueryDenomMetadataResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "DenomMetadata",
    clientResolver
});
export const createGetDenomMetadataByQueryString = (clientResolver) => buildQuery({
    encode: QueryDenomMetadataByQueryStringRequest.encode,
    decode: QueryDenomMetadataByQueryStringResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "DenomMetadataByQueryString",
    clientResolver
});
export const createGetDenomsMetadata = (clientResolver) => buildQuery({
    encode: QueryDenomsMetadataRequest.encode,
    decode: QueryDenomsMetadataResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "DenomsMetadata",
    clientResolver
});
export const createGetDenomOwners = (clientResolver) => buildQuery({
    encode: QueryDenomOwnersRequest.encode,
    decode: QueryDenomOwnersResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "DenomOwners",
    clientResolver
});
export const createGetDenomOwnersByQuery = (clientResolver) => buildQuery({
    encode: QueryDenomOwnersByQueryRequest.encode,
    decode: QueryDenomOwnersByQueryResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "DenomOwnersByQuery",
    clientResolver
});
export const createGetSendEnabled = (clientResolver) => buildQuery({
    encode: QuerySendEnabledRequest.encode,
    decode: QuerySendEnabledResponse.decode,
    service: "cosmos.bank.v1beta1.Query",
    method: "SendEnabled",
    clientResolver
});
