import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; export declare const protobufPackage = "cosmos.distribution.v1beta1"; /** Params defines the set of params for the distribution module. */ export interface Params { communityTax: string; baseProposerReward: string; bonusProposerReward: string; withdrawAddrEnabled: boolean; } /** Params defines the set of params for the distribution module. */ export interface ParamsSDKType { community_tax: string; base_proposer_reward: string; bonus_proposer_reward: string; withdraw_addr_enabled: 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; } /** * 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 ValidatorHistoricalRewardsSDKType { cumulative_reward_ratio: DecCoinSDKType[]; reference_count: 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: bigint; } /** * 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 ValidatorCurrentRewardsSDKType { rewards: DecCoinSDKType[]; period: bigint; } /** * ValidatorAccumulatedCommission represents accumulated commission * for a validator kept as a running counter, can be withdrawn at any time. */ export interface ValidatorAccumulatedCommission { commission: DecCoin[]; } /** * ValidatorAccumulatedCommission represents accumulated commission * for a validator kept as a running counter, can be withdrawn at any time. */ export interface ValidatorAccumulatedCommissionSDKType { commission: DecCoinSDKType[]; } /** * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards * for a validator inexpensive to track, allows simple sanity checks. */ export interface ValidatorOutstandingRewards { rewards: DecCoin[]; } /** * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards * for a validator inexpensive to track, allows simple sanity checks. */ export interface ValidatorOutstandingRewardsSDKType { rewards: DecCoinSDKType[]; } /** * 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: bigint; fraction: string; } /** * 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 ValidatorSlashEventSDKType { validator_period: bigint; fraction: string; } /** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ export interface ValidatorSlashEvents { validatorSlashEvents: ValidatorSlashEvent[]; } /** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ export interface ValidatorSlashEventsSDKType { validator_slash_events: ValidatorSlashEventSDKType[]; } /** FeePool is the global fee pool for distribution. */ export interface FeePool { communityPool: DecCoin[]; } /** FeePool is the global fee pool for distribution. */ export interface FeePoolSDKType { community_pool: DecCoinSDKType[]; } /** * CommunityPoolSpendProposal details a proposal for use of community funds, * together with how many coins are proposed to be spent, and to which * recipient account. */ export interface CommunityPoolSpendProposal { title: string; description: string; recipient: string; amount: Coin[]; } /** * CommunityPoolSpendProposal details a proposal for use of community funds, * together with how many coins are proposed to be spent, and to which * recipient account. */ export interface CommunityPoolSpendProposalSDKType { title: string; description: string; recipient: string; amount: CoinSDKType[]; } /** * 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: bigint; stake: string; height: bigint; } /** * 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 DelegatorStartingInfoSDKType { previous_period: bigint; stake: string; height: bigint; } /** * DelegationDelegatorReward represents the properties * of a delegator's delegation reward. */ export interface DelegationDelegatorReward { validatorAddress: string; reward: DecCoin[]; } /** * DelegationDelegatorReward represents the properties * of a delegator's delegation reward. */ export interface DelegationDelegatorRewardSDKType { validator_address: string; reward: DecCoinSDKType[]; } /** * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal * with a deposit */ export interface CommunityPoolSpendProposalWithDeposit { title: string; description: string; recipient: string; amount: string; deposit: string; } /** * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal * with a deposit */ export interface CommunityPoolSpendProposalWithDepositSDKType { title: string; description: string; recipient: string; amount: string; deposit: string; } export declare const Params: { typeUrl: string; encode(message: Params, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Params; fromJSON(object: any): Params; toJSON(message: Params): unknown; fromPartial & { communityTax?: string; baseProposerReward?: string; bonusProposerReward?: string; withdrawAddrEnabled?: boolean; } & Record, never>>(object: I): Params; }; export declare const ValidatorHistoricalRewards: { typeUrl: string; encode(message: ValidatorHistoricalRewards, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ValidatorHistoricalRewards; fromJSON(object: any): ValidatorHistoricalRewards; toJSON(message: ValidatorHistoricalRewards): unknown; fromPartial & { cumulativeRewardRatio?: DecCoin[] & (DecCoin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; referenceCount?: number; } & Record, never>>(object: I): ValidatorHistoricalRewards; }; export declare const ValidatorCurrentRewards: { typeUrl: string; encode(message: ValidatorCurrentRewards, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ValidatorCurrentRewards; fromJSON(object: any): ValidatorCurrentRewards; toJSON(message: ValidatorCurrentRewards): unknown; fromPartial & { rewards?: DecCoin[] & (DecCoin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; period?: bigint; } & Record, never>>(object: I): ValidatorCurrentRewards; }; export declare const ValidatorAccumulatedCommission: { typeUrl: string; encode(message: ValidatorAccumulatedCommission, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ValidatorAccumulatedCommission; fromJSON(object: any): ValidatorAccumulatedCommission; toJSON(message: ValidatorAccumulatedCommission): unknown; fromPartial & { commission?: DecCoin[] & (DecCoin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): ValidatorAccumulatedCommission; }; export declare const ValidatorOutstandingRewards: { typeUrl: string; encode(message: ValidatorOutstandingRewards, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ValidatorOutstandingRewards; fromJSON(object: any): ValidatorOutstandingRewards; toJSON(message: ValidatorOutstandingRewards): unknown; fromPartial & { rewards?: DecCoin[] & (DecCoin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): ValidatorOutstandingRewards; }; export declare const ValidatorSlashEvent: { typeUrl: string; encode(message: ValidatorSlashEvent, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSlashEvent; fromJSON(object: any): ValidatorSlashEvent; toJSON(message: ValidatorSlashEvent): unknown; fromPartial & { validatorPeriod?: bigint; fraction?: string; } & Record, never>>(object: I): ValidatorSlashEvent; }; export declare const ValidatorSlashEvents: { typeUrl: string; encode(message: ValidatorSlashEvents, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSlashEvents; fromJSON(object: any): ValidatorSlashEvents; toJSON(message: ValidatorSlashEvents): unknown; fromPartial & { validatorSlashEvents?: ValidatorSlashEvent[] & (ValidatorSlashEvent & { validatorPeriod: bigint; fraction: string; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): ValidatorSlashEvents; }; export declare const FeePool: { typeUrl: string; encode(message: FeePool, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): FeePool; fromJSON(object: any): FeePool; toJSON(message: FeePool): unknown; fromPartial & { communityPool?: DecCoin[] & (DecCoin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): FeePool; }; export declare const CommunityPoolSpendProposal: { typeUrl: string; encode(message: CommunityPoolSpendProposal, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): CommunityPoolSpendProposal; fromJSON(object: any): CommunityPoolSpendProposal; toJSON(message: CommunityPoolSpendProposal): unknown; fromPartial & { title?: string; description?: string; recipient?: string; amount?: Coin[] & (Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): CommunityPoolSpendProposal; }; export declare const DelegatorStartingInfo: { typeUrl: string; encode(message: DelegatorStartingInfo, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): DelegatorStartingInfo; fromJSON(object: any): DelegatorStartingInfo; toJSON(message: DelegatorStartingInfo): unknown; fromPartial & { previousPeriod?: bigint; stake?: string; height?: bigint; } & Record, never>>(object: I): DelegatorStartingInfo; }; export declare const DelegationDelegatorReward: { typeUrl: string; encode(message: DelegationDelegatorReward, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): DelegationDelegatorReward; fromJSON(object: any): DelegationDelegatorReward; toJSON(message: DelegationDelegatorReward): unknown; fromPartial & { validatorAddress?: string; reward?: DecCoin[] & (DecCoin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): DelegationDelegatorReward; }; export declare const CommunityPoolSpendProposalWithDeposit: { typeUrl: string; encode(message: CommunityPoolSpendProposalWithDeposit, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit; fromJSON(object: any): CommunityPoolSpendProposalWithDeposit; toJSON(message: CommunityPoolSpendProposalWithDeposit): unknown; fromPartial & { title?: string; description?: string; recipient?: string; amount?: string; deposit?: string; } & Record, never>>(object: I): CommunityPoolSpendProposalWithDeposit; };