import { BaseContractStateHuman } from "../../onchain/types/state-human.js"; import "../../onchain/index.js"; import { PartialLiquidationBotV310Params } from "./PartialLiquidationBotV310Contract.js"; import { Address } from "viem"; //#region src/plugins/bots/types.d.ts 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; }; //#endregion