"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createGetCommunityPool = exports.createGetDelegatorWithdrawAddress = exports.createGetDelegatorValidators = exports.createGetDelegationTotalRewards = exports.createGetDelegationRewards = exports.createGetValidatorSlashes = exports.createGetValidatorCommission = exports.createGetValidatorOutstandingRewards = exports.createGetValidatorDistributionInfo = exports.createGetParams = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const query_1 = require("./query");
const createGetParams = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryParamsRequest.encode,
    decode: query_1.QueryParamsResponse.decode,
    service: "cosmos.distribution.v1beta1.Query",
    method: "Params",
    clientResolver
});
exports.createGetParams = createGetParams;
const createGetValidatorDistributionInfo = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryValidatorDistributionInfoRequest.encode,
    decode: query_1.QueryValidatorDistributionInfoResponse.decode,
    service: "cosmos.distribution.v1beta1.Query",
    method: "ValidatorDistributionInfo",
    clientResolver
});
exports.createGetValidatorDistributionInfo = createGetValidatorDistributionInfo;
const createGetValidatorOutstandingRewards = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryValidatorOutstandingRewardsRequest.encode,
    decode: query_1.QueryValidatorOutstandingRewardsResponse.decode,
    service: "cosmos.distribution.v1beta1.Query",
    method: "ValidatorOutstandingRewards",
    clientResolver
});
exports.createGetValidatorOutstandingRewards = createGetValidatorOutstandingRewards;
const createGetValidatorCommission = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryValidatorCommissionRequest.encode,
    decode: query_1.QueryValidatorCommissionResponse.decode,
    service: "cosmos.distribution.v1beta1.Query",
    method: "ValidatorCommission",
    clientResolver
});
exports.createGetValidatorCommission = createGetValidatorCommission;
const createGetValidatorSlashes = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryValidatorSlashesRequest.encode,
    decode: query_1.QueryValidatorSlashesResponse.decode,
    service: "cosmos.distribution.v1beta1.Query",
    method: "ValidatorSlashes",
    clientResolver
});
exports.createGetValidatorSlashes = createGetValidatorSlashes;
const createGetDelegationRewards = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryDelegationRewardsRequest.encode,
    decode: query_1.QueryDelegationRewardsResponse.decode,
    service: "cosmos.distribution.v1beta1.Query",
    method: "DelegationRewards",
    clientResolver
});
exports.createGetDelegationRewards = createGetDelegationRewards;
const createGetDelegationTotalRewards = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryDelegationTotalRewardsRequest.encode,
    decode: query_1.QueryDelegationTotalRewardsResponse.decode,
    service: "cosmos.distribution.v1beta1.Query",
    method: "DelegationTotalRewards",
    clientResolver
});
exports.createGetDelegationTotalRewards = createGetDelegationTotalRewards;
const createGetDelegatorValidators = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryDelegatorValidatorsRequest.encode,
    decode: query_1.QueryDelegatorValidatorsResponse.decode,
    service: "cosmos.distribution.v1beta1.Query",
    method: "DelegatorValidators",
    clientResolver
});
exports.createGetDelegatorValidators = createGetDelegatorValidators;
const createGetDelegatorWithdrawAddress = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryDelegatorWithdrawAddressRequest.encode,
    decode: query_1.QueryDelegatorWithdrawAddressResponse.decode,
    service: "cosmos.distribution.v1beta1.Query",
    method: "DelegatorWithdrawAddress",
    clientResolver
});
exports.createGetDelegatorWithdrawAddress = createGetDelegatorWithdrawAddress;
const createGetCommunityPool = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryCommunityPoolRequest.encode,
    decode: query_1.QueryCommunityPoolResponse.decode,
    service: "cosmos.distribution.v1beta1.Query",
    method: "CommunityPool",
    clientResolver
});
exports.createGetCommunityPool = createGetCommunityPool;
