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