import Long from "long"; import _m0 from "protobufjs/minimal"; import { Coin, DecCoin } from "../../base/v1beta1/coin"; export declare const protobufPackage = "cosmos.distribution.v1beta1"; /** Params defines the set of params for the distribution module. */ export interface Params { communityTax: string; /** * Deprecated: The base_proposer_reward field is deprecated and is no longer used * in the x/distribution module's reward mechanism. * * @deprecated */ baseProposerReward: string; /** * Deprecated: The bonus_proposer_reward field is deprecated and is no longer used * in the x/distribution module's reward mechanism. * * @deprecated */ bonusProposerReward: string; withdrawAddrEnabled: boolean; } /** * ValidatorHistoricalRewards represents historical rewards for a validator. * Height is implicit within the store key. * Cumulative reward ratio is the sum from the zeroeth period * until this period of rewards / tokens, per the spec. * The reference count indicates the number of objects * which might need to reference this historical entry at any point. * ReferenceCount = * number of outstanding delegations which ended the associated period (and * might need to read that record) * + number of slashes which ended the associated period (and might need to * read that record) * + one per validator for the zeroeth period, set on initialization */ export interface ValidatorHistoricalRewards { cumulativeRewardRatio: DecCoin[]; referenceCount: number; } /** * ValidatorCurrentRewards represents current rewards and current * period for a validator kept as a running counter and incremented * each block as long as the validator's tokens remain constant. */ export interface ValidatorCurrentRewards { rewards: DecCoin[]; period: Long; } /** * ValidatorAccumulatedCommission represents accumulated commission * for a validator kept as a running counter, can be withdrawn at any time. */ export interface ValidatorAccumulatedCommission { commission: DecCoin[]; } /** * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards * for a validator inexpensive to track, allows simple sanity checks. */ export interface ValidatorOutstandingRewards { rewards: DecCoin[]; } /** * ValidatorSlashEvent represents a validator slash event. * Height is implicit within the store key. * This is needed to calculate appropriate amount of staking tokens * for delegations which are withdrawn after a slash has occurred. */ export interface ValidatorSlashEvent { validatorPeriod: Long; fraction: string; } /** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ export interface ValidatorSlashEvents { validatorSlashEvents: ValidatorSlashEvent[]; } /** FeePool is the global fee pool for distribution. */ export interface FeePool { communityPool: DecCoin[]; } /** * CommunityPoolSpendProposal details a proposal for use of community funds, * together with how many coins are proposed to be spent, and to which * recipient account. * * Deprecated: Do not use. As of the Cosmos SDK release v0.47.x, there is no * longer a need for an explicit CommunityPoolSpendProposal. To spend community * pool funds, a simple MsgCommunityPoolSpend can be invoked from the x/gov * module via a v1 governance proposal. * * @deprecated */ export interface CommunityPoolSpendProposal { title: string; description: string; recipient: string; amount: Coin[]; } /** * DelegatorStartingInfo represents the starting info for a delegator reward * period. It tracks the previous validator period, the delegation's amount of * staking token, and the creation height (to check later on if any slashes have * occurred). NOTE: Even though validators are slashed to whole staking tokens, * the delegators within the validator may be left with less than a full token, * thus sdk.Dec is used. */ export interface DelegatorStartingInfo { previousPeriod: Long; stake: string; height: Long; } /** * DelegationDelegatorReward represents the properties * of a delegator's delegation reward. */ export interface DelegationDelegatorReward { validatorAddress: string; reward: DecCoin[]; } /** * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal * with a deposit */ export interface CommunityPoolSpendProposalWithDeposit { title: string; description: string; recipient: string; amount: string; deposit: string; } export declare const Params: { encode(message: Params, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Params; fromJSON(object: any): Params; toJSON(message: Params): unknown; create(base?: DeepPartial): Params; fromPartial(object: DeepPartial): Params; }; export declare const ValidatorHistoricalRewards: { encode(message: ValidatorHistoricalRewards, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards; fromJSON(object: any): ValidatorHistoricalRewards; toJSON(message: ValidatorHistoricalRewards): unknown; create(base?: DeepPartial): ValidatorHistoricalRewards; fromPartial(object: DeepPartial): ValidatorHistoricalRewards; }; export declare const ValidatorCurrentRewards: { encode(message: ValidatorCurrentRewards, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards; fromJSON(object: any): ValidatorCurrentRewards; toJSON(message: ValidatorCurrentRewards): unknown; create(base?: DeepPartial): ValidatorCurrentRewards; fromPartial(object: DeepPartial): ValidatorCurrentRewards; }; export declare const ValidatorAccumulatedCommission: { encode(message: ValidatorAccumulatedCommission, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission; fromJSON(object: any): ValidatorAccumulatedCommission; toJSON(message: ValidatorAccumulatedCommission): unknown; create(base?: DeepPartial): ValidatorAccumulatedCommission; fromPartial(object: DeepPartial): ValidatorAccumulatedCommission; }; export declare const ValidatorOutstandingRewards: { encode(message: ValidatorOutstandingRewards, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards; fromJSON(object: any): ValidatorOutstandingRewards; toJSON(message: ValidatorOutstandingRewards): unknown; create(base?: DeepPartial): ValidatorOutstandingRewards; fromPartial(object: DeepPartial): ValidatorOutstandingRewards; }; export declare const ValidatorSlashEvent: { encode(message: ValidatorSlashEvent, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent; fromJSON(object: any): ValidatorSlashEvent; toJSON(message: ValidatorSlashEvent): unknown; create(base?: DeepPartial): ValidatorSlashEvent; fromPartial(object: DeepPartial): ValidatorSlashEvent; }; export declare const ValidatorSlashEvents: { encode(message: ValidatorSlashEvents, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents; fromJSON(object: any): ValidatorSlashEvents; toJSON(message: ValidatorSlashEvents): unknown; create(base?: DeepPartial): ValidatorSlashEvents; fromPartial(object: DeepPartial): ValidatorSlashEvents; }; export declare const FeePool: { encode(message: FeePool, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): FeePool; fromJSON(object: any): FeePool; toJSON(message: FeePool): unknown; create(base?: DeepPartial): FeePool; fromPartial(object: DeepPartial): FeePool; }; export declare const CommunityPoolSpendProposal: { encode(message: CommunityPoolSpendProposal, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal; fromJSON(object: any): CommunityPoolSpendProposal; toJSON(message: CommunityPoolSpendProposal): unknown; create(base?: DeepPartial): CommunityPoolSpendProposal; fromPartial(object: DeepPartial): CommunityPoolSpendProposal; }; export declare const DelegatorStartingInfo: { encode(message: DelegatorStartingInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo; fromJSON(object: any): DelegatorStartingInfo; toJSON(message: DelegatorStartingInfo): unknown; create(base?: DeepPartial): DelegatorStartingInfo; fromPartial(object: DeepPartial): DelegatorStartingInfo; }; export declare const DelegationDelegatorReward: { encode(message: DelegationDelegatorReward, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward; fromJSON(object: any): DelegationDelegatorReward; toJSON(message: DelegationDelegatorReward): unknown; create(base?: DeepPartial): DelegationDelegatorReward; fromPartial(object: DeepPartial): DelegationDelegatorReward; }; export declare const CommunityPoolSpendProposalWithDeposit: { encode(message: CommunityPoolSpendProposalWithDeposit, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit; fromJSON(object: any): CommunityPoolSpendProposalWithDeposit; toJSON(message: CommunityPoolSpendProposalWithDeposit): unknown; create(base?: DeepPartial): CommunityPoolSpendProposalWithDeposit; fromPartial(object: DeepPartial): CommunityPoolSpendProposalWithDeposit; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};