import { buildQuery } from "../../../helper-func-types";
import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query";
export const createGetGrants = (clientResolver) => buildQuery({
    encode: QueryGrantsRequest.encode,
    decode: QueryGrantsResponse.decode,
    service: "cosmos.authz.v1beta1.Query",
    method: "Grants",
    clientResolver
});
export const createGetGranterGrants = (clientResolver) => buildQuery({
    encode: QueryGranterGrantsRequest.encode,
    decode: QueryGranterGrantsResponse.decode,
    service: "cosmos.authz.v1beta1.Query",
    method: "GranterGrants",
    clientResolver
});
export const createGetGranteeGrants = (clientResolver) => buildQuery({
    encode: QueryGranteeGrantsRequest.encode,
    decode: QueryGranteeGrantsResponse.decode,
    service: "cosmos.authz.v1beta1.Query",
    method: "GranteeGrants",
    clientResolver
});
