import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import { BinaryReader, BinaryWriter } from "../../../binary"; export declare const protobufPackage = "cosmos.slashing.v1beta1"; /** * ValidatorSigningInfo defines a validator's signing info for monitoring their * liveness activity. */ export interface ValidatorSigningInfo { address: string; /** Height at which validator was first a candidate OR was unjailed */ startHeight: bigint; /** * Index which is incremented each time the validator was a bonded * in a block and may have signed a precommit or not. This in conjunction with the * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. */ indexOffset: bigint; /** Timestamp until which the validator is jailed due to liveness downtime. */ jailedUntil: Timestamp | undefined; /** * Whether or not a validator has been tombstoned (killed out of validator set). It is set * once the validator commits an equivocation or for any other configured misbehiavor. */ tombstoned: boolean; /** * A counter kept to avoid unnecessary array reads. * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. */ missedBlocksCounter: bigint; } /** * ValidatorSigningInfo defines a validator's signing info for monitoring their * liveness activity. */ export interface ValidatorSigningInfoSDKType { address: string; start_height: bigint; index_offset: bigint; jailed_until: TimestampSDKType | undefined; tombstoned: boolean; missed_blocks_counter: bigint; } /** Params represents the parameters used for by the slashing module. */ export interface Params { signedBlocksWindow: bigint; minSignedPerWindow: Uint8Array; downtimeJailDuration: Duration | undefined; slashFractionDoubleSign: Uint8Array; slashFractionDowntime: Uint8Array; } /** Params represents the parameters used for by the slashing module. */ export interface ParamsSDKType { signed_blocks_window: bigint; min_signed_per_window: Uint8Array; downtime_jail_duration: DurationSDKType | undefined; slash_fraction_double_sign: Uint8Array; slash_fraction_downtime: Uint8Array; } export declare const ValidatorSigningInfo: { typeUrl: string; encode(message: ValidatorSigningInfo, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSigningInfo; fromJSON(object: any): ValidatorSigningInfo; toJSON(message: ValidatorSigningInfo): unknown; fromPartial & { address?: string; startHeight?: bigint; indexOffset?: bigint; jailedUntil?: Timestamp & { seconds: bigint; nanos: number; } & Record, never>; tombstoned?: boolean; missedBlocksCounter?: bigint; } & Record, never>>(object: I): ValidatorSigningInfo; }; 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 & { signedBlocksWindow?: bigint; minSignedPerWindow?: Uint8Array; downtimeJailDuration?: Duration & { seconds: bigint; nanos: number; } & Record, never>; slashFractionDoubleSign?: Uint8Array; slashFractionDowntime?: Uint8Array; } & Record, never>>(object: I): Params; };