@1delta/margin-fetcher 0.0.405 → 0.0.407
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 +12 -0
- package/dist/index.js +625 -78
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -3183,6 +3183,14 @@ interface TermMaxMarketConfig {
|
|
|
3183
3183
|
debtDecimals: number;
|
|
3184
3184
|
collateral: string;
|
|
3185
3185
|
collateralDecimals: number;
|
|
3186
|
+
/**
|
|
3187
|
+
* False when decimals could not be resolved from the payload and the 18-dec
|
|
3188
|
+
* default was used. Exists because reading the wrong `assetConfigs` field
|
|
3189
|
+
* names once made EVERY 6-dec stablecoin market silently 10^12 out; a
|
|
3190
|
+
* consumer that cares about exactness should treat `false` as suspect.
|
|
3191
|
+
*/
|
|
3192
|
+
debtDecimalsResolved?: boolean;
|
|
3193
|
+
collateralDecimalsResolved?: boolean;
|
|
3186
3194
|
/** Display symbol, e.g. `USDC/PT-sUSDE-13AUG2026@16AUG2026`. */
|
|
3187
3195
|
symbol?: string;
|
|
3188
3196
|
/** Unix seconds. */
|
|
@@ -5262,6 +5270,10 @@ interface SavingsVault extends VaultClassificationFields {
|
|
|
5262
5270
|
displayName: string;
|
|
5263
5271
|
/** Brand label — `Ethena`, `Sky`, `Maker`, `Angle`, `Falcon`, … */
|
|
5264
5272
|
brand: string;
|
|
5273
|
+
/** Curated user-facing explainer (from the registry): what the
|
|
5274
|
+
* underlying is, where the yield comes from, and the exit
|
|
5275
|
+
* mechanics / trust caveat when load-bearing. */
|
|
5276
|
+
description: string;
|
|
5265
5277
|
/** Alias for `brand` to match `curatorName` on the other providers'
|
|
5266
5278
|
* vault types — keeps cross-provider UI code uniform. */
|
|
5267
5279
|
curatorName: string;
|