import { buildQuery } from "../../../helper-func-types";
import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query";
/**
 * Returns list of `Authorization`, granted to the grantee by the granter.
 * @name getGrants
 * @package cosmos.authz.v1beta1
 * @see proto service: cosmos.authz.v1beta1.Grants
 */
export const getGrants = buildQuery({
    encode: QueryGrantsRequest.encode,
    decode: QueryGrantsResponse.decode,
    service: "cosmos.authz.v1beta1.Query",
    method: "Grants",
    deps: [QueryGrantsRequest, QueryGrantsResponse]
});
/**
 * GranterGrants returns list of `GrantAuthorization`, granted by granter.
 * @name getGranterGrants
 * @package cosmos.authz.v1beta1
 * @see proto service: cosmos.authz.v1beta1.GranterGrants
 */
export const getGranterGrants = buildQuery({
    encode: QueryGranterGrantsRequest.encode,
    decode: QueryGranterGrantsResponse.decode,
    service: "cosmos.authz.v1beta1.Query",
    method: "GranterGrants",
    deps: [QueryGranterGrantsRequest, QueryGranterGrantsResponse]
});
/**
 * GranteeGrants returns a list of `GrantAuthorization` by grantee.
 * @name getGranteeGrants
 * @package cosmos.authz.v1beta1
 * @see proto service: cosmos.authz.v1beta1.GranteeGrants
 */
export const getGranteeGrants = buildQuery({
    encode: QueryGranteeGrantsRequest.encode,
    decode: QueryGranteeGrantsResponse.decode,
    service: "cosmos.authz.v1beta1.Query",
    method: "GranteeGrants",
    deps: [QueryGranteeGrantsRequest, QueryGranteeGrantsResponse]
});
