import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import { Endpoint, EndpointAmino, EndpointSDKType } from "./endpoint"; import { Description, DescriptionAmino, DescriptionSDKType } from "../../../cosmos/staking/v1beta1/staking"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { JsonSafe } from "../../../json-safe"; export interface StakeEntry { stake: Coin; address: string; stakeAppliedBlock: bigint; endpoints: Endpoint[]; geolocation: number; chain: string; moniker: string; /** delegation total */ delegateTotal: Coin; /** delegation commission (precentage 0-100) */ delegateCommission: bigint; blockReport?: BlockReport; vault: string; description: Description; jails: bigint; jailEndTime: bigint; } export interface StakeEntryProtoMsg { typeUrl: "/lavanet.lava.epochstorage.StakeEntry"; value: Uint8Array; } export interface StakeEntryAmino { stake?: CoinAmino; address?: string; stake_applied_block?: string; endpoints?: EndpointAmino[]; geolocation?: number; chain?: string; moniker?: string; /** delegation total */ delegate_total?: CoinAmino; /** delegation commission (precentage 0-100) */ delegate_commission?: string; block_report?: BlockReportAmino; vault?: string; description: DescriptionAmino; jails?: string; jail_end_time?: string; } export interface StakeEntryAminoMsg { type: "/lavanet.lava.epochstorage.StakeEntry"; value: StakeEntryAmino; } export interface StakeEntrySDKType { stake: CoinSDKType; address: string; stake_applied_block: bigint; endpoints: EndpointSDKType[]; geolocation: number; chain: string; moniker: string; delegate_total: CoinSDKType; delegate_commission: bigint; block_report?: BlockReportSDKType; vault: string; description: DescriptionSDKType; jails: bigint; jail_end_time: bigint; } /** * BlockReport holds the most up-to-date info regarding blocks of the provider * It is set in the relay payment TX logic * used by the consumer to calculate the provider's sync score */ export interface BlockReport { epoch: bigint; latestBlock: bigint; } export interface BlockReportProtoMsg { typeUrl: "/lavanet.lava.epochstorage.BlockReport"; value: Uint8Array; } /** * BlockReport holds the most up-to-date info regarding blocks of the provider * It is set in the relay payment TX logic * used by the consumer to calculate the provider's sync score */ export interface BlockReportAmino { epoch?: string; latest_block?: string; } export interface BlockReportAminoMsg { type: "/lavanet.lava.epochstorage.BlockReport"; value: BlockReportAmino; } /** * BlockReport holds the most up-to-date info regarding blocks of the provider * It is set in the relay payment TX logic * used by the consumer to calculate the provider's sync score */ export interface BlockReportSDKType { epoch: bigint; latest_block: bigint; } export declare const StakeEntry: { typeUrl: string; encode(message: StakeEntry, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): StakeEntry; fromJSON(object: any): StakeEntry; toJSON(message: StakeEntry): JsonSafe; fromPartial(object: Partial): StakeEntry; fromAmino(object: StakeEntryAmino): StakeEntry; toAmino(message: StakeEntry): StakeEntryAmino; fromAminoMsg(object: StakeEntryAminoMsg): StakeEntry; fromProtoMsg(message: StakeEntryProtoMsg): StakeEntry; toProto(message: StakeEntry): Uint8Array; toProtoMsg(message: StakeEntry): StakeEntryProtoMsg; }; export declare const BlockReport: { typeUrl: string; encode(message: BlockReport, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BlockReport; fromJSON(object: any): BlockReport; toJSON(message: BlockReport): JsonSafe; fromPartial(object: Partial): BlockReport; fromAmino(object: BlockReportAmino): BlockReport; toAmino(message: BlockReport): BlockReportAmino; fromAminoMsg(object: BlockReportAminoMsg): BlockReport; fromProtoMsg(message: BlockReportProtoMsg): BlockReport; toProto(message: BlockReport): Uint8Array; toProtoMsg(message: BlockReport): BlockReportProtoMsg; };