"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createGetGranteeGrants = exports.createGetGranterGrants = exports.createGetGrants = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const query_1 = require("./query");
const createGetGrants = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryGrantsRequest.encode,
    decode: query_1.QueryGrantsResponse.decode,
    service: "cosmos.authz.v1beta1.Query",
    method: "Grants",
    clientResolver
});
exports.createGetGrants = createGetGrants;
const createGetGranterGrants = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryGranterGrantsRequest.encode,
    decode: query_1.QueryGranterGrantsResponse.decode,
    service: "cosmos.authz.v1beta1.Query",
    method: "GranterGrants",
    clientResolver
});
exports.createGetGranterGrants = createGetGranterGrants;
const createGetGranteeGrants = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryGranteeGrantsRequest.encode,
    decode: query_1.QueryGranteeGrantsResponse.decode,
    service: "cosmos.authz.v1beta1.Query",
    method: "GranteeGrants",
    clientResolver
});
exports.createGetGranteeGrants = createGetGranteeGrants;
