@t2000/engine 0.48.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1954,27 +1954,57 @@ declare const renderCanvasTool: Tool<{
1954
1954
  } | undefined;
1955
1955
  }, unknown>;
1956
1956
 
1957
- declare const balanceCheckTool: Tool<{}, {
1957
+ declare const balanceCheckTool: Tool<{
1958
+ address?: string | undefined;
1959
+ }, {
1958
1960
  available: number;
1959
1961
  savings: number;
1960
1962
  debt: number;
1961
1963
  pendingRewards: number;
1962
1964
  gasReserve: number;
1965
+ defi: number;
1966
+ defiByProtocol: Partial<Record<"cetus" | "suilend" | "scallop" | "bluefin" | "aftermath" | "haedal", number>>;
1967
+ defiSource: "blockvision" | "partial" | "degraded";
1963
1968
  total: number;
1964
1969
  stables: number;
1965
1970
  holdings: any[];
1966
1971
  saveableUsdc: number;
1972
+ address: string;
1973
+ isSelfQuery: boolean;
1967
1974
  }>;
1968
1975
 
1969
- declare const savingsInfoTool: Tool<{}, SavingsResult>;
1976
+ declare const savingsInfoTool: Tool<{
1977
+ address?: string | undefined;
1978
+ }, {
1979
+ address: string;
1980
+ isSelfQuery: boolean;
1981
+ positions: PositionEntry[];
1982
+ earnings: {
1983
+ totalYieldEarned: number;
1984
+ currentApy: number;
1985
+ dailyEarning: number;
1986
+ supplied: number;
1987
+ };
1988
+ fundStatus: {
1989
+ supplied: number;
1990
+ apy: number;
1991
+ earnedToday: number;
1992
+ earnedAllTime: number;
1993
+ projectedMonthly: number;
1994
+ };
1995
+ }>;
1970
1996
 
1971
- declare const healthCheckTool: Tool<{}, {
1997
+ declare const healthCheckTool: Tool<{
1998
+ address?: string | undefined;
1999
+ }, {
1972
2000
  healthFactor: number | null;
1973
2001
  supplied: number;
1974
2002
  borrowed: number;
1975
2003
  maxBorrow: number;
1976
2004
  liquidationThreshold: number;
1977
2005
  status: string;
2006
+ address: string;
2007
+ isSelfQuery: boolean;
1978
2008
  }>;
1979
2009
 
1980
2010
  type RateMap = Record<string, {
@@ -2274,8 +2304,11 @@ interface ActivitySummary {
2274
2304
  totalMovedUsd: number;
2275
2305
  netSavingsUsd: number;
2276
2306
  yieldEarnedUsd: number;
2307
+ address?: string;
2308
+ isSelfQuery?: boolean;
2277
2309
  }
2278
2310
  declare const activitySummaryTool: Tool<{
2311
+ address?: string | undefined;
2279
2312
  period?: "month" | "year" | "all" | "week" | undefined;
2280
2313
  }, ActivitySummary>;
2281
2314