import { Params, ValidatorSigningInfo } from '../../../cosmos/slashing/v1beta1/slashing'; import * as Long from 'long'; import { Writer, Reader } from 'protobufjs/minimal'; /** * GenesisState defines the slashing module's genesis state. */ export interface GenesisState { /** * params defines all the paramaters of related to deposit. */ params?: Params; /** * signing_infos represents a map between validator addresses and their * signing infos. */ signingInfos: SigningInfo[]; /** * signing_infos 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: Long; /** * missed is the missed status. */ missed: boolean; } export declare const protobufPackage = "cosmos.slashing.v1beta1"; export declare const GenesisState: { encode(message: GenesisState, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): GenesisState; fromJSON(object: any): GenesisState; fromPartial(object: DeepPartial): GenesisState; toJSON(message: GenesisState): unknown; }; export declare const SigningInfo: { encode(message: SigningInfo, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): SigningInfo; fromJSON(object: any): SigningInfo; fromPartial(object: DeepPartial): SigningInfo; toJSON(message: SigningInfo): unknown; }; export declare const ValidatorMissedBlocks: { encode(message: ValidatorMissedBlocks, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): ValidatorMissedBlocks; fromJSON(object: any): ValidatorMissedBlocks; fromPartial(object: DeepPartial): ValidatorMissedBlocks; toJSON(message: ValidatorMissedBlocks): unknown; }; export declare const MissedBlock: { encode(message: MissedBlock, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): MissedBlock; fromJSON(object: any): MissedBlock; fromPartial(object: DeepPartial): MissedBlock; toJSON(message: MissedBlock): unknown; }; declare type Builtin = Date | Function | Uint8Array | string | number | undefined; export declare type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};