import { buildQuery } from "../../../helper-func-types";
import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query";
export const createGetAllowance = (clientResolver) => buildQuery({
    encode: QueryAllowanceRequest.encode,
    decode: QueryAllowanceResponse.decode,
    service: "cosmos.feegrant.v1beta1.Query",
    method: "Allowance",
    clientResolver
});
export const createGetAllowances = (clientResolver) => buildQuery({
    encode: QueryAllowancesRequest.encode,
    decode: QueryAllowancesResponse.decode,
    service: "cosmos.feegrant.v1beta1.Query",
    method: "Allowances",
    clientResolver
});
export const createGetAllowancesByGranter = (clientResolver) => buildQuery({
    encode: QueryAllowancesByGranterRequest.encode,
    decode: QueryAllowancesByGranterResponse.decode,
    service: "cosmos.feegrant.v1beta1.Query",
    method: "AllowancesByGranter",
    clientResolver
});
