"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createGetAllowancesByGranter = exports.createGetAllowances = exports.createGetAllowance = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const query_1 = require("./query");
const createGetAllowance = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryAllowanceRequest.encode,
    decode: query_1.QueryAllowanceResponse.decode,
    service: "cosmos.feegrant.v1beta1.Query",
    method: "Allowance",
    clientResolver
});
exports.createGetAllowance = createGetAllowance;
const createGetAllowances = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryAllowancesRequest.encode,
    decode: query_1.QueryAllowancesResponse.decode,
    service: "cosmos.feegrant.v1beta1.Query",
    method: "Allowances",
    clientResolver
});
exports.createGetAllowances = createGetAllowances;
const createGetAllowancesByGranter = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryAllowancesByGranterRequest.encode,
    decode: query_1.QueryAllowancesByGranterResponse.decode,
    service: "cosmos.feegrant.v1beta1.Query",
    method: "AllowancesByGranter",
    clientResolver
});
exports.createGetAllowancesByGranter = createGetAllowancesByGranter;
