/** * Live on-chain reads against Aave V3 view contracts. * * Why live reads alongside subgraph data: subgraphs lag chainhead. * For risk monitoring, "HF was 1.05 at last index" can be a dangerous * false-negative when the live value is 0.998 and a liquidation bot is * already racing. Every response here carries an `as_of.block` stamp so * agents can detect stale data after context compaction. */ /** * Live `Pool.getUserAccountData` — the canonical current-block health factor. * Use this to confirm subgraph-reported risk before reporting "critical". * * Base units: 8 decimals (Aave V3 standard). * Health factor: 18 decimals. */ export declare function getLiveUserAccountData(chainKey: string, userAddress: string): Promise<{ data: { user: string; pool: `0x${string}`; totalCollateralBase: string; totalCollateralBaseHuman: string; totalDebtBase: string; totalDebtBaseHuman: string; availableBorrowsBase: string; availableBorrowsBaseHuman: string; currentLiquidationThreshold: string; currentLiquidationThresholdPct: string; ltv: string; ltvPct: string; healthFactor: string; healthFactorHuman: string; note: string; }; as_of: { chain: string; chainId: number; block: string; timestamp: string; source: "rpc"; }; }>; /** * Live per-asset reserve data via AaveProtocolDataProvider — current rates, * indexes, debt totals, plus config (LTV, liq threshold, caps). */ export declare function getLiveReserveDetail(chainKey: string, assetAddress: string): Promise<{ data: { asset: `0x${string}`; state: { unbacked: string; accruedToTreasuryScaled: string; totalAToken: string; totalStableDebt: string; totalVariableDebt: string; liquidityRate: string; supplyApy: string; variableBorrowRate: string; variableBorrowApy: string; stableBorrowRate: string; stableBorrowApy: string; averageStableBorrowRate: string; liquidityIndex: string; variableBorrowIndex: string; lastUpdateTimestamp: number; }; config: { decimals: number; ltv: string; ltvPct: string; liquidationThreshold: string; liquidationThresholdPct: string; liquidationBonus: string; reserveFactor: string; usageAsCollateralEnabled: boolean; borrowingEnabled: boolean; stableBorrowRateEnabled: boolean; isActive: boolean; isFrozen: boolean; }; tokens: { aToken: `0x${string}`; stableDebtToken: `0x${string}`; variableDebtToken: `0x${string}`; }; caps: { borrowCap: string; supplyCap: string; }; }; as_of: { chain: string; chainId: number; block: string; timestamp: string; source: "rpc"; }; }>; //# sourceMappingURL=viewContracts.d.ts.map