@panoptic-eng/sdk 1.0.70 → 1.0.71

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.
@@ -1,4 +1,4 @@
1
- import { PanopticError, submitWrite } from "./rates-DDK4ZimJ.js";
1
+ import { PanopticError, submitWrite } from "./rates-DlqTkuXt.js";
2
2
  import { erc20Abi, getAddress, keccak256, maxUint256, stringToHex, zeroAddress } from "viem";
3
3
 
4
4
  //#region src/cow/addresses.ts
package/dist/index.d.ts CHANGED
@@ -37,6 +37,10 @@ declare function getAaveHoldings({
37
37
  debt: bigint;
38
38
  price: bigint;
39
39
  priceUnit: bigint;
40
+ /** Current supply APY, percent. */
41
+ supplyApyPct: number;
42
+ /** Current variable borrow APY, percent. */
43
+ borrowApyPct: number;
40
44
  }[];
41
45
  receiptTokens: Address$1[];
42
46
  blockNumber: bigint;
@@ -53,6 +57,8 @@ declare function getMorphoHoldings(account: Address$1, chainId: number): Promise
53
57
  priceUsd: string | null;
54
58
  marketId: string;
55
59
  kind: 'supply' | 'collateral' | 'debt';
60
+ /** Current APY in percent: supply APY, borrow APY for debt, 0 for collateral; null if unknown. */
61
+ apyPct: number | null;
56
62
  }[]>;
57
63
 
58
64
  //#endregion