"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetGranteeGrants = exports.useGetGranterGrants = exports.useGetGrants = void 0;
const vue_query_1 = require("../../../vue-query");
const query_rpc_func_1 = require("./query.rpc.func");
/**
 * Returns list of `Authorization`, granted to the grantee by the granter.
 * @name useGetGrants
 * @package cosmos.authz.v1beta1
 * @see proto service: cosmos.authz.v1beta1.Grants
 */
exports.useGetGrants = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getGrants,
    queryKeyPrefix: "GrantsQuery"
});
/**
 * GranterGrants returns list of `GrantAuthorization`, granted by granter.
 * @name useGetGranterGrants
 * @package cosmos.authz.v1beta1
 * @see proto service: cosmos.authz.v1beta1.GranterGrants
 */
exports.useGetGranterGrants = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getGranterGrants,
    queryKeyPrefix: "GranterGrantsQuery"
});
/**
 * GranteeGrants returns a list of `GrantAuthorization` by grantee.
 * @name useGetGranteeGrants
 * @package cosmos.authz.v1beta1
 * @see proto service: cosmos.authz.v1beta1.GranteeGrants
 */
exports.useGetGranteeGrants = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getGranteeGrants,
    queryKeyPrefix: "GranteeGrantsQuery"
});
