import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; import { BinaryReader, BinaryWriter } from "../../../binary"; export declare const protobufPackage = "cosmos.slashing.v1beta1"; /** GenesisState defines the slashing module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of related to deposit. */ params: Params | undefined; /** * signing_infos represents a map between validator addresses and their * signing infos. */ signingInfos: SigningInfo[]; /** * missed_blocks represents a map between validator addresses and their * missed blocks. */ missedBlocks: ValidatorMissedBlocks[]; } /** GenesisState defines the slashing module's genesis state. */ export interface GenesisStateSDKType { params: ParamsSDKType | undefined; signing_infos: SigningInfoSDKType[]; missed_blocks: ValidatorMissedBlocksSDKType[]; } /** SigningInfo stores validator signing info of corresponding address. */ export interface SigningInfo { /** address is the validator address. */ address: string; /** validator_signing_info represents the signing info of this validator. */ validatorSigningInfo: ValidatorSigningInfo | undefined; } /** SigningInfo stores validator signing info of corresponding address. */ export interface SigningInfoSDKType { address: string; validator_signing_info: ValidatorSigningInfoSDKType | undefined; } /** * ValidatorMissedBlocks contains array of missed blocks of corresponding * address. */ export interface ValidatorMissedBlocks { /** address is the validator address. */ address: string; /** missed_blocks is an array of missed blocks by the validator. */ missedBlocks: MissedBlock[]; } /** * ValidatorMissedBlocks contains array of missed blocks of corresponding * address. */ export interface ValidatorMissedBlocksSDKType { address: string; missed_blocks: MissedBlockSDKType[]; } /** MissedBlock contains height and missed status as boolean. */ export interface MissedBlock { /** index is the height at which the block was missed. */ index: bigint; /** missed is the missed status. */ missed: boolean; } /** MissedBlock contains height and missed status as boolean. */ export interface MissedBlockSDKType { index: bigint; missed: boolean; } export declare const GenesisState: { typeUrl: string; encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; fromJSON(object: any): GenesisState; toJSON(message: GenesisState): unknown; fromPartial & { params?: Params & { signedBlocksWindow: bigint; minSignedPerWindow: Uint8Array; downtimeJailDuration: import("../../../google/protobuf/duration").Duration & { seconds: bigint; nanos: number; } & Record, never>; slashFractionDoubleSign: Uint8Array; slashFractionDowntime: Uint8Array; } & Record, never>; signingInfos?: SigningInfo[] & (SigningInfo & { address: string; validatorSigningInfo: ValidatorSigningInfo & { address: string; startHeight: bigint; indexOffset: bigint; jailedUntil: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; tombstoned: boolean; missedBlocksCounter: bigint; } & Record, never>; } & Record, never>)[] & Record, never>; missedBlocks?: ValidatorMissedBlocks[] & (ValidatorMissedBlocks & { address: string; missedBlocks: MissedBlock[] & (MissedBlock & { index: bigint; missed: boolean; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): GenesisState; }; export declare const SigningInfo: { typeUrl: string; encode(message: SigningInfo, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SigningInfo; fromJSON(object: any): SigningInfo; toJSON(message: SigningInfo): unknown; fromPartial & { address?: string; validatorSigningInfo?: ValidatorSigningInfo & { address: string; startHeight: bigint; indexOffset: bigint; jailedUntil: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; tombstoned: boolean; missedBlocksCounter: bigint; } & Record, never>; } & Record, never>>(object: I): SigningInfo; }; export declare const ValidatorMissedBlocks: { typeUrl: string; encode(message: ValidatorMissedBlocks, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ValidatorMissedBlocks; fromJSON(object: any): ValidatorMissedBlocks; toJSON(message: ValidatorMissedBlocks): unknown; fromPartial & { address?: string; missedBlocks?: MissedBlock[] & (MissedBlock & { index: bigint; missed: boolean; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): ValidatorMissedBlocks; }; export declare const MissedBlock: { typeUrl: string; encode(message: MissedBlock, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MissedBlock; fromJSON(object: any): MissedBlock; toJSON(message: MissedBlock): unknown; fromPartial & { index?: bigint; missed?: boolean; } & Record, never>>(object: I): MissedBlock; };