@1delta/data-sdk 0.0.34 → 0.0.35
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/lending.d.ts +8 -0
- package/package.json +1 -1
package/dist/lending.d.ts
CHANGED
|
@@ -378,6 +378,14 @@ export type LiquityBranchConfig = {
|
|
|
378
378
|
defaultPool?: string;
|
|
379
379
|
sortedTroves: string;
|
|
380
380
|
priceFeed: string;
|
|
381
|
+
/**
|
|
382
|
+
* Decimals of `PriceFeed.lastGoodPrice()`. 18 on canonical (18-dec) collateral
|
|
383
|
+
* and omitted there; forks that list NON-18-dec collateral split into two camps
|
|
384
|
+
* and only metadata tells them apart — see `liquityCollateralPrice` in
|
|
385
|
+
* margin-fetcher. Ebisu bakes the scaling into the feed (`36 - collDecimals`);
|
|
386
|
+
* Enosys keeps the feed at 18 and normalizes collateral inside its CR math.
|
|
387
|
+
*/
|
|
388
|
+
priceDecimals?: number;
|
|
381
389
|
gasPool?: string;
|
|
382
390
|
collSurplusPool?: string;
|
|
383
391
|
/** Branch risk ratios, WAD (snapshotted; proxied forks can change them). */
|