import { Duration, DurationAmino, DurationSDKType } from "../../../../google/protobuf/duration"; import { BinaryReader, BinaryWriter } from "../../../../binary"; import { JsonSafe } from "../../../../json-safe"; /** Params defines the parameters of the downtime module. */ export interface Params { /** * downtime_duration defines the minimum time elapsed between blocks * that we consider the chain to be down. */ downtimeDuration: Duration; /** epoch_duration defines an estimation of the time elapsed between epochs */ epochDuration: Duration; } export interface ParamsProtoMsg { typeUrl: "/lavanet.lava.downtime.v1.Params"; value: Uint8Array; } /** Params defines the parameters of the downtime module. */ export interface ParamsAmino { /** * downtime_duration defines the minimum time elapsed between blocks * that we consider the chain to be down. */ downtime_duration?: DurationAmino; /** epoch_duration defines an estimation of the time elapsed between epochs */ epoch_duration?: DurationAmino; } export interface ParamsAminoMsg { type: "/lavanet.lava.downtime.v1.Params"; value: ParamsAmino; } /** Params defines the parameters of the downtime module. */ export interface ParamsSDKType { downtime_duration: DurationSDKType; epoch_duration: DurationSDKType; } /** Downtime defines a single downtime record. */ export interface Downtime { /** block defines the block that took time to produce. */ block: bigint; /** * duration defines the time elapsed between the previous block and this one. * this defines the effective downtime duration. */ duration: Duration; } export interface DowntimeProtoMsg { typeUrl: "/lavanet.lava.downtime.v1.Downtime"; value: Uint8Array; } /** Downtime defines a single downtime record. */ export interface DowntimeAmino { /** block defines the block that took time to produce. */ block?: string; /** * duration defines the time elapsed between the previous block and this one. * this defines the effective downtime duration. */ duration?: DurationAmino; } export interface DowntimeAminoMsg { type: "/lavanet.lava.downtime.v1.Downtime"; value: DowntimeAmino; } /** Downtime defines a single downtime record. */ export interface DowntimeSDKType { block: bigint; duration: DurationSDKType; } 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): JsonSafe; fromPartial(object: Partial): Params; fromAmino(object: ParamsAmino): Params; toAmino(message: Params): ParamsAmino; fromAminoMsg(object: ParamsAminoMsg): Params; fromProtoMsg(message: ParamsProtoMsg): Params; toProto(message: Params): Uint8Array; toProtoMsg(message: Params): ParamsProtoMsg; }; export declare const Downtime: { typeUrl: string; encode(message: Downtime, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Downtime; fromJSON(object: any): Downtime; toJSON(message: Downtime): JsonSafe; fromPartial(object: Partial): Downtime; fromAmino(object: DowntimeAmino): Downtime; toAmino(message: Downtime): DowntimeAmino; fromAminoMsg(object: DowntimeAminoMsg): Downtime; fromProtoMsg(message: DowntimeProtoMsg): Downtime; toProto(message: Downtime): Uint8Array; toProtoMsg(message: Downtime): DowntimeProtoMsg; };