"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getParams = exports.getContinuousFunds = exports.getContinuousFund = exports.getCommunityPool = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const query_1 = require("./query");
/**
 * CommunityPool queries the community pool coins.
 * @name getCommunityPool
 * @package cosmos.protocolpool.v1
 * @see proto service: cosmos.protocolpool.v1.CommunityPool
 */
exports.getCommunityPool = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryCommunityPoolRequest.encode,
    decode: query_1.QueryCommunityPoolResponse.decode,
    service: "cosmos.protocolpool.v1.Query",
    method: "CommunityPool",
    deps: [query_1.QueryCommunityPoolRequest, query_1.QueryCommunityPoolResponse]
});
/**
 * ContinuousFund queries a continuous fund by the recipient is is associated with.
 * @name getContinuousFund
 * @package cosmos.protocolpool.v1
 * @see proto service: cosmos.protocolpool.v1.ContinuousFund
 */
exports.getContinuousFund = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryContinuousFundRequest.encode,
    decode: query_1.QueryContinuousFundResponse.decode,
    service: "cosmos.protocolpool.v1.Query",
    method: "ContinuousFund",
    deps: [query_1.QueryContinuousFundRequest, query_1.QueryContinuousFundResponse]
});
/**
 * ContinuousFunds queries all continuous funds in the store.
 * @name getContinuousFunds
 * @package cosmos.protocolpool.v1
 * @see proto service: cosmos.protocolpool.v1.ContinuousFunds
 */
exports.getContinuousFunds = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryContinuousFundsRequest.encode,
    decode: query_1.QueryContinuousFundsResponse.decode,
    service: "cosmos.protocolpool.v1.Query",
    method: "ContinuousFunds",
    deps: [query_1.QueryContinuousFundsRequest, query_1.QueryContinuousFundsResponse]
});
/**
 * Params returns the total set of x/protocolpool parameters.
 * @name getParams
 * @package cosmos.protocolpool.v1
 * @see proto service: cosmos.protocolpool.v1.Params
 */
exports.getParams = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryParamsRequest.encode,
    decode: query_1.QueryParamsResponse.decode,
    service: "cosmos.protocolpool.v1.Query",
    method: "Params",
    deps: [query_1.QueryParamsRequest, query_1.QueryParamsResponse]
});
