import { Params, ValidatorSigningInfo } from "./slashing"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial, Exact } from "../../../helpers"; import { JsonSafe } from "../../../json-safe"; export declare const protobufPackage = "cosmos.slashing.v1beta1"; /** GenesisState defines the slashing module's genesis state. */ export interface GenesisState { /** params defines all the parameters of the module. */ params: Params; /** * 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[]; } /** 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; } /** * 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[]; } /** 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; } 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): JsonSafe; fromPartial, I>>(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): JsonSafe; fromPartial, I>>(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): JsonSafe; fromPartial, I>>(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): JsonSafe; fromPartial, I>>(object: I): MissedBlock; };