import Long from "long"; import _m0 from "protobufjs/minimal"; import { DecCoin } from "../../base/v1beta1/coin"; import { DelegatorStartingInfo, FeePool, Params, ValidatorAccumulatedCommission, ValidatorCurrentRewards, ValidatorHistoricalRewards, ValidatorSlashEvent } from "./distribution"; export declare const protobufPackage = "cosmos.distribution.v1beta1"; /** * DelegatorWithdrawInfo is the address for where distributions rewards are * withdrawn to by default this struct is only used at genesis to feed in * default withdraw addresses. */ export interface DelegatorWithdrawInfo { /** delegator_address is the address of the delegator. */ delegatorAddress: string; /** withdraw_address is the address to withdraw the delegation rewards to. */ withdrawAddress: string; } /** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ export interface ValidatorOutstandingRewardsRecord { /** validator_address is the address of the validator. */ validatorAddress: string; /** outstanding_rewards represents the outstanding rewards of a validator. */ outstandingRewards: DecCoin[]; } /** * ValidatorAccumulatedCommissionRecord is used for import / export via genesis * json. */ export interface ValidatorAccumulatedCommissionRecord { /** validator_address is the address of the validator. */ validatorAddress: string; /** accumulated is the accumulated commission of a validator. */ accumulated: ValidatorAccumulatedCommission | undefined; } /** * ValidatorHistoricalRewardsRecord is used for import / export via genesis * json. */ export interface ValidatorHistoricalRewardsRecord { /** validator_address is the address of the validator. */ validatorAddress: string; /** period defines the period the historical rewards apply to. */ period: Long; /** rewards defines the historical rewards of a validator. */ rewards: ValidatorHistoricalRewards | undefined; } /** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ export interface ValidatorCurrentRewardsRecord { /** validator_address is the address of the validator. */ validatorAddress: string; /** rewards defines the current rewards of a validator. */ rewards: ValidatorCurrentRewards | undefined; } /** DelegatorStartingInfoRecord used for import / export via genesis json. */ export interface DelegatorStartingInfoRecord { /** delegator_address is the address of the delegator. */ delegatorAddress: string; /** validator_address is the address of the validator. */ validatorAddress: string; /** starting_info defines the starting info of a delegator. */ startingInfo: DelegatorStartingInfo | undefined; } /** ValidatorSlashEventRecord is used for import / export via genesis json. */ export interface ValidatorSlashEventRecord { /** validator_address is the address of the validator. */ validatorAddress: string; /** height defines the block height at which the slash event occurred. */ height: Long; /** period is the period of the slash event. */ period: Long; /** validator_slash_event describes the slash event. */ validatorSlashEvent: ValidatorSlashEvent | undefined; } /** GenesisState defines the distribution module's genesis state. */ export interface GenesisState { /** params defines all the parameters of the module. */ params: Params | undefined; /** fee_pool defines the fee pool at genesis. */ feePool: FeePool | undefined; /** fee_pool defines the delegator withdraw infos at genesis. */ delegatorWithdrawInfos: DelegatorWithdrawInfo[]; /** fee_pool defines the previous proposer at genesis. */ previousProposer: string; /** fee_pool defines the outstanding rewards of all validators at genesis. */ outstandingRewards: ValidatorOutstandingRewardsRecord[]; /** fee_pool defines the accumulated commissions of all validators at genesis. */ validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[]; /** fee_pool defines the historical rewards of all validators at genesis. */ validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[]; /** fee_pool defines the current rewards of all validators at genesis. */ validatorCurrentRewards: ValidatorCurrentRewardsRecord[]; /** fee_pool defines the delegator starting infos at genesis. */ delegatorStartingInfos: DelegatorStartingInfoRecord[]; /** fee_pool defines the validator slash events at genesis. */ validatorSlashEvents: ValidatorSlashEventRecord[]; } export declare const DelegatorWithdrawInfo: { encode(message: DelegatorWithdrawInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorWithdrawInfo; fromJSON(object: any): DelegatorWithdrawInfo; toJSON(message: DelegatorWithdrawInfo): unknown; create(base?: DeepPartial): DelegatorWithdrawInfo; fromPartial(object: DeepPartial): DelegatorWithdrawInfo; }; export declare const ValidatorOutstandingRewardsRecord: { encode(message: ValidatorOutstandingRewardsRecord, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord; fromJSON(object: any): ValidatorOutstandingRewardsRecord; toJSON(message: ValidatorOutstandingRewardsRecord): unknown; create(base?: DeepPartial): ValidatorOutstandingRewardsRecord; fromPartial(object: DeepPartial): ValidatorOutstandingRewardsRecord; }; export declare const ValidatorAccumulatedCommissionRecord: { encode(message: ValidatorAccumulatedCommissionRecord, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord; fromJSON(object: any): ValidatorAccumulatedCommissionRecord; toJSON(message: ValidatorAccumulatedCommissionRecord): unknown; create(base?: DeepPartial): ValidatorAccumulatedCommissionRecord; fromPartial(object: DeepPartial): ValidatorAccumulatedCommissionRecord; }; export declare const ValidatorHistoricalRewardsRecord: { encode(message: ValidatorHistoricalRewardsRecord, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord; fromJSON(object: any): ValidatorHistoricalRewardsRecord; toJSON(message: ValidatorHistoricalRewardsRecord): unknown; create(base?: DeepPartial): ValidatorHistoricalRewardsRecord; fromPartial(object: DeepPartial): ValidatorHistoricalRewardsRecord; }; export declare const ValidatorCurrentRewardsRecord: { encode(message: ValidatorCurrentRewardsRecord, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord; fromJSON(object: any): ValidatorCurrentRewardsRecord; toJSON(message: ValidatorCurrentRewardsRecord): unknown; create(base?: DeepPartial): ValidatorCurrentRewardsRecord; fromPartial(object: DeepPartial): ValidatorCurrentRewardsRecord; }; export declare const DelegatorStartingInfoRecord: { encode(message: DelegatorStartingInfoRecord, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfoRecord; fromJSON(object: any): DelegatorStartingInfoRecord; toJSON(message: DelegatorStartingInfoRecord): unknown; create(base?: DeepPartial): DelegatorStartingInfoRecord; fromPartial(object: DeepPartial): DelegatorStartingInfoRecord; }; export declare const ValidatorSlashEventRecord: { encode(message: ValidatorSlashEventRecord, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEventRecord; fromJSON(object: any): ValidatorSlashEventRecord; toJSON(message: ValidatorSlashEventRecord): unknown; create(base?: DeepPartial): ValidatorSlashEventRecord; fromPartial(object: DeepPartial): ValidatorSlashEventRecord; }; export declare const GenesisState: { encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; fromJSON(object: any): GenesisState; toJSON(message: GenesisState): unknown; create(base?: DeepPartial): GenesisState; fromPartial(object: DeepPartial): GenesisState; }; 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 {};