import type { Address } from "viem"; import type { BaseContractStateHuman } from "../../sdk/index.js"; import type { PartialLiquidationBotV310Params } from "./PartialLiquidationBotV310Contract.js"; export interface BotParameters { treasury: Address; minHealthFactor: number; maxHealthFactor: number; premiumScaleFactor: number; feeScaleFactor: number; } export declare const BOT_PARTIAL_LIQUIDATION = "BOT::PARTIAL_LIQUIDATION"; export declare const BOT_PARAMS_ABI: readonly [{ readonly type: "address"; readonly name: "treasury"; }, { readonly type: "uint16"; readonly name: "minHealthFactor"; }, { readonly type: "uint16"; readonly name: "maxHealthFactor"; }, { readonly type: "uint16"; readonly name: "premiumScaleFactor"; }, { readonly type: "uint16"; readonly name: "feeScaleFactor"; }]; export interface BotStateV310Human extends BaseContractStateHuman { treasury: Address; minHealthFactor: string; maxHealthFactor: string; premiumScaleFactor: string; feeScaleFactor: string; } export type BotStateHuman = BotStateV310Human; export type BotState = PartialLiquidationBotV310Params; export interface BotsPluginStateHuman { bots: BotStateHuman[]; } export interface BotsPluginState { bots: BotState[]; } export type BotBaseType = "LIQUIDATION_PROTECTION" | "LEGACY_MIGRATION"; export type MigrationBotState = { address: Address; version: 310; previewer: Address; baseType: Extract; };