@1delta/margin-fetcher 5.0.118 → 5.0.119
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/ccip-SBJNLXE4.js +5 -0
- package/dist/{ccip-UXZECBO3.js.map → ccip-SBJNLXE4.js.map} +1 -1
- package/dist/{chunk-JUYF2XLF.js → chunk-GZR3D6YQ.js} +39 -4
- package/dist/chunk-GZR3D6YQ.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +3693 -268
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/ccip-UXZECBO3.js +0 -5
- package/dist/chunk-JUYF2XLF.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -6003,6 +6003,15 @@ interface OraclePriceEntry {
|
|
|
6003
6003
|
* third-party entries still classify sensibly from `baseAsset`/`staticBase`.
|
|
6004
6004
|
*/
|
|
6005
6005
|
derivation?: PriceDerivation;
|
|
6006
|
+
/**
|
|
6007
|
+
* A last-resort price: it is selected for an asset group only when NO other
|
|
6008
|
+
* candidate prices it, and it never takes part in the outlier consensus of a
|
|
6009
|
+
* group that has one. For sources that know a price but are not an oracle
|
|
6010
|
+
* for the asset — Pendle's quote of a market's underlying
|
|
6011
|
+
* (`fetchers/pendle.ts`), which exists for every PT underlying whether or
|
|
6012
|
+
* not any lender lists it.
|
|
6013
|
+
*/
|
|
6014
|
+
fallbackOnly?: boolean;
|
|
6006
6015
|
}
|
|
6007
6016
|
/**
|
|
6008
6017
|
* Quality class of a USD price, in descending order of trust.
|
|
@@ -6643,6 +6652,7 @@ interface SelectPricesOptions {
|
|
|
6643
6652
|
* Flattens structured oracle prices to a simple USD price map.
|
|
6644
6653
|
*
|
|
6645
6654
|
* Ranking, in order:
|
|
6655
|
+
* 0. fallback — a `fallbackOnly` price only where nothing else prices it
|
|
6646
6656
|
* 1. freshness — past this feed's own learned cadence loses
|
|
6647
6657
|
* 2. reliability — a feed that habitually disagrees with the market loses
|
|
6648
6658
|
* 3. derivation — a direct oracle read beats a price derived from one
|